
int png_icc_check_tag_table
              (png_const_structrp png_ptr,png_colorspacerp colorspace,png_const_charp name,
              png_uint_32 profile_length,png_const_bytep profile)

{
  byte *pbVar1;
  byte *pbVar2;
  byte *pbVar3;
  byte *pbVar4;
  uint uVar5;
  png_alloc_size_t value;
  byte *pbVar6;
  png_const_charp reason;
  int iVar7;
  int iVar8;
  
  pbVar6 = profile + 0x84;
  iVar8 = (uint)profile[0x80] * 0x1000000 + (uint)profile[0x81] * 0x10000 + (uint)profile[0x83] +
          (uint)profile[0x82] * 0x100;
  if (iVar8 != 0) {
    iVar7 = 0;
    reason = PTR_s_nt_0005301c + -0x1dc8;
    do {
      while( true ) {
        iVar7 = iVar7 + 1;
        pbVar1 = pbVar6 + 8;
        pbVar2 = pbVar6 + 9;
        pbVar3 = pbVar6 + 0xb;
        pbVar4 = pbVar6 + 10;
        uVar5 = (uint)pbVar6[4] * 0x1000000 + (uint)pbVar6[5] * 0x10000 + (uint)pbVar6[7] +
                (uint)pbVar6[6] * 0x100;
        value = (uint)*pbVar6 * 0x1000000 + (uint)pbVar6[1] * 0x10000 + (uint)pbVar6[3] +
                (uint)pbVar6[2] * 0x100;
        if ((profile_length < uVar5) ||
           (pbVar6 = pbVar6 + 0xc,
           profile_length - uVar5 <
           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +
           (uint)*pbVar4 * 0x100)) {
          iVar8 = png_icc_profile_error(png_ptr,colorspace,name,value,PTR_s_nt_0005301c + -0x1de8);
          return iVar8;
        }
        if ((uVar5 & 3) == 0) break;
        png_icc_profile_error(png_ptr,(png_colorspacerp)0x0,name,value,reason);
        if (iVar8 == iVar7) {
          return 1;
        }
      }
    } while (iVar8 != iVar7);
  }
  return 1;
}



undefined4
FUN_00015dd8(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4,int param_5)

{
  byte *pbVar1;
  byte *pbVar2;
  byte *pbVar3;
  byte *pbVar4;
  uint uVar5;
  undefined4 uVar6;
  int iVar7;
  byte *pbVar8;
  undefined *puVar9;
  int iVar10;
  int iVar11;
  
  pbVar8 = (byte *)(param_5 + 0x84);
  iVar11 = (uint)*(byte *)(param_5 + 0x80) * 0x1000000 + (uint)*(byte *)(param_5 + 0x81) * 0x10000 +
           (uint)*(byte *)(param_5 + 0x83) + (uint)*(byte *)(param_5 + 0x82) * 0x100;
  if (iVar11 != 0) {
    iVar10 = 0;
    puVar9 = PTR_s_nt_0005301c + -0x1dc8;
    do {
      while( true ) {
        iVar10 = iVar10 + 1;
        pbVar1 = pbVar8 + 8;
        pbVar2 = pbVar8 + 9;
        pbVar3 = pbVar8 + 0xb;
        pbVar4 = pbVar8 + 10;
        uVar5 = (uint)pbVar8[4] * 0x1000000 + (uint)pbVar8[5] * 0x10000 + (uint)pbVar8[7] +
                (uint)pbVar8[6] * 0x100;
        iVar7 = (uint)*pbVar8 * 0x1000000 + (uint)pbVar8[1] * 0x10000 + (uint)pbVar8[3] +
                (uint)pbVar8[2] * 0x100;
        if ((param_4 < uVar5) ||
           (pbVar8 = pbVar8 + 0xc,
           param_4 - uVar5 <
           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +
           (uint)*pbVar4 * 0x100)) {
          uVar6 = FUN_00013fbc(param_1,param_2,param_3,iVar7);
          return uVar6;
        }
        if ((uVar5 & 3) == 0) break;
        FUN_00013fbc(param_1,0,param_3,iVar7,puVar9);
        if (iVar11 == iVar10) {
          return 1;
        }
      }
    } while (iVar11 != iVar10);
  }
  return 1;
}


