Ë
    òT•jç	  ã                   óV  — d dl Z d dl­  ee«      Zd„ Z G d„ d«      Z G d„ de ee«      «      Z G d„ d	e ee	«      «      Z
e j                  d
k(  r!dZeZ G d„ dee¬«      Ze	Z G d„ de	e
¬«      Zye j                  dk(  r!dZeZ G d„ dee¬«      Ze	Z G d„ de	e
¬«      Zy ed«      ‚)é    N)Ú*c                 óò   — t        | t        «      rt        | t        «      S t        | t        «      r"t        | j                  «      | j                  z  S t        | t        t        f«      r| S t        d| z  «      ‚)zïReturn the type with the 'other' byte order.  Simple types like
    c_int and so on already have __ctype_be__ and __ctype_le__
    attributes which contain the types, for more complicated types
    arrays and structures are supported.
    z+This type does not support other endian: %s)ÚhasattrÚ_OTHER_ENDIANÚgetattrÚ
isinstanceÚ_array_typeÚ_other_endianÚ_type_Ú_length_Ú
issubclassÚ	StructureÚUnionÚ	TypeError)Útyps    ú%/usr/lib/python3.12/ctypes/_endian.pyr
   r
      sb   € ô ˆs”MÔ"Ü�sœMÓ*Ð*ä�#”{Ô#Ü˜SŸZ™ZÓ(¨3¯<©<Ñ7Ð7ä�#œ	¤5Ð)Ô*Øˆ
Ü
ÐAÀCÑGÓ
HÐHó    c                   ó   ‡ — e Zd Zˆ fd„Zˆ xZS )Ú_swapped_metac                 ó¢   •— |dk(  r9g }|D ]0  }|d   }|d   }|dd  }|j                  |t        |«      f|z   «       Œ2 |}t        ‰| �  ||«       y )NÚ_fields_r   é   é   )Úappendr
   ÚsuperÚ__setattr__)	ÚselfÚattrnameÚvalueÚfieldsÚdescÚnamer   ÚrestÚ	__class__s	           €r   r   z_swapped_meta.__setattr__   so   ø€ Ø�zÒ!ØˆFØò A�Ø˜A‘w�Ø˜1‘g�Ø˜A˜B�x�Ø—‘˜t¤]°3Ó%7Ð8¸4Ñ?Õ@ð	Að
 ˆEÜ‰Ñ˜H eÕ,r   )Ú__name__Ú
__module__Ú__qualname__r   Ú__classcell__)r$   s   @r   r   r      s   ø„ ÷	-ð 	-r   r   c                   ó   — e Zd Zy)Ú_swapped_struct_metaN©r%   r&   r'   © r   r   r*   r*   "   ó   … r   r*   c                   ó   — e Zd Zy)Ú_swapped_union_metaNr+   r,   r   r   r/   r/   #   r-   r   r/   ÚlittleÚ__ctype_be__c                   ó   — e Zd ZdZdZdZy)ÚBigEndianStructurez$Structure with big endian byte orderr,   N©r%   r&   r'   Ú__doc__Ú	__slots__Ú_swappedbytes_r,   r   r   r3   r3   0   s   „ Ù2Øˆ	Ø‰r   r3   )Ú	metaclassc                   ó   — e Zd ZdZdZdZy)ÚBigEndianUnionz Union with big endian byte orderr,   Nr4   r,   r   r   r:   r:   7   s   „ Ù.Øˆ	Ø‰r   r:   ÚbigÚ__ctype_le__c                   ó   — e Zd ZdZdZdZy)ÚLittleEndianStructurez'Structure with little endian byte orderr,   Nr4   r,   r   r   r>   r>   A   s   „ Ù5Øˆ	Ø‰r   r>   c                   ó   — e Zd ZdZdZdZy)ÚLittleEndianUnionz#Union with little endian byte orderr,   Nr4   r,   r   r   r@   r@   H   s   „ Ù1Øˆ	Ø‰r   r@   zInvalid byteorder)ÚsysÚctypesÚtypeÚArrayr	   r
   r   r   r*   r   r/   Ú	byteorderr   r>   r3   r@   r:   ÚRuntimeErrorr,   r   r   ú<module>rG      sÎ   ðÛ 
Ü á�5‹k€òI÷"
-ñ 
-ô A˜=©$¨y«/Ô @Ü ;˜-©¨e«Ô ;ð ‡=�=�HÒØ"€Mà%Ðô˜YÐ2Fõ ð
 Ðô˜Ð*=ö ð
 	‡]�]�eÒØ"€Mà"Ðô 	Ð5Iõ ð
 €Nô˜EÐ-@ö ñ Ð*Ó
+Ð+r   