
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

bool gold::decompress_input_section
               (uchar *compressed_data,ulong compressed_size,uchar *uncompressed_data,
               ulong uncompressed_size,int size,bool big_endian,Elf_Xword sh_flags)

{
  uint uVar1;
  int iVar2;
  bool bVar3;
  uchar *compressed_data_00;
  int iVar4;
  byte *pbVar5;
  byte *pbVar6;
  bool bVar7;
  
  if ((sh_flags & 0x800) != 0) {
    if (size == 0x20) {
      if (big_endian) {
        if (*(int *)compressed_data != 0x1000000) {
          return false;
        }
      }
      else if (*(int *)compressed_data != 1) {
        return false;
      }
      iVar4 = 0xc;
    }
    else {
      if (size != 0x40) {
                    /* WARNING: Subroutine does not return */
        do_gold_unreachable("../../gold/compressed_output.cc",0xb8,"decompress_input_section");
      }
      if (big_endian) {
        return false;
      }
      iVar4 = 0x18;
      if (*(int *)compressed_data != 1) {
        return false;
      }
    }
    iVar2 = -iVar4;
    compressed_data_00 = compressed_data + iVar4;
LAB_0019eed8:
    bVar3 = zlib_decompress(compressed_data_00,compressed_size + iVar2,uncompressed_data,
                            uncompressed_size);
    return bVar3;
  }
  bVar3 = compressed_size < 0xb;
  bVar7 = compressed_size == 0xb;
  if (0xb < compressed_size) {
    iVar4 = 4;
    pbVar5 = compressed_data;
    pbVar6 = &DAT_0029dc56;
    do {
      if (iVar4 == 0) break;
      iVar4 = iVar4 + -1;
      bVar3 = *pbVar5 < *pbVar6;
      bVar7 = *pbVar5 == *pbVar6;
      pbVar5 = pbVar5 + 1;
      pbVar6 = pbVar6 + 1;
    } while (bVar7);
    if ((!bVar3 && !bVar7) == bVar3) {
      uVar1 = *(uint *)(compressed_data + 8);
      if (uncompressed_size !=
          (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)) {
                    /* WARNING: Subroutine does not return */
        do_gold_unreachable("../../gold/compressed_output.cc",0xcb,"decompress_input_section");
      }
      iVar2 = -0xc;
      compressed_data_00 = compressed_data + 0xc;
      goto LAB_0019eed8;
    }
  }
  return false;
}



/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

undefined4
FUN_0019ee80(byte *param_1,uint param_2,undefined4 param_3,uint param_4,int param_5,char param_6,
            uint param_7)

{
  uint uVar1;
  undefined4 uVar2;
  int iVar3;
  byte *pbVar4;
  byte *pbVar5;
  bool bVar6;
  bool bVar7;
  
  if ((param_7 & 0x800) == 0) {
    bVar6 = param_2 < 0xb;
    bVar7 = param_2 == 0xb;
    if (0xb < param_2) {
      iVar3 = 4;
      pbVar4 = param_1;
      pbVar5 = &DAT_0029dc56;
      do {
        if (iVar3 == 0) break;
        iVar3 = iVar3 + -1;
        bVar6 = *pbVar4 < *pbVar5;
        bVar7 = *pbVar4 == *pbVar5;
        pbVar4 = pbVar4 + 1;
        pbVar5 = pbVar5 + 1;
      } while (bVar7);
      if ((!bVar6 && !bVar7) == bVar6) {
        uVar1 = *(uint *)(param_1 + 8);
        if (param_4 !=
            (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)) {
                    /* WARNING: Subroutine does not return */
          FUN_00069d00("../../gold/compressed_output.cc",0xcb,"decompress_input_section",param_1);
        }
        goto LAB_0019eed8;
      }
    }
  }
  else {
    if (param_5 == 0x20) {
      iVar3 = *(int *)param_1;
      if (param_6 != '\0') {
        if (iVar3 != 0x1000000) {
          return 0;
        }
        goto LAB_0019eed8;
      }
    }
    else {
      if (param_5 != 0x40) {
                    /* WARNING: Subroutine does not return */
        FUN_00069d00("../../gold/compressed_output.cc",0xb8,"decompress_input_section",param_2);
      }
      iVar3 = *(int *)param_1;
      if (param_6 != '\0') {
        return 0;
      }
    }
    if (iVar3 == 1) {
LAB_0019eed8:
      uVar2 = FUN_0019e580();
      return uVar2;
    }
  }
  return 0;
}


