+
    Brhݱ                     4   R t ^ RIt^ RIt^ RIt^ RIt^ RI5 ^ RIHtHtH	t	H
t
HtHtHtHtHtHt ^ RIHt . R{O],           tA]P&                  ]P(                  ]P*                  ]]]3t]R,          t]R,          tR|t]R	,          t]R
,          t]R,          t ]R,          t!]R,          t"]R,          t#]R,          t$]R,          t%]R,          t&]R,          t']R,          t(]R,          t)]R,          t*]R,          t+]R,          t,]R,          t-]R,          t.]R,          t/]R,          t0]R,          t1]R,          t2]3! ]44      t5]6! ]4      t7]Pp                  ! 4        F  w  t9t:]:];! ]54      8  g   Q h]9]5]:&   ]:]7]9&   K!  	  ]Pp                  ! 4        U UUu/ uF  w  rV F  q"V bK  	  K  	  uppp t<R t=R}RRR RR!R"R#R"R$R"R%R"/R& llt>R}RRR!R"R#R"R$R"R%R"/R' llt?^R(^R)^R*^R+^R,^ R-^@R.^R/R0R1R2R3R4R5R6R7/t@R8 tA ! R9 R:4      tB]B! 4       tCR; tDR< tER= tFR> tGR? tHRR/R@ ltI]P                  ! RA. R~OR.^,          RB7      tK]P                  ! RC. RO. RORB7      tLRD]LPh                  n         RE]LP
                  n         RF]LP                  n         RG]LP                  n         RH]LP                  n         RI]LP                  n         RJ]LP                  n         RK]LP                  n         RL]LP                  n         RM]LP                  n         RN]LP                  n         RO]LP                  n         ]P                  ! RPRQ4      tW ! RR RS]W4      tX^tY^tZRT t[RU t\ ! RV R]L4      t] ! RW RX4      t^ ! RY RZ4      t_R[RR!RR#R"/R\ lt`R] taR^ tbR_ tcR` tdRa teRb tfRRc ltgRRRR!R"R#R"R$R"R%R"/Rd llthRRR RR!R"R#R"R$R"R%R"/Re ltiRRf ltjRgtkRh tlRi tmRRj^ RkRRlRRmRRnRRoR/Rp lltnRRq ltoRr tp]htq^ tr^]r^,
          ,          tsRs ttRt tuRu tvRv twRw tx ! Rx R4      tyR}Ry ltz]{Rz8X  d
   ]z! 4        R# R# u uppp i )z0Disassembler of Python byte code into mnemonics.N)*)
__all___cache_format_inline_cache_entries_nb_ops_common_constants_intrinsic_1_descs_intrinsic_2_descs_special_method_names_specializations_specialized_opmap)get_executorInstructionBytecodeCONVERT_VALUESET_FUNCTION_ATTRIBUTEENTER_EXECUTORLOAD_GLOBALLOAD_SMALL_INT	BINARY_OPJUMP_BACKWARDFOR_ITERSEND	LOAD_ATTRLOAD_SUPER_ATTRCALL_INTRINSIC_1CALL_INTRINSIC_2LOAD_COMMON_CONSTANTLOAD_SPECIALLOAD_FAST_LOAD_FAST!LOAD_FAST_BORROW_LOAD_FAST_BORROWSTORE_FAST_LOAD_FASTSTORE_FAST_STORE_FASTIS_OPCONTAINS_OPEND_ASYNC_FORCACHEc                V     \        WR4      #   \         d     Mi ; i\        YR4      # )zAttempts 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/local/lib/python3.14/dis.py_try_compiler/   H   s3    vV,, 6((s    filedepthshow_cachesFadaptiveshow_offsetsshow_positionsc                  V f   \        WVWVR7       R# \        V R4      '       d   V P                  p \        V R4      '       d   V P                  p M\\        V R4      '       d   V P                  p M=\        V R4      '       d   V P
                  p M\        V R4      '       d   V P                  p \        V R4      '       dy   \        V P                  P                  4       4      pV FM  w  r\        V	\        4      '       g   K  \        R	V,          VR
7        \        WW#WEVR7       \        VR
7       KO  	  R# \        V R4      '       d   \        WW#WEVR7       R# \        V \         \"        34      '       d   \%        V 4      p^\'        \)        \'        V4      4      4      ,           p\+        TV'       d/   \'        \)        \-        \'        V 4      ^,
          R4      4      4      M^ VVR7      p\/        VR7      p\1        WVR7       R# \        V \(        4      '       d   \3        WW#WEVR7       R# \        R\5        V 4      P6                  ,          4      h  \         d   p
