+
   PY                   0   ^ RI t ^ RIt^ RIt^ RIt] P                  R8X  d   R tR tR t^ RIt^ RIH	t	 ]P                  ! RRR	7      t]R
,          t]	P                  ]n        ]R,          t]	P                   ]n        ]	P"                  ]	P$                  ]	P                   3]n        RsR R ltR tR tEM:] P                  R8X  dU   ]P0                  R+9   dD   ^ RIHt R t^ RIt]P8                  ! ]! R4      4      t]R,          t]P>                  ]n        R tM]P0                  PA                  R4      '       d   ^ RI!Ht M]P0                  R8X  d   R tM]P0                  R8X  d   R t"R tM] P                  R8X  dp   ^ RI#t#^ RI$t$R t%R t&]P0                  R8X  d   R  t'MR! t']P0                  PA                  R,4      '       d   R" t(R# tM!]P0                  R8X  d
   R$ t)R-R% ltM R& t%R' t ^ R(I,Ht R) t.]/R*8X  d
   ].! 4        R# R#   ]- d     Li ; i).    Nntc                 t   Rp \         P                  P                  V 4      pVR8X  d   ^# V\        V 4      ,           p\         P                  VR P	                  R^4      w  r#\        VRR 4      ^,
          pV^8  d
   V^,          p\        VR,          4      R,          pV^8X  d   ^ pV^8  d	   WE,           # R# )zReturn the version of MSVC that was used to build Python.

For Python 2.3 and up, the version number is included in
sys.version.  For earlier versions, assume the compiler is MSVC 6.
zMSC v.N :      Ng      $@)sysversionfindlensplitint)prefixisrestmajorVersionminorVersions         "/usr/lib/python3.14/ctypes/util.py_get_build_versionr   	   s     KKV$7FO++ab/''Q/1Sb6{Q2AL1S6{T)1L1..    c                     \        4       p V f   R# V ^8:  d   RpMV ^8:  d   RV ^
,          ,          pMR# ^ RIpRVP                  P                  9   d
   VR,          pVR,           # )z%Return the name of the VC runtime dllNmsvcrtzmsvcr%dz_d.pydd.dll)r   importlib.machinery	machineryEXTENSION_SUFFIXES)r   clibname	importlibs      r   find_msvcrtr"   "   sd    $&?a<H] GbL1H  	#y**===OHr   c                    V R9   d   \        4       # \        P                  R,          P                  \        P                  4       F  p\        P
                  P                  W4      p\        P
                  P                  V4      '       d   Vu # VP                  4       P                  R4      '       d   Kr  VR,           p\        P
                  P                  V4      '       g   K  Vu # 	  R# )cPATHr   N)r$   m)
r"   osenvironr   pathseppathjoinisfilelowerendswithname	directoryfnames   &  r   find_libraryr3   7   s    := F+11"**=IGGLL1Eww~~e$${{}%%f--FNEww~~e$$ > r   )wintypeskernel32Tuse_last_errorGetCurrentProcessGetModuleFileNameWc                8    V ^8  d   QhR\         P                  /# )r   module)r4   HMODULE)formats   "r   __annotate__r>   ]   s      X%5%5 r   c                     \         P                  R ,          ! 4       p\        W\        V4      4      '       d   VP                  # R# )i  N)r4   WCHAR_k32_get_module_file_namer   value)r;   r0   s   & r   _get_module_filenamerC   ]   s1    &)$V3t9==::r   c                  n   \         f   \        P                  ! RRR7      p V R,          s \        P                  \         n        \        P                  \        P                  ! \        P                  4      \        P                  \        P                  3\         n        \        4       p\        P                  ! 4       pRp \        P                  V,          ! 4       p\        VV\        P                  ! V4      \        P                  ! V4      4      '       gT   \        P                  ! 4       p\        P                   ! V4      P#                  4       p\        P$                  ! VRV 24      hVP&                  \        P                  ! \        P                  4      ,          pV\)        V4      8:  g   K  VR V # )NpsapiTr6   EnumProcessModulesi   zEnumProcessModules failed: )_enum_process_modulesctypesWinDLLr4   BOOLrestypeHANDLEPOINTERr<   DWORDLPDWORDargtypes_get_current_processsizeofbyrefget_last_errorFormatErrorstripWinErrorrB   r   )_psapiprocessspace_needednmoduleserrmsgs          r   _get_module_handlesr_   c   s;    (]]74@F$*+?$@!,4MM!)x//0  	.!* '(~~'''!+.G()0)/w)?)/l)CE E ++-((-335ooc-H+NOO""fmmH4D4D&EEACL r{"r   c                 h    \        4       p V  Uu. uF  p\        V4      ;pf   K  VNK  	  ppV# u upi z@Return a list of loaded shared libraries in the current process.)r_   rC   )r\   hr0   	librariess       r   dllistrd      sB    %'#* J7a$8$;;D T7	 JJs   //posix)	dyld_findc                     R V ,          RV ,          V : RV : 2.pV F  p  \        V 4      u # 	  R#   \         d     K#  i ; i)zlib%s.dylibz%s.dylibz.framework/N)
_dyld_find
ValueError)r0   possibles   & r   r3   r3      sV    !D(%)-t46 D!$'' 
   s   
