3
/*^                 @   s|   d dl mZ d dlZd dlZd dlZd dlmZ d dlmZ ej	j
ej	je\ZZdjeZdZdd	 Zed
krxe  dS )    )print_functionN)disassemble_file)VERSIONa  
Usage:
  {0} [OPTIONS]... FILE
  {0} [--help | -h | -V | --version]

Disassemble FILE with the instruction mangling that is done to
assist uncompyle6 in parsing the instruction stream. For example
instructions with variable-length arguments like CALL_FUNCTION and
BUILD_LIST have argument counts appended to the instruction name, and
COME_FROM instructions are inserted into the instruction stream.

Examples:
  {0} foo.pyc
  {0} foo.py    # same thing as above but find the file
  {0} foo.pyc bar.pyc  # disassemble foo.pyc and bar.pyc

See also `pydisasm' from the `xdis' package.

Options:
  -V | --version     show version and stop
  -h | --help        show this message

*.pyc*.pyoc              C   st  dt  } ttjdkr<tdtjd t| tjd tjd y&tjtjdd  ddddg\}}W nR tjk
r } z4td	t	j
jtjd
 |f tjd tjd W Y d d }~X nX xr|D ]j\}}|dkrtt tjd q|dkrtdt tf  tjd
 qt| t| tjd tjd qW xD|D ]<}t	j
j|d
 rTt|tj ntd|d
  tjd q0W d S )Nz,usage: %s FILE...
Type -h for for full help.   zNo file(s) given)fileZhVUhelpversion
uncompyle6z%s: %sr   -h--help-V	--versionz%s %szCan't read %s - skipping)r   r   )r   r   )programlensysargvprintstderrexitgetoptGetoptErrorospathbasename__doc__r   existsr   stdout)ZUsage_shortoptsfileseoptvalr    r%   Y/home/psgendb/BIRCHDEV/python/lib/python3.6/site-packages/uncompyle6/bin/pydisassemble.pymain(   s8    
$


r'   __main__)r   r   )
__future__r   r   r   r   Zuncompyle6.disasr   Zuncompyle6.versionr   r   splitextr   __file__r   extformatr   ZPATTERNSr'   __name__r%   r%   r%   r&   <module>   s   
&