CALL 0x000559e6
ADD EAX,0x1f017b
PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x1c
MOV EDX,dword ptr [ESP + 0x34]
MOV EBX,dword ptr [ESP + 0x38]
MOV dword ptr [ESP + 0xc],EAX
MOV EBP,dword ptr [ESP + 0x3c]
MOV EAX,dword ptr [ESP + 0x30]
MOV ECX,dword ptr [ESP + 0x40]
MOV ESI,dword ptr [ESP + 0x44]
TEST byte ptr [ESP + 0x49],0x8
JZ 0x0019ef10
CMP ECX,0x20
JZ 0x0019eef0
CMP ECX,0x40
JNZ 0x0019ef74
MOV ECX,ESI
MOV EDI,dword ptr [EAX]
TEST CL,CL
JNZ 0x0019ef00
MOV ECX,0x18
CMP EDI,0x1
JNZ 0x0019ef00
SUB EDX,ECX
ADD EAX,ECX
MOV dword ptr [ESP + 0x30],EBP
ADD ESP,0x1c
MOV ECX,EBX
POP EBX
POP ESI
POP EDI
POP EBP
JMP 0x0019e580
MOV ECX,ESI
MOV EDI,dword ptr [EAX]
TEST CL,CL
JZ 0x0019ef48
CMP EDI,0x1000000
JZ 0x0019ef4d
ADD ESP,0x1c
XOR EAX,EAX
POP EBX
POP ESI
POP EDI
POP EBP
RET
CMP EDX,0xb
JBE 0x0019ef00
MOV EDI,dword ptr [ESP + 0xc]
MOV ECX,0x4
MOV ESI,EAX
LEA EDI,[EDI + 0xfff0ec56]
CMPSB.REPE ES:EDI,ESI
SETA CL
SBB CL,0x0
TEST CL,CL
JNZ 0x0019ef00
MOV ECX,dword ptr [EAX + 0x8]
BSWAP ECX
CMP EBP,ECX
JNZ 0x0019ef57
SUB EDX,0xc
ADD EAX,0xc
JMP 0x0019eed8
CMP EDI,0x1
JNZ 0x0019ef00
MOV ECX,0xc
JMP 0x0019eed4
PUSH EAX
MOV EBX,dword ptr [ESP + 0x10]
LEA EAX,[EBX + 0xfff0ed58]
PUSH EAX
LEA EAX,[EBX + 0xfff0ec5c]
PUSH 0xcb
PUSH EAX
CALL 0x00069d00
PUSH EDX
MOV EBX,dword ptr [ESP + 0x10]
LEA EAX,[EBX + 0xfff0ed58]
PUSH EAX
LEA EAX,[EBX + 0xfff0ec5c]
PUSH 0xb8
PUSH EAX
CALL 0x00069d00
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nundefined4\nFUN_0019ee80(byte *param_1,uint param_2,undefined4 param_3,uint param_4,int param_5,char param_6,\n            uint param_7)\n\n{\n  uint uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  byte *pbVar4;\n  byte *pbVar5;\n  bool bVar6;\n  bool bVar7;\n  \n  if ((param_7 & 0x800) == 0) {\n    bVar6 = param_2 < 0xb;\n    bVar7 = param_2 == 0xb;\n    if (0xb < param_2) {\n      iVar3 = 4;\n      pbVar4 = param_1;\n      pbVar5 = &DAT_0029dc56;\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar6 = *pbVar4 < *pbVar5;\n        bVar7 = *pbVar4 == *pbVar5;\n        pbVar4 = pbVar4 + 1;\n        pbVar5 = pbVar5 + 1;\n      } while (bVar7);\n      if ((!bVar6 && !bVar7) == bVar6) {\n        uVar1 = *(uint *)(param_1 + 8);\n        if (param_4 !=\n            (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)) {\n                    /* WARNING: Subroutine does not return */\n          FUN_00069d00("../../gold/compressed_output.cc",0xcb,"decompress_input_section",param_1);\n        }\n        goto LAB_0019eed8;\n      }\n    }\n  }\n  else {\n    if (param_5 == 0x20) {\n      iVar3 = *(int *)param_1;\n      if (param_6 != '\0') {\n        if (iVar3 != 0x1000000) {\n          return 0;\n        }\n        goto LAB_0019eed8;\n      }\n    }\n    else {\n      if (param_5 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/compressed_output.cc",0xb8,"decompress_input_section",param_2);\n      }\n      iVar3 = *(int *)param_1;\n      if (param_6 != '\0') {\n        return 0;\n      }\n    }\n    if (iVar3 == 1) {\nLAB_0019eed8:\n      uVar2 = FUN_0019e580();\n      return uVar2;\n    }\n  }\n  return 0;\n}\n\n" comment (function_definition "undefined4\nFUN_0019ee80(byte *param_1,uint param_2,undefined4 param_3,uint param_4,int param_5,char param_6,\n            uint param_7)\n\n{\n  uint uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  byte *pbVar4;\n  byte *pbVar5;\n  bool bVar6;\n  bool bVar7;\n  \n  if ((param_7 & 0x800) == 0) {\n    bVar6 = param_2 < 0xb;\n    bVar7 = param_2 == 0xb;\n    if (0xb < param_2) {\n      iVar3 = 4;\n      pbVar4 = param_1;\n      pbVar5 = &DAT_0029dc56;\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar6 = *pbVar4 < *pbVar5;\n        bVar7 = *pbVar4 == *pbVar5;\n        pbVar4 = pbVar4 + 1;\n        pbVar5 = pbVar5 + 1;\n      } while (bVar7);\n      if ((!bVar6 && !bVar7) == bVar6) {\n        uVar1 = *(uint *)(param_1 + 8);\n        if (param_4 !=\n            (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)) {\n                    /* WARNING: Subroutine does not return */\n          FUN_00069d00("../../gold/compressed_output.cc",0xcb,"decompress_input_section",param_1);\n        }\n        goto LAB_0019eed8;\n      }\n    }\n  }\n  else {\n    if (param_5 == 0x20) {\n      iVar3 = *(int *)param_1;\n      if (param_6 != '\0') {\n        if (iVar3 != 0x1000000) {\n          return 0;\n        }\n        goto LAB_0019eed8;\n      }\n    }\n    else {\n      if (param_5 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/compressed_output.cc",0xb8,"decompress_input_section",param_2);\n      }\n      iVar3 = *(int *)param_1;\n      if (param_6 != '\0') {\n        return 0;\n      }\n    }\n    if (iVar3 == 1) {\nLAB_0019eed8:\n      uVar2 = FUN_0019e580();\n      return uVar2;\n    }\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_0019ee80(byte *param_1,uint param_2,undefined4 param_3,uint param_4,int param_5,char param_6,\n            uint param_7)" identifier (parameter_list "(byte *param_1,uint param_2,undefined4 param_3,uint param_4,int param_5,char param_6,\n            uint param_7)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "uint param_4" type_identifier identifier) , (parameter_declaration "int param_5" primitive_type identifier) , (parameter_declaration "char param_6" primitive_type identifier) , (parameter_declaration "uint param_7" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  byte *pbVar4;\n  byte *pbVar5;\n  bool bVar6;\n  bool bVar7;\n  \n  if ((param_7 & 0x800) == 0) {\n    bVar6 = param_2 < 0xb;\n    bVar7 = param_2 == 0xb;\n    if (0xb < param_2) {\n      iVar3 = 4;\n      pbVar4 = param_1;\n      pbVar5 = &DAT_0029dc56;\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar6 = *pbVar4 < *pbVar5;\n        bVar7 = *pbVar4 == *pbVar5;\n        pbVar4 = pbVar4 + 1;\n        pbVar5 = pbVar5 + 1;\n      } while (bVar7);\n      if ((!bVar6 && !bVar7) == bVar6) {\n        uVar1 = *(uint *)(param_1 + 8);\n        if (param_4 !=\n            (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)) {\n                    /* WARNING: Subroutine does not return */\n          FUN_00069d00("../../gold/compressed_output.cc",0xcb,"decompress_input_section",param_1);\n        }\n        goto LAB_0019eed8;\n      }\n    }\n  }\n  else {\n    if (param_5 == 0x20) {\n      iVar3 = *(int *)param_1;\n      if (param_6 != '\0') {\n        if (iVar3 != 0x1000000) {\n          return 0;\n        }\n        goto LAB_0019eed8;\n      }\n    }\n    else {\n      if (param_5 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/compressed_output.cc",0xb8,"decompress_input_section",param_2);\n      }\n      iVar3 = *(int *)param_1;\n      if (param_6 != '\0') {\n        return 0;\n      }\n    }\n    if (iVar3 == 1) {\nLAB_0019eed8:\n      uVar2 = FUN_0019e580();\n      return uVar2;\n    }\n  }\n  return 0;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (declaration "bool bVar6;" primitive_type identifier ;) (declaration "bool bVar7;" primitive_type identifier ;) (if_statement "if ((param_7 & 0x800) == 0) {\n    bVar6 = param_2 < 0xb;\n    bVar7 = param_2 == 0xb;\n    if (0xb < param_2) {\n      iVar3 = 4;\n      pbVar4 = param_1;\n      pbVar5 = &DAT_0029dc56;\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar6 = *pbVar4 < *pbVar5;\n        bVar7 = *pbVar4 == *pbVar5;\n        pbVar4 = pbVar4 + 1;\n        pbVar5 = pbVar5 + 1;\n      } while (bVar7);\n      if ((!bVar6 && !bVar7) == bVar6) {\n        uVar1 = *(uint *)(param_1 + 8);\n        if (param_4 !=\n            (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)) {\n                    /* WARNING: Subroutine does not return */\n          FUN_00069d00("../../gold/compressed_output.cc",0xcb,"decompress_input_section",param_1);\n        }\n        goto LAB_0019eed8;\n      }\n    }\n  }\n  else {\n    if (param_5 == 0x20) {\n      iVar3 = *(int *)param_1;\n      if (param_6 != '\0') {\n        if (iVar3 != 0x1000000) {\n          return 0;\n        }\n        goto LAB_0019eed8;\n      }\n    }\n    else {\n      if (param_5 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/compressed_output.cc",0xb8,"decompress_input_section",param_2);\n      }\n      iVar3 = *(int *)param_1;\n      if (param_6 != '\0') {\n        return 0;\n      }\n    }\n    if (iVar3 == 1) {\nLAB_0019eed8:\n      uVar2 = FUN_0019e580();\n      return uVar2;\n    }\n  }" if (parenthesized_expression "((param_7 & 0x800) == 0)" ( (binary_expression "(param_7 & 0x800) == 0" (parenthesized_expression "(param_7 & 0x800)" ( (binary_expression "param_7 & 0x800" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    bVar6 = param_2 < 0xb;\n    bVar7 = param_2 == 0xb;\n    if (0xb < param_2) {\n      iVar3 = 4;\n      pbVar4 = param_1;\n      pbVar5 = &DAT_0029dc56;\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar6 = *pbVar4 < *pbVar5;\n        bVar7 = *pbVar4 == *pbVar5;\n        pbVar4 = pbVar4 + 1;\n        pbVar5 = pbVar5 + 1;\n      } while (bVar7);\n      if ((!bVar6 && !bVar7) == bVar6) {\n        uVar1 = *(uint *)(param_1 + 8);\n        if (param_4 !=\n            (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)) {\n                    /* WARNING: Subroutine does not return */\n          FUN_00069d00("../../gold/compressed_output.cc",0xcb,"decompress_input_section",param_1);\n        }\n        goto LAB_0019eed8;\n      }\n    }\n  }" { (expression_statement "bVar6 = param_2 < 0xb;" (assignment_expression "bVar6 = param_2 < 0xb" identifier = (binary_expression "param_2 < 0xb" identifier < number_literal)) ;) (expression_statement "bVar7 = param_2 == 0xb;" (assignment_expression "bVar7 = param_2 == 0xb" identifier = (binary_expression "param_2 == 0xb" identifier == number_literal)) ;) (if_statement "if (0xb < param_2) {\n      iVar3 = 4;\n      pbVar4 = param_1;\n      pbVar5 = &DAT_0029dc56;\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar6 = *pbVar4 < *pbVar5;\n        bVar7 = *pbVar4 == *pbVar5;\n        pbVar4 = pbVar4 + 1;\n        pbVar5 = pbVar5 + 1;\n      } while (bVar7);\n      if ((!bVar6 && !bVar7) == bVar6) {\n        uVar1 = *(uint *)(param_1 + 8);\n        if (param_4 !=\n            (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)) {\n                    /* WARNING: Subroutine does not return */\n          FUN_00069d00("../../gold/compressed_output.cc",0xcb,"decompress_input_section",param_1);\n        }\n        goto LAB_0019eed8;\n      }\n    }" if (parenthesized_expression "(0xb < param_2)" ( (binary_expression "0xb < param_2" number_literal < identifier) )) (compound_statement "{\n      iVar3 = 4;\n      pbVar4 = param_1;\n      pbVar5 = &DAT_0029dc56;\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar6 = *pbVar4 < *pbVar5;\n        bVar7 = *pbVar4 == *pbVar5;\n        pbVar4 = pbVar4 + 1;\n        pbVar5 = pbVar5 + 1;\n      } while (bVar7);\n      if ((!bVar6 && !bVar7) == bVar6) {\n        uVar1 = *(uint *)(param_1 + 8);\n        if (param_4 !=\n            (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)) {\n                    /* WARNING: Subroutine does not return */\n          FUN_00069d00("../../gold/compressed_output.cc",0xcb,"decompress_input_section",param_1);\n        }\n        goto LAB_0019eed8;\n      }\n    }" { (expression_statement "iVar3 = 4;" (assignment_expression "iVar3 = 4" identifier = number_literal) ;) (expression_statement "pbVar4 = param_1;" (assignment_expression "pbVar4 = param_1" identifier = identifier) ;) (expression_statement "pbVar5 = &DAT_0029dc56;" (assignment_expression "pbVar5 = &DAT_0029dc56" identifier = (pointer_expression "&DAT_0029dc56" & identifier)) ;) (do_statement "do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar6 = *pbVar4 < *pbVar5;\n        bVar7 = *pbVar4 == *pbVar5;\n        pbVar4 = pbVar4 + 1;\n        pbVar5 = pbVar5 + 1;\n      } while (bVar7);" do (compound_statement "{\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar6 = *pbVar4 < *pbVar5;\n        bVar7 = *pbVar4 == *pbVar5;\n        pbVar4 = pbVar4 + 1;\n        pbVar5 = pbVar5 + 1;\n      }" { (if_statement "if (iVar3 == 0) break;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) (expression_statement "bVar6 = *pbVar4 < *pbVar5;" (assignment_expression "bVar6 = *pbVar4 < *pbVar5" identifier = (binary_expression "*pbVar4 < *pbVar5" (pointer_expression "*pbVar4" * identifier) < (pointer_expression "*pbVar5" * identifier))) ;) (expression_statement "bVar7 = *pbVar4 == *pbVar5;" (assignment_expression "bVar7 = *pbVar4 == *pbVar5" identifier = (binary_expression "*pbVar4 == *pbVar5" (pointer_expression "*pbVar4" * identifier) == (pointer_expression "*pbVar5" * identifier))) ;) (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" identifier = (binary_expression "pbVar4 + 1" identifier + number_literal)) ;) (expression_statement "pbVar5 = pbVar5 + 1;" (assignment_expression "pbVar5 = pbVar5 + 1" identifier = (binary_expression "pbVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar7)" ( identifier )) ;) (if_statement "if ((!bVar6 && !bVar7) == bVar6) {\n        uVar1 = *(uint *)(param_1 + 8);\n        if (param_4 !=\n            (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)) {\n                    /* WARNING: Subroutine does not return */\n          FUN_00069d00("../../gold/compressed_output.cc",0xcb,"decompress_input_section",param_1);\n        }\n        goto LAB_0019eed8;\n      }" if (parenthesized_expression "((!bVar6 && !bVar7) == bVar6)" ( (binary_expression "(!bVar6 && !bVar7) == bVar6" (parenthesized_expression "(!bVar6 && !bVar7)" ( (binary_expression "!bVar6 && !bVar7" (unary_expression "!bVar6" ! identifier) && (unary_expression "!bVar7" ! identifier)) )) == identifier) )) (compound_statement "{\n        uVar1 = *(uint *)(param_1 + 8);\n        if (param_4 !=\n            (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)) {\n                    /* WARNING: Subroutine does not return */\n          FUN_00069d00("../../gold/compressed_output.cc",0xcb,"decompress_input_section",param_1);\n        }\n        goto LAB_0019eed8;\n      }" { (expression_statement "uVar1 = *(uint *)(param_1 + 8);" (assignment_expression "uVar1 = *(uint *)(param_1 + 8)" identifier = (pointer_expression "*(uint *)(param_1 + 8)" * (cast_expression "(uint *)(param_1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (if_statement "if (param_4 !=\n            (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)) {\n                    /* WARNING: Subroutine does not return */\n          FUN_00069d00("../../gold/compressed_output.cc",0xcb,"decompress_input_section",param_1);\n        }" if (parenthesized_expression "(param_4 !=\n            (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18))" ( (binary_expression "param_4 !=\n            (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)" identifier != (parenthesized_expression "(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)" ( (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" ( (binary_expression "uVar1 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar1 << 0x18" identifier << number_literal)) ))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n          FUN_00069d00("../../gold/compressed_output.cc",0xcb,"decompress_input_section",param_1);\n        }" { comment (expression_statement "FUN_00069d00("../../gold/compressed_output.cc",0xcb,"decompress_input_section",param_1);" (call_expression "FUN_00069d00("../../gold/compressed_output.cc",0xcb,"decompress_input_section",param_1)" identifier (argument_list "("../../gold/compressed_output.cc",0xcb,"decompress_input_section",param_1)" ( (string_literal ""../../gold/compressed_output.cc"" " string_content ") , number_literal , (string_literal ""decompress_input_section"" " string_content ") , identifier ))) ;) })) (goto_statement "goto LAB_0019eed8;" goto statement_identifier ;) })) })) }) (else_clause "else {\n    if (param_5 == 0x20) {\n      iVar3 = *(int *)param_1;\n      if (param_6 != '\0') {\n        if (iVar3 != 0x1000000) {\n          return 0;\n        }\n        goto LAB_0019eed8;\n      }\n    }\n    else {\n      if (param_5 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/compressed_output.cc",0xb8,"decompress_input_section",param_2);\n      }\n      iVar3 = *(int *)param_1;\n      if (param_6 != '\0') {\n        return 0;\n      }\n    }\n    if (iVar3 == 1) {\nLAB_0019eed8:\n      uVar2 = FUN_0019e580();\n      return uVar2;\n    }\n  }" else (compound_statement "{\n    if (param_5 == 0x20) {\n      iVar3 = *(int *)param_1;\n      if (param_6 != '\0') {\n        if (iVar3 != 0x1000000) {\n          return 0;\n        }\n        goto LAB_0019eed8;\n      }\n    }\n    else {\n      if (param_5 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/compressed_output.cc",0xb8,"decompress_input_section",param_2);\n      }\n      iVar3 = *(int *)param_1;\n      if (param_6 != '\0') {\n        return 0;\n      }\n    }\n    if (iVar3 == 1) {\nLAB_0019eed8:\n      uVar2 = FUN_0019e580();\n      return uVar2;\n    }\n  }" { (if_statement "if (param_5 == 0x20) {\n      iVar3 = *(int *)param_1;\n      if (param_6 != '\0') {\n        if (iVar3 != 0x1000000) {\n          return 0;\n        }\n        goto LAB_0019eed8;\n      }\n    }\n    else {\n      if (param_5 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/compressed_output.cc",0xb8,"decompress_input_section",param_2);\n      }\n      iVar3 = *(int *)param_1;\n      if (param_6 != '\0') {\n        return 0;\n      }\n    }" if (parenthesized_expression "(param_5 == 0x20)" ( (binary_expression "param_5 == 0x20" identifier == number_literal) )) (compound_statement "{\n      iVar3 = *(int *)param_1;\n      if (param_6 != '\0') {\n        if (iVar3 != 0x1000000) {\n          return 0;\n        }\n        goto LAB_0019eed8;\n      }\n    }" { (expression_statement "iVar3 = *(int *)param_1;" (assignment_expression "iVar3 = *(int *)param_1" identifier = (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (param_6 != '\0') {\n        if (iVar3 != 0x1000000) {\n          return 0;\n        }\n        goto LAB_0019eed8;\n      }" if (parenthesized_expression "(param_6 != '\0')" ( (binary_expression "param_6 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        if (iVar3 != 0x1000000) {\n          return 0;\n        }\n        goto LAB_0019eed8;\n      }" { (if_statement "if (iVar3 != 0x1000000) {\n          return 0;\n        }" if (parenthesized_expression "(iVar3 != 0x1000000)" ( (binary_expression "iVar3 != 0x1000000" identifier != number_literal) )) (compound_statement "{\n          return 0;\n        }" { (return_statement "return 0;" return number_literal ;) })) (goto_statement "goto LAB_0019eed8;" goto statement_identifier ;) })) }) (else_clause "else {\n      if (param_5 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/compressed_output.cc",0xb8,"decompress_input_section",param_2);\n      }\n      iVar3 = *(int *)param_1;\n      if (param_6 != '\0') {\n        return 0;\n      }\n    }" else (compound_statement "{\n      if (param_5 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/compressed_output.cc",0xb8,"decompress_input_section",param_2);\n      }\n      iVar3 = *(int *)param_1;\n      if (param_6 != '\0') {\n        return 0;\n      }\n    }" { (if_statement "if (param_5 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/compressed_output.cc",0xb8,"decompress_input_section",param_2);\n      }" if (parenthesized_expression "(param_5 != 0x40)" ( (binary_expression "param_5 != 0x40" identifier != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/compressed_output.cc",0xb8,"decompress_input_section",param_2);\n      }" { comment (expression_statement "FUN_00069d00("../../gold/compressed_output.cc",0xb8,"decompress_input_section",param_2);" (call_expression "FUN_00069d00("../../gold/compressed_output.cc",0xb8,"decompress_input_section",param_2)" identifier (argument_list "("../../gold/compressed_output.cc",0xb8,"decompress_input_section",param_2)" ( (string_literal ""../../gold/compressed_output.cc"" " string_content ") , number_literal , (string_literal ""decompress_input_section"" " string_content ") , identifier ))) ;) })) (expression_statement "iVar3 = *(int *)param_1;" (assignment_expression "iVar3 = *(int *)param_1" identifier = (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (param_6 != '\0') {\n        return 0;\n      }" if (parenthesized_expression "(param_6 != '\0')" ( (binary_expression "param_6 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) }))) (if_statement "if (iVar3 == 1) {\nLAB_0019eed8:\n      uVar2 = FUN_0019e580();\n      return uVar2;\n    }" if (parenthesized_expression "(iVar3 == 1)" ( (binary_expression "iVar3 == 1" identifier == number_literal) )) (compound_statement "{\nLAB_0019eed8:\n      uVar2 = FUN_0019e580();\n      return uVar2;\n    }" { (labeled_statement "LAB_0019eed8:\n      uVar2 = FUN_0019e580();" statement_identifier : (expression_statement "uVar2 = FUN_0019e580();" (assignment_expression "uVar2 = FUN_0019e580()" identifier = (call_expression "FUN_0019e580()" identifier (argument_list "()" ( )))) ;)) (return_statement "return uVar2;" return identifier ;) })) }))) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nbool gold::decompress_input_section\n               (uchar *compressed_data,ulong compressed_size,uchar *uncompressed_data,\n               ulong uncompressed_size,int size,bool big_endian,Elf_Xword sh_flags)\n\n{\n  uint uVar1;\n  int iVar2;\n  bool bVar3;\n  uchar *compressed_data_00;\n  int iVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  bool bVar7;\n  \n  if ((sh_flags & 0x800) != 0) {\n    if (size == 0x20) {\n      if (big_endian) {\n        if (*(int *)compressed_data != 0x1000000) {\n          return false;\n        }\n      }\n      else if (*(int *)compressed_data != 1) {\n        return false;\n      }\n      iVar4 = 0xc;\n    }\n    else {\n      if (size != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/compressed_output.cc",0xb8,"decompress_input_section");\n      }\n      if (big_endian) {\n        return false;\n      }\n      iVar4 = 0x18;\n      if (*(int *)compressed_data != 1) {\n        return false;\n      }\n    }\n    iVar2 = -iVar4;\n    compressed_data_00 = compressed_data + iVar4;\nLAB_0019eed8:\n    bVar3 = zlib_decompress(compressed_data_00,compressed_size + iVar2,uncompressed_data,\n                            uncompressed_size);\n    return bVar3;\n  }\n  bVar3 = compressed_size < 0xb;\n  bVar7 = compressed_size == 0xb;\n  if (0xb < compressed_size) {\n    iVar4 = 4;\n    pbVar5 = compressed_data;\n    pbVar6 = &DAT_0029dc56;\n    do {\n      if (iVar4 == 0) break;\n      iVar4 = iVar4 + -1;\n      bVar3 = *pbVar5 < *pbVar6;\n      bVar7 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + 1;\n      pbVar6 = pbVar6 + 1;\n    } while (bVar7);\n    if ((!bVar3 && !bVar7) == bVar3) {\n      uVar1 = *(uint *)(compressed_data + 8);\n      if (uncompressed_size !=\n          (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/compressed_output.cc",0xcb,"decompress_input_section");\n      }\n      iVar2 = -0xc;\n      compressed_data_00 = compressed_data + 0xc;\n      goto LAB_0019eed8;\n    }\n  }\n  return false;\n}\n\n" comment (function_definition "bool gold::decompress_input_section\n               (uchar *compressed_data,ulong compressed_size,uchar *uncompressed_data,\n               ulong uncompressed_size,int size,bool big_endian,Elf_Xword sh_flags)\n\n{\n  uint uVar1;\n  int iVar2;\n  bool bVar3;\n  uchar *compressed_data_00;\n  int iVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  bool bVar7;\n  \n  if ((sh_flags & 0x800) != 0) {\n    if (size == 0x20) {\n      if (big_endian) {\n        if (*(int *)compressed_data != 0x1000000) {\n          return false;\n        }\n      }\n      else if (*(int *)compressed_data != 1) {\n        return false;\n      }\n      iVar4 = 0xc;\n    }\n    else {\n      if (size != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/compressed_output.cc",0xb8,"decompress_input_section");\n      }\n      if (big_endian) {\n        return false;\n      }\n      iVar4 = 0x18;\n      if (*(int *)compressed_data != 1) {\n        return false;\n      }\n    }\n    iVar2 = -iVar4;\n    compressed_data_00 = compressed_data + iVar4;\nLAB_0019eed8:\n    bVar3 = zlib_decompress(compressed_data_00,compressed_size + iVar2,uncompressed_data,\n                            uncompressed_size);\n    return bVar3;\n  }\n  bVar3 = compressed_size < 0xb;\n  bVar7 = compressed_size == 0xb;\n  if (0xb < compressed_size) {\n    iVar4 = 4;\n    pbVar5 = compressed_data;\n    pbVar6 = &DAT_0029dc56;\n    do {\n      if (iVar4 == 0) break;\n      iVar4 = iVar4 + -1;\n      bVar3 = *pbVar5 < *pbVar6;\n      bVar7 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + 1;\n      pbVar6 = pbVar6 + 1;\n    } while (bVar7);\n    if ((!bVar3 && !bVar7) == bVar3) {\n      uVar1 = *(uint *)(compressed_data + 8);\n      if (uncompressed_size !=\n          (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/compressed_output.cc",0xcb,"decompress_input_section");\n      }\n      iVar2 = -0xc;\n      compressed_data_00 = compressed_data + 0xc;\n      goto LAB_0019eed8;\n    }\n  }\n  return false;\n}" primitive_type (ERROR "gold::" identifier : :) (function_declarator "decompress_input_section\n               (uchar *compressed_data,ulong compressed_size,uchar *uncompressed_data,\n               ulong uncompressed_size,int size,bool big_endian,Elf_Xword sh_flags)" identifier (parameter_list "(uchar *compressed_data,ulong compressed_size,uchar *uncompressed_data,\n               ulong uncompressed_size,int size,bool big_endian,Elf_Xword sh_flags)" ( (parameter_declaration "uchar *compressed_data" type_identifier (pointer_declarator "*compressed_data" * identifier)) , (parameter_declaration "ulong compressed_size" type_identifier identifier) , (parameter_declaration "uchar *uncompressed_data" type_identifier (pointer_declarator "*uncompressed_data" * identifier)) , (parameter_declaration "ulong uncompressed_size" type_identifier identifier) , (parameter_declaration "int size" primitive_type identifier) , (parameter_declaration "bool big_endian" primitive_type identifier) , (parameter_declaration "Elf_Xword sh_flags" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  bool bVar3;\n  uchar *compressed_data_00;\n  int iVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  bool bVar7;\n  \n  if ((sh_flags & 0x800) != 0) {\n    if (size == 0x20) {\n      if (big_endian) {\n        if (*(int *)compressed_data != 0x1000000) {\n          return false;\n        }\n      }\n      else if (*(int *)compressed_data != 1) {\n        return false;\n      }\n      iVar4 = 0xc;\n    }\n    else {\n      if (size != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/compressed_output.cc",0xb8,"decompress_input_section");\n      }\n      if (big_endian) {\n        return false;\n      }\n      iVar4 = 0x18;\n      if (*(int *)compressed_data != 1) {\n        return false;\n      }\n    }\n    iVar2 = -iVar4;\n    compressed_data_00 = compressed_data + iVar4;\nLAB_0019eed8:\n    bVar3 = zlib_decompress(compressed_data_00,compressed_size + iVar2,uncompressed_data,\n                            uncompressed_size);\n    return bVar3;\n  }\n  bVar3 = compressed_size < 0xb;\n  bVar7 = compressed_size == 0xb;\n  if (0xb < compressed_size) {\n    iVar4 = 4;\n    pbVar5 = compressed_data;\n    pbVar6 = &DAT_0029dc56;\n    do {\n      if (iVar4 == 0) break;\n      iVar4 = iVar4 + -1;\n      bVar3 = *pbVar5 < *pbVar6;\n      bVar7 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + 1;\n      pbVar6 = pbVar6 + 1;\n    } while (bVar7);\n    if ((!bVar3 && !bVar7) == bVar3) {\n      uVar1 = *(uint *)(compressed_data + 8);\n      if (uncompressed_size !=\n          (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/compressed_output.cc",0xcb,"decompress_input_section");\n      }\n      iVar2 = -0xc;\n      compressed_data_00 = compressed_data + 0xc;\n      goto LAB_0019eed8;\n    }\n  }\n  return false;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (declaration "uchar *compressed_data_00;" type_identifier (pointer_declarator "*compressed_data_00" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "bool bVar7;" primitive_type identifier ;) (if_statement "if ((sh_flags & 0x800) != 0) {\n    if (size == 0x20) {\n      if (big_endian) {\n        if (*(int *)compressed_data != 0x1000000) {\n          return false;\n        }\n      }\n      else if (*(int *)compressed_data != 1) {\n        return false;\n      }\n      iVar4 = 0xc;\n    }\n    else {\n      if (size != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/compressed_output.cc",0xb8,"decompress_input_section");\n      }\n      if (big_endian) {\n        return false;\n      }\n      iVar4 = 0x18;\n      if (*(int *)compressed_data != 1) {\n        return false;\n      }\n    }\n    iVar2 = -iVar4;\n    compressed_data_00 = compressed_data + iVar4;\nLAB_0019eed8:\n    bVar3 = zlib_decompress(compressed_data_00,compressed_size + iVar2,uncompressed_data,\n                            uncompressed_size);\n    return bVar3;\n  }" if (parenthesized_expression "((sh_flags & 0x800) != 0)" ( (binary_expression "(sh_flags & 0x800) != 0" (parenthesized_expression "(sh_flags & 0x800)" ( (binary_expression "sh_flags & 0x800" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    if (size == 0x20) {\n      if (big_endian) {\n        if (*(int *)compressed_data != 0x1000000) {\n          return false;\n        }\n      }\n      else if (*(int *)compressed_data != 1) {\n        return false;\n      }\n      iVar4 = 0xc;\n    }\n    else {\n      if (size != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/compressed_output.cc",0xb8,"decompress_input_section");\n      }\n      if (big_endian) {\n        return false;\n      }\n      iVar4 = 0x18;\n      if (*(int *)compressed_data != 1) {\n        return false;\n      }\n    }\n    iVar2 = -iVar4;\n    compressed_data_00 = compressed_data + iVar4;\nLAB_0019eed8:\n    bVar3 = zlib_decompress(compressed_data_00,compressed_size + iVar2,uncompressed_data,\n                            uncompressed_size);\n    return bVar3;\n  }" { (if_statement "if (size == 0x20) {\n      if (big_endian) {\n        if (*(int *)compressed_data != 0x1000000) {\n          return false;\n        }\n      }\n      else if (*(int *)compressed_data != 1) {\n        return false;\n      }\n      iVar4 = 0xc;\n    }\n    else {\n      if (size != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/compressed_output.cc",0xb8,"decompress_input_section");\n      }\n      if (big_endian) {\n        return false;\n      }\n      iVar4 = 0x18;\n      if (*(int *)compressed_data != 1) {\n        return false;\n      }\n    }" if (parenthesized_expression "(size == 0x20)" ( (binary_expression "size == 0x20" identifier == number_literal) )) (compound_statement "{\n      if (big_endian) {\n        if (*(int *)compressed_data != 0x1000000) {\n          return false;\n        }\n      }\n      else if (*(int *)compressed_data != 1) {\n        return false;\n      }\n      iVar4 = 0xc;\n    }" { (if_statement "if (big_endian) {\n        if (*(int *)compressed_data != 0x1000000) {\n          return false;\n        }\n      }\n      else if (*(int *)compressed_data != 1) {\n        return false;\n      }" if (parenthesized_expression "(big_endian)" ( identifier )) (compound_statement "{\n        if (*(int *)compressed_data != 0x1000000) {\n          return false;\n        }\n      }" { (if_statement "if (*(int *)compressed_data != 0x1000000) {\n          return false;\n        }" if (parenthesized_expression "(*(int *)compressed_data != 0x1000000)" ( (binary_expression "*(int *)compressed_data != 0x1000000" (pointer_expression "*(int *)compressed_data" * (cast_expression "(int *)compressed_data" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) )) (compound_statement "{\n          return false;\n        }" { (return_statement "return false;" return false ;) })) }) (else_clause "else if (*(int *)compressed_data != 1) {\n        return false;\n      }" else (if_statement "if (*(int *)compressed_data != 1) {\n        return false;\n      }" if (parenthesized_expression "(*(int *)compressed_data != 1)" ( (binary_expression "*(int *)compressed_data != 1" (pointer_expression "*(int *)compressed_data" * (cast_expression "(int *)compressed_data" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) )) (compound_statement "{\n        return false;\n      }" { (return_statement "return false;" return false ;) })))) (expression_statement "iVar4 = 0xc;" (assignment_expression "iVar4 = 0xc" identifier = number_literal) ;) }) (else_clause "else {\n      if (size != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/compressed_output.cc",0xb8,"decompress_input_section");\n      }\n      if (big_endian) {\n        return false;\n      }\n      iVar4 = 0x18;\n      if (*(int *)compressed_data != 1) {\n        return false;\n      }\n    }" else (compound_statement "{\n      if (size != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/compressed_output.cc",0xb8,"decompress_input_section");\n      }\n      if (big_endian) {\n        return false;\n      }\n      iVar4 = 0x18;\n      if (*(int *)compressed_data != 1) {\n        return false;\n      }\n    }" { (if_statement "if (size != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/compressed_output.cc",0xb8,"decompress_input_section");\n      }" if (parenthesized_expression "(size != 0x40)" ( (binary_expression "size != 0x40" identifier != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/compressed_output.cc",0xb8,"decompress_input_section");\n      }" { comment (expression_statement "do_gold_unreachable("../../gold/compressed_output.cc",0xb8,"decompress_input_section");" (call_expression "do_gold_unreachable("../../gold/compressed_output.cc",0xb8,"decompress_input_section")" identifier (argument_list "("../../gold/compressed_output.cc",0xb8,"decompress_input_section")" ( (string_literal ""../../gold/compressed_output.cc"" " string_content ") , number_literal , (string_literal ""decompress_input_section"" " string_content ") ))) ;) })) (if_statement "if (big_endian) {\n        return false;\n      }" if (parenthesized_expression "(big_endian)" ( identifier )) (compound_statement "{\n        return false;\n      }" { (return_statement "return false;" return false ;) })) (expression_statement "iVar4 = 0x18;" (assignment_expression "iVar4 = 0x18" identifier = number_literal) ;) (if_statement "if (*(int *)compressed_data != 1) {\n        return false;\n      }" if (parenthesized_expression "(*(int *)compressed_data != 1)" ( (binary_expression "*(int *)compressed_data != 1" (pointer_expression "*(int *)compressed_data" * (cast_expression "(int *)compressed_data" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) )) (compound_statement "{\n        return false;\n      }" { (return_statement "return false;" return false ;) })) }))) (expression_statement "iVar2 = -iVar4;" (assignment_expression "iVar2 = -iVar4" identifier = (unary_expression "-iVar4" - identifier)) ;) (expression_statement "compressed_data_00 = compressed_data + iVar4;" (assignment_expression "compressed_data_00 = compressed_data + iVar4" identifier = (binary_expression "compressed_data + iVar4" identifier + identifier)) ;) (labeled_statement "LAB_0019eed8:\n    bVar3 = zlib_decompress(compressed_data_00,compressed_size + iVar2,uncompressed_data,\n                            uncompressed_size);" statement_identifier : (expression_statement "bVar3 = zlib_decompress(compressed_data_00,compressed_size + iVar2,uncompressed_data,\n                            uncompressed_size);" (assignment_expression "bVar3 = zlib_decompress(compressed_data_00,compressed_size + iVar2,uncompressed_data,\n                            uncompressed_size)" identifier = (call_expression "zlib_decompress(compressed_data_00,compressed_size + iVar2,uncompressed_data,\n                            uncompressed_size)" identifier (argument_list "(compressed_data_00,compressed_size + iVar2,uncompressed_data,\n                            uncompressed_size)" ( identifier , (binary_expression "compressed_size + iVar2" identifier + identifier) , identifier , identifier )))) ;)) (return_statement "return bVar3;" return identifier ;) })) (expression_statement "bVar3 = compressed_size < 0xb;" (assignment_expression "bVar3 = compressed_size < 0xb" identifier = (binary_expression "compressed_size < 0xb" identifier < number_literal)) ;) (expression_statement "bVar7 = compressed_size == 0xb;" (assignment_expression "bVar7 = compressed_size == 0xb" identifier = (binary_expression "compressed_size == 0xb" identifier == number_literal)) ;) (if_statement "if (0xb < compressed_size) {\n    iVar4 = 4;\n    pbVar5 = compressed_data;\n    pbVar6 = &DAT_0029dc56;\n    do {\n      if (iVar4 == 0) break;\n      iVar4 = iVar4 + -1;\n      bVar3 = *pbVar5 < *pbVar6;\n      bVar7 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + 1;\n      pbVar6 = pbVar6 + 1;\n    } while (bVar7);\n    if ((!bVar3 && !bVar7) == bVar3) {\n      uVar1 = *(uint *)(compressed_data + 8);\n      if (uncompressed_size !=\n          (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/compressed_output.cc",0xcb,"decompress_input_section");\n      }\n      iVar2 = -0xc;\n      compressed_data_00 = compressed_data + 0xc;\n      goto LAB_0019eed8;\n    }\n  }" if (parenthesized_expression "(0xb < compressed_size)" ( (binary_expression "0xb < compressed_size" number_literal < identifier) )) (compound_statement "{\n    iVar4 = 4;\n    pbVar5 = compressed_data;\n    pbVar6 = &DAT_0029dc56;\n    do {\n      if (iVar4 == 0) break;\n      iVar4 = iVar4 + -1;\n      bVar3 = *pbVar5 < *pbVar6;\n      bVar7 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + 1;\n      pbVar6 = pbVar6 + 1;\n    } while (bVar7);\n    if ((!bVar3 && !bVar7) == bVar3) {\n      uVar1 = *(uint *)(compressed_data + 8);\n      if (uncompressed_size !=\n          (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/compressed_output.cc",0xcb,"decompress_input_section");\n      }\n      iVar2 = -0xc;\n      compressed_data_00 = compressed_data + 0xc;\n      goto LAB_0019eed8;\n    }\n  }" { (expression_statement "iVar4 = 4;" (assignment_expression "iVar4 = 4" identifier = number_literal) ;) (expression_statement "pbVar5 = compressed_data;" (assignment_expression "pbVar5 = compressed_data" identifier = identifier) ;) (expression_statement "pbVar6 = &DAT_0029dc56;" (assignment_expression "pbVar6 = &DAT_0029dc56" identifier = (pointer_expression "&DAT_0029dc56" & identifier)) ;) (do_statement "do {\n      if (iVar4 == 0) break;\n      iVar4 = iVar4 + -1;\n      bVar3 = *pbVar5 < *pbVar6;\n      bVar7 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + 1;\n      pbVar6 = pbVar6 + 1;\n    } while (bVar7);" do (compound_statement "{\n      if (iVar4 == 0) break;\n      iVar4 = iVar4 + -1;\n      bVar3 = *pbVar5 < *pbVar6;\n      bVar7 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + 1;\n      pbVar6 = pbVar6 + 1;\n    }" { (if_statement "if (iVar4 == 0) break;" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "bVar3 = *pbVar5 < *pbVar6;" (assignment_expression "bVar3 = *pbVar5 < *pbVar6" identifier = (binary_expression "*pbVar5 < *pbVar6" (pointer_expression "*pbVar5" * identifier) < (pointer_expression "*pbVar6" * identifier))) ;) (expression_statement "bVar7 = *pbVar5 == *pbVar6;" (assignment_expression "bVar7 = *pbVar5 == *pbVar6" identifier = (binary_expression "*pbVar5 == *pbVar6" (pointer_expression "*pbVar5" * identifier) == (pointer_expression "*pbVar6" * identifier))) ;) (expression_statement "pbVar5 = pbVar5 + 1;" (assignment_expression "pbVar5 = pbVar5 + 1" identifier = (binary_expression "pbVar5 + 1" identifier + number_literal)) ;) (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar7)" ( identifier )) ;) (if_statement "if ((!bVar3 && !bVar7) == bVar3) {\n      uVar1 = *(uint *)(compressed_data + 8);\n      if (uncompressed_size !=\n          (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/compressed_output.cc",0xcb,"decompress_input_section");\n      }\n      iVar2 = -0xc;\n      compressed_data_00 = compressed_data + 0xc;\n      goto LAB_0019eed8;\n    }" if (parenthesized_expression "((!bVar3 && !bVar7) == bVar3)" ( (binary_expression "(!bVar3 && !bVar7) == bVar3" (parenthesized_expression "(!bVar3 && !bVar7)" ( (binary_expression "!bVar3 && !bVar7" (unary_expression "!bVar3" ! identifier) && (unary_expression "!bVar7" ! identifier)) )) == identifier) )) (compound_statement "{\n      uVar1 = *(uint *)(compressed_data + 8);\n      if (uncompressed_size !=\n          (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/compressed_output.cc",0xcb,"decompress_input_section");\n      }\n      iVar2 = -0xc;\n      compressed_data_00 = compressed_data + 0xc;\n      goto LAB_0019eed8;\n    }" { (expression_statement "uVar1 = *(uint *)(compressed_data + 8);" (assignment_expression "uVar1 = *(uint *)(compressed_data + 8)" identifier = (pointer_expression "*(uint *)(compressed_data + 8)" * (cast_expression "(uint *)(compressed_data + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(compressed_data + 8)" ( (binary_expression "compressed_data + 8" identifier + number_literal) ))))) ;) (if_statement "if (uncompressed_size !=\n          (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/compressed_output.cc",0xcb,"decompress_input_section");\n      }" if (parenthesized_expression "(uncompressed_size !=\n          (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18))" ( (binary_expression "uncompressed_size !=\n          (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)" identifier != (parenthesized_expression "(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)" ( (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" ( (binary_expression "uVar1 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar1 << 0x18" identifier << number_literal)) ))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/compressed_output.cc",0xcb,"decompress_input_section");\n      }" { comment (expression_statement "do_gold_unreachable("../../gold/compressed_output.cc",0xcb,"decompress_input_section");" (call_expression "do_gold_unreachable("../../gold/compressed_output.cc",0xcb,"decompress_input_section")" identifier (argument_list "("../../gold/compressed_output.cc",0xcb,"decompress_input_section")" ( (string_literal ""../../gold/compressed_output.cc"" " string_content ") , number_literal , (string_literal ""decompress_input_section"" " string_content ") ))) ;) })) (expression_statement "iVar2 = -0xc;" (assignment_expression "iVar2 = -0xc" identifier = number_literal) ;) (expression_statement "compressed_data_00 = compressed_data + 0xc;" (assignment_expression "compressed_data_00 = compressed_data + 0xc" identifier = (binary_expression "compressed_data + 0xc" identifier + number_literal)) ;) (goto_statement "goto LAB_0019eed8;" goto statement_identifier ;) })) })) (return_statement "return false;" return false ;) })))
(translation_unit "undefined4\nFUN_0019ee80(byte *param_1,uint param_2,undefined4 param_3,uint param_4,int param_5,char param_6,\n            uint param_7)\n\n{\n  uint uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  byte *pbVar4;\n  byte *pbVar5;\n  bool bVar6;\n  bool bVar7;\n  \n  if ((param_7 & 0x800) == 0) {\n    bVar6 = param_2 < 0xb;\n    bVar7 = param_2 == 0xb;\n    if (0xb < param_2) {\n      iVar3 = 4;\n      pbVar4 = param_1;\n      pbVar5 = &DAT_0029dc56;\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar6 = *pbVar4 < *pbVar5;\n        bVar7 = *pbVar4 == *pbVar5;\n        pbVar4 = pbVar4 + 1;\n        pbVar5 = pbVar5 + 1;\n      } while (bVar7);\n      if ((!bVar6 && !bVar7) == bVar6) {\n        uVar1 = *(uint *)(param_1 + 8);\n        if (param_4 !=\n            (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)) {\n                    \n          FUN_00069d00("../../gold/compressed_output.cc",0xcb,"decompress_input_section",param_1);\n        }\n        goto LAB_0019eed8;\n      }\n    }\n  }\n  else {\n    if (param_5 == 0x20) {\n      iVar3 = *(int *)param_1;\n      if (param_6 != '\0') {\n        if (iVar3 != 0x1000000) {\n          return 0;\n        }\n        goto LAB_0019eed8;\n      }\n    }\n    else {\n      if (param_5 != 0x40) {\n                    \n        FUN_00069d00("../../gold/compressed_output.cc",0xb8,"decompress_input_section",param_2);\n      }\n      iVar3 = *(int *)param_1;\n      if (param_6 != '\0') {\n        return 0;\n      }\n    }\n    if (iVar3 == 1) {\nLAB_0019eed8:\n      uVar2 = FUN_0019e580();\n      return uVar2;\n    }\n  }\n  return 0;\n}\n\n" (function_definition "undefined4\nFUN_0019ee80(byte *param_1,uint param_2,undefined4 param_3,uint param_4,int param_5,char param_6,\n            uint param_7)\n\n{\n  uint uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  byte *pbVar4;\n  byte *pbVar5;\n  bool bVar6;\n  bool bVar7;\n  \n  if ((param_7 & 0x800) == 0) {\n    bVar6 = param_2 < 0xb;\n    bVar7 = param_2 == 0xb;\n    if (0xb < param_2) {\n      iVar3 = 4;\n      pbVar4 = param_1;\n      pbVar5 = &DAT_0029dc56;\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar6 = *pbVar4 < *pbVar5;\n        bVar7 = *pbVar4 == *pbVar5;\n        pbVar4 = pbVar4 + 1;\n        pbVar5 = pbVar5 + 1;\n      } while (bVar7);\n      if ((!bVar6 && !bVar7) == bVar6) {\n        uVar1 = *(uint *)(param_1 + 8);\n        if (param_4 !=\n            (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)) {\n                    \n          FUN_00069d00("../../gold/compressed_output.cc",0xcb,"decompress_input_section",param_1);\n        }\n        goto LAB_0019eed8;\n      }\n    }\n  }\n  else {\n    if (param_5 == 0x20) {\n      iVar3 = *(int *)param_1;\n      if (param_6 != '\0') {\n        if (iVar3 != 0x1000000) {\n          return 0;\n        }\n        goto LAB_0019eed8;\n      }\n    }\n    else {\n      if (param_5 != 0x40) {\n                    \n        FUN_00069d00("../../gold/compressed_output.cc",0xb8,"decompress_input_section",param_2);\n      }\n      iVar3 = *(int *)param_1;\n      if (param_6 != '\0') {\n        return 0;\n      }\n    }\n    if (iVar3 == 1) {\nLAB_0019eed8:\n      uVar2 = FUN_0019e580();\n      return uVar2;\n    }\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_0019ee80(byte *param_1,uint param_2,undefined4 param_3,uint param_4,int param_5,char param_6,\n            uint param_7)" identifier (parameter_list "(byte *param_1,uint param_2,undefined4 param_3,uint param_4,int param_5,char param_6,\n            uint param_7)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "uint param_4" type_identifier identifier) , (parameter_declaration "int param_5" primitive_type identifier) , (parameter_declaration "char param_6" primitive_type identifier) , (parameter_declaration "uint param_7" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  byte *pbVar4;\n  byte *pbVar5;\n  bool bVar6;\n  bool bVar7;\n  \n  if ((param_7 & 0x800) == 0) {\n    bVar6 = param_2 < 0xb;\n    bVar7 = param_2 == 0xb;\n    if (0xb < param_2) {\n      iVar3 = 4;\n      pbVar4 = param_1;\n      pbVar5 = &DAT_0029dc56;\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar6 = *pbVar4 < *pbVar5;\n        bVar7 = *pbVar4 == *pbVar5;\n        pbVar4 = pbVar4 + 1;\n        pbVar5 = pbVar5 + 1;\n      } while (bVar7);\n      if ((!bVar6 && !bVar7) == bVar6) {\n        uVar1 = *(uint *)(param_1 + 8);\n        if (param_4 !=\n            (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)) {\n                    \n          FUN_00069d00("../../gold/compressed_output.cc",0xcb,"decompress_input_section",param_1);\n        }\n        goto LAB_0019eed8;\n      }\n    }\n  }\n  else {\n    if (param_5 == 0x20) {\n      iVar3 = *(int *)param_1;\n      if (param_6 != '\0') {\n        if (iVar3 != 0x1000000) {\n          return 0;\n        }\n        goto LAB_0019eed8;\n      }\n    }\n    else {\n      if (param_5 != 0x40) {\n                    \n        FUN_00069d00("../../gold/compressed_output.cc",0xb8,"decompress_input_section",param_2);\n      }\n      iVar3 = *(int *)param_1;\n      if (param_6 != '\0') {\n        return 0;\n      }\n    }\n    if (iVar3 == 1) {\nLAB_0019eed8:\n      uVar2 = FUN_0019e580();\n      return uVar2;\n    }\n  }\n  return 0;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (declaration "bool bVar6;" primitive_type identifier ;) (declaration "bool bVar7;" primitive_type identifier ;) (if_statement "if ((param_7 & 0x800) == 0) {\n    bVar6 = param_2 < 0xb;\n    bVar7 = param_2 == 0xb;\n    if (0xb < param_2) {\n      iVar3 = 4;\n      pbVar4 = param_1;\n      pbVar5 = &DAT_0029dc56;\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar6 = *pbVar4 < *pbVar5;\n        bVar7 = *pbVar4 == *pbVar5;\n        pbVar4 = pbVar4 + 1;\n        pbVar5 = pbVar5 + 1;\n      } while (bVar7);\n      if ((!bVar6 && !bVar7) == bVar6) {\n        uVar1 = *(uint *)(param_1 + 8);\n        if (param_4 !=\n            (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)) {\n                    \n          FUN_00069d00("../../gold/compressed_output.cc",0xcb,"decompress_input_section",param_1);\n        }\n        goto LAB_0019eed8;\n      }\n    }\n  }\n  else {\n    if (param_5 == 0x20) {\n      iVar3 = *(int *)param_1;\n      if (param_6 != '\0') {\n        if (iVar3 != 0x1000000) {\n          return 0;\n        }\n        goto LAB_0019eed8;\n      }\n    }\n    else {\n      if (param_5 != 0x40) {\n                    \n        FUN_00069d00("../../gold/compressed_output.cc",0xb8,"decompress_input_section",param_2);\n      }\n      iVar3 = *(int *)param_1;\n      if (param_6 != '\0') {\n        return 0;\n      }\n    }\n    if (iVar3 == 1) {\nLAB_0019eed8:\n      uVar2 = FUN_0019e580();\n      return uVar2;\n    }\n  }" if (parenthesized_expression "((param_7 & 0x800) == 0)" ( (binary_expression "(param_7 & 0x800) == 0" (parenthesized_expression "(param_7 & 0x800)" ( (binary_expression "param_7 & 0x800" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    bVar6 = param_2 < 0xb;\n    bVar7 = param_2 == 0xb;\n    if (0xb < param_2) {\n      iVar3 = 4;\n      pbVar4 = param_1;\n      pbVar5 = &DAT_0029dc56;\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar6 = *pbVar4 < *pbVar5;\n        bVar7 = *pbVar4 == *pbVar5;\n        pbVar4 = pbVar4 + 1;\n        pbVar5 = pbVar5 + 1;\n      } while (bVar7);\n      if ((!bVar6 && !bVar7) == bVar6) {\n        uVar1 = *(uint *)(param_1 + 8);\n        if (param_4 !=\n            (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)) {\n                    \n          FUN_00069d00("../../gold/compressed_output.cc",0xcb,"decompress_input_section",param_1);\n        }\n        goto LAB_0019eed8;\n      }\n    }\n  }" { (expression_statement "bVar6 = param_2 < 0xb;" (assignment_expression "bVar6 = param_2 < 0xb" identifier = (binary_expression "param_2 < 0xb" identifier < number_literal)) ;) (expression_statement "bVar7 = param_2 == 0xb;" (assignment_expression "bVar7 = param_2 == 0xb" identifier = (binary_expression "param_2 == 0xb" identifier == number_literal)) ;) (if_statement "if (0xb < param_2) {\n      iVar3 = 4;\n      pbVar4 = param_1;\n      pbVar5 = &DAT_0029dc56;\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar6 = *pbVar4 < *pbVar5;\n        bVar7 = *pbVar4 == *pbVar5;\n        pbVar4 = pbVar4 + 1;\n        pbVar5 = pbVar5 + 1;\n      } while (bVar7);\n      if ((!bVar6 && !bVar7) == bVar6) {\n        uVar1 = *(uint *)(param_1 + 8);\n        if (param_4 !=\n            (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)) {\n                    \n          FUN_00069d00("../../gold/compressed_output.cc",0xcb,"decompress_input_section",param_1);\n        }\n        goto LAB_0019eed8;\n      }\n    }" if (parenthesized_expression "(0xb < param_2)" ( (binary_expression "0xb < param_2" number_literal < identifier) )) (compound_statement "{\n      iVar3 = 4;\n      pbVar4 = param_1;\n      pbVar5 = &DAT_0029dc56;\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar6 = *pbVar4 < *pbVar5;\n        bVar7 = *pbVar4 == *pbVar5;\n        pbVar4 = pbVar4 + 1;\n        pbVar5 = pbVar5 + 1;\n      } while (bVar7);\n      if ((!bVar6 && !bVar7) == bVar6) {\n        uVar1 = *(uint *)(param_1 + 8);\n        if (param_4 !=\n            (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)) {\n                    \n          FUN_00069d00("../../gold/compressed_output.cc",0xcb,"decompress_input_section",param_1);\n        }\n        goto LAB_0019eed8;\n      }\n    }" { (expression_statement "iVar3 = 4;" (assignment_expression "iVar3 = 4" identifier = number_literal) ;) (expression_statement "pbVar4 = param_1;" (assignment_expression "pbVar4 = param_1" identifier = identifier) ;) (expression_statement "pbVar5 = &DAT_0029dc56;" (assignment_expression "pbVar5 = &DAT_0029dc56" identifier = (pointer_expression "&DAT_0029dc56" & identifier)) ;) (do_statement "do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar6 = *pbVar4 < *pbVar5;\n        bVar7 = *pbVar4 == *pbVar5;\n        pbVar4 = pbVar4 + 1;\n        pbVar5 = pbVar5 + 1;\n      } while (bVar7);" do (compound_statement "{\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar6 = *pbVar4 < *pbVar5;\n        bVar7 = *pbVar4 == *pbVar5;\n        pbVar4 = pbVar4 + 1;\n        pbVar5 = pbVar5 + 1;\n      }" { (if_statement "if (iVar3 == 0) break;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) (expression_statement "bVar6 = *pbVar4 < *pbVar5;" (assignment_expression "bVar6 = *pbVar4 < *pbVar5" identifier = (binary_expression "*pbVar4 < *pbVar5" (pointer_expression "*pbVar4" * identifier) < (pointer_expression "*pbVar5" * identifier))) ;) (expression_statement "bVar7 = *pbVar4 == *pbVar5;" (assignment_expression "bVar7 = *pbVar4 == *pbVar5" identifier = (binary_expression "*pbVar4 == *pbVar5" (pointer_expression "*pbVar4" * identifier) == (pointer_expression "*pbVar5" * identifier))) ;) (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" identifier = (binary_expression "pbVar4 + 1" identifier + number_literal)) ;) (expression_statement "pbVar5 = pbVar5 + 1;" (assignment_expression "pbVar5 = pbVar5 + 1" identifier = (binary_expression "pbVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar7)" ( identifier )) ;) (if_statement "if ((!bVar6 && !bVar7) == bVar6) {\n        uVar1 = *(uint *)(param_1 + 8);\n        if (param_4 !=\n            (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)) {\n                    \n          FUN_00069d00("../../gold/compressed_output.cc",0xcb,"decompress_input_section",param_1);\n        }\n        goto LAB_0019eed8;\n      }" if (parenthesized_expression "((!bVar6 && !bVar7) == bVar6)" ( (binary_expression "(!bVar6 && !bVar7) == bVar6" (parenthesized_expression "(!bVar6 && !bVar7)" ( (binary_expression "!bVar6 && !bVar7" (unary_expression "!bVar6" ! identifier) && (unary_expression "!bVar7" ! identifier)) )) == identifier) )) (compound_statement "{\n        uVar1 = *(uint *)(param_1 + 8);\n        if (param_4 !=\n            (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)) {\n                    \n          FUN_00069d00("../../gold/compressed_output.cc",0xcb,"decompress_input_section",param_1);\n        }\n        goto LAB_0019eed8;\n      }" { (expression_statement "uVar1 = *(uint *)(param_1 + 8);" (assignment_expression "uVar1 = *(uint *)(param_1 + 8)" identifier = (pointer_expression "*(uint *)(param_1 + 8)" * (cast_expression "(uint *)(param_1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (if_statement "if (param_4 !=\n            (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)) {\n                    \n          FUN_00069d00("../../gold/compressed_output.cc",0xcb,"decompress_input_section",param_1);\n        }" if (parenthesized_expression "(param_4 !=\n            (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18))" ( (binary_expression "param_4 !=\n            (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)" identifier != (parenthesized_expression "(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)" ( (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" ( (binary_expression "uVar1 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar1 << 0x18" identifier << number_literal)) ))) )) (compound_statement "{\n                    \n          FUN_00069d00("../../gold/compressed_output.cc",0xcb,"decompress_input_section",param_1);\n        }" { (expression_statement "FUN_00069d00("../../gold/compressed_output.cc",0xcb,"decompress_input_section",param_1);" (call_expression "FUN_00069d00("../../gold/compressed_output.cc",0xcb,"decompress_input_section",param_1)" identifier (argument_list "("../../gold/compressed_output.cc",0xcb,"decompress_input_section",param_1)" ( (string_literal ""../../gold/compressed_output.cc"" " string_content ") , number_literal , (string_literal ""decompress_input_section"" " string_content ") , identifier ))) ;) })) (goto_statement "goto LAB_0019eed8;" goto statement_identifier ;) })) })) }) (else_clause "else {\n    if (param_5 == 0x20) {\n      iVar3 = *(int *)param_1;\n      if (param_6 != '\0') {\n        if (iVar3 != 0x1000000) {\n          return 0;\n        }\n        goto LAB_0019eed8;\n      }\n    }\n    else {\n      if (param_5 != 0x40) {\n                    \n        FUN_00069d00("../../gold/compressed_output.cc",0xb8,"decompress_input_section",param_2);\n      }\n      iVar3 = *(int *)param_1;\n      if (param_6 != '\0') {\n        return 0;\n      }\n    }\n    if (iVar3 == 1) {\nLAB_0019eed8:\n      uVar2 = FUN_0019e580();\n      return uVar2;\n    }\n  }" else (compound_statement "{\n    if (param_5 == 0x20) {\n      iVar3 = *(int *)param_1;\n      if (param_6 != '\0') {\n        if (iVar3 != 0x1000000) {\n          return 0;\n        }\n        goto LAB_0019eed8;\n      }\n    }\n    else {\n      if (param_5 != 0x40) {\n                    \n        FUN_00069d00("../../gold/compressed_output.cc",0xb8,"decompress_input_section",param_2);\n      }\n      iVar3 = *(int *)param_1;\n      if (param_6 != '\0') {\n        return 0;\n      }\n    }\n    if (iVar3 == 1) {\nLAB_0019eed8:\n      uVar2 = FUN_0019e580();\n      return uVar2;\n    }\n  }" { (if_statement "if (param_5 == 0x20) {\n      iVar3 = *(int *)param_1;\n      if (param_6 != '\0') {\n        if (iVar3 != 0x1000000) {\n          return 0;\n        }\n        goto LAB_0019eed8;\n      }\n    }\n    else {\n      if (param_5 != 0x40) {\n                    \n        FUN_00069d00("../../gold/compressed_output.cc",0xb8,"decompress_input_section",param_2);\n      }\n      iVar3 = *(int *)param_1;\n      if (param_6 != '\0') {\n        return 0;\n      }\n    }" if (parenthesized_expression "(param_5 == 0x20)" ( (binary_expression "param_5 == 0x20" identifier == number_literal) )) (compound_statement "{\n      iVar3 = *(int *)param_1;\n      if (param_6 != '\0') {\n        if (iVar3 != 0x1000000) {\n          return 0;\n        }\n        goto LAB_0019eed8;\n      }\n    }" { (expression_statement "iVar3 = *(int *)param_1;" (assignment_expression "iVar3 = *(int *)param_1" identifier = (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (param_6 != '\0') {\n        if (iVar3 != 0x1000000) {\n          return 0;\n        }\n        goto LAB_0019eed8;\n      }" if (parenthesized_expression "(param_6 != '\0')" ( (binary_expression "param_6 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        if (iVar3 != 0x1000000) {\n          return 0;\n        }\n        goto LAB_0019eed8;\n      }" { (if_statement "if (iVar3 != 0x1000000) {\n          return 0;\n        }" if (parenthesized_expression "(iVar3 != 0x1000000)" ( (binary_expression "iVar3 != 0x1000000" identifier != number_literal) )) (compound_statement "{\n          return 0;\n        }" { (return_statement "return 0;" return number_literal ;) })) (goto_statement "goto LAB_0019eed8;" goto statement_identifier ;) })) }) (else_clause "else {\n      if (param_5 != 0x40) {\n                    \n        FUN_00069d00("../../gold/compressed_output.cc",0xb8,"decompress_input_section",param_2);\n      }\n      iVar3 = *(int *)param_1;\n      if (param_6 != '\0') {\n        return 0;\n      }\n    }" else (compound_statement "{\n      if (param_5 != 0x40) {\n                    \n        FUN_00069d00("../../gold/compressed_output.cc",0xb8,"decompress_input_section",param_2);\n      }\n      iVar3 = *(int *)param_1;\n      if (param_6 != '\0') {\n        return 0;\n      }\n    }" { (if_statement "if (param_5 != 0x40) {\n                    \n        FUN_00069d00("../../gold/compressed_output.cc",0xb8,"decompress_input_section",param_2);\n      }" if (parenthesized_expression "(param_5 != 0x40)" ( (binary_expression "param_5 != 0x40" identifier != number_literal) )) (compound_statement "{\n                    \n        FUN_00069d00("../../gold/compressed_output.cc",0xb8,"decompress_input_section",param_2);\n      }" { (expression_statement "FUN_00069d00("../../gold/compressed_output.cc",0xb8,"decompress_input_section",param_2);" (call_expression "FUN_00069d00("../../gold/compressed_output.cc",0xb8,"decompress_input_section",param_2)" identifier (argument_list "("../../gold/compressed_output.cc",0xb8,"decompress_input_section",param_2)" ( (string_literal ""../../gold/compressed_output.cc"" " string_content ") , number_literal , (string_literal ""decompress_input_section"" " string_content ") , identifier ))) ;) })) (expression_statement "iVar3 = *(int *)param_1;" (assignment_expression "iVar3 = *(int *)param_1" identifier = (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (param_6 != '\0') {\n        return 0;\n      }" if (parenthesized_expression "(param_6 != '\0')" ( (binary_expression "param_6 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) }))) (if_statement "if (iVar3 == 1) {\nLAB_0019eed8:\n      uVar2 = FUN_0019e580();\n      return uVar2;\n    }" if (parenthesized_expression "(iVar3 == 1)" ( (binary_expression "iVar3 == 1" identifier == number_literal) )) (compound_statement "{\nLAB_0019eed8:\n      uVar2 = FUN_0019e580();\n      return uVar2;\n    }" { (labeled_statement "LAB_0019eed8:\n      uVar2 = FUN_0019e580();" statement_identifier : (expression_statement "uVar2 = FUN_0019e580();" (assignment_expression "uVar2 = FUN_0019e580()" identifier = (call_expression "FUN_0019e580()" identifier (argument_list "()" ( )))) ;)) (return_statement "return uVar2;" return 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 IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT < LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT == LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) < (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) == (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( IDENT )) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (unary_expression ! IDENT) && (unary_expression ! IDENT)) )) == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (parenthesized_expression ( (binary_expression (binary_expression (binary_expression (binary_expression IDENT >> LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT)) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) (goto_statement goto statement_identifier ;) })) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return LIT ;) })) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (return_statement return LIT ;) })) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;)) (return_statement return IDENT ;) })) }))) (return_statement return LIT ;) })))
(function_definition "undefined4\nFUN_0019ee80(byte *param_1,uint param_2,undefined4 param_3,uint param_4,int param_5,char param_6,\n            uint param_7)\n\n{\n  uint uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  byte *pbVar4;\n  byte *pbVar5;\n  bool bVar6;\n  bool bVar7;\n  \n  if ((param_7 & 0x800) == 0) {\n    bVar6 = param_2 < 0xb;\n    bVar7 = param_2 == 0xb;\n    if (0xb < param_2) {\n      iVar3 = 4;\n      pbVar4 = param_1;\n      pbVar5 = &DAT_0029dc56;\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar6 = *pbVar4 < *pbVar5;\n        bVar7 = *pbVar4 == *pbVar5;\n        pbVar4 = pbVar4 + 1;\n        pbVar5 = pbVar5 + 1;\n      } while (bVar7);\n      if ((!bVar6 && !bVar7) == bVar6) {\n        uVar1 = *(uint *)(param_1 + 8);\n        if (param_4 !=\n            (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)) {\n                    \n          FUN_00069d00("../../gold/compressed_output.cc",0xcb,"decompress_input_section",param_1);\n        }\n        goto LAB_0019eed8;\n      }\n    }\n  }\n  else {\n    if (param_5 == 0x20) {\n      iVar3 = *(int *)param_1;\n      if (param_6 != '\0') {\n        if (iVar3 != 0x1000000) {\n          return 0;\n        }\n        goto LAB_0019eed8;\n      }\n    }\n    else {\n      if (param_5 != 0x40) {\n                    \n        FUN_00069d00("../../gold/compressed_output.cc",0xb8,"decompress_input_section",param_2);\n      }\n      iVar3 = *(int *)param_1;\n      if (param_6 != '\0') {\n        return 0;\n      }\n    }\n    if (iVar3 == 1) {\nLAB_0019eed8:\n      uVar2 = FUN_0019e580();\n      return uVar2;\n    }\n  }\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_0019ee80(byte *param_1,uint param_2,undefined4 param_3,uint param_4,int param_5,char param_6,\n            uint param_7)" (identifier "FUN_0019ee80") (parameter_list "(byte *param_1,uint param_2,undefined4 param_3,uint param_4,int param_5,char param_6,\n            uint param_7)" (( "(") (parameter_declaration "byte *param_1" (type_identifier "byte") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "uint param_4" (type_identifier "uint") (identifier "param_4")) (, ",") (parameter_declaration "int param_5" (primitive_type "int") (identifier "param_5")) (, ",") (parameter_declaration "char param_6" (primitive_type "char") (identifier "param_6")) (, ",") (parameter_declaration "uint param_7" (type_identifier "uint") (identifier "param_7")) () ")"))) (compound_statement "{\n  uint uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  byte *pbVar4;\n  byte *pbVar5;\n  bool bVar6;\n  bool bVar7;\n  \n  if ((param_7 & 0x800) == 0) {\n    bVar6 = param_2 < 0xb;\n    bVar7 = param_2 == 0xb;\n    if (0xb < param_2) {\n      iVar3 = 4;\n      pbVar4 = param_1;\n      pbVar5 = &DAT_0029dc56;\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar6 = *pbVar4 < *pbVar5;\n        bVar7 = *pbVar4 == *pbVar5;\n        pbVar4 = pbVar4 + 1;\n        pbVar5 = pbVar5 + 1;\n      } while (bVar7);\n      if ((!bVar6 && !bVar7) == bVar6) {\n        uVar1 = *(uint *)(param_1 + 8);\n        if (param_4 !=\n            (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)) {\n                    \n          FUN_00069d00("../../gold/compressed_output.cc",0xcb,"decompress_input_section",param_1);\n        }\n        goto LAB_0019eed8;\n      }\n    }\n  }\n  else {\n    if (param_5 == 0x20) {\n      iVar3 = *(int *)param_1;\n      if (param_6 != '\0') {\n        if (iVar3 != 0x1000000) {\n          return 0;\n        }\n        goto LAB_0019eed8;\n      }\n    }\n    else {\n      if (param_5 != 0x40) {\n                    \n        FUN_00069d00("../../gold/compressed_output.cc",0xb8,"decompress_input_section",param_2);\n      }\n      iVar3 = *(int *)param_1;\n      if (param_6 != '\0') {\n        return 0;\n      }\n    }\n    if (iVar3 == 1) {\nLAB_0019eed8:\n      uVar2 = FUN_0019e580();\n      return uVar2;\n    }\n  }\n  return 0;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "byte *pbVar4;" (type_identifier "byte") (pointer_declarator "*pbVar4" (* "*") (identifier "pbVar4")) (; ";")) (declaration "byte *pbVar5;" (type_identifier "byte") (pointer_declarator "*pbVar5" (* "*") (identifier "pbVar5")) (; ";")) (declaration "bool bVar6;" (primitive_type "bool") (identifier "bVar6") (; ";")) (declaration "bool bVar7;" (primitive_type "bool") (identifier "bVar7") (; ";")) (if_statement "if ((param_7 & 0x800) == 0) {\n    bVar6 = param_2 < 0xb;\n    bVar7 = param_2 == 0xb;\n    if (0xb < param_2) {\n      iVar3 = 4;\n      pbVar4 = param_1;\n      pbVar5 = &DAT_0029dc56;\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar6 = *pbVar4 < *pbVar5;\n        bVar7 = *pbVar4 == *pbVar5;\n        pbVar4 = pbVar4 + 1;\n        pbVar5 = pbVar5 + 1;\n      } while (bVar7);\n      if ((!bVar6 && !bVar7) == bVar6) {\n        uVar1 = *(uint *)(param_1 + 8);\n        if (param_4 !=\n            (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)) {\n                    \n          FUN_00069d00("../../gold/compressed_output.cc",0xcb,"decompress_input_section",param_1);\n        }\n        goto LAB_0019eed8;\n      }\n    }\n  }\n  else {\n    if (param_5 == 0x20) {\n      iVar3 = *(int *)param_1;\n      if (param_6 != '\0') {\n        if (iVar3 != 0x1000000) {\n          return 0;\n        }\n        goto LAB_0019eed8;\n      }\n    }\n    else {\n      if (param_5 != 0x40) {\n                    \n        FUN_00069d00("../../gold/compressed_output.cc",0xb8,"decompress_input_section",param_2);\n      }\n      iVar3 = *(int *)param_1;\n      if (param_6 != '\0') {\n        return 0;\n      }\n    }\n    if (iVar3 == 1) {\nLAB_0019eed8:\n      uVar2 = FUN_0019e580();\n      return uVar2;\n    }\n  }" (if "if") (parenthesized_expression "((param_7 & 0x800) == 0)" (( "(") (binary_expression "(param_7 & 0x800) == 0" (parenthesized_expression "(param_7 & 0x800)" (( "(") (binary_expression "param_7 & 0x800" (identifier "param_7") (& "&") (number_literal "0x800")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    bVar6 = param_2 < 0xb;\n    bVar7 = param_2 == 0xb;\n    if (0xb < param_2) {\n      iVar3 = 4;\n      pbVar4 = param_1;\n      pbVar5 = &DAT_0029dc56;\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar6 = *pbVar4 < *pbVar5;\n        bVar7 = *pbVar4 == *pbVar5;\n        pbVar4 = pbVar4 + 1;\n        pbVar5 = pbVar5 + 1;\n      } while (bVar7);\n      if ((!bVar6 && !bVar7) == bVar6) {\n        uVar1 = *(uint *)(param_1 + 8);\n        if (param_4 !=\n            (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)) {\n                    \n          FUN_00069d00("../../gold/compressed_output.cc",0xcb,"decompress_input_section",param_1);\n        }\n        goto LAB_0019eed8;\n      }\n    }\n  }" ({ "{") (expression_statement "bVar6 = param_2 < 0xb;" (assignment_expression "bVar6 = param_2 < 0xb" (identifier "bVar6") (= "=") (binary_expression "param_2 < 0xb" (identifier "param_2") (< "<") (number_literal "0xb"))) (; ";")) (expression_statement "bVar7 = param_2 == 0xb;" (assignment_expression "bVar7 = param_2 == 0xb" (identifier "bVar7") (= "=") (binary_expression "param_2 == 0xb" (identifier "param_2") (== "==") (number_literal "0xb"))) (; ";")) (if_statement "if (0xb < param_2) {\n      iVar3 = 4;\n      pbVar4 = param_1;\n      pbVar5 = &DAT_0029dc56;\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar6 = *pbVar4 < *pbVar5;\n        bVar7 = *pbVar4 == *pbVar5;\n        pbVar4 = pbVar4 + 1;\n        pbVar5 = pbVar5 + 1;\n      } while (bVar7);\n      if ((!bVar6 && !bVar7) == bVar6) {\n        uVar1 = *(uint *)(param_1 + 8);\n        if (param_4 !=\n            (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)) {\n                    \n          FUN_00069d00("../../gold/compressed_output.cc",0xcb,"decompress_input_section",param_1);\n        }\n        goto LAB_0019eed8;\n      }\n    }" (if "if") (parenthesized_expression "(0xb < param_2)" (( "(") (binary_expression "0xb < param_2" (number_literal "0xb") (< "<") (identifier "param_2")) () ")")) (compound_statement "{\n      iVar3 = 4;\n      pbVar4 = param_1;\n      pbVar5 = &DAT_0029dc56;\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar6 = *pbVar4 < *pbVar5;\n        bVar7 = *pbVar4 == *pbVar5;\n        pbVar4 = pbVar4 + 1;\n        pbVar5 = pbVar5 + 1;\n      } while (bVar7);\n      if ((!bVar6 && !bVar7) == bVar6) {\n        uVar1 = *(uint *)(param_1 + 8);\n        if (param_4 !=\n            (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)) {\n                    \n          FUN_00069d00("../../gold/compressed_output.cc",0xcb,"decompress_input_section",param_1);\n        }\n        goto LAB_0019eed8;\n      }\n    }" ({ "{") (expression_statement "iVar3 = 4;" (assignment_expression "iVar3 = 4" (identifier "iVar3") (= "=") (number_literal "4")) (; ";")) (expression_statement "pbVar4 = param_1;" (assignment_expression "pbVar4 = param_1" (identifier "pbVar4") (= "=") (identifier "param_1")) (; ";")) (expression_statement "pbVar5 = &DAT_0029dc56;" (assignment_expression "pbVar5 = &DAT_0029dc56" (identifier "pbVar5") (= "=") (pointer_expression "&DAT_0029dc56" (& "&") (identifier "DAT_0029dc56"))) (; ";")) (do_statement "do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar6 = *pbVar4 < *pbVar5;\n        bVar7 = *pbVar4 == *pbVar5;\n        pbVar4 = pbVar4 + 1;\n        pbVar5 = pbVar5 + 1;\n      } while (bVar7);" (do "do") (compound_statement "{\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar6 = *pbVar4 < *pbVar5;\n        bVar7 = *pbVar4 == *pbVar5;\n        pbVar4 = pbVar4 + 1;\n        pbVar5 = pbVar5 + 1;\n      }" ({ "{") (if_statement "if (iVar3 == 0) break;" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + -1" (identifier "iVar3") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "bVar6 = *pbVar4 < *pbVar5;" (assignment_expression "bVar6 = *pbVar4 < *pbVar5" (identifier "bVar6") (= "=") (binary_expression "*pbVar4 < *pbVar5" (pointer_expression "*pbVar4" (* "*") (identifier "pbVar4")) (< "<") (pointer_expression "*pbVar5" (* "*") (identifier "pbVar5")))) (; ";")) (expression_statement "bVar7 = *pbVar4 == *pbVar5;" (assignment_expression "bVar7 = *pbVar4 == *pbVar5" (identifier "bVar7") (= "=") (binary_expression "*pbVar4 == *pbVar5" (pointer_expression "*pbVar4" (* "*") (identifier "pbVar4")) (== "==") (pointer_expression "*pbVar5" (* "*") (identifier "pbVar5")))) (; ";")) (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" (identifier "pbVar4") (= "=") (binary_expression "pbVar4 + 1" (identifier "pbVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar5 = pbVar5 + 1;" (assignment_expression "pbVar5 = pbVar5 + 1" (identifier "pbVar5") (= "=") (binary_expression "pbVar5 + 1" (identifier "pbVar5") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar7)" (( "(") (identifier "bVar7") () ")")) (; ";")) (if_statement "if ((!bVar6 && !bVar7) == bVar6) {\n        uVar1 = *(uint *)(param_1 + 8);\n        if (param_4 !=\n            (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)) {\n                    \n          FUN_00069d00("../../gold/compressed_output.cc",0xcb,"decompress_input_section",param_1);\n        }\n        goto LAB_0019eed8;\n      }" (if "if") (parenthesized_expression "((!bVar6 && !bVar7) == bVar6)" (( "(") (binary_expression "(!bVar6 && !bVar7) == bVar6" (parenthesized_expression "(!bVar6 && !bVar7)" (( "(") (binary_expression "!bVar6 && !bVar7" (unary_expression "!bVar6" (! "!") (identifier "bVar6")) (&& "&&") (unary_expression "!bVar7" (! "!") (identifier "bVar7"))) () ")")) (== "==") (identifier "bVar6")) () ")")) (compound_statement "{\n        uVar1 = *(uint *)(param_1 + 8);\n        if (param_4 !=\n            (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)) {\n                    \n          FUN_00069d00("../../gold/compressed_output.cc",0xcb,"decompress_input_section",param_1);\n        }\n        goto LAB_0019eed8;\n      }" ({ "{") (expression_statement "uVar1 = *(uint *)(param_1 + 8);" (assignment_expression "uVar1 = *(uint *)(param_1 + 8)" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)(param_1 + 8)" (* "*") (cast_expression "(uint *)(param_1 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (param_4 !=\n            (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)) {\n                    \n          FUN_00069d00("../../gold/compressed_output.cc",0xcb,"decompress_input_section",param_1);\n        }" (if "if") (parenthesized_expression "(param_4 !=\n            (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18))" (( "(") (binary_expression "param_4 !=\n            (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)" (identifier "param_4") (!= "!=") (parenthesized_expression "(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)" (( "(") (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" (identifier "uVar1") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" (( "(") (binary_expression "uVar1 & 0xff0000" (identifier "uVar1") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" (( "(") (binary_expression "uVar1 & 0xff00" (identifier "uVar1") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar1 << 0x18" (identifier "uVar1") (<< "<<") (number_literal "0x18"))) () ")"))) () ")")) (compound_statement "{\n                    \n          FUN_00069d00("../../gold/compressed_output.cc",0xcb,"decompress_input_section",param_1);\n        }" ({ "{") (expression_statement "FUN_00069d00("../../gold/compressed_output.cc",0xcb,"decompress_input_section",param_1);" (call_expression "FUN_00069d00("../../gold/compressed_output.cc",0xcb,"decompress_input_section",param_1)" (identifier "FUN_00069d00") (argument_list "("../../gold/compressed_output.cc",0xcb,"decompress_input_section",param_1)" (( "(") (string_literal ""../../gold/compressed_output.cc"" (" """) (string_content "../../gold/compressed_output.cc") (" """)) (, ",") (number_literal "0xcb") (, ",") (string_literal ""decompress_input_section"" (" """) (string_content "decompress_input_section") (" """)) (, ",") (identifier "param_1") () ")"))) (; ";")) (} "}"))) (goto_statement "goto LAB_0019eed8;" (goto "goto") (statement_identifier "LAB_0019eed8") (; ";")) (} "}"))) (} "}"))) (} "}")) (else_clause "else {\n    if (param_5 == 0x20) {\n      iVar3 = *(int *)param_1;\n      if (param_6 != '\0') {\n        if (iVar3 != 0x1000000) {\n          return 0;\n        }\n        goto LAB_0019eed8;\n      }\n    }\n    else {\n      if (param_5 != 0x40) {\n                    \n        FUN_00069d00("../../gold/compressed_output.cc",0xb8,"decompress_input_section",param_2);\n      }\n      iVar3 = *(int *)param_1;\n      if (param_6 != '\0') {\n        return 0;\n      }\n    }\n    if (iVar3 == 1) {\nLAB_0019eed8:\n      uVar2 = FUN_0019e580();\n      return uVar2;\n    }\n  }" (else "else") (compound_statement "{\n    if (param_5 == 0x20) {\n      iVar3 = *(int *)param_1;\n      if (param_6 != '\0') {\n        if (iVar3 != 0x1000000) {\n          return 0;\n        }\n        goto LAB_0019eed8;\n      }\n    }\n    else {\n      if (param_5 != 0x40) {\n                    \n        FUN_00069d00("../../gold/compressed_output.cc",0xb8,"decompress_input_section",param_2);\n      }\n      iVar3 = *(int *)param_1;\n      if (param_6 != '\0') {\n        return 0;\n      }\n    }\n    if (iVar3 == 1) {\nLAB_0019eed8:\n      uVar2 = FUN_0019e580();\n      return uVar2;\n    }\n  }" ({ "{") (if_statement "if (param_5 == 0x20) {\n      iVar3 = *(int *)param_1;\n      if (param_6 != '\0') {\n        if (iVar3 != 0x1000000) {\n          return 0;\n        }\n        goto LAB_0019eed8;\n      }\n    }\n    else {\n      if (param_5 != 0x40) {\n                    \n        FUN_00069d00("../../gold/compressed_output.cc",0xb8,"decompress_input_section",param_2);\n      }\n      iVar3 = *(int *)param_1;\n      if (param_6 != '\0') {\n        return 0;\n      }\n    }" (if "if") (parenthesized_expression "(param_5 == 0x20)" (( "(") (binary_expression "param_5 == 0x20" (identifier "param_5") (== "==") (number_literal "0x20")) () ")")) (compound_statement "{\n      iVar3 = *(int *)param_1;\n      if (param_6 != '\0') {\n        if (iVar3 != 0x1000000) {\n          return 0;\n        }\n        goto LAB_0019eed8;\n      }\n    }" ({ "{") (expression_statement "iVar3 = *(int *)param_1;" (assignment_expression "iVar3 = *(int *)param_1" (identifier "iVar3") (= "=") (pointer_expression "*(int *)param_1" (* "*") (cast_expression "(int *)param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_1")))) (; ";")) (if_statement "if (param_6 != '\0') {\n        if (iVar3 != 0x1000000) {\n          return 0;\n        }\n        goto LAB_0019eed8;\n      }" (if "if") (parenthesized_expression "(param_6 != '\0')" (( "(") (binary_expression "param_6 != '\0'" (identifier "param_6") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        if (iVar3 != 0x1000000) {\n          return 0;\n        }\n        goto LAB_0019eed8;\n      }" ({ "{") (if_statement "if (iVar3 != 0x1000000) {\n          return 0;\n        }" (if "if") (parenthesized_expression "(iVar3 != 0x1000000)" (( "(") (binary_expression "iVar3 != 0x1000000" (identifier "iVar3") (!= "!=") (number_literal "0x1000000")) () ")")) (compound_statement "{\n          return 0;\n        }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (goto_statement "goto LAB_0019eed8;" (goto "goto") (statement_identifier "LAB_0019eed8") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      if (param_5 != 0x40) {\n                    \n        FUN_00069d00("../../gold/compressed_output.cc",0xb8,"decompress_input_section",param_2);\n      }\n      iVar3 = *(int *)param_1;\n      if (param_6 != '\0') {\n        return 0;\n      }\n    }" (else "else") (compound_statement "{\n      if (param_5 != 0x40) {\n                    \n        FUN_00069d00("../../gold/compressed_output.cc",0xb8,"decompress_input_section",param_2);\n      }\n      iVar3 = *(int *)param_1;\n      if (param_6 != '\0') {\n        return 0;\n      }\n    }" ({ "{") (if_statement "if (param_5 != 0x40) {\n                    \n        FUN_00069d00("../../gold/compressed_output.cc",0xb8,"decompress_input_section",param_2);\n      }" (if "if") (parenthesized_expression "(param_5 != 0x40)" (( "(") (binary_expression "param_5 != 0x40" (identifier "param_5") (!= "!=") (number_literal "0x40")) () ")")) (compound_statement "{\n                    \n        FUN_00069d00("../../gold/compressed_output.cc",0xb8,"decompress_input_section",param_2);\n      }" ({ "{") (expression_statement "FUN_00069d00("../../gold/compressed_output.cc",0xb8,"decompress_input_section",param_2);" (call_expression "FUN_00069d00("../../gold/compressed_output.cc",0xb8,"decompress_input_section",param_2)" (identifier "FUN_00069d00") (argument_list "("../../gold/compressed_output.cc",0xb8,"decompress_input_section",param_2)" (( "(") (string_literal ""../../gold/compressed_output.cc"" (" """) (string_content "../../gold/compressed_output.cc") (" """)) (, ",") (number_literal "0xb8") (, ",") (string_literal ""decompress_input_section"" (" """) (string_content "decompress_input_section") (" """)) (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar3 = *(int *)param_1;" (assignment_expression "iVar3 = *(int *)param_1" (identifier "iVar3") (= "=") (pointer_expression "*(int *)param_1" (* "*") (cast_expression "(int *)param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_1")))) (; ";")) (if_statement "if (param_6 != '\0') {\n        return 0;\n      }" (if "if") (parenthesized_expression "(param_6 != '\0')" (( "(") (binary_expression "param_6 != '\0'" (identifier "param_6") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        return 0;\n      }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (} "}")))) (if_statement "if (iVar3 == 1) {\nLAB_0019eed8:\n      uVar2 = FUN_0019e580();\n      return uVar2;\n    }" (if "if") (parenthesized_expression "(iVar3 == 1)" (( "(") (binary_expression "iVar3 == 1" (identifier "iVar3") (== "==") (number_literal "1")) () ")")) (compound_statement "{\nLAB_0019eed8:\n      uVar2 = FUN_0019e580();\n      return uVar2;\n    }" ({ "{") (labeled_statement "LAB_0019eed8:\n      uVar2 = FUN_0019e580();" (statement_identifier "LAB_0019eed8") (: ":") (expression_statement "uVar2 = FUN_0019e580();" (assignment_expression "uVar2 = FUN_0019e580()" (identifier "uVar2") (= "=") (call_expression "FUN_0019e580()" (identifier "FUN_0019e580") (argument_list "()" (( "(") () ")")))) (; ";"))) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))) (} "}")))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

bool gold::function_1
               (type_1 *var_4,type_2 var_7,type_1 *uncompressed_data,
               type_2 var_12,int var_2,bool big_endian,type_3 var_1)

{
  type_4 var_13;
  int var_8;
  bool var_11;
  type_1 *compressed_data_00;
  int var_5;
  type_5 *var_9;
  type_5 *var_10;
  bool bVar7;
  
  if ((var_1 & 0x800) != 0) {
    if (var_2 == 0x20) {
      if (big_endian) {
        if (*(int *)var_4 != 0x1000000) {
          return false;
        }
      }
      else if (*(int *)var_4 != 1) {
        return false;
      }
      var_5 = 0xc;
    }
    else {
      if (var_2 != 0x40) {
                    /* WARNING: Subroutine does not return */
        var_3("../../gold/compressed_output.cc",0xb8,"decompress_input_section");
      }
      if (big_endian) {
        return false;
      }
      var_5 = 0x18;
      if (*(int *)var_4 != 1) {
        return false;
      }
    }
    var_8 = -var_5;
    compressed_data_00 = var_4 + var_5;
LAB_0019eed8:
    var_11 = var_6(compressed_data_00,var_7 + var_8,uncompressed_data,
                            var_12);
    return var_11;
  }
  var_11 = var_7 < 0xb;
  bVar7 = var_7 == 0xb;
  if (0xb < var_7) {
    var_5 = 4;
    var_9 = var_4;
    var_10 = &DAT_0029dc56;
    do {
      if (var_5 == 0) break;
      var_5 = var_5 + -1;
      var_11 = *var_9 < *var_10;
      bVar7 = *var_9 == *var_10;
      var_9 = var_9 + 1;
      var_10 = var_10 + 1;
    } while (bVar7);
    if ((!var_11 && !bVar7) == var_11) {
      var_13 = *(type_4 *)(var_4 + 8);
      if (var_12 !=
          (var_13 >> 0x18 | (var_13 & 0xff0000) >> 8 | (var_13 & 0xff00) << 8 | var_13 << 0x18)) {
                    /* WARNING: Subroutine does not return */
        var_3("../../gold/compressed_output.cc",0xcb,"decompress_input_section");
      }
      var_8 = -0xc;
      compressed_data_00 = var_4 + 0xc;
      goto LAB_0019eed8;
    }
  }
  return false;
}


(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: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (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))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (unary_expression argument: (identifier)) right: (unary_expression argument: (identifier)))) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content)) (identifier)))))) (goto_statement label: (statement_identifier))))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))) (goto_statement label: (statement_identifier))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content)) (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (return_statement (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list))))) (return_statement (identifier))))))) (return_statement (number_literal)))))

/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

undefined4
MASKED(byte *param_1,uint param_2,undefined4 param_3,uint param_4,int param_5,char param_6,
            uint param_7)

{
  uint uVar1;
  undefined4 uVar2;
  int iVar3;
  byte *pbVar4;
  byte *pbVar5;
  bool bVar6;
  bool bVar7;
  
  if ((param_7 & 0x800) == 0) {
    bVar6 = param_2 < 0xb;
    bVar7 = param_2 == 0xb;
    if (0xb < param_2) {
      iVar3 = 4;
      pbVar4 = param_1;
      pbVar5 = &DAT_0029dc56;
      do {
        if (iVar3 == 0) break;
        iVar3 = iVar3 + -1;
        bVar6 = *pbVar4 < *pbVar5;
        bVar7 = *pbVar4 == *pbVar5;
        pbVar4 = pbVar4 + 1;
        pbVar5 = pbVar5 + 1;
      } while (bVar7);
      if ((!bVar6 && !bVar7) == bVar6) {
        uVar1 = *(uint *)(param_1 + 8);
        if (param_4 !=
            (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)) {
                    /* WARNING: Subroutine does not return */
          FUN_00069d00("../../gold/compressed_output.cc",0xcb,"decompress_input_section",param_1);
        }
        goto LAB_0019eed8;
      }
    }
  }
  else {
    if (param_5 == 0x20) {
      iVar3 = *(int *)param_1;
      if (param_6 != '\0') {
        if (iVar3 != 0x1000000) {
          return 0;
        }
        goto LAB_0019eed8;
      }
    }
    else {
      if (param_5 != 0x40) {
                    /* WARNING: Subroutine does not return */
        FUN_00069d00("../../gold/compressed_output.cc",0xb8,"decompress_input_section",param_2);
      }
      iVar3 = *(int *)param_1;
      if (param_6 != '\0') {
        return 0;
      }
    }
    if (iVar3 == 1) {
LAB_0019eed8:
      uVar2 = FUN_0019e580();
      return uVar2;
    }
  }
  return 0;
}

