+
    i%  c                   s    ^ RI t ^ RIt^ RIt^ RIt^RIHtHt ^RIHt ^RIH	t	 ^RIH
t
 . ROt]P                  R8w  d   RtRtMG]! ]RR4      t]P                   ;'       d*    ]P                   P#                  4       P%                  R	4      tR
 tR t]'       d.   ]! ] P*                  P-                  ]P.                  R4      4       M]! ]P                   4       R tR tR tRR ltR tR tR t. tR t R t!R t"R t#R# )i    N)get_start_methodset_start_method)process)	reduction)utilwin32Ffrozenzpythonservice.exec                 s    V f   V s R # \        P                  R8X  d   \        P                  ! V 4      s R # \        P
                  ! V 4      s R # )Nr   )_python_exesysplatformosZfsdecodeZfsencode)exe   &./usr/lib64/python3.14/multiprocessing/spawn.pyset_executabler   $   s4    
{		 kk#&kk#&    c                  s    \         # )N)r    r   r   get_executabler   -   s    r   z
python.exec                sF    \        V 4      ^8  d   V ^,          R8X  d   R# R# )z5
Return whether commandline indicates we are forking
--multiprocessing-forkTF)Zlen)argvr   r   
is_forkingr   9   s!     4yA~$q'%==r   c                 s"   \        \        P                  4      '       dp   / p \        P                  R,           F0  pVP                  R4      w  r#VR8X  d   RW&   K#  \	        V4      W&   K2  	  \        R/ V B  \        P                  ! 4        R# R# )z=
Run code for process object if this in not the main process
:i   NNZ=ZNoneNr   )r   r   r   ZsplitZint
spawn_mainexit)kwdsZargnameZvalues       r   freeze_supportr   C   so     #((88B<<C))C.KD!
 Z
   	T
 r   c                 sz   \        \        RR4      '       d?   \        P                  R.V P                  4        Uu. uF  pRV,          NK  	  up,           # RpVRP	                  R V P                  4        4       4      ,          p\
        P                  ! 4       p\        4       pV.V,           RVR.,           # u upi )	zB
Returns prefix of command line used for spawning a child process
r   Fr   %s=%rz<from multiprocessing.spawn import spawn_main; spawn_main(%s)z, c              3   s4   "   T F  pR V,          x  K  	  R# 5i)r   Nr   )Z.0items   & r   Z	<genexpr>Z#get_command_line.<locals>.<genexpr>\   s     B\T'D..\s   z-c)getattrr   
executableZitemsjoinr   Z_args_from_interpreter_flagsr   )r   r   ZprogZoptsr   s   ,    r   get_command_liner   S   s     sHe$$!9:,0JJL9LD4L9: 	; N		BTZZ\BBB002ut|tT+CDDD :s   B8c                s
   \        \        P                  4      '       g   Q R4       h\        P                  R8X  dy   ^ RIp^ RIpVe0   VP                  VP                  VP                  ,          RV4      pMRp\        P                  ! V VR7      pVP                  V\        P                  4      pTpM.^RIHp	 W)P                   n        T p\        P$                  ! V 4      p\'        Wx4      p
\        P(                  ! V
4       R# )z/
Run code specified by data received over pipe
zNot forkingr   NF)source_process)resource_tracker)r   r   r   r	   msvcrt_winapiZOpenProcessZSYNCHRONIZEZPROCESS_DUP_HANDLEr   Z	duplicateZopen_osfhandler
   ZO_RDONLY r!   Z_resource_trackerZ_fdZdup_mainr   )Zpipe_handleZ
