
int check_eh_frame(expressionS *exp,uint *pnbytes)

{
  int iVar1;
  uint uVar2;
  symbolS *psVar3;
  int iVar4;
  uint *puVar5;
  char augmentation [10];
  
  if (*(int *)PTR_flag_traditional_format_000b5e58 == 0) {
    iVar4 = **(int **)PTR_now_seg_000b5f1c;
    iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4684,9);
    if ((iVar1 == 0) && (*(char *)(iVar4 + 9) != '_')) {
      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x103c);
      uVar2 = *puVar5;
    }
    else {
      iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4690,0xc);
      if (iVar1 != 0) {
        return 0;
      }
      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x1060);
      uVar2 = *puVar5;
    }
    if (uVar2 != 0) {
      iVar1 = S_IS_DEFINED((symbolS *)puVar5[4]);
      if (iVar1 == 0) {
        if (7 < *puVar5) {
          return 0;
        }
                    /* WARNING: Could not emulate address calculation at 0x00030158 */
                    /* WARNING: Treating indirect jump as call */
        iVar1 = (*(code *)(input_buffer + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870) + 0x7358
                          ))();
        return iVar1;
      }
      *puVar5 = 0;
    }
    if ((*pnbytes == 4) &&
       (((exp->field_0x10 == '\x03' || (exp->field_0x10 == '\x14')) &&
        (iVar1 = S_IS_DEFINED(exp->X_add_symbol), iVar1 == 0)))) {
      psVar3 = exp->X_add_symbol;
      *puVar5 = 1;
      puVar5[4] = (uint)psVar3;
    }
  }
  return 0;
}



undefined4 check_eh_frame(uint *param_1,int *param_2)

{
  int iVar1;
  uint uVar2;
  undefined4 uVar3;
  int iVar4;
  uint *puVar5;
  
  if (*(int *)PTR_flag_traditional_format_000b5e58 == 0) {
    iVar4 = **(int **)PTR_now_seg_000b5f1c;
    iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4684,9);
    if ((iVar1 == 0) && (*(char *)(iVar4 + 9) != '_')) {
      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x103c);
      uVar2 = *puVar5;
    }
    else {
      iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4690,0xc);
      if (iVar1 != 0) {
        return 0;
      }
      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x1060);
      uVar2 = *puVar5;
    }
    if (uVar2 != 0) {
      iVar1 = S_IS_DEFINED(puVar5[4]);
      if (iVar1 == 0) {
        if (7 < *puVar5) {
          return 0;
        }
                    /* WARNING: Could not emulate address calculation at 0x00030158 */
                    /* WARNING: Treating indirect jump as call */
        uVar3 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)))();
        return uVar3;
      }
      *puVar5 = 0;
    }
    if ((*param_2 == 4) &&
       (((*(char *)(param_1 + 4) == '\x03' || (*(char *)(param_1 + 4) == '\x14')) &&
        (iVar1 = S_IS_DEFINED(*param_1), iVar1 == 0)))) {
      uVar2 = *param_1;
      *puVar5 = 1;
      puVar5[4] = uVar2;
    }
  }
  return 0;
}