\        RYR
7        Rp
?
ELJRp
?
ii ; i)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r0   r2   r3   r4   r5   __func____code__gi_codeag_codecr_code__dict__zDisassembly of %s:r0   r0   r1   r2   r3   r4   r5   zSorry:co_code'  )r0   offset_widthlabel_widthr2   )
labels_map)arg_resolver	formatter(don't know how to disassemble %s objects)distbhasattrr8   r9   r:   r;   r<   sortedr=   items
isinstance
_have_codeprintdis	TypeError_disassemble_recursivebytes	bytearray_make_labels_maplenstr	FormattermaxArgResolver_disassemble_bytes_disassemble_strtype__name__)xr0   r1   r2   r3   r4   r5   rK   r-   x1msgrD   rC   rF   rE   s   &$$$$$$        r.   rO   rO   U   s    	y48'	Hq*JJq*JJ	I		II	I		II	I		IIq*qzz'')*HD"j))*T1=4UV^  KY  Z 4   
I		q5\d  Q_  	`	Ay)	*	*%a(
#c#j/2334NZ3s3s1vz43H/I+J`a*5*57	 #j919M	As		UV^  KY  	ZBQ(() * 	*# ! 4(C334s   II5I00I5c          
     f   V fd    \        \        R4      '       d   \        P                  P                  p M\        P                  p  V P                  '       d   V P                  p K   \        V P                  P                  V P                  WW4VR7       R#   \
         d    \        R4      Rhi ; i)z2Disassemble a traceback (default: last traceback).Nlast_excz no last traceback to disassembler7   )rI   sysrb   __traceback__last_tracebackAttributeErrorRuntimeErrortb_nextdisassembletb_framef_codetb_lasti)tbr0   r2   r3   r4   r5   s   &$$$$$r.   rH   rH      s    	z	MsJ''\\//'' jjjrzz"""BKKd^f  Sa  b  	MABL	Ms   0B B B0	OPTIMIZED	NEWLOCALSVARARGSVARKEYWORDSNESTED	GENERATORNOFREE	COROUTINE   ITERABLE_COROUTINEi   ASYNC_GENERATORi   HAS_DOCSTRINGi   METHODc           	     2   . p\        ^ 4       F\  p^V,          pW,          '       g   K  VP                  \        P                  V\	        V4      4      4       W,          p V '       d   K\   M	  VP                  \	        V 4      4       RP                  V4      # )z+Return pretty representation of code flags., )rangeappendCOMPILER_FLAG_NAMESgethexjoin)flagsnamesiflags   &   r.   pretty_flagsr      ss    E2Y!t<<LL,00s4yABME5  	SZ 99U    c                   &   a  ] tR t^t o R tRtV tR# )_Unknownc                    R # )z	<unknown> selfs   &r.   __repr___Unknown.__repr__   s    r   r   N)r]   
__module____qualname____firstlineno__r   __static_attributes____classdictcell____classdict__s   @r.   r   r      s      r   r   c                   \        V R4      '       d   V P                  p \        V R4      '       d   V P                  p M\\        V R4      '       d   V P                  p M=\        V R4      '       d   V P                  p M\        V R4      '       d   V P
                  p \        V \        4      '       d   \        V R4      p \        V R4      '       d   V # \        R\        V 4      P                  ,          4      h)	zDHelper to handle methods, compiled or raw code objects, and strings.r8   r9   r:   r;   r<   z<disassembly>r@   rG   )rI   r8   r9   r:   r;   r<   rL   rV   r/   rP   r\   r]   r^   s   &r.   _get_code_objectr      s     q*JJq*JJ	I		II	I		II	I		II!SO,q)
>G$$% & &r   c                 f    \         V ,          pV\        9   d   \        \        V,          ,          # T # N)_all_opnamedeoptmap
_all_opmap)opr-   s   & r.   _deoptopr      s&    r?D)-)9:htn%ArAr   c                    V'       d   V P                   p. pR p\        ^ \        V4      ^4       F  pW%,          W%^,           ,          rvV\        8X  d6    \	        W4      pV'       d"   VP                  4       VP                  4       rvRpVP                  VP                  4       4       VP                  VP                  4       4       K  	  V'       g   V# RP                  V4      # V P                  #   \
        \        3 d    Rp Li ; i)FNTr   )_co_code_adaptiver}   rU   r   r   
ValueErrorrg   
get_opcode	get_opargr~   to_bytesr   r@   )	cor3   coderesfoundr   r   argexs	   &&       r.   _get_code_arrayr      s    ##q#d)Q'AgtaCy^#%b,B  mmor||~ EJJr{{}%JJs||~& ( !t3chhsm3zz #L1 Bs   C11DDc                *    \        \        V 4      4      # )z1Formatted details of methods, functions, or code.)_format_code_infor   r   s   &r.   	code_infor      s    -a011r   c                    . pVP                  R V P                  ,          4       VP                  RV P                  ,          4       VP                  RV P                  ,          4       VP                  RV P                  ,          4       VP                  RV P
                  ,          4       VP                  RV P                  ,          4       VP                  RV P                  ,          4       VP                  R\        V P                  4      ,          4       V P                  '       dF   VP                  R4       \        V P                  4       F  pVP                  R	V,          4       K  	  V P                  '       dF   VP                  R
4       \        V P                  4       F  pVP                  RV,          4       K  	  V P                  '       dF   VP                  R4       \        V P                  4       F  pVP                  RV,          4       K  	  V P                  '       dF   VP                  R4       \        V P                  4       F  pVP                  RV,          4       K  	  V P                  '       dF   VP                  R4       \        V P                  4       F  pVP                  RV,          4       K  	  RP!                  V4      # )z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   &   r.   r   r      s   E	LL(2::56	LL(2>>9:	LL(2>>9:	LL023H3HHI	LL(2+?+??@	LL(2==89	LL(2??:;	LL(<+DDE	|||\"R\\*CLLS) +	{{{XR[[)CLLS) *	~~~&'R^^,CLLS) -	~~~&'R^^,CLLS) -	~~~&'R^^,CLLS) -99Ur   c               2    \        \        V 4      VR7       R# )zuPrint details of methods, functions, or code to *file*.

