ó
    F\h   ã                   ó¼  • S r SSKrSSKrSSKrSSKrSSK7  SSKJrJrJ	r	J
r
JrJrJrJr  SSKJr  / SQ\-   rC\R"                  \R$                  \R&                  \\\4r\S   r\S   rS	r\S
   r\S   r\S   r\S   r\S   r \S   r!\S   r"\S   r#\S   r$\S   r%\S   r&\S   r'\S   r(\S   r)\S   r*\S   r+\," \-5      r.\/" \5      r0\Rb                  " 5        H  u  r2r3\3\4" \.5      :  d   e\2\.\3'   \3\0\2'   M      \Rb                  " 5        V VVs0 s H  u  pU  H  o"U _M     M     snnn r5S r6SuSSSSSS.S jjr7SuSSSSS.S jjr8S S!S"S#S$S%S&S'S(S)S*.
r9S+ r: " S, S-5      r;\;" 5       r<S. r=S/ r>S0 r?S1 r@S2 rASS3.S4 jrB\R†                  " S5/ S6QS/S7-  S89rD\R†                  " S9/ S:Q/ S;QS89rES<\ERZ                  l         S=\ER
                  l         S>\ERŒ                  l         S?\ERŽ                  l         S@\ER�                  l         SA\ER’                  l         SB\ER”                  l         SC\ER–                  l         SD\ER˜                  l         SE\ERš                  l         SF\ERœ                  l         SG\ERž                  l         \R†                  " SHSI5      rP " SJ SK\P5      rQSLrRSMrSSN rTSO rU " SP SQ\E5      rV " SR SS5      rW " ST SU5      rXSSSSV.SW jrYSX rZSY r[SZ r\S[ r]S\ r^S] r_  SvS^ jr`SwSSSSS.S_ jjraSSSSSS.S` jrbSxSb jrcScrdSd reSySSaSSSSSe.Sf jjrfSwSg jrgSh rh\ariSirjSj\jSk-
  -  rkSl rlSm rmSn rnSo roSp rp " Sq Sr5      rqSuSs jrr\sSt:X  a  \r" 5         ggs  snnn f )zz0Disassembler of Python byte code into mnemonics.é    N)Ú*)Ú__all__Ú_cache_formatÚ_inline_cache_entriesÚ_nb_opsÚ_intrinsic_1_descsÚ_intrinsic_2_descsÚ_specializationsÚ_specialized_opmap)Úget_executor)Ú	code_infoÚdisÚdisassembleÚdistbÚdiscoÚfindlinestartsÚ
