Ë
    þI¶d<  ã                   ó$   — d „ Z dd„Zd„ Zd„ Zd„ Zy)c                 ó   — | |kD  | |k  z
  S )zÿ
    Replacement for built-in function cmp that was removed in Python 3

    Compare the two objects x and y and return an integer according to
    the outcome. The return value is negative if x < y, zero if x == y
    and strictly positive if x > y.
    © )ÚxÚys     ú./usr/lib/python3/dist-packages/samba/common.pyÚcmpr      s   € ð �‰E�a˜!‘eÑÐó    c                 óÈ   — |rt        d| z  «       yddddddœ}d}|rd|d<   d|d<   d}	 t        | d	|z  z   «      }|j                  «       }||v r||   S t        d
|z  «       Œ9)z|confirm an action with the user

    :param msg: A string to print to the user
    :param forced: Are the answer forced
    z%s [YES]TF)ÚYÚYESÚ ÚNÚNOz[y/N]ÚALLÚNONEz[y/N/all/none]z %s zUnknown response '%s')ÚprintÚinputÚupper)ÚmsgÚforcedÚ	allow_allÚmappingÚpromptÚvs         r   Úconfirmr   !   s•   € ñ Üˆj˜3ÑÔØð ØØØØñ€Gð €FáØˆ�‰Ø ˆ�‰Ø!ˆà
Ü�#˜ ™Ñ'Ó(ˆØ�G‰G‹IˆØ�‰<Ø˜1‘:ÐÜÐ%¨Ñ)Ô*ð r   c                 ó~   — t        | «      dz  r%t        | «      dkD  rt        t        | «      dz
  «      S t        | «      S )z)normalise a ldap integer to signed 32 bitl        é    l        )ÚintÚstr)Úivalues    r   Únormalise_int32r    B   s6   € ä
ˆ6ƒ{�ZÒ¤C¨£K°!¢OÜ”3�v“; Ñ,Ó-Ð-Üˆv‹;Ðr   c                 ó¤   — | }t        | t        «      r| j                  d«      }|S t        | t        «      st	        dt        | «      ›d| ›�«      ‚|S ©NÚutf8zExpected bytes or string for ú:)Ú
isinstancer   ÚencodeÚbytesÚ
ValueErrorÚtype©ÚbytesorstringÚtmps     r   Ú	get_bytesr-   W   sO   € Ø
€CÜ�-¤Ô%Ø×"Ñ" 6Ó*ˆð €Jô ˜¤uÔ-ÝÄÀmÕATÑVcÐdÓeÐeØ€Jr   c                 ó¤   — | }t        | t        «      r| j                  d«      }|S t        | t        «      st	        dt        | «      ›d| ›�«      ‚|S r"   )r%   r'   Údecoder   r(   r)   r*   s     r   Ú
get_stringr0   e   sO   € Ø
€CÜ�-¤Ô'Ø×"Ñ" 6Ó*ˆð €Jô ˜¤sÔ+ÝÄÀmÕATÑVcÐdÓeÐeØ€Jr   N)FF)r   r   r    r-   r0   r   r   r   ú<module>r1      s   ðò*	ó+òBò*ór   