2A Ar$   _dyld_get_image_namec                     \         P                  4       p \        V 4       Uu. uF*  p\        V4      ;pf   K  \        P
                  ! V4      NK,  	  ppV# u upi ra   )_libc_dyld_image_countrangerk   r'   fsdecode)
num_imagesr   r0   rc   s       r   rd   rd      sZ    ,,.
05j0A J0A1$8$;;D 'R[[&0A	 J Js
   AAaix)r3   androidc                     R pR\         P                  ! 4       P                  9   d
   VR,          pV RV  R2p\         P                  P	                  V4      '       d   V# R# )z/system/lib64/lib.soN)r'   unamemachiner*   r,   r/   s   &  r   r3   r3      sT    !	288:%%%I+T$s+u--u747r   
emscriptenc                     R p\        V R4      ;_uu_ 4       pVP                  ^4      V8H  uuRRR4       #   + '       g   i     R# ; i)s    asmbrNopenread)filenamewasm_headerthefiles   &  r   _is_wasmr      s5     (D!!W<<?k1 "!!!s	   6A	c                 Z   R V  R2R V  R2.p\         P                  P                  RR4      pVP                  R4       Fi  pV F`  p \         P                  P                  W04      p\         P                  P                  V4      '       g   KI  \        V4      '       g   K\  Vu u # 	  Kk  	  R# )librw   z.wasmLD_LIBRARY_PATH :N)r'   r(   getr   r*   r+   r,   r   )r0   
candidatespathslibdirlibfiles   &    r   r3   r3      s    D6oTF%'89


0"5kk#&F"'',,v477>>'**x/@/@"N	 # ' r   c                    Rp \        V R4      ;_uu_ 4       pVP                  ^4      V8H  uuRRR4       #   + '       g   i     R# ; i  \         d     R# i ; i)z,Return True if the given file is an ELF file   ELFr|   NF)r~   r   FileNotFoundError)r   
elf_headerr   s   &  r   _is_elfr      sK    
	h%%||A*4 &%%%  		s+   A 7
A A	A A AAc                    \         P                  ! R \        P                  ! V 4      ,          4      p\        P
                  ! R4      pV'       g   \        P
                  ! R4      pV'       g   R# \        P                  ! 4       p VRRVP                  RV ,           .p\        \         P                  4      pRVR&   RVR	&    \        P                  ! V\        P                  \        P                  VR