If *file* is not provided, the output is printed on stdout.
r>   N)rN   r   )r   r0   s   &$r.   	show_coder     s    
 
)B-d#r   	Positions)defaults_Instructionz!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                       ] tR tRtRtR# )_ExceptionTableEntryiM  r   N)r]   r   r   r   r   r   r   r.   r   r   M  s    r   r   c                 0    \         P                  ! V ^ 4      # )    )r   r   opnames   &r.   _get_cache_sizer   S  s     $$VQ//r   c                   \        V 4      p\        \        V,          4      pV\        9   d>   \	        V4      '       d   V) pV^,           V^,          ,           pV^V,          ,          pV# V\
        9   d   V^,          pV# RpV# )zcGets the bytecode offset of the jump target if this is a jump instruction.

Otherwise return None.
N)r   r   r   hasjrel_is_backward_jumphasjabs)r   r   offsetdeopcachestargets   &&&   r.   _get_jump_targetr   V  s    
 B<D[./FwT""$C!c!e#!f*
 M	 
Q M Mr   c                      a  ] tR tRt o Rt]RR l4       t]R 4       t]R 4       t	]R 4       t
]R 4       t]R	 4       t]R
 4       t]R 4       tR tRtV tR# )r   ih  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)
Nc                :    \        V \        V ,          WW4WVWxW4      # r   )r   r   )r   r   argvalargreprr   start_offsetstarts_lineline_numberlabel	positions
cache_infos   &&&&&&&&&&&r.   makeInstruction.make}  s'    
 6:f#5sG'k)a 	ar   c                    V P                   # )zAlias for Instruction.arg.)r   r   s   &r.   opargInstruction.oparg  s     xxr   c                ,    \        V P                  4      # )ziNumeric code for the base operation if operation is specialized.

Otherwise equal to Instruction.opcode.
)r   opcoder   s   &r.   
baseopcodeInstruction.baseopcode  s     $$r   c                0    \         V P                  ,          # )zpHuman readable name for the base operation if operation is specialized.

