+
    4Ssi=  ã                   ó(   € R  t RR ltR tR tR tR# )c                ó   € W8„  W8  ,
          # )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           
     ó  € V'       d   \        RV ,          4       R# RRRRRRRRRR/pR	pV'       d   R
VR
&   RVR&   Rp \        V RV,          ,           4      pVP                  4       pWS9   d	   W5,          # \        RV,          4       KL  )zpconfirm an action with the user

:param msg: A string to print to the user
:param forced: Are the answer forced
z%s [YES]TÚYÚYESÚ FÚ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ÕÔÙð 	ˆTØˆtØ
ˆEØˆUØˆeð€Gð €FçØˆ�‰Ø ˆ�‰Ø!ˆà
Ü�#˜ �Õ'Ó(ˆØ�G‰G‹IˆØŒ<Ø•:ÐÜÐ%¨Õ)Ö*r   c                óž   € \        V 4      R,          '       d,   \        V 4      ^ 8”  d   \        \        V 4      R,
          4      # \        V 4      # )z)normalise a ldap integer to signed 32 bitl        l        )ÚintÚstr)Úivalues   &r   Únormalise_int32r   B   s9   € ä
ˆ6ƒ{�Z×Ô¤C¨£K°!¤OÜ”3�v“; Õ,Ó-Ð-Üˆv‹;Ðr   c                 óÀ   € T p\        V \        4      '       d   V P                  R 4      pV# \        V \        4      '       g   \	        R\        V 4      : RV : 24      hV# ©Úutf8zExpected bytes or string for Ú:)Ú
isinstancer   ÚencodeÚbytesÚ
ValueErrorÚtype©ÚbytesorstringÚtmps   & r   Ú	get_bytesr,   O   sU   € Ø
€CÜ�-¤×%Ò%Ø×"Ñ" 6Ó*ˆð €Jô ˜¤u×-Ò-ÝÄÀmÖATÒVcÐdÓeÐeØ€Jr   c                 óÀ   € T p\        V \        4      '       d   V P                  R 4      pV# \        V \        4      '       g   \	        R\        V 4      : RV : 24      hV# r!   )r$   r&   Údecoder   r'   r(   r)   s   & r   Ú
get_stringr/   Z   sU   € Ø
€CÜ�-¤×'Ò'Ø×"Ñ" 6Ó*ˆð €Jô ˜¤s×+Ò+ÝÄÀmÖATÒVcÐdÓeÐeØ€Jr   N)FF)r   r   r   r,   r/   r   r   r   Ú<module>r0      s   ðò*	ô+òBòôr   