lui gp,0x4
addiu gp,gp,0x5218
addu gp,gp,t9
addiu sp,sp,-0x48
lw v0,0x58(sp)
sw s0,0x20(sp)
sw gp,0x18(sp)
sw ra,0x44(sp)
addiu s0,v0,0x84
sw s8,0x40(sp)
sw s7,0x3c(sp)
sw s6,0x38(sp)
sw s5,0x34(sp)
sw s4,0x30(sp)
sw s3,0x2c(sp)
sw s2,0x28(sp)
sw s1,0x24(sp)
lbu s8,0x80(v0)
lbu v1,0x81(v0)
lbu t0,0x83(v0)
sll s8,s8,0x18
lbu v0,0x82(v0)
sll v1,v1,0x10
addu s8,s8,v1
sll v0,v0,0x8
addu s8,s8,t0
addu s8,s8,v0
beq s8,zero,0x00015f34
_lw s4,-0x7fd4(gp)
or s7,a3,zero
lw s3,-0x7fd8(gp)
or s2,a2,zero
or s5,a1,zero
or s1,a0,zero
or s6,zero,zero
addiu s4,s4,-0x1dc8
b 0x00015e78
_addiu s3,s3,0x3fbc
beq s8,s6,0x00015f38
_lw ra,0x44(sp)
lbu v0,0x4(s0)
addiu s6,s6,0x1
lbu a0,0x5(s0)
lbu a3,0x0(s0)
lbu t1,0x1(s0)
sll v0,v0,0x18
sll a0,a0,0x10
lbu v1,0x8(s0)
lbu t0,0x9(s0)
sll a3,a3,0x18
lbu t4,0x7(s0)
addu v0,v0,a0
lbu a2,0x6(s0)
sll t1,t1,0x10
sll t0,t0,0x10
lbu t3,0x3(s0)
sll v1,v1,0x18
lbu a1,0x2(s0)
sll a2,a2,0x8
lbu t2,0xb(s0)
addu v0,v0,t4
lbu a0,0xa(s0)
addu v1,v1,t0
addu a3,a3,t1
addu v0,v0,a2
addu a3,a3,t3
sll a1,a1,0x8
addu v1,v1,t2
sll a0,a0,0x8
sltu t0,s7,v0
subu a2,s7,v0
addu a3,a3,a1
andi v0,v0,0x3
bne t0,zero,0x00015f68
_addu v1,v1,a0
sltu v1,a2,v1
bne v1,zero,0x00015f68
_addiu s0,s0,0xc
beq v0,zero,0x00015e70
_or a1,zero,zero
sw s4,0x10(sp)
or a2,s2,zero
or t9,s3,zero
bal 0x00013fbc
_or a0,s1,zero
bne s8,s6,0x00015e78
_lw gp,0x18(sp)
lw ra,0x44(sp)
li v0,0x1
lw s8,0x40(sp)
lw s7,0x3c(sp)
lw s6,0x38(sp)
lw s5,0x34(sp)
lw s4,0x30(sp)
lw s3,0x2c(sp)
lw s2,0x28(sp)
lw s1,0x24(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x48
lw v0,-0x7fd4(gp)
or a2,s2,zero
lw t9,-0x7fd8(gp)
or a1,s5,zero
lw ra,0x44(sp)
or a0,s1,zero
addiu v0,v0,-0x1de8
lw s8,0x40(sp)
lw s7,0x3c(sp)
addiu t9,t9,0x3fbc
lw s6,0x38(sp)
lw s5,0x34(sp)
lw s4,0x30(sp)
lw s3,0x2c(sp)
lw s2,0x28(sp)
lw s1,0x24(sp)
lw s0,0x20(sp)
sw v0,0x58(sp)
b 0x00013fbc
_addiu sp,sp,0x48
(translation_unit "undefined4\nFUN_00015dd8(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4,int param_5)\n\n{\n  byte *pbVar1;\n  byte *pbVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  int iVar7;\n  byte *pbVar8;\n  undefined *puVar9;\n  int iVar10;\n  int iVar11;\n  \n  pbVar8 = (byte *)(param_5 + 0x84);\n  iVar11 = (uint)*(byte *)(param_5 + 0x80) * 0x1000000 + (uint)*(byte *)(param_5 + 0x81) * 0x10000 +\n           (uint)*(byte *)(param_5 + 0x83) + (uint)*(byte *)(param_5 + 0x82) * 0x100;\n  if (iVar11 != 0) {\n    iVar10 = 0;\n    puVar9 = PTR_s_nt_0005301c + -0x1dc8;\n    do {\n      while( true ) {\n        iVar10 = iVar10 + 1;\n        pbVar1 = pbVar8 + 8;\n        pbVar2 = pbVar8 + 9;\n        pbVar3 = pbVar8 + 0xb;\n        pbVar4 = pbVar8 + 10;\n        uVar5 = (uint)pbVar8[4] * 0x1000000 + (uint)pbVar8[5] * 0x10000 + (uint)pbVar8[7] +\n                (uint)pbVar8[6] * 0x100;\n        iVar7 = (uint)*pbVar8 * 0x1000000 + (uint)pbVar8[1] * 0x10000 + (uint)pbVar8[3] +\n                (uint)pbVar8[2] * 0x100;\n        if ((param_4 < uVar5) ||\n           (pbVar8 = pbVar8 + 0xc,\n           param_4 - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100)) {\n          uVar6 = FUN_00013fbc(param_1,param_2,param_3,iVar7);\n          return uVar6;\n        }\n        if ((uVar5 & 3) == 0) break;\n        FUN_00013fbc(param_1,0,param_3,iVar7,puVar9);\n        if (iVar11 == iVar10) {\n          return 1;\n        }\n      }\n    } while (iVar11 != iVar10);\n  }\n  return 1;\n}\n\n" (function_definition "undefined4\nFUN_00015dd8(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4,int param_5)\n\n{\n  byte *pbVar1;\n  byte *pbVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  int iVar7;\n  byte *pbVar8;\n  undefined *puVar9;\n  int iVar10;\n  int iVar11;\n  \n  pbVar8 = (byte *)(param_5 + 0x84);\n  iVar11 = (uint)*(byte *)(param_5 + 0x80) * 0x1000000 + (uint)*(byte *)(param_5 + 0x81) * 0x10000 +\n           (uint)*(byte *)(param_5 + 0x83) + (uint)*(byte *)(param_5 + 0x82) * 0x100;\n  if (iVar11 != 0) {\n    iVar10 = 0;\n    puVar9 = PTR_s_nt_0005301c + -0x1dc8;\n    do {\n      while( true ) {\n        iVar10 = iVar10 + 1;\n        pbVar1 = pbVar8 + 8;\n        pbVar2 = pbVar8 + 9;\n        pbVar3 = pbVar8 + 0xb;\n        pbVar4 = pbVar8 + 10;\n        uVar5 = (uint)pbVar8[4] * 0x1000000 + (uint)pbVar8[5] * 0x10000 + (uint)pbVar8[7] +\n                (uint)pbVar8[6] * 0x100;\n        iVar7 = (uint)*pbVar8 * 0x1000000 + (uint)pbVar8[1] * 0x10000 + (uint)pbVar8[3] +\n                (uint)pbVar8[2] * 0x100;\n        if ((param_4 < uVar5) ||\n           (pbVar8 = pbVar8 + 0xc,\n           param_4 - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100)) {\n          uVar6 = FUN_00013fbc(param_1,param_2,param_3,iVar7);\n          return uVar6;\n        }\n        if ((uVar5 & 3) == 0) break;\n        FUN_00013fbc(param_1,0,param_3,iVar7,puVar9);\n        if (iVar11 == iVar10) {\n          return 1;\n        }\n      }\n    } while (iVar11 != iVar10);\n  }\n  return 1;\n}" type_identifier (function_declarator "FUN_00015dd8(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4,int param_5)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4,int param_5)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 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) ))) (compound_statement "{\n  byte *pbVar1;\n  byte *pbVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  int iVar7;\n  byte *pbVar8;\n  undefined *puVar9;\n  int iVar10;\n  int iVar11;\n  \n  pbVar8 = (byte *)(param_5 + 0x84);\n  iVar11 = (uint)*(byte *)(param_5 + 0x80) * 0x1000000 + (uint)*(byte *)(param_5 + 0x81) * 0x10000 +\n           (uint)*(byte *)(param_5 + 0x83) + (uint)*(byte *)(param_5 + 0x82) * 0x100;\n  if (iVar11 != 0) {\n    iVar10 = 0;\n    puVar9 = PTR_s_nt_0005301c + -0x1dc8;\n    do {\n      while( true ) {\n        iVar10 = iVar10 + 1;\n        pbVar1 = pbVar8 + 8;\n        pbVar2 = pbVar8 + 9;\n        pbVar3 = pbVar8 + 0xb;\n        pbVar4 = pbVar8 + 10;\n        uVar5 = (uint)pbVar8[4] * 0x1000000 + (uint)pbVar8[5] * 0x10000 + (uint)pbVar8[7] +\n                (uint)pbVar8[6] * 0x100;\n        iVar7 = (uint)*pbVar8 * 0x1000000 + (uint)pbVar8[1] * 0x10000 + (uint)pbVar8[3] +\n                (uint)pbVar8[2] * 0x100;\n        if ((param_4 < uVar5) ||\n           (pbVar8 = pbVar8 + 0xc,\n           param_4 - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100)) {\n          uVar6 = FUN_00013fbc(param_1,param_2,param_3,iVar7);\n          return uVar6;\n        }\n        if ((uVar5 & 3) == 0) break;\n        FUN_00013fbc(param_1,0,param_3,iVar7,puVar9);\n        if (iVar11 == iVar10) {\n          return 1;\n        }\n      }\n    } while (iVar11 != iVar10);\n  }\n  return 1;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "byte *pbVar2;" type_identifier (pointer_declarator "*pbVar2" * identifier) ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "byte *pbVar8;" type_identifier (pointer_declarator "*pbVar8" * identifier) ;) (declaration "undefined *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (expression_statement "pbVar8 = (byte *)(param_5 + 0x84);" (assignment_expression "pbVar8 = (byte *)(param_5 + 0x84)" identifier = (cast_expression "(byte *)(param_5 + 0x84)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0x84)" ( (binary_expression "param_5 + 0x84" identifier + number_literal) )))) ;) (expression_statement "iVar11 = (uint)*(byte *)(param_5 + 0x80) * 0x1000000 + (uint)*(byte *)(param_5 + 0x81) * 0x10000 +\n           (uint)*(byte *)(param_5 + 0x83) + (uint)*(byte *)(param_5 + 0x82) * 0x100;" (assignment_expression "iVar11 = (uint)*(byte *)(param_5 + 0x80) * 0x1000000 + (uint)*(byte *)(param_5 + 0x81) * 0x10000 +\n           (uint)*(byte *)(param_5 + 0x83) + (uint)*(byte *)(param_5 + 0x82) * 0x100" identifier = (binary_expression "(uint)*(byte *)(param_5 + 0x80) * 0x1000000 + (uint)*(byte *)(param_5 + 0x81) * 0x10000 +\n           (uint)*(byte *)(param_5 + 0x83) + (uint)*(byte *)(param_5 + 0x82) * 0x100" (binary_expression "(uint)*(byte *)(param_5 + 0x80) * 0x1000000 + (uint)*(byte *)(param_5 + 0x81) * 0x10000 +\n           (uint)*(byte *)(param_5 + 0x83)" (binary_expression "(uint)*(byte *)(param_5 + 0x80) * 0x1000000 + (uint)*(byte *)(param_5 + 0x81) * 0x10000" (binary_expression "(uint)*(byte *)(param_5 + 0x80) * 0x1000000" (binary_expression "(uint)*(byte *)(param_5 + 0x80)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_5 + 0x80)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0x80)" ( (binary_expression "param_5 + 0x80" identifier + number_literal) )))) * number_literal) + (binary_expression "(uint)*(byte *)(param_5 + 0x81) * 0x10000" (binary_expression "(uint)*(byte *)(param_5 + 0x81)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_5 + 0x81)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0x81)" ( (binary_expression "param_5 + 0x81" identifier + number_literal) )))) * number_literal)) + (binary_expression "(uint)*(byte *)(param_5 + 0x83)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_5 + 0x83)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0x83)" ( (binary_expression "param_5 + 0x83" identifier + number_literal) ))))) + (binary_expression "(uint)*(byte *)(param_5 + 0x82) * 0x100" (binary_expression "(uint)*(byte *)(param_5 + 0x82)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_5 + 0x82)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0x82)" ( (binary_expression "param_5 + 0x82" identifier + number_literal) )))) * number_literal))) ;) (if_statement "if (iVar11 != 0) {\n    iVar10 = 0;\n    puVar9 = PTR_s_nt_0005301c + -0x1dc8;\n    do {\n      while( true ) {\n        iVar10 = iVar10 + 1;\n        pbVar1 = pbVar8 + 8;\n        pbVar2 = pbVar8 + 9;\n        pbVar3 = pbVar8 + 0xb;\n        pbVar4 = pbVar8 + 10;\n        uVar5 = (uint)pbVar8[4] * 0x1000000 + (uint)pbVar8[5] * 0x10000 + (uint)pbVar8[7] +\n                (uint)pbVar8[6] * 0x100;\n        iVar7 = (uint)*pbVar8 * 0x1000000 + (uint)pbVar8[1] * 0x10000 + (uint)pbVar8[3] +\n                (uint)pbVar8[2] * 0x100;\n        if ((param_4 < uVar5) ||\n           (pbVar8 = pbVar8 + 0xc,\n           param_4 - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100)) {\n          uVar6 = FUN_00013fbc(param_1,param_2,param_3,iVar7);\n          return uVar6;\n        }\n        if ((uVar5 & 3) == 0) break;\n        FUN_00013fbc(param_1,0,param_3,iVar7,puVar9);\n        if (iVar11 == iVar10) {\n          return 1;\n        }\n      }\n    } while (iVar11 != iVar10);\n  }" if (parenthesized_expression "(iVar11 != 0)" ( (binary_expression "iVar11 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar10 = 0;\n    puVar9 = PTR_s_nt_0005301c + -0x1dc8;\n    do {\n      while( true ) {\n        iVar10 = iVar10 + 1;\n        pbVar1 = pbVar8 + 8;\n        pbVar2 = pbVar8 + 9;\n        pbVar3 = pbVar8 + 0xb;\n        pbVar4 = pbVar8 + 10;\n        uVar5 = (uint)pbVar8[4] * 0x1000000 + (uint)pbVar8[5] * 0x10000 + (uint)pbVar8[7] +\n                (uint)pbVar8[6] * 0x100;\n        iVar7 = (uint)*pbVar8 * 0x1000000 + (uint)pbVar8[1] * 0x10000 + (uint)pbVar8[3] +\n                (uint)pbVar8[2] * 0x100;\n        if ((param_4 < uVar5) ||\n           (pbVar8 = pbVar8 + 0xc,\n           param_4 - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100)) {\n          uVar6 = FUN_00013fbc(param_1,param_2,param_3,iVar7);\n          return uVar6;\n        }\n        if ((uVar5 & 3) == 0) break;\n        FUN_00013fbc(param_1,0,param_3,iVar7,puVar9);\n        if (iVar11 == iVar10) {\n          return 1;\n        }\n      }\n    } while (iVar11 != iVar10);\n  }" { (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (expression_statement "puVar9 = PTR_s_nt_0005301c + -0x1dc8;" (assignment_expression "puVar9 = PTR_s_nt_0005301c + -0x1dc8" identifier = (binary_expression "PTR_s_nt_0005301c + -0x1dc8" identifier + number_literal)) ;) (do_statement "do {\n      while( true ) {\n        iVar10 = iVar10 + 1;\n        pbVar1 = pbVar8 + 8;\n        pbVar2 = pbVar8 + 9;\n        pbVar3 = pbVar8 + 0xb;\n        pbVar4 = pbVar8 + 10;\n        uVar5 = (uint)pbVar8[4] * 0x1000000 + (uint)pbVar8[5] * 0x10000 + (uint)pbVar8[7] +\n                (uint)pbVar8[6] * 0x100;\n        iVar7 = (uint)*pbVar8 * 0x1000000 + (uint)pbVar8[1] * 0x10000 + (uint)pbVar8[3] +\n                (uint)pbVar8[2] * 0x100;\n        if ((param_4 < uVar5) ||\n           (pbVar8 = pbVar8 + 0xc,\n           param_4 - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100)) {\n          uVar6 = FUN_00013fbc(param_1,param_2,param_3,iVar7);\n          return uVar6;\n        }\n        if ((uVar5 & 3) == 0) break;\n        FUN_00013fbc(param_1,0,param_3,iVar7,puVar9);\n        if (iVar11 == iVar10) {\n          return 1;\n        }\n      }\n    } while (iVar11 != iVar10);" do (compound_statement "{\n      while( true ) {\n        iVar10 = iVar10 + 1;\n        pbVar1 = pbVar8 + 8;\n        pbVar2 = pbVar8 + 9;\n        pbVar3 = pbVar8 + 0xb;\n        pbVar4 = pbVar8 + 10;\n        uVar5 = (uint)pbVar8[4] * 0x1000000 + (uint)pbVar8[5] * 0x10000 + (uint)pbVar8[7] +\n                (uint)pbVar8[6] * 0x100;\n        iVar7 = (uint)*pbVar8 * 0x1000000 + (uint)pbVar8[1] * 0x10000 + (uint)pbVar8[3] +\n                (uint)pbVar8[2] * 0x100;\n        if ((param_4 < uVar5) ||\n           (pbVar8 = pbVar8 + 0xc,\n           param_4 - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100)) {\n          uVar6 = FUN_00013fbc(param_1,param_2,param_3,iVar7);\n          return uVar6;\n        }\n        if ((uVar5 & 3) == 0) break;\n        FUN_00013fbc(param_1,0,param_3,iVar7,puVar9);\n        if (iVar11 == iVar10) {\n          return 1;\n        }\n      }\n    }" { (while_statement "while( true ) {\n        iVar10 = iVar10 + 1;\n        pbVar1 = pbVar8 + 8;\n        pbVar2 = pbVar8 + 9;\n        pbVar3 = pbVar8 + 0xb;\n        pbVar4 = pbVar8 + 10;\n        uVar5 = (uint)pbVar8[4] * 0x1000000 + (uint)pbVar8[5] * 0x10000 + (uint)pbVar8[7] +\n                (uint)pbVar8[6] * 0x100;\n        iVar7 = (uint)*pbVar8 * 0x1000000 + (uint)pbVar8[1] * 0x10000 + (uint)pbVar8[3] +\n                (uint)pbVar8[2] * 0x100;\n        if ((param_4 < uVar5) ||\n           (pbVar8 = pbVar8 + 0xc,\n           param_4 - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100)) {\n          uVar6 = FUN_00013fbc(param_1,param_2,param_3,iVar7);\n          return uVar6;\n        }\n        if ((uVar5 & 3) == 0) break;\n        FUN_00013fbc(param_1,0,param_3,iVar7,puVar9);\n        if (iVar11 == iVar10) {\n          return 1;\n        }\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        iVar10 = iVar10 + 1;\n        pbVar1 = pbVar8 + 8;\n        pbVar2 = pbVar8 + 9;\n        pbVar3 = pbVar8 + 0xb;\n        pbVar4 = pbVar8 + 10;\n        uVar5 = (uint)pbVar8[4] * 0x1000000 + (uint)pbVar8[5] * 0x10000 + (uint)pbVar8[7] +\n                (uint)pbVar8[6] * 0x100;\n        iVar7 = (uint)*pbVar8 * 0x1000000 + (uint)pbVar8[1] * 0x10000 + (uint)pbVar8[3] +\n                (uint)pbVar8[2] * 0x100;\n        if ((param_4 < uVar5) ||\n           (pbVar8 = pbVar8 + 0xc,\n           param_4 - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100)) {\n          uVar6 = FUN_00013fbc(param_1,param_2,param_3,iVar7);\n          return uVar6;\n        }\n        if ((uVar5 & 3) == 0) break;\n        FUN_00013fbc(param_1,0,param_3,iVar7,puVar9);\n        if (iVar11 == iVar10) {\n          return 1;\n        }\n      }" { (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (expression_statement "pbVar1 = pbVar8 + 8;" (assignment_expression "pbVar1 = pbVar8 + 8" identifier = (binary_expression "pbVar8 + 8" identifier + number_literal)) ;) (expression_statement "pbVar2 = pbVar8 + 9;" (assignment_expression "pbVar2 = pbVar8 + 9" identifier = (binary_expression "pbVar8 + 9" identifier + number_literal)) ;) (expression_statement "pbVar3 = pbVar8 + 0xb;" (assignment_expression "pbVar3 = pbVar8 + 0xb" identifier = (binary_expression "pbVar8 + 0xb" identifier + number_literal)) ;) (expression_statement "pbVar4 = pbVar8 + 10;" (assignment_expression "pbVar4 = pbVar8 + 10" identifier = (binary_expression "pbVar8 + 10" identifier + number_literal)) ;) (expression_statement "uVar5 = (uint)pbVar8[4] * 0x1000000 + (uint)pbVar8[5] * 0x10000 + (uint)pbVar8[7] +\n                (uint)pbVar8[6] * 0x100;" (assignment_expression "uVar5 = (uint)pbVar8[4] * 0x1000000 + (uint)pbVar8[5] * 0x10000 + (uint)pbVar8[7] +\n                (uint)pbVar8[6] * 0x100" identifier = (binary_expression "(uint)pbVar8[4] * 0x1000000 + (uint)pbVar8[5] * 0x10000 + (uint)pbVar8[7] +\n                (uint)pbVar8[6] * 0x100" (binary_expression "(uint)pbVar8[4] * 0x1000000 + (uint)pbVar8[5] * 0x10000 + (uint)pbVar8[7]" (binary_expression "(uint)pbVar8[4] * 0x1000000 + (uint)pbVar8[5] * 0x10000" (binary_expression "(uint)pbVar8[4] * 0x1000000" (cast_expression "(uint)pbVar8[4]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar8[4]" identifier [ number_literal ])) * number_literal) + (binary_expression "(uint)pbVar8[5] * 0x10000" (cast_expression "(uint)pbVar8[5]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar8[5]" identifier [ number_literal ])) * number_literal)) + (cast_expression "(uint)pbVar8[7]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar8[7]" identifier [ number_literal ]))) + (binary_expression "(uint)pbVar8[6] * 0x100" (cast_expression "(uint)pbVar8[6]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar8[6]" identifier [ number_literal ])) * number_literal))) ;) (expression_statement "iVar7 = (uint)*pbVar8 * 0x1000000 + (uint)pbVar8[1] * 0x10000 + (uint)pbVar8[3] +\n                (uint)pbVar8[2] * 0x100;" (assignment_expression "iVar7 = (uint)*pbVar8 * 0x1000000 + (uint)pbVar8[1] * 0x10000 + (uint)pbVar8[3] +\n                (uint)pbVar8[2] * 0x100" identifier = (binary_expression "(uint)*pbVar8 * 0x1000000 + (uint)pbVar8[1] * 0x10000 + (uint)pbVar8[3] +\n                (uint)pbVar8[2] * 0x100" (binary_expression "(uint)*pbVar8 * 0x1000000 + (uint)pbVar8[1] * 0x10000 + (uint)pbVar8[3]" (binary_expression "(uint)*pbVar8 * 0x1000000 + (uint)pbVar8[1] * 0x10000" (binary_expression "(uint)*pbVar8 * 0x1000000" (binary_expression "(uint)*pbVar8" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal) + (binary_expression "(uint)pbVar8[1] * 0x10000" (cast_expression "(uint)pbVar8[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar8[1]" identifier [ number_literal ])) * number_literal)) + (cast_expression "(uint)pbVar8[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar8[3]" identifier [ number_literal ]))) + (binary_expression "(uint)pbVar8[2] * 0x100" (cast_expression "(uint)pbVar8[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar8[2]" identifier [ number_literal ])) * number_literal))) ;) (if_statement "if ((param_4 < uVar5) ||\n           (pbVar8 = pbVar8 + 0xc,\n           param_4 - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100)) {\n          uVar6 = FUN_00013fbc(param_1,param_2,param_3,iVar7);\n          return uVar6;\n        }" if (parenthesized_expression "((param_4 < uVar5) ||\n           (pbVar8 = pbVar8 + 0xc,\n           param_4 - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100))" ( (binary_expression "(param_4 < uVar5) ||\n           (pbVar8 = pbVar8 + 0xc,\n           param_4 - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100)" (parenthesized_expression "(param_4 < uVar5)" ( (binary_expression "param_4 < uVar5" identifier < identifier) )) || (parenthesized_expression "(pbVar8 = pbVar8 + 0xc,\n           param_4 - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100)" ( (comma_expression "pbVar8 = pbVar8 + 0xc,\n           param_4 - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100" (assignment_expression "pbVar8 = pbVar8 + 0xc" identifier = (binary_expression "pbVar8 + 0xc" identifier + number_literal)) , (binary_expression "param_4 - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100" (binary_expression "param_4 - uVar5" identifier - identifier) < (binary_expression "(uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100" (binary_expression "(uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3" (binary_expression "(uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000" (binary_expression "(uint)*pbVar1 * 0x1000000" (binary_expression "(uint)*pbVar1" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal) + (binary_expression "(uint)*pbVar2 * 0x10000" (binary_expression "(uint)*pbVar2" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal)) + (binary_expression "(uint)*pbVar3" (parenthesized_expression "(uint)" ( identifier )) * identifier)) + (binary_expression "(uint)*pbVar4 * 0x100" (binary_expression "(uint)*pbVar4" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal)))) ))) )) (compound_statement "{\n          uVar6 = FUN_00013fbc(param_1,param_2,param_3,iVar7);\n          return uVar6;\n        }" { (expression_statement "uVar6 = FUN_00013fbc(param_1,param_2,param_3,iVar7);" (assignment_expression "uVar6 = FUN_00013fbc(param_1,param_2,param_3,iVar7)" identifier = (call_expression "FUN_00013fbc(param_1,param_2,param_3,iVar7)" identifier (argument_list "(param_1,param_2,param_3,iVar7)" ( identifier , identifier , identifier , identifier )))) ;) (return_statement "return uVar6;" return identifier ;) })) (if_statement "if ((uVar5 & 3) == 0) break;" if (parenthesized_expression "((uVar5 & 3) == 0)" ( (binary_expression "(uVar5 & 3) == 0" (parenthesized_expression "(uVar5 & 3)" ( (binary_expression "uVar5 & 3" identifier & number_literal) )) == number_literal) )) (break_statement "break;" break ;)) (expression_statement "FUN_00013fbc(param_1,0,param_3,iVar7,puVar9);" (call_expression "FUN_00013fbc(param_1,0,param_3,iVar7,puVar9)" identifier (argument_list "(param_1,0,param_3,iVar7,puVar9)" ( identifier , number_literal , identifier , identifier , identifier ))) ;) (if_statement "if (iVar11 == iVar10) {\n          return 1;\n        }" if (parenthesized_expression "(iVar11 == iVar10)" ( (binary_expression "iVar11 == iVar10" identifier == identifier) )) (compound_statement "{\n          return 1;\n        }" { (return_statement "return 1;" return number_literal ;) })) })) }) while (parenthesized_expression "(iVar11 != iVar10)" ( (binary_expression "iVar11 != iVar10" identifier != identifier) )) ;) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "int png_icc_check_tag_table\n              (png_const_structrp png_ptr,png_colorspacerp colorspace,png_const_charp name,\n              png_uint_32 profile_length,png_const_bytep profile)\n\n{\n  byte *pbVar1;\n  byte *pbVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  uint uVar5;\n  png_alloc_size_t value;\n  byte *pbVar6;\n  png_const_charp reason;\n  int iVar7;\n  int iVar8;\n  \n  pbVar6 = profile + 0x84;\n  iVar8 = (uint)profile[0x80] * 0x1000000 + (uint)profile[0x81] * 0x10000 + (uint)profile[0x83] +\n          (uint)profile[0x82] * 0x100;\n  if (iVar8 != 0) {\n    iVar7 = 0;\n    reason = PTR_s_nt_0005301c + -0x1dc8;\n    do {\n      while( true ) {\n        iVar7 = iVar7 + 1;\n        pbVar1 = pbVar6 + 8;\n        pbVar2 = pbVar6 + 9;\n        pbVar3 = pbVar6 + 0xb;\n        pbVar4 = pbVar6 + 10;\n        uVar5 = (uint)pbVar6[4] * 0x1000000 + (uint)pbVar6[5] * 0x10000 + (uint)pbVar6[7] +\n                (uint)pbVar6[6] * 0x100;\n        value = (uint)*pbVar6 * 0x1000000 + (uint)pbVar6[1] * 0x10000 + (uint)pbVar6[3] +\n                (uint)pbVar6[2] * 0x100;\n        if ((profile_length < uVar5) ||\n           (pbVar6 = pbVar6 + 0xc,\n           profile_length - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100)) {\n          iVar8 = png_icc_profile_error(png_ptr,colorspace,name,value,PTR_s_nt_0005301c + -0x1de8);\n          return iVar8;\n        }\n        if ((uVar5 & 3) == 0) break;\n        png_icc_profile_error(png_ptr,(png_colorspacerp)0x0,name,value,reason);\n        if (iVar8 == iVar7) {\n          return 1;\n        }\n      }\n    } while (iVar8 != iVar7);\n  }\n  return 1;\n}\n\n" (function_definition "int png_icc_check_tag_table\n              (png_const_structrp png_ptr,png_colorspacerp colorspace,png_const_charp name,\n              png_uint_32 profile_length,png_const_bytep profile)\n\n{\n  byte *pbVar1;\n  byte *pbVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  uint uVar5;\n  png_alloc_size_t value;\n  byte *pbVar6;\n  png_const_charp reason;\n  int iVar7;\n  int iVar8;\n  \n  pbVar6 = profile + 0x84;\n  iVar8 = (uint)profile[0x80] * 0x1000000 + (uint)profile[0x81] * 0x10000 + (uint)profile[0x83] +\n          (uint)profile[0x82] * 0x100;\n  if (iVar8 != 0) {\n    iVar7 = 0;\n    reason = PTR_s_nt_0005301c + -0x1dc8;\n    do {\n      while( true ) {\n        iVar7 = iVar7 + 1;\n        pbVar1 = pbVar6 + 8;\n        pbVar2 = pbVar6 + 9;\n        pbVar3 = pbVar6 + 0xb;\n        pbVar4 = pbVar6 + 10;\n        uVar5 = (uint)pbVar6[4] * 0x1000000 + (uint)pbVar6[5] * 0x10000 + (uint)pbVar6[7] +\n                (uint)pbVar6[6] * 0x100;\n        value = (uint)*pbVar6 * 0x1000000 + (uint)pbVar6[1] * 0x10000 + (uint)pbVar6[3] +\n                (uint)pbVar6[2] * 0x100;\n        if ((profile_length < uVar5) ||\n           (pbVar6 = pbVar6 + 0xc,\n           profile_length - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100)) {\n          iVar8 = png_icc_profile_error(png_ptr,colorspace,name,value,PTR_s_nt_0005301c + -0x1de8);\n          return iVar8;\n        }\n        if ((uVar5 & 3) == 0) break;\n        png_icc_profile_error(png_ptr,(png_colorspacerp)0x0,name,value,reason);\n        if (iVar8 == iVar7) {\n          return 1;\n        }\n      }\n    } while (iVar8 != iVar7);\n  }\n  return 1;\n}" primitive_type (function_declarator "png_icc_check_tag_table\n              (png_const_structrp png_ptr,png_colorspacerp colorspace,png_const_charp name,\n              png_uint_32 profile_length,png_const_bytep profile)" identifier (parameter_list "(png_const_structrp png_ptr,png_colorspacerp colorspace,png_const_charp name,\n              png_uint_32 profile_length,png_const_bytep profile)" ( (parameter_declaration "png_const_structrp png_ptr" type_identifier identifier) , (parameter_declaration "png_colorspacerp colorspace" type_identifier identifier) , (parameter_declaration "png_const_charp name" type_identifier identifier) , (parameter_declaration "png_uint_32 profile_length" type_identifier identifier) , (parameter_declaration "png_const_bytep profile" type_identifier identifier) ))) (compound_statement "{\n  byte *pbVar1;\n  byte *pbVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  uint uVar5;\n  png_alloc_size_t value;\n  byte *pbVar6;\n  png_const_charp reason;\n  int iVar7;\n  int iVar8;\n  \n  pbVar6 = profile + 0x84;\n  iVar8 = (uint)profile[0x80] * 0x1000000 + (uint)profile[0x81] * 0x10000 + (uint)profile[0x83] +\n          (uint)profile[0x82] * 0x100;\n  if (iVar8 != 0) {\n    iVar7 = 0;\n    reason = PTR_s_nt_0005301c + -0x1dc8;\n    do {\n      while( true ) {\n        iVar7 = iVar7 + 1;\n        pbVar1 = pbVar6 + 8;\n        pbVar2 = pbVar6 + 9;\n        pbVar3 = pbVar6 + 0xb;\n        pbVar4 = pbVar6 + 10;\n        uVar5 = (uint)pbVar6[4] * 0x1000000 + (uint)pbVar6[5] * 0x10000 + (uint)pbVar6[7] +\n                (uint)pbVar6[6] * 0x100;\n        value = (uint)*pbVar6 * 0x1000000 + (uint)pbVar6[1] * 0x10000 + (uint)pbVar6[3] +\n                (uint)pbVar6[2] * 0x100;\n        if ((profile_length < uVar5) ||\n           (pbVar6 = pbVar6 + 0xc,\n           profile_length - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100)) {\n          iVar8 = png_icc_profile_error(png_ptr,colorspace,name,value,PTR_s_nt_0005301c + -0x1de8);\n          return iVar8;\n        }\n        if ((uVar5 & 3) == 0) break;\n        png_icc_profile_error(png_ptr,(png_colorspacerp)0x0,name,value,reason);\n        if (iVar8 == iVar7) {\n          return 1;\n        }\n      }\n    } while (iVar8 != iVar7);\n  }\n  return 1;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "byte *pbVar2;" type_identifier (pointer_declarator "*pbVar2" * identifier) ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "png_alloc_size_t value;" type_identifier identifier ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "png_const_charp reason;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (expression_statement "pbVar6 = profile + 0x84;" (assignment_expression "pbVar6 = profile + 0x84" identifier = (binary_expression "profile + 0x84" identifier + number_literal)) ;) (expression_statement "iVar8 = (uint)profile[0x80] * 0x1000000 + (uint)profile[0x81] * 0x10000 + (uint)profile[0x83] +\n          (uint)profile[0x82] * 0x100;" (assignment_expression "iVar8 = (uint)profile[0x80] * 0x1000000 + (uint)profile[0x81] * 0x10000 + (uint)profile[0x83] +\n          (uint)profile[0x82] * 0x100" identifier = (binary_expression "(uint)profile[0x80] * 0x1000000 + (uint)profile[0x81] * 0x10000 + (uint)profile[0x83] +\n          (uint)profile[0x82] * 0x100" (binary_expression "(uint)profile[0x80] * 0x1000000 + (uint)profile[0x81] * 0x10000 + (uint)profile[0x83]" (binary_expression "(uint)profile[0x80] * 0x1000000 + (uint)profile[0x81] * 0x10000" (binary_expression "(uint)profile[0x80] * 0x1000000" (cast_expression "(uint)profile[0x80]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "profile[0x80]" identifier [ number_literal ])) * number_literal) + (binary_expression "(uint)profile[0x81] * 0x10000" (cast_expression "(uint)profile[0x81]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "profile[0x81]" identifier [ number_literal ])) * number_literal)) + (cast_expression "(uint)profile[0x83]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "profile[0x83]" identifier [ number_literal ]))) + (binary_expression "(uint)profile[0x82] * 0x100" (cast_expression "(uint)profile[0x82]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "profile[0x82]" identifier [ number_literal ])) * number_literal))) ;) (if_statement "if (iVar8 != 0) {\n    iVar7 = 0;\n    reason = PTR_s_nt_0005301c + -0x1dc8;\n    do {\n      while( true ) {\n        iVar7 = iVar7 + 1;\n        pbVar1 = pbVar6 + 8;\n        pbVar2 = pbVar6 + 9;\n        pbVar3 = pbVar6 + 0xb;\n        pbVar4 = pbVar6 + 10;\n        uVar5 = (uint)pbVar6[4] * 0x1000000 + (uint)pbVar6[5] * 0x10000 + (uint)pbVar6[7] +\n                (uint)pbVar6[6] * 0x100;\n        value = (uint)*pbVar6 * 0x1000000 + (uint)pbVar6[1] * 0x10000 + (uint)pbVar6[3] +\n                (uint)pbVar6[2] * 0x100;\n        if ((profile_length < uVar5) ||\n           (pbVar6 = pbVar6 + 0xc,\n           profile_length - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100)) {\n          iVar8 = png_icc_profile_error(png_ptr,colorspace,name,value,PTR_s_nt_0005301c + -0x1de8);\n          return iVar8;\n        }\n        if ((uVar5 & 3) == 0) break;\n        png_icc_profile_error(png_ptr,(png_colorspacerp)0x0,name,value,reason);\n        if (iVar8 == iVar7) {\n          return 1;\n        }\n      }\n    } while (iVar8 != iVar7);\n  }" if (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar7 = 0;\n    reason = PTR_s_nt_0005301c + -0x1dc8;\n    do {\n      while( true ) {\n        iVar7 = iVar7 + 1;\n        pbVar1 = pbVar6 + 8;\n        pbVar2 = pbVar6 + 9;\n        pbVar3 = pbVar6 + 0xb;\n        pbVar4 = pbVar6 + 10;\n        uVar5 = (uint)pbVar6[4] * 0x1000000 + (uint)pbVar6[5] * 0x10000 + (uint)pbVar6[7] +\n                (uint)pbVar6[6] * 0x100;\n        value = (uint)*pbVar6 * 0x1000000 + (uint)pbVar6[1] * 0x10000 + (uint)pbVar6[3] +\n                (uint)pbVar6[2] * 0x100;\n        if ((profile_length < uVar5) ||\n           (pbVar6 = pbVar6 + 0xc,\n           profile_length - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100)) {\n          iVar8 = png_icc_profile_error(png_ptr,colorspace,name,value,PTR_s_nt_0005301c + -0x1de8);\n          return iVar8;\n        }\n        if ((uVar5 & 3) == 0) break;\n        png_icc_profile_error(png_ptr,(png_colorspacerp)0x0,name,value,reason);\n        if (iVar8 == iVar7) {\n          return 1;\n        }\n      }\n    } while (iVar8 != iVar7);\n  }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "reason = PTR_s_nt_0005301c + -0x1dc8;" (assignment_expression "reason = PTR_s_nt_0005301c + -0x1dc8" identifier = (binary_expression "PTR_s_nt_0005301c + -0x1dc8" identifier + number_literal)) ;) (do_statement "do {\n      while( true ) {\n        iVar7 = iVar7 + 1;\n        pbVar1 = pbVar6 + 8;\n        pbVar2 = pbVar6 + 9;\n        pbVar3 = pbVar6 + 0xb;\n        pbVar4 = pbVar6 + 10;\n        uVar5 = (uint)pbVar6[4] * 0x1000000 + (uint)pbVar6[5] * 0x10000 + (uint)pbVar6[7] +\n                (uint)pbVar6[6] * 0x100;\n        value = (uint)*pbVar6 * 0x1000000 + (uint)pbVar6[1] * 0x10000 + (uint)pbVar6[3] +\n                (uint)pbVar6[2] * 0x100;\n        if ((profile_length < uVar5) ||\n           (pbVar6 = pbVar6 + 0xc,\n           profile_length - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100)) {\n          iVar8 = png_icc_profile_error(png_ptr,colorspace,name,value,PTR_s_nt_0005301c + -0x1de8);\n          return iVar8;\n        }\n        if ((uVar5 & 3) == 0) break;\n        png_icc_profile_error(png_ptr,(png_colorspacerp)0x0,name,value,reason);\n        if (iVar8 == iVar7) {\n          return 1;\n        }\n      }\n    } while (iVar8 != iVar7);" do (compound_statement "{\n      while( true ) {\n        iVar7 = iVar7 + 1;\n        pbVar1 = pbVar6 + 8;\n        pbVar2 = pbVar6 + 9;\n        pbVar3 = pbVar6 + 0xb;\n        pbVar4 = pbVar6 + 10;\n        uVar5 = (uint)pbVar6[4] * 0x1000000 + (uint)pbVar6[5] * 0x10000 + (uint)pbVar6[7] +\n                (uint)pbVar6[6] * 0x100;\n        value = (uint)*pbVar6 * 0x1000000 + (uint)pbVar6[1] * 0x10000 + (uint)pbVar6[3] +\n                (uint)pbVar6[2] * 0x100;\n        if ((profile_length < uVar5) ||\n           (pbVar6 = pbVar6 + 0xc,\n           profile_length - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100)) {\n          iVar8 = png_icc_profile_error(png_ptr,colorspace,name,value,PTR_s_nt_0005301c + -0x1de8);\n          return iVar8;\n        }\n        if ((uVar5 & 3) == 0) break;\n        png_icc_profile_error(png_ptr,(png_colorspacerp)0x0,name,value,reason);\n        if (iVar8 == iVar7) {\n          return 1;\n        }\n      }\n    }" { (while_statement "while( true ) {\n        iVar7 = iVar7 + 1;\n        pbVar1 = pbVar6 + 8;\n        pbVar2 = pbVar6 + 9;\n        pbVar3 = pbVar6 + 0xb;\n        pbVar4 = pbVar6 + 10;\n        uVar5 = (uint)pbVar6[4] * 0x1000000 + (uint)pbVar6[5] * 0x10000 + (uint)pbVar6[7] +\n                (uint)pbVar6[6] * 0x100;\n        value = (uint)*pbVar6 * 0x1000000 + (uint)pbVar6[1] * 0x10000 + (uint)pbVar6[3] +\n                (uint)pbVar6[2] * 0x100;\n        if ((profile_length < uVar5) ||\n           (pbVar6 = pbVar6 + 0xc,\n           profile_length - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100)) {\n          iVar8 = png_icc_profile_error(png_ptr,colorspace,name,value,PTR_s_nt_0005301c + -0x1de8);\n          return iVar8;\n        }\n        if ((uVar5 & 3) == 0) break;\n        png_icc_profile_error(png_ptr,(png_colorspacerp)0x0,name,value,reason);\n        if (iVar8 == iVar7) {\n          return 1;\n        }\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        iVar7 = iVar7 + 1;\n        pbVar1 = pbVar6 + 8;\n        pbVar2 = pbVar6 + 9;\n        pbVar3 = pbVar6 + 0xb;\n        pbVar4 = pbVar6 + 10;\n        uVar5 = (uint)pbVar6[4] * 0x1000000 + (uint)pbVar6[5] * 0x10000 + (uint)pbVar6[7] +\n                (uint)pbVar6[6] * 0x100;\n        value = (uint)*pbVar6 * 0x1000000 + (uint)pbVar6[1] * 0x10000 + (uint)pbVar6[3] +\n                (uint)pbVar6[2] * 0x100;\n        if ((profile_length < uVar5) ||\n           (pbVar6 = pbVar6 + 0xc,\n           profile_length - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100)) {\n          iVar8 = png_icc_profile_error(png_ptr,colorspace,name,value,PTR_s_nt_0005301c + -0x1de8);\n          return iVar8;\n        }\n        if ((uVar5 & 3) == 0) break;\n        png_icc_profile_error(png_ptr,(png_colorspacerp)0x0,name,value,reason);\n        if (iVar8 == iVar7) {\n          return 1;\n        }\n      }" { (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (expression_statement "pbVar1 = pbVar6 + 8;" (assignment_expression "pbVar1 = pbVar6 + 8" identifier = (binary_expression "pbVar6 + 8" identifier + number_literal)) ;) (expression_statement "pbVar2 = pbVar6 + 9;" (assignment_expression "pbVar2 = pbVar6 + 9" identifier = (binary_expression "pbVar6 + 9" identifier + number_literal)) ;) (expression_statement "pbVar3 = pbVar6 + 0xb;" (assignment_expression "pbVar3 = pbVar6 + 0xb" identifier = (binary_expression "pbVar6 + 0xb" identifier + number_literal)) ;) (expression_statement "pbVar4 = pbVar6 + 10;" (assignment_expression "pbVar4 = pbVar6 + 10" identifier = (binary_expression "pbVar6 + 10" identifier + number_literal)) ;) (expression_statement "uVar5 = (uint)pbVar6[4] * 0x1000000 + (uint)pbVar6[5] * 0x10000 + (uint)pbVar6[7] +\n                (uint)pbVar6[6] * 0x100;" (assignment_expression "uVar5 = (uint)pbVar6[4] * 0x1000000 + (uint)pbVar6[5] * 0x10000 + (uint)pbVar6[7] +\n                (uint)pbVar6[6] * 0x100" identifier = (binary_expression "(uint)pbVar6[4] * 0x1000000 + (uint)pbVar6[5] * 0x10000 + (uint)pbVar6[7] +\n                (uint)pbVar6[6] * 0x100" (binary_expression "(uint)pbVar6[4] * 0x1000000 + (uint)pbVar6[5] * 0x10000 + (uint)pbVar6[7]" (binary_expression "(uint)pbVar6[4] * 0x1000000 + (uint)pbVar6[5] * 0x10000" (binary_expression "(uint)pbVar6[4] * 0x1000000" (cast_expression "(uint)pbVar6[4]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar6[4]" identifier [ number_literal ])) * number_literal) + (binary_expression "(uint)pbVar6[5] * 0x10000" (cast_expression "(uint)pbVar6[5]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar6[5]" identifier [ number_literal ])) * number_literal)) + (cast_expression "(uint)pbVar6[7]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar6[7]" identifier [ number_literal ]))) + (binary_expression "(uint)pbVar6[6] * 0x100" (cast_expression "(uint)pbVar6[6]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar6[6]" identifier [ number_literal ])) * number_literal))) ;) (expression_statement "value = (uint)*pbVar6 * 0x1000000 + (uint)pbVar6[1] * 0x10000 + (uint)pbVar6[3] +\n                (uint)pbVar6[2] * 0x100;" (assignment_expression "value = (uint)*pbVar6 * 0x1000000 + (uint)pbVar6[1] * 0x10000 + (uint)pbVar6[3] +\n                (uint)pbVar6[2] * 0x100" identifier = (binary_expression "(uint)*pbVar6 * 0x1000000 + (uint)pbVar6[1] * 0x10000 + (uint)pbVar6[3] +\n                (uint)pbVar6[2] * 0x100" (binary_expression "(uint)*pbVar6 * 0x1000000 + (uint)pbVar6[1] * 0x10000 + (uint)pbVar6[3]" (binary_expression "(uint)*pbVar6 * 0x1000000 + (uint)pbVar6[1] * 0x10000" (binary_expression "(uint)*pbVar6 * 0x1000000" (binary_expression "(uint)*pbVar6" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal) + (binary_expression "(uint)pbVar6[1] * 0x10000" (cast_expression "(uint)pbVar6[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar6[1]" identifier [ number_literal ])) * number_literal)) + (cast_expression "(uint)pbVar6[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar6[3]" identifier [ number_literal ]))) + (binary_expression "(uint)pbVar6[2] * 0x100" (cast_expression "(uint)pbVar6[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar6[2]" identifier [ number_literal ])) * number_literal))) ;) (if_statement "if ((profile_length < uVar5) ||\n           (pbVar6 = pbVar6 + 0xc,\n           profile_length - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100)) {\n          iVar8 = png_icc_profile_error(png_ptr,colorspace,name,value,PTR_s_nt_0005301c + -0x1de8);\n          return iVar8;\n        }" if (parenthesized_expression "((profile_length < uVar5) ||\n           (pbVar6 = pbVar6 + 0xc,\n           profile_length - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100))" ( (binary_expression "(profile_length < uVar5) ||\n           (pbVar6 = pbVar6 + 0xc,\n           profile_length - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100)" (parenthesized_expression "(profile_length < uVar5)" ( (binary_expression "profile_length < uVar5" identifier < identifier) )) || (parenthesized_expression "(pbVar6 = pbVar6 + 0xc,\n           profile_length - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100)" ( (comma_expression "pbVar6 = pbVar6 + 0xc,\n           profile_length - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100" (assignment_expression "pbVar6 = pbVar6 + 0xc" identifier = (binary_expression "pbVar6 + 0xc" identifier + number_literal)) , (binary_expression "profile_length - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100" (binary_expression "profile_length - uVar5" identifier - identifier) < (binary_expression "(uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100" (binary_expression "(uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3" (binary_expression "(uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000" (binary_expression "(uint)*pbVar1 * 0x1000000" (binary_expression "(uint)*pbVar1" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal) + (binary_expression "(uint)*pbVar2 * 0x10000" (binary_expression "(uint)*pbVar2" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal)) + (binary_expression "(uint)*pbVar3" (parenthesized_expression "(uint)" ( identifier )) * identifier)) + (binary_expression "(uint)*pbVar4 * 0x100" (binary_expression "(uint)*pbVar4" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal)))) ))) )) (compound_statement "{\n          iVar8 = png_icc_profile_error(png_ptr,colorspace,name,value,PTR_s_nt_0005301c + -0x1de8);\n          return iVar8;\n        }" { (expression_statement "iVar8 = png_icc_profile_error(png_ptr,colorspace,name,value,PTR_s_nt_0005301c + -0x1de8);" (assignment_expression "iVar8 = png_icc_profile_error(png_ptr,colorspace,name,value,PTR_s_nt_0005301c + -0x1de8)" identifier = (call_expression "png_icc_profile_error(png_ptr,colorspace,name,value,PTR_s_nt_0005301c + -0x1de8)" identifier (argument_list "(png_ptr,colorspace,name,value,PTR_s_nt_0005301c + -0x1de8)" ( identifier , identifier , identifier , identifier , (binary_expression "PTR_s_nt_0005301c + -0x1de8" identifier + number_literal) )))) ;) (return_statement "return iVar8;" return identifier ;) })) (if_statement "if ((uVar5 & 3) == 0) break;" if (parenthesized_expression "((uVar5 & 3) == 0)" ( (binary_expression "(uVar5 & 3) == 0" (parenthesized_expression "(uVar5 & 3)" ( (binary_expression "uVar5 & 3" identifier & number_literal) )) == number_literal) )) (break_statement "break;" break ;)) (expression_statement "png_icc_profile_error(png_ptr,(png_colorspacerp)0x0,name,value,reason);" (call_expression "png_icc_profile_error(png_ptr,(png_colorspacerp)0x0,name,value,reason)" identifier (argument_list "(png_ptr,(png_colorspacerp)0x0,name,value,reason)" ( identifier , (cast_expression "(png_colorspacerp)0x0" ( (type_descriptor "png_colorspacerp" type_identifier) ) number_literal) , identifier , identifier , identifier ))) ;) (if_statement "if (iVar8 == iVar7) {\n          return 1;\n        }" if (parenthesized_expression "(iVar8 == iVar7)" ( (binary_expression "iVar8 == iVar7" identifier == identifier) )) (compound_statement "{\n          return 1;\n        }" { (return_statement "return 1;" return number_literal ;) })) })) }) while (parenthesized_expression "(iVar8 != iVar7)" ( (binary_expression "iVar8 != iVar7" identifier != identifier) )) ;) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "undefined4\nFUN_00015dd8(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4,int param_5)\n\n{\n  byte *pbVar1;\n  byte *pbVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  int iVar7;\n  byte *pbVar8;\n  undefined *puVar9;\n  int iVar10;\n  int iVar11;\n  \n  pbVar8 = (byte *)(param_5 + 0x84);\n  iVar11 = (uint)*(byte *)(param_5 + 0x80) * 0x1000000 + (uint)*(byte *)(param_5 + 0x81) * 0x10000 +\n           (uint)*(byte *)(param_5 + 0x83) + (uint)*(byte *)(param_5 + 0x82) * 0x100;\n  if (iVar11 != 0) {\n    iVar10 = 0;\n    puVar9 = PTR_s_nt_0005301c + -0x1dc8;\n    do {\n      while( true ) {\n        iVar10 = iVar10 + 1;\n        pbVar1 = pbVar8 + 8;\n        pbVar2 = pbVar8 + 9;\n        pbVar3 = pbVar8 + 0xb;\n        pbVar4 = pbVar8 + 10;\n        uVar5 = (uint)pbVar8[4] * 0x1000000 + (uint)pbVar8[5] * 0x10000 + (uint)pbVar8[7] +\n                (uint)pbVar8[6] * 0x100;\n        iVar7 = (uint)*pbVar8 * 0x1000000 + (uint)pbVar8[1] * 0x10000 + (uint)pbVar8[3] +\n                (uint)pbVar8[2] * 0x100;\n        if ((param_4 < uVar5) ||\n           (pbVar8 = pbVar8 + 0xc,\n           param_4 - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100)) {\n          uVar6 = FUN_00013fbc(param_1,param_2,param_3,iVar7);\n          return uVar6;\n        }\n        if ((uVar5 & 3) == 0) break;\n        FUN_00013fbc(param_1,0,param_3,iVar7,puVar9);\n        if (iVar11 == iVar10) {\n          return 1;\n        }\n      }\n    } while (iVar11 != iVar10);\n  }\n  return 1;\n}\n\n" (function_definition "undefined4\nFUN_00015dd8(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4,int param_5)\n\n{\n  byte *pbVar1;\n  byte *pbVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  int iVar7;\n  byte *pbVar8;\n  undefined *puVar9;\n  int iVar10;\n  int iVar11;\n  \n  pbVar8 = (byte *)(param_5 + 0x84);\n  iVar11 = (uint)*(byte *)(param_5 + 0x80) * 0x1000000 + (uint)*(byte *)(param_5 + 0x81) * 0x10000 +\n           (uint)*(byte *)(param_5 + 0x83) + (uint)*(byte *)(param_5 + 0x82) * 0x100;\n  if (iVar11 != 0) {\n    iVar10 = 0;\n    puVar9 = PTR_s_nt_0005301c + -0x1dc8;\n    do {\n      while( true ) {\n        iVar10 = iVar10 + 1;\n        pbVar1 = pbVar8 + 8;\n        pbVar2 = pbVar8 + 9;\n        pbVar3 = pbVar8 + 0xb;\n        pbVar4 = pbVar8 + 10;\n        uVar5 = (uint)pbVar8[4] * 0x1000000 + (uint)pbVar8[5] * 0x10000 + (uint)pbVar8[7] +\n                (uint)pbVar8[6] * 0x100;\n        iVar7 = (uint)*pbVar8 * 0x1000000 + (uint)pbVar8[1] * 0x10000 + (uint)pbVar8[3] +\n                (uint)pbVar8[2] * 0x100;\n        if ((param_4 < uVar5) ||\n           (pbVar8 = pbVar8 + 0xc,\n           param_4 - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100)) {\n          uVar6 = FUN_00013fbc(param_1,param_2,param_3,iVar7);\n          return uVar6;\n        }\n        if ((uVar5 & 3) == 0) break;\n        FUN_00013fbc(param_1,0,param_3,iVar7,puVar9);\n        if (iVar11 == iVar10) {\n          return 1;\n        }\n      }\n    } while (iVar11 != iVar10);\n  }\n  return 1;\n}" type_identifier (function_declarator "FUN_00015dd8(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4,int param_5)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4,int param_5)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 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) ))) (compound_statement "{\n  byte *pbVar1;\n  byte *pbVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  int iVar7;\n  byte *pbVar8;\n  undefined *puVar9;\n  int iVar10;\n  int iVar11;\n  \n  pbVar8 = (byte *)(param_5 + 0x84);\n  iVar11 = (uint)*(byte *)(param_5 + 0x80) * 0x1000000 + (uint)*(byte *)(param_5 + 0x81) * 0x10000 +\n           (uint)*(byte *)(param_5 + 0x83) + (uint)*(byte *)(param_5 + 0x82) * 0x100;\n  if (iVar11 != 0) {\n    iVar10 = 0;\n    puVar9 = PTR_s_nt_0005301c + -0x1dc8;\n    do {\n      while( true ) {\n        iVar10 = iVar10 + 1;\n        pbVar1 = pbVar8 + 8;\n        pbVar2 = pbVar8 + 9;\n        pbVar3 = pbVar8 + 0xb;\n        pbVar4 = pbVar8 + 10;\n        uVar5 = (uint)pbVar8[4] * 0x1000000 + (uint)pbVar8[5] * 0x10000 + (uint)pbVar8[7] +\n                (uint)pbVar8[6] * 0x100;\n        iVar7 = (uint)*pbVar8 * 0x1000000 + (uint)pbVar8[1] * 0x10000 + (uint)pbVar8[3] +\n                (uint)pbVar8[2] * 0x100;\n        if ((param_4 < uVar5) ||\n           (pbVar8 = pbVar8 + 0xc,\n           param_4 - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100)) {\n          uVar6 = FUN_00013fbc(param_1,param_2,param_3,iVar7);\n          return uVar6;\n        }\n        if ((uVar5 & 3) == 0) break;\n        FUN_00013fbc(param_1,0,param_3,iVar7,puVar9);\n        if (iVar11 == iVar10) {\n          return 1;\n        }\n      }\n    } while (iVar11 != iVar10);\n  }\n  return 1;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "byte *pbVar2;" type_identifier (pointer_declarator "*pbVar2" * identifier) ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "byte *pbVar8;" type_identifier (pointer_declarator "*pbVar8" * identifier) ;) (declaration "undefined *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (expression_statement "pbVar8 = (byte *)(param_5 + 0x84);" (assignment_expression "pbVar8 = (byte *)(param_5 + 0x84)" identifier = (cast_expression "(byte *)(param_5 + 0x84)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0x84)" ( (binary_expression "param_5 + 0x84" identifier + number_literal) )))) ;) (expression_statement "iVar11 = (uint)*(byte *)(param_5 + 0x80) * 0x1000000 + (uint)*(byte *)(param_5 + 0x81) * 0x10000 +\n           (uint)*(byte *)(param_5 + 0x83) + (uint)*(byte *)(param_5 + 0x82) * 0x100;" (assignment_expression "iVar11 = (uint)*(byte *)(param_5 + 0x80) * 0x1000000 + (uint)*(byte *)(param_5 + 0x81) * 0x10000 +\n           (uint)*(byte *)(param_5 + 0x83) + (uint)*(byte *)(param_5 + 0x82) * 0x100" identifier = (binary_expression "(uint)*(byte *)(param_5 + 0x80) * 0x1000000 + (uint)*(byte *)(param_5 + 0x81) * 0x10000 +\n           (uint)*(byte *)(param_5 + 0x83) + (uint)*(byte *)(param_5 + 0x82) * 0x100" (binary_expression "(uint)*(byte *)(param_5 + 0x80) * 0x1000000 + (uint)*(byte *)(param_5 + 0x81) * 0x10000 +\n           (uint)*(byte *)(param_5 + 0x83)" (binary_expression "(uint)*(byte *)(param_5 + 0x80) * 0x1000000 + (uint)*(byte *)(param_5 + 0x81) * 0x10000" (binary_expression "(uint)*(byte *)(param_5 + 0x80) * 0x1000000" (binary_expression "(uint)*(byte *)(param_5 + 0x80)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_5 + 0x80)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0x80)" ( (binary_expression "param_5 + 0x80" identifier + number_literal) )))) * number_literal) + (binary_expression "(uint)*(byte *)(param_5 + 0x81) * 0x10000" (binary_expression "(uint)*(byte *)(param_5 + 0x81)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_5 + 0x81)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0x81)" ( (binary_expression "param_5 + 0x81" identifier + number_literal) )))) * number_literal)) + (binary_expression "(uint)*(byte *)(param_5 + 0x83)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_5 + 0x83)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0x83)" ( (binary_expression "param_5 + 0x83" identifier + number_literal) ))))) + (binary_expression "(uint)*(byte *)(param_5 + 0x82) * 0x100" (binary_expression "(uint)*(byte *)(param_5 + 0x82)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_5 + 0x82)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0x82)" ( (binary_expression "param_5 + 0x82" identifier + number_literal) )))) * number_literal))) ;) (if_statement "if (iVar11 != 0) {\n    iVar10 = 0;\n    puVar9 = PTR_s_nt_0005301c + -0x1dc8;\n    do {\n      while( true ) {\n        iVar10 = iVar10 + 1;\n        pbVar1 = pbVar8 + 8;\n        pbVar2 = pbVar8 + 9;\n        pbVar3 = pbVar8 + 0xb;\n        pbVar4 = pbVar8 + 10;\n        uVar5 = (uint)pbVar8[4] * 0x1000000 + (uint)pbVar8[5] * 0x10000 + (uint)pbVar8[7] +\n                (uint)pbVar8[6] * 0x100;\n        iVar7 = (uint)*pbVar8 * 0x1000000 + (uint)pbVar8[1] * 0x10000 + (uint)pbVar8[3] +\n                (uint)pbVar8[2] * 0x100;\n        if ((param_4 < uVar5) ||\n           (pbVar8 = pbVar8 + 0xc,\n           param_4 - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100)) {\n          uVar6 = FUN_00013fbc(param_1,param_2,param_3,iVar7);\n          return uVar6;\n        }\n        if ((uVar5 & 3) == 0) break;\n        FUN_00013fbc(param_1,0,param_3,iVar7,puVar9);\n        if (iVar11 == iVar10) {\n          return 1;\n        }\n      }\n    } while (iVar11 != iVar10);\n  }" if (parenthesized_expression "(iVar11 != 0)" ( (binary_expression "iVar11 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar10 = 0;\n    puVar9 = PTR_s_nt_0005301c + -0x1dc8;\n    do {\n      while( true ) {\n        iVar10 = iVar10 + 1;\n        pbVar1 = pbVar8 + 8;\n        pbVar2 = pbVar8 + 9;\n        pbVar3 = pbVar8 + 0xb;\n        pbVar4 = pbVar8 + 10;\n        uVar5 = (uint)pbVar8[4] * 0x1000000 + (uint)pbVar8[5] * 0x10000 + (uint)pbVar8[7] +\n                (uint)pbVar8[6] * 0x100;\n        iVar7 = (uint)*pbVar8 * 0x1000000 + (uint)pbVar8[1] * 0x10000 + (uint)pbVar8[3] +\n                (uint)pbVar8[2] * 0x100;\n        if ((param_4 < uVar5) ||\n           (pbVar8 = pbVar8 + 0xc,\n           param_4 - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100)) {\n          uVar6 = FUN_00013fbc(param_1,param_2,param_3,iVar7);\n          return uVar6;\n        }\n        if ((uVar5 & 3) == 0) break;\n        FUN_00013fbc(param_1,0,param_3,iVar7,puVar9);\n        if (iVar11 == iVar10) {\n          return 1;\n        }\n      }\n    } while (iVar11 != iVar10);\n  }" { (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (expression_statement "puVar9 = PTR_s_nt_0005301c + -0x1dc8;" (assignment_expression "puVar9 = PTR_s_nt_0005301c + -0x1dc8" identifier = (binary_expression "PTR_s_nt_0005301c + -0x1dc8" identifier + number_literal)) ;) (do_statement "do {\n      while( true ) {\n        iVar10 = iVar10 + 1;\n        pbVar1 = pbVar8 + 8;\n        pbVar2 = pbVar8 + 9;\n        pbVar3 = pbVar8 + 0xb;\n        pbVar4 = pbVar8 + 10;\n        uVar5 = (uint)pbVar8[4] * 0x1000000 + (uint)pbVar8[5] * 0x10000 + (uint)pbVar8[7] +\n                (uint)pbVar8[6] * 0x100;\n        iVar7 = (uint)*pbVar8 * 0x1000000 + (uint)pbVar8[1] * 0x10000 + (uint)pbVar8[3] +\n                (uint)pbVar8[2] * 0x100;\n        if ((param_4 < uVar5) ||\n           (pbVar8 = pbVar8 + 0xc,\n           param_4 - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100)) {\n          uVar6 = FUN_00013fbc(param_1,param_2,param_3,iVar7);\n          return uVar6;\n        }\n        if ((uVar5 & 3) == 0) break;\n        FUN_00013fbc(param_1,0,param_3,iVar7,puVar9);\n        if (iVar11 == iVar10) {\n          return 1;\n        }\n      }\n    } while (iVar11 != iVar10);" do (compound_statement "{\n      while( true ) {\n        iVar10 = iVar10 + 1;\n        pbVar1 = pbVar8 + 8;\n        pbVar2 = pbVar8 + 9;\n        pbVar3 = pbVar8 + 0xb;\n        pbVar4 = pbVar8 + 10;\n        uVar5 = (uint)pbVar8[4] * 0x1000000 + (uint)pbVar8[5] * 0x10000 + (uint)pbVar8[7] +\n                (uint)pbVar8[6] * 0x100;\n        iVar7 = (uint)*pbVar8 * 0x1000000 + (uint)pbVar8[1] * 0x10000 + (uint)pbVar8[3] +\n                (uint)pbVar8[2] * 0x100;\n        if ((param_4 < uVar5) ||\n           (pbVar8 = pbVar8 + 0xc,\n           param_4 - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100)) {\n          uVar6 = FUN_00013fbc(param_1,param_2,param_3,iVar7);\n          return uVar6;\n        }\n        if ((uVar5 & 3) == 0) break;\n        FUN_00013fbc(param_1,0,param_3,iVar7,puVar9);\n        if (iVar11 == iVar10) {\n          return 1;\n        }\n      }\n    }" { (while_statement "while( true ) {\n        iVar10 = iVar10 + 1;\n        pbVar1 = pbVar8 + 8;\n        pbVar2 = pbVar8 + 9;\n        pbVar3 = pbVar8 + 0xb;\n        pbVar4 = pbVar8 + 10;\n        uVar5 = (uint)pbVar8[4] * 0x1000000 + (uint)pbVar8[5] * 0x10000 + (uint)pbVar8[7] +\n                (uint)pbVar8[6] * 0x100;\n        iVar7 = (uint)*pbVar8 * 0x1000000 + (uint)pbVar8[1] * 0x10000 + (uint)pbVar8[3] +\n                (uint)pbVar8[2] * 0x100;\n        if ((param_4 < uVar5) ||\n           (pbVar8 = pbVar8 + 0xc,\n           param_4 - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100)) {\n          uVar6 = FUN_00013fbc(param_1,param_2,param_3,iVar7);\n          return uVar6;\n        }\n        if ((uVar5 & 3) == 0) break;\n        FUN_00013fbc(param_1,0,param_3,iVar7,puVar9);\n        if (iVar11 == iVar10) {\n          return 1;\n        }\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        iVar10 = iVar10 + 1;\n        pbVar1 = pbVar8 + 8;\n        pbVar2 = pbVar8 + 9;\n        pbVar3 = pbVar8 + 0xb;\n        pbVar4 = pbVar8 + 10;\n        uVar5 = (uint)pbVar8[4] * 0x1000000 + (uint)pbVar8[5] * 0x10000 + (uint)pbVar8[7] +\n                (uint)pbVar8[6] * 0x100;\n        iVar7 = (uint)*pbVar8 * 0x1000000 + (uint)pbVar8[1] * 0x10000 + (uint)pbVar8[3] +\n                (uint)pbVar8[2] * 0x100;\n        if ((param_4 < uVar5) ||\n           (pbVar8 = pbVar8 + 0xc,\n           param_4 - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100)) {\n          uVar6 = FUN_00013fbc(param_1,param_2,param_3,iVar7);\n          return uVar6;\n        }\n        if ((uVar5 & 3) == 0) break;\n        FUN_00013fbc(param_1,0,param_3,iVar7,puVar9);\n        if (iVar11 == iVar10) {\n          return 1;\n        }\n      }" { (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (expression_statement "pbVar1 = pbVar8 + 8;" (assignment_expression "pbVar1 = pbVar8 + 8" identifier = (binary_expression "pbVar8 + 8" identifier + number_literal)) ;) (expression_statement "pbVar2 = pbVar8 + 9;" (assignment_expression "pbVar2 = pbVar8 + 9" identifier = (binary_expression "pbVar8 + 9" identifier + number_literal)) ;) (expression_statement "pbVar3 = pbVar8 + 0xb;" (assignment_expression "pbVar3 = pbVar8 + 0xb" identifier = (binary_expression "pbVar8 + 0xb" identifier + number_literal)) ;) (expression_statement "pbVar4 = pbVar8 + 10;" (assignment_expression "pbVar4 = pbVar8 + 10" identifier = (binary_expression "pbVar8 + 10" identifier + number_literal)) ;) (expression_statement "uVar5 = (uint)pbVar8[4] * 0x1000000 + (uint)pbVar8[5] * 0x10000 + (uint)pbVar8[7] +\n                (uint)pbVar8[6] * 0x100;" (assignment_expression "uVar5 = (uint)pbVar8[4] * 0x1000000 + (uint)pbVar8[5] * 0x10000 + (uint)pbVar8[7] +\n                (uint)pbVar8[6] * 0x100" identifier = (binary_expression "(uint)pbVar8[4] * 0x1000000 + (uint)pbVar8[5] * 0x10000 + (uint)pbVar8[7] +\n                (uint)pbVar8[6] * 0x100" (binary_expression "(uint)pbVar8[4] * 0x1000000 + (uint)pbVar8[5] * 0x10000 + (uint)pbVar8[7]" (binary_expression "(uint)pbVar8[4] * 0x1000000 + (uint)pbVar8[5] * 0x10000" (binary_expression "(uint)pbVar8[4] * 0x1000000" (cast_expression "(uint)pbVar8[4]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar8[4]" identifier [ number_literal ])) * number_literal) + (binary_expression "(uint)pbVar8[5] * 0x10000" (cast_expression "(uint)pbVar8[5]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar8[5]" identifier [ number_literal ])) * number_literal)) + (cast_expression "(uint)pbVar8[7]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar8[7]" identifier [ number_literal ]))) + (binary_expression "(uint)pbVar8[6] * 0x100" (cast_expression "(uint)pbVar8[6]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar8[6]" identifier [ number_literal ])) * number_literal))) ;) (expression_statement "iVar7 = (uint)*pbVar8 * 0x1000000 + (uint)pbVar8[1] * 0x10000 + (uint)pbVar8[3] +\n                (uint)pbVar8[2] * 0x100;" (assignment_expression "iVar7 = (uint)*pbVar8 * 0x1000000 + (uint)pbVar8[1] * 0x10000 + (uint)pbVar8[3] +\n                (uint)pbVar8[2] * 0x100" identifier = (binary_expression "(uint)*pbVar8 * 0x1000000 + (uint)pbVar8[1] * 0x10000 + (uint)pbVar8[3] +\n                (uint)pbVar8[2] * 0x100" (binary_expression "(uint)*pbVar8 * 0x1000000 + (uint)pbVar8[1] * 0x10000 + (uint)pbVar8[3]" (binary_expression "(uint)*pbVar8 * 0x1000000 + (uint)pbVar8[1] * 0x10000" (binary_expression "(uint)*pbVar8 * 0x1000000" (binary_expression "(uint)*pbVar8" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal) + (binary_expression "(uint)pbVar8[1] * 0x10000" (cast_expression "(uint)pbVar8[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar8[1]" identifier [ number_literal ])) * number_literal)) + (cast_expression "(uint)pbVar8[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar8[3]" identifier [ number_literal ]))) + (binary_expression "(uint)pbVar8[2] * 0x100" (cast_expression "(uint)pbVar8[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar8[2]" identifier [ number_literal ])) * number_literal))) ;) (if_statement "if ((param_4 < uVar5) ||\n           (pbVar8 = pbVar8 + 0xc,\n           param_4 - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100)) {\n          uVar6 = FUN_00013fbc(param_1,param_2,param_3,iVar7);\n          return uVar6;\n        }" if (parenthesized_expression "((param_4 < uVar5) ||\n           (pbVar8 = pbVar8 + 0xc,\n           param_4 - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100))" ( (binary_expression "(param_4 < uVar5) ||\n           (pbVar8 = pbVar8 + 0xc,\n           param_4 - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100)" (parenthesized_expression "(param_4 < uVar5)" ( (binary_expression "param_4 < uVar5" identifier < identifier) )) || (parenthesized_expression "(pbVar8 = pbVar8 + 0xc,\n           param_4 - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100)" ( (comma_expression "pbVar8 = pbVar8 + 0xc,\n           param_4 - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100" (assignment_expression "pbVar8 = pbVar8 + 0xc" identifier = (binary_expression "pbVar8 + 0xc" identifier + number_literal)) , (binary_expression "param_4 - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100" (binary_expression "param_4 - uVar5" identifier - identifier) < (binary_expression "(uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100" (binary_expression "(uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3" (binary_expression "(uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000" (binary_expression "(uint)*pbVar1 * 0x1000000" (binary_expression "(uint)*pbVar1" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal) + (binary_expression "(uint)*pbVar2 * 0x10000" (binary_expression "(uint)*pbVar2" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal)) + (binary_expression "(uint)*pbVar3" (parenthesized_expression "(uint)" ( identifier )) * identifier)) + (binary_expression "(uint)*pbVar4 * 0x100" (binary_expression "(uint)*pbVar4" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal)))) ))) )) (compound_statement "{\n          uVar6 = FUN_00013fbc(param_1,param_2,param_3,iVar7);\n          return uVar6;\n        }" { (expression_statement "uVar6 = FUN_00013fbc(param_1,param_2,param_3,iVar7);" (assignment_expression "uVar6 = FUN_00013fbc(param_1,param_2,param_3,iVar7)" identifier = (call_expression "FUN_00013fbc(param_1,param_2,param_3,iVar7)" identifier (argument_list "(param_1,param_2,param_3,iVar7)" ( identifier , identifier , identifier , identifier )))) ;) (return_statement "return uVar6;" return identifier ;) })) (if_statement "if ((uVar5 & 3) == 0) break;" if (parenthesized_expression "((uVar5 & 3) == 0)" ( (binary_expression "(uVar5 & 3) == 0" (parenthesized_expression "(uVar5 & 3)" ( (binary_expression "uVar5 & 3" identifier & number_literal) )) == number_literal) )) (break_statement "break;" break ;)) (expression_statement "FUN_00013fbc(param_1,0,param_3,iVar7,puVar9);" (call_expression "FUN_00013fbc(param_1,0,param_3,iVar7,puVar9)" identifier (argument_list "(param_1,0,param_3,iVar7,puVar9)" ( identifier , number_literal , identifier , identifier , identifier ))) ;) (if_statement "if (iVar11 == iVar10) {\n          return 1;\n        }" if (parenthesized_expression "(iVar11 == iVar10)" ( (binary_expression "iVar11 == iVar10" identifier == identifier) )) (compound_statement "{\n          return 1;\n        }" { (return_statement "return 1;" return number_literal ;) })) })) }) while (parenthesized_expression "(iVar11 != iVar10)" ( (binary_expression "iVar11 != iVar10" identifier != identifier) )) ;) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (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 ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT) + (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT)) + (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) * LIT) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) * LIT)) + (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) * LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * IDENT) * LIT) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) * LIT)) + (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) * LIT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < IDENT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT + LIT)) , (binary_expression (binary_expression IDENT - IDENT) < (binary_expression (binary_expression (binary_expression (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * IDENT) * LIT) + (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * IDENT) * LIT)) + (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) + (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * IDENT) * LIT)))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT )))) ;) (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (break_statement break ;)) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , IDENT , IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (return_statement return LIT ;) })) })) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4\nFUN_00015dd8(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4,int param_5)\n\n{\n  byte *pbVar1;\n  byte *pbVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  int iVar7;\n  byte *pbVar8;\n  undefined *puVar9;\n  int iVar10;\n  int iVar11;\n  \n  pbVar8 = (byte *)(param_5 + 0x84);\n  iVar11 = (uint)*(byte *)(param_5 + 0x80) * 0x1000000 + (uint)*(byte *)(param_5 + 0x81) * 0x10000 +\n           (uint)*(byte *)(param_5 + 0x83) + (uint)*(byte *)(param_5 + 0x82) * 0x100;\n  if (iVar11 != 0) {\n    iVar10 = 0;\n    puVar9 = PTR_s_nt_0005301c + -0x1dc8;\n    do {\n      while( true ) {\n        iVar10 = iVar10 + 1;\n        pbVar1 = pbVar8 + 8;\n        pbVar2 = pbVar8 + 9;\n        pbVar3 = pbVar8 + 0xb;\n        pbVar4 = pbVar8 + 10;\n        uVar5 = (uint)pbVar8[4] * 0x1000000 + (uint)pbVar8[5] * 0x10000 + (uint)pbVar8[7] +\n                (uint)pbVar8[6] * 0x100;\n        iVar7 = (uint)*pbVar8 * 0x1000000 + (uint)pbVar8[1] * 0x10000 + (uint)pbVar8[3] +\n                (uint)pbVar8[2] * 0x100;\n        if ((param_4 < uVar5) ||\n           (pbVar8 = pbVar8 + 0xc,\n           param_4 - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100)) {\n          uVar6 = FUN_00013fbc(param_1,param_2,param_3,iVar7);\n          return uVar6;\n        }\n        if ((uVar5 & 3) == 0) break;\n        FUN_00013fbc(param_1,0,param_3,iVar7,puVar9);\n        if (iVar11 == iVar10) {\n          return 1;\n        }\n      }\n    } while (iVar11 != iVar10);\n  }\n  return 1;\n}" (type_identifier "undefined4") (function_declarator "FUN_00015dd8(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4,int param_5)" (identifier "FUN_00015dd8") (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4,int param_5)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (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")) () ")"))) (compound_statement "{\n  byte *pbVar1;\n  byte *pbVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  int iVar7;\n  byte *pbVar8;\n  undefined *puVar9;\n  int iVar10;\n  int iVar11;\n  \n  pbVar8 = (byte *)(param_5 + 0x84);\n  iVar11 = (uint)*(byte *)(param_5 + 0x80) * 0x1000000 + (uint)*(byte *)(param_5 + 0x81) * 0x10000 +\n           (uint)*(byte *)(param_5 + 0x83) + (uint)*(byte *)(param_5 + 0x82) * 0x100;\n  if (iVar11 != 0) {\n    iVar10 = 0;\n    puVar9 = PTR_s_nt_0005301c + -0x1dc8;\n    do {\n      while( true ) {\n        iVar10 = iVar10 + 1;\n        pbVar1 = pbVar8 + 8;\n        pbVar2 = pbVar8 + 9;\n        pbVar3 = pbVar8 + 0xb;\n        pbVar4 = pbVar8 + 10;\n        uVar5 = (uint)pbVar8[4] * 0x1000000 + (uint)pbVar8[5] * 0x10000 + (uint)pbVar8[7] +\n                (uint)pbVar8[6] * 0x100;\n        iVar7 = (uint)*pbVar8 * 0x1000000 + (uint)pbVar8[1] * 0x10000 + (uint)pbVar8[3] +\n                (uint)pbVar8[2] * 0x100;\n        if ((param_4 < uVar5) ||\n           (pbVar8 = pbVar8 + 0xc,\n           param_4 - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100)) {\n          uVar6 = FUN_00013fbc(param_1,param_2,param_3,iVar7);\n          return uVar6;\n        }\n        if ((uVar5 & 3) == 0) break;\n        FUN_00013fbc(param_1,0,param_3,iVar7,puVar9);\n        if (iVar11 == iVar10) {\n          return 1;\n        }\n      }\n    } while (iVar11 != iVar10);\n  }\n  return 1;\n}" ({ "{") (declaration "byte *pbVar1;" (type_identifier "byte") (pointer_declarator "*pbVar1" (* "*") (identifier "pbVar1")) (; ";")) (declaration "byte *pbVar2;" (type_identifier "byte") (pointer_declarator "*pbVar2" (* "*") (identifier "pbVar2")) (; ";")) (declaration "byte *pbVar3;" (type_identifier "byte") (pointer_declarator "*pbVar3" (* "*") (identifier "pbVar3")) (; ";")) (declaration "byte *pbVar4;" (type_identifier "byte") (pointer_declarator "*pbVar4" (* "*") (identifier "pbVar4")) (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "undefined4 uVar6;" (type_identifier "undefined4") (identifier "uVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "byte *pbVar8;" (type_identifier "byte") (pointer_declarator "*pbVar8" (* "*") (identifier "pbVar8")) (; ";")) (declaration "undefined *puVar9;" (type_identifier "undefined") (pointer_declarator "*puVar9" (* "*") (identifier "puVar9")) (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (declaration "int iVar11;" (primitive_type "int") (identifier "iVar11") (; ";")) (expression_statement "pbVar8 = (byte *)(param_5 + 0x84);" (assignment_expression "pbVar8 = (byte *)(param_5 + 0x84)" (identifier "pbVar8") (= "=") (cast_expression "(byte *)(param_5 + 0x84)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_5 + 0x84)" (( "(") (binary_expression "param_5 + 0x84" (identifier "param_5") (+ "+") (number_literal "0x84")) () ")")))) (; ";")) (expression_statement "iVar11 = (uint)*(byte *)(param_5 + 0x80) * 0x1000000 + (uint)*(byte *)(param_5 + 0x81) * 0x10000 +\n           (uint)*(byte *)(param_5 + 0x83) + (uint)*(byte *)(param_5 + 0x82) * 0x100;" (assignment_expression "iVar11 = (uint)*(byte *)(param_5 + 0x80) * 0x1000000 + (uint)*(byte *)(param_5 + 0x81) * 0x10000 +\n           (uint)*(byte *)(param_5 + 0x83) + (uint)*(byte *)(param_5 + 0x82) * 0x100" (identifier "iVar11") (= "=") (binary_expression "(uint)*(byte *)(param_5 + 0x80) * 0x1000000 + (uint)*(byte *)(param_5 + 0x81) * 0x10000 +\n           (uint)*(byte *)(param_5 + 0x83) + (uint)*(byte *)(param_5 + 0x82) * 0x100" (binary_expression "(uint)*(byte *)(param_5 + 0x80) * 0x1000000 + (uint)*(byte *)(param_5 + 0x81) * 0x10000 +\n           (uint)*(byte *)(param_5 + 0x83)" (binary_expression "(uint)*(byte *)(param_5 + 0x80) * 0x1000000 + (uint)*(byte *)(param_5 + 0x81) * 0x10000" (binary_expression "(uint)*(byte *)(param_5 + 0x80) * 0x1000000" (binary_expression "(uint)*(byte *)(param_5 + 0x80)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)(param_5 + 0x80)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_5 + 0x80)" (( "(") (binary_expression "param_5 + 0x80" (identifier "param_5") (+ "+") (number_literal "0x80")) () ")")))) (* "*") (number_literal "0x1000000")) (+ "+") (binary_expression "(uint)*(byte *)(param_5 + 0x81) * 0x10000" (binary_expression "(uint)*(byte *)(param_5 + 0x81)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)(param_5 + 0x81)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_5 + 0x81)" (( "(") (binary_expression "param_5 + 0x81" (identifier "param_5") (+ "+") (number_literal "0x81")) () ")")))) (* "*") (number_literal "0x10000"))) (+ "+") (binary_expression "(uint)*(byte *)(param_5 + 0x83)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)(param_5 + 0x83)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_5 + 0x83)" (( "(") (binary_expression "param_5 + 0x83" (identifier "param_5") (+ "+") (number_literal "0x83")) () ")"))))) (+ "+") (binary_expression "(uint)*(byte *)(param_5 + 0x82) * 0x100" (binary_expression "(uint)*(byte *)(param_5 + 0x82)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)(param_5 + 0x82)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_5 + 0x82)" (( "(") (binary_expression "param_5 + 0x82" (identifier "param_5") (+ "+") (number_literal "0x82")) () ")")))) (* "*") (number_literal "0x100")))) (; ";")) (if_statement "if (iVar11 != 0) {\n    iVar10 = 0;\n    puVar9 = PTR_s_nt_0005301c + -0x1dc8;\n    do {\n      while( true ) {\n        iVar10 = iVar10 + 1;\n        pbVar1 = pbVar8 + 8;\n        pbVar2 = pbVar8 + 9;\n        pbVar3 = pbVar8 + 0xb;\n        pbVar4 = pbVar8 + 10;\n        uVar5 = (uint)pbVar8[4] * 0x1000000 + (uint)pbVar8[5] * 0x10000 + (uint)pbVar8[7] +\n                (uint)pbVar8[6] * 0x100;\n        iVar7 = (uint)*pbVar8 * 0x1000000 + (uint)pbVar8[1] * 0x10000 + (uint)pbVar8[3] +\n                (uint)pbVar8[2] * 0x100;\n        if ((param_4 < uVar5) ||\n           (pbVar8 = pbVar8 + 0xc,\n           param_4 - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100)) {\n          uVar6 = FUN_00013fbc(param_1,param_2,param_3,iVar7);\n          return uVar6;\n        }\n        if ((uVar5 & 3) == 0) break;\n        FUN_00013fbc(param_1,0,param_3,iVar7,puVar9);\n        if (iVar11 == iVar10) {\n          return 1;\n        }\n      }\n    } while (iVar11 != iVar10);\n  }" (if "if") (parenthesized_expression "(iVar11 != 0)" (( "(") (binary_expression "iVar11 != 0" (identifier "iVar11") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar10 = 0;\n    puVar9 = PTR_s_nt_0005301c + -0x1dc8;\n    do {\n      while( true ) {\n        iVar10 = iVar10 + 1;\n        pbVar1 = pbVar8 + 8;\n        pbVar2 = pbVar8 + 9;\n        pbVar3 = pbVar8 + 0xb;\n        pbVar4 = pbVar8 + 10;\n        uVar5 = (uint)pbVar8[4] * 0x1000000 + (uint)pbVar8[5] * 0x10000 + (uint)pbVar8[7] +\n                (uint)pbVar8[6] * 0x100;\n        iVar7 = (uint)*pbVar8 * 0x1000000 + (uint)pbVar8[1] * 0x10000 + (uint)pbVar8[3] +\n                (uint)pbVar8[2] * 0x100;\n        if ((param_4 < uVar5) ||\n           (pbVar8 = pbVar8 + 0xc,\n           param_4 - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100)) {\n          uVar6 = FUN_00013fbc(param_1,param_2,param_3,iVar7);\n          return uVar6;\n        }\n        if ((uVar5 & 3) == 0) break;\n        FUN_00013fbc(param_1,0,param_3,iVar7,puVar9);\n        if (iVar11 == iVar10) {\n          return 1;\n        }\n      }\n    } while (iVar11 != iVar10);\n  }" ({ "{") (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" (identifier "iVar10") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar9 = PTR_s_nt_0005301c + -0x1dc8;" (assignment_expression "puVar9 = PTR_s_nt_0005301c + -0x1dc8" (identifier "puVar9") (= "=") (binary_expression "PTR_s_nt_0005301c + -0x1dc8" (identifier "PTR_s_nt_0005301c") (+ "+") (number_literal "-0x1dc8"))) (; ";")) (do_statement "do {\n      while( true ) {\n        iVar10 = iVar10 + 1;\n        pbVar1 = pbVar8 + 8;\n        pbVar2 = pbVar8 + 9;\n        pbVar3 = pbVar8 + 0xb;\n        pbVar4 = pbVar8 + 10;\n        uVar5 = (uint)pbVar8[4] * 0x1000000 + (uint)pbVar8[5] * 0x10000 + (uint)pbVar8[7] +\n                (uint)pbVar8[6] * 0x100;\n        iVar7 = (uint)*pbVar8 * 0x1000000 + (uint)pbVar8[1] * 0x10000 + (uint)pbVar8[3] +\n                (uint)pbVar8[2] * 0x100;\n        if ((param_4 < uVar5) ||\n           (pbVar8 = pbVar8 + 0xc,\n           param_4 - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100)) {\n          uVar6 = FUN_00013fbc(param_1,param_2,param_3,iVar7);\n          return uVar6;\n        }\n        if ((uVar5 & 3) == 0) break;\n        FUN_00013fbc(param_1,0,param_3,iVar7,puVar9);\n        if (iVar11 == iVar10) {\n          return 1;\n        }\n      }\n    } while (iVar11 != iVar10);" (do "do") (compound_statement "{\n      while( true ) {\n        iVar10 = iVar10 + 1;\n        pbVar1 = pbVar8 + 8;\n        pbVar2 = pbVar8 + 9;\n        pbVar3 = pbVar8 + 0xb;\n        pbVar4 = pbVar8 + 10;\n        uVar5 = (uint)pbVar8[4] * 0x1000000 + (uint)pbVar8[5] * 0x10000 + (uint)pbVar8[7] +\n                (uint)pbVar8[6] * 0x100;\n        iVar7 = (uint)*pbVar8 * 0x1000000 + (uint)pbVar8[1] * 0x10000 + (uint)pbVar8[3] +\n                (uint)pbVar8[2] * 0x100;\n        if ((param_4 < uVar5) ||\n           (pbVar8 = pbVar8 + 0xc,\n           param_4 - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100)) {\n          uVar6 = FUN_00013fbc(param_1,param_2,param_3,iVar7);\n          return uVar6;\n        }\n        if ((uVar5 & 3) == 0) break;\n        FUN_00013fbc(param_1,0,param_3,iVar7,puVar9);\n        if (iVar11 == iVar10) {\n          return 1;\n        }\n      }\n    }" ({ "{") (while_statement "while( true ) {\n        iVar10 = iVar10 + 1;\n        pbVar1 = pbVar8 + 8;\n        pbVar2 = pbVar8 + 9;\n        pbVar3 = pbVar8 + 0xb;\n        pbVar4 = pbVar8 + 10;\n        uVar5 = (uint)pbVar8[4] * 0x1000000 + (uint)pbVar8[5] * 0x10000 + (uint)pbVar8[7] +\n                (uint)pbVar8[6] * 0x100;\n        iVar7 = (uint)*pbVar8 * 0x1000000 + (uint)pbVar8[1] * 0x10000 + (uint)pbVar8[3] +\n                (uint)pbVar8[2] * 0x100;\n        if ((param_4 < uVar5) ||\n           (pbVar8 = pbVar8 + 0xc,\n           param_4 - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100)) {\n          uVar6 = FUN_00013fbc(param_1,param_2,param_3,iVar7);\n          return uVar6;\n        }\n        if ((uVar5 & 3) == 0) break;\n        FUN_00013fbc(param_1,0,param_3,iVar7,puVar9);\n        if (iVar11 == iVar10) {\n          return 1;\n        }\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        iVar10 = iVar10 + 1;\n        pbVar1 = pbVar8 + 8;\n        pbVar2 = pbVar8 + 9;\n        pbVar3 = pbVar8 + 0xb;\n        pbVar4 = pbVar8 + 10;\n        uVar5 = (uint)pbVar8[4] * 0x1000000 + (uint)pbVar8[5] * 0x10000 + (uint)pbVar8[7] +\n                (uint)pbVar8[6] * 0x100;\n        iVar7 = (uint)*pbVar8 * 0x1000000 + (uint)pbVar8[1] * 0x10000 + (uint)pbVar8[3] +\n                (uint)pbVar8[2] * 0x100;\n        if ((param_4 < uVar5) ||\n           (pbVar8 = pbVar8 + 0xc,\n           param_4 - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100)) {\n          uVar6 = FUN_00013fbc(param_1,param_2,param_3,iVar7);\n          return uVar6;\n        }\n        if ((uVar5 & 3) == 0) break;\n        FUN_00013fbc(param_1,0,param_3,iVar7,puVar9);\n        if (iVar11 == iVar10) {\n          return 1;\n        }\n      }" ({ "{") (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" (identifier "iVar10") (= "=") (binary_expression "iVar10 + 1" (identifier "iVar10") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar1 = pbVar8 + 8;" (assignment_expression "pbVar1 = pbVar8 + 8" (identifier "pbVar1") (= "=") (binary_expression "pbVar8 + 8" (identifier "pbVar8") (+ "+") (number_literal "8"))) (; ";")) (expression_statement "pbVar2 = pbVar8 + 9;" (assignment_expression "pbVar2 = pbVar8 + 9" (identifier "pbVar2") (= "=") (binary_expression "pbVar8 + 9" (identifier "pbVar8") (+ "+") (number_literal "9"))) (; ";")) (expression_statement "pbVar3 = pbVar8 + 0xb;" (assignment_expression "pbVar3 = pbVar8 + 0xb" (identifier "pbVar3") (= "=") (binary_expression "pbVar8 + 0xb" (identifier "pbVar8") (+ "+") (number_literal "0xb"))) (; ";")) (expression_statement "pbVar4 = pbVar8 + 10;" (assignment_expression "pbVar4 = pbVar8 + 10" (identifier "pbVar4") (= "=") (binary_expression "pbVar8 + 10" (identifier "pbVar8") (+ "+") (number_literal "10"))) (; ";")) (expression_statement "uVar5 = (uint)pbVar8[4] * 0x1000000 + (uint)pbVar8[5] * 0x10000 + (uint)pbVar8[7] +\n                (uint)pbVar8[6] * 0x100;" (assignment_expression "uVar5 = (uint)pbVar8[4] * 0x1000000 + (uint)pbVar8[5] * 0x10000 + (uint)pbVar8[7] +\n                (uint)pbVar8[6] * 0x100" (identifier "uVar5") (= "=") (binary_expression "(uint)pbVar8[4] * 0x1000000 + (uint)pbVar8[5] * 0x10000 + (uint)pbVar8[7] +\n                (uint)pbVar8[6] * 0x100" (binary_expression "(uint)pbVar8[4] * 0x1000000 + (uint)pbVar8[5] * 0x10000 + (uint)pbVar8[7]" (binary_expression "(uint)pbVar8[4] * 0x1000000 + (uint)pbVar8[5] * 0x10000" (binary_expression "(uint)pbVar8[4] * 0x1000000" (cast_expression "(uint)pbVar8[4]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar8[4]" (identifier "pbVar8") ([ "[") (number_literal "4") (] "]"))) (* "*") (number_literal "0x1000000")) (+ "+") (binary_expression "(uint)pbVar8[5] * 0x10000" (cast_expression "(uint)pbVar8[5]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar8[5]" (identifier "pbVar8") ([ "[") (number_literal "5") (] "]"))) (* "*") (number_literal "0x10000"))) (+ "+") (cast_expression "(uint)pbVar8[7]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar8[7]" (identifier "pbVar8") ([ "[") (number_literal "7") (] "]")))) (+ "+") (binary_expression "(uint)pbVar8[6] * 0x100" (cast_expression "(uint)pbVar8[6]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar8[6]" (identifier "pbVar8") ([ "[") (number_literal "6") (] "]"))) (* "*") (number_literal "0x100")))) (; ";")) (expression_statement "iVar7 = (uint)*pbVar8 * 0x1000000 + (uint)pbVar8[1] * 0x10000 + (uint)pbVar8[3] +\n                (uint)pbVar8[2] * 0x100;" (assignment_expression "iVar7 = (uint)*pbVar8 * 0x1000000 + (uint)pbVar8[1] * 0x10000 + (uint)pbVar8[3] +\n                (uint)pbVar8[2] * 0x100" (identifier "iVar7") (= "=") (binary_expression "(uint)*pbVar8 * 0x1000000 + (uint)pbVar8[1] * 0x10000 + (uint)pbVar8[3] +\n                (uint)pbVar8[2] * 0x100" (binary_expression "(uint)*pbVar8 * 0x1000000 + (uint)pbVar8[1] * 0x10000 + (uint)pbVar8[3]" (binary_expression "(uint)*pbVar8 * 0x1000000 + (uint)pbVar8[1] * 0x10000" (binary_expression "(uint)*pbVar8 * 0x1000000" (binary_expression "(uint)*pbVar8" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar8")) (* "*") (number_literal "0x1000000")) (+ "+") (binary_expression "(uint)pbVar8[1] * 0x10000" (cast_expression "(uint)pbVar8[1]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar8[1]" (identifier "pbVar8") ([ "[") (number_literal "1") (] "]"))) (* "*") (number_literal "0x10000"))) (+ "+") (cast_expression "(uint)pbVar8[3]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar8[3]" (identifier "pbVar8") ([ "[") (number_literal "3") (] "]")))) (+ "+") (binary_expression "(uint)pbVar8[2] * 0x100" (cast_expression "(uint)pbVar8[2]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar8[2]" (identifier "pbVar8") ([ "[") (number_literal "2") (] "]"))) (* "*") (number_literal "0x100")))) (; ";")) (if_statement "if ((param_4 < uVar5) ||\n           (pbVar8 = pbVar8 + 0xc,\n           param_4 - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100)) {\n          uVar6 = FUN_00013fbc(param_1,param_2,param_3,iVar7);\n          return uVar6;\n        }" (if "if") (parenthesized_expression "((param_4 < uVar5) ||\n           (pbVar8 = pbVar8 + 0xc,\n           param_4 - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100))" (( "(") (binary_expression "(param_4 < uVar5) ||\n           (pbVar8 = pbVar8 + 0xc,\n           param_4 - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100)" (parenthesized_expression "(param_4 < uVar5)" (( "(") (binary_expression "param_4 < uVar5" (identifier "param_4") (< "<") (identifier "uVar5")) () ")")) (|| "||") (parenthesized_expression "(pbVar8 = pbVar8 + 0xc,\n           param_4 - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100)" (( "(") (comma_expression "pbVar8 = pbVar8 + 0xc,\n           param_4 - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100" (assignment_expression "pbVar8 = pbVar8 + 0xc" (identifier "pbVar8") (= "=") (binary_expression "pbVar8 + 0xc" (identifier "pbVar8") (+ "+") (number_literal "0xc"))) (, ",") (binary_expression "param_4 - uVar5 <\n           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100" (binary_expression "param_4 - uVar5" (identifier "param_4") (- "-") (identifier "uVar5")) (< "<") (binary_expression "(uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +\n           (uint)*pbVar4 * 0x100" (binary_expression "(uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3" (binary_expression "(uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000" (binary_expression "(uint)*pbVar1 * 0x1000000" (binary_expression "(uint)*pbVar1" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar1")) (* "*") (number_literal "0x1000000")) (+ "+") (binary_expression "(uint)*pbVar2 * 0x10000" (binary_expression "(uint)*pbVar2" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar2")) (* "*") (number_literal "0x10000"))) (+ "+") (binary_expression "(uint)*pbVar3" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar3"))) (+ "+") (binary_expression "(uint)*pbVar4 * 0x100" (binary_expression "(uint)*pbVar4" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar4")) (* "*") (number_literal "0x100"))))) () ")"))) () ")")) (compound_statement "{\n          uVar6 = FUN_00013fbc(param_1,param_2,param_3,iVar7);\n          return uVar6;\n        }" ({ "{") (expression_statement "uVar6 = FUN_00013fbc(param_1,param_2,param_3,iVar7);" (assignment_expression "uVar6 = FUN_00013fbc(param_1,param_2,param_3,iVar7)" (identifier "uVar6") (= "=") (call_expression "FUN_00013fbc(param_1,param_2,param_3,iVar7)" (identifier "FUN_00013fbc") (argument_list "(param_1,param_2,param_3,iVar7)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "iVar7") () ")")))) (; ";")) (return_statement "return uVar6;" (return "return") (identifier "uVar6") (; ";")) (} "}"))) (if_statement "if ((uVar5 & 3) == 0) break;" (if "if") (parenthesized_expression "((uVar5 & 3) == 0)" (( "(") (binary_expression "(uVar5 & 3) == 0" (parenthesized_expression "(uVar5 & 3)" (( "(") (binary_expression "uVar5 & 3" (identifier "uVar5") (& "&") (number_literal "3")) () ")")) (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "FUN_00013fbc(param_1,0,param_3,iVar7,puVar9);" (call_expression "FUN_00013fbc(param_1,0,param_3,iVar7,puVar9)" (identifier "FUN_00013fbc") (argument_list "(param_1,0,param_3,iVar7,puVar9)" (( "(") (identifier "param_1") (, ",") (number_literal "0") (, ",") (identifier "param_3") (, ",") (identifier "iVar7") (, ",") (identifier "puVar9") () ")"))) (; ";")) (if_statement "if (iVar11 == iVar10) {\n          return 1;\n        }" (if "if") (parenthesized_expression "(iVar11 == iVar10)" (( "(") (binary_expression "iVar11 == iVar10" (identifier "iVar11") (== "==") (identifier "iVar10")) () ")")) (compound_statement "{\n          return 1;\n        }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (} "}"))) (} "}")) (while "while") (parenthesized_expression "(iVar11 != iVar10)" (( "(") (binary_expression "iVar11 != iVar10" (identifier "iVar11") (!= "!=") (identifier "iVar10")) () ")")) (; ";")) (} "}"))) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))

int function_1
              (type_1 png_ptr,type_2 colorspace,type_3 name,
              type_4 var_6,type_5 var_1)

{
  type_6 *var_8;
  type_6 *var_9;
  type_6 *var_10;
  type_6 *var_11;
  type_7 var_7;
  type_8 value;
  type_6 *var_5;
  type_3 reason;
  int var_4;
  int var_2;
  
  var_5 = var_1 + 0x84;
  var_2 = (type_7)var_1[0x80] * 0x1000000 + (type_7)var_1[0x81] * 0x10000 + (type_7)var_1[0x83] +
          (type_7)var_1[0x82] * 0x100;
  if (var_2 != 0) {
    var_4 = 0;
    reason = var_3 + -0x1dc8;
    do {
      while( true ) {
        var_4 = var_4 + 1;
        var_8 = var_5 + 8;
        var_9 = var_5 + 9;
        var_10 = var_5 + 0xb;
        var_11 = var_5 + 10;
        var_7 = (type_7)var_5[4] * 0x1000000 + (type_7)var_5[5] * 0x10000 + (type_7)var_5[7] +
                (type_7)var_5[6] * 0x100;
        value = (type_7)*var_5 * 0x1000000 + (type_7)var_5[1] * 0x10000 + (type_7)var_5[3] +
                (type_7)var_5[2] * 0x100;
        if ((var_6 < var_7) ||
           (var_5 = var_5 + 0xc,
           var_6 - var_7 <
           (type_7)*var_8 * 0x1000000 + (type_7)*var_9 * 0x10000 + (type_7)*var_10 +
           (type_7)*var_11 * 0x100)) {
          var_2 = var_12(png_ptr,colorspace,name,value,var_3 + -0x1de8);
          return var_2;
        }
        if ((var_7 & 3) == 0) break;
        var_12(png_ptr,(type_2)0x0,name,value,reason);
        if (var_2 == var_4) {
          return 1;
        }
      }
    } while (var_2 != var_4);
  }
  return 1;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) 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)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (parenthesized_expression (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)) right: (binary_expression left: (binary_expression left: (parenthesized_expression (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (binary_expression left: (parenthesized_expression (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (binary_expression left: (binary_expression left: (parenthesized_expression (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (do_statement body: (compound_statement (while_statement condition: (parenthesized_expression (true)) body: (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)))) (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)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (number_literal)) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (number_literal))) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal)))) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)) right: (number_literal)) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (number_literal))) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal)))) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)) right: (number_literal)) right: (binary_expression left: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)) right: (number_literal))) right: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier))) right: (binary_expression left: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)) right: (number_literal)))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (identifier))))) (return_statement (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (break_statement)) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (identifier) (identifier) (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (return_statement (number_literal))))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (return_statement (number_literal)))))