Otherwise equal to Instruction.opname.
)r   r   r   s   &r.   
baseopnameInstruction.baseopname  s     doo&&r   c                (    V P                   ^,           # )z9Start index of the cache entries following the operation.)r   r   s   &r.   cache_offsetInstruction.cache_offset  s     {{Qr   c                r    V P                   \        \        V P                  ,          4      ^,          ,           # )z7End index of the cache entries following the operation.)r   r   r   r   r   s   &r.   
end_offsetInstruction.end_offset  s(       ?;t{{3K#LQ#NNNr   c                X    \        V P                  V P                  V P                  4      # )zWBytecode index of the jump target if this is a jump operation.

Otherwise return None.
)r   r   r   r   r   s   &r.   jump_targetInstruction.jump_target  s      TXXt{{CCr   c                    V P                   RJ# )z1True if other code jumps to here, otherwise FalseN)r   r   s   &r.   is_jump_targetInstruction.is_jump_target  s     zz%%r   c                    \         P                  ! 4       p\        VR 7      pVP                  V R4       VP	                  4       # )r>   F)ioStringIOrW   print_instructiongetvalue)r   outputrF   s   &  r.   __str__Instruction.__str__  s4    6*	##D%0  r   r   NNN)r]   r   r   r   __doc__staticmethodr   propertyr   r   r   r   r   r   r   r  r   r   r   s   @r.   r   r   h  s     ( a a   % % ' '   O O D D & &! !r   c                   H   a  ] tR tRt o R
RR/R lltRR ltR tR tR	tV t	R# )rW   i  NFr5   c               N    Wn         W n        W0n        W@n        W`n        Wpn        R# )a  Create a Formatter

*file* where to write the output
*lineno_width* sets the width of the source location field (0 omits it).
Should be large enough for a line number or full positions (depending
on the value of *show_positions*).
*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
*show_positions* is a boolean indicating whether full positions should
be reported instead of only the line numbers.
Nr0   lineno_widthrB   rC   r2   r5   )r   r0   r  rB   rC   line_offsetr2   r5   s   &&&&&&&$r.   __init__Formatter.__init__  s'     	((&&,r   c                   V P                  W4       V P                  '       d   VP                  '       d   VP                  pVP                   F  w  rEp\	        V4       Fq  pV^,          pV^ 8X  d+   V R\
        P                  V\        P                  4       2pMRpV P                  \        R\        ^ RWVRRRVP                  4      R4       Ks  	  K  	  R# R# R# )   z:  r&   NF)print_instruction_liner2   r   r   r}   int
from_bytesrc   	byteorderr   r&   r   )	r   instrmark_as_currentr   r-   sizedatar   r   s	   &&&      r.   r   Formatter.print_instruction  s    ##E; 0 0 0\\F$)$4$4 DtAaKF Av%)F"S^^D#---P,Q"R"$//#GUAtWf$)4uH % %5 !1r   c                n   V P                   pV P                  pV P                  pV^ 8  ;'       d$    VP                  ;'       d    VP                  ^ 8  pV'       d   \        V P                  R7       . pV'       Edf   V P                  '       d   VP                  ;p'       d   \        ;QJ d    R V 4       F  '       d   K   RM	  RM! R V 4       4      '       d   \        p	MU\        ;QJ d    . R V 4       F  NK  	  5M! R V 4       4      p
V
^ ,           RV
^,           RV
^,           RV
^,           2p	VP                  W  4       MVP                  RV,          4       M|VP                  '       dS   VP                  e   R
MRpW,          pVP                  f   \        MVP                  pVP                  W,          4       MVP                  RV,          4       VP                  e(   RVP                   R2pVP                  VRV 2 4       MVP                  RV,          4       V^ 8  d,   VP                  \        VP                  4      RV 2 R24       V'       d   VP                  R4       MVP                  R4       VP                  VP                   P#                  \$        4      4       VP&                  e   \        VP&                  4      p\)        ^ \+        VP                   4      \$        ,
          4      pVP                  \        VP&                  4      P-                  \.        V,
          4      4       VP0                  '       d*   VP                  RVP0                  ,           R,           4       \        RP3                  V4      P5                  4       V P                  R7       R	# )z?Format instruction details for inclusion in disassembly output.r>   c              3   (   "   T F  qR J x  K
  	  R # 5ir   r   .0ps   & r.   	<genexpr>3Formatter.print_instruction_line.<locals>.<genexpr>  s     >o9os   FTc              3   0   "   T F  qf   RMTx  K  	  R # 5i)N?r   r  s   & r.   r!  r"    s     "TOq)3#:Os   :- Nz%%%ddz%%%dsL>z  z-->z   ())r  rB   rC   r   r   rN   r0   r5   r   all
_NO_LINENOtupler~   r   r   reprr   ljust_OPNAME_WIDTHr   rX   rU   rjust_OPARG_WIDTHr   r   rstrip)r   r  r  r  rB   rC   new_source_linefieldsinstr_positionspositions_strps
lineno_fmtlinenolblr   opname_excesss   &&&             r.   r   Formatter.print_instruction_line  s   ((((&&'!+ , , ,,, , <<!+ 	 tyy!<"""&+oo5?5s>o>sss>o>>>(2"U"TO"TUU"TO"TT+-a5'2a5'2a5'2a5'(JMM]>$BDMM#"45$$$,1,=,=,IwJ!+!:J+0+<+<+DZ%J[J[FMM*"56MM#"45;;"ekk]!$CMMS;-02MM#+,!MMT%,,/,/?@CDMM% MM% ell((7899 uyy/C  3u||#4}#DEMMM$uyy///}0LMN}}}cEMM1C78chhv%%'dii8r   c                   V P                   pV'       dy   \        R VR7       V Fc  pVP                  '       d   RMRpVP                  pVP                  pVP
                  p\        RV RV RV RVP                   RV 2
VR7       Ke  	  R	# R	# )
zExceptionTable:r>   z lastir  z  Lz to Lz -> Lz []N)r0   rN   lastistart_label	end_labeltarget_labelr1   )r   exception_entriesr0   entryrA  startendr   s   &&      r.   print_exception_tableFormatter.print_exception_table   s    yy#$/*$)KKKR))oo++E7%uE&EKK=%QX\] + r   )r0   rC   r  rB   r2   r5   )Nr   r   r   r   F)F)
r]   r   r   r   r  r   r  rI  r   r   r   s   @r.   rW   rW     s)     -EJ-*$=9~	^ 	^r   rW   c                   <   a  ] tR tRt o RR ltR tR tR tRtV t	R# )	rY   i,  Nc                L    Wn         W n        W0n        T;'       g    / V n        R # r   r   r   varname_from_opargrD   )r   r   r   rN  rD   s   &&&&&r.   r  ArgResolver.__init__-  s!    "
"4$**r   c                   \        V4      pV\        9   d
   V^,          # V\        9   dV   \        V4      '       d   V) MTpV^,           V^,          ,           p\	        \
        V,          4      pV^V,          ,          pV# R# r  N)r   r   r   r   r   r   )r   r   r   r   r   
signed_argr   r   s   &&&&    r.   offset_from_jump_arg ArgResolver.offset_from_jump_arg3  sl    |7?7NW_!24!8!8#cJaZ*Q,.F$[%67Fa&j FMr   c                :    V P                   P                  VR 4      # r   )rD   r   )r   r   s   &&r.   get_label_for_offset ArgResolver.get_label_for_offset?  s    ""6400r   c                  a V P                   f   R MV P                   P                  pR pRp\        V4      pSEe   SpV\        9   d   \	        VSV P
                  4      w  rVWV3# V\        9   d   V\        8X  d5   \        S^,          V4      w  rVS^,          '       d   V'       d   V R2pWV3# V\        8X  d5   \        S^,          V4      w  rVS^,          '       d   V'       d   V R2pWV3# V\        8X  d5   \        S^,          V4      w  rVS^,          '       d   V'       d   V R2pWV3# \        SV4      w  rV WV3# V\        9   g   V\        9   dD   V P                  VSV4      pV P                  V4      pVf   Q hV\        8X  d   RMRp	V	 RV 2pWV3# V\         \"        \$        \&        39   dW   S^,	          p
S^,          p\        WP(                  4      w  r\        WP(                  4      w  rVR,           V,           pW3pWV3# V\*        9   g   V\,        9   d   \        SV P(                  4      w  rVWV3# V\.        9   d/   \0        S^,	          ,          pTpS^,          '       d   RV R	2pWV3# V\2        8X  d&   R \4        \6        \8        3S,          pRS,          pWV3# V\:        8X  d,   RP=                  V3R
 l\?        \@        4       4       4      pWV3# V\B        8X  d   \D        S,          w  ppWV3# V\F        8X  d   \H        S,          pWV3# V\J        8X  d   \L        S,          pWV3# V\N        8X  dB   \P        S,          p\S        V\T        4      '       d   VPV                  pWV3# \7        V4      p WV3# V\X        8X  d   \Z        S,          pWV3# V\\        8X  d   V'       d   RMRpWV3# V\^        8X  d   V'       d   RMRpWV3# )Nr  z + NULLz + NULL|selffromtoz Lr|   zbool(r+  c              3   \   <"   T F!  w  rS^V,          ,          '       g   K  Vx  K#  	  R# 5i)   Nr   )r  r   sr   s   &  r.   r!  1ArgResolver.get_argval_argrepr.<locals>.<genexpr>v  s)      $52P$!'*ad|| %&A2Ps   ,
,zis notisznot inin)r  rV   r/  ascii)0r   __getitem__r   hasconst_get_const_infor   hasnamer   _get_name_infor   r   hasjumphasexcrS  rV  r%   r   r    r!   r"   rN  haslocalhasfree
hascomparecmp_opr   rV   r/  ra  r   r   r   FUNCTION_ATTR_FLAGSr   r   r   r   r   r	   r   r   rL   r\   r]   r   r
   r#   r$   )r   r   r   r   get_namer   r   r   r<  prepositionarg1arg2val1argrepr1val2argrepr2_objs   &&f&              r.   get_argval_argreprArgResolver.get_argval_argreprB  s   ::-44::3I3I|?
 Fx"1$T^^"Lx w ;&&4S!VX&FOFaW%,IW"5n m Y&&4S!VX&FOFaW%,I\":f e _,&4S!VX&FOFaW%,I\":^ [ '5S(&COFGZ Y DFN222sFC//7&(,(=f4(MC51N M -/PRfh}~~axRx!/6M6M!N!/6M6M!N"T/H4@ ? !TW_"0d6M6M"N< ; #q) 88 %gYa0G2 1 &T51#66s;, + //)) $5)<O2P $5 5( % "$S\
7" ! )),S1  )),S1  --',c4((!llG  #3iG  %/4
 	 &,($  $&,($r   )r   rD   r   rN  )NNNN)
