+
     Gi  c                   s0    ^ RI t ^ RIt^ RItR tR tR tR# )i    Nc                  s    \         P                  ! R 4      P                  p \         P                  V n        \         P
                  .V n        ^pV ! V4      pVR8w  d   V ! V4       R# R# )NTFi)ctypesZCDLLpersonalityZc_intZrestypeZc_ulongZargtypes)r   ZPER_LINUX32Zperss      '/usr/lib/waydroid/tools/helpers/arch.pyis_32bit_capabler      sU    ++d#//K ,,K"NN+KK{#DrzD    c            
      s    \         P                  ! 4       p R RRRRRRRRR/pW9   d   \        W,          4      # \        RV ,           R	,           4      h)
Zi686x86x86_64Zaarch64arm64Zarmv7larmZarmv8lzplatform.machine 'z' architecture is not supported)platformmachinemaybe_remap
ValueError)r
   Zmappings     r   hostr      sg     G 	(7%%G 7+,,
)G3 76 6 7 7r   c                 s   V P                  R 4      '       dg   \        R4      ;_uu_ 4       pVP                  4       pRRR4       RX9  d   \        R4      hV R8X  d    RV9  d   \        P
                  ! R4       R # V # V R8X  d$   \        P                  ! 4       ^ ,          R	8X  d   R
# V R8X  d)   \        4       '       g   \        P
                  ! R4       R# V #   + '       g   i     L; i)r   z/proc/cpuinfoNZssse3z"x86/x86_64 CPU must support SSSE3!r   Zsse4_2z:x86_64 CPU does not support SSE4.2, falling back to x86...r   Z32bitr   zFAArch64 CPU does not appear to support AArch32, assuming arm64_only...Z
arm64_only)	Z
startswithZopenZreadr   loggingZinfor	   Zarchitecturer   )ZtargetZfZcpuinfos   &  r   r   r   $   s    /""affhG #'!ABBX('"9LLUV M 
7	x446q9WD	7	#3#5#5]^M #"s   CC)	)r	   r   r    r   r   r   ) r   r   <module>r      s      7r   