lui gp,0x9
addiu gp,gp,-0x23a0
addu gp,gp,t9
lw v0,-0x7e28(gp)
addiu sp,sp,-0x60
sw gp,0x28(sp)
sw ra,0x5c(sp)
sw s5,0x58(sp)
sw s4,0x54(sp)
sw s3,0x50(sp)
sw s2,0x4c(sp)
sw s1,0x48(sp)
sw s0,0x44(sp)
lw v0,0x0(v0)
bne v0,zero,0x000300d4
_lw s4,-0x7d64(gp)
or s3,a1,zero
lw a1,-0x7fc8(gp)
li a2,0x9
lw t9,-0x7704(gp)
or s2,a0,zero
lw v0,0x0(s4)
addiu a1,a1,0x4684
lw s0,0x0(v0)
jalr t9
_or a0,s0,zero
beq v0,zero,0x00030100
_lw gp,0x28(sp)
lw a1,-0x7fc8(gp)
li a2,0xc
lw t9,-0x7704(gp)
or a0,s0,zero
jalr t9
_addiu a1,a1,0x4690
bne v0,zero,0x000300d4
_lw gp,0x28(sp)
lw s0,-0x7fb0(gp)
addiu s0,s0,-0x1060
lw v0,0x0(s0)
bne v0,zero,0x00030124
_lw t9,-0x7dc8(gp)
lw v1,0x0(s3)
li v0,0x4
beq v1,v0,0x000303a8
_li v1,0x3
or s1,zero,zero
lw ra,0x5c(sp)
or v0,s1,zero
lw s5,0x58(sp)
lw s4,0x54(sp)
lw s3,0x50(sp)
lw s2,0x4c(sp)
lw s1,0x48(sp)
lw s0,0x44(sp)
jr ra
_addiu sp,sp,0x60
lb v1,0x9(s0)
li v0,0x5f
beq v1,v0,0x00030094
_lw a1,-0x7fc8(gp)
lw s0,-0x7fb0(gp)
addiu s0,s0,-0x103c
lw v0,0x0(s0)
beq v0,zero,0x000300c4
_lw t9,-0x7dc8(gp)
bal 0x0004deb4
_lw a0,0x10(s0)
lw gp,0x28(sp)
beq v0,zero,0x00030140
_or s1,v0,zero
b 0x000300c4
_sw zero,0x0(s0)
lw a0,0x0(s0)
sltiu v0,a0,0x8
beq v0,zero,0x000300d8
_lw v1,-0x7fc8(gp)
sll v0,a0,0x2
addiu v1,v1,0x5870
addu v0,v1,v0
lw v0,0x0(v0)
addu v0,v0,gp
jr v0
_nop
lw v1,0x0(s3)
li v0,0x1
bne v1,v0,0x000300d4
_li v0,0x2
lbu v1,0x10(s2)
bne v1,v0,0x000300d4
_nop
lw v0,0x8(s2)
bne v0,zero,0x000300d4
_li v0,0x4
lw v1,0xc(s2)
bne v1,v0,0x000300d4
_lw t9,-0x7c38(gp)
bal 0x0003506c
_li a0,0x1
li v0,0x7
lw gp,0x28(sp)
sw v0,0x0(s0)
lw v0,-0x7d58(gp)
lw t9,-0x7d9c(gp)
lw v0,0x0(v0)
bal 0x000355f0
_sw v0,0x14(s0)
b 0x000300d8
_sw v1,0x18(s0)
lw v1,0x0(s3)
bltz v1,0x000301f4
_li v0,0x8
lw v0,0x1c(s0)
subu v0,v0,v1
beq v0,zero,0x00030368
_sw v0,0x1c(s0)
bgez v0,0x000300d4
_li v0,0x8
b 0x000300d8
_sw v0,0x0(s0)
lw v0,0x0(s3)
li v1,-0x1
beq v0,v1,0x00030378
_li v1,0x1
beq v0,v1,0x00030458
_li v0,0x2
li v0,0x8
b 0x000300d4
_sw v0,0x0(s0)
lw v0,0x4(s0)
beq v0,zero,0x000303e4
_nop
lw v0,0xc(s0)
beq v0,zero,0x0003036c
_li v0,0x6
li v0,0x4
sw zero,0x1c(s0)
sw zero,0x20(s0)
b 0x000300d8
_sw v0,0x0(s0)
addiu a0,a0,0x1
b 0x000300d8
_sw a0,0x0(s0)
lw v1,0x0(s3)
li a0,0x6
li v0,0x4
bne v1,v0,0x000300d4
_sw a0,0x0(s0)
lbu v1,0x10(s2)
li v0,0x2
beq v1,v0,0x00030564
_nop
li v0,0x14
beq v1,v0,0x000305cc
_li v0,0xb
beq v1,v0,0x00030298
_li v0,0xe
bne v1,v0,0x000300d8
_or s1,zero,zero
lw s1,0x8(s0)
sltiu v0,s1,0x2
bne v0,zero,0x000300d4
_nop
lw s3,0x0(s2)
lw v0,0x4(s3)
beq v0,zero,0x000300d4
_nop
lw v0,0x4(s2)
lw a0,0x4(v0)
beq a0,zero,0x000300d4
_li a0,0x14
lbu a1,0x18(s3)
bne a1,a0,0x000300d4
_li a0,0x2
lbu a1,0x18(v0)
bne a1,a0,0x000300d4
_nop
li a1,0xb
lw a0,0x10(v0)
beq v1,a1,0x0003030c
_lw a2,0x14(v0)
lw t9,-0x7c34(gp)
or a0,zero,zero
jalr t9
_li a1,0x1
lw gp,0x28(sp)
or a0,v0,zero
or a2,v1,zero
bne a0,zero,0x000300d4
_nop
bne s1,a2,0x000300d4
_lw t9,-0x7d78(gp)
bal 0x00031560
_addiu a0,s3,0x8
sll a3,s1,0x3
lw gp,0x28(sp)
lw v1,0x14(s0)
or a2,zero,zero
lw t9,-0x7d5c(gp)
li a1,0x4
li a0,0xc
sw v1,0x20(sp)
li s1,0x1
lw v1,0x18(s0)
sw v0,0x10(sp)
sra v0,v1,0x1f
sw v1,0x1c(sp)
bal 0x0003521c
_sw v0,0x18(sp)
b 0x000300dc
_lw ra,0x5c(sp)
li v0,0x6
or s1,zero,zero
b 0x000300d8
_sw v0,0x0(s0)
lbu v1,0x10(s2)
li v0,0x2
bne v1,v0,0x00030218
_li v0,0x8
lw s1,0xc(s2)
li v0,0x5
sw v0,0x0(s0)
sw s1,0x1c(s0)
bne s1,zero,0x000300d4
_li v0,0x6
b 0x000300d8
_sw v0,0x0(s0)
lbu v0,0x10(s2)
beq v0,v1,0x000303bc
_li v1,0x14
bne v0,v1,0x000300d4
_nop
lw t9,-0x7dc8(gp)
bal 0x0004deb4
_lw a0,0x0(s2)
bne v0,zero,0x000300d4
_or s1,v0,zero
lw v0,0x0(s2)
li v1,0x1
sw v1,0x0(s0)
b 0x000300d8
_sw v0,0x10(s0)
lw a3,0x0(s4)
lw v0,0x88(a3)
lw s4,0x0(v0)
lw s2,0x0(s4)
beq s2,zero,0x00030448
_li v0,0x8
lw v0,0x10(s2)
bgtz v0,0x000304a8
_lw a0,0x14(s2)
beq v0,zero,0x0003049c
_li s3,0x4
b 0x00030438
_nop
lw v0,0x10(s2)
sra v1,s3,0x1f
or a2,s3,zero
slt a1,v1,v0
bne a1,zero,0x000304b4
_lw a0,0x14(s2)
beq v0,v1,0x00030554
_sltu a1,s3,a0
lw s2,0x30(s2)
bne s2,zero,0x00030418
_subu s3,s3,a0
li v0,0x8
sw zero,0x4(s0)
or s1,zero,zero
b 0x000300d8
_sw v0,0x0(s0)
lbu v1,0x10(s2)
bne v1,v0,0x00030218
_li v0,0x8
lw v0,0xc(s2)
lw v1,0x20(s0)
lw a0,0x1c(s0)
andi s1,v0,0x7f
sllv s1,s1,v1
addiu v1,v1,0x7
or s1,s1,a0
seb v0,v0
sw s1,0x1c(s0)
bltz v0,0x000300d4
_sw v1,0x20(s0)
li v0,0x5
b 0x00030398
_sw v0,0x0(s0)
sltiu v1,a0,0x5
bne v1,zero,0x00030438
_nop
or v1,zero,zero
li a2,0x4
li s3,0x4
subu a2,a0,a2
subu v0,v0,v1
sltu a0,a0,a2
subu v0,v0,a0
blez v0,0x000305b0
_nop
lw a1,-0x7fc8(gp)
li a2,0xc
lw t9,-0x7704(gp)
lw a0,0x0(a3)
jalr t9
_addiu a1,a1,0x4690
addu v1,s2,s3
sltiu v0,v0,0x1
subu v0,zero,v0
lb a0,0x4c(v1)
bne a0,v0,0x00030444
_lw gp,0x28(sp)
lb v0,0x4d(v1)
bne v0,a0,0x00030444
_nop
lb a0,0x4e(v1)
bne a0,v0,0x00030448
_li v0,0x8
lb v0,0x4f(v1)
bne v0,a0,0x00030448
_li v0,0x8
addiu v0,s3,0x4
lw v1,0x10(s2)
sra a0,v0,0x1f
slt a2,a0,v1
bne a2,zero,0x00030630
_lw a1,0x14(s2)
beq v1,a0,0x00030628
_sltu a2,v0,a1
lw s2,0x30(s2)
bne s2,zero,0x00030524
_subu v0,v0,a1
b 0x00030448
_li v0,0x8
beq a1,zero,0x00030438
_nop
b 0x000304b8
_subu a2,a0,a2
lw a0,0x8(s2)
bgtz a0,0x000300d4
_lw v0,0xc(s2)
bne a0,zero,0x000305f0
_sltiu a0,v0,0x40
bne a0,zero,0x000305f0
_sltiu a0,v0,0x100
bne a0,zero,0x0003060c
_lui a0,0x1
sltu v0,v0,a0
beq v0,zero,0x000300d4
_nop
lw a0,0x18(s0)
lw v0,0x14(s0)
addu v0,v0,a0
li a0,0x3
sb a0,0x4c(v0)
b 0x000300d8
_sw v1,0x0(s3)
bne v0,zero,0x00030448
_li v0,0x8
sltiu a2,a2,0x4
beq a2,zero,0x000304cc
_nop
b 0x0003044c
_sw zero,0x4(s0)
lw v1,0x8(s0)
li v0,0x1
bne v1,v0,0x000300d4
_lw t9,-0x7d78(gp)
bal 0x00031560
_or a0,s2,zero
li a3,0x8
b 0x0003032c
_lw gp,0x28(sp)
lw v1,0x14(s0)
ori v0,v0,0x40
lw a0,0x18(s0)
li s1,0x1
addu v1,v1,a0
b 0x000300d8
_sb v0,0x4c(v1)
lw v0,0x14(s0)
lw a0,0x18(s0)
addu v0,v0,a0
sb v1,0x4c(v0)
li v0,0x1
b 0x000300d8
_sw v0,0x0(s3)
beq a2,zero,0x00030540
_nop
subu a2,a1,v0
subu v1,v1,a0
sltu a1,a1,a2
subu v1,v1,a1
blez v1,0x00030710
_nop
addu v1,s2,v0
li a0,0x1
lb v1,0x4c(v1)
bne v1,a0,0x00030444
_addiu v0,v0,0x1
lw s4,0x10(s4)
lw t3,0x10(s2)
or t0,zero,zero
lw t2,0x14(s2)
addiu t1,sp,0x30
sra a1,v0,0x1f
slt v1,a1,t3
bne v1,zero,0x00030690
_addu v1,s2,v0
bne t3,a1,0x000306f8
_sltu v1,v0,t2
beq v1,zero,0x000306f8
_addu v1,s2,v0
lb a0,0x4c(v1)
beq a0,zero,0x00030728
_addiu t4,t2,-0x1
addiu v1,t3,-0x1
sltu a3,t4,t2
addu a3,a3,v1
b 0x000306cc
_or v1,v0,zero
addu a0,s2,v0
addiu a2,v1,0x1
lb a0,0x4c(a0)
sltu v1,a2,v1
addu a1,v1,a1
beq a0,zero,0x00030728
_or v1,a2,zero
slti a2,t0,0x9
beq a2,zero,0x000306e0
_addu a2,t1,t0
addiu t0,t0,0x1
sb a0,0x0(a2)
bne a3,a1,0x000306b0
_addiu v0,v0,0x1
bne t4,v1,0x000306b4
_addu a0,s2,v0
b 0x00030674
_sra a1,v0,0x1f
lw s2,0x30(s2)
beq s2,zero,0x00030444
_subu v0,v0,t2
lw t3,0x10(s2)
b 0x00030670
_lw t2,0x14(s2)
bne v1,zero,0x00030444
_nop
bne a2,zero,0x00030648
_nop
b 0x00030448
_li v0,0x8
addiu s3,v0,0x1
lw a0,0x10(s2)
sra v1,s3,0x1f
slt a1,v1,a0
bne a1,zero,0x00030764
_lw v0,0x14(s2)
beq a0,v1,0x0003075c
_sltu v1,s3,v0
lw s2,0x30(s2)
bne s2,zero,0x0003072c
_subu s3,s3,v0
b 0x00030448
_li v0,0x8
beq v1,zero,0x00030748
_nop
addiu a0,sp,0x30
addu t0,a0,t0
sb zero,0x0(t0)
lb s5,0x30(sp)
beq s5,zero,0x000307a0
_addu v0,s2,s3
lw a1,-0x7fc8(gp)
lw t9,-0x74b8(gp)
jalr t9
_addiu a1,a1,0x5850
beq v0,zero,0x000307cc
_li v0,0x7a
bne s5,v0,0x00030448
_li v0,0x8
addu v0,s2,s3
xori s5,s5,0x7a
lb v1,0x4c(v0)
sltiu v0,s5,0x1
sw v0,0xc(s0)
li v0,0x1
sw v0,0x4(s0)
slti v0,v1,0x0
movn v1,zero,v0
b 0x0003022c
_sw v1,0x8(s0)
lw s4,0x2c(s4)
beq s4,zero,0x00030824
_nop
lw v0,0x4(s4)
bne v0,s2,0x000307c8
_nop
lw v0,0x8(s4)
bne v0,s3,0x000307c8
_nop
lbu v0,0x2(s4)
addu s3,s3,v0
lw a0,0x10(s2)
sra v1,s3,0x1f
slt a1,v1,a0
bne a1,zero,0x0003079c
_lw v0,0x14(s2)
beq a0,v1,0x0003082c
_sltu v1,s3,v0
lw s2,0x30(s2)
bne s2,zero,0x000307f4
_subu s3,s3,v0
b 0x00030448
_li v0,0x8
b 0x000307f4
_addiu s3,s3,0x4
beq v1,zero,0x00030810
_nop
b 0x000307a0
_addu v0,s2,s3
(translation_unit "undefined4 check_eh_frame(uint *param_1,int *param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  uint *puVar5;\n  \n  if (*(int *)PTR_flag_traditional_format_000b5e58 == 0) {\n    iVar4 = **(int **)PTR_now_seg_000b5f1c;\n    iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4684,9);\n    if ((iVar1 == 0) && (*(char *)(iVar4 + 9) != '_')) {\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x103c);\n      uVar2 = *puVar5;\n    }\n    else {\n      iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4690,0xc);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x1060);\n      uVar2 = *puVar5;\n    }\n    if (uVar2 != 0) {\n      iVar1 = S_IS_DEFINED(puVar5[4]);\n      if (iVar1 == 0) {\n        if (7 < *puVar5) {\n          return 0;\n        }\n                    /* WARNING: Could not emulate address calculation at 0x00030158 */\n                    /* WARNING: Treating indirect jump as call */\n        uVar3 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)))();\n        return uVar3;\n      }\n      *puVar5 = 0;\n    }\n    if ((*param_2 == 4) &&\n       (((*(char *)(param_1 + 4) == '\x03' || (*(char *)(param_1 + 4) == '\x14')) &&\n        (iVar1 = S_IS_DEFINED(*param_1), iVar1 == 0)))) {\n      uVar2 = *param_1;\n      *puVar5 = 1;\n      puVar5[4] = uVar2;\n    }\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 check_eh_frame(uint *param_1,int *param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  uint *puVar5;\n  \n  if (*(int *)PTR_flag_traditional_format_000b5e58 == 0) {\n    iVar4 = **(int **)PTR_now_seg_000b5f1c;\n    iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4684,9);\n    if ((iVar1 == 0) && (*(char *)(iVar4 + 9) != '_')) {\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x103c);\n      uVar2 = *puVar5;\n    }\n    else {\n      iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4690,0xc);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x1060);\n      uVar2 = *puVar5;\n    }\n    if (uVar2 != 0) {\n      iVar1 = S_IS_DEFINED(puVar5[4]);\n      if (iVar1 == 0) {\n        if (7 < *puVar5) {\n          return 0;\n        }\n                    /* WARNING: Could not emulate address calculation at 0x00030158 */\n                    /* WARNING: Treating indirect jump as call */\n        uVar3 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)))();\n        return uVar3;\n      }\n      *puVar5 = 0;\n    }\n    if ((*param_2 == 4) &&\n       (((*(char *)(param_1 + 4) == '\x03' || (*(char *)(param_1 + 4) == '\x14')) &&\n        (iVar1 = S_IS_DEFINED(*param_1), iVar1 == 0)))) {\n      uVar2 = *param_1;\n      *puVar5 = 1;\n      puVar5[4] = uVar2;\n    }\n  }\n  return 0;\n}" type_identifier (function_declarator "check_eh_frame(uint *param_1,int *param_2)" identifier (parameter_list "(uint *param_1,int *param_2)" ( (parameter_declaration "uint *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  uint *puVar5;\n  \n  if (*(int *)PTR_flag_traditional_format_000b5e58 == 0) {\n    iVar4 = **(int **)PTR_now_seg_000b5f1c;\n    iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4684,9);\n    if ((iVar1 == 0) && (*(char *)(iVar4 + 9) != '_')) {\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x103c);\n      uVar2 = *puVar5;\n    }\n    else {\n      iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4690,0xc);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x1060);\n      uVar2 = *puVar5;\n    }\n    if (uVar2 != 0) {\n      iVar1 = S_IS_DEFINED(puVar5[4]);\n      if (iVar1 == 0) {\n        if (7 < *puVar5) {\n          return 0;\n        }\n                    /* WARNING: Could not emulate address calculation at 0x00030158 */\n                    /* WARNING: Treating indirect jump as call */\n        uVar3 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)))();\n        return uVar3;\n      }\n      *puVar5 = 0;\n    }\n    if ((*param_2 == 4) &&\n       (((*(char *)(param_1 + 4) == '\x03' || (*(char *)(param_1 + 4) == '\x14')) &&\n        (iVar1 = S_IS_DEFINED(*param_1), iVar1 == 0)))) {\n      uVar2 = *param_1;\n      *puVar5 = 1;\n      puVar5[4] = uVar2;\n    }\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (if_statement "if (*(int *)PTR_flag_traditional_format_000b5e58 == 0) {\n    iVar4 = **(int **)PTR_now_seg_000b5f1c;\n    iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4684,9);\n    if ((iVar1 == 0) && (*(char *)(iVar4 + 9) != '_')) {\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x103c);\n      uVar2 = *puVar5;\n    }\n    else {\n      iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4690,0xc);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x1060);\n      uVar2 = *puVar5;\n    }\n    if (uVar2 != 0) {\n      iVar1 = S_IS_DEFINED(puVar5[4]);\n      if (iVar1 == 0) {\n        if (7 < *puVar5) {\n          return 0;\n        }\n                    /* WARNING: Could not emulate address calculation at 0x00030158 */\n                    /* WARNING: Treating indirect jump as call */\n        uVar3 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)))();\n        return uVar3;\n      }\n      *puVar5 = 0;\n    }\n    if ((*param_2 == 4) &&\n       (((*(char *)(param_1 + 4) == '\x03' || (*(char *)(param_1 + 4) == '\x14')) &&\n        (iVar1 = S_IS_DEFINED(*param_1), iVar1 == 0)))) {\n      uVar2 = *param_1;\n      *puVar5 = 1;\n      puVar5[4] = uVar2;\n    }\n  }" if (parenthesized_expression "(*(int *)PTR_flag_traditional_format_000b5e58 == 0)" ( (binary_expression "*(int *)PTR_flag_traditional_format_000b5e58 == 0" (pointer_expression "*(int *)PTR_flag_traditional_format_000b5e58" * (cast_expression "(int *)PTR_flag_traditional_format_000b5e58" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n    iVar4 = **(int **)PTR_now_seg_000b5f1c;\n    iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4684,9);\n    if ((iVar1 == 0) && (*(char *)(iVar4 + 9) != '_')) {\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x103c);\n      uVar2 = *puVar5;\n    }\n    else {\n      iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4690,0xc);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x1060);\n      uVar2 = *puVar5;\n    }\n    if (uVar2 != 0) {\n      iVar1 = S_IS_DEFINED(puVar5[4]);\n      if (iVar1 == 0) {\n        if (7 < *puVar5) {\n          return 0;\n        }\n                    /* WARNING: Could not emulate address calculation at 0x00030158 */\n                    /* WARNING: Treating indirect jump as call */\n        uVar3 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)))();\n        return uVar3;\n      }\n      *puVar5 = 0;\n    }\n    if ((*param_2 == 4) &&\n       (((*(char *)(param_1 + 4) == '\x03' || (*(char *)(param_1 + 4) == '\x14')) &&\n        (iVar1 = S_IS_DEFINED(*param_1), iVar1 == 0)))) {\n      uVar2 = *param_1;\n      *puVar5 = 1;\n      puVar5[4] = uVar2;\n    }\n  }" { (expression_statement "iVar4 = **(int **)PTR_now_seg_000b5f1c;" (assignment_expression "iVar4 = **(int **)PTR_now_seg_000b5f1c" identifier = (pointer_expression "**(int **)PTR_now_seg_000b5f1c" * (pointer_expression "*(int **)PTR_now_seg_000b5f1c" * (cast_expression "(int **)PTR_now_seg_000b5f1c" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)))) ;) (expression_statement "iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4684,9);" (assignment_expression "iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4684,9)" identifier = (call_expression "(*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4684,9)" (parenthesized_expression "(*(code *)PTR_strncmp_000b657c)" ( (pointer_expression "*(code *)PTR_strncmp_000b657c" * (cast_expression "(code *)PTR_strncmp_000b657c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4,PTR_LAB_000b5cb8 + 0x4684,9)" ( identifier , (binary_expression "PTR_LAB_000b5cb8 + 0x4684" identifier + number_literal) , number_literal )))) ;) (if_statement "if ((iVar1 == 0) && (*(char *)(iVar4 + 9) != '_')) {\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x103c);\n      uVar2 = *puVar5;\n    }\n    else {\n      iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4690,0xc);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x1060);\n      uVar2 = *puVar5;\n    }" if (parenthesized_expression "((iVar1 == 0) && (*(char *)(iVar4 + 9) != '_'))" ( (binary_expression "(iVar1 == 0) && (*(char *)(iVar4 + 9) != '_')" (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) && (parenthesized_expression "(*(char *)(iVar4 + 9) != '_')" ( (binary_expression "*(char *)(iVar4 + 9) != '_'" (pointer_expression "*(char *)(iVar4 + 9)" * (cast_expression "(char *)(iVar4 + 9)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 9)" ( (binary_expression "iVar4 + 9" identifier + number_literal) )))) != (char_literal "'_'" ' character ')) ))) )) (compound_statement "{\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x103c);\n      uVar2 = *puVar5;\n    }" { (expression_statement "puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x103c);" (assignment_expression "puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x103c)" identifier = (cast_expression "(uint *)(PTR_mips_opcodes_000b5cd0 + -0x103c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_mips_opcodes_000b5cd0 + -0x103c)" ( (binary_expression "PTR_mips_opcodes_000b5cd0 + -0x103c" identifier + number_literal) )))) ;) (expression_statement "uVar2 = *puVar5;" (assignment_expression "uVar2 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) }) (else_clause "else {\n      iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4690,0xc);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x1060);\n      uVar2 = *puVar5;\n    }" else (compound_statement "{\n      iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4690,0xc);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x1060);\n      uVar2 = *puVar5;\n    }" { (expression_statement "iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4690,0xc);" (assignment_expression "iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4690,0xc)" identifier = (call_expression "(*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4690,0xc)" (parenthesized_expression "(*(code *)PTR_strncmp_000b657c)" ( (pointer_expression "*(code *)PTR_strncmp_000b657c" * (cast_expression "(code *)PTR_strncmp_000b657c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4,PTR_LAB_000b5cb8 + 0x4690,0xc)" ( identifier , (binary_expression "PTR_LAB_000b5cb8 + 0x4690" identifier + number_literal) , number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n        return 0;\n      }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x1060);" (assignment_expression "puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x1060)" identifier = (cast_expression "(uint *)(PTR_mips_opcodes_000b5cd0 + -0x1060)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_mips_opcodes_000b5cd0 + -0x1060)" ( (binary_expression "PTR_mips_opcodes_000b5cd0 + -0x1060" identifier + number_literal) )))) ;) (expression_statement "uVar2 = *puVar5;" (assignment_expression "uVar2 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) }))) (if_statement "if (uVar2 != 0) {\n      iVar1 = S_IS_DEFINED(puVar5[4]);\n      if (iVar1 == 0) {\n        if (7 < *puVar5) {\n          return 0;\n        }\n                    /* WARNING: Could not emulate address calculation at 0x00030158 */\n                    /* WARNING: Treating indirect jump as call */\n        uVar3 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)))();\n        return uVar3;\n      }\n      *puVar5 = 0;\n    }" if (parenthesized_expression "(uVar2 != 0)" ( (binary_expression "uVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar1 = S_IS_DEFINED(puVar5[4]);\n      if (iVar1 == 0) {\n        if (7 < *puVar5) {\n          return 0;\n        }\n                    /* WARNING: Could not emulate address calculation at 0x00030158 */\n                    /* WARNING: Treating indirect jump as call */\n        uVar3 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)))();\n        return uVar3;\n      }\n      *puVar5 = 0;\n    }" { (expression_statement "iVar1 = S_IS_DEFINED(puVar5[4]);" (assignment_expression "iVar1 = S_IS_DEFINED(puVar5[4])" identifier = (call_expression "S_IS_DEFINED(puVar5[4])" identifier (argument_list "(puVar5[4])" ( (subscript_expression "puVar5[4]" identifier [ number_literal ]) )))) ;) (if_statement "if (iVar1 == 0) {\n        if (7 < *puVar5) {\n          return 0;\n        }\n                    /* WARNING: Could not emulate address calculation at 0x00030158 */\n                    /* WARNING: Treating indirect jump as call */\n        uVar3 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)))();\n        return uVar3;\n      }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n        if (7 < *puVar5) {\n          return 0;\n        }\n                    /* WARNING: Could not emulate address calculation at 0x00030158 */\n                    /* WARNING: Treating indirect jump as call */\n        uVar3 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)))();\n        return uVar3;\n      }" { (if_statement "if (7 < *puVar5) {\n          return 0;\n        }" if (parenthesized_expression "(7 < *puVar5)" ( (binary_expression "7 < *puVar5" number_literal < (pointer_expression "*puVar5" * identifier)) )) (compound_statement "{\n          return 0;\n        }" { (return_statement "return 0;" return number_literal ;) })) comment comment (expression_statement "uVar3 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)))();" (assignment_expression "uVar3 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)))()" identifier = (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)))" ( (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870))" * (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp_1 + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870))" ( (binary_expression "&_gp_1 + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)" (pointer_expression "&_gp_1" & identifier) + (pointer_expression "*(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)" * (cast_expression "(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)" ( (binary_expression "PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870" (binary_expression "PTR_LAB_000b5cb8 + *puVar5 * 4" identifier + (binary_expression "*puVar5 * 4" (pointer_expression "*puVar5" * identifier) * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( )))) ;) (return_statement "return uVar3;" return identifier ;) })) (expression_statement "*puVar5 = 0;" (assignment_expression "*puVar5 = 0" (pointer_expression "*puVar5" * identifier) = number_literal) ;) })) (if_statement "if ((*param_2 == 4) &&\n       (((*(char *)(param_1 + 4) == '\x03' || (*(char *)(param_1 + 4) == '\x14')) &&\n        (iVar1 = S_IS_DEFINED(*param_1), iVar1 == 0)))) {\n      uVar2 = *param_1;\n      *puVar5 = 1;\n      puVar5[4] = uVar2;\n    }" if (parenthesized_expression "((*param_2 == 4) &&\n       (((*(char *)(param_1 + 4) == '\x03' || (*(char *)(param_1 + 4) == '\x14')) &&\n        (iVar1 = S_IS_DEFINED(*param_1), iVar1 == 0))))" ( (binary_expression "(*param_2 == 4) &&\n       (((*(char *)(param_1 + 4) == '\x03' || (*(char *)(param_1 + 4) == '\x14')) &&\n        (iVar1 = S_IS_DEFINED(*param_1), iVar1 == 0)))" (parenthesized_expression "(*param_2 == 4)" ( (binary_expression "*param_2 == 4" (pointer_expression "*param_2" * identifier) == number_literal) )) && (parenthesized_expression "(((*(char *)(param_1 + 4) == '\x03' || (*(char *)(param_1 + 4) == '\x14')) &&\n        (iVar1 = S_IS_DEFINED(*param_1), iVar1 == 0)))" ( (parenthesized_expression "((*(char *)(param_1 + 4) == '\x03' || (*(char *)(param_1 + 4) == '\x14')) &&\n        (iVar1 = S_IS_DEFINED(*param_1), iVar1 == 0))" ( (binary_expression "(*(char *)(param_1 + 4) == '\x03' || (*(char *)(param_1 + 4) == '\x14')) &&\n        (iVar1 = S_IS_DEFINED(*param_1), iVar1 == 0)" (parenthesized_expression "(*(char *)(param_1 + 4) == '\x03' || (*(char *)(param_1 + 4) == '\x14'))" ( (binary_expression "*(char *)(param_1 + 4) == '\x03' || (*(char *)(param_1 + 4) == '\x14')" (binary_expression "*(char *)(param_1 + 4) == '\x03'" (pointer_expression "*(char *)(param_1 + 4)" * (cast_expression "(char *)(param_1 + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) == (char_literal "'\x03'" ' escape_sequence ')) || (parenthesized_expression "(*(char *)(param_1 + 4) == '\x14')" ( (binary_expression "*(char *)(param_1 + 4) == '\x14'" (pointer_expression "*(char *)(param_1 + 4)" * (cast_expression "(char *)(param_1 + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) == (char_literal "'\x14'" ' escape_sequence ')) ))) )) && (parenthesized_expression "(iVar1 = S_IS_DEFINED(*param_1), iVar1 == 0)" ( (comma_expression "iVar1 = S_IS_DEFINED(*param_1), iVar1 == 0" (assignment_expression "iVar1 = S_IS_DEFINED(*param_1)" identifier = (call_expression "S_IS_DEFINED(*param_1)" identifier (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) ))) )) ))) )) (compound_statement "{\n      uVar2 = *param_1;\n      *puVar5 = 1;\n      puVar5[4] = uVar2;\n    }" { (expression_statement "uVar2 = *param_1;" (assignment_expression "uVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "*puVar5 = 1;" (assignment_expression "*puVar5 = 1" (pointer_expression "*puVar5" * identifier) = number_literal) ;) (expression_statement "puVar5[4] = uVar2;" (assignment_expression "puVar5[4] = uVar2" (subscript_expression "puVar5[4]" identifier [ number_literal ]) = identifier) ;) })) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "int check_eh_frame(expressionS *exp,uint *pnbytes)\n\n{\n  int iVar1;\n  uint uVar2;\n  symbolS *psVar3;\n  int iVar4;\n  uint *puVar5;\n  char augmentation [10];\n  \n  if (*(int *)PTR_flag_traditional_format_000b5e58 == 0) {\n    iVar4 = **(int **)PTR_now_seg_000b5f1c;\n    iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4684,9);\n    if ((iVar1 == 0) && (*(char *)(iVar4 + 9) != '_')) {\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x103c);\n      uVar2 = *puVar5;\n    }\n    else {\n      iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4690,0xc);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x1060);\n      uVar2 = *puVar5;\n    }\n    if (uVar2 != 0) {\n      iVar1 = S_IS_DEFINED((symbolS *)puVar5[4]);\n      if (iVar1 == 0) {\n        if (7 < *puVar5) {\n          return 0;\n        }\n                    /* WARNING: Could not emulate address calculation at 0x00030158 */\n                    /* WARNING: Treating indirect jump as call */\n        iVar1 = (*(code *)(input_buffer + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870) + 0x7358\n                          ))();\n        return iVar1;\n      }\n      *puVar5 = 0;\n    }\n    if ((*pnbytes == 4) &&\n       (((exp->field_0x10 == '\x03' || (exp->field_0x10 == '\x14')) &&\n        (iVar1 = S_IS_DEFINED(exp->X_add_symbol), iVar1 == 0)))) {\n      psVar3 = exp->X_add_symbol;\n      *puVar5 = 1;\n      puVar5[4] = (uint)psVar3;\n    }\n  }\n  return 0;\n}\n\n" (function_definition "int check_eh_frame(expressionS *exp,uint *pnbytes)\n\n{\n  int iVar1;\n  uint uVar2;\n  symbolS *psVar3;\n  int iVar4;\n  uint *puVar5;\n  char augmentation [10];\n  \n  if (*(int *)PTR_flag_traditional_format_000b5e58 == 0) {\n    iVar4 = **(int **)PTR_now_seg_000b5f1c;\n    iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4684,9);\n    if ((iVar1 == 0) && (*(char *)(iVar4 + 9) != '_')) {\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x103c);\n      uVar2 = *puVar5;\n    }\n    else {\n      iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4690,0xc);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x1060);\n      uVar2 = *puVar5;\n    }\n    if (uVar2 != 0) {\n      iVar1 = S_IS_DEFINED((symbolS *)puVar5[4]);\n      if (iVar1 == 0) {\n        if (7 < *puVar5) {\n          return 0;\n        }\n                    /* WARNING: Could not emulate address calculation at 0x00030158 */\n                    /* WARNING: Treating indirect jump as call */\n        iVar1 = (*(code *)(input_buffer + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870) + 0x7358\n                          ))();\n        return iVar1;\n      }\n      *puVar5 = 0;\n    }\n    if ((*pnbytes == 4) &&\n       (((exp->field_0x10 == '\x03' || (exp->field_0x10 == '\x14')) &&\n        (iVar1 = S_IS_DEFINED(exp->X_add_symbol), iVar1 == 0)))) {\n      psVar3 = exp->X_add_symbol;\n      *puVar5 = 1;\n      puVar5[4] = (uint)psVar3;\n    }\n  }\n  return 0;\n}" primitive_type (function_declarator "check_eh_frame(expressionS *exp,uint *pnbytes)" identifier (parameter_list "(expressionS *exp,uint *pnbytes)" ( (parameter_declaration "expressionS *exp" type_identifier (pointer_declarator "*exp" * identifier)) , (parameter_declaration "uint *pnbytes" type_identifier (pointer_declarator "*pnbytes" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  symbolS *psVar3;\n  int iVar4;\n  uint *puVar5;\n  char augmentation [10];\n  \n  if (*(int *)PTR_flag_traditional_format_000b5e58 == 0) {\n    iVar4 = **(int **)PTR_now_seg_000b5f1c;\n    iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4684,9);\n    if ((iVar1 == 0) && (*(char *)(iVar4 + 9) != '_')) {\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x103c);\n      uVar2 = *puVar5;\n    }\n    else {\n      iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4690,0xc);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x1060);\n      uVar2 = *puVar5;\n    }\n    if (uVar2 != 0) {\n      iVar1 = S_IS_DEFINED((symbolS *)puVar5[4]);\n      if (iVar1 == 0) {\n        if (7 < *puVar5) {\n          return 0;\n        }\n                    /* WARNING: Could not emulate address calculation at 0x00030158 */\n                    /* WARNING: Treating indirect jump as call */\n        iVar1 = (*(code *)(input_buffer + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870) + 0x7358\n                          ))();\n        return iVar1;\n      }\n      *puVar5 = 0;\n    }\n    if ((*pnbytes == 4) &&\n       (((exp->field_0x10 == '\x03' || (exp->field_0x10 == '\x14')) &&\n        (iVar1 = S_IS_DEFINED(exp->X_add_symbol), iVar1 == 0)))) {\n      psVar3 = exp->X_add_symbol;\n      *puVar5 = 1;\n      puVar5[4] = (uint)psVar3;\n    }\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "symbolS *psVar3;" type_identifier (pointer_declarator "*psVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "char augmentation [10];" primitive_type (array_declarator "augmentation [10]" identifier [ number_literal ]) ;) (if_statement "if (*(int *)PTR_flag_traditional_format_000b5e58 == 0) {\n    iVar4 = **(int **)PTR_now_seg_000b5f1c;\n    iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4684,9);\n    if ((iVar1 == 0) && (*(char *)(iVar4 + 9) != '_')) {\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x103c);\n      uVar2 = *puVar5;\n    }\n    else {\n      iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4690,0xc);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x1060);\n      uVar2 = *puVar5;\n    }\n    if (uVar2 != 0) {\n      iVar1 = S_IS_DEFINED((symbolS *)puVar5[4]);\n      if (iVar1 == 0) {\n        if (7 < *puVar5) {\n          return 0;\n        }\n                    /* WARNING: Could not emulate address calculation at 0x00030158 */\n                    /* WARNING: Treating indirect jump as call */\n        iVar1 = (*(code *)(input_buffer + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870) + 0x7358\n                          ))();\n        return iVar1;\n      }\n      *puVar5 = 0;\n    }\n    if ((*pnbytes == 4) &&\n       (((exp->field_0x10 == '\x03' || (exp->field_0x10 == '\x14')) &&\n        (iVar1 = S_IS_DEFINED(exp->X_add_symbol), iVar1 == 0)))) {\n      psVar3 = exp->X_add_symbol;\n      *puVar5 = 1;\n      puVar5[4] = (uint)psVar3;\n    }\n  }" if (parenthesized_expression "(*(int *)PTR_flag_traditional_format_000b5e58 == 0)" ( (binary_expression "*(int *)PTR_flag_traditional_format_000b5e58 == 0" (pointer_expression "*(int *)PTR_flag_traditional_format_000b5e58" * (cast_expression "(int *)PTR_flag_traditional_format_000b5e58" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n    iVar4 = **(int **)PTR_now_seg_000b5f1c;\n    iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4684,9);\n    if ((iVar1 == 0) && (*(char *)(iVar4 + 9) != '_')) {\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x103c);\n      uVar2 = *puVar5;\n    }\n    else {\n      iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4690,0xc);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x1060);\n      uVar2 = *puVar5;\n    }\n    if (uVar2 != 0) {\n      iVar1 = S_IS_DEFINED((symbolS *)puVar5[4]);\n      if (iVar1 == 0) {\n        if (7 < *puVar5) {\n          return 0;\n        }\n                    /* WARNING: Could not emulate address calculation at 0x00030158 */\n                    /* WARNING: Treating indirect jump as call */\n        iVar1 = (*(code *)(input_buffer + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870) + 0x7358\n                          ))();\n        return iVar1;\n      }\n      *puVar5 = 0;\n    }\n    if ((*pnbytes == 4) &&\n       (((exp->field_0x10 == '\x03' || (exp->field_0x10 == '\x14')) &&\n        (iVar1 = S_IS_DEFINED(exp->X_add_symbol), iVar1 == 0)))) {\n      psVar3 = exp->X_add_symbol;\n      *puVar5 = 1;\n      puVar5[4] = (uint)psVar3;\n    }\n  }" { (expression_statement "iVar4 = **(int **)PTR_now_seg_000b5f1c;" (assignment_expression "iVar4 = **(int **)PTR_now_seg_000b5f1c" identifier = (pointer_expression "**(int **)PTR_now_seg_000b5f1c" * (pointer_expression "*(int **)PTR_now_seg_000b5f1c" * (cast_expression "(int **)PTR_now_seg_000b5f1c" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)))) ;) (expression_statement "iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4684,9);" (assignment_expression "iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4684,9)" identifier = (call_expression "(*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4684,9)" (parenthesized_expression "(*(code *)PTR_strncmp_000b657c)" ( (pointer_expression "*(code *)PTR_strncmp_000b657c" * (cast_expression "(code *)PTR_strncmp_000b657c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4,PTR_LAB_000b5cb8 + 0x4684,9)" ( identifier , (binary_expression "PTR_LAB_000b5cb8 + 0x4684" identifier + number_literal) , number_literal )))) ;) (if_statement "if ((iVar1 == 0) && (*(char *)(iVar4 + 9) != '_')) {\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x103c);\n      uVar2 = *puVar5;\n    }\n    else {\n      iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4690,0xc);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x1060);\n      uVar2 = *puVar5;\n    }" if (parenthesized_expression "((iVar1 == 0) && (*(char *)(iVar4 + 9) != '_'))" ( (binary_expression "(iVar1 == 0) && (*(char *)(iVar4 + 9) != '_')" (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) && (parenthesized_expression "(*(char *)(iVar4 + 9) != '_')" ( (binary_expression "*(char *)(iVar4 + 9) != '_'" (pointer_expression "*(char *)(iVar4 + 9)" * (cast_expression "(char *)(iVar4 + 9)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 9)" ( (binary_expression "iVar4 + 9" identifier + number_literal) )))) != (char_literal "'_'" ' character ')) ))) )) (compound_statement "{\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x103c);\n      uVar2 = *puVar5;\n    }" { (expression_statement "puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x103c);" (assignment_expression "puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x103c)" identifier = (cast_expression "(uint *)(PTR_mips_opcodes_000b5cd0 + -0x103c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_mips_opcodes_000b5cd0 + -0x103c)" ( (binary_expression "PTR_mips_opcodes_000b5cd0 + -0x103c" identifier + number_literal) )))) ;) (expression_statement "uVar2 = *puVar5;" (assignment_expression "uVar2 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) }) (else_clause "else {\n      iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4690,0xc);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x1060);\n      uVar2 = *puVar5;\n    }" else (compound_statement "{\n      iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4690,0xc);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x1060);\n      uVar2 = *puVar5;\n    }" { (expression_statement "iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4690,0xc);" (assignment_expression "iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4690,0xc)" identifier = (call_expression "(*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4690,0xc)" (parenthesized_expression "(*(code *)PTR_strncmp_000b657c)" ( (pointer_expression "*(code *)PTR_strncmp_000b657c" * (cast_expression "(code *)PTR_strncmp_000b657c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4,PTR_LAB_000b5cb8 + 0x4690,0xc)" ( identifier , (binary_expression "PTR_LAB_000b5cb8 + 0x4690" identifier + number_literal) , number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n        return 0;\n      }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x1060);" (assignment_expression "puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x1060)" identifier = (cast_expression "(uint *)(PTR_mips_opcodes_000b5cd0 + -0x1060)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_mips_opcodes_000b5cd0 + -0x1060)" ( (binary_expression "PTR_mips_opcodes_000b5cd0 + -0x1060" identifier + number_literal) )))) ;) (expression_statement "uVar2 = *puVar5;" (assignment_expression "uVar2 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) }))) (if_statement "if (uVar2 != 0) {\n      iVar1 = S_IS_DEFINED((symbolS *)puVar5[4]);\n      if (iVar1 == 0) {\n        if (7 < *puVar5) {\n          return 0;\n        }\n                    /* WARNING: Could not emulate address calculation at 0x00030158 */\n                    /* WARNING: Treating indirect jump as call */\n        iVar1 = (*(code *)(input_buffer + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870) + 0x7358\n                          ))();\n        return iVar1;\n      }\n      *puVar5 = 0;\n    }" if (parenthesized_expression "(uVar2 != 0)" ( (binary_expression "uVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar1 = S_IS_DEFINED((symbolS *)puVar5[4]);\n      if (iVar1 == 0) {\n        if (7 < *puVar5) {\n          return 0;\n        }\n                    /* WARNING: Could not emulate address calculation at 0x00030158 */\n                    /* WARNING: Treating indirect jump as call */\n        iVar1 = (*(code *)(input_buffer + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870) + 0x7358\n                          ))();\n        return iVar1;\n      }\n      *puVar5 = 0;\n    }" { (expression_statement "iVar1 = S_IS_DEFINED((symbolS *)puVar5[4]);" (assignment_expression "iVar1 = S_IS_DEFINED((symbolS *)puVar5[4])" identifier = (call_expression "S_IS_DEFINED((symbolS *)puVar5[4])" identifier (argument_list "((symbolS *)puVar5[4])" ( (cast_expression "(symbolS *)puVar5[4]" ( (type_descriptor "symbolS *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar5[4]" identifier [ number_literal ])) )))) ;) (if_statement "if (iVar1 == 0) {\n        if (7 < *puVar5) {\n          return 0;\n        }\n                    /* WARNING: Could not emulate address calculation at 0x00030158 */\n                    /* WARNING: Treating indirect jump as call */\n        iVar1 = (*(code *)(input_buffer + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870) + 0x7358\n                          ))();\n        return iVar1;\n      }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n        if (7 < *puVar5) {\n          return 0;\n        }\n                    /* WARNING: Could not emulate address calculation at 0x00030158 */\n                    /* WARNING: Treating indirect jump as call */\n        iVar1 = (*(code *)(input_buffer + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870) + 0x7358\n                          ))();\n        return iVar1;\n      }" { (if_statement "if (7 < *puVar5) {\n          return 0;\n        }" if (parenthesized_expression "(7 < *puVar5)" ( (binary_expression "7 < *puVar5" number_literal < (pointer_expression "*puVar5" * identifier)) )) (compound_statement "{\n          return 0;\n        }" { (return_statement "return 0;" return number_literal ;) })) comment comment (expression_statement "iVar1 = (*(code *)(input_buffer + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870) + 0x7358\n                          ))();" (assignment_expression "iVar1 = (*(code *)(input_buffer + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870) + 0x7358\n                          ))()" identifier = (call_expression "(*(code *)(input_buffer + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870) + 0x7358\n                          ))()" (parenthesized_expression "(*(code *)(input_buffer + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870) + 0x7358\n                          ))" ( (pointer_expression "*(code *)(input_buffer + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870) + 0x7358\n                          )" * (cast_expression "(code *)(input_buffer + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870) + 0x7358\n                          )" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(input_buffer + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870) + 0x7358\n                          )" ( (binary_expression "input_buffer + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870) + 0x7358" (binary_expression "input_buffer + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)" identifier + (pointer_expression "*(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)" * (cast_expression "(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)" ( (binary_expression "PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870" (binary_expression "PTR_LAB_000b5cb8 + *puVar5 * 4" identifier + (binary_expression "*puVar5 * 4" (pointer_expression "*puVar5" * identifier) * number_literal)) + number_literal) ))))) + number_literal) )))) )) (argument_list "()" ( )))) ;) (return_statement "return iVar1;" return identifier ;) })) (expression_statement "*puVar5 = 0;" (assignment_expression "*puVar5 = 0" (pointer_expression "*puVar5" * identifier) = number_literal) ;) })) (if_statement "if ((*pnbytes == 4) &&\n       (((exp->field_0x10 == '\x03' || (exp->field_0x10 == '\x14')) &&\n        (iVar1 = S_IS_DEFINED(exp->X_add_symbol), iVar1 == 0)))) {\n      psVar3 = exp->X_add_symbol;\n      *puVar5 = 1;\n      puVar5[4] = (uint)psVar3;\n    }" if (parenthesized_expression "((*pnbytes == 4) &&\n       (((exp->field_0x10 == '\x03' || (exp->field_0x10 == '\x14')) &&\n        (iVar1 = S_IS_DEFINED(exp->X_add_symbol), iVar1 == 0))))" ( (binary_expression "(*pnbytes == 4) &&\n       (((exp->field_0x10 == '\x03' || (exp->field_0x10 == '\x14')) &&\n        (iVar1 = S_IS_DEFINED(exp->X_add_symbol), iVar1 == 0)))" (parenthesized_expression "(*pnbytes == 4)" ( (binary_expression "*pnbytes == 4" (pointer_expression "*pnbytes" * identifier) == number_literal) )) && (parenthesized_expression "(((exp->field_0x10 == '\x03' || (exp->field_0x10 == '\x14')) &&\n        (iVar1 = S_IS_DEFINED(exp->X_add_symbol), iVar1 == 0)))" ( (parenthesized_expression "((exp->field_0x10 == '\x03' || (exp->field_0x10 == '\x14')) &&\n        (iVar1 = S_IS_DEFINED(exp->X_add_symbol), iVar1 == 0))" ( (binary_expression "(exp->field_0x10 == '\x03' || (exp->field_0x10 == '\x14')) &&\n        (iVar1 = S_IS_DEFINED(exp->X_add_symbol), iVar1 == 0)" (parenthesized_expression "(exp->field_0x10 == '\x03' || (exp->field_0x10 == '\x14'))" ( (binary_expression "exp->field_0x10 == '\x03' || (exp->field_0x10 == '\x14')" (binary_expression "exp->field_0x10 == '\x03'" (field_expression "exp->field_0x10" identifier -> field_identifier) == (char_literal "'\x03'" ' escape_sequence ')) || (parenthesized_expression "(exp->field_0x10 == '\x14')" ( (binary_expression "exp->field_0x10 == '\x14'" (field_expression "exp->field_0x10" identifier -> field_identifier) == (char_literal "'\x14'" ' escape_sequence ')) ))) )) && (parenthesized_expression "(iVar1 = S_IS_DEFINED(exp->X_add_symbol), iVar1 == 0)" ( (comma_expression "iVar1 = S_IS_DEFINED(exp->X_add_symbol), iVar1 == 0" (assignment_expression "iVar1 = S_IS_DEFINED(exp->X_add_symbol)" identifier = (call_expression "S_IS_DEFINED(exp->X_add_symbol)" identifier (argument_list "(exp->X_add_symbol)" ( (field_expression "exp->X_add_symbol" identifier -> field_identifier) )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) ))) )) ))) )) (compound_statement "{\n      psVar3 = exp->X_add_symbol;\n      *puVar5 = 1;\n      puVar5[4] = (uint)psVar3;\n    }" { (expression_statement "psVar3 = exp->X_add_symbol;" (assignment_expression "psVar3 = exp->X_add_symbol" identifier = (field_expression "exp->X_add_symbol" identifier -> field_identifier)) ;) (expression_statement "*puVar5 = 1;" (assignment_expression "*puVar5 = 1" (pointer_expression "*puVar5" * identifier) = number_literal) ;) (expression_statement "puVar5[4] = (uint)psVar3;" (assignment_expression "puVar5[4] = (uint)psVar3" (subscript_expression "puVar5[4]" identifier [ number_literal ]) = (cast_expression "(uint)psVar3" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) })) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined4 check_eh_frame(uint *param_1,int *param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  uint *puVar5;\n  \n  if (*(int *)PTR_flag_traditional_format_000b5e58 == 0) {\n    iVar4 = **(int **)PTR_now_seg_000b5f1c;\n    iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4684,9);\n    if ((iVar1 == 0) && (*(char *)(iVar4 + 9) != '_')) {\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x103c);\n      uVar2 = *puVar5;\n    }\n    else {\n      iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4690,0xc);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x1060);\n      uVar2 = *puVar5;\n    }\n    if (uVar2 != 0) {\n      iVar1 = S_IS_DEFINED(puVar5[4]);\n      if (iVar1 == 0) {\n        if (7 < *puVar5) {\n          return 0;\n        }\n                    \n                    \n        uVar3 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)))();\n        return uVar3;\n      }\n      *puVar5 = 0;\n    }\n    if ((*param_2 == 4) &&\n       (((*(char *)(param_1 + 4) == '\x03' || (*(char *)(param_1 + 4) == '\x14')) &&\n        (iVar1 = S_IS_DEFINED(*param_1), iVar1 == 0)))) {\n      uVar2 = *param_1;\n      *puVar5 = 1;\n      puVar5[4] = uVar2;\n    }\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 check_eh_frame(uint *param_1,int *param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  uint *puVar5;\n  \n  if (*(int *)PTR_flag_traditional_format_000b5e58 == 0) {\n    iVar4 = **(int **)PTR_now_seg_000b5f1c;\n    iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4684,9);\n    if ((iVar1 == 0) && (*(char *)(iVar4 + 9) != '_')) {\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x103c);\n      uVar2 = *puVar5;\n    }\n    else {\n      iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4690,0xc);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x1060);\n      uVar2 = *puVar5;\n    }\n    if (uVar2 != 0) {\n      iVar1 = S_IS_DEFINED(puVar5[4]);\n      if (iVar1 == 0) {\n        if (7 < *puVar5) {\n          return 0;\n        }\n                    \n                    \n        uVar3 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)))();\n        return uVar3;\n      }\n      *puVar5 = 0;\n    }\n    if ((*param_2 == 4) &&\n       (((*(char *)(param_1 + 4) == '\x03' || (*(char *)(param_1 + 4) == '\x14')) &&\n        (iVar1 = S_IS_DEFINED(*param_1), iVar1 == 0)))) {\n      uVar2 = *param_1;\n      *puVar5 = 1;\n      puVar5[4] = uVar2;\n    }\n  }\n  return 0;\n}" type_identifier (function_declarator "check_eh_frame(uint *param_1,int *param_2)" identifier (parameter_list "(uint *param_1,int *param_2)" ( (parameter_declaration "uint *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  uint *puVar5;\n  \n  if (*(int *)PTR_flag_traditional_format_000b5e58 == 0) {\n    iVar4 = **(int **)PTR_now_seg_000b5f1c;\n    iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4684,9);\n    if ((iVar1 == 0) && (*(char *)(iVar4 + 9) != '_')) {\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x103c);\n      uVar2 = *puVar5;\n    }\n    else {\n      iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4690,0xc);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x1060);\n      uVar2 = *puVar5;\n    }\n    if (uVar2 != 0) {\n      iVar1 = S_IS_DEFINED(puVar5[4]);\n      if (iVar1 == 0) {\n        if (7 < *puVar5) {\n          return 0;\n        }\n                    \n                    \n        uVar3 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)))();\n        return uVar3;\n      }\n      *puVar5 = 0;\n    }\n    if ((*param_2 == 4) &&\n       (((*(char *)(param_1 + 4) == '\x03' || (*(char *)(param_1 + 4) == '\x14')) &&\n        (iVar1 = S_IS_DEFINED(*param_1), iVar1 == 0)))) {\n      uVar2 = *param_1;\n      *puVar5 = 1;\n      puVar5[4] = uVar2;\n    }\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (if_statement "if (*(int *)PTR_flag_traditional_format_000b5e58 == 0) {\n    iVar4 = **(int **)PTR_now_seg_000b5f1c;\n    iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4684,9);\n    if ((iVar1 == 0) && (*(char *)(iVar4 + 9) != '_')) {\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x103c);\n      uVar2 = *puVar5;\n    }\n    else {\n      iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4690,0xc);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x1060);\n      uVar2 = *puVar5;\n    }\n    if (uVar2 != 0) {\n      iVar1 = S_IS_DEFINED(puVar5[4]);\n      if (iVar1 == 0) {\n        if (7 < *puVar5) {\n          return 0;\n        }\n                    \n                    \n        uVar3 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)))();\n        return uVar3;\n      }\n      *puVar5 = 0;\n    }\n    if ((*param_2 == 4) &&\n       (((*(char *)(param_1 + 4) == '\x03' || (*(char *)(param_1 + 4) == '\x14')) &&\n        (iVar1 = S_IS_DEFINED(*param_1), iVar1 == 0)))) {\n      uVar2 = *param_1;\n      *puVar5 = 1;\n      puVar5[4] = uVar2;\n    }\n  }" if (parenthesized_expression "(*(int *)PTR_flag_traditional_format_000b5e58 == 0)" ( (binary_expression "*(int *)PTR_flag_traditional_format_000b5e58 == 0" (pointer_expression "*(int *)PTR_flag_traditional_format_000b5e58" * (cast_expression "(int *)PTR_flag_traditional_format_000b5e58" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n    iVar4 = **(int **)PTR_now_seg_000b5f1c;\n    iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4684,9);\n    if ((iVar1 == 0) && (*(char *)(iVar4 + 9) != '_')) {\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x103c);\n      uVar2 = *puVar5;\n    }\n    else {\n      iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4690,0xc);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x1060);\n      uVar2 = *puVar5;\n    }\n    if (uVar2 != 0) {\n      iVar1 = S_IS_DEFINED(puVar5[4]);\n      if (iVar1 == 0) {\n        if (7 < *puVar5) {\n          return 0;\n        }\n                    \n                    \n        uVar3 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)))();\n        return uVar3;\n      }\n      *puVar5 = 0;\n    }\n    if ((*param_2 == 4) &&\n       (((*(char *)(param_1 + 4) == '\x03' || (*(char *)(param_1 + 4) == '\x14')) &&\n        (iVar1 = S_IS_DEFINED(*param_1), iVar1 == 0)))) {\n      uVar2 = *param_1;\n      *puVar5 = 1;\n      puVar5[4] = uVar2;\n    }\n  }" { (expression_statement "iVar4 = **(int **)PTR_now_seg_000b5f1c;" (assignment_expression "iVar4 = **(int **)PTR_now_seg_000b5f1c" identifier = (pointer_expression "**(int **)PTR_now_seg_000b5f1c" * (pointer_expression "*(int **)PTR_now_seg_000b5f1c" * (cast_expression "(int **)PTR_now_seg_000b5f1c" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)))) ;) (expression_statement "iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4684,9);" (assignment_expression "iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4684,9)" identifier = (call_expression "(*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4684,9)" (parenthesized_expression "(*(code *)PTR_strncmp_000b657c)" ( (pointer_expression "*(code *)PTR_strncmp_000b657c" * (cast_expression "(code *)PTR_strncmp_000b657c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4,PTR_LAB_000b5cb8 + 0x4684,9)" ( identifier , (binary_expression "PTR_LAB_000b5cb8 + 0x4684" identifier + number_literal) , number_literal )))) ;) (if_statement "if ((iVar1 == 0) && (*(char *)(iVar4 + 9) != '_')) {\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x103c);\n      uVar2 = *puVar5;\n    }\n    else {\n      iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4690,0xc);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x1060);\n      uVar2 = *puVar5;\n    }" if (parenthesized_expression "((iVar1 == 0) && (*(char *)(iVar4 + 9) != '_'))" ( (binary_expression "(iVar1 == 0) && (*(char *)(iVar4 + 9) != '_')" (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) && (parenthesized_expression "(*(char *)(iVar4 + 9) != '_')" ( (binary_expression "*(char *)(iVar4 + 9) != '_'" (pointer_expression "*(char *)(iVar4 + 9)" * (cast_expression "(char *)(iVar4 + 9)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 9)" ( (binary_expression "iVar4 + 9" identifier + number_literal) )))) != (char_literal "'_'" ' character ')) ))) )) (compound_statement "{\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x103c);\n      uVar2 = *puVar5;\n    }" { (expression_statement "puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x103c);" (assignment_expression "puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x103c)" identifier = (cast_expression "(uint *)(PTR_mips_opcodes_000b5cd0 + -0x103c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_mips_opcodes_000b5cd0 + -0x103c)" ( (binary_expression "PTR_mips_opcodes_000b5cd0 + -0x103c" identifier + number_literal) )))) ;) (expression_statement "uVar2 = *puVar5;" (assignment_expression "uVar2 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) }) (else_clause "else {\n      iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4690,0xc);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x1060);\n      uVar2 = *puVar5;\n    }" else (compound_statement "{\n      iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4690,0xc);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x1060);\n      uVar2 = *puVar5;\n    }" { (expression_statement "iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4690,0xc);" (assignment_expression "iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4690,0xc)" identifier = (call_expression "(*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4690,0xc)" (parenthesized_expression "(*(code *)PTR_strncmp_000b657c)" ( (pointer_expression "*(code *)PTR_strncmp_000b657c" * (cast_expression "(code *)PTR_strncmp_000b657c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4,PTR_LAB_000b5cb8 + 0x4690,0xc)" ( identifier , (binary_expression "PTR_LAB_000b5cb8 + 0x4690" identifier + number_literal) , number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n        return 0;\n      }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x1060);" (assignment_expression "puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x1060)" identifier = (cast_expression "(uint *)(PTR_mips_opcodes_000b5cd0 + -0x1060)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_mips_opcodes_000b5cd0 + -0x1060)" ( (binary_expression "PTR_mips_opcodes_000b5cd0 + -0x1060" identifier + number_literal) )))) ;) (expression_statement "uVar2 = *puVar5;" (assignment_expression "uVar2 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) }))) (if_statement "if (uVar2 != 0) {\n      iVar1 = S_IS_DEFINED(puVar5[4]);\n      if (iVar1 == 0) {\n        if (7 < *puVar5) {\n          return 0;\n        }\n                    \n                    \n        uVar3 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)))();\n        return uVar3;\n      }\n      *puVar5 = 0;\n    }" if (parenthesized_expression "(uVar2 != 0)" ( (binary_expression "uVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar1 = S_IS_DEFINED(puVar5[4]);\n      if (iVar1 == 0) {\n        if (7 < *puVar5) {\n          return 0;\n        }\n                    \n                    \n        uVar3 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)))();\n        return uVar3;\n      }\n      *puVar5 = 0;\n    }" { (expression_statement "iVar1 = S_IS_DEFINED(puVar5[4]);" (assignment_expression "iVar1 = S_IS_DEFINED(puVar5[4])" identifier = (call_expression "S_IS_DEFINED(puVar5[4])" identifier (argument_list "(puVar5[4])" ( (subscript_expression "puVar5[4]" identifier [ number_literal ]) )))) ;) (if_statement "if (iVar1 == 0) {\n        if (7 < *puVar5) {\n          return 0;\n        }\n                    \n                    \n        uVar3 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)))();\n        return uVar3;\n      }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n        if (7 < *puVar5) {\n          return 0;\n        }\n                    \n                    \n        uVar3 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)))();\n        return uVar3;\n      }" { (if_statement "if (7 < *puVar5) {\n          return 0;\n        }" if (parenthesized_expression "(7 < *puVar5)" ( (binary_expression "7 < *puVar5" number_literal < (pointer_expression "*puVar5" * identifier)) )) (compound_statement "{\n          return 0;\n        }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar3 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)))();" (assignment_expression "uVar3 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)))()" identifier = (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)))" ( (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870))" * (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp_1 + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870))" ( (binary_expression "&_gp_1 + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)" (pointer_expression "&_gp_1" & identifier) + (pointer_expression "*(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)" * (cast_expression "(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)" ( (binary_expression "PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870" (binary_expression "PTR_LAB_000b5cb8 + *puVar5 * 4" identifier + (binary_expression "*puVar5 * 4" (pointer_expression "*puVar5" * identifier) * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( )))) ;) (return_statement "return uVar3;" return identifier ;) })) (expression_statement "*puVar5 = 0;" (assignment_expression "*puVar5 = 0" (pointer_expression "*puVar5" * identifier) = number_literal) ;) })) (if_statement "if ((*param_2 == 4) &&\n       (((*(char *)(param_1 + 4) == '\x03' || (*(char *)(param_1 + 4) == '\x14')) &&\n        (iVar1 = S_IS_DEFINED(*param_1), iVar1 == 0)))) {\n      uVar2 = *param_1;\n      *puVar5 = 1;\n      puVar5[4] = uVar2;\n    }" if (parenthesized_expression "((*param_2 == 4) &&\n       (((*(char *)(param_1 + 4) == '\x03' || (*(char *)(param_1 + 4) == '\x14')) &&\n        (iVar1 = S_IS_DEFINED(*param_1), iVar1 == 0))))" ( (binary_expression "(*param_2 == 4) &&\n       (((*(char *)(param_1 + 4) == '\x03' || (*(char *)(param_1 + 4) == '\x14')) &&\n        (iVar1 = S_IS_DEFINED(*param_1), iVar1 == 0)))" (parenthesized_expression "(*param_2 == 4)" ( (binary_expression "*param_2 == 4" (pointer_expression "*param_2" * identifier) == number_literal) )) && (parenthesized_expression "(((*(char *)(param_1 + 4) == '\x03' || (*(char *)(param_1 + 4) == '\x14')) &&\n        (iVar1 = S_IS_DEFINED(*param_1), iVar1 == 0)))" ( (parenthesized_expression "((*(char *)(param_1 + 4) == '\x03' || (*(char *)(param_1 + 4) == '\x14')) &&\n        (iVar1 = S_IS_DEFINED(*param_1), iVar1 == 0))" ( (binary_expression "(*(char *)(param_1 + 4) == '\x03' || (*(char *)(param_1 + 4) == '\x14')) &&\n        (iVar1 = S_IS_DEFINED(*param_1), iVar1 == 0)" (parenthesized_expression "(*(char *)(param_1 + 4) == '\x03' || (*(char *)(param_1 + 4) == '\x14'))" ( (binary_expression "*(char *)(param_1 + 4) == '\x03' || (*(char *)(param_1 + 4) == '\x14')" (binary_expression "*(char *)(param_1 + 4) == '\x03'" (pointer_expression "*(char *)(param_1 + 4)" * (cast_expression "(char *)(param_1 + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) == (char_literal "'\x03'" ' escape_sequence ')) || (parenthesized_expression "(*(char *)(param_1 + 4) == '\x14')" ( (binary_expression "*(char *)(param_1 + 4) == '\x14'" (pointer_expression "*(char *)(param_1 + 4)" * (cast_expression "(char *)(param_1 + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) == (char_literal "'\x14'" ' escape_sequence ')) ))) )) && (parenthesized_expression "(iVar1 = S_IS_DEFINED(*param_1), iVar1 == 0)" ( (comma_expression "iVar1 = S_IS_DEFINED(*param_1), iVar1 == 0" (assignment_expression "iVar1 = S_IS_DEFINED(*param_1)" identifier = (call_expression "S_IS_DEFINED(*param_1)" identifier (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) ))) )) ))) )) (compound_statement "{\n      uVar2 = *param_1;\n      *puVar5 = 1;\n      puVar5[4] = uVar2;\n    }" { (expression_statement "uVar2 = *param_1;" (assignment_expression "uVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "*puVar5 = 1;" (assignment_expression "*puVar5 = 1" (pointer_expression "*puVar5" * identifier) = number_literal) ;) (expression_statement "puVar5[4] = uVar2;" (assignment_expression "puVar5[4] = uVar2" (subscript_expression "puVar5[4]" identifier [ number_literal ]) = identifier) ;) })) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' character ')) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * IDENT)) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression (pointer_expression * IDENT) * LIT)) + LIT) ))))) )))) )) (argument_list ( )))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) )))) , (binary_expression IDENT == LIT)) ))) )) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) })) })) (return_statement return LIT ;) })))
(function_definition "undefined4 check_eh_frame(uint *param_1,int *param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  uint *puVar5;\n  \n  if (*(int *)PTR_flag_traditional_format_000b5e58 == 0) {\n    iVar4 = **(int **)PTR_now_seg_000b5f1c;\n    iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4684,9);\n    if ((iVar1 == 0) && (*(char *)(iVar4 + 9) != '_')) {\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x103c);\n      uVar2 = *puVar5;\n    }\n    else {\n      iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4690,0xc);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x1060);\n      uVar2 = *puVar5;\n    }\n    if (uVar2 != 0) {\n      iVar1 = S_IS_DEFINED(puVar5[4]);\n      if (iVar1 == 0) {\n        if (7 < *puVar5) {\n          return 0;\n        }\n                    \n                    \n        uVar3 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)))();\n        return uVar3;\n      }\n      *puVar5 = 0;\n    }\n    if ((*param_2 == 4) &&\n       (((*(char *)(param_1 + 4) == '\x03' || (*(char *)(param_1 + 4) == '\x14')) &&\n        (iVar1 = S_IS_DEFINED(*param_1), iVar1 == 0)))) {\n      uVar2 = *param_1;\n      *puVar5 = 1;\n      puVar5[4] = uVar2;\n    }\n  }\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "check_eh_frame(uint *param_1,int *param_2)" (identifier "check_eh_frame") (parameter_list "(uint *param_1,int *param_2)" (( "(") (parameter_declaration "uint *param_1" (type_identifier "uint") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  uint *puVar5;\n  \n  if (*(int *)PTR_flag_traditional_format_000b5e58 == 0) {\n    iVar4 = **(int **)PTR_now_seg_000b5f1c;\n    iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4684,9);\n    if ((iVar1 == 0) && (*(char *)(iVar4 + 9) != '_')) {\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x103c);\n      uVar2 = *puVar5;\n    }\n    else {\n      iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4690,0xc);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x1060);\n      uVar2 = *puVar5;\n    }\n    if (uVar2 != 0) {\n      iVar1 = S_IS_DEFINED(puVar5[4]);\n      if (iVar1 == 0) {\n        if (7 < *puVar5) {\n          return 0;\n        }\n                    \n                    \n        uVar3 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)))();\n        return uVar3;\n      }\n      *puVar5 = 0;\n    }\n    if ((*param_2 == 4) &&\n       (((*(char *)(param_1 + 4) == '\x03' || (*(char *)(param_1 + 4) == '\x14')) &&\n        (iVar1 = S_IS_DEFINED(*param_1), iVar1 == 0)))) {\n      uVar2 = *param_1;\n      *puVar5 = 1;\n      puVar5[4] = uVar2;\n    }\n  }\n  return 0;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "uint *puVar5;" (type_identifier "uint") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (if_statement "if (*(int *)PTR_flag_traditional_format_000b5e58 == 0) {\n    iVar4 = **(int **)PTR_now_seg_000b5f1c;\n    iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4684,9);\n    if ((iVar1 == 0) && (*(char *)(iVar4 + 9) != '_')) {\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x103c);\n      uVar2 = *puVar5;\n    }\n    else {\n      iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4690,0xc);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x1060);\n      uVar2 = *puVar5;\n    }\n    if (uVar2 != 0) {\n      iVar1 = S_IS_DEFINED(puVar5[4]);\n      if (iVar1 == 0) {\n        if (7 < *puVar5) {\n          return 0;\n        }\n                    \n                    \n        uVar3 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)))();\n        return uVar3;\n      }\n      *puVar5 = 0;\n    }\n    if ((*param_2 == 4) &&\n       (((*(char *)(param_1 + 4) == '\x03' || (*(char *)(param_1 + 4) == '\x14')) &&\n        (iVar1 = S_IS_DEFINED(*param_1), iVar1 == 0)))) {\n      uVar2 = *param_1;\n      *puVar5 = 1;\n      puVar5[4] = uVar2;\n    }\n  }" (if "if") (parenthesized_expression "(*(int *)PTR_flag_traditional_format_000b5e58 == 0)" (( "(") (binary_expression "*(int *)PTR_flag_traditional_format_000b5e58 == 0" (pointer_expression "*(int *)PTR_flag_traditional_format_000b5e58" (* "*") (cast_expression "(int *)PTR_flag_traditional_format_000b5e58" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_flag_traditional_format_000b5e58"))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar4 = **(int **)PTR_now_seg_000b5f1c;\n    iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4684,9);\n    if ((iVar1 == 0) && (*(char *)(iVar4 + 9) != '_')) {\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x103c);\n      uVar2 = *puVar5;\n    }\n    else {\n      iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4690,0xc);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x1060);\n      uVar2 = *puVar5;\n    }\n    if (uVar2 != 0) {\n      iVar1 = S_IS_DEFINED(puVar5[4]);\n      if (iVar1 == 0) {\n        if (7 < *puVar5) {\n          return 0;\n        }\n                    \n                    \n        uVar3 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)))();\n        return uVar3;\n      }\n      *puVar5 = 0;\n    }\n    if ((*param_2 == 4) &&\n       (((*(char *)(param_1 + 4) == '\x03' || (*(char *)(param_1 + 4) == '\x14')) &&\n        (iVar1 = S_IS_DEFINED(*param_1), iVar1 == 0)))) {\n      uVar2 = *param_1;\n      *puVar5 = 1;\n      puVar5[4] = uVar2;\n    }\n  }" ({ "{") (expression_statement "iVar4 = **(int **)PTR_now_seg_000b5f1c;" (assignment_expression "iVar4 = **(int **)PTR_now_seg_000b5f1c" (identifier "iVar4") (= "=") (pointer_expression "**(int **)PTR_now_seg_000b5f1c" (* "*") (pointer_expression "*(int **)PTR_now_seg_000b5f1c" (* "*") (cast_expression "(int **)PTR_now_seg_000b5f1c" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_now_seg_000b5f1c"))))) (; ";")) (expression_statement "iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4684,9);" (assignment_expression "iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4684,9)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4684,9)" (parenthesized_expression "(*(code *)PTR_strncmp_000b657c)" (( "(") (pointer_expression "*(code *)PTR_strncmp_000b657c" (* "*") (cast_expression "(code *)PTR_strncmp_000b657c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strncmp_000b657c"))) () ")")) (argument_list "(iVar4,PTR_LAB_000b5cb8 + 0x4684,9)" (( "(") (identifier "iVar4") (, ",") (binary_expression "PTR_LAB_000b5cb8 + 0x4684" (identifier "PTR_LAB_000b5cb8") (+ "+") (number_literal "0x4684")) (, ",") (number_literal "9") () ")")))) (; ";")) (if_statement "if ((iVar1 == 0) && (*(char *)(iVar4 + 9) != '_')) {\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x103c);\n      uVar2 = *puVar5;\n    }\n    else {\n      iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4690,0xc);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x1060);\n      uVar2 = *puVar5;\n    }" (if "if") (parenthesized_expression "((iVar1 == 0) && (*(char *)(iVar4 + 9) != '_'))" (( "(") (binary_expression "(iVar1 == 0) && (*(char *)(iVar4 + 9) != '_')" (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(char *)(iVar4 + 9) != '_')" (( "(") (binary_expression "*(char *)(iVar4 + 9) != '_'" (pointer_expression "*(char *)(iVar4 + 9)" (* "*") (cast_expression "(char *)(iVar4 + 9)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 9)" (( "(") (binary_expression "iVar4 + 9" (identifier "iVar4") (+ "+") (number_literal "9")) () ")")))) (!= "!=") (char_literal "'_'" (' "'") (character "_") (' "'"))) () ")"))) () ")")) (compound_statement "{\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x103c);\n      uVar2 = *puVar5;\n    }" ({ "{") (expression_statement "puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x103c);" (assignment_expression "puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x103c)" (identifier "puVar5") (= "=") (cast_expression "(uint *)(PTR_mips_opcodes_000b5cd0 + -0x103c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_mips_opcodes_000b5cd0 + -0x103c)" (( "(") (binary_expression "PTR_mips_opcodes_000b5cd0 + -0x103c" (identifier "PTR_mips_opcodes_000b5cd0") (+ "+") (number_literal "-0x103c")) () ")")))) (; ";")) (expression_statement "uVar2 = *puVar5;" (assignment_expression "uVar2 = *puVar5" (identifier "uVar2") (= "=") (pointer_expression "*puVar5" (* "*") (identifier "puVar5"))) (; ";")) (} "}")) (else_clause "else {\n      iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4690,0xc);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x1060);\n      uVar2 = *puVar5;\n    }" (else "else") (compound_statement "{\n      iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4690,0xc);\n      if (iVar1 != 0) {\n        return 0;\n      }\n      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x1060);\n      uVar2 = *puVar5;\n    }" ({ "{") (expression_statement "iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4690,0xc);" (assignment_expression "iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4690,0xc)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4690,0xc)" (parenthesized_expression "(*(code *)PTR_strncmp_000b657c)" (( "(") (pointer_expression "*(code *)PTR_strncmp_000b657c" (* "*") (cast_expression "(code *)PTR_strncmp_000b657c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strncmp_000b657c"))) () ")")) (argument_list "(iVar4,PTR_LAB_000b5cb8 + 0x4690,0xc)" (( "(") (identifier "iVar4") (, ",") (binary_expression "PTR_LAB_000b5cb8 + 0x4690" (identifier "PTR_LAB_000b5cb8") (+ "+") (number_literal "0x4690")) (, ",") (number_literal "0xc") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n        return 0;\n      }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        return 0;\n      }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x1060);" (assignment_expression "puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x1060)" (identifier "puVar5") (= "=") (cast_expression "(uint *)(PTR_mips_opcodes_000b5cd0 + -0x1060)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_mips_opcodes_000b5cd0 + -0x1060)" (( "(") (binary_expression "PTR_mips_opcodes_000b5cd0 + -0x1060" (identifier "PTR_mips_opcodes_000b5cd0") (+ "+") (number_literal "-0x1060")) () ")")))) (; ";")) (expression_statement "uVar2 = *puVar5;" (assignment_expression "uVar2 = *puVar5" (identifier "uVar2") (= "=") (pointer_expression "*puVar5" (* "*") (identifier "puVar5"))) (; ";")) (} "}")))) (if_statement "if (uVar2 != 0) {\n      iVar1 = S_IS_DEFINED(puVar5[4]);\n      if (iVar1 == 0) {\n        if (7 < *puVar5) {\n          return 0;\n        }\n                    \n                    \n        uVar3 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)))();\n        return uVar3;\n      }\n      *puVar5 = 0;\n    }" (if "if") (parenthesized_expression "(uVar2 != 0)" (( "(") (binary_expression "uVar2 != 0" (identifier "uVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      iVar1 = S_IS_DEFINED(puVar5[4]);\n      if (iVar1 == 0) {\n        if (7 < *puVar5) {\n          return 0;\n        }\n                    \n                    \n        uVar3 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)))();\n        return uVar3;\n      }\n      *puVar5 = 0;\n    }" ({ "{") (expression_statement "iVar1 = S_IS_DEFINED(puVar5[4]);" (assignment_expression "iVar1 = S_IS_DEFINED(puVar5[4])" (identifier "iVar1") (= "=") (call_expression "S_IS_DEFINED(puVar5[4])" (identifier "S_IS_DEFINED") (argument_list "(puVar5[4])" (( "(") (subscript_expression "puVar5[4]" (identifier "puVar5") ([ "[") (number_literal "4") (] "]")) () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n        if (7 < *puVar5) {\n          return 0;\n        }\n                    \n                    \n        uVar3 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)))();\n        return uVar3;\n      }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        if (7 < *puVar5) {\n          return 0;\n        }\n                    \n                    \n        uVar3 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)))();\n        return uVar3;\n      }" ({ "{") (if_statement "if (7 < *puVar5) {\n          return 0;\n        }" (if "if") (parenthesized_expression "(7 < *puVar5)" (( "(") (binary_expression "7 < *puVar5" (number_literal "7") (< "<") (pointer_expression "*puVar5" (* "*") (identifier "puVar5"))) () ")")) (compound_statement "{\n          return 0;\n        }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "uVar3 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)))();" (assignment_expression "uVar3 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)))()" (identifier "uVar3") (= "=") (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)))" (( "(") (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870))" (* "*") (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870))" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&_gp_1 + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870))" (( "(") (binary_expression "&_gp_1 + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)" (pointer_expression "&_gp_1" (& "&") (identifier "_gp_1")) (+ "+") (pointer_expression "*(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)" (* "*") (cast_expression "(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)" (( "(") (binary_expression "PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870" (binary_expression "PTR_LAB_000b5cb8 + *puVar5 * 4" (identifier "PTR_LAB_000b5cb8") (+ "+") (binary_expression "*puVar5 * 4" (pointer_expression "*puVar5" (* "*") (identifier "puVar5")) (* "*") (number_literal "4"))) (+ "+") (number_literal "0x5870")) () ")"))))) () ")")))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}"))) (expression_statement "*puVar5 = 0;" (assignment_expression "*puVar5 = 0" (pointer_expression "*puVar5" (* "*") (identifier "puVar5")) (= "=") (number_literal "0")) (; ";")) (} "}"))) (if_statement "if ((*param_2 == 4) &&\n       (((*(char *)(param_1 + 4) == '\x03' || (*(char *)(param_1 + 4) == '\x14')) &&\n        (iVar1 = S_IS_DEFINED(*param_1), iVar1 == 0)))) {\n      uVar2 = *param_1;\n      *puVar5 = 1;\n      puVar5[4] = uVar2;\n    }" (if "if") (parenthesized_expression "((*param_2 == 4) &&\n       (((*(char *)(param_1 + 4) == '\x03' || (*(char *)(param_1 + 4) == '\x14')) &&\n        (iVar1 = S_IS_DEFINED(*param_1), iVar1 == 0))))" (( "(") (binary_expression "(*param_2 == 4) &&\n       (((*(char *)(param_1 + 4) == '\x03' || (*(char *)(param_1 + 4) == '\x14')) &&\n        (iVar1 = S_IS_DEFINED(*param_1), iVar1 == 0)))" (parenthesized_expression "(*param_2 == 4)" (( "(") (binary_expression "*param_2 == 4" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (== "==") (number_literal "4")) () ")")) (&& "&&") (parenthesized_expression "(((*(char *)(param_1 + 4) == '\x03' || (*(char *)(param_1 + 4) == '\x14')) &&\n        (iVar1 = S_IS_DEFINED(*param_1), iVar1 == 0)))" (( "(") (parenthesized_expression "((*(char *)(param_1 + 4) == '\x03' || (*(char *)(param_1 + 4) == '\x14')) &&\n        (iVar1 = S_IS_DEFINED(*param_1), iVar1 == 0))" (( "(") (binary_expression "(*(char *)(param_1 + 4) == '\x03' || (*(char *)(param_1 + 4) == '\x14')) &&\n        (iVar1 = S_IS_DEFINED(*param_1), iVar1 == 0)" (parenthesized_expression "(*(char *)(param_1 + 4) == '\x03' || (*(char *)(param_1 + 4) == '\x14'))" (( "(") (binary_expression "*(char *)(param_1 + 4) == '\x03' || (*(char *)(param_1 + 4) == '\x14')" (binary_expression "*(char *)(param_1 + 4) == '\x03'" (pointer_expression "*(char *)(param_1 + 4)" (* "*") (cast_expression "(char *)(param_1 + 4)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (== "==") (char_literal "'\x03'" (' "'") (escape_sequence "\x03") (' "'"))) (|| "||") (parenthesized_expression "(*(char *)(param_1 + 4) == '\x14')" (( "(") (binary_expression "*(char *)(param_1 + 4) == '\x14'" (pointer_expression "*(char *)(param_1 + 4)" (* "*") (cast_expression "(char *)(param_1 + 4)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (== "==") (char_literal "'\x14'" (' "'") (escape_sequence "\x14") (' "'"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(iVar1 = S_IS_DEFINED(*param_1), iVar1 == 0)" (( "(") (comma_expression "iVar1 = S_IS_DEFINED(*param_1), iVar1 == 0" (assignment_expression "iVar1 = S_IS_DEFINED(*param_1)" (identifier "iVar1") (= "=") (call_expression "S_IS_DEFINED(*param_1)" (identifier "S_IS_DEFINED") (argument_list "(*param_1)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) () ")")))) (, ",") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0"))) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n      uVar2 = *param_1;\n      *puVar5 = 1;\n      puVar5[4] = uVar2;\n    }" ({ "{") (expression_statement "uVar2 = *param_1;" (assignment_expression "uVar2 = *param_1" (identifier "uVar2") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "*puVar5 = 1;" (assignment_expression "*puVar5 = 1" (pointer_expression "*puVar5" (* "*") (identifier "puVar5")) (= "=") (number_literal "1")) (; ";")) (expression_statement "puVar5[4] = uVar2;" (assignment_expression "puVar5[4] = uVar2" (subscript_expression "puVar5[4]" (identifier "puVar5") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "uVar2")) (; ";")) (} "}"))) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

int function_1(type_1 *exp,type_2 *pnbytes)

{
  int var_2;
  type_2 var_5;
  type_3 *psVar3;
  int var_3;
  type_2 *puVar5;
  char augmentation [10];
  
  if (*(int *)PTR_flag_traditional_format_000b5e58 == 0) {
    var_3 = **(int **)PTR_now_seg_000b5f1c;
    var_2 = (*(type_4 *)PTR_strncmp_000b657c)(var_3,var_1 + 0x4684,9);
    if ((var_2 == 0) && (*(char *)(var_3 + 9) != '_')) {
      puVar5 = (type_2 *)(var_4 + -0x103c);
      var_5 = *puVar5;
    }
    else {
      var_2 = (*(type_4 *)PTR_strncmp_000b657c)(var_3,var_1 + 0x4690,0xc);
      if (var_2 != 0) {
        return 0;
      }
      puVar5 = (type_2 *)(var_4 + -0x1060);
      var_5 = *puVar5;
    }
    if (var_5 != 0) {
      var_2 = var_6((type_3 *)puVar5[4]);
      if (var_2 == 0) {
        if (7 < *puVar5) {
          return 0;
        }
                    /* WARNING: Could not emulate address calculation at 0x00030158 */
                    /* WARNING: Treating indirect jump as call */
        var_2 = (*(type_4 *)(var_7 + *(int *)(var_1 + *puVar5 * 4 + 0x5870) + 0x7358
                          ))();
        return var_2;
      }
      *puVar5 = 0;
    }
    if ((*pnbytes == 4) &&
       (((exp->field_0x10 == '\x03' || (exp->field_0x10 == '\x14')) &&
        (var_2 = var_6(exp->X_add_symbol), var_2 == 0)))) {
      psVar3 = exp->X_add_symbol;
      *puVar5 = 1;
      puVar5[4] = (type_2)psVar3;
    }
  }
  return 0;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (char_literal (character)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (pointer_expression argument: (identifier)))) consequence: (compound_statement (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) right: (number_literal)))))))))) arguments: (argument_list)))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (char_literal (escape_sequence))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (char_literal (escape_sequence)))))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier))))) right: (binary_expression left: (identifier) right: (number_literal))))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))))))) (return_statement (number_literal)))))