r]   r   r   r   r  rS  rV  rx  r   r   r   s   @r.   rY   rY   ,  s      +
1H Hr   rY   
first_linec          	     F   \        V 4      p\        \        V4      4      pVe   WP                  ,
          pM^ pVP                  p\        VP                  VP                  VP                  \        V4      R7      p\        \        WC4      VVVP                  4       VVR7      # )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.
rM  
linestartsr  co_positionsoriginal_coderE   )r   dictfindlinestartsco_firstlinenor@   rY   r   r   _varname_from_opargrT   _get_instructions_bytesr   r~  )	r^   rz  r2   r3   r   r}  r  r  rE   s	   &$$$     r.   get_instructionsr    s     
!	BnR()J #4#44JJM%'[[242H2H*:=*IKL #?2#@.8/:020A1>0<> >r   c                t    V \         9   g   V \        8X  g   Q hV \        8X  d   V# \        pVe	   W!,          pV# )zHelper 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.
)rc  r   UNKNOWN)r   r   r   r   s   &&& r.   _get_const_valuer    s<     >R>111	^
FMr   c                N    \        WV4      pV\        Jd   \        V4      MRpW43# )zHelper 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  )r  r  r/  )r   r   r   r   r   s   &&&  r.   rd  rd    s*     by1F$G3d6lG?r   c                2    Ve   V! V 3/ VB pW33# \         R3# )zHelper 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  )r  )
name_indexrn  	extrainfor   s   &&, r.   rf  rf    s+     *2	2~{r   c                     \        V 4      pV^?,          pV^@,          '       d&   V^,          p\        V 4      pW!^?,          ,          pK4  V# )?   )next)iteratorbvals   &  r.   _parse_varintr    s?    XA
b&C
B$$	NtJr   c           	      ^   \        V P                  4      p. p  \        V4      ^,          p\        V4      ^,          pW4,           p\        V4      ^,          p\        V4      pV^,	          p\        V^,          4      p	VP	                  \        W5WhV	4      4       K    \         d    Tu # i ; i)T)iterco_exceptiontabler  boolr~   r   StopIteration)
r   r  entriesrG  lengthrH  r   dlr1   rA  s
   &         r.   _parse_exception_tabler    s    D**+HG!(+A-E"8,Q.F.C"8,Q.Fx(B!GEAJENN/F5QR s   BB B,+B,c                 "    \         V ,          R9   # )r   )r   JUMP_BACKWARD_NO_INTERRUPTr%   r   )r   s   &r.   r   r     s    ": + + +r   c              #  `  "   T;'       g    T pT;'       g    \        R4      pRpRpRp\        V4       EFr  w  rrVe$   W9   pV'       d	   W,          pVe
   Wr,           pMRp\        \        VR4      !  p\	        V4      pW	,          pV'       d   VP                  WV	4      w  ppMT\        V4      pp\        \        V,          4      p\        V4       F  p\        VR4       K  	  V'       d{   . pT	p\        \        V,          ,          P                  4        FK  w  ppV V^,           V^,           ^V,          ,            pVV^,          ,          pVP                  VVV34       KM  	  MRpV'       d   VP                  V	4      MRp\        \        V,          WVVWWhVVV4      x  EKu  	  R# 5i)zIterate over the instructions in a bytecode string.

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

FNr   )r  _unpack_opargsr   r  r   rx  r/  r   r   r}   r   r   rK   r~   rV  r   )r   r}  r  r~  r  rE   r   local_line_numberr   r   r   r   r   r   r   r   r   r   rv  r   r   r-   r  r  r   s   &&&&&&                   r.   r  r    s     "))TM++48LKK)7)F%b! .K$.$6! ,/="tL"56	|\*==bvNOFG!49GF T!23vAr"  J!L+F4L9??A
dL1,lQ.>T.IJq(!!4t"45 B
 J=I11&9t+b/2FG J8 	8E *Gs   F.CF.0BF.4:F.c               V   \        \        V 4      4      p\        V 4      pV'       d   \        V 4      p	M\	        V4      p	\        V P                  VR7      p
^\        \        \        V
4      4      4      ,           p\        TT	V'       d9   \        \        \        \        V P                  4      ^,
          R4      4      4      M^ VVVR7      p\        V P                  V P                  V P                  V
R7      p\        \!        W4      WWP#                  4       V P                  WR7       R# )zDisassemble a code object.)rE  rA   r  rM  )rE  r~  r  rE   rF   N)r  r  r  _get_positions_width_get_lineno_widthrT   r@   rU   rV   rW   rX   rY   r   r   r  rZ   r   r~  )r   rA  r0   r2   r3   r4   r5   r}  rE  r  rD   rC   rF   rE   s   &&$$$$$       r.   ri   ri   *  s     nR()J.r2+B/(4!"**@QRJc#c*o.//Kt'3S_s3s3rzz?Q3F/M+N'Oef&1&1)79I %'[[242H2H*46L r4e):IZ%'ZZlar   c                    \        WW4WVR 7       Ve   V^ 8  dd   Ve
   V^,
          pV P                   FD  p\        VR4      '       g   K  \        VR7       \        RV: R2VR7       \	        WqW#WEVR7       KF  	  R# R# )r7   Nr@   r>   zDisassembly of r%  r?   )ri   r   rI   rN   rQ   )r   r0   r1   r2   r3   r4   r5   r^   s   &$$$$$$ r.   rQ   rQ   C  st    ;Xd  E}	AIEAq)$$4 a1=&%Q_	  "r   c                    \        \        V 4      4      p\        V4      pV F;  w  rEp pVP                  V4       VP                  V4       VP                  V4       K=  	  \        V4      p\	        \        V4      4       UU	u/ uF  w  rW^,           bK  	  p
pp	V FH  pWP
                  ,          Vn        WP                  ,          Vn        WP                  ,          Vn
        KJ  	  V
# u up	pi )r\  )set
findlabelsaddrJ   r   rG  rB  rH  rC  r   rD  )r  rE  jump_targetslabelsrG  rH  r   rv  r   r   rD   es   &&          r.   rT   rT   R  s    z-01LF$5 FAq