findlabelsÚ	show_codeÚget_instructionsÚInstructionÚBytecodeÚCONVERT_VALUEÚSET_FUNCTION_ATTRIBUTE)ÚdefaultsÚ
kwdefaultsÚannotationsÚclosureÚENTER_EXECUTORÚ
LOAD_CONSTÚRETURN_CONSTÚLOAD_GLOBALÚ	BINARY_OPÚJUMP_BACKWARDÚFOR_ITERÚSENDÚ	LOAD_ATTRÚLOAD_SUPER_ATTRÚCALL_INTRINSIC_1ÚCALL_INTRINSIC_2ÚLOAD_FAST_LOAD_FASTÚSTORE_FAST_LOAD_FASTÚSTORE_FAST_STORE_FASTÚCACHEc                 óT   •  [        XS5      $ ! [         a     Of = f[        XS5      $ )zÆAttempts to compile the given source, first as an expression and
then as a statement if the first approach fails.

Utility function to accept strings in functions that otherwise
expect code objects
ÚevalÚexec)ÚcompileÚSyntaxError)ÚsourceÚnames     Ú/usr/lib/python3.13/dis.pyÚ_try_compiler6   A   s3   € ðÜ�v VÓ,Ð,øÜó Ùðúä�6 Ó(Ð(s   ‚ Ž
šF©ÚfileÚdepthÚshow_cachesÚadaptiveÚshow_offsetsc                ój  • U c  [        XUUS9  g[        U S5      (       a  U R                  n [        U S5      (       a  U R                  n OY[        U S5      (       a  U R                  n O;[        U S5      (       a  U R
                  n O[        U S5      (       a  U R                  n [        U S5      (       ah  [        U R                  R                  5       5      nU H>  u  px[        U[        5      (       d  M  [        S	U-  US
9   [        X�X#XES9  [        US
9  M@     g[        U S5      (       a  [        XX#XES9  g[        U [         ["        45      (       a|  [%        U 5      n
S['        [)        ['        U
5      5      5      -   n[+        UU(       a*  ['        [)        [-        ['        U 5      S-
  S5      5      5      OSUUS9n[/        U
S9n[1        XUS9  g[        U [(        5      (       a  [3        XX#XES9  g[        S[5        U 5      R6                  -  5      e! [         a  n	[        SX‘S
9   Sn	A	GNSn	A	ff = f)a  Disassemble classes, methods, functions, and other compiled objects.

With no argument, disassemble the last traceback.

Compiled objects currently include generator objects, async generator
objects, and coroutine objects, all of which store their code object
in a special attribute.
N©r8   r:   r;   r<   Ú__func__Ú__code__Úgi_codeÚag_codeÚcr_codeÚ__dict__zDisassembly of %s:©r8   r7   zSorry:Úco_codeé   é   é'  r   )r8   Úoffset_widthÚlabel_widthr:   )Ú
labels_map)Úarg_resolverÚ	formatterú(don't know how to disassemble %s objects)r   Úhasattrr?   r@   rA   rB   rC   ÚsortedrD   ÚitemsÚ
isinstanceÚ
_have_codeÚprintr   Ú	TypeErrorÚ_disassemble_recursiveÚbytesÚ	bytearrayÚ_make_labels_mapÚlenÚstrÚ	FormatterÚmaxÚArgResolverÚ_disassemble_bytesÚ_disassemble_strÚtypeÚ__name__)Úxr8   r9   r:   r;   r<   rR   r4   Úx1ÚmsgrL   rK   rN   rM   s                 r5   r   r   N   sé  € ð 	�yÜ�4¸8Ø'ò	)àäˆq�*×ÑØ�J‰Jˆäˆq�*×ÑØ�J‰J‰Ü	��I×	Ñ	Ø�I‰I‰Ü	��I×	Ñ	Ø�I‰I‰Ü	��I×	Ñ	Ø�I‰Iˆäˆq�*×ÑÜ�q—z‘z×'Ñ'Ó)Ó*ˆÛ‰HˆDÜ˜"œj×)Ó)ÜÐ*¨TÑ1¸Ò=ð4Ü˜¨UÐV^Òzô ˜4Ô ò ô 
��I×	Ñ	Ü˜q°5Ð\dó  	AÜ	�AœœyÐ)×	*Ñ	*Ü% aÓ(ˆ
Øœ#œc¤# j£/Ó2Ó3Ñ3ˆÜ 4ÞNZ¬3¬s´3´s¸1³vÀ±zÀ4Ó3HÓ/IÔ+JÐ`aØ*5Ø*5ñ7ˆ	ô #¨jÑ9ˆÜ˜1À9ÓMÜ	�A”s×	Ñ	Ü˜¨UÐV^ÓzäÐBÜ˜Q›×(Ñ(ñ)ó *ð 	*øô# !ó 4Ü˜( C×3Ð3ûð4ús   ÄHÈ
H2È
H-È-H2r>   c          	      ót  • U cq   [        [        S5      (       a  [        R                  R                  n O[        R                  n  U R                  (       a  U R                  o R                  (       a  M  [        U R                  R                  U R                  XX4S9  g! [
         a    [        S5      Sef = f)z2Disassemble a traceback (default: last traceback).NÚlast_excz no last traceback to disassembler>   )rP   Úsysrh   Ú__traceback__Úlast_tracebackÚAttributeErrorÚRuntimeErrorÚtb_nextr   Útb_frameÚf_codeÚtb_lasti)Útbr8   r:   r;   r<   s        r5   r   r   „   sŒ   € à	�zð	MÜ”s˜J×'Ñ'Ü—\‘\×/Ñ/‘ä×'Ñ'‘ð �j�j˜rŸz™z˜"�j�j‰jÜ�—‘×"Ñ" B§K¡K°dÐ^fó  Cøô ó 	MÜÐAÓBÈÐLð	Mús   …/B  µB  Â B7Ú	OPTIMIZEDÚ	NEWLOCALSÚVARARGSÚVARKEYWORDSÚNESTEDÚ	GENERATORÚNOFREEÚ	COROUTINEÚITERABLE_COROUTINEÚASYNC_GENERATOR)
é   rH   rG   é   é   é    é@   é€   é   i   c           	      ó  • / n[        S5       HN  nSU-  nX-  (       d  M  UR                  [        R                  U[	        U5      5      5        X-  n U (       a  MN    O   UR                  [	        U 5      5        SR                  U5      $ )z+Return pretty representation of code flags.r€   r}   ú, )ÚrangeÚappendÚCOMPILER_FLAG_NAMESÚgetÚhexÚjoin)ÚflagsÚnamesÚiÚflags       r5   Úpretty_flagsr�   ¡   ss   € à€EÜ�2ŽYˆØ�!‰tˆØ�<‰<Ø�L‰LÔ,×0Ñ0°´s¸4³yÓAÔBØ‰MˆEß�5Ùñ ð 	�‰”S˜“ZÔ Ø�9‰9�UÓÐó    c                   ó   • \ rS rSrS rSrg)Ú_Unknowné¯   c                 ó   • g)Nz	<unknown>© ©Úselfs    r5   Ú__repr__Ú_Unknown.__repr__°   s   € Ør‘   r–   N)rc   Ú
__module__Ú__qualname__Ú__firstlineno__r™   Ú__static_attributes__r–   r‘   r5   r“   r“   ¯   s   † õr‘   r“   c                 óÔ  • [        U S5      (       a  U R                  n [        U S5      (       a  U R                  n OY[        U S5      (       a  U R                  n O;[        U S5      (       a  U R                  n O[        U S5      (       a  U R
                  n [        U [        5      (       a  [        U S5      n [        U S5      (       a  U $ [        S[        U 5      R                  -  5      e)	zDHelper to handle methods, compiled or raw code objects, and strings.r?   r@   rA   rB   rC   z<disassembly>rF   rO   )rP   r?   r@   rA   rB   rC   rS   r\   r6   rV   rb   rc   ©rd   s    r5   Ú_get_code_objectr¡   ¶   s¿   € ô ˆq�*×ÑØ�J‰Jˆäˆq�*×ÑØ�J‰J‰Ü	��I×	Ñ	Ø�I‰I‰Ü	��I×	Ñ	Ø�I‰I‰Ü	��I×	Ñ	Ø�I‰Iˆä�!”S×ÑÜ˜˜OÓ,ˆäˆq�)×ÑØˆÜ
Ð>Ü˜“G×$Ñ$ñ%ó &ð &r‘   c                 óL   • [         U    nU[        ;   a  [        [        U      $ U $ ©N)Ú_all_opnameÚdeoptmapÚ
_all_opmap)Úopr4   s     r5   Ú_deoptopr¨   Í   s&   € Ü�r‰?€DØ)-´Ó)9Œ:”h˜t‘nÑ%ÐA¸rÐAr‘   c                 óò  • U(       aÍ  U R                   n/ nSn[        S[        U5      S5       H‰  nX%   X%S-      pvU[        :X  a4   [	        X5      nU(       a!  UR                  5       UR                  5       pvSnUR                  UR                  5       5        UR                  UR                  5       5        M‹     U(       d  U$ SR                  U5      $ U R                  $ ! [
        [        4 a    S n N¤f = f)NFr   rH   r}   Tr‘   )Ú_co_code_adaptiver†   r[   r   r   Ú
ValueErrorrm   Ú
get_opcodeÚ	get_opargr‡   Úto_bytesr‹   rF   )	Úcor;   ÚcodeÚresÚfoundrŽ   r§   ÚargÚexs	            r5   Ú_get_code_arrayrµ   Ñ   sÔ   € ÞØ×#Ñ#ˆØˆØˆÜ�qœ#˜d›) QÖ'ˆAØ‘g˜t a¡C™y�Ø”^Ó#ðÜ% bÓ,�Bö Ø Ÿm™m›o¨r¯|©|«~˜Ø �Eà�J‰J�r—{‘{“}Ô%Ø�J‰J�s—|‘|“~Ö&ñ (ö !ˆtÐ3 c§h¡h¨s£mÐ3à�z‰zÐøô #¤LÐ1ó Ø’Bðús   ÁC!Ã!C6Ã5C6c                 ó*   • [        [        U 5      5      $ )z1Formatted details of methods, functions, or code.)Ú_format_code_infor¡   r    s    r5   r   r   è   s   € äÔ-¨aÓ0Ó1Ð1r‘   c                 óN  • / nUR                  SU R                  -  5        UR                  SU R                  -  5        UR                  SU R                  -  5        UR                  SU R                  -  5        UR                  SU R
                  -  5        UR                  SU R                  -  5        UR                  SU R                  -  5        UR                  S[        U R                  5      -  5        U R                  (       aA  UR                  S	5        [        U R                  5       H  nUR                  S
U-  5        M     U R                  (       aA  UR                  S5        [        U R                  5       H  nUR                  SU-  5        M     U R                  (       aA  UR                  S5        [        U R                  5       H  nUR                  SU-  5        M     U R                  (       aA  UR                  S5        [        U R                  5       H  nUR                  SU-  5        M     U R                  (       aA  UR                  S5        [        U R                  5       H  nUR                  SU-  5        M     SR!                  U5      $ )NzName:              %szFilename:          %szArgument count:    %szPositional-only arguments: %szKw-only arguments: %szNumber of locals:  %szStack size:        %szFlags:             %sz
Constants:z%4d: %rzNames:z%4d: %szVariable names:zFree variables:zCell variables:Ú
)r‡   Úco_nameÚco_filenameÚco_argcountÚco_posonlyargcountÚco_kwonlyargcountÚ
co_nlocalsÚco_stacksizer�   Úco_flagsÚ	co_constsÚ	enumerateÚco_namesÚco_varnamesÚco_freevarsÚco_cellvarsr‹   )r¯   ÚlinesÚi_cÚi_ns       r5   r·   r·   ì   sà  € Ø€EØ	‡L�LÐ(¨2¯:©:Ñ5Ô6Ø	‡L�LÐ(¨2¯>©>Ñ9Ô:Ø	‡L�LÐ(¨2¯>©>Ñ9Ô:Ø	‡L�LÐ0°2×3HÑ3HÑHÔIØ	‡L�LÐ(¨2×+?Ñ+?Ñ?Ô@Ø	‡L�LÐ(¨2¯=©=Ñ8Ô9Ø	‡L�LÐ(¨2¯?©?Ñ:Ô;Ø	‡L�LÐ(¬<¸¿¹Ó+DÑDÔEØ	‡|‡|Ø�‰�\Ô"Ü˜RŸ\™\Ö*ˆCØ�L‰L˜ S™Ö)ñ +à	‡{‡{Ø�‰�XÔÜ˜RŸ[™[Ö)ˆCØ�L‰L˜ S™Ö)ñ *à	‡~‡~Ø�‰Ð&Ô'Ü˜RŸ^™^Ö,ˆCØ�L‰L˜ S™Ö)ñ -à	‡~‡~Ø�‰Ð&Ô'Ü˜RŸ^™^Ö,ˆCØ�L‰L˜ S™Ö)ñ -à	‡~‡~Ø�‰Ð&Ô'Ü˜RŸ^™^Ö,ˆCØ�L‰L˜ S™Ö)ñ -à�9‰9�UÓÐr‘   rE   c                ó*   • [        [        U 5      US9  g)zuPrint details of methods, functions, or code to *file*.

If *file* is not provided, the output is printed on stdout.
rE   N)rU   r   )r¯   r8   s     r5   r   r     s   € ô
 
Œ)�B‹-˜dÓ#r‘   Ú	Positions)ÚlinenoÚ
end_linenoÚ
col_offsetÚend_col_offsetrG   )r   Ú_Instruction)ÚopnameÚopcoder³   ÚargvalÚargreprÚoffsetÚstart_offsetÚstarts_lineÚline_numberÚlabelÚ	positionsÚ
cache_info)NNNz!Human readable name for operationzNumeric code for operationz6Numeric argument to operation (if any), otherwise Nonez4Resolved arg value (if known), otherwise same as argz0Human readable description of operation argumentz1Start index of operation within bytecode sequencez|Start index of operation within bytecode sequence, including extended args if present; otherwise equal to Instruction.offsetz9True if this opcode starts a source line, otherwise FalsezGsource line number associated with this opcode (if any), otherwise NonezFA label (int > 0) if this instruction is a jump target, otherwise NonezPdis.Positions object holding the span of source code covered by this instructionzGlist of (name, size, data), one for each cache entry of the instructionÚ_ExceptionTableEntryBasezstart end target depth lastic                   ó   • \ rS rSrSrg)Ú_ExceptionTableEntryiD  r–   N)rc   r›   rœ   r�   rž   r–   r‘   r5   rß   rß   D  s   † Úr‘   rß   é   é   c                 ó0   • [         R                  " U S5      $ ©Nr   )r   r‰   ©rÒ   s    r5   Ú_get_cache_sizerå   J  s   € Ü ×$Ò$ V¨QÓ/Ð/r‘   c                 óÊ   • [        U 5      n[        [        U   5      nU[        ;   a(  [	        U5      (       a  U* nUS-   US-  -   nUSU-  -  nU$ U[
        ;   a  US-  nU$ SnU$ )zcGets the bytecode offset of the jump target if this is a jump instruction.

Otherwise return None.
rH   N)r¨   rå   r¤   ÚhasjrelÚ_is_backward_jumpÚhasjabs)r§   r³   rÖ   ÚdeopÚcachesÚtargets         r5   Ú_get_jump_targetrí   M  s�   € ô
 �B‹<€DÜœ[¨Ñ.Ó/€FØŒwƒÜ˜T×"Ñ"Ø�$ˆCØ˜!‘˜c !™eÑ#ˆØ�!�f‘*Ñˆð
 €Mð	 
”‹Ø�Q‘ˆð €Mð ˆØ€Mr‘   c                   óŽ   • \ rS rSrSr\S 5       r\S 5       r\S 5       r\S 5       r	\S 5       r
\S 5       r\S	 5       rS
 rSrg)r   i_  añ  Details for a bytecode operation.

Defined fields:
  opname - human readable name for operation
  opcode - numeric code for operation
  arg - numeric argument to operation (if any), otherwise None
  argval - resolved arg value (if known), otherwise same as arg
  argrepr - human readable description of operation argument
  offset - start index of operation within bytecode sequence
  start_offset - start index of operation within bytecode sequence including extended args if present;
                 otherwise equal to Instruction.offset
  starts_line - True if this opcode starts a source line, otherwise False
  line_number - source line number associated with this opcode (if any), otherwise None
  label - A label if this instruction is a jump target, otherwise None
  positions - Optional dis.Positions object holding the span of source code
              covered by this instruction
  cache_info - information about the format and content of the instruction's cache
                 entries (if any)
c                 ó   • U R                   $ )zAlias for Instruction.arg.)r³   r—   s    r5   ÚopargÚInstruction.opargt  s   € ð �x‰xˆr‘   c                 ó,   • [        U R                  5      $ )ziNumeric code for the base operation if operation is specialized.

Otherwise equal to Instruction.opcode.
)r¨   rÓ   r—   s    r5   Ú
baseopcodeÚInstruction.baseopcodey  s   € ô ˜Ÿ™Ó$Ð$r‘   c                 ó(   • [         U R                     $ )zpHuman readable name for the base operation if operation is specialized.

Otherwise equal to Instruction.opname.
)rÒ   ró   r—   s    r5   Ú
baseopnameÚInstruction.baseopname�  s   € ô �d—o‘oÑ&Ð&r‘   c                 ó    • U R                   S-   $ )z9Start index of the cache entries following the operation.rH   )rÖ   r—   s    r5   Úcache_offsetÚInstruction.cache_offset‰  s   € ð �{‰{˜Q‰Ðr‘   c                 óZ   • U R                   [        [        U R                     5      S-  -   $ )z7End index of the cache entries following the operation.rH   )rù   rå   r¤   rÓ   r—   s    r5   Ú
end_offsetÚInstruction.end_offsetŽ  s(   € ð × Ñ ¤?´;¸t¿{¹{Ñ3KÓ#LÈQÑ#NÑNÐNr‘   c                 óX   • [        U R                  U R                  U R                  5      $ )zWBytecode index of the jump target if this is a jump operation.

Otherwise return None.
)rí   rÓ   r³   rÖ   r—   s    r5   Újump_targetÚInstruction.jump_target“  s   € ô   §¡¨T¯X©X°t·{±{ÓCÐCr‘   c                 ó   • U R                   SL$ )z1True if other code jumps to here, otherwise FalseN)rÚ   r—   s    r5   Úis_jump_targetÚInstruction.is_jump_target›  s   € ð �z‰z Ð%Ð%r‘   c                 ó‚   • [         R                  " 5       n[        US9nUR                  U S5        UR	                  5       $ )NrE   F)ÚioÚStringIOr]   Úprint_instructionÚgetvalue)r˜   ÚoutputrN   s      r5   Ú__str__ÚInstruction.__str__   s4   € Ü—’“ˆÜ 6Ñ*ˆ	Ø×#Ñ# D¨%Ô0Ø�‰Ó Ð r‘   r–   N)rc   r›   rœ   r�   Ú__doc__Úpropertyrð   ró   rö   rù   rü   rÿ   r  r
  rž   r–   r‘   r5   r   r   _  sœ   † ñð( ñó ðð ñ%ó ð%ð ñ'ó ð'ð ñó ðð ñOó ðOð ñDó ðDð ñ&ó ð&õ!r‘   r   c                   ó8   • \ rS rSr  SS jrS	S jrS rS rSrg)
r]   i§  Nc                 ó@   • Xl         X l        X0l        X@l        X`l        g)a-  Create a Formatter

*file* where to write the output
*lineno_width* sets the width of the line number field (0 omits it)
*offset_width* sets the width of the instruction offset field
*label_width* sets the width of the label field
*show_caches* is a boolean indicating whether to display cache lines

N©r8   Úlineno_widthrJ   rK   r:   )r˜   r8   r  rJ   rK   Úline_offsetr:   s          r5   Ú__init__ÚFormatter.__init__©  s!   € ð Œ	Ø(ÔØ(ÔØ&ÔØ&Õr‘   c                 ó¨  • U R                  X5        U R                  (       a°  UR                  (       až  UR                  nUR                   H�  u  pEn[	        U5       Hl  nUS-  nUS:X  a*  U S[
        R                  U[        R                  5       3nOSnU R                  [        S[        SS XƒUSS S UR                  5      S5        Mn     Mƒ     g g g )NrH   r   z: Ú r-   F)Úprint_instruction_liner:   rÜ   rÖ   r†   ÚintÚ
from_bytesri   Ú	byteorderr   r-   rÛ   )	r˜   ÚinstrÚmark_as_currentrÖ   r4   ÚsizeÚdatarŽ   rÕ   s	            r5   r  ÚFormatter.print_instructionº  s¿   € Ø×#Ñ# EÔ;Ø×× × 0× 0Ø—\‘\ˆFØ$)×$4Ô$4Ñ �˜DÜ˜tž�AØ˜a‘K�Fð ˜A“vØ%) F¨"¬S¯^©^¸DÄ#Ç-Á-Ó-PÐ,QÐ"R™à"$˜Ø×/Ñ/Ü# G¬U°A°t¸WÈfØ$)¨4°°u·±óHàöó %ò %5ð !1Ðr‘   c                 ó4  • U R                   nU R                  nU R                  nUS:„  =(       a"    UR                  =(       a    UR                  S:„  nU(       a  [        U R                  S9  / nU(       am  UR                  (       aH  UR                  b  SOSnXƒ-  nUR                  c  [        OUR                  n	UR                  X‰-  5        OUR                  SU-  5        UR                  b'  SUR                   S3n
UR                  U
S	U 3 5        OUR                  SU-  5        US:”  a+  UR                  [        UR                  5      S	U 3 S
35        U(       a  UR                  S5        OUR                  S5        UR                  UR                  R                  [        5      5        UR                  b§  [        UR                  5      n[!        S[#        UR                  5      [        -
  5      nUR                  [        UR                  5      R%                  [&        U-
  5      5        UR(                  (       a!  UR                  SUR(                  -   S-   5        [        SR+                  U5      R-                  5       U R                  S9  g)z?Format instruction details for inclusion in disassembly output.r   rE   Nz%%%ddz%%%dsÚ ÚLÚ:Ú>z  z-->z   Ú(Ú))r  rJ   rK   rØ   rÖ   rU   r8   rÙ   Ú
_NO_LINENOr‡   rÚ   ÚreprrÒ   ÚljustÚ_OPNAME_WIDTHr³   r^   r[   ÚrjustÚ_OPARG_WIDTHrÕ   r‹   Úrstrip)r˜   r  r  r  rJ   rK   Únew_source_lineÚfieldsÚ
lineno_fmtrÍ   Úlblr³   Úopname_excesss                r5   r  Ú Formatter.print_instruction_lineÌ  s  € à×(Ñ(ˆØ×(Ñ(ˆØ×&Ñ&ˆà'¨!Ñ+÷ ,Ø ×,Ñ,÷,à Ÿ<™<¨!Ñ+ð 	ö Ü�t—y‘yÒ!àˆæØ× × Ø(-×(9Ñ(9Ñ(E™WÈ7�
Ø'Ñ6�
Ø',×'8Ñ'8Ñ'@�Àe×FWÑFW�Ø—‘˜jÑ1Õ2à—‘˜c LÑ0Ô1à�;‰;Ñ"Ø�e—k‘k�] !Ð$ˆCØ�M‰M˜S  ; - Ð0Õ2à�M‰M˜# Ñ+Ô,à˜!ÓØ�M‰MœT %§,¡,Ó/°°,°Ð/?Ð@ÀÐCÔDæØ�M‰M˜%Õ à�M‰M˜%Ô à�‰�e—l‘l×(Ñ(¬Ó7Ô8à�9‰9Ñ Ü�u—y‘y“/ˆCô   ¤3 u§|¡|Ó#4´}Ñ#DÓEˆMØ�M‰Mœ$˜uŸy™y›/×/Ñ/´¸}Ñ0LÓMÔNà�}�}Ø—‘˜c E§M¡MÑ1°CÑ7Ô8Üˆc�h‰h�vÓ×%Ñ%Ó'¨d¯i©iÓ8r‘   c                 ó
  • U R                   nU(       ap  [        SUS9  U H_  nUR                  (       a  SOSnUR                  nUR                  nUR
                  n[        SU SU SU SUR                   S	U 3
US9  Ma     g g )
NzExceptionTable:rE   z lastir  z  Lz to Lz -> Lz [Ú])r8   rU   ÚlastiÚstart_labelÚ	end_labelÚtarget_labelr9   )r˜   Úexception_entriesr8   Úentryr6  ÚstartÚendrì   s           r5   Úprint_exception_tableÚFormatter.print_exception_tableÿ  s‚   € Ø�y‰yˆÞÜÐ#¨$Ò/Û*�Ø$)§K§K™°R�Ø×)Ñ)�Ø—o‘o�Ø×+Ñ+�Ü˜˜E˜7 %¨ u¨E°&°¸¸E¿K¹K¸=ÈÈ%ÈÐQÐX\Ô]ò +ð r‘   )r8   rK   r  rJ   r:   )Nr   r   r   r   F)F)	rc   r›   rœ   r�   r  r  r  r>  rž   r–   r‘   r5   r]   r]   §  s   † àNOØ27ô'ô"ò$19õf	^r‘   r]   c                   ó0   • \ rS rSrSS jrS rS rS rSrg)	r_   i  Nc                 óH   • Xl         X l        X0l        U=(       d    0 U l        g r£   ©rÂ   r�   Úvarname_from_opargrL   )r˜   rÂ   r�   rC  rL   s        r5   r  ÚArgResolver.__init__  s   € Ø"ŒØŒ
Ø"4ÔØ$×*¨ˆ�r‘   c                 óÄ   • [        U5      nU[        ;   a  US-  $ U[        ;   a<  [        U5      (       a  U* OUnUS-   US-  -   n[	        [
        U   5      nUSU-  -  nU$ g ©NrH   )r¨   ré   rç   rè   rå   r¤   )r˜   r§   r³   rÖ   rê   Ú
signed_argrÔ   rë   s           r5   Úoffset_from_jump_argÚ ArgResolver.offset_from_jump_arg  sl   € Ü˜‹|ˆØ”7‹?Ø˜‘7ˆNØ”W‹_Ü!2°4×!8Ñ!8˜#™¸cˆJØ˜a‘Z *¨Q¡,Ñ.ˆFÜ$¤[°Ñ%6Ó7ˆFØ�a˜&‘jÑ ˆFØˆMØr‘   c                 ó:   • U R                   R                  US 5      $ r£   )rL   r‰   )r˜   rÖ   s     r5   Úget_label_for_offsetÚ ArgResolver.get_label_for_offset  s   € Ø�‰×"Ñ" 6¨4Ó0Ð0r‘   c                 óh  ^• U R                   c  S OU R                   R                  nS nSn[        U5      nTGbw  TnU[        ;   a  [	        UTU R
                  5      u  pVXV4$ U[        ;   a®  U[        :X  a*  [        TS-  U5      u  pVTS-  (       a  U(       a  U S3nXV4$ U[        :X  a*  [        TS-  U5      u  pVTS-  (       a  U(       a  U S3nXV4$ U[        :X  a*  [        TS-  U5      u  pVTS-  (       a  U(       a  U S3nXV4$ [        TU5      u  pV XV4$ U[        ;   d
  U[        ;   a1  U R                  UTU5      nU R                  U5      nUc   eSU 3nXV4$ U[        [         ["        4;   aF  TS-	  n	TS-  n
[        X�R$                  5      u  p¼[        X R$                  5      u  pÞUS	-   U-   nX½4nXV4$ U[&        ;   d
  U[(        ;   a  [        TU R$                  5      u  pVXV4$ U[*        ;   a!  [,        TS
-	     nUnTS-  (       a  SU S3nXV4$ U[.        :X  a  S [0        [2        [4        4T   nST   nXV4$ U[6        :X  a+  S	R9                  U4S j[;        [<        5       5       5      nXV4$ U[>        :X  a  [@        T   u  pöXV4$ U[B        :X  a  [D        T   nXV4$ U[F        :X  a	  [H        T   nXV4$ )Nr  rH   r}   z + NULLz + NULL|selfrG   zto Lé   r…   rá   r   zbool(r&  )r  r\   r(  Úasciic              3   óJ   >#   • U  H  u  pTS U-  -  (       d  M  Uv •  M     g7f)r}   Nr–   )Ú.0rŽ   Úsr³   s      €r5   Ú	<genexpr>Ú1ArgResolver.get_argval_argrepr.<locals>.<genexpr>T  s'   øé € ð $5Ò2P©$¨!Ø'*¨a°©d¥|÷ %&¡AÒ2Pùs   ƒ#š	#)%r�   Ú__getitem__r¨   ÚhasconstÚ_get_const_inforÂ   Úhasnamer!   Ú_get_name_infor&   r'   ÚhasjumpÚhasexcrH  rK  r*   r+   r,   rC  ÚhaslocalÚhasfreeÚ
hascompareÚcmp_opr   r\   r(  rO  r   r‹   rÃ   ÚFUNCTION_ATTR_FLAGSr"   r   r(   r   r)   r	   )r˜   r§   r³   rÖ   Úget_namerÔ   rÕ   rê   r1  Úarg1Úarg2Úval1Úargrepr1Úval2Úargrepr2Ú_s     `             r5   Úget_argval_argreprÚArgResolver.get_argval_argrepr!  s%  ø€ ØŸ:™:Ñ-‘4°4·:±:×3IÑ3IˆØˆØˆÜ˜‹|ˆØŠ?ð
 ˆFØ”xÓÜ"1°$¸¸T¿^¹^Ó"L‘�ð^ ˆÐð] œ“Øœ;Ó&Ü&4°S¸!±V¸XÓ&F‘O�FØ˜aŸ¦WØ%, I¨WÐ"5˜ðT ˆÐðS œYÓ&Ü&4°S¸!±V¸XÓ&F‘O�FØ˜aŸ¦WØ%, I¨\Ð":˜ðL ˆÐðK œ_Ó,Ü&4°S¸!±V¸XÓ&F‘O�FØ˜aŸ¦WØ%, I¨\Ð":˜ðD ˆÐôA '5°S¸(Ó&C‘O�F˜Gð@ ˆÐð? œ“ D¬F£NØ×2Ñ2°2°s¸FÓC�Ø×/Ñ/°Ó7�Ø‘Ð&�Ø   ˜,�ð6 ˆÐð5 Ô-Ô/CÔEZÐ[Ó[Ø˜a‘x�Ø˜R‘x�Ü!/°×6MÑ6MÓ!N‘�Ü!/°×6MÑ6MÓ!N‘�Ø" T™/¨HÑ4�Ø˜�ð( ˆÐð' œÓ! T¬W£_Ü"0°°d×6MÑ6MÓ"N‘�ð$ ˆÐð# œÓ#Ü  q¡Ñ)�Ø �Ø˜—8Ø % g Y¨aÐ0�Gð ˆÐð œÓ&Ø¤¤T¬5Ð1°#Ñ6�Ø6°sÑ;�ð ˆÐð Ô/Ó/ØŸ)™)ô $5´)Ô<OÔ2Pó $5ó 5�ð ˆÐð œÓ"Ü$ S™\‘
�ð
 ˆÐð	 Ô)Ó)Ü,¨SÑ1�ð ˆÐð Ô)Ó)Ü,¨SÑ1�ØˆÐr‘   )rÂ   rL   r�   rC  )NNNN)	rc   r›   rœ   r�   r  rH  rK  ri  rž   r–   r‘   r5   r_   r_     s   † ô+ò
ò1õ;r‘   r_   )Ú
first_liner:   r;   c          	      ó0  • [        U 5      n[        [        U5      5      nUb  XR                  -
  nOSnUR                  n[        UR                  UR                  UR                  [        U5      S9n[        [        XC5      UUUR                  5       UUS9$ )a�  Iterator for the opcodes in methods, functions or code

Generates a series of Instruction named tuples giving the details of
each operations in the supplied code.

If *first_line* is not None, it indicates the line number that should
be reported for the first source line in the disassembled code.
Otherwise, the source line information (if any) is taken directly from
the disassembled code object.
r   rB  ©Ú
linestartsr  Úco_positionsÚoriginal_coderM   )r¡   Údictr   Úco_firstlinenorF   r_   rÂ   rÄ   Ú_varname_from_opargrZ   Ú_get_instructions_bytesrµ   ro  )	rd   rk  r:   r;   r¯   rn  r  rp  rM   s	            r5   r   r   ^  s”   € ô 
˜!Ó	€BÜ”n RÓ(Ó)€JØÑØ ×#4Ñ#4Ñ4‰àˆà—J‘J€MÜ¨¯©Ø%'§[¡[Ø24×2HÑ2HÜ*:¸=Ó*IñK€Lô #¤?°2Ó#@Ø.8Ø/:Ø02·±Ó0AØ1>Ø0<ñ>ð >r‘   c                 ó8   • U [         ;   d   e[        nUb  X!   nU$ )zÑHelper to get the value of the const in a hasconst op.

Returns the dereferenced constant if this is possible.
Otherwise (if it is a LOAD_CONST and co_consts is not
provided) returns the dis.UNKNOWN sentinel.
)rV  ÚUNKNOWN)r§   r³   rÂ   rÔ   s       r5   Ú_get_const_valuerw  |  s'   € ð ”‹>Ðˆ>ä€FØÑØ‘ˆØ€Mr‘   c                 óL   • [        XU5      nU[        La  [        U5      OSnX44$ )zçHelper to get optional details about const references

Returns the dereferenced constant and its repr if the value
can be calculated.
Otherwise returns the sentinel value dis.UNKNOWN for the value
and an empty string for its repr.
r  )rw  rv  r(  )r§   r³   rÂ   rÔ   rÕ   s        r5   rW  rW  Š  s*   € ô ˜b yÓ1€FØ$¬GÒ3Œd�6Œl¸€GØˆ?Ðr‘   c                 ó0   • Ub  U" U 40 UD6nX34$ [         S4$ )zêHelper to get optional details about named references

Returns the dereferenced name as both value and repr if the name
list is defined.
Otherwise returns the sentinel value dis.UNKNOWN for the value
and an empty string for its repr.
r  )rv  )Ú
name_indexra  Ú	extrainforÔ   s       r5   rY  rY  –  s+   € ð ÑÙ˜*Ñ2¨	Ñ2ˆØˆ~Ðä˜ˆ{Ðr‘   c                 ó€   • [        U 5      nUS-  nUS-  (       a#  US-  n[        U 5      nX!S-  -  nUS-  (       a  M#  U$ )Né?   r�   é   )Únext)ÚiteratorÚbÚvals      r5   Ú_parse_varintrƒ  ¤  sJ   € ÜˆX‹€AØ
ˆb‰&€CØ
ˆB�$Ø�‰	ˆÜ�‹NˆØ�‰t‰ˆð ˆB�$‰$ð €Jr‘   c           	      ó,  • [        U R                  5      n/ n  [        U5      S-  n[        U5      S-  nX4-   n[        U5      S-  n[        U5      nUS-	  n[        US-  5      n	UR	                  [        X5XhU	5      5        Mj  ! [         a    Us $ f = f)NrH   r}   )ÚiterÚco_exceptiontablerƒ  Úboolr‡   rß   ÚStopIteration)
r°   r€  Úentriesr<  Úlengthr=  rì   Údlr9   r6  s
             r5   Ú_parse_exception_tablerŒ  ­  s¤   € Ü�D×*Ñ*Ó+€HØ€GðØÜ! (Ó+¨AÑ-ˆEÜ" 8Ó,¨QÑ.ˆFØ‘.ˆCÜ" 8Ó,¨QÑ.ˆFÜ˜xÓ(ˆBØ˜!‘GˆEÜ˜˜A™“JˆEØ�N‰NÔ/°¸FÈ5ÓQÔRñ øô ó ØŠðús   ™A+B ÂBÂBc                 ó   • [         U    S;   $ )N)r#   ÚJUMP_BACKWARD_NO_INTERRUPTrä   )r§   s    r5   rè   rè   ½  s   € Ü�"‰:ð 8ñ 8ð 8r‘   c              #   óÎ  #   • U=(       d    U nU=(       d    [        S5      nSnSnSn[        U5       GH,  u  pšp¼Ub  X‘;   nU(       a  X   nUb  Xr-   nOSn[        [        US5      6 n[	        U5      nX	   nU(       a  UR                  X¼U	5      u  nnOU[        U5      nn[        [        U   5      n[        U5       H  n[        US5        M     U(       aO  / n[        [        U      R                  5        H*  u  nnX	S-   U	S-   SU-  -    nUR                  UUU45        M,     OSnU(       a  UR                  U	5      OSn[        [        U   X¼UUXšXhUUU5      v •  GM/     g7f)z‰Iterate over the instructions in a bytecode string.

Generates a sequence of Instruction namedtuples giving the details of each
opcode.

r–   FNrH   )r…  Ú_unpack_opargsrÌ   r  r¨   ri  r(  rå   r¤   r†   r   rÒ   rR   r‡   rK  r   )r°   rn  r  ro  rp  rM   rØ   Úlocal_line_numberrÙ   rÖ   r×   r§   r³   rÛ   rê   rÔ   rÕ   rë   rh  rÜ   r4   r  r  rÚ   s                           r5   rt  rt  Á  s{  é € ð "×) T€MØ×+¤4¨£8€Là€KØÐØ€KÜ)7¸×)FÑ%ˆ˜bØÑ!Ø Ñ.ˆKÞØ$.Ñ$6Ð!Ø Ñ,Ø/Ñ=‘à"�Üœt L°"Ó5Ð6ˆ	Ü˜‹|ˆØ‰\ˆæØ*×=Ñ=¸bÀvÓN‰OˆF‘Gà!¤4¨£9�GˆFä ¤¨TÑ!2Ó3ˆä�v–ˆAÜ�˜rÖ"ñ ö ØˆJÜ+¬F°4©LÑ9×?Ñ?ÖA‘
��dØ Q™J¨°©
°Q¸±XÑ(=Ð>�Ø×!Ñ! 4¨¨tÐ"4Ö5ò Bð ˆJæ=I�×1Ñ1°&Ô9ÈtˆÜœ+ b™/¨2°F¸GØ °Ø ¨Jó8õ 	8òA *Gùs   ‚E#E%c                óü  • [        [        U 5      5      n[        U 5      n[        U R                  US9nS[        [        [        U5      5      5      -   n	[        U[        U5      U(       a4  [        [        [        [        U R                  5      S-
  S5      5      5      OSU	US9n
[        U R                  U R                  U R                  US9n[        [        X5      XXpR!                  5       U R                  XºS9  g	)
zDisassemble a code object.)r:  rG   rH   rI   r   r  rB  )r:  ro  rp  rM   rN   N)rq  r   rŒ  rZ   rF   r[   r\   r]   Ú_get_lineno_widthr^   r_   rÂ   rÄ   rs  r`   rµ   ro  )r¯   r6  r8   r:   r;   r<   rn  r:  rL   rK   rN   rM   s               r5   r   r   ÷  sÓ   € ô ”n RÓ(Ó)€JÜ.¨rÓ2ÐÜ! "§*¡*Ð@QÑR€JØ”cœ#œc *›oÓ.Ó/Ñ/€KÜ˜tÜ'8¸Ó'DÞS_¤s¬3¬s´3°r·z±z³?ÀQÑ3FÈÓ/MÓ+NÔ'OÐefØ&1Ø&1ñ	3€Iô
 ¨¯©Ø%'§[¡[Ø24×2HÑ2HØ*4ñ6€Lô ” rÓ4°eØ):ÏÉÓIZØ%'§Z¡Z¸lóar‘   c          
      óÐ   • [        XX4US9  Ub  US:”  aR  Ub  US-
  nU R                   H9  n[        US5      (       d  M  [        US9  [        SU< S3US9  [	        XaX#XES9  M;     g g )	Nr>   r   r}   rF   rE   zDisassembly of r#  r7   )r   rÂ   rP   rU   rW   )r¯   r8   r9   r:   r;   r<   rd   s          r5   rW   rW     sn   € Ü�¨;ÐXdÒeØ�}˜ ›	ØÑØ˜A‘IˆEØ—”ˆAÜ�q˜)×$Ó$Ü˜4Ò Ý«aÐ1¸Ò=Ü&Ø¨Ø%ôò	 ð "r‘   r–   c                 óÂ  • [        [        U 5      5      n[        U5      nU H;  u  pEn  nUR                  U5        UR                  U5        UR                  U5        M=     [        U5      n[	        [        U5      5       VV	s0 s H
  u  p‰X˜S-   _M     n
nn	U H<  nX«R
                     Ul        X«R                     Ul        X«R                     Ul
        M>     U
$ s  sn	nf )Nr}   )Úsetr   ÚaddrQ   rÃ   r<  r7  r=  r8  rì   r9  )rp  r:  Újump_targetsÚlabelsr<  r=  rì   rh  rŽ   rÖ   rL   Úes               r5   rZ   rZ     sÅ   € Ü”z -Ó0Ó1€LÜ�Ó€FÛ$5Ñ ˆ�F˜A˜qØ�
‰
�5ÔØ�
‰
�3ŒØ�
‰
�6Öñ %6ô �F‹^€FÜ1:¼6À&»>Ô1JÔKÒ1J¡+ 1�&˜A™#’+Ñ1J€JÑKÛˆØ"§7¡7Ñ+ˆŒØ §¡Ñ'ˆŒØ#§H¡HÑ-ˆŽñ ð Ðùó Ls   ÂCz  --c                 ó  • U c  g[        [        S U R                  5       5      SS9nUS:X  a  g[        S[        [	        U5      5      5      nU[        [
        5      :  a#  S U R                  5       ;   a  [        [
        5      nU$ )Nr   éÿÿÿÿ)Údefaulté   )r^   ÚfilterÚvaluesr[   r\   r'  )rn  Ú	maxlinenor  s      r5   r“  r“  +  sq   € ØÑØÜ”F˜4 ×!2Ñ!2Ó!4Ó5¸rÑB€IØ�BƒàÜ�qœ#œc )›nÓ-Ó.€LØ”cœ*“oÓ%¨$°*×2CÑ2CÓ2EÓ*EÜœ:“ˆØÐr‘   )r  r:  ro  rp  rM   rN   c          	      óF   • Uc   eUc   e[        XUUUUS9n	[        X”X�S9  g )Nrm  )r6  )rt  Úprint_instructions)
r°   r6  rn  r  r:  ro  rp  rM   rN   Úinstrss
             r5   r`   r`   8  sA   € ð
 Ñ Ð Ð ØÑ#Ð#Ð#ä$ TØ7BØ8DØ9FØ8Dñ	F€Fô �v°)ÓIr‘   c           
      óþ   • U  Hf  nUR                   Us=:*  =(       a8    UR                   S[        [        [        UR                  5         5      -  -   :*  Os  nUR                  XE5        Mh     UR                  U5        g rF  )rÖ   rå   r¤   r¨   rÓ   r  r>  )r¤  r:  rN   r6  r  Úis_current_instrs         r5   r£  r£  I  sm   € Ûˆà Ÿ<™<¨5÷ Wó WØ�|‰|˜a¤/´+¼hÀuÇ|Á|Ó>TÑ2UÓ"VÑVÑVôWÐà×#Ñ# EÖ<ñ	 ð ×#Ñ#Ð$5Õ6r‘   c                 ó0   • [        [        U S5      40 UD6  g)z<Compile the source string, then disassemble the code object.z<dis>N)rW   r6   )r3   Úkwargss     r5   ra   ra   R  s   € äœ<¨°Ó8ÑC¸FÓCr‘   r€   rH   r}   c              #   ó|  #   • SnSnSn[        S[        U 5      S5       H˜  nU(       a  US-  nM  X   n[        U5      n[        [        U   5      nU[
        ;   a2  XS-      U-  nU[        :X  a  US-  OSnU[        :¼  a  US[        -  -  nOS nSnU[        :X  a  US-  nXDXW4v •  M‰  XBS-  -
  nXHXW4v •  SnMš     g 7f)Nr   rH   r}   r~   )r†   r[   r¨   rå   r¤   ÚhasargÚEXTENDED_ARGÚ_INT_OVERFLOW)	r°   Úextended_argÚextended_args_offsetrë   rŽ   r§   rê   r³   r×   s	            r5   r�  r�  ^  sâ   é € Ø€LØÐØ€FÜ�1”c˜$“i Ö#ˆæØ�a‰KˆFÙØ‰WˆÜ˜‹|ˆÜ ¤¨TÑ!2Ó3ˆØ”6‹>Ø˜‘s‘)˜lÑ*ˆCØ)-´Ó)=˜C 1šHÀ1ˆLð œ}Ó,Ø ¤MÑ 1Ñ1�øàˆCØˆLØ”<ÓØ  AÑ%Ð Ø˜�/Ô!à°AÑ5Ñ5ˆLØ BÐ,Ò,Ø#$Ò ò3 $ùs   ‚B:B<c                 ó�   • / n[        U 5       H4  u  p#pEUc  M  [        XEU5      nUc  M  Xa;  d  M#  UR                  U5        M6     U$ )zXDetect all offsets in a byte code which are jump targets.

Return the list of offsets.

)r�  rí   r‡   )r°   r™  rÖ   rh  r§   r³   rÚ   s          r5   r   r   }  sO   € ð €FÜ,¨TÖ2Ñˆ�2Ø‹?Ü$ R¨fÓ5ˆEØ‰}ÙØÕ"Ø—‘˜eÖ$ñ 3ð €Mr‘   c              #   ó^   #   • SnU R                  5        H  u  p#nXALd  M  UnX$4v •  M     g7f)z³Find the offsets in a byte code which are start of lines in the source.

Generate pairs (offset, lineno)
lineno will be an integer or None the offset does not have a source line.
FN)Úco_lines)r°   Úlastliner<  r=  Úlines        r5   r   r   �  s9   é € ð €HØ ŸM™MžOÑˆ�DØÔØˆHØ�+Ôñ ,ð ùs   ‚-¡-c           	   #   óÐ  #   • [         S   nU R                  nU R                  n[        U R                  5       VVVs/ s H  u    pEnU[
        :w  d  M  XV4PM     nnnn[        U5       Hq  u  nu  pYXQ:X  d  M  US:¼  d  M  XxS-
     n
XxS-
     nU
S   [        ;   d  M4  US   [        ;   d  MC  [        US   US   U5      n[        U
S   U
S   U5      nX9   XÍ4v •  Ms     gs  snnnf 7f)z®Find import statements in the code

Generate triplets (name, level, fromlist) where
name is the imported module and level, fromlist are
the corresponding args to __import__.
ÚIMPORT_NAMErH   r}   r   N)	ÚopmaprÂ   rÄ   r�  rF   r«  rÃ   rV  rw  )r¯   rµ  Úconstsr�   rh  r§   r³   ÚopargsrŽ   rð   Úfrom_opÚlevel_opÚlevelÚfromlists                 r5   Ú_find_importsr½  ›  sç   é € ô ˜Ñ&€Kà�\‰\€FØ�K‰K€EÜ-;¸B¿J¹JÔ-Gõ )Ò-G™M˜A˜q cØœ<Ñ'ó ˆr‹iÑ-G€Fò )ä# FÖ+‰ˆ‰;ˆBØÕ  a¥Ø˜q™S‘kˆGØ ™c‘{ˆHØ˜‘
œhÕ&¨8°A©;¼(Õ+BÜ(¨°!©°h¸q±kÀ6ÓJ�Ü+¨G°A©J¸À¹
ÀFÓK�Ø‘| UÐ5Ô5ò ,ùô)ùs.   ‚;C&½CÁCÁC&Á8C&Â C&ÂC&Â,:C&c              #   ó¢   #   • [         S   [         S   1nU R                  n[        U R                  5       H  u    p4nXA;   d  M  X%   v •  M     g7f)zTFind names of variables which are written in the code

Generate sequence of strings
Ú
STORE_NAMEÚSTORE_GLOBALN)r¶  rÄ   r�  rF   )r¯   Ú	STORE_OPSr�   rh  r§   r³   s         r5   Ú_find_store_namesrÂ  ±  sO   é € ô 	ˆlÑÜˆnÑð€Ið
 �K‰K€EÜ'¨¯
©
Ö3‰ˆˆ1�#Ø�?Ø‘*Ôò 4ùs   ‚>AÁAc                   ó`   • \ rS rSrSrSSSSSS.S jrS rS r\SSS	.S
 j5       r	S r
S rSrg)r   iÁ  zøThe bytecode operations of a piece of code

Instantiate this with a function, method, other compiled object, string of
code, or a code object (as returned by compile()).

Iterating over this yields the bytecode operations as Instruction instances.
NF)rk  Úcurrent_offsetr:   r;   r<   c                ó   • [        U5      =U l        nUc  UR                  U l        SU l        OX l        X'R                  -
  U l        [        [        U5      5      U l        Xl        X0l	        [        U5      U l        X@l        XPl        X`l        g rã   )r¡   Úcodeobjrr  rk  Ú_line_offsetrq  r   Ú_linestartsÚ_original_objectrÄ  rŒ  r:  r:   r;   r<   )r˜   rd   rk  rÄ  r:   r;   r<   r¯   s           r5   r  ÚBytecode.__init__É  s€   € Ü,¨QÓ/Ð/ˆŒ�rØÑØ ×/Ñ/ˆDŒOØ !ˆDÕà(ŒOØ *×->Ñ->Ñ >ˆDÔÜ¤¨rÓ 2Ó3ˆÔØ !ÔØ,ÔÜ!7¸Ó!;ˆÔØ&ÔØ ŒØ(Õr‘   c           	      ó6  • U R                   nUR                  n[        X R                  5      n[	        UR
                  UR                  UR                  US9n[        [        XR                  5      U R                  U R                  UR                  5       UUS9$ )NrB  rm  )rÆ  rF   rZ   r:  r_   rÂ   rÄ   rs  rt  rµ   r;   rÈ  rÇ  ro  )r˜   r¯   rp  rL   rM   s        r5   Ú__iter__ÚBytecode.__iter__Ù  s…   € Ø�\‰\ˆØŸ
™
ˆÜ% m×5KÑ5KÓLˆ
Ü"¨R¯\©\Ø)+¯©Ø68×6LÑ6LØ.8ñ:ˆô '¤°r¿=¹=Ó'IØ26×2BÑ2BØ37×3DÑ3DØ46·O±OÓ4EØ5BØ4@ñBð 	Br‘   c                 ób   • SR                  U R                  R                  U R                  5      $ )Nz{}({!r}))ÚformatÚ	__class__rc   rÉ  r—   s    r5   r™   ÚBytecode.__repr__è  s*   € Ø× Ñ  §¡×!8Ñ!8Ø!%×!6Ñ!6ó8ð 	8r‘   )r:   r;   c                ó®   • UR                   (       a  UR                   nUR                   (       a  M  U " UR                  R                  UR                  X#S9$ )z.Construct a Bytecode from the given traceback )rÄ  r:   r;   )rn   ro   rp   rq   )Úclsrr   r:   r;   s       r5   Úfrom_tracebackÚBytecode.from_tracebackì  sA   € ð �j�jØ—‘ˆBð �j�j‰jáØ�K‰K×Ñ¨r¯{©{Èñ
ð 	
r‘   c                 ó,   • [        U R                  5      $ )z3Return formatted information about the code object.)r·   rÆ  r—   s    r5   ÚinfoÚBytecode.infoõ  s   € ä  §¡Ó.Ð.r‘   c                 óB  • U R                   nU R                  b  U R                  nOSn[        R                  " 5        n[	        XR
                  5      nU R                  (       a*  [        [        [        [        U5      S-
  S5      5      5      OSn[        UR                  U R                  5      nS[        [        [        U5      5      5      -   n[        U[        U R                  5      UUU R                   U R"                  S9n[%        UR&                  UR(                  UR*                  US9n	[-        UU R                  U R                   UU R                  UR/                  5       UR                  U	US	9	  UR1                  5       sSSS5        $ ! , (       d  f       g= f)
z3Return a formatted view of the bytecode operations.Nrœ  rH   rI   r   rG   )r8   r  rJ   rK   r  r:   rB  )rn  r  r6  r:  ro  rp  rM   rN   )rÆ  rÄ  r  r  rµ   r;   r<   r[   r\   r^   rZ   rF   r:  r]   r“  rÈ  rÇ  r:   r_   rÂ   rÄ   rs  r`   ro  r  )
r˜   r¯   rÖ   r	  r°   rJ   rL   rK   rN   rM   s
             r5   r   ÚBytecode.disù  sH  € à�\‰\ˆØ×ÑÑ*Ø×(Ñ(‰FàˆFÜ�[Š[Œ]˜fÜ" 2§}¡}Ó5ˆDØAE×AR×ARœ3œs¤3¤s¨4£y°1¡}°dÓ#;Ó<Ô=ÐXYˆLô *¨"¯*©*°d×6LÑ6LÓMˆJØœc¤#¤c¨*£oÓ"6Ó7Ñ7ˆKÜ! vÜ/@À×AQÑAQÓ/RØ/;Ø.9Ø.2×.?Ñ.?Ø.2×.>Ñ.>ñ@ˆIô '°·±Ø-/¯[©[Ø:<×:PÑ:PØ2<ñ>ˆLô ˜tØ*.×*:Ñ*:Ø+/×+<Ñ+<Ø%+Ø15×1GÑ1GØ,.¯O©OÓ,=Ø-/¯Z©ZØ,8Ø)2ò4ð —?‘?Ó$÷7 �]�]ús   ¾EFÆ
F)
rÇ  rÈ  rÉ  r;   rÆ  rÄ  r:  rk  r:   r<   )rc   r›   rœ   r�   r  r  rÌ  r™   ÚclassmethodrÔ  r×  r   rž   r–   r‘   r5   r   r   Á  sI   † ñð )-¸TÈuÐ_dÐsxõ )ò Bò8ð Ø/4¸uô 
ó ð
ò/õ"%r‘   r   c                 ó  • SS K nUR                  5       nUR                  SSSSS9  UR                  SSSS	S9  UR                  S
SSS9  UR                  U S9n U R                  S:X  a+  Sn[
        R                  R                  R                  5       nO;U R                  n[        U R                  S5       nUR                  5       nS S S 5        [        WUS5      n[        X`R                  U R                  S9  g ! , (       d  f       N:= f)Nr   z-Cz--show-cachesÚ
store_truezshow inline caches)ÚactionÚhelpz-Oz--show-offsetszshow instruction offsetsÚinfileÚ?Ú-)Únargsr�  )Úargsz<stdin>Úrbr0   )r:   r<   )ÚargparseÚArgumentParserÚadd_argumentÚ
parse_argsrà  ri   ÚstdinÚbufferÚreadÚopenr1   r   r:   r<   )rä  ræ  Úparserr4   r3   rà  r°   s          r5   Úmainrï    só   € Ûà×$Ñ$Ó&€FØ
×Ñ˜˜o°lØ1ð ñ 3à
×Ñ˜Ð.°|Ø7ð ñ 9à
×Ñ˜¨°SÐÑ9Ø×Ñ $ÐÐ'€DØ‡{�{�cÓØˆÜ—‘×!Ñ!×&Ñ&Ó(‰à�{‰{ˆÜ�$—+‘+˜tÔ$¨Ø—[‘[“]ˆF÷ %ä�6˜4 Ó(€DÜˆ×*Ñ*¸×9JÑ9JÓK÷ %Õ$ús   Â6C;Ã;
D	Ú__main__r£   )Nr   NNN)rœ  )r–   )rœ  N)tr  ri   ÚtypesÚcollectionsr  rÓ   r   Ú_opcodes_allr   r   r   r   r	   r
   r   Ú_opcoder   Ú
MethodTypeÚFunctionTypeÚCodeTyperÛ  Ústaticmethodrb   rT   r¶  r   r   r`  r   r   r    r!   r"   r#   r$   r%   r&   r'   r(   r)   r*   r+   r,   r-   ÚlistrÒ   r¤   rq  r¦   rR   r4   r§   r[   r¥   r6   r   r   rˆ   r�   r“   rv  r¡   r¨   rµ   r   r·   r   Ú
namedtuplerÌ   rÑ   r³   rÔ   rÕ   rÖ   r×   rØ   rÙ   rÚ   rÛ   rÜ   rÝ   rß   r*  r,  rå   rí   r   r]   r_   r   rw  rW  rY  rƒ  rŒ  rè   rt  r   rW   rZ   r'  r“  r`   r£  ra   r   Ú	_INT_BITSr¬  r�  r   r   r½  rÂ  r   rï  rc   )ÚbaseÚfamilyÚspecializeds   000r5   Ú<module>rÿ     sŸ  ðÙ 6ã 
Û Û Û 	ä ÷	÷ 	ó 	õ !ò:à<HñI€ð à×Ñ × 2Ñ 2°E·N±NØ˜<¨ð/€
ð �oÑ&€àÐ7Ñ8Ð ØJÐ àÐ'Ñ(€Ø�<Ñ €
Ø�^Ñ$€Ø�MÑ"€Ø�+Ñ€	Ø�oÑ&€Ø�Ñ€ØˆV�}€Ø�+Ñ€	ØÐ)Ñ*€ØÐ+Ñ,Ð ØÐ+Ñ,Ð ØÐ1Ñ2Ð ØÐ3Ñ4Ð ØÐ5Ñ6Ð àˆg‰€á�6‹l€Ù�%‹[€
Ø"×(Ò(Ö*�H€Dˆ"à‘�KÓ Ó Ð Ð Ø€K��OØ€JˆtÓñ	 +ð +;×*@Ò*@Ô*BõÚ*B™,˜$ÔV\À{�ÒÑV\�KÑ*Bó€ò)ð4*˜ D°eÀeØö4*ðlC˜4¨U¸UÐQVö Cð" 	ØØØØØØØØØñÐ ò÷ñ ñ
 ‹*€ò&ò.Bòò.2òð@ õ $ð ×"Ò"Øòð ˆV�a‰Zñ	€	ð ×%Ò%Øòò  ñ!€ð& B€× Ñ Ô Ø:€× Ñ Ô ØS€× Ñ Ô ØT€× Ñ Ô ØQ€× Ñ Ô ØQ€× Ñ Ô ð,ð × Ñ Ô !ð $_€× Ñ Ô  Ø#l€× Ñ Ô  Øe€× Ñ Ô Ø!s€× Ñ Ô Ø"k€× Ñ Ô à&×1Ò1Ð2LØ"ó$Ð ô	Ð3ô 	ð €Ø€ò0òô$E!�,ô E!÷Pa^ñ a^÷HQñ Qðf '+¸Àuõ >ò<ò
òòòò 8ð PTØ=Aô38ðla d¸ÈØ"öað( (,°4ÀUÐUZÐinõ ôð €
ò
ðJØ&'¸2Ø$(¸Ø$(°DöJô"7òDð 	€ð €	à�i !‘mÑ$€ò%ò>ò ò6ò,÷ Z%ñ Z%ôzLð( ˆzÓÙ…Fð ùôks   ÄM