7      pT;_uu_ 4        TP$                  P'                  4       pRRR4        TP!                  4        \        P(                  ! TX4      pT'       g   R# T F,  p	\+        T	4      '       g   K  \         P,                  ! T	4      u # 	  R#   \         d(      TP!                  4        R#   \"         d     R# i ; ii ; i  + '       g   i     L; i  \"         d     Li ; i   TP!                  4        i   \"         d     i i ; i; i)z[^\(\)\s]*lib%s\.[^\(\)\s]*gccccNz-Wl,-tz-oz-lCLC_ALLLANGstdoutstderrenv)r'   fsencodereescapeshutilwhichtempfileNamedTemporaryFiler0   dictr(   
subprocessPopenPIPESTDOUTOSErrorcloser   r   r   findallr   rp   )
r0   expr
c_compilertempargsr   proctraceresfiles
   &         r   _findLib_gccr      s   
 {{9BIIdOKL\\%(
d+J**,	$		4$;GDrzz"CCMCK!''/9/9/@/@,/1 ((* 


 jju%D 4==;;t$$   

$  
 %  

$  s   ;G$ 6F 8
G$ G G$ &G F=G$ F* *F98F9<F==G$  G	G$ G! G!$H&G76H7HHHHsunos5c                    V '       g   R #  \         P                  ! RRV 3\         P                  \         P                  R7      pT;_uu_ 4        TP
                  P                  4       pR R R 4       \        P                  ! RX4      pT'       g   R # \        P                  ! TP                  ^4      4      #   \         d     R # i ; i  + '       g   i     Lh; i)Nz/usr/ccs/bin/dumpz-Lpvr   r   s   \[.*\]\sSONAME\s+([^\s]+))r   r   r   DEVNULLr   r   r   r   searchr'   rp   group)fr   datar   s   &   r   _get_sonamer   
  s    !'')<fa(H/9/9/A/AC
 {{'') ))94@C;;syy|,,  s   8B7 C	7CC	C	c                    V '       g   R # \         P                  ! R4      pV'       g   R #  \        P                  ! VRRRV 3\        P                  \        P
                  R7      pT;_uu_ 4        TP                  P                  4       pR R R 4       \        P                  ! RX4      pT'       g   R # \        P                  ! TP                  ^4      4      #   \         d     R # i ; i  + '       g   i     Lh; i)Nobjdumpz-pz-jz.dynamicr   s   \sSONAME\s+([^\s]+))r   r   r   r   r   r   r   r   r   r   r   r'   rp   r   )r   r   r   dumpr   s   &    r   r   r     s    ll9-G!''$j!(L/9/9/A/AC
 {{'') ))3T:C;;syy|,,  s   :C 0C+C('C(+C;	c                     V P                  R 4      p. p V'       d,   VP                  ^ \        VP                  4       4      4       K3   T;'       g    \
        P                  .#   \         d     L(i ; i)   .)r   insertr   popri   r
   maxsize)libnamepartsnumss   &  r   _num_versionr   3  se    MM$'EDKK3uyy{#34  ((CKK=(  s   A$ +A$ $A21A2c                 N   \         P                  ! V 4      pR V: RV: R2p\        P                  ! V4      p \        P
                  ! R\        P                  \        P                  R7      pV;_uu_ 4        VP                  P                  4       pRRR4       \         P                  ! TX4      pT'       g   \        \        T 4      4      # TP                  \        R7       \        P                   ! TR,          4      #   + '       g   i     Lv; i  \         d    Rp Li ; i)	z:-lz\.\S+ => \S*/(libz\.\S+)r   Nr   )key)z/sbin/ldconfigz-rr   )r   r   r'   r   r   r   r   r   r   r   r   r   r   r   sortr   rp   )r0   enamer   r   r   r   s   &     r   r3   r3   >  s    IIdOE8=uED;;t$D.!''(@/9/9/A/AC T;;++-D  **T4(C"<#566HHH&;;s2w'' T  s   5D 8DD	D$#D$c                 >   \         P                  P                  R 4      '       g   R# \        \         P                  4      pRVR&   V'       d   RpMR	pRp \
        P                  ! V\
        P                  \
        P                  VR7      pT;_uu_ 4        TP                   FW  pTP                  4       pTP                  R4      '       g   K,  \         P                  ! T4      P                  4       ^,          pKY  	  RRR4       T'       g   R# TP                  R4       FS  p\         P                  P                  TRT ,          4      p\         P                  P                  T4      '       g   KQ  Tu # 	  R#   \         d     R# i ; i  + '       g   i     L; i)