5

3

6 %6 F^F1:6&>1JK1J+1&A#+1JJK"77+ '#HH-   Ls   C*z  --c                    V f   ^ # \        \        R V P                  4       4      RR7      pVR8X  d   ^ # \        ^\        \	        V4      4      4      pV\        \
        4      8  d%   R V P                  4       9   d   \        \
        4      pV# )N)default)rX   filtervaluesrU   rV   r-  )r}  	maxlinenor  s   &  r.   r  r  c  sq    F4!2!2!45rBIBq#c)n-.Lc*o%$*2C2C2E*E:r   c                 J   R p^ pV P                  4        F[  pT\        ;QJ d    R V 4       F  '       g   K   RM	  R M! R V 4       4      ,          p\        R V 4       4      p\        WB4      pK]  	  V'       d(   ^\        \	        \
        4      ^V,           4      ,           # ^ # )Fc              3   B   "   T F  p\        V\        4      x  K  	  R # 5ir   )rL   r  r  s   & r.   r!  '_get_positions_width.<locals>.<genexpr>x  s     ?YAs++Ys   Tc              3   T   "   T F  qf   ^M\        \        V4      4      x  K   	  R # 5ir   )rU   rV   r  s   & r.   r!  r  y  s     GYACF3Ys   &()r~  anysumrX   rU   r-  )r   	has_valuevalues_widthr   widths   &    r.   r  r  o  s     IL&&(	SS?Y?SSS?Y???	GYGG5/ ) 3s:L(8999r   r  rE  r~  r  rE   rF   c          	      X    Vf   Q hVf   Q h\        WVVVVR7      p	\        WWR7       R # )Nr|  )rA  )r  print_instructions)