undefined4
MASKED(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4,int param_5)

{
  byte *pbVar1;
  byte *pbVar2;
  byte *pbVar3;
  byte *pbVar4;
  uint uVar5;
  undefined4 uVar6;
  int iVar7;
  byte *pbVar8;
  undefined *puVar9;
  int iVar10;
  int iVar11;
  
  pbVar8 = (byte *)(param_5 + 0x84);
  iVar11 = (uint)*(byte *)(param_5 + 0x80) * 0x1000000 + (uint)*(byte *)(param_5 + 0x81) * 0x10000 +
           (uint)*(byte *)(param_5 + 0x83) + (uint)*(byte *)(param_5 + 0x82) * 0x100;
  if (iVar11 != 0) {
    iVar10 = 0;
    puVar9 = PTR_s_nt_0005301c + -0x1dc8;
    do {
      while( true ) {
        iVar10 = iVar10 + 1;
        pbVar1 = pbVar8 + 8;
        pbVar2 = pbVar8 + 9;
        pbVar3 = pbVar8 + 0xb;
        pbVar4 = pbVar8 + 10;
        uVar5 = (uint)pbVar8[4] * 0x1000000 + (uint)pbVar8[5] * 0x10000 + (uint)pbVar8[7] +
                (uint)pbVar8[6] * 0x100;
        iVar7 = (uint)*pbVar8 * 0x1000000 + (uint)pbVar8[1] * 0x10000 + (uint)pbVar8[3] +
                (uint)pbVar8[2] * 0x100;
        if ((param_4 < uVar5) ||
           (pbVar8 = pbVar8 + 0xc,
           param_4 - uVar5 <
           (uint)*pbVar1 * 0x1000000 + (uint)*pbVar2 * 0x10000 + (uint)*pbVar3 +
           (uint)*pbVar4 * 0x100)) {
          uVar6 = FUN_00013fbc(param_1,param_2,param_3,iVar7);
          return uVar6;
        }
        if ((uVar5 & 3) == 0) break;
        FUN_00013fbc(param_1,0,param_3,iVar7,puVar9);
        if (iVar11 == iVar10) {
          return 1;
        }
      }
    } while (iVar11 != iVar10);
  }
  return 1;
}