/usr/bin/crleNr   r   r   s   Default Library Path (ELF):r   zlib%s.so)r   z-64)r   )r'   r*   existsr   r(   r   r   r   r   r   r   rV   
startswithrp   r   r+   )	r0   is64r   r   r   r   linedirr   s	   &&       r   _findLib_crler   U  s'   77>>/22rzz"CCM/)E!''/9/9/A/A,/1  KKD::<D'EFF "D 1 7 7 9! < (  {{3''',,sJ,=>77>>'**"N (
 !  s$   6E: 4F/F:F	F	F	c                 P    \        \        W4      ;'       g    \        V 4      4      # )N)r   r   r   )r0   r   s   &&r   r3   r3   y  s    }T8NNL<NOOr   c                      \        V R 4      ;_uu_ 4       pVP                  ^4      R8H  uuRRR4       #   + '       g   i     R# ; i    R# ; i)rbr   NFr}   )filepathfhs   & r   r   r     s>    (D))R771:3 *)))s%   A	 5
A	 A	 A	 A	 	Ac                    ^ RI H p \        P                  P                  V 4      '       d   V # V R	9   d   Rp M	V R
9   d   Rp . ROpR\        P                  9   d.   \        P                  R,          P                  R4      V,           pV F  p\        P                  P                  W04      p\        V4      '       d"   \        P                  P                  V4      u # \        P                  P                  VRV ,           4      pR FW  pV! RP                  WV4      4       F9  p\        V4      '       g   K  \        P                  P                  V4      u u u # 	  KY  	  K  	  R# )r   )globr$   zlibc.sor   r   r   z{0}{1}N)r&   cryptpthread)libm.solibcrypt.sozlibpthread.so)rv   z/usr/local/libz/usr/lib)rw   z.so.*)
r   r'   r*   isabsr(   r   r+   r   basenamer=   )r0   r   r   r   r   r   suffixs   &      r   r3   r3     s    !ww}}T""00DD :E BJJ.

#45;;C@5HGGLL)1::77++A..at4.F!(//&"AB"1::#%77#3#3A#66 C / r   )rd   c                  8   ^ RI Hp  \        P                  R8X  dD   \	        V P
                  4       \	        V P                  R4      4       \	        \        R4      4       \        P                  R8X  Edo   \	        \        R4      4       \	        \        R4      4       \	        \        R4      4       \        P                  R8X  dk   \	        V P                  R	4      4       \	        V P                  R
4      4       \	        V P                  R4      4       \	        V P                  R4      4       EM\        P                  P                  R4      '       EdF   ^ RI Hp \        P                  R8  dp   \	        RV! R\        P                  4       24       \	        RV P                  R4       24       \	        \        R4      4       \	        V P                  R4      4       M@\	        RV! R\        P                  4       24       \	        RV P                  R4       24       \	        R\        R4       24       \	        RV P                  \        R4      4       24       \	        R\        R4       24       \	        RV P                  \        R4      4       24       MH\	        V P                  R4      4       \	        V P                  R4      4       \	        \        R4      4        \         \	        \        4       4       R#   \          d    \	        R4        R# i ; i)r   )cdllr   r   re   r&   r$   bz2darwinz
libm.dylibzlibcrypto.dylibzlibSystem.dylibzSystem.framework/Systemrr   )CDLLz"Using CDLL(name, os.RTLD_MEMBER): zlibc.a(shr.o)zUsing cdll.LoadLibrary(): rpmz	librpm.sozlibc.a(shr_64.o)z	crypt	:: r   z
crypto	:: cryptor   r   zdllist() not availableNl        )rH   r   r'   r0   printr   loadr3   r
   platformLoadLibraryr   r   r   RTLD_MEMBERrd   	NameError)r   r   s     r   testr     sP   	ww$dkkdii!"l8$%	ww'l3 l3 l5!" <<8#$""<01$""#456$""#456$""#<=>\\$$U++#{{U":4QSQ_Q_;`:abc243C3CO3T2UVWl5)*d&&{34:4@RTVTbTb;c:def243C3CDV3W2XYZJ|G4567Jt//W0EFGHIKX 6789K 0 0h1G HIJK$""9-.$""=12,w'( 	fh  (&'(s   $K? ?LL__main__>   iostvosr   watchos)freebsdopenbsd	dragonfly)F)0r'   r   r   r
   r0   r   r"   r3   rH   r4   rI   	_kernel32rQ   rL   rK   rA   rN   r<   LPWSTRrP   rG   rC   r_   rd   r   ctypes.macholib.dyldrf   rh   r   rm   rk   c_char_pr   ctypes._aixr   r   r   r   r   r   r   r   _findSoname_ldconfig_findLib_ld_ctypesImportErrorr   __name__ r   r   <module>r     s   	   
 77d?2*$ j>I$%89#+??  )*> ?(0%*& !#: WWCLL,PP<	 KKS)*E !78#)??  	\\U## )\\Y8 	\\\!2
 WW/%d ||x	-"	-, ||BCC		)	(* 
	!"	H	P 
		7v	-^ zF k  		s   0H HH