r   rA  r}  r  rE  r~  r  rE   rF   instrss
   &&&$$$$$$ r.   rZ   rZ     sA    
    ###$T7B8D9F8D	FF v)Ir   c           
         V  Fs  pVP                   Tu;8*  ;'       dE    VP                   ^\        \        \        VP                  4      ,          4      ,          ,           8*  Mu pVP                  WE4       Ku  	  VP                  V4       R# rQ  )r   r   r   r   r   r   rI  )r  rE  rF   rA  r  is_current_instrs   &&&&  r.   r  r    sm     <<5 W W||a/+hu||>T2U"VVVW##E<	  ##$56r   c                2    \        \        V R4      3/ VB  R# )z<Compile the source string, then disassemble the code object.z<dis>N)rQ   r/   )r,   kwargss   &,r.   r[   r[     s    <8CFCr   c              #     "   ^ p^ p^ p\        ^ \        V 4      ^4       F  pV'       d   V^,          pK  W,          p\        V4      p\        \        V,          4      pV\
        9   dM   W^,           ,          V,          pV\        8X  d
   V^,          M^ pV\        8  d   V^\        ,          ,          pMRp^ pV\        8X  d   V^,          pWDWW3x  K  WB^,          ,
          pWHWW3x  ^ pK  	  R# 5i)r   N)r}   rU   r   r   r   hasargEXTENDED_ARG_INT_OVERFLOW)	r   extended_argextended_args_offsetr   r   r   r   r   r   s	   &        r.   r  r    s     LF1c$i#aKFW| T!236>s)l*C)-)=C1H1L },M 11CL< A% /!A55LB,,#$ 3 $s   C0C2c                    . p\        V 4       F7  w  r#rEVf   K  \        WEV4      pVf   K  Wa9  g   K&  VP                  V4       K9  	  V# )zXDetect all offsets in a byte code which are jump targets.

Return the list of offsets.

)r  r   r~   )r   r  r   rv  r   r   r   s   &      r.   r  r    sO     F,T22?$Rf5E}"e$ 3 Mr   c              #  b   "   RpV P                  4        F  w  r#pWAJg   K  TpW$3x  K  	  R# 5i)zFind 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   lastlinerG  rH  lines   &    r.   r  r    s9      H MMODH+ , s   //c           	   #  ^  "   \         R,          pV P                  pV P                  p\        V P                  4       UUUu. uF  w   rEpV\
        8w  g   K  WV3NK  	  pppp\        V4       F  w  pw  rYWQ8X  g   K  V^8  g   K  Wx^,
          ,          p
Wx^,
          ,          pV
^ ,          \        9   g   KK  V^ ,          \        9   g   V^ ,          \        8X  g   Kq  \        V^ ,          V^,          V4      p\        V
^ ,          V
^,          V4      pW9,          W3x  K  	  R# u upppi 5i)zFind 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_NAMEN)
opmapr   r   r  r@   r  r   rc  r   r  )r   r  constsr   rv  r   r   opargsr   r   from_oplevel_oplevelfromlists   &             r.   _find_importsr    s      &K\\FKKE-;BJJ-G )-GMAqc<' ri-GF )#F+;BaqSkGc{H
h&!(HQK>,I(!hqk6J+GAJ
FK|U55 ,)s0   ?D-D&D&D-=D--D-8!D-AD-c              #     "   \         R,          \         R,          0pV P                  p\        V P                  4       F  w   r4pWA9   g   K  W%,          x  K  	  R# 5i)zTFind names of variables which are written in the code

Generate sequence of strings

STORE_NAMESTORE_GLOBALN)r  r   r  r@   )r   	STORE_OPSr   rv  r   r   s   &     r.   _find_store_namesr    sO      	lnI
 KKE'

31#?* 4s   AAAc                   z   a  ] tR tRt o RtRRRRRRRRR	RR
R/R ltR tR t]RRRR/R l4       t	R t
R tRtV tR# )r   i
  zThe 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.