undefined4 MASKED(uint *param_1,int *param_2)

{
  int iVar1;
  uint uVar2;
  undefined4 uVar3;
  int iVar4;
  uint *puVar5;
  
  if (*(int *)PTR_flag_traditional_format_000b5e58 == 0) {
    iVar4 = **(int **)PTR_now_seg_000b5f1c;
    iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4684,9);
    if ((iVar1 == 0) && (*(char *)(iVar4 + 9) != '_')) {
      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x103c);
      uVar2 = *puVar5;
    }
    else {
      iVar1 = (*(code *)PTR_strncmp_000b657c)(iVar4,PTR_LAB_000b5cb8 + 0x4690,0xc);
      if (iVar1 != 0) {
        return 0;
      }
      puVar5 = (uint *)(PTR_mips_opcodes_000b5cd0 + -0x1060);
      uVar2 = *puVar5;
    }
    if (uVar2 != 0) {
      iVar1 = S_IS_DEFINED(puVar5[4]);
      if (iVar1 == 0) {
        if (7 < *puVar5) {
          return 0;
        }
                    /* WARNING: Could not emulate address calculation at 0x00030158 */
                    /* WARNING: Treating indirect jump as call */
        uVar3 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_000b5cb8 + *puVar5 * 4 + 0x5870)))();
        return uVar3;
      }
      *puVar5 = 0;
    }
    if ((*param_2 == 4) &&
       (((*(char *)(param_1 + 4) == '\x03' || (*(char *)(param_1 + 4) == '\x14')) &&
        (iVar1 = S_IS_DEFINED(*param_1), iVar1 == 0)))) {
      uVar2 = *param_1;
      *puVar5 = 1;
      puVar5[4] = uVar2;
    }
  }
  return 0;
}