parent_pidZ
tracker_fdr"   r#   r    Z
new_handlefdparent_sentinelr!   Zexitcodes   &&&        r   r   r   b   s     chh..
||w!$00##g&@&@@z#N "N((8FH
"":r{{;(&1;**.&&-R)HHHXr   c                 s   \         P                  ! V R RR7      ;_uu_ 4       pR\        P                  ! 4       n         \
        P                  P                  V4      p\        V4       \
        P                  P                  V4      p\        P                  ! 4       = RRR4       XP                  V4      #   \        P                  ! 4       =i ; i  + '       g   i     L;; i)ZrbT)ZclosefdN)
r
   Zfdopenr   current_process_inheritingr   ZpickleZloadprepareZ
_bootstrap)r&   r'   Zfrom_parentZpreparation_dataZselfs   &&   r   r%   r%   ~   s    	2tT	*	*k04!-	6(//44[A$%##((5D'')5 
+ ???++ '')5 
+	*s#   CA	B6C6CCC 	c                  sh    \        \        P                  ! 4       R R4      '       d   \        R4      hR# )r)   Fa  
        An attempt has been made to start a new process before the
        current process has finished its bootstrapping phase.

        This probably means that you are not using fork to start your
        child processes and you have forgotten to use the proper idiom
        in the main module:

            if __name__ == '__main__':
                freeze_support()
                ...

        The "freeze_support()" line can be omitted if the program
        is not going to be frozen to produce an executable.

        To fix this issue, refer to the "Safe importing of main module"
        section in https://docs.python.org/3/library/multiprocessing.html
        N)r   r   r(   ZRuntimeErrorr   r   r   _check_not_importing_mainr+      s2    w&&(-??   	 @r   c                s2   \        4        \        \        P                  \        P
                  ! 4       P                  R7      p\        P                  e"   \        P                  P                  4       VR&   \        P                  P                  4       p VP                  R4      p\        P                  W#&   VP                  V V\        P                   \        P                  \"        P$                  ! 4       \'        RR7      R7       \        P(                  R,          p\+        VP,                  R	R4      pVe   WQR
&   V# \        P.                  R8w  g   \0        '       g   \2        '       g   \+        VRR4      pVe   \"        P                  P5                  V4      '       gA   \        P                  e/   \"        P                  P7                  \        P                  V4      p\"        P                  P9                  V4      VR&   V#   \         d     EL]i ; i)zE
Return info about parent needed by child to unpickle process object
)log_to_stderrauthkeyN	log_levelr$   T)Z
allow_none)r   sys_pathsys_argvorig_dirdirstart_method__main__r   init_main_from_namer   __file__init_main_from_path)r+   Zdictr   Z_log_to_stderrr   r(   r-   Z_loggerZgetEffectiveLevelr   pathZcopyZindexORIGINAL_DIRZ
ValueErrorupdater   r
   Zgetcwdr    modulesr   __spec__r	   WINEXE
WINSERVICEZisabsr   Znormpath)r   Zdr/   Zimain_moduleZmain_mod_name	main_paths   &      r   get_preparation_datarA      s    ))'')11	
A
 ||779+XX]]_H+NN2 **HH%%IIK%6  
 ++j)KK00&$?M #0
  H 
	 

KT:	 GGMM),,,,8GGLL)=)=yI	')ww'7'7	'BA#$H9  s   H HHc                s   RV 9   d"   V R,          \         P                  ! 4       n        RV 9   d"   V R,          \         P                  ! 4       n        RV 9   d%   V R,          '       d   \        P
                  ! 4        RV 9   d,   \        P                  ! 4       P                  V R,          4       RV 9   d   V R,          \        n	        RV 9   d   V R,          \        n
        RV 9   d   \        P                  ! V R,          4       RV 9   d   V R,          \         n        R	V 9   d   \        V R	,          R
R7       RV 9   d   \        V R,          4       R# RV 9   d   \!        V R,          4       R# R# )z=
Try to get current process ready to unpickle process object
r   r-   r,   r.   r/   r0   r2   r1   r3   T)Zforcer5   r7   N)r   r(   r   r-   r   r,   Z
get_loggerZsetLevelr   r8   r   r
   Zchdirr9   r   _fixup_main_from_name_fixup_main_from_path)Zdatar   r   r*   r*      s    ~)-f!&D,0O!)$4#8#8d""4#45T
#T
#}
eT#J/n-T:$d#89:	$	&d#89: 
'r   c                 s   \         P                  R ,          pV R 8X  g   V P                  R4      '       d   R# \        VP                  RR4      V 8X  d   R# \
        P                  V4       \        P                  ! R4      p\        P                  ! V RRR7      pVP                  P                  V4       V;\         P                  R &   \         P                  R&   R# )r4   z	.__main__Nr   __mp_main__T)run_nameZ	alter_sys)r   r;   endswithr   r<   old_main_modulesappendtypes
ModuleTyperunpyZ
run_module__dict__r:   )Zmod_namecurrent_mainr?   main_contents   &   r   rB   rB      s    
 ;;z*L:!2!2;!?!? |$$fd3x?
 L)""=1K##H-:.24L -;FFCKK
ckk-8r   c                 s   \         P                  R ,          p\        P                  P	                  \        P                  P                  V 4      4      ^ ,          pVR8X  d   R# \        VRR4      V 8X  d   R# \        P                  V4       \        P                  ! R4      p\        P                  ! V RR7      pVP                  P                  V4       V;\         P                  R &   \         P                  R&   R# )r4   ZipythonNr6   rD   )rE   )r   r;   r
   r8   ZsplitextZbasenamer   rG   rH   rI   rJ   rK   Zrun_pathrL   r:   )r@   rM   Z	main_namer?   rN   s   &    r   rC   rC     s    ;;z*L   !1!1)!<=a@II |Z.);
 L)""=1K>>)+8:L-;FFCKK
ckk-8r   c                s    \        V 4       R# )z4
Set sys.modules['__main__'] to module at main_path
N)rC   )r@   r   r   import_main_pathrO   /  s     )$r   )r%   r   r   r   rA   r   rO   )NN)$r
   r   rK   rI   r$   r    r   r   Zcontextr   r   Z__all__r	   r=   r>   r   r   ZlowerrF   r   r   r8   r   Zexec_prefixr   r   r   r   r%   r+   rA   rG   r*   rB   rC   rO   r   r   r   <module>rP      s    
 
   0   K <<7FJS(E*FXXCNN$8$8$:$C$CDW$XJ' 277<<>?3>>" E8	,,,d  ";LG2G8%r   