rz  Ncurrent_offsetr2   Fr3   r4   r5   c               8   \        V4      ;V n        pVf   VP                  V n        ^ V n        MW n        W(P                  ,
          V n        \        \        V4      4      V n        Wn        W0n	        \        V4      V n        W@n        WPn        W`n        Wpn        R # r   )r   codeobjr  rz  _line_offsetr  r  _linestarts_original_objectr  r  rE  r2   r3   r4   r5   )	r   r^   rz  r  r2   r3   r4   r5   r   s	   &&$$$$$$ r.   r  Bytecode.__init__  s    ,Q//r //DO !D(O *->-> >Dr 23 !,!7!;& (,r   c           	     B   V P                   pVP                  p\        W P                  4      p\	        VP
                  VP                  VP                  VR 7      p\        \        WP                  4      V P                  V P                  VP                  4       VVR7      # )rM  r|  )r  r@   rT   rE  rY   r   r   r  r  r   r3   r  r  r~  )r   r   r  rD   rE   s   &    r.   __iter__Bytecode.__iter__#  s    \\

%m5K5KL
"R\\)+686L6L.8: 'r=='I262B2B373D3D46OO4E5B4@B 	Br   c                b    R P                  V P                  P                  V P                  4      # )z{}({!r}))format	__class__r]   r  r   s   &r.   r   Bytecode.__repr__2  s*      !8!8!%!6!68 	8r   c                   VP                   '       d   VP                   pK   V ! VP                  P                  VP                  W#R7      # )z.Construct a Bytecode from the given traceback )r  r2   r3   )rh   rj   rk   rl   )clsrm   r2   r3   s   &&$$r.   from_tracebackBytecode.from_traceback6  s8     jjjBKKr{{
 	
r   c                ,    \        V P                  4      # )z3Return formatted information about the code object.)r   r  r   s   &r.   infoBytecode.info?  s     ..r   c                   V P                   pV P                  e   V P                  pMRp\        P                  ! 4       ;_uu_ 4       p\	        WP
                  4      pV P                  '       d/   \        \        \        \        V4      ^,
          R4      4      4      M^ pV P                  '       d   \        V4      pM\        V P                  4      p\        VP                  V P                   4      p^\        \        \        V4      4      4      ,           p\#        VVVVV P$                  V P&                  V P                  R7      p	\)        VP*                  VP,                  VP.                  VR7      p
\1        VV P                  V P$                  VV P                   VP3                  4       VP                  V
V	R7	       VP5                  4       uuRRR4       #   + '       g   i     R# ; i)z3Return a formatted view of the bytecode operations.NrA   )r0   r  rB   rC   r  r2   r5   rM  )r}  r  rA  rE  r~  r  rE   rF   r  )r  r  r   r   r   r3   r4   rU   rV   rX   r5   r  r  r  rT   r@   rE  rW   r  r2   rY   r   r   r  rZ   r~  r  )r   r   r   r  r   rB   r  rD   rC   rF   rE   s   &          r.   rO   Bytecode.disC  sq   \\*((FF[[]]f"2}}5DAEARARAR3s3s4y1}d#;<=XYL"""3B701A1AB)"**d6L6LMJc#c*o"677K!v/;/;.9.2.?.?.2.>.>151D1DFI '-/[[:<:P:P2<>L t*.*:*:+/+<+<%+151G1G,.OO,=-/ZZ,8)24 ??$= ]]]s   A)G1DGG(	)r  r  r  r3   r  r  rE  rz  r2   r4   r5   )r]   r   r   r   r  r  r  r   classmethodr  r  rO   r   r   r   s   @r.   r   r   
  s|     - -T -u -_d -sx -  JO -"B8 
u 
u 
 
/%% %%r   c                    ^ RI pVP                  RR7      pVP                  RRRRR7       VP                  R	R
RRR7       VP                  RRRRR7       VP                  RRRRR7       VP                  RRRR7       VP                  V R7      p V P                  R8X  d,   Rp\
        P                  P                  P                  4       pMCV P                  p\        V P                  R4      ;_uu_ 4       pVP                  4       pRRR4       \        XVR4      p\        W`P                  V P                  V P                  V P                  R7       R#   + '       g   i     LV; i)r   NT)colorz-Cz--show-caches
store_truezshow inline caches)actionhelpz-Oz--show-offsetszshow instruction offsetsz-Pz--show-positionszshow instruction positionsz-Sz--specializedzshow specialized bytecodeinfiler$  r&  )nargsr  )argsz<stdin>rbr)   )r2   r3   r4   r5   )argparseArgumentParseradd_argument
parse_argsr  rc   stdinbufferreadopenr*   rO   r2   specializedr4   r5   )r  r  parserr-   r,   r  r   s   &      r.   mainr	  k  sH   $$4$0F
ol1  3
.|7  9
09  ;
ol8  :
S9$'D{{c!!&&({{$++t$$[[]F %64(D**T5E5E&&t7J7JL %$s   7EE&	__main__)r   rO   ri   rH   discor  r  r   r  r   r   )r   
kwdefaultsannotationsclosureannotater   )r;  
end_lineno
col_offsetend_col_offset)r   r   r   r   r   r   r   r   r   r   r   r   r  )Nr   NNN)r  r   )r   )r  N)|r  rc   typescollectionsr   r   r   _opcodes_allr   r   r   r   r   r	   r
   r   r   _opcoder   
MethodTypeFunctionTypeCodeTyper  r  r\   rM   r  r   r   rm  r   r   r   r   r   r   r   r   r   r   r   r   r   r   r    r!   r"   r#   r$   r%   r&   listr   r   r  r   rK   r-   r   rU   r   r/   rO   rH   r   r   r   r  r   r   r   r   r   r   
namedtupler   r   r   r   r   r   r   r   r   r   r   r   r   r   r1  r3  r   r   r   rW   rY   r  r  rd  rf  r  r  r   r  ri   rQ   rT   r-  r  r  rZ   r  r[   r  	_INT_BITSr  r  r  r  r  r  r   r	  r]   )basefamilyr  s   000r.   <module>r     s   6 
   	    !:<HI  2 2ENN</
 o&78 V '(M"'(+	o&V}+	)*+, +, 34 ^$12 $)*M$N !34 56 gM"o&g6l%[
"((*HD"K    KOJt	 + +;*@*@*B*B,$V\{V\K*B)4* 4*D 4*e 4*e 4*4*+04*lb4 bU bU bQV bgl b" {{y}x{x
{
#
 x  
 *&.B.2@$$ $ "" VaZ		 %%  !& B   :   S   T   Q   Q   ,    ! $_    #l    e   !s   "k   &112L"$ 	3 	 0$M!, M!`q^ q^h^ ^@>d > >u >< 
 +
58pad a a a"a38a2t 4 U UZ in   @E  

"J&'J;=J$(J8<J %)J 59J"7D 	 	i!m$%> 6. ^% ^%BL2 zF A"s   P