require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&DIS_ASM_H)) {
    eval 'sub DIS_ASM_H () {1;}' unless defined(&DIS_ASM_H);
    if(defined(&__cplusplus)) {
    }
    require 'stdio.ph';
    require 'bfd.ph';
    eval("sub dis_noninsn () { 0; }") unless defined(&dis_noninsn);
    eval("sub dis_nonbranch () { 1; }") unless defined(&dis_nonbranch);
    eval("sub dis_branch () { 2; }") unless defined(&dis_branch);
    eval("sub dis_condbranch () { 3; }") unless defined(&dis_condbranch);
    eval("sub dis_jsr () { 4; }") unless defined(&dis_jsr);
    eval("sub dis_condjsr () { 5; }") unless defined(&dis_condjsr);
    eval("sub dis_dref () { 6; }") unless defined(&dis_dref);
    eval("sub dis_dref2 () { 7; }") unless defined(&dis_dref2);
    eval 'sub INSN_HAS_RELOC () {0x80000000;}' unless defined(&INSN_HAS_RELOC);
    eval 'sub INIT_DISASSEMBLE_INFO {
        my($INFO, $STREAM, $FPRINTF_FUNC) = @_;
	    eval q( &init_disassemble_info (($INFO), ($STREAM), ( &fprintf_ftype) ($FPRINTF_FUNC)));
    }' unless defined(&INIT_DISASSEMBLE_INFO);
    eval 'sub INIT_DISASSEMBLE_INFO_NO_ARCH {
        my($INFO, $STREAM, $FPRINTF_FUNC) = @_;
	    eval q( &init_disassemble_info (($INFO), ($STREAM), ( &fprintf_ftype) ($FPRINTF_FUNC)));
    }' unless defined(&INIT_DISASSEMBLE_INFO_NO_ARCH);
    if(defined(&__cplusplus)) {
    }
}
1;
