+
    f4jR                         ^ 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                  R19   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  du   ^ RI#t#^ RI$t$R t%R t&]P0                  R8X  d   R  t'MR! t']P0                  PA                  R24      '       d   R" t(R# tM&]P0                  R8X  d
   R$ t)R3R% ltMR& t*R' t+R( t,R) t] P                  R8X  d   ]P0                  R19  d   ^ RIt]-! ]P8                  ! R4      ;tR*4      '       d    ! R+ R,]P\                  4      t/]P`                  ! ]Pb                  ]Pd                  ! ]/4      ]Pf                  ]Pd                  ! ]Ph                  4      4      t5]5R- 4       t6]R*,          t7]5]Pd                  ! ]Ph                  4      .]7n        ]Pb                  ]7n        R. tR/ t8]9R08X  d
   ]8! 4        R# R# )4    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         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 ,          RV ,          V : RV : 2.pV F  p  \        V 4      u # 	  R#   \         d     K#  i ; i)z#@executable_path/../lib/lib%s.dylibzlib%s.dylibz%s.dylibz.framework/N)
_dyld_find
ValueError)r0   possibles   & r   r3   r3      s^    9D@!D(%)-t46 D!$'' 
   s   
: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64z/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# )librv   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 files   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)[^\(\)\s]*lib%s\.[^\(\)\s]*gccccNz-Wl,-t-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objdump-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   4  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)/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   lib%s.so)r   -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   V  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   z  s    }T8NNL<NOOr   c           
      L   ^ RI pVP                  R4      ^8X  d(   \        P                  ! 4       P                  R,           pM&\        P                  ! 4       P                  R,           pRRRRR	RR
RRR/pVP                  VR4      pRp\        P                  ! V\        P                  ! V 4      V3,          4      p \        P                  ! RR.\        P                  \        P                  \        P                  RRRR/R7      ;_uu_ 4       p\        P                  ! WVP                  P                  4       4      pV'       d0   \        P                   ! VP#                  ^4      4      uuRRR4       #  RRR4       R#   + '       g   i     R# ; i  \$         d     R# i ; i)r   Nlz-32r   z	x86_64-64zlibc6,x86-64zppc64-64zlibc6,64bitz
sparc64-64zs390x-64zia64-64zlibc6,IA-64libc6z\s+(lib%s\.[^\s]+)\s+\(%sr   r   r   r   r   )stdinr   r   r   )structcalcsizer'   rw   rx   r   r   r   r   r   r   r   r   r   r   r}   rp   r   r   )r0   r   rx   mach_mapabi_typeregexpr   s   &       r   _findSoname_ldconfigr     sU   s#q(((*,,u4((*,,u4^MmM=H  ||GW5H 1EKK4((C CDE
%%'7&>,6,>,>-7-?-?-7__+3S&#*F	H H LM))E88==?;C!{{399Q<8H H H H H H  s8   <AF AF *
F 6F  F	F F F#"F#c                    R \         P                  ! V 4      ,          pRR.p\        P                  P	                  R4      pV'       d,   VP                  R4       F  pVP                  RV.4       K  	  VP                  R\        P                  RV ,          .4       Rp \        P                  ! V\        P                  \        P                  R	R
7      pVP                  4       w  rx\         P                  ! V\        P                  ! V4      4      p	V	 F,  p
\        V
4      '       g   K  \        P                  ! V
4      u # 	  V#   \         d     T# i ; i)r   ldz-tr   r   z-Lr   z-l%sNT)r   r   universal_newlines)r   r   r'   r(   r   r   extenddevnullr   r   r   communicater   rp   r   	Exception)r0   r   cmdlibpathr   resultr   out_r   r   s   &          r   _findLib_ldr     s   1BIIdOCD,Cjjnn%67G s+AJJay) ,JJbjj&4-89F$$S,6OO8<> jjr{{3'78D #4== ;;t,,   M  Ms    B"E E EEc                     V '       g   R # V RV ,          3 F[  p\         P                  P                  \        P                  RV4      p\         P                  P                  V4      '       g   KY  Vu # 	  R # )Nr   r   )r'   r*   r+   r
   r   r   )r0   fullnamer*   s   &  r   _findLib_prefixr     sS    !:#67ww||CJJx@77>>$''K 8 r   c                    \        \        V 4      4      ;'       g    T pW8w  dj   \        V4      ;'       gW    \        V 4      ;'       gD    \        V 4      ;'       g1    \        \        V 4      4      ;'       g    \        \	        V 4      4      # \        V 4      ;'       gD    \        V 4      ;'       g1    \        \        V 4      4      ;'       g    \        \	        V 4      4      # r   )r   r   r   r   r   )r0   so_names   & r   r3   r3     s    
 "/$"78@@DG&w/ Y Y&t,Y Y+D1Y Y #<#56Y Y ;FkRVFW:XY
 (- Z Z,T2Z Z#L$67Z Z;F{SWGX;YZr   dl_iterate_phdrc                       ] tR tRtR]P
                  3R]P                  3R]P
                  3R]P                  3.tRt	R# )_dl_phdr_infoi  	dlpi_addr	dlpi_name	dlpi_phdr
dlpi_phnum N)
__name__
__module____qualname____firstlineno__rH   c_void_pc_char_pc_ushort_fields___static_attributes__r   r   r   r   r     s9    foo.foo.foo.v/	Hr   r   c                     VP                   P                  p\        P                  ! V P                   P                  4      pVP                  V4       ^ # )r   )contentsrB   r'   rp   r   append)info_sizer   rc   r0   s   &&&  r   _info_callbackr    s:    ++I;;t}}667DT"r   c                 z    . p \        \        \        P                  ! \        P                  ! V 4      4      4       V # ra   )_dl_iterate_phdrr  rH   rS   	py_object)rc   s    r   rd   rd     s/    I^#\\&*:*:9*EFHr   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	:: cryptz
crypto	:: cryptozlibm.sozlibcrypt.soz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):r'   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   r  r   ctypes._aixr   r   r   r   r   r   r   r   r   r   r   hasattr	Structurer   	CFUNCTYPEc_intrM   c_size_tr  _dl_phdr_callbackr  r  r   r   r   r   r   <module>r2     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
	<	6		Z0 GGwLL<<T**->??	F,, 	 #,,LLNN=)OONN6++,	
 
	 
	 !!23NN6++,%
! $*<< 	-^ zF r   