
strtol_error xstrtoumax(char *s,char **ptr,int strtol_base,uintmax_t *val,char *valid_suffixes)

{
  byte bVar1;
  undefined *puVar2;
  undefined *puVar3;
  int *piVar4;
  int *piVar5;
  uint uVar6;
  int iVar7;
  byte *pbVar8;
  int iVar9;
  strtol_error sVar10;
  uintmax_t uVar11;
  char *t_ptr;
  int local_2c;
  
  puVar3 = PTR___stack_chk_guard_0002a2e0;
  local_2c = *(int *)PTR___stack_chk_guard_0002a2e0;
  if (0x24 < (uint)strtol_base) goto LAB_000167fc;
  if (ptr == (char **)0x0) {
    ptr = &t_ptr;
  }
  piVar4 = (int *)(*(code *)PTR___errno_location_0002a268)();
  puVar2 = PTR___ctype_b_loc_0002a20c;
  *piVar4 = 0;
  piVar5 = (int *)(*(code *)puVar2)();
  bVar1 = *s;
  pbVar8 = (byte *)s;
  while( true ) {
    pbVar8 = pbVar8 + 1;
    if ((*(ushort *)(*piVar5 + (uint)bVar1 * 2) & 0x20) == 0) break;
    bVar1 = *pbVar8;
  }
  if (bVar1 == 0x2d) {
LAB_00016148:
    sVar10 = LONGINT_INVALID;
  }
  else {
    uVar11 = (*(code *)PTR___strtoull_internal_0002a2d8)(s,ptr,strtol_base,0);
    if (*ptr == s) {
      if (valid_suffixes != (char *)0x0) {
        iVar9 = (int)*s;
        if (iVar9 != 0) {
          iVar7 = (*(code *)PTR_strchr_0002a280)(valid_suffixes,iVar9);
          if (iVar7 != 0) {
            uVar11 = 1;
            sVar10 = LONGINT_OK;
            goto LAB_00016178;
          }
        }
      }
      goto LAB_00016148;
    }
    sVar10 = LONGINT_OK;
    if (*piVar4 != 0) {
      if (*piVar4 != 0x22) goto LAB_00016148;
      sVar10 = LONGINT_OVERFLOW;
    }
    if (valid_suffixes == (char *)0x0) {
LAB_000160d8:
      *val = uVar11;
    }
    else {
      iVar9 = (int)**ptr;
      if (iVar9 == 0) goto LAB_000160d8;
      iVar7 = (*(code *)PTR_strchr_0002a280)(valid_suffixes,iVar9);
      if (iVar7 != 0) {
LAB_00016178:
        uVar6 = iVar9 - 0x45U & 0xff;
        if (uVar6 < 0x30) {
                    /* WARNING: Could not emulate address calculation at 0x00016194 */
                    /* WARNING: Treating indirect jump as call */
          sVar10 = (*(code *)(&_gp + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();
          return sVar10;
        }
        uVar6 = iVar9 - 0x42U & 0xff;
        if (uVar6 < 0x36) {
                    /* WARNING: Could not emulate address calculation at 0x00016268 */
                    /* WARNING: Treating indirect jump as call */
          sVar10 = (*(code *)(&_gp + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);
          return sVar10;
        }
      }
      sVar10 = sVar10 | LONGINT_INVALID_SUFFIX_CHAR;
      *val = uVar11;
    }
  }
  if (local_2c == *(int *)puVar3) {
    return sVar10;
  }
  (*(code *)PTR___stack_chk_fail_0002a2c8)();
LAB_000167fc:
  sVar10 = (*(code *)PTR___assert_fail_0002a210)
                     (PTR_DAT_0002a108 + -0x65bc,PTR_DAT_0002a108 + -0x65cc,0x60,
                      PTR_DAT_0002a108 + -0x6338);
  return sVar10;
}



uint xstrtoumax(byte *param_1,undefined4 *param_2,uint param_3,undefined8 *param_4,int param_5)

{
  byte bVar1;
  undefined *puVar2;
  undefined *puVar3;
  int *piVar4;
  int *piVar5;
  uint uVar6;
  int iVar7;
  byte *pbVar8;
  int iVar9;
  uint uVar10;
  undefined8 uVar11;
  undefined4 uStack_30;
  int local_2c;
  
  puVar3 = PTR___stack_chk_guard_0002a2e0;
  local_2c = *(int *)PTR___stack_chk_guard_0002a2e0;
  if (0x24 < param_3) goto LAB_000167fc;
  if (param_2 == (undefined4 *)0x0) {
    param_2 = &uStack_30;
  }
  piVar4 = (int *)(*(code *)PTR___errno_location_0002a268)();
  puVar2 = PTR___ctype_b_loc_0002a20c;
  *piVar4 = 0;
  piVar5 = (int *)(*(code *)puVar2)();
  bVar1 = *param_1;
  pbVar8 = param_1;
  while( true ) {
    pbVar8 = pbVar8 + 1;
    if ((*(ushort *)(*piVar5 + (uint)bVar1 * 2) & 0x20) == 0) break;
    bVar1 = *pbVar8;
  }
  if (bVar1 == 0x2d) {
LAB_00016148:
    uVar10 = 4;
  }
  else {
    uVar11 = (*(code *)PTR___strtoull_internal_0002a2d8)(param_1,param_2,param_3,0);
    if ((byte *)*param_2 == param_1) {
      if (param_5 != 0) {
        iVar9 = (int)(char)*param_1;
        if (iVar9 != 0) {
          iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);
          if (iVar7 != 0) {
            uVar11 = 1;
            uVar10 = 0;
            goto LAB_00016178;
          }
        }
      }
      goto LAB_00016148;
    }
    uVar10 = 0;
    if (*piVar4 != 0) {
      if (*piVar4 != 0x22) goto LAB_00016148;
      uVar10 = 1;
    }
    if (param_5 == 0) {
LAB_000160d8:
      *param_4 = uVar11;
    }
    else {
      iVar9 = (int)(char)*(byte *)*param_2;
      if (iVar9 == 0) goto LAB_000160d8;
      iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);
      if (iVar7 != 0) {
LAB_00016178:
        uVar6 = iVar9 - 0x45U & 0xff;
        if (uVar6 < 0x30) {
                    /* WARNING: Could not emulate address calculation at 0x00016194 */
                    /* WARNING: Treating indirect jump as call */
          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();
          return uVar10;
        }
        uVar6 = iVar9 - 0x42U & 0xff;
        if (uVar6 < 0x36) {
                    /* WARNING: Could not emulate address calculation at 0x00016268 */
                    /* WARNING: Treating indirect jump as call */
          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);
          return uVar10;
        }
      }
      uVar10 = uVar10 | 2;
      *param_4 = uVar11;
    }
  }
  if (local_2c == *(int *)puVar3) {
    return uVar10;
  }
  (*(code *)PTR___stack_chk_fail_0002a2c8)();
LAB_000167fc:
  uVar10 = (*(code *)PTR___assert_fail_0002a210)
                     (PTR_DAT_0002a108 + -0x65bc,PTR_DAT_0002a108 + -0x65cc,0x60,
                      PTR_DAT_0002a108 + -0x6338);
  return uVar10;
}


lui gp,0x2
addiu gp,gp,-0x3f00
addu gp,gp,t9
addiu sp,sp,-0x50
sltiu v0,a2,0x25
sw s1,0x2c(sp)
lw s1,-0x7df0(gp)
sw gp,0x10(sp)
sw s4,0x38(sp)
sw ra,0x4c(sp)
sw s8,0x48(sp)
sw s7,0x44(sp)
sw s6,0x40(sp)
sw s5,0x3c(sp)
sw s3,0x34(sp)
sw s2,0x30(sp)
sw s0,0x28(sp)
lw v1,0x0(s1)
lw s4,0x60(sp)
sw v1,0x24(sp)
beq v0,zero,0x000167fc
_or s6,a2,zero
or s5,a0,zero
or s0,a1,zero
beq a1,zero,0x00016150
_or s3,a3,zero
lw t9,-0x7e68(gp)
jalr t9
_nop
lw gp,0x10(sp)
or s2,v0,zero
lw t9,-0x7ec4(gp)
jalr t9
_sw zero,0x0(v0)
or v1,s5,zero
lw gp,0x10(sp)
lbu a0,0x0(s5)
b 0x00016070
_lw a1,0x0(v0)
lbu a0,0x0(v1)
sll v0,a0,0x1
addu v0,a1,v0
lhu v0,0x0(v0)
andi v0,v0,0x20
bne v0,zero,0x0001606c
_addiu v1,v1,0x1
li v0,0x2d
beq a0,v0,0x00016148
_lw t9,-0x7df8(gp)
or a3,zero,zero
or a2,s6,zero
or a1,s0,zero
jalr t9
_or a0,s5,zero
lw s7,0x0(s0)
or s6,v0,zero
beq s7,s5,0x00016134
_lw gp,0x10(sp)
lw v0,0x0(s2)
bne v0,zero,0x00016120
_or s5,zero,zero
beq s4,zero,0x000160d8
_nop
lb s2,0x0(s7)
bne s2,zero,0x00016218
_lw t9,-0x7e50(gp)
sw s6,0x0(s3)
sw v1,0x4(s3)
lw a0,0x24(sp)
or v0,s5,zero
lw v1,0x0(s1)
bne a0,v1,0x000167f0
_lw ra,0x4c(sp)
lw s8,0x48(sp)
lw s7,0x44(sp)
lw s6,0x40(sp)
lw s5,0x3c(sp)
lw s4,0x38(sp)
lw s3,0x34(sp)
lw s2,0x30(sp)
lw s1,0x2c(sp)
lw s0,0x28(sp)
jr ra
_addiu sp,sp,0x50
li a0,0x22
bne v0,a0,0x00016148
_nop
b 0x000160c4
_li s5,0x1
beq s4,zero,0x00016148
_nop
lb s2,0x0(s5)
bne s2,zero,0x00016158
_lw t9,-0x7e50(gp)
b 0x000160e0
_li s5,0x4
b 0x00016038
_addiu s0,sp,0x20
or a1,s2,zero
jalr t9
_or a0,s4,zero
beq v0,zero,0x00016148
_lw gp,0x10(sp)
or s6,zero,zero
li v1,0x1
or s5,zero,zero
addiu s8,s2,-0x45
andi v0,s8,0xff
sltiu a0,v0,0x30
beq a0,zero,0x00016244
_sll a0,v0,0x2
lw v0,-0x7fc8(gp)
addiu v0,v0,-0x6590
addu v0,v0,a0
lw v0,0x0(v0)
addu v0,v0,gp
jr v0
_nop
lw t9,-0x7e50(gp)
li a1,0x30
sw v1,0x1c(sp)
jalr t9
_or a0,s4,zero
lw gp,0x10(sp)
beq v0,zero,0x00016244
_lw v1,0x1c(sp)
lb v0,0x1(s7)
li a0,0x44
beq v0,a0,0x000166cc
_li a0,0x2
li a0,0x69
beq v0,a0,0x000162e8
_li a2,0x1
li a0,0x42
beq v0,a0,0x000166c8
_andi s8,s8,0xff
sltiu v0,s8,0x30
beq v0,zero,0x00016234
_lw v0,-0x7fc8(gp)
sll s8,s8,0x2
addiu v0,v0,-0x64d0
addu s8,v0,s8
lw v0,0x0(s8)
addu v0,v0,gp
jr v0
_nop
or a1,s2,zero
sw v1,0x1c(sp)
jalr t9
_or a0,s4,zero
lw gp,0x10(sp)
bne v0,zero,0x00016178
_lw v1,0x1c(sp)
sw s6,0x0(s3)
ori s5,s5,0x2
b 0x000160e0
_sw v1,0x4(s3)
li a0,0x1
li v0,0x400
addiu s2,s2,-0x42
andi s2,s2,0xff
sltiu a1,s2,0x36
beq a1,zero,0x00016234
_lw a1,-0x7fc8(gp)
sll s2,s2,0x2
addiu a1,a1,-0x6410
addu s2,a1,s2
lw a1,0x0(s2)
addu a1,a1,gp
jr a1
_nop
sra t3,v0,0x1f
multu v1,v0
mflo t1
bne s6,zero,0x00016738
_mfhi t0
mult t3,v1
madd v0,s6
or a1,t1,zero
mflo a2
addu a2,a2,t0
bne a2,zero,0x00016790
_or v1,a2,zero
multu t1,v0
mflo t1
mfhi t0
mult t3,a1
madd v0,v1
or v1,t1,zero
mflo v0
addu s6,v0,t0
addu s7,s7,a0
sw s7,0x0(s0)
lb v0,0x0(s7)
beq v0,zero,0x000160d8
_nop
b 0x000160d8
_ori s5,s5,0x2
lb a0,0x2(s7)
li a1,0x3
li v0,0x400
xori a0,a0,0x42
movn a1,a2,a0
b 0x0001624c
_or a0,a1,zero
bltz s6,0x000166f4
_srl v0,v1,0x1f
sll s6,s6,0x1
sll v1,v1,0x1
b 0x000162cc
_or s6,v0,s6
li a0,0x1
srl v0,s6,0x17
bne v0,zero,0x000166f4
_srl v0,v1,0x17
sll s6,s6,0x9
sll v1,v1,0x9
b 0x000162cc
_or s6,v0,s6
srl v0,s6,0x16
bne v0,zero,0x000166f4
_srl v0,v1,0x16
sll s6,s6,0xa
sll v1,v1,0xa
b 0x000162cc
_or s6,v0,s6
sra t3,v0,0x1f
li a1,0x7
b 0x00016388
_or t4,zero,zero
mult t3,v1
madd v0,s6
or v1,t1,zero
mflo a2
addu s6,a2,t0
addiu a1,a1,-0x1
beq a1,zero,0x000166c0
_nop
multu v1,v0
mflo t1
beq s6,zero,0x00016368
_mfhi t0
multu v0,s6
mflo t7
mfhi t6
addu t2,t0,t7
sltu a3,t2,t7
addu a2,a3,t6
beq a2,zero,0x0001636c
_mult t3,v1
li t4,0x1
li s6,-0x1
b 0x0001637c
_li v1,-0x1
sra t3,v0,0x1f
li a1,0x6
b 0x000163f8
_or t4,zero,zero
mult t3,v1
madd v0,s6
or v1,t1,zero
mflo a2
addu s6,a2,t0
addiu a1,a1,-0x1
beq a1,zero,0x000166c0
_nop
multu v1,v0
mflo t1
beq s6,zero,0x000163d8
_mfhi t0
multu v0,s6
mflo t7
mfhi t6
addu t2,t0,t7
sltu a3,t2,t7
addu a2,a3,t6
beq a2,zero,0x000163dc
_mult t3,v1
li t4,0x1
li s6,-0x1
b 0x000163ec
_li v1,-0x1
sra a1,v0,0x1f
multu v1,v0
mflo a3
bne s6,zero,0x000166d4
_mfhi a2
mult a1,v1
madd v0,s6
or v1,a3,zero
mflo v0
b 0x000162cc
_addu s6,v0,a2
sra t2,v0,0x1f
multu v1,v0
mflo t1
bne s6,zero,0x00016704
_mfhi t0
mult t2,v1
madd v0,s6
or v1,t1,zero
mflo a2
addu a2,a2,t0
bne a2,zero,0x00016760
_or a1,a2,zero
multu t1,v0
mflo t1
mfhi t0
mult t2,v1
madd v0,a1
or a1,t1,zero
mflo a2
addu a2,a2,t0
bne a2,zero,0x000167c0
_or t3,a2,zero
multu t1,v0
mflo t1
mfhi t0
mult t2,a1
madd v0,t3
or a1,zero,zero
or v1,t1,zero
or s5,s5,a1
mflo v0
b 0x000162cc
_addu s6,v0,t0
sra t3,v0,0x1f
li a1,0x8
b 0x00016518
_or t4,zero,zero
mult t3,v1
madd v0,s6
or v1,t1,zero
mflo a2
addu s6,a2,t0
addiu a1,a1,-0x1
beq a1,zero,0x000166c0
_nop
multu v1,v0
mflo t1
beq s6,zero,0x000164f8
_mfhi t0
multu v0,s6
mflo t7
mfhi t6
addu t2,t0,t7
sltu a3,t2,t7
addu a2,a3,t6
beq a2,zero,0x000164fc
_mult t3,v1
li t4,0x1
li s6,-0x1
b 0x0001650c
_li v1,-0x1
sra t3,v0,0x1f
li a1,0x4
b 0x00016588
_or t4,zero,zero
mult t3,v1
madd v0,s6
or v1,t1,zero
mflo a2
addu s6,a2,t0
addiu a1,a1,-0x1
beq a1,zero,0x000166c0
_nop
multu v1,v0
mflo t1
beq s6,zero,0x00016568
_mfhi t0
multu v0,s6
mflo t7
mfhi t6
addu t2,t0,t7
sltu a3,t2,t7
addu a2,a3,t6
beq a2,zero,0x0001656c
_mult t3,v1
li t4,0x1
li s6,-0x1
b 0x0001657c
_li v1,-0x1
sra t3,v0,0x1f
li a1,0x5
b 0x000165f8
_or t4,zero,zero
mult t3,v1
madd v0,s6
or v1,t1,zero
mflo a2
addu s6,a2,t0
addiu a1,a1,-0x1
beq a1,zero,0x000166c0
_nop
multu v1,v0
mflo t1
beq s6,zero,0x000165d8
_mfhi t0
multu v0,s6
mflo t7
mfhi t6
addu t2,t0,t7
sltu a3,t2,t7
addu a2,a3,t6
beq a2,zero,0x000165dc
_mult t3,v1
li t4,0x1
li s6,-0x1
b 0x000165ec
_li v1,-0x1
li a0,0x1
or t3,zero,zero
b 0x0001635c
_li v0,0x400
li a0,0x1
or t3,zero,zero
b 0x000164ec
_li v0,0x400
li a0,0x1
or t3,zero,zero
b 0x0001655c
_li v0,0x400
li a0,0x1
or t3,zero,zero
b 0x000165cc
_li v0,0x400
li a0,0x1
or t3,zero,zero
b 0x00016280
_li v0,0x400
li a0,0x1
or a1,zero,zero
b 0x0001643c
_li v0,0x400
li a0,0x1
or t2,zero,zero
b 0x00016468
_li v0,0x400
li a0,0x1
or t3,zero,zero
b 0x000163cc
_li v0,0x400
b 0x000162cc
_li a0,0x1
b 0x000162cc
_or s5,s5,t4
li a0,0x2
b 0x0001624c
_li v0,0x3e8
multu v0,s6
mflo t5
mfhi t4
addu t2,a2,t5
sltu t1,t2,t5
addu t0,t1,t4
beq t0,zero,0x00016450
_mult a1,v1
li s5,0x1
li s6,-0x1
b 0x000162cc
_li v1,-0x1
multu v0,s6
mflo a3
mfhi a2
addu a1,t0,a3
sltu a1,a1,a3
addu a1,a1,a2
beq a1,zero,0x0001647c
_mult t2,v1
li a1,0x1
li s6,-0x1
li v1,-0x1
b 0x000162cc
_or s5,s5,a1
multu v0,s6
mflo a3
mfhi a2
addu a1,t0,a3
sltu a1,a1,a3
addu a1,a1,a2
beq a1,zero,0x00016294
_mult t3,v1
b 0x000166f8
_li s5,0x1
multu v0,a2
mflo t5
mfhi t4
multu t1,v0
mfhi t0
addu t3,t0,t5
sltu a3,t3,t5
addu a2,a3,t4
beq a2,zero,0x000164a0
_mflo t1
b 0x00016728
_li a1,0x1
multu v0,a2
mflo t5
mfhi t4
multu t1,v0
mfhi t0
addu t2,t0,t5
sltu a3,t2,t5
addu a2,a3,t4
beq a2,zero,0x000162b8
_mflo t1
b 0x000166f8
_li s5,0x1
multu v0,a2
mflo a3
mfhi a2
multu t1,v0
mfhi t0
addu v1,t0,a3
sltu v1,v1,a3
addu a2,v1,a2
beq a2,zero,0x000164c8
_mflo t1
b 0x00016728
_li a1,0x1
lw t9,-0x7e08(gp)
jalr t9
_nop
lw a3,-0x7fc8(gp)
li a2,0x60
lw a1,-0x7fc8(gp)
lw a0,-0x7fc8(gp)
lw t9,-0x7ec0(gp)
addiu a3,a3,-0x6338
addiu a1,a1,-0x65cc
jalr t9
_addiu a0,a0,-0x65bc
(translation_unit "uint xstrtoumax(byte *param_1,undefined4 *param_2,uint param_3,undefined8 *param_4,int param_5)\n\n{\n  byte bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int *piVar4;\n  int *piVar5;\n  uint uVar6;\n  int iVar7;\n  byte *pbVar8;\n  int iVar9;\n  uint uVar10;\n  undefined8 uVar11;\n  undefined4 uStack_30;\n  int local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_0002a2e0;\n  local_2c = *(int *)PTR___stack_chk_guard_0002a2e0;\n  if (0x24 < param_3) goto LAB_000167fc;\n  if (param_2 == (undefined4 *)0x0) {\n    param_2 = &uStack_30;\n  }\n  piVar4 = (int *)(*(code *)PTR___errno_location_0002a268)();\n  puVar2 = PTR___ctype_b_loc_0002a20c;\n  *piVar4 = 0;\n  piVar5 = (int *)(*(code *)puVar2)();\n  bVar1 = *param_1;\n  pbVar8 = param_1;\n  while( true ) {\n    pbVar8 = pbVar8 + 1;\n    if ((*(ushort *)(*piVar5 + (uint)bVar1 * 2) & 0x20) == 0) break;\n    bVar1 = *pbVar8;\n  }\n  if (bVar1 == 0x2d) {\nLAB_00016148:\n    uVar10 = 4;\n  }\n  else {\n    uVar11 = (*(code *)PTR___strtoull_internal_0002a2d8)(param_1,param_2,param_3,0);\n    if ((byte *)*param_2 == param_1) {\n      if (param_5 != 0) {\n        iVar9 = (int)(char)*param_1;\n        if (iVar9 != 0) {\n          iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n          if (iVar7 != 0) {\n            uVar11 = 1;\n            uVar10 = 0;\n            goto LAB_00016178;\n          }\n        }\n      }\n      goto LAB_00016148;\n    }\n    uVar10 = 0;\n    if (*piVar4 != 0) {\n      if (*piVar4 != 0x22) goto LAB_00016148;\n      uVar10 = 1;\n    }\n    if (param_5 == 0) {\nLAB_000160d8:\n      *param_4 = uVar11;\n    }\n    else {\n      iVar9 = (int)(char)*(byte *)*param_2;\n      if (iVar9 == 0) goto LAB_000160d8;\n      iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n      if (iVar7 != 0) {\nLAB_00016178:\n        uVar6 = iVar9 - 0x45U & 0xff;\n        if (uVar6 < 0x30) {\n                    /* WARNING: Could not emulate address calculation at 0x00016194 */\n                    /* WARNING: Treating indirect jump as call */\n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();\n          return uVar10;\n        }\n        uVar6 = iVar9 - 0x42U & 0xff;\n        if (uVar6 < 0x36) {\n                    /* WARNING: Could not emulate address calculation at 0x00016268 */\n                    /* WARNING: Treating indirect jump as call */\n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);\n          return uVar10;\n        }\n      }\n      uVar10 = uVar10 | 2;\n      *param_4 = uVar11;\n    }\n  }\n  if (local_2c == *(int *)puVar3) {\n    return uVar10;\n  }\n  (*(code *)PTR___stack_chk_fail_0002a2c8)();\nLAB_000167fc:\n  uVar10 = (*(code *)PTR___assert_fail_0002a210)\n                     (PTR_DAT_0002a108 + -0x65bc,PTR_DAT_0002a108 + -0x65cc,0x60,\n                      PTR_DAT_0002a108 + -0x6338);\n  return uVar10;\n}\n\n" (function_definition "uint xstrtoumax(byte *param_1,undefined4 *param_2,uint param_3,undefined8 *param_4,int param_5)\n\n{\n  byte bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int *piVar4;\n  int *piVar5;\n  uint uVar6;\n  int iVar7;\n  byte *pbVar8;\n  int iVar9;\n  uint uVar10;\n  undefined8 uVar11;\n  undefined4 uStack_30;\n  int local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_0002a2e0;\n  local_2c = *(int *)PTR___stack_chk_guard_0002a2e0;\n  if (0x24 < param_3) goto LAB_000167fc;\n  if (param_2 == (undefined4 *)0x0) {\n    param_2 = &uStack_30;\n  }\n  piVar4 = (int *)(*(code *)PTR___errno_location_0002a268)();\n  puVar2 = PTR___ctype_b_loc_0002a20c;\n  *piVar4 = 0;\n  piVar5 = (int *)(*(code *)puVar2)();\n  bVar1 = *param_1;\n  pbVar8 = param_1;\n  while( true ) {\n    pbVar8 = pbVar8 + 1;\n    if ((*(ushort *)(*piVar5 + (uint)bVar1 * 2) & 0x20) == 0) break;\n    bVar1 = *pbVar8;\n  }\n  if (bVar1 == 0x2d) {\nLAB_00016148:\n    uVar10 = 4;\n  }\n  else {\n    uVar11 = (*(code *)PTR___strtoull_internal_0002a2d8)(param_1,param_2,param_3,0);\n    if ((byte *)*param_2 == param_1) {\n      if (param_5 != 0) {\n        iVar9 = (int)(char)*param_1;\n        if (iVar9 != 0) {\n          iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n          if (iVar7 != 0) {\n            uVar11 = 1;\n            uVar10 = 0;\n            goto LAB_00016178;\n          }\n        }\n      }\n      goto LAB_00016148;\n    }\n    uVar10 = 0;\n    if (*piVar4 != 0) {\n      if (*piVar4 != 0x22) goto LAB_00016148;\n      uVar10 = 1;\n    }\n    if (param_5 == 0) {\nLAB_000160d8:\n      *param_4 = uVar11;\n    }\n    else {\n      iVar9 = (int)(char)*(byte *)*param_2;\n      if (iVar9 == 0) goto LAB_000160d8;\n      iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n      if (iVar7 != 0) {\nLAB_00016178:\n        uVar6 = iVar9 - 0x45U & 0xff;\n        if (uVar6 < 0x30) {\n                    /* WARNING: Could not emulate address calculation at 0x00016194 */\n                    /* WARNING: Treating indirect jump as call */\n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();\n          return uVar10;\n        }\n        uVar6 = iVar9 - 0x42U & 0xff;\n        if (uVar6 < 0x36) {\n                    /* WARNING: Could not emulate address calculation at 0x00016268 */\n                    /* WARNING: Treating indirect jump as call */\n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);\n          return uVar10;\n        }\n      }\n      uVar10 = uVar10 | 2;\n      *param_4 = uVar11;\n    }\n  }\n  if (local_2c == *(int *)puVar3) {\n    return uVar10;\n  }\n  (*(code *)PTR___stack_chk_fail_0002a2c8)();\nLAB_000167fc:\n  uVar10 = (*(code *)PTR___assert_fail_0002a210)\n                     (PTR_DAT_0002a108 + -0x65bc,PTR_DAT_0002a108 + -0x65cc,0x60,\n                      PTR_DAT_0002a108 + -0x6338);\n  return uVar10;\n}" type_identifier (function_declarator "xstrtoumax(byte *param_1,undefined4 *param_2,uint param_3,undefined8 *param_4,int param_5)" identifier (parameter_list "(byte *param_1,undefined4 *param_2,uint param_3,undefined8 *param_4,int param_5)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "undefined8 *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "int param_5" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int *piVar4;\n  int *piVar5;\n  uint uVar6;\n  int iVar7;\n  byte *pbVar8;\n  int iVar9;\n  uint uVar10;\n  undefined8 uVar11;\n  undefined4 uStack_30;\n  int local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_0002a2e0;\n  local_2c = *(int *)PTR___stack_chk_guard_0002a2e0;\n  if (0x24 < param_3) goto LAB_000167fc;\n  if (param_2 == (undefined4 *)0x0) {\n    param_2 = &uStack_30;\n  }\n  piVar4 = (int *)(*(code *)PTR___errno_location_0002a268)();\n  puVar2 = PTR___ctype_b_loc_0002a20c;\n  *piVar4 = 0;\n  piVar5 = (int *)(*(code *)puVar2)();\n  bVar1 = *param_1;\n  pbVar8 = param_1;\n  while( true ) {\n    pbVar8 = pbVar8 + 1;\n    if ((*(ushort *)(*piVar5 + (uint)bVar1 * 2) & 0x20) == 0) break;\n    bVar1 = *pbVar8;\n  }\n  if (bVar1 == 0x2d) {\nLAB_00016148:\n    uVar10 = 4;\n  }\n  else {\n    uVar11 = (*(code *)PTR___strtoull_internal_0002a2d8)(param_1,param_2,param_3,0);\n    if ((byte *)*param_2 == param_1) {\n      if (param_5 != 0) {\n        iVar9 = (int)(char)*param_1;\n        if (iVar9 != 0) {\n          iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n          if (iVar7 != 0) {\n            uVar11 = 1;\n            uVar10 = 0;\n            goto LAB_00016178;\n          }\n        }\n      }\n      goto LAB_00016148;\n    }\n    uVar10 = 0;\n    if (*piVar4 != 0) {\n      if (*piVar4 != 0x22) goto LAB_00016148;\n      uVar10 = 1;\n    }\n    if (param_5 == 0) {\nLAB_000160d8:\n      *param_4 = uVar11;\n    }\n    else {\n      iVar9 = (int)(char)*(byte *)*param_2;\n      if (iVar9 == 0) goto LAB_000160d8;\n      iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n      if (iVar7 != 0) {\nLAB_00016178:\n        uVar6 = iVar9 - 0x45U & 0xff;\n        if (uVar6 < 0x30) {\n                    /* WARNING: Could not emulate address calculation at 0x00016194 */\n                    /* WARNING: Treating indirect jump as call */\n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();\n          return uVar10;\n        }\n        uVar6 = iVar9 - 0x42U & 0xff;\n        if (uVar6 < 0x36) {\n                    /* WARNING: Could not emulate address calculation at 0x00016268 */\n                    /* WARNING: Treating indirect jump as call */\n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);\n          return uVar10;\n        }\n      }\n      uVar10 = uVar10 | 2;\n      *param_4 = uVar11;\n    }\n  }\n  if (local_2c == *(int *)puVar3) {\n    return uVar10;\n  }\n  (*(code *)PTR___stack_chk_fail_0002a2c8)();\nLAB_000167fc:\n  uVar10 = (*(code *)PTR___assert_fail_0002a210)\n                     (PTR_DAT_0002a108 + -0x65bc,PTR_DAT_0002a108 + -0x65cc,0x60,\n                      PTR_DAT_0002a108 + -0x6338);\n  return uVar10;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "byte *pbVar8;" type_identifier (pointer_declarator "*pbVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "undefined8 uVar11;" type_identifier identifier ;) (declaration "undefined4 uStack_30;" type_identifier identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "puVar3 = PTR___stack_chk_guard_0002a2e0;" (assignment_expression "puVar3 = PTR___stack_chk_guard_0002a2e0" identifier = identifier) ;) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_0002a2e0;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_0002a2e0" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_0002a2e0" * (cast_expression "(int *)PTR___stack_chk_guard_0002a2e0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (0x24 < param_3) goto LAB_000167fc;" if (parenthesized_expression "(0x24 < param_3)" ( (binary_expression "0x24 < param_3" number_literal < identifier) )) (goto_statement "goto LAB_000167fc;" goto statement_identifier ;)) (if_statement "if (param_2 == (undefined4 *)0x0) {\n    param_2 = &uStack_30;\n  }" if (parenthesized_expression "(param_2 == (undefined4 *)0x0)" ( (binary_expression "param_2 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    param_2 = &uStack_30;\n  }" { (expression_statement "param_2 = &uStack_30;" (assignment_expression "param_2 = &uStack_30" identifier = (pointer_expression "&uStack_30" & identifier)) ;) })) (expression_statement "piVar4 = (int *)(*(code *)PTR___errno_location_0002a268)();" (assignment_expression "piVar4 = (int *)(*(code *)PTR___errno_location_0002a268)()" identifier = (cast_expression "(int *)(*(code *)PTR___errno_location_0002a268)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_0002a268)()" (parenthesized_expression "(*(code *)PTR___errno_location_0002a268)" ( (pointer_expression "*(code *)PTR___errno_location_0002a268" * (cast_expression "(code *)PTR___errno_location_0002a268" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "puVar2 = PTR___ctype_b_loc_0002a20c;" (assignment_expression "puVar2 = PTR___ctype_b_loc_0002a20c" identifier = identifier) ;) (expression_statement "*piVar4 = 0;" (assignment_expression "*piVar4 = 0" (pointer_expression "*piVar4" * identifier) = number_literal) ;) (expression_statement "piVar5 = (int *)(*(code *)puVar2)();" (assignment_expression "piVar5 = (int *)(*(code *)puVar2)()" identifier = (cast_expression "(int *)(*(code *)puVar2)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)puVar2)()" (parenthesized_expression "(*(code *)puVar2)" ( (pointer_expression "*(code *)puVar2" * (cast_expression "(code *)puVar2" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "pbVar8 = param_1;" (assignment_expression "pbVar8 = param_1" identifier = identifier) ;) (while_statement "while( true ) {\n    pbVar8 = pbVar8 + 1;\n    if ((*(ushort *)(*piVar5 + (uint)bVar1 * 2) & 0x20) == 0) break;\n    bVar1 = *pbVar8;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    pbVar8 = pbVar8 + 1;\n    if ((*(ushort *)(*piVar5 + (uint)bVar1 * 2) & 0x20) == 0) break;\n    bVar1 = *pbVar8;\n  }" { (expression_statement "pbVar8 = pbVar8 + 1;" (assignment_expression "pbVar8 = pbVar8 + 1" identifier = (binary_expression "pbVar8 + 1" identifier + number_literal)) ;) (if_statement "if ((*(ushort *)(*piVar5 + (uint)bVar1 * 2) & 0x20) == 0) break;" if (parenthesized_expression "((*(ushort *)(*piVar5 + (uint)bVar1 * 2) & 0x20) == 0)" ( (binary_expression "(*(ushort *)(*piVar5 + (uint)bVar1 * 2) & 0x20) == 0" (parenthesized_expression "(*(ushort *)(*piVar5 + (uint)bVar1 * 2) & 0x20)" ( (binary_expression "*(ushort *)(*piVar5 + (uint)bVar1 * 2) & 0x20" (pointer_expression "*(ushort *)(*piVar5 + (uint)bVar1 * 2)" * (cast_expression "(ushort *)(*piVar5 + (uint)bVar1 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar5 + (uint)bVar1 * 2)" ( (binary_expression "*piVar5 + (uint)bVar1 * 2" (pointer_expression "*piVar5" * identifier) + (binary_expression "(uint)bVar1 * 2" (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) )))) & number_literal) )) == number_literal) )) (break_statement "break;" break ;)) (expression_statement "bVar1 = *pbVar8;" (assignment_expression "bVar1 = *pbVar8" identifier = (pointer_expression "*pbVar8" * identifier)) ;) })) (if_statement "if (bVar1 == 0x2d) {\nLAB_00016148:\n    uVar10 = 4;\n  }\n  else {\n    uVar11 = (*(code *)PTR___strtoull_internal_0002a2d8)(param_1,param_2,param_3,0);\n    if ((byte *)*param_2 == param_1) {\n      if (param_5 != 0) {\n        iVar9 = (int)(char)*param_1;\n        if (iVar9 != 0) {\n          iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n          if (iVar7 != 0) {\n            uVar11 = 1;\n            uVar10 = 0;\n            goto LAB_00016178;\n          }\n        }\n      }\n      goto LAB_00016148;\n    }\n    uVar10 = 0;\n    if (*piVar4 != 0) {\n      if (*piVar4 != 0x22) goto LAB_00016148;\n      uVar10 = 1;\n    }\n    if (param_5 == 0) {\nLAB_000160d8:\n      *param_4 = uVar11;\n    }\n    else {\n      iVar9 = (int)(char)*(byte *)*param_2;\n      if (iVar9 == 0) goto LAB_000160d8;\n      iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n      if (iVar7 != 0) {\nLAB_00016178:\n        uVar6 = iVar9 - 0x45U & 0xff;\n        if (uVar6 < 0x30) {\n                    /* WARNING: Could not emulate address calculation at 0x00016194 */\n                    /* WARNING: Treating indirect jump as call */\n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();\n          return uVar10;\n        }\n        uVar6 = iVar9 - 0x42U & 0xff;\n        if (uVar6 < 0x36) {\n                    /* WARNING: Could not emulate address calculation at 0x00016268 */\n                    /* WARNING: Treating indirect jump as call */\n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);\n          return uVar10;\n        }\n      }\n      uVar10 = uVar10 | 2;\n      *param_4 = uVar11;\n    }\n  }" if (parenthesized_expression "(bVar1 == 0x2d)" ( (binary_expression "bVar1 == 0x2d" identifier == number_literal) )) (compound_statement "{\nLAB_00016148:\n    uVar10 = 4;\n  }" { (labeled_statement "LAB_00016148:\n    uVar10 = 4;" statement_identifier : (expression_statement "uVar10 = 4;" (assignment_expression "uVar10 = 4" identifier = number_literal) ;)) }) (else_clause "else {\n    uVar11 = (*(code *)PTR___strtoull_internal_0002a2d8)(param_1,param_2,param_3,0);\n    if ((byte *)*param_2 == param_1) {\n      if (param_5 != 0) {\n        iVar9 = (int)(char)*param_1;\n        if (iVar9 != 0) {\n          iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n          if (iVar7 != 0) {\n            uVar11 = 1;\n            uVar10 = 0;\n            goto LAB_00016178;\n          }\n        }\n      }\n      goto LAB_00016148;\n    }\n    uVar10 = 0;\n    if (*piVar4 != 0) {\n      if (*piVar4 != 0x22) goto LAB_00016148;\n      uVar10 = 1;\n    }\n    if (param_5 == 0) {\nLAB_000160d8:\n      *param_4 = uVar11;\n    }\n    else {\n      iVar9 = (int)(char)*(byte *)*param_2;\n      if (iVar9 == 0) goto LAB_000160d8;\n      iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n      if (iVar7 != 0) {\nLAB_00016178:\n        uVar6 = iVar9 - 0x45U & 0xff;\n        if (uVar6 < 0x30) {\n                    /* WARNING: Could not emulate address calculation at 0x00016194 */\n                    /* WARNING: Treating indirect jump as call */\n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();\n          return uVar10;\n        }\n        uVar6 = iVar9 - 0x42U & 0xff;\n        if (uVar6 < 0x36) {\n                    /* WARNING: Could not emulate address calculation at 0x00016268 */\n                    /* WARNING: Treating indirect jump as call */\n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);\n          return uVar10;\n        }\n      }\n      uVar10 = uVar10 | 2;\n      *param_4 = uVar11;\n    }\n  }" else (compound_statement "{\n    uVar11 = (*(code *)PTR___strtoull_internal_0002a2d8)(param_1,param_2,param_3,0);\n    if ((byte *)*param_2 == param_1) {\n      if (param_5 != 0) {\n        iVar9 = (int)(char)*param_1;\n        if (iVar9 != 0) {\n          iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n          if (iVar7 != 0) {\n            uVar11 = 1;\n            uVar10 = 0;\n            goto LAB_00016178;\n          }\n        }\n      }\n      goto LAB_00016148;\n    }\n    uVar10 = 0;\n    if (*piVar4 != 0) {\n      if (*piVar4 != 0x22) goto LAB_00016148;\n      uVar10 = 1;\n    }\n    if (param_5 == 0) {\nLAB_000160d8:\n      *param_4 = uVar11;\n    }\n    else {\n      iVar9 = (int)(char)*(byte *)*param_2;\n      if (iVar9 == 0) goto LAB_000160d8;\n      iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n      if (iVar7 != 0) {\nLAB_00016178:\n        uVar6 = iVar9 - 0x45U & 0xff;\n        if (uVar6 < 0x30) {\n                    /* WARNING: Could not emulate address calculation at 0x00016194 */\n                    /* WARNING: Treating indirect jump as call */\n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();\n          return uVar10;\n        }\n        uVar6 = iVar9 - 0x42U & 0xff;\n        if (uVar6 < 0x36) {\n                    /* WARNING: Could not emulate address calculation at 0x00016268 */\n                    /* WARNING: Treating indirect jump as call */\n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);\n          return uVar10;\n        }\n      }\n      uVar10 = uVar10 | 2;\n      *param_4 = uVar11;\n    }\n  }" { (expression_statement "uVar11 = (*(code *)PTR___strtoull_internal_0002a2d8)(param_1,param_2,param_3,0);" (assignment_expression "uVar11 = (*(code *)PTR___strtoull_internal_0002a2d8)(param_1,param_2,param_3,0)" identifier = (call_expression "(*(code *)PTR___strtoull_internal_0002a2d8)(param_1,param_2,param_3,0)" (parenthesized_expression "(*(code *)PTR___strtoull_internal_0002a2d8)" ( (pointer_expression "*(code *)PTR___strtoull_internal_0002a2d8" * (cast_expression "(code *)PTR___strtoull_internal_0002a2d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,param_2,param_3,0)" ( identifier , identifier , identifier , number_literal )))) ;) (if_statement "if ((byte *)*param_2 == param_1) {\n      if (param_5 != 0) {\n        iVar9 = (int)(char)*param_1;\n        if (iVar9 != 0) {\n          iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n          if (iVar7 != 0) {\n            uVar11 = 1;\n            uVar10 = 0;\n            goto LAB_00016178;\n          }\n        }\n      }\n      goto LAB_00016148;\n    }" if (parenthesized_expression "((byte *)*param_2 == param_1)" ( (binary_expression "(byte *)*param_2 == param_1" (cast_expression "(byte *)*param_2" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier)) == identifier) )) (compound_statement "{\n      if (param_5 != 0) {\n        iVar9 = (int)(char)*param_1;\n        if (iVar9 != 0) {\n          iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n          if (iVar7 != 0) {\n            uVar11 = 1;\n            uVar10 = 0;\n            goto LAB_00016178;\n          }\n        }\n      }\n      goto LAB_00016148;\n    }" { (if_statement "if (param_5 != 0) {\n        iVar9 = (int)(char)*param_1;\n        if (iVar9 != 0) {\n          iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n          if (iVar7 != 0) {\n            uVar11 = 1;\n            uVar10 = 0;\n            goto LAB_00016178;\n          }\n        }\n      }" if (parenthesized_expression "(param_5 != 0)" ( (binary_expression "param_5 != 0" identifier != number_literal) )) (compound_statement "{\n        iVar9 = (int)(char)*param_1;\n        if (iVar9 != 0) {\n          iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n          if (iVar7 != 0) {\n            uVar11 = 1;\n            uVar10 = 0;\n            goto LAB_00016178;\n          }\n        }\n      }" { (expression_statement "iVar9 = (int)(char)*param_1;" (assignment_expression "iVar9 = (int)(char)*param_1" identifier = (cast_expression "(int)(char)*param_1" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)*param_1" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*param_1" * identifier)))) ;) (if_statement "if (iVar9 != 0) {\n          iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n          if (iVar7 != 0) {\n            uVar11 = 1;\n            uVar10 = 0;\n            goto LAB_00016178;\n          }\n        }" if (parenthesized_expression "(iVar9 != 0)" ( (binary_expression "iVar9 != 0" identifier != number_literal) )) (compound_statement "{\n          iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n          if (iVar7 != 0) {\n            uVar11 = 1;\n            uVar10 = 0;\n            goto LAB_00016178;\n          }\n        }" { (expression_statement "iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);" (assignment_expression "iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9)" identifier = (call_expression "(*(code *)PTR_strchr_0002a280)(param_5,iVar9)" (parenthesized_expression "(*(code *)PTR_strchr_0002a280)" ( (pointer_expression "*(code *)PTR_strchr_0002a280" * (cast_expression "(code *)PTR_strchr_0002a280" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_5,iVar9)" ( identifier , identifier )))) ;) (if_statement "if (iVar7 != 0) {\n            uVar11 = 1;\n            uVar10 = 0;\n            goto LAB_00016178;\n          }" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (compound_statement "{\n            uVar11 = 1;\n            uVar10 = 0;\n            goto LAB_00016178;\n          }" { (expression_statement "uVar11 = 1;" (assignment_expression "uVar11 = 1" identifier = number_literal) ;) (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_00016178;" goto statement_identifier ;) })) })) })) (goto_statement "goto LAB_00016148;" goto statement_identifier ;) })) (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) (if_statement "if (*piVar4 != 0) {\n      if (*piVar4 != 0x22) goto LAB_00016148;\n      uVar10 = 1;\n    }" if (parenthesized_expression "(*piVar4 != 0)" ( (binary_expression "*piVar4 != 0" (pointer_expression "*piVar4" * identifier) != number_literal) )) (compound_statement "{\n      if (*piVar4 != 0x22) goto LAB_00016148;\n      uVar10 = 1;\n    }" { (if_statement "if (*piVar4 != 0x22) goto LAB_00016148;" if (parenthesized_expression "(*piVar4 != 0x22)" ( (binary_expression "*piVar4 != 0x22" (pointer_expression "*piVar4" * identifier) != number_literal) )) (goto_statement "goto LAB_00016148;" goto statement_identifier ;)) (expression_statement "uVar10 = 1;" (assignment_expression "uVar10 = 1" identifier = number_literal) ;) })) (if_statement "if (param_5 == 0) {\nLAB_000160d8:\n      *param_4 = uVar11;\n    }\n    else {\n      iVar9 = (int)(char)*(byte *)*param_2;\n      if (iVar9 == 0) goto LAB_000160d8;\n      iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n      if (iVar7 != 0) {\nLAB_00016178:\n        uVar6 = iVar9 - 0x45U & 0xff;\n        if (uVar6 < 0x30) {\n                    /* WARNING: Could not emulate address calculation at 0x00016194 */\n                    /* WARNING: Treating indirect jump as call */\n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();\n          return uVar10;\n        }\n        uVar6 = iVar9 - 0x42U & 0xff;\n        if (uVar6 < 0x36) {\n                    /* WARNING: Could not emulate address calculation at 0x00016268 */\n                    /* WARNING: Treating indirect jump as call */\n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);\n          return uVar10;\n        }\n      }\n      uVar10 = uVar10 | 2;\n      *param_4 = uVar11;\n    }" if (parenthesized_expression "(param_5 == 0)" ( (binary_expression "param_5 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_000160d8:\n      *param_4 = uVar11;\n    }" { (labeled_statement "LAB_000160d8:\n      *param_4 = uVar11;" statement_identifier : (expression_statement "*param_4 = uVar11;" (assignment_expression "*param_4 = uVar11" (pointer_expression "*param_4" * identifier) = identifier) ;)) }) (else_clause "else {\n      iVar9 = (int)(char)*(byte *)*param_2;\n      if (iVar9 == 0) goto LAB_000160d8;\n      iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n      if (iVar7 != 0) {\nLAB_00016178:\n        uVar6 = iVar9 - 0x45U & 0xff;\n        if (uVar6 < 0x30) {\n                    /* WARNING: Could not emulate address calculation at 0x00016194 */\n                    /* WARNING: Treating indirect jump as call */\n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();\n          return uVar10;\n        }\n        uVar6 = iVar9 - 0x42U & 0xff;\n        if (uVar6 < 0x36) {\n                    /* WARNING: Could not emulate address calculation at 0x00016268 */\n                    /* WARNING: Treating indirect jump as call */\n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);\n          return uVar10;\n        }\n      }\n      uVar10 = uVar10 | 2;\n      *param_4 = uVar11;\n    }" else (compound_statement "{\n      iVar9 = (int)(char)*(byte *)*param_2;\n      if (iVar9 == 0) goto LAB_000160d8;\n      iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n      if (iVar7 != 0) {\nLAB_00016178:\n        uVar6 = iVar9 - 0x45U & 0xff;\n        if (uVar6 < 0x30) {\n                    /* WARNING: Could not emulate address calculation at 0x00016194 */\n                    /* WARNING: Treating indirect jump as call */\n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();\n          return uVar10;\n        }\n        uVar6 = iVar9 - 0x42U & 0xff;\n        if (uVar6 < 0x36) {\n                    /* WARNING: Could not emulate address calculation at 0x00016268 */\n                    /* WARNING: Treating indirect jump as call */\n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);\n          return uVar10;\n        }\n      }\n      uVar10 = uVar10 | 2;\n      *param_4 = uVar11;\n    }" { (expression_statement "iVar9 = (int)(char)*(byte *)*param_2;" (assignment_expression "iVar9 = (int)(char)*(byte *)*param_2" identifier = (cast_expression "(int)(char)*(byte *)*param_2" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)*(byte *)*param_2" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*(byte *)*param_2" * (cast_expression "(byte *)*param_2" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier)))))) ;) (if_statement "if (iVar9 == 0) goto LAB_000160d8;" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000160d8;" goto statement_identifier ;)) (expression_statement "iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);" (assignment_expression "iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9)" identifier = (call_expression "(*(code *)PTR_strchr_0002a280)(param_5,iVar9)" (parenthesized_expression "(*(code *)PTR_strchr_0002a280)" ( (pointer_expression "*(code *)PTR_strchr_0002a280" * (cast_expression "(code *)PTR_strchr_0002a280" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_5,iVar9)" ( identifier , identifier )))) ;) (if_statement "if (iVar7 != 0) {\nLAB_00016178:\n        uVar6 = iVar9 - 0x45U & 0xff;\n        if (uVar6 < 0x30) {\n                    /* WARNING: Could not emulate address calculation at 0x00016194 */\n                    /* WARNING: Treating indirect jump as call */\n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();\n          return uVar10;\n        }\n        uVar6 = iVar9 - 0x42U & 0xff;\n        if (uVar6 < 0x36) {\n                    /* WARNING: Could not emulate address calculation at 0x00016268 */\n                    /* WARNING: Treating indirect jump as call */\n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);\n          return uVar10;\n        }\n      }" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (compound_statement "{\nLAB_00016178:\n        uVar6 = iVar9 - 0x45U & 0xff;\n        if (uVar6 < 0x30) {\n                    /* WARNING: Could not emulate address calculation at 0x00016194 */\n                    /* WARNING: Treating indirect jump as call */\n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();\n          return uVar10;\n        }\n        uVar6 = iVar9 - 0x42U & 0xff;\n        if (uVar6 < 0x36) {\n                    /* WARNING: Could not emulate address calculation at 0x00016268 */\n                    /* WARNING: Treating indirect jump as call */\n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);\n          return uVar10;\n        }\n      }" { (labeled_statement "LAB_00016178:\n        uVar6 = iVar9 - 0x45U & 0xff;" statement_identifier : (expression_statement "uVar6 = iVar9 - 0x45U & 0xff;" (assignment_expression "uVar6 = iVar9 - 0x45U & 0xff" identifier = (binary_expression "iVar9 - 0x45U & 0xff" (binary_expression "iVar9 - 0x45U" identifier - number_literal) & number_literal)) ;)) (if_statement "if (uVar6 < 0x30) {\n                    /* WARNING: Could not emulate address calculation at 0x00016194 */\n                    /* WARNING: Treating indirect jump as call */\n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();\n          return uVar10;\n        }" if (parenthesized_expression "(uVar6 < 0x30)" ( (binary_expression "uVar6 < 0x30" identifier < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not emulate address calculation at 0x00016194 */\n                    /* WARNING: Treating indirect jump as call */\n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();\n          return uVar10;\n        }" { comment comment (expression_statement "uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();" (assignment_expression "uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))()" identifier = (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))" ( (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000))" * (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000))" ( (binary_expression "&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)" (pointer_expression "&_gp_1" & identifier) + (pointer_expression "*(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)" * (cast_expression "(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002a108 + uVar6 * 4 + -26000)" ( (binary_expression "PTR_DAT_0002a108 + uVar6 * 4 + -26000" (binary_expression "PTR_DAT_0002a108 + uVar6 * 4" identifier + (binary_expression "uVar6 * 4" identifier * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( )))) ;) (return_statement "return uVar10;" return identifier ;) })) (expression_statement "uVar6 = iVar9 - 0x42U & 0xff;" (assignment_expression "uVar6 = iVar9 - 0x42U & 0xff" identifier = (binary_expression "iVar9 - 0x42U & 0xff" (binary_expression "iVar9 - 0x42U" identifier - number_literal) & number_literal)) ;) (if_statement "if (uVar6 < 0x36) {\n                    /* WARNING: Could not emulate address calculation at 0x00016268 */\n                    /* WARNING: Treating indirect jump as call */\n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);\n          return uVar10;\n        }" if (parenthesized_expression "(uVar6 < 0x36)" ( (binary_expression "uVar6 < 0x36" identifier < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not emulate address calculation at 0x00016268 */\n                    /* WARNING: Treating indirect jump as call */\n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);\n          return uVar10;\n        }" { comment comment (expression_statement "uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);" (assignment_expression "uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1)" identifier = (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1)" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))" ( (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410))" * (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410))" ( (binary_expression "&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)" (pointer_expression "&_gp_1" & identifier) + (pointer_expression "*(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)" * (cast_expression "(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)" ( (binary_expression "PTR_DAT_0002a108 + uVar6 * 4 + -0x6410" (binary_expression "PTR_DAT_0002a108 + uVar6 * 4" identifier + (binary_expression "uVar6 * 4" identifier * number_literal)) + number_literal) ))))) )))) )) (argument_list "(1)" ( number_literal )))) ;) (return_statement "return uVar10;" return identifier ;) })) })) (expression_statement "uVar10 = uVar10 | 2;" (assignment_expression "uVar10 = uVar10 | 2" identifier = (binary_expression "uVar10 | 2" identifier | number_literal)) ;) (expression_statement "*param_4 = uVar11;" (assignment_expression "*param_4 = uVar11" (pointer_expression "*param_4" * identifier) = identifier) ;) }))) }))) (if_statement "if (local_2c == *(int *)puVar3) {\n    return uVar10;\n  }" if (parenthesized_expression "(local_2c == *(int *)puVar3)" ( (binary_expression "local_2c == *(int *)puVar3" identifier == (pointer_expression "*(int *)puVar3" * (cast_expression "(int *)puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return uVar10;\n  }" { (return_statement "return uVar10;" return identifier ;) })) (expression_statement "(*(code *)PTR___stack_chk_fail_0002a2c8)();" (call_expression "(*(code *)PTR___stack_chk_fail_0002a2c8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0002a2c8)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0002a2c8" * (cast_expression "(code *)PTR___stack_chk_fail_0002a2c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (labeled_statement "LAB_000167fc:\n  uVar10 = (*(code *)PTR___assert_fail_0002a210)\n                     (PTR_DAT_0002a108 + -0x65bc,PTR_DAT_0002a108 + -0x65cc,0x60,\n                      PTR_DAT_0002a108 + -0x6338);" statement_identifier : (expression_statement "uVar10 = (*(code *)PTR___assert_fail_0002a210)\n                     (PTR_DAT_0002a108 + -0x65bc,PTR_DAT_0002a108 + -0x65cc,0x60,\n                      PTR_DAT_0002a108 + -0x6338);" (assignment_expression "uVar10 = (*(code *)PTR___assert_fail_0002a210)\n                     (PTR_DAT_0002a108 + -0x65bc,PTR_DAT_0002a108 + -0x65cc,0x60,\n                      PTR_DAT_0002a108 + -0x6338)" identifier = (call_expression "(*(code *)PTR___assert_fail_0002a210)\n                     (PTR_DAT_0002a108 + -0x65bc,PTR_DAT_0002a108 + -0x65cc,0x60,\n                      PTR_DAT_0002a108 + -0x6338)" (parenthesized_expression "(*(code *)PTR___assert_fail_0002a210)" ( (pointer_expression "*(code *)PTR___assert_fail_0002a210" * (cast_expression "(code *)PTR___assert_fail_0002a210" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_0002a108 + -0x65bc,PTR_DAT_0002a108 + -0x65cc,0x60,\n                      PTR_DAT_0002a108 + -0x6338)" ( (binary_expression "PTR_DAT_0002a108 + -0x65bc" identifier + number_literal) , (binary_expression "PTR_DAT_0002a108 + -0x65cc" identifier + number_literal) , number_literal , (binary_expression "PTR_DAT_0002a108 + -0x6338" identifier + number_literal) )))) ;)) (return_statement "return uVar10;" return identifier ;) })))
(translation_unit "strtol_error xstrtoumax(char *s,char **ptr,int strtol_base,uintmax_t *val,char *valid_suffixes)\n\n{\n  byte bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int *piVar4;\n  int *piVar5;\n  uint uVar6;\n  int iVar7;\n  byte *pbVar8;\n  int iVar9;\n  strtol_error sVar10;\n  uintmax_t uVar11;\n  char *t_ptr;\n  int local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_0002a2e0;\n  local_2c = *(int *)PTR___stack_chk_guard_0002a2e0;\n  if (0x24 < (uint)strtol_base) goto LAB_000167fc;\n  if (ptr == (char **)0x0) {\n    ptr = &t_ptr;\n  }\n  piVar4 = (int *)(*(code *)PTR___errno_location_0002a268)();\n  puVar2 = PTR___ctype_b_loc_0002a20c;\n  *piVar4 = 0;\n  piVar5 = (int *)(*(code *)puVar2)();\n  bVar1 = *s;\n  pbVar8 = (byte *)s;\n  while( true ) {\n    pbVar8 = pbVar8 + 1;\n    if ((*(ushort *)(*piVar5 + (uint)bVar1 * 2) & 0x20) == 0) break;\n    bVar1 = *pbVar8;\n  }\n  if (bVar1 == 0x2d) {\nLAB_00016148:\n    sVar10 = LONGINT_INVALID;\n  }\n  else {\n    uVar11 = (*(code *)PTR___strtoull_internal_0002a2d8)(s,ptr,strtol_base,0);\n    if (*ptr == s) {\n      if (valid_suffixes != (char *)0x0) {\n        iVar9 = (int)*s;\n        if (iVar9 != 0) {\n          iVar7 = (*(code *)PTR_strchr_0002a280)(valid_suffixes,iVar9);\n          if (iVar7 != 0) {\n            uVar11 = 1;\n            sVar10 = LONGINT_OK;\n            goto LAB_00016178;\n          }\n        }\n      }\n      goto LAB_00016148;\n    }\n    sVar10 = LONGINT_OK;\n    if (*piVar4 != 0) {\n      if (*piVar4 != 0x22) goto LAB_00016148;\n      sVar10 = LONGINT_OVERFLOW;\n    }\n    if (valid_suffixes == (char *)0x0) {\nLAB_000160d8:\n      *val = uVar11;\n    }\n    else {\n      iVar9 = (int)**ptr;\n      if (iVar9 == 0) goto LAB_000160d8;\n      iVar7 = (*(code *)PTR_strchr_0002a280)(valid_suffixes,iVar9);\n      if (iVar7 != 0) {\nLAB_00016178:\n        uVar6 = iVar9 - 0x45U & 0xff;\n        if (uVar6 < 0x30) {\n                    /* WARNING: Could not emulate address calculation at 0x00016194 */\n                    /* WARNING: Treating indirect jump as call */\n          sVar10 = (*(code *)(&_gp + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();\n          return sVar10;\n        }\n        uVar6 = iVar9 - 0x42U & 0xff;\n        if (uVar6 < 0x36) {\n                    /* WARNING: Could not emulate address calculation at 0x00016268 */\n                    /* WARNING: Treating indirect jump as call */\n          sVar10 = (*(code *)(&_gp + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);\n          return sVar10;\n        }\n      }\n      sVar10 = sVar10 | LONGINT_INVALID_SUFFIX_CHAR;\n      *val = uVar11;\n    }\n  }\n  if (local_2c == *(int *)puVar3) {\n    return sVar10;\n  }\n  (*(code *)PTR___stack_chk_fail_0002a2c8)();\nLAB_000167fc:\n  sVar10 = (*(code *)PTR___assert_fail_0002a210)\n                     (PTR_DAT_0002a108 + -0x65bc,PTR_DAT_0002a108 + -0x65cc,0x60,\n                      PTR_DAT_0002a108 + -0x6338);\n  return sVar10;\n}\n\n" (function_definition "strtol_error xstrtoumax(char *s,char **ptr,int strtol_base,uintmax_t *val,char *valid_suffixes)\n\n{\n  byte bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int *piVar4;\n  int *piVar5;\n  uint uVar6;\n  int iVar7;\n  byte *pbVar8;\n  int iVar9;\n  strtol_error sVar10;\n  uintmax_t uVar11;\n  char *t_ptr;\n  int local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_0002a2e0;\n  local_2c = *(int *)PTR___stack_chk_guard_0002a2e0;\n  if (0x24 < (uint)strtol_base) goto LAB_000167fc;\n  if (ptr == (char **)0x0) {\n    ptr = &t_ptr;\n  }\n  piVar4 = (int *)(*(code *)PTR___errno_location_0002a268)();\n  puVar2 = PTR___ctype_b_loc_0002a20c;\n  *piVar4 = 0;\n  piVar5 = (int *)(*(code *)puVar2)();\n  bVar1 = *s;\n  pbVar8 = (byte *)s;\n  while( true ) {\n    pbVar8 = pbVar8 + 1;\n    if ((*(ushort *)(*piVar5 + (uint)bVar1 * 2) & 0x20) == 0) break;\n    bVar1 = *pbVar8;\n  }\n  if (bVar1 == 0x2d) {\nLAB_00016148:\n    sVar10 = LONGINT_INVALID;\n  }\n  else {\n    uVar11 = (*(code *)PTR___strtoull_internal_0002a2d8)(s,ptr,strtol_base,0);\n    if (*ptr == s) {\n      if (valid_suffixes != (char *)0x0) {\n        iVar9 = (int)*s;\n        if (iVar9 != 0) {\n          iVar7 = (*(code *)PTR_strchr_0002a280)(valid_suffixes,iVar9);\n          if (iVar7 != 0) {\n            uVar11 = 1;\n            sVar10 = LONGINT_OK;\n            goto LAB_00016178;\n          }\n        }\n      }\n      goto LAB_00016148;\n    }\n    sVar10 = LONGINT_OK;\n    if (*piVar4 != 0) {\n      if (*piVar4 != 0x22) goto LAB_00016148;\n      sVar10 = LONGINT_OVERFLOW;\n    }\n    if (valid_suffixes == (char *)0x0) {\nLAB_000160d8:\n      *val = uVar11;\n    }\n    else {\n      iVar9 = (int)**ptr;\n      if (iVar9 == 0) goto LAB_000160d8;\n      iVar7 = (*(code *)PTR_strchr_0002a280)(valid_suffixes,iVar9);\n      if (iVar7 != 0) {\nLAB_00016178:\n        uVar6 = iVar9 - 0x45U & 0xff;\n        if (uVar6 < 0x30) {\n                    /* WARNING: Could not emulate address calculation at 0x00016194 */\n                    /* WARNING: Treating indirect jump as call */\n          sVar10 = (*(code *)(&_gp + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();\n          return sVar10;\n        }\n        uVar6 = iVar9 - 0x42U & 0xff;\n        if (uVar6 < 0x36) {\n                    /* WARNING: Could not emulate address calculation at 0x00016268 */\n                    /* WARNING: Treating indirect jump as call */\n          sVar10 = (*(code *)(&_gp + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);\n          return sVar10;\n        }\n      }\n      sVar10 = sVar10 | LONGINT_INVALID_SUFFIX_CHAR;\n      *val = uVar11;\n    }\n  }\n  if (local_2c == *(int *)puVar3) {\n    return sVar10;\n  }\n  (*(code *)PTR___stack_chk_fail_0002a2c8)();\nLAB_000167fc:\n  sVar10 = (*(code *)PTR___assert_fail_0002a210)\n                     (PTR_DAT_0002a108 + -0x65bc,PTR_DAT_0002a108 + -0x65cc,0x60,\n                      PTR_DAT_0002a108 + -0x6338);\n  return sVar10;\n}" type_identifier (function_declarator "xstrtoumax(char *s,char **ptr,int strtol_base,uintmax_t *val,char *valid_suffixes)" identifier (parameter_list "(char *s,char **ptr,int strtol_base,uintmax_t *val,char *valid_suffixes)" ( (parameter_declaration "char *s" primitive_type (pointer_declarator "*s" * identifier)) , (parameter_declaration "char **ptr" primitive_type (pointer_declarator "**ptr" * (pointer_declarator "*ptr" * identifier))) , (parameter_declaration "int strtol_base" primitive_type identifier) , (parameter_declaration "uintmax_t *val" type_identifier (pointer_declarator "*val" * identifier)) , (parameter_declaration "char *valid_suffixes" primitive_type (pointer_declarator "*valid_suffixes" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int *piVar4;\n  int *piVar5;\n  uint uVar6;\n  int iVar7;\n  byte *pbVar8;\n  int iVar9;\n  strtol_error sVar10;\n  uintmax_t uVar11;\n  char *t_ptr;\n  int local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_0002a2e0;\n  local_2c = *(int *)PTR___stack_chk_guard_0002a2e0;\n  if (0x24 < (uint)strtol_base) goto LAB_000167fc;\n  if (ptr == (char **)0x0) {\n    ptr = &t_ptr;\n  }\n  piVar4 = (int *)(*(code *)PTR___errno_location_0002a268)();\n  puVar2 = PTR___ctype_b_loc_0002a20c;\n  *piVar4 = 0;\n  piVar5 = (int *)(*(code *)puVar2)();\n  bVar1 = *s;\n  pbVar8 = (byte *)s;\n  while( true ) {\n    pbVar8 = pbVar8 + 1;\n    if ((*(ushort *)(*piVar5 + (uint)bVar1 * 2) & 0x20) == 0) break;\n    bVar1 = *pbVar8;\n  }\n  if (bVar1 == 0x2d) {\nLAB_00016148:\n    sVar10 = LONGINT_INVALID;\n  }\n  else {\n    uVar11 = (*(code *)PTR___strtoull_internal_0002a2d8)(s,ptr,strtol_base,0);\n    if (*ptr == s) {\n      if (valid_suffixes != (char *)0x0) {\n        iVar9 = (int)*s;\n        if (iVar9 != 0) {\n          iVar7 = (*(code *)PTR_strchr_0002a280)(valid_suffixes,iVar9);\n          if (iVar7 != 0) {\n            uVar11 = 1;\n            sVar10 = LONGINT_OK;\n            goto LAB_00016178;\n          }\n        }\n      }\n      goto LAB_00016148;\n    }\n    sVar10 = LONGINT_OK;\n    if (*piVar4 != 0) {\n      if (*piVar4 != 0x22) goto LAB_00016148;\n      sVar10 = LONGINT_OVERFLOW;\n    }\n    if (valid_suffixes == (char *)0x0) {\nLAB_000160d8:\n      *val = uVar11;\n    }\n    else {\n      iVar9 = (int)**ptr;\n      if (iVar9 == 0) goto LAB_000160d8;\n      iVar7 = (*(code *)PTR_strchr_0002a280)(valid_suffixes,iVar9);\n      if (iVar7 != 0) {\nLAB_00016178:\n        uVar6 = iVar9 - 0x45U & 0xff;\n        if (uVar6 < 0x30) {\n                    /* WARNING: Could not emulate address calculation at 0x00016194 */\n                    /* WARNING: Treating indirect jump as call */\n          sVar10 = (*(code *)(&_gp + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();\n          return sVar10;\n        }\n        uVar6 = iVar9 - 0x42U & 0xff;\n        if (uVar6 < 0x36) {\n                    /* WARNING: Could not emulate address calculation at 0x00016268 */\n                    /* WARNING: Treating indirect jump as call */\n          sVar10 = (*(code *)(&_gp + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);\n          return sVar10;\n        }\n      }\n      sVar10 = sVar10 | LONGINT_INVALID_SUFFIX_CHAR;\n      *val = uVar11;\n    }\n  }\n  if (local_2c == *(int *)puVar3) {\n    return sVar10;\n  }\n  (*(code *)PTR___stack_chk_fail_0002a2c8)();\nLAB_000167fc:\n  sVar10 = (*(code *)PTR___assert_fail_0002a210)\n                     (PTR_DAT_0002a108 + -0x65bc,PTR_DAT_0002a108 + -0x65cc,0x60,\n                      PTR_DAT_0002a108 + -0x6338);\n  return sVar10;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "byte *pbVar8;" type_identifier (pointer_declarator "*pbVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "strtol_error sVar10;" type_identifier identifier ;) (declaration "uintmax_t uVar11;" type_identifier identifier ;) (declaration "char *t_ptr;" primitive_type (pointer_declarator "*t_ptr" * identifier) ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "puVar3 = PTR___stack_chk_guard_0002a2e0;" (assignment_expression "puVar3 = PTR___stack_chk_guard_0002a2e0" identifier = identifier) ;) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_0002a2e0;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_0002a2e0" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_0002a2e0" * (cast_expression "(int *)PTR___stack_chk_guard_0002a2e0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (0x24 < (uint)strtol_base) goto LAB_000167fc;" if (parenthesized_expression "(0x24 < (uint)strtol_base)" ( (binary_expression "0x24 < (uint)strtol_base" number_literal < (cast_expression "(uint)strtol_base" ( (type_descriptor "uint" type_identifier) ) identifier)) )) (goto_statement "goto LAB_000167fc;" goto statement_identifier ;)) (if_statement "if (ptr == (char **)0x0) {\n    ptr = &t_ptr;\n  }" if (parenthesized_expression "(ptr == (char **)0x0)" ( (binary_expression "ptr == (char **)0x0" identifier == (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n    ptr = &t_ptr;\n  }" { (expression_statement "ptr = &t_ptr;" (assignment_expression "ptr = &t_ptr" identifier = (pointer_expression "&t_ptr" & identifier)) ;) })) (expression_statement "piVar4 = (int *)(*(code *)PTR___errno_location_0002a268)();" (assignment_expression "piVar4 = (int *)(*(code *)PTR___errno_location_0002a268)()" identifier = (cast_expression "(int *)(*(code *)PTR___errno_location_0002a268)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_0002a268)()" (parenthesized_expression "(*(code *)PTR___errno_location_0002a268)" ( (pointer_expression "*(code *)PTR___errno_location_0002a268" * (cast_expression "(code *)PTR___errno_location_0002a268" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "puVar2 = PTR___ctype_b_loc_0002a20c;" (assignment_expression "puVar2 = PTR___ctype_b_loc_0002a20c" identifier = identifier) ;) (expression_statement "*piVar4 = 0;" (assignment_expression "*piVar4 = 0" (pointer_expression "*piVar4" * identifier) = number_literal) ;) (expression_statement "piVar5 = (int *)(*(code *)puVar2)();" (assignment_expression "piVar5 = (int *)(*(code *)puVar2)()" identifier = (cast_expression "(int *)(*(code *)puVar2)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)puVar2)()" (parenthesized_expression "(*(code *)puVar2)" ( (pointer_expression "*(code *)puVar2" * (cast_expression "(code *)puVar2" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "bVar1 = *s;" (assignment_expression "bVar1 = *s" identifier = (pointer_expression "*s" * identifier)) ;) (expression_statement "pbVar8 = (byte *)s;" (assignment_expression "pbVar8 = (byte *)s" identifier = (cast_expression "(byte *)s" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (while_statement "while( true ) {\n    pbVar8 = pbVar8 + 1;\n    if ((*(ushort *)(*piVar5 + (uint)bVar1 * 2) & 0x20) == 0) break;\n    bVar1 = *pbVar8;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    pbVar8 = pbVar8 + 1;\n    if ((*(ushort *)(*piVar5 + (uint)bVar1 * 2) & 0x20) == 0) break;\n    bVar1 = *pbVar8;\n  }" { (expression_statement "pbVar8 = pbVar8 + 1;" (assignment_expression "pbVar8 = pbVar8 + 1" identifier = (binary_expression "pbVar8 + 1" identifier + number_literal)) ;) (if_statement "if ((*(ushort *)(*piVar5 + (uint)bVar1 * 2) & 0x20) == 0) break;" if (parenthesized_expression "((*(ushort *)(*piVar5 + (uint)bVar1 * 2) & 0x20) == 0)" ( (binary_expression "(*(ushort *)(*piVar5 + (uint)bVar1 * 2) & 0x20) == 0" (parenthesized_expression "(*(ushort *)(*piVar5 + (uint)bVar1 * 2) & 0x20)" ( (binary_expression "*(ushort *)(*piVar5 + (uint)bVar1 * 2) & 0x20" (pointer_expression "*(ushort *)(*piVar5 + (uint)bVar1 * 2)" * (cast_expression "(ushort *)(*piVar5 + (uint)bVar1 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar5 + (uint)bVar1 * 2)" ( (binary_expression "*piVar5 + (uint)bVar1 * 2" (pointer_expression "*piVar5" * identifier) + (binary_expression "(uint)bVar1 * 2" (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) )))) & number_literal) )) == number_literal) )) (break_statement "break;" break ;)) (expression_statement "bVar1 = *pbVar8;" (assignment_expression "bVar1 = *pbVar8" identifier = (pointer_expression "*pbVar8" * identifier)) ;) })) (if_statement "if (bVar1 == 0x2d) {\nLAB_00016148:\n    sVar10 = LONGINT_INVALID;\n  }\n  else {\n    uVar11 = (*(code *)PTR___strtoull_internal_0002a2d8)(s,ptr,strtol_base,0);\n    if (*ptr == s) {\n      if (valid_suffixes != (char *)0x0) {\n        iVar9 = (int)*s;\n        if (iVar9 != 0) {\n          iVar7 = (*(code *)PTR_strchr_0002a280)(valid_suffixes,iVar9);\n          if (iVar7 != 0) {\n            uVar11 = 1;\n            sVar10 = LONGINT_OK;\n            goto LAB_00016178;\n          }\n        }\n      }\n      goto LAB_00016148;\n    }\n    sVar10 = LONGINT_OK;\n    if (*piVar4 != 0) {\n      if (*piVar4 != 0x22) goto LAB_00016148;\n      sVar10 = LONGINT_OVERFLOW;\n    }\n    if (valid_suffixes == (char *)0x0) {\nLAB_000160d8:\n      *val = uVar11;\n    }\n    else {\n      iVar9 = (int)**ptr;\n      if (iVar9 == 0) goto LAB_000160d8;\n      iVar7 = (*(code *)PTR_strchr_0002a280)(valid_suffixes,iVar9);\n      if (iVar7 != 0) {\nLAB_00016178:\n        uVar6 = iVar9 - 0x45U & 0xff;\n        if (uVar6 < 0x30) {\n                    /* WARNING: Could not emulate address calculation at 0x00016194 */\n                    /* WARNING: Treating indirect jump as call */\n          sVar10 = (*(code *)(&_gp + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();\n          return sVar10;\n        }\n        uVar6 = iVar9 - 0x42U & 0xff;\n        if (uVar6 < 0x36) {\n                    /* WARNING: Could not emulate address calculation at 0x00016268 */\n                    /* WARNING: Treating indirect jump as call */\n          sVar10 = (*(code *)(&_gp + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);\n          return sVar10;\n        }\n      }\n      sVar10 = sVar10 | LONGINT_INVALID_SUFFIX_CHAR;\n      *val = uVar11;\n    }\n  }" if (parenthesized_expression "(bVar1 == 0x2d)" ( (binary_expression "bVar1 == 0x2d" identifier == number_literal) )) (compound_statement "{\nLAB_00016148:\n    sVar10 = LONGINT_INVALID;\n  }" { (labeled_statement "LAB_00016148:\n    sVar10 = LONGINT_INVALID;" statement_identifier : (expression_statement "sVar10 = LONGINT_INVALID;" (assignment_expression "sVar10 = LONGINT_INVALID" identifier = identifier) ;)) }) (else_clause "else {\n    uVar11 = (*(code *)PTR___strtoull_internal_0002a2d8)(s,ptr,strtol_base,0);\n    if (*ptr == s) {\n      if (valid_suffixes != (char *)0x0) {\n        iVar9 = (int)*s;\n        if (iVar9 != 0) {\n          iVar7 = (*(code *)PTR_strchr_0002a280)(valid_suffixes,iVar9);\n          if (iVar7 != 0) {\n            uVar11 = 1;\n            sVar10 = LONGINT_OK;\n            goto LAB_00016178;\n          }\n        }\n      }\n      goto LAB_00016148;\n    }\n    sVar10 = LONGINT_OK;\n    if (*piVar4 != 0) {\n      if (*piVar4 != 0x22) goto LAB_00016148;\n      sVar10 = LONGINT_OVERFLOW;\n    }\n    if (valid_suffixes == (char *)0x0) {\nLAB_000160d8:\n      *val = uVar11;\n    }\n    else {\n      iVar9 = (int)**ptr;\n      if (iVar9 == 0) goto LAB_000160d8;\n      iVar7 = (*(code *)PTR_strchr_0002a280)(valid_suffixes,iVar9);\n      if (iVar7 != 0) {\nLAB_00016178:\n        uVar6 = iVar9 - 0x45U & 0xff;\n        if (uVar6 < 0x30) {\n                    /* WARNING: Could not emulate address calculation at 0x00016194 */\n                    /* WARNING: Treating indirect jump as call */\n          sVar10 = (*(code *)(&_gp + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();\n          return sVar10;\n        }\n        uVar6 = iVar9 - 0x42U & 0xff;\n        if (uVar6 < 0x36) {\n                    /* WARNING: Could not emulate address calculation at 0x00016268 */\n                    /* WARNING: Treating indirect jump as call */\n          sVar10 = (*(code *)(&_gp + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);\n          return sVar10;\n        }\n      }\n      sVar10 = sVar10 | LONGINT_INVALID_SUFFIX_CHAR;\n      *val = uVar11;\n    }\n  }" else (compound_statement "{\n    uVar11 = (*(code *)PTR___strtoull_internal_0002a2d8)(s,ptr,strtol_base,0);\n    if (*ptr == s) {\n      if (valid_suffixes != (char *)0x0) {\n        iVar9 = (int)*s;\n        if (iVar9 != 0) {\n          iVar7 = (*(code *)PTR_strchr_0002a280)(valid_suffixes,iVar9);\n          if (iVar7 != 0) {\n            uVar11 = 1;\n            sVar10 = LONGINT_OK;\n            goto LAB_00016178;\n          }\n        }\n      }\n      goto LAB_00016148;\n    }\n    sVar10 = LONGINT_OK;\n    if (*piVar4 != 0) {\n      if (*piVar4 != 0x22) goto LAB_00016148;\n      sVar10 = LONGINT_OVERFLOW;\n    }\n    if (valid_suffixes == (char *)0x0) {\nLAB_000160d8:\n      *val = uVar11;\n    }\n    else {\n      iVar9 = (int)**ptr;\n      if (iVar9 == 0) goto LAB_000160d8;\n      iVar7 = (*(code *)PTR_strchr_0002a280)(valid_suffixes,iVar9);\n      if (iVar7 != 0) {\nLAB_00016178:\n        uVar6 = iVar9 - 0x45U & 0xff;\n        if (uVar6 < 0x30) {\n                    /* WARNING: Could not emulate address calculation at 0x00016194 */\n                    /* WARNING: Treating indirect jump as call */\n          sVar10 = (*(code *)(&_gp + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();\n          return sVar10;\n        }\n        uVar6 = iVar9 - 0x42U & 0xff;\n        if (uVar6 < 0x36) {\n                    /* WARNING: Could not emulate address calculation at 0x00016268 */\n                    /* WARNING: Treating indirect jump as call */\n          sVar10 = (*(code *)(&_gp + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);\n          return sVar10;\n        }\n      }\n      sVar10 = sVar10 | LONGINT_INVALID_SUFFIX_CHAR;\n      *val = uVar11;\n    }\n  }" { (expression_statement "uVar11 = (*(code *)PTR___strtoull_internal_0002a2d8)(s,ptr,strtol_base,0);" (assignment_expression "uVar11 = (*(code *)PTR___strtoull_internal_0002a2d8)(s,ptr,strtol_base,0)" identifier = (call_expression "(*(code *)PTR___strtoull_internal_0002a2d8)(s,ptr,strtol_base,0)" (parenthesized_expression "(*(code *)PTR___strtoull_internal_0002a2d8)" ( (pointer_expression "*(code *)PTR___strtoull_internal_0002a2d8" * (cast_expression "(code *)PTR___strtoull_internal_0002a2d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(s,ptr,strtol_base,0)" ( identifier , identifier , identifier , number_literal )))) ;) (if_statement "if (*ptr == s) {\n      if (valid_suffixes != (char *)0x0) {\n        iVar9 = (int)*s;\n        if (iVar9 != 0) {\n          iVar7 = (*(code *)PTR_strchr_0002a280)(valid_suffixes,iVar9);\n          if (iVar7 != 0) {\n            uVar11 = 1;\n            sVar10 = LONGINT_OK;\n            goto LAB_00016178;\n          }\n        }\n      }\n      goto LAB_00016148;\n    }" if (parenthesized_expression "(*ptr == s)" ( (binary_expression "*ptr == s" (pointer_expression "*ptr" * identifier) == identifier) )) (compound_statement "{\n      if (valid_suffixes != (char *)0x0) {\n        iVar9 = (int)*s;\n        if (iVar9 != 0) {\n          iVar7 = (*(code *)PTR_strchr_0002a280)(valid_suffixes,iVar9);\n          if (iVar7 != 0) {\n            uVar11 = 1;\n            sVar10 = LONGINT_OK;\n            goto LAB_00016178;\n          }\n        }\n      }\n      goto LAB_00016148;\n    }" { (if_statement "if (valid_suffixes != (char *)0x0) {\n        iVar9 = (int)*s;\n        if (iVar9 != 0) {\n          iVar7 = (*(code *)PTR_strchr_0002a280)(valid_suffixes,iVar9);\n          if (iVar7 != 0) {\n            uVar11 = 1;\n            sVar10 = LONGINT_OK;\n            goto LAB_00016178;\n          }\n        }\n      }" if (parenthesized_expression "(valid_suffixes != (char *)0x0)" ( (binary_expression "valid_suffixes != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        iVar9 = (int)*s;\n        if (iVar9 != 0) {\n          iVar7 = (*(code *)PTR_strchr_0002a280)(valid_suffixes,iVar9);\n          if (iVar7 != 0) {\n            uVar11 = 1;\n            sVar10 = LONGINT_OK;\n            goto LAB_00016178;\n          }\n        }\n      }" { (expression_statement "iVar9 = (int)*s;" (assignment_expression "iVar9 = (int)*s" identifier = (cast_expression "(int)*s" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*s" * identifier))) ;) (if_statement "if (iVar9 != 0) {\n          iVar7 = (*(code *)PTR_strchr_0002a280)(valid_suffixes,iVar9);\n          if (iVar7 != 0) {\n            uVar11 = 1;\n            sVar10 = LONGINT_OK;\n            goto LAB_00016178;\n          }\n        }" if (parenthesized_expression "(iVar9 != 0)" ( (binary_expression "iVar9 != 0" identifier != number_literal) )) (compound_statement "{\n          iVar7 = (*(code *)PTR_strchr_0002a280)(valid_suffixes,iVar9);\n          if (iVar7 != 0) {\n            uVar11 = 1;\n            sVar10 = LONGINT_OK;\n            goto LAB_00016178;\n          }\n        }" { (expression_statement "iVar7 = (*(code *)PTR_strchr_0002a280)(valid_suffixes,iVar9);" (assignment_expression "iVar7 = (*(code *)PTR_strchr_0002a280)(valid_suffixes,iVar9)" identifier = (call_expression "(*(code *)PTR_strchr_0002a280)(valid_suffixes,iVar9)" (parenthesized_expression "(*(code *)PTR_strchr_0002a280)" ( (pointer_expression "*(code *)PTR_strchr_0002a280" * (cast_expression "(code *)PTR_strchr_0002a280" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(valid_suffixes,iVar9)" ( identifier , identifier )))) ;) (if_statement "if (iVar7 != 0) {\n            uVar11 = 1;\n            sVar10 = LONGINT_OK;\n            goto LAB_00016178;\n          }" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (compound_statement "{\n            uVar11 = 1;\n            sVar10 = LONGINT_OK;\n            goto LAB_00016178;\n          }" { (expression_statement "uVar11 = 1;" (assignment_expression "uVar11 = 1" identifier = number_literal) ;) (expression_statement "sVar10 = LONGINT_OK;" (assignment_expression "sVar10 = LONGINT_OK" identifier = identifier) ;) (goto_statement "goto LAB_00016178;" goto statement_identifier ;) })) })) })) (goto_statement "goto LAB_00016148;" goto statement_identifier ;) })) (expression_statement "sVar10 = LONGINT_OK;" (assignment_expression "sVar10 = LONGINT_OK" identifier = identifier) ;) (if_statement "if (*piVar4 != 0) {\n      if (*piVar4 != 0x22) goto LAB_00016148;\n      sVar10 = LONGINT_OVERFLOW;\n    }" if (parenthesized_expression "(*piVar4 != 0)" ( (binary_expression "*piVar4 != 0" (pointer_expression "*piVar4" * identifier) != number_literal) )) (compound_statement "{\n      if (*piVar4 != 0x22) goto LAB_00016148;\n      sVar10 = LONGINT_OVERFLOW;\n    }" { (if_statement "if (*piVar4 != 0x22) goto LAB_00016148;" if (parenthesized_expression "(*piVar4 != 0x22)" ( (binary_expression "*piVar4 != 0x22" (pointer_expression "*piVar4" * identifier) != number_literal) )) (goto_statement "goto LAB_00016148;" goto statement_identifier ;)) (expression_statement "sVar10 = LONGINT_OVERFLOW;" (assignment_expression "sVar10 = LONGINT_OVERFLOW" identifier = identifier) ;) })) (if_statement "if (valid_suffixes == (char *)0x0) {\nLAB_000160d8:\n      *val = uVar11;\n    }\n    else {\n      iVar9 = (int)**ptr;\n      if (iVar9 == 0) goto LAB_000160d8;\n      iVar7 = (*(code *)PTR_strchr_0002a280)(valid_suffixes,iVar9);\n      if (iVar7 != 0) {\nLAB_00016178:\n        uVar6 = iVar9 - 0x45U & 0xff;\n        if (uVar6 < 0x30) {\n                    /* WARNING: Could not emulate address calculation at 0x00016194 */\n                    /* WARNING: Treating indirect jump as call */\n          sVar10 = (*(code *)(&_gp + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();\n          return sVar10;\n        }\n        uVar6 = iVar9 - 0x42U & 0xff;\n        if (uVar6 < 0x36) {\n                    /* WARNING: Could not emulate address calculation at 0x00016268 */\n                    /* WARNING: Treating indirect jump as call */\n          sVar10 = (*(code *)(&_gp + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);\n          return sVar10;\n        }\n      }\n      sVar10 = sVar10 | LONGINT_INVALID_SUFFIX_CHAR;\n      *val = uVar11;\n    }" if (parenthesized_expression "(valid_suffixes == (char *)0x0)" ( (binary_expression "valid_suffixes == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_000160d8:\n      *val = uVar11;\n    }" { (labeled_statement "LAB_000160d8:\n      *val = uVar11;" statement_identifier : (expression_statement "*val = uVar11;" (assignment_expression "*val = uVar11" (pointer_expression "*val" * identifier) = identifier) ;)) }) (else_clause "else {\n      iVar9 = (int)**ptr;\n      if (iVar9 == 0) goto LAB_000160d8;\n      iVar7 = (*(code *)PTR_strchr_0002a280)(valid_suffixes,iVar9);\n      if (iVar7 != 0) {\nLAB_00016178:\n        uVar6 = iVar9 - 0x45U & 0xff;\n        if (uVar6 < 0x30) {\n                    /* WARNING: Could not emulate address calculation at 0x00016194 */\n                    /* WARNING: Treating indirect jump as call */\n          sVar10 = (*(code *)(&_gp + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();\n          return sVar10;\n        }\n        uVar6 = iVar9 - 0x42U & 0xff;\n        if (uVar6 < 0x36) {\n                    /* WARNING: Could not emulate address calculation at 0x00016268 */\n                    /* WARNING: Treating indirect jump as call */\n          sVar10 = (*(code *)(&_gp + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);\n          return sVar10;\n        }\n      }\n      sVar10 = sVar10 | LONGINT_INVALID_SUFFIX_CHAR;\n      *val = uVar11;\n    }" else (compound_statement "{\n      iVar9 = (int)**ptr;\n      if (iVar9 == 0) goto LAB_000160d8;\n      iVar7 = (*(code *)PTR_strchr_0002a280)(valid_suffixes,iVar9);\n      if (iVar7 != 0) {\nLAB_00016178:\n        uVar6 = iVar9 - 0x45U & 0xff;\n        if (uVar6 < 0x30) {\n                    /* WARNING: Could not emulate address calculation at 0x00016194 */\n                    /* WARNING: Treating indirect jump as call */\n          sVar10 = (*(code *)(&_gp + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();\n          return sVar10;\n        }\n        uVar6 = iVar9 - 0x42U & 0xff;\n        if (uVar6 < 0x36) {\n                    /* WARNING: Could not emulate address calculation at 0x00016268 */\n                    /* WARNING: Treating indirect jump as call */\n          sVar10 = (*(code *)(&_gp + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);\n          return sVar10;\n        }\n      }\n      sVar10 = sVar10 | LONGINT_INVALID_SUFFIX_CHAR;\n      *val = uVar11;\n    }" { (expression_statement "iVar9 = (int)**ptr;" (assignment_expression "iVar9 = (int)**ptr" identifier = (cast_expression "(int)**ptr" ( (type_descriptor "int" primitive_type) ) (pointer_expression "**ptr" * (pointer_expression "*ptr" * identifier)))) ;) (if_statement "if (iVar9 == 0) goto LAB_000160d8;" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000160d8;" goto statement_identifier ;)) (expression_statement "iVar7 = (*(code *)PTR_strchr_0002a280)(valid_suffixes,iVar9);" (assignment_expression "iVar7 = (*(code *)PTR_strchr_0002a280)(valid_suffixes,iVar9)" identifier = (call_expression "(*(code *)PTR_strchr_0002a280)(valid_suffixes,iVar9)" (parenthesized_expression "(*(code *)PTR_strchr_0002a280)" ( (pointer_expression "*(code *)PTR_strchr_0002a280" * (cast_expression "(code *)PTR_strchr_0002a280" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(valid_suffixes,iVar9)" ( identifier , identifier )))) ;) (if_statement "if (iVar7 != 0) {\nLAB_00016178:\n        uVar6 = iVar9 - 0x45U & 0xff;\n        if (uVar6 < 0x30) {\n                    /* WARNING: Could not emulate address calculation at 0x00016194 */\n                    /* WARNING: Treating indirect jump as call */\n          sVar10 = (*(code *)(&_gp + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();\n          return sVar10;\n        }\n        uVar6 = iVar9 - 0x42U & 0xff;\n        if (uVar6 < 0x36) {\n                    /* WARNING: Could not emulate address calculation at 0x00016268 */\n                    /* WARNING: Treating indirect jump as call */\n          sVar10 = (*(code *)(&_gp + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);\n          return sVar10;\n        }\n      }" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (compound_statement "{\nLAB_00016178:\n        uVar6 = iVar9 - 0x45U & 0xff;\n        if (uVar6 < 0x30) {\n                    /* WARNING: Could not emulate address calculation at 0x00016194 */\n                    /* WARNING: Treating indirect jump as call */\n          sVar10 = (*(code *)(&_gp + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();\n          return sVar10;\n        }\n        uVar6 = iVar9 - 0x42U & 0xff;\n        if (uVar6 < 0x36) {\n                    /* WARNING: Could not emulate address calculation at 0x00016268 */\n                    /* WARNING: Treating indirect jump as call */\n          sVar10 = (*(code *)(&_gp + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);\n          return sVar10;\n        }\n      }" { (labeled_statement "LAB_00016178:\n        uVar6 = iVar9 - 0x45U & 0xff;" statement_identifier : (expression_statement "uVar6 = iVar9 - 0x45U & 0xff;" (assignment_expression "uVar6 = iVar9 - 0x45U & 0xff" identifier = (binary_expression "iVar9 - 0x45U & 0xff" (binary_expression "iVar9 - 0x45U" identifier - number_literal) & number_literal)) ;)) (if_statement "if (uVar6 < 0x30) {\n                    /* WARNING: Could not emulate address calculation at 0x00016194 */\n                    /* WARNING: Treating indirect jump as call */\n          sVar10 = (*(code *)(&_gp + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();\n          return sVar10;\n        }" if (parenthesized_expression "(uVar6 < 0x30)" ( (binary_expression "uVar6 < 0x30" identifier < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not emulate address calculation at 0x00016194 */\n                    /* WARNING: Treating indirect jump as call */\n          sVar10 = (*(code *)(&_gp + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();\n          return sVar10;\n        }" { comment comment (expression_statement "sVar10 = (*(code *)(&_gp + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();" (assignment_expression "sVar10 = (*(code *)(&_gp + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))()" identifier = (call_expression "(*(code *)(&_gp + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))()" (parenthesized_expression "(*(code *)(&_gp + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))" ( (pointer_expression "*(code *)(&_gp + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000))" * (cast_expression "(code *)(&_gp + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000))" ( (binary_expression "&_gp + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)" (pointer_expression "&_gp" & identifier) + (pointer_expression "*(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)" * (cast_expression "(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002a108 + uVar6 * 4 + -26000)" ( (binary_expression "PTR_DAT_0002a108 + uVar6 * 4 + -26000" (binary_expression "PTR_DAT_0002a108 + uVar6 * 4" identifier + (binary_expression "uVar6 * 4" identifier * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( )))) ;) (return_statement "return sVar10;" return identifier ;) })) (expression_statement "uVar6 = iVar9 - 0x42U & 0xff;" (assignment_expression "uVar6 = iVar9 - 0x42U & 0xff" identifier = (binary_expression "iVar9 - 0x42U & 0xff" (binary_expression "iVar9 - 0x42U" identifier - number_literal) & number_literal)) ;) (if_statement "if (uVar6 < 0x36) {\n                    /* WARNING: Could not emulate address calculation at 0x00016268 */\n                    /* WARNING: Treating indirect jump as call */\n          sVar10 = (*(code *)(&_gp + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);\n          return sVar10;\n        }" if (parenthesized_expression "(uVar6 < 0x36)" ( (binary_expression "uVar6 < 0x36" identifier < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not emulate address calculation at 0x00016268 */\n                    /* WARNING: Treating indirect jump as call */\n          sVar10 = (*(code *)(&_gp + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);\n          return sVar10;\n        }" { comment comment (expression_statement "sVar10 = (*(code *)(&_gp + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);" (assignment_expression "sVar10 = (*(code *)(&_gp + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1)" identifier = (call_expression "(*(code *)(&_gp + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1)" (parenthesized_expression "(*(code *)(&_gp + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))" ( (pointer_expression "*(code *)(&_gp + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410))" * (cast_expression "(code *)(&_gp + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410))" ( (binary_expression "&_gp + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)" (pointer_expression "&_gp" & identifier) + (pointer_expression "*(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)" * (cast_expression "(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)" ( (binary_expression "PTR_DAT_0002a108 + uVar6 * 4 + -0x6410" (binary_expression "PTR_DAT_0002a108 + uVar6 * 4" identifier + (binary_expression "uVar6 * 4" identifier * number_literal)) + number_literal) ))))) )))) )) (argument_list "(1)" ( number_literal )))) ;) (return_statement "return sVar10;" return identifier ;) })) })) (expression_statement "sVar10 = sVar10 | LONGINT_INVALID_SUFFIX_CHAR;" (assignment_expression "sVar10 = sVar10 | LONGINT_INVALID_SUFFIX_CHAR" identifier = (binary_expression "sVar10 | LONGINT_INVALID_SUFFIX_CHAR" identifier | identifier)) ;) (expression_statement "*val = uVar11;" (assignment_expression "*val = uVar11" (pointer_expression "*val" * identifier) = identifier) ;) }))) }))) (if_statement "if (local_2c == *(int *)puVar3) {\n    return sVar10;\n  }" if (parenthesized_expression "(local_2c == *(int *)puVar3)" ( (binary_expression "local_2c == *(int *)puVar3" identifier == (pointer_expression "*(int *)puVar3" * (cast_expression "(int *)puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return sVar10;\n  }" { (return_statement "return sVar10;" return identifier ;) })) (expression_statement "(*(code *)PTR___stack_chk_fail_0002a2c8)();" (call_expression "(*(code *)PTR___stack_chk_fail_0002a2c8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0002a2c8)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0002a2c8" * (cast_expression "(code *)PTR___stack_chk_fail_0002a2c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (labeled_statement "LAB_000167fc:\n  sVar10 = (*(code *)PTR___assert_fail_0002a210)\n                     (PTR_DAT_0002a108 + -0x65bc,PTR_DAT_0002a108 + -0x65cc,0x60,\n                      PTR_DAT_0002a108 + -0x6338);" statement_identifier : (expression_statement "sVar10 = (*(code *)PTR___assert_fail_0002a210)\n                     (PTR_DAT_0002a108 + -0x65bc,PTR_DAT_0002a108 + -0x65cc,0x60,\n                      PTR_DAT_0002a108 + -0x6338);" (assignment_expression "sVar10 = (*(code *)PTR___assert_fail_0002a210)\n                     (PTR_DAT_0002a108 + -0x65bc,PTR_DAT_0002a108 + -0x65cc,0x60,\n                      PTR_DAT_0002a108 + -0x6338)" identifier = (call_expression "(*(code *)PTR___assert_fail_0002a210)\n                     (PTR_DAT_0002a108 + -0x65bc,PTR_DAT_0002a108 + -0x65cc,0x60,\n                      PTR_DAT_0002a108 + -0x6338)" (parenthesized_expression "(*(code *)PTR___assert_fail_0002a210)" ( (pointer_expression "*(code *)PTR___assert_fail_0002a210" * (cast_expression "(code *)PTR___assert_fail_0002a210" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_0002a108 + -0x65bc,PTR_DAT_0002a108 + -0x65cc,0x60,\n                      PTR_DAT_0002a108 + -0x6338)" ( (binary_expression "PTR_DAT_0002a108 + -0x65bc" identifier + number_literal) , (binary_expression "PTR_DAT_0002a108 + -0x65cc" identifier + number_literal) , number_literal , (binary_expression "PTR_DAT_0002a108 + -0x6338" identifier + number_literal) )))) ;)) (return_statement "return sVar10;" return identifier ;) })))
(translation_unit "uint xstrtoumax(byte *param_1,undefined4 *param_2,uint param_3,undefined8 *param_4,int param_5)\n\n{\n  byte bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int *piVar4;\n  int *piVar5;\n  uint uVar6;\n  int iVar7;\n  byte *pbVar8;\n  int iVar9;\n  uint uVar10;\n  undefined8 uVar11;\n  undefined4 uStack_30;\n  int local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_0002a2e0;\n  local_2c = *(int *)PTR___stack_chk_guard_0002a2e0;\n  if (0x24 < param_3) goto LAB_000167fc;\n  if (param_2 == (undefined4 *)0x0) {\n    param_2 = &uStack_30;\n  }\n  piVar4 = (int *)(*(code *)PTR___errno_location_0002a268)();\n  puVar2 = PTR___ctype_b_loc_0002a20c;\n  *piVar4 = 0;\n  piVar5 = (int *)(*(code *)puVar2)();\n  bVar1 = *param_1;\n  pbVar8 = param_1;\n  while( true ) {\n    pbVar8 = pbVar8 + 1;\n    if ((*(ushort *)(*piVar5 + (uint)bVar1 * 2) & 0x20) == 0) break;\n    bVar1 = *pbVar8;\n  }\n  if (bVar1 == 0x2d) {\nLAB_00016148:\n    uVar10 = 4;\n  }\n  else {\n    uVar11 = (*(code *)PTR___strtoull_internal_0002a2d8)(param_1,param_2,param_3,0);\n    if ((byte *)*param_2 == param_1) {\n      if (param_5 != 0) {\n        iVar9 = (int)(char)*param_1;\n        if (iVar9 != 0) {\n          iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n          if (iVar7 != 0) {\n            uVar11 = 1;\n            uVar10 = 0;\n            goto LAB_00016178;\n          }\n        }\n      }\n      goto LAB_00016148;\n    }\n    uVar10 = 0;\n    if (*piVar4 != 0) {\n      if (*piVar4 != 0x22) goto LAB_00016148;\n      uVar10 = 1;\n    }\n    if (param_5 == 0) {\nLAB_000160d8:\n      *param_4 = uVar11;\n    }\n    else {\n      iVar9 = (int)(char)*(byte *)*param_2;\n      if (iVar9 == 0) goto LAB_000160d8;\n      iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n      if (iVar7 != 0) {\nLAB_00016178:\n        uVar6 = iVar9 - 0x45U & 0xff;\n        if (uVar6 < 0x30) {\n                    \n                    \n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();\n          return uVar10;\n        }\n        uVar6 = iVar9 - 0x42U & 0xff;\n        if (uVar6 < 0x36) {\n                    \n                    \n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);\n          return uVar10;\n        }\n      }\n      uVar10 = uVar10 | 2;\n      *param_4 = uVar11;\n    }\n  }\n  if (local_2c == *(int *)puVar3) {\n    return uVar10;\n  }\n  (*(code *)PTR___stack_chk_fail_0002a2c8)();\nLAB_000167fc:\n  uVar10 = (*(code *)PTR___assert_fail_0002a210)\n                     (PTR_DAT_0002a108 + -0x65bc,PTR_DAT_0002a108 + -0x65cc,0x60,\n                      PTR_DAT_0002a108 + -0x6338);\n  return uVar10;\n}\n\n" (function_definition "uint xstrtoumax(byte *param_1,undefined4 *param_2,uint param_3,undefined8 *param_4,int param_5)\n\n{\n  byte bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int *piVar4;\n  int *piVar5;\n  uint uVar6;\n  int iVar7;\n  byte *pbVar8;\n  int iVar9;\n  uint uVar10;\n  undefined8 uVar11;\n  undefined4 uStack_30;\n  int local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_0002a2e0;\n  local_2c = *(int *)PTR___stack_chk_guard_0002a2e0;\n  if (0x24 < param_3) goto LAB_000167fc;\n  if (param_2 == (undefined4 *)0x0) {\n    param_2 = &uStack_30;\n  }\n  piVar4 = (int *)(*(code *)PTR___errno_location_0002a268)();\n  puVar2 = PTR___ctype_b_loc_0002a20c;\n  *piVar4 = 0;\n  piVar5 = (int *)(*(code *)puVar2)();\n  bVar1 = *param_1;\n  pbVar8 = param_1;\n  while( true ) {\n    pbVar8 = pbVar8 + 1;\n    if ((*(ushort *)(*piVar5 + (uint)bVar1 * 2) & 0x20) == 0) break;\n    bVar1 = *pbVar8;\n  }\n  if (bVar1 == 0x2d) {\nLAB_00016148:\n    uVar10 = 4;\n  }\n  else {\n    uVar11 = (*(code *)PTR___strtoull_internal_0002a2d8)(param_1,param_2,param_3,0);\n    if ((byte *)*param_2 == param_1) {\n      if (param_5 != 0) {\n        iVar9 = (int)(char)*param_1;\n        if (iVar9 != 0) {\n          iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n          if (iVar7 != 0) {\n            uVar11 = 1;\n            uVar10 = 0;\n            goto LAB_00016178;\n          }\n        }\n      }\n      goto LAB_00016148;\n    }\n    uVar10 = 0;\n    if (*piVar4 != 0) {\n      if (*piVar4 != 0x22) goto LAB_00016148;\n      uVar10 = 1;\n    }\n    if (param_5 == 0) {\nLAB_000160d8:\n      *param_4 = uVar11;\n    }\n    else {\n      iVar9 = (int)(char)*(byte *)*param_2;\n      if (iVar9 == 0) goto LAB_000160d8;\n      iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n      if (iVar7 != 0) {\nLAB_00016178:\n        uVar6 = iVar9 - 0x45U & 0xff;\n        if (uVar6 < 0x30) {\n                    \n                    \n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();\n          return uVar10;\n        }\n        uVar6 = iVar9 - 0x42U & 0xff;\n        if (uVar6 < 0x36) {\n                    \n                    \n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);\n          return uVar10;\n        }\n      }\n      uVar10 = uVar10 | 2;\n      *param_4 = uVar11;\n    }\n  }\n  if (local_2c == *(int *)puVar3) {\n    return uVar10;\n  }\n  (*(code *)PTR___stack_chk_fail_0002a2c8)();\nLAB_000167fc:\n  uVar10 = (*(code *)PTR___assert_fail_0002a210)\n                     (PTR_DAT_0002a108 + -0x65bc,PTR_DAT_0002a108 + -0x65cc,0x60,\n                      PTR_DAT_0002a108 + -0x6338);\n  return uVar10;\n}" type_identifier (function_declarator "xstrtoumax(byte *param_1,undefined4 *param_2,uint param_3,undefined8 *param_4,int param_5)" identifier (parameter_list "(byte *param_1,undefined4 *param_2,uint param_3,undefined8 *param_4,int param_5)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "undefined8 *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "int param_5" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int *piVar4;\n  int *piVar5;\n  uint uVar6;\n  int iVar7;\n  byte *pbVar8;\n  int iVar9;\n  uint uVar10;\n  undefined8 uVar11;\n  undefined4 uStack_30;\n  int local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_0002a2e0;\n  local_2c = *(int *)PTR___stack_chk_guard_0002a2e0;\n  if (0x24 < param_3) goto LAB_000167fc;\n  if (param_2 == (undefined4 *)0x0) {\n    param_2 = &uStack_30;\n  }\n  piVar4 = (int *)(*(code *)PTR___errno_location_0002a268)();\n  puVar2 = PTR___ctype_b_loc_0002a20c;\n  *piVar4 = 0;\n  piVar5 = (int *)(*(code *)puVar2)();\n  bVar1 = *param_1;\n  pbVar8 = param_1;\n  while( true ) {\n    pbVar8 = pbVar8 + 1;\n    if ((*(ushort *)(*piVar5 + (uint)bVar1 * 2) & 0x20) == 0) break;\n    bVar1 = *pbVar8;\n  }\n  if (bVar1 == 0x2d) {\nLAB_00016148:\n    uVar10 = 4;\n  }\n  else {\n    uVar11 = (*(code *)PTR___strtoull_internal_0002a2d8)(param_1,param_2,param_3,0);\n    if ((byte *)*param_2 == param_1) {\n      if (param_5 != 0) {\n        iVar9 = (int)(char)*param_1;\n        if (iVar9 != 0) {\n          iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n          if (iVar7 != 0) {\n            uVar11 = 1;\n            uVar10 = 0;\n            goto LAB_00016178;\n          }\n        }\n      }\n      goto LAB_00016148;\n    }\n    uVar10 = 0;\n    if (*piVar4 != 0) {\n      if (*piVar4 != 0x22) goto LAB_00016148;\n      uVar10 = 1;\n    }\n    if (param_5 == 0) {\nLAB_000160d8:\n      *param_4 = uVar11;\n    }\n    else {\n      iVar9 = (int)(char)*(byte *)*param_2;\n      if (iVar9 == 0) goto LAB_000160d8;\n      iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n      if (iVar7 != 0) {\nLAB_00016178:\n        uVar6 = iVar9 - 0x45U & 0xff;\n        if (uVar6 < 0x30) {\n                    \n                    \n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();\n          return uVar10;\n        }\n        uVar6 = iVar9 - 0x42U & 0xff;\n        if (uVar6 < 0x36) {\n                    \n                    \n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);\n          return uVar10;\n        }\n      }\n      uVar10 = uVar10 | 2;\n      *param_4 = uVar11;\n    }\n  }\n  if (local_2c == *(int *)puVar3) {\n    return uVar10;\n  }\n  (*(code *)PTR___stack_chk_fail_0002a2c8)();\nLAB_000167fc:\n  uVar10 = (*(code *)PTR___assert_fail_0002a210)\n                     (PTR_DAT_0002a108 + -0x65bc,PTR_DAT_0002a108 + -0x65cc,0x60,\n                      PTR_DAT_0002a108 + -0x6338);\n  return uVar10;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "byte *pbVar8;" type_identifier (pointer_declarator "*pbVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "undefined8 uVar11;" type_identifier identifier ;) (declaration "undefined4 uStack_30;" type_identifier identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "puVar3 = PTR___stack_chk_guard_0002a2e0;" (assignment_expression "puVar3 = PTR___stack_chk_guard_0002a2e0" identifier = identifier) ;) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_0002a2e0;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_0002a2e0" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_0002a2e0" * (cast_expression "(int *)PTR___stack_chk_guard_0002a2e0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (0x24 < param_3) goto LAB_000167fc;" if (parenthesized_expression "(0x24 < param_3)" ( (binary_expression "0x24 < param_3" number_literal < identifier) )) (goto_statement "goto LAB_000167fc;" goto statement_identifier ;)) (if_statement "if (param_2 == (undefined4 *)0x0) {\n    param_2 = &uStack_30;\n  }" if (parenthesized_expression "(param_2 == (undefined4 *)0x0)" ( (binary_expression "param_2 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    param_2 = &uStack_30;\n  }" { (expression_statement "param_2 = &uStack_30;" (assignment_expression "param_2 = &uStack_30" identifier = (pointer_expression "&uStack_30" & identifier)) ;) })) (expression_statement "piVar4 = (int *)(*(code *)PTR___errno_location_0002a268)();" (assignment_expression "piVar4 = (int *)(*(code *)PTR___errno_location_0002a268)()" identifier = (cast_expression "(int *)(*(code *)PTR___errno_location_0002a268)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_0002a268)()" (parenthesized_expression "(*(code *)PTR___errno_location_0002a268)" ( (pointer_expression "*(code *)PTR___errno_location_0002a268" * (cast_expression "(code *)PTR___errno_location_0002a268" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "puVar2 = PTR___ctype_b_loc_0002a20c;" (assignment_expression "puVar2 = PTR___ctype_b_loc_0002a20c" identifier = identifier) ;) (expression_statement "*piVar4 = 0;" (assignment_expression "*piVar4 = 0" (pointer_expression "*piVar4" * identifier) = number_literal) ;) (expression_statement "piVar5 = (int *)(*(code *)puVar2)();" (assignment_expression "piVar5 = (int *)(*(code *)puVar2)()" identifier = (cast_expression "(int *)(*(code *)puVar2)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)puVar2)()" (parenthesized_expression "(*(code *)puVar2)" ( (pointer_expression "*(code *)puVar2" * (cast_expression "(code *)puVar2" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "pbVar8 = param_1;" (assignment_expression "pbVar8 = param_1" identifier = identifier) ;) (while_statement "while( true ) {\n    pbVar8 = pbVar8 + 1;\n    if ((*(ushort *)(*piVar5 + (uint)bVar1 * 2) & 0x20) == 0) break;\n    bVar1 = *pbVar8;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    pbVar8 = pbVar8 + 1;\n    if ((*(ushort *)(*piVar5 + (uint)bVar1 * 2) & 0x20) == 0) break;\n    bVar1 = *pbVar8;\n  }" { (expression_statement "pbVar8 = pbVar8 + 1;" (assignment_expression "pbVar8 = pbVar8 + 1" identifier = (binary_expression "pbVar8 + 1" identifier + number_literal)) ;) (if_statement "if ((*(ushort *)(*piVar5 + (uint)bVar1 * 2) & 0x20) == 0) break;" if (parenthesized_expression "((*(ushort *)(*piVar5 + (uint)bVar1 * 2) & 0x20) == 0)" ( (binary_expression "(*(ushort *)(*piVar5 + (uint)bVar1 * 2) & 0x20) == 0" (parenthesized_expression "(*(ushort *)(*piVar5 + (uint)bVar1 * 2) & 0x20)" ( (binary_expression "*(ushort *)(*piVar5 + (uint)bVar1 * 2) & 0x20" (pointer_expression "*(ushort *)(*piVar5 + (uint)bVar1 * 2)" * (cast_expression "(ushort *)(*piVar5 + (uint)bVar1 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar5 + (uint)bVar1 * 2)" ( (binary_expression "*piVar5 + (uint)bVar1 * 2" (pointer_expression "*piVar5" * identifier) + (binary_expression "(uint)bVar1 * 2" (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) )))) & number_literal) )) == number_literal) )) (break_statement "break;" break ;)) (expression_statement "bVar1 = *pbVar8;" (assignment_expression "bVar1 = *pbVar8" identifier = (pointer_expression "*pbVar8" * identifier)) ;) })) (if_statement "if (bVar1 == 0x2d) {\nLAB_00016148:\n    uVar10 = 4;\n  }\n  else {\n    uVar11 = (*(code *)PTR___strtoull_internal_0002a2d8)(param_1,param_2,param_3,0);\n    if ((byte *)*param_2 == param_1) {\n      if (param_5 != 0) {\n        iVar9 = (int)(char)*param_1;\n        if (iVar9 != 0) {\n          iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n          if (iVar7 != 0) {\n            uVar11 = 1;\n            uVar10 = 0;\n            goto LAB_00016178;\n          }\n        }\n      }\n      goto LAB_00016148;\n    }\n    uVar10 = 0;\n    if (*piVar4 != 0) {\n      if (*piVar4 != 0x22) goto LAB_00016148;\n      uVar10 = 1;\n    }\n    if (param_5 == 0) {\nLAB_000160d8:\n      *param_4 = uVar11;\n    }\n    else {\n      iVar9 = (int)(char)*(byte *)*param_2;\n      if (iVar9 == 0) goto LAB_000160d8;\n      iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n      if (iVar7 != 0) {\nLAB_00016178:\n        uVar6 = iVar9 - 0x45U & 0xff;\n        if (uVar6 < 0x30) {\n                    \n                    \n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();\n          return uVar10;\n        }\n        uVar6 = iVar9 - 0x42U & 0xff;\n        if (uVar6 < 0x36) {\n                    \n                    \n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);\n          return uVar10;\n        }\n      }\n      uVar10 = uVar10 | 2;\n      *param_4 = uVar11;\n    }\n  }" if (parenthesized_expression "(bVar1 == 0x2d)" ( (binary_expression "bVar1 == 0x2d" identifier == number_literal) )) (compound_statement "{\nLAB_00016148:\n    uVar10 = 4;\n  }" { (labeled_statement "LAB_00016148:\n    uVar10 = 4;" statement_identifier : (expression_statement "uVar10 = 4;" (assignment_expression "uVar10 = 4" identifier = number_literal) ;)) }) (else_clause "else {\n    uVar11 = (*(code *)PTR___strtoull_internal_0002a2d8)(param_1,param_2,param_3,0);\n    if ((byte *)*param_2 == param_1) {\n      if (param_5 != 0) {\n        iVar9 = (int)(char)*param_1;\n        if (iVar9 != 0) {\n          iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n          if (iVar7 != 0) {\n            uVar11 = 1;\n            uVar10 = 0;\n            goto LAB_00016178;\n          }\n        }\n      }\n      goto LAB_00016148;\n    }\n    uVar10 = 0;\n    if (*piVar4 != 0) {\n      if (*piVar4 != 0x22) goto LAB_00016148;\n      uVar10 = 1;\n    }\n    if (param_5 == 0) {\nLAB_000160d8:\n      *param_4 = uVar11;\n    }\n    else {\n      iVar9 = (int)(char)*(byte *)*param_2;\n      if (iVar9 == 0) goto LAB_000160d8;\n      iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n      if (iVar7 != 0) {\nLAB_00016178:\n        uVar6 = iVar9 - 0x45U & 0xff;\n        if (uVar6 < 0x30) {\n                    \n                    \n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();\n          return uVar10;\n        }\n        uVar6 = iVar9 - 0x42U & 0xff;\n        if (uVar6 < 0x36) {\n                    \n                    \n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);\n          return uVar10;\n        }\n      }\n      uVar10 = uVar10 | 2;\n      *param_4 = uVar11;\n    }\n  }" else (compound_statement "{\n    uVar11 = (*(code *)PTR___strtoull_internal_0002a2d8)(param_1,param_2,param_3,0);\n    if ((byte *)*param_2 == param_1) {\n      if (param_5 != 0) {\n        iVar9 = (int)(char)*param_1;\n        if (iVar9 != 0) {\n          iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n          if (iVar7 != 0) {\n            uVar11 = 1;\n            uVar10 = 0;\n            goto LAB_00016178;\n          }\n        }\n      }\n      goto LAB_00016148;\n    }\n    uVar10 = 0;\n    if (*piVar4 != 0) {\n      if (*piVar4 != 0x22) goto LAB_00016148;\n      uVar10 = 1;\n    }\n    if (param_5 == 0) {\nLAB_000160d8:\n      *param_4 = uVar11;\n    }\n    else {\n      iVar9 = (int)(char)*(byte *)*param_2;\n      if (iVar9 == 0) goto LAB_000160d8;\n      iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n      if (iVar7 != 0) {\nLAB_00016178:\n        uVar6 = iVar9 - 0x45U & 0xff;\n        if (uVar6 < 0x30) {\n                    \n                    \n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();\n          return uVar10;\n        }\n        uVar6 = iVar9 - 0x42U & 0xff;\n        if (uVar6 < 0x36) {\n                    \n                    \n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);\n          return uVar10;\n        }\n      }\n      uVar10 = uVar10 | 2;\n      *param_4 = uVar11;\n    }\n  }" { (expression_statement "uVar11 = (*(code *)PTR___strtoull_internal_0002a2d8)(param_1,param_2,param_3,0);" (assignment_expression "uVar11 = (*(code *)PTR___strtoull_internal_0002a2d8)(param_1,param_2,param_3,0)" identifier = (call_expression "(*(code *)PTR___strtoull_internal_0002a2d8)(param_1,param_2,param_3,0)" (parenthesized_expression "(*(code *)PTR___strtoull_internal_0002a2d8)" ( (pointer_expression "*(code *)PTR___strtoull_internal_0002a2d8" * (cast_expression "(code *)PTR___strtoull_internal_0002a2d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,param_2,param_3,0)" ( identifier , identifier , identifier , number_literal )))) ;) (if_statement "if ((byte *)*param_2 == param_1) {\n      if (param_5 != 0) {\n        iVar9 = (int)(char)*param_1;\n        if (iVar9 != 0) {\n          iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n          if (iVar7 != 0) {\n            uVar11 = 1;\n            uVar10 = 0;\n            goto LAB_00016178;\n          }\n        }\n      }\n      goto LAB_00016148;\n    }" if (parenthesized_expression "((byte *)*param_2 == param_1)" ( (binary_expression "(byte *)*param_2 == param_1" (cast_expression "(byte *)*param_2" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier)) == identifier) )) (compound_statement "{\n      if (param_5 != 0) {\n        iVar9 = (int)(char)*param_1;\n        if (iVar9 != 0) {\n          iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n          if (iVar7 != 0) {\n            uVar11 = 1;\n            uVar10 = 0;\n            goto LAB_00016178;\n          }\n        }\n      }\n      goto LAB_00016148;\n    }" { (if_statement "if (param_5 != 0) {\n        iVar9 = (int)(char)*param_1;\n        if (iVar9 != 0) {\n          iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n          if (iVar7 != 0) {\n            uVar11 = 1;\n            uVar10 = 0;\n            goto LAB_00016178;\n          }\n        }\n      }" if (parenthesized_expression "(param_5 != 0)" ( (binary_expression "param_5 != 0" identifier != number_literal) )) (compound_statement "{\n        iVar9 = (int)(char)*param_1;\n        if (iVar9 != 0) {\n          iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n          if (iVar7 != 0) {\n            uVar11 = 1;\n            uVar10 = 0;\n            goto LAB_00016178;\n          }\n        }\n      }" { (expression_statement "iVar9 = (int)(char)*param_1;" (assignment_expression "iVar9 = (int)(char)*param_1" identifier = (cast_expression "(int)(char)*param_1" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)*param_1" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*param_1" * identifier)))) ;) (if_statement "if (iVar9 != 0) {\n          iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n          if (iVar7 != 0) {\n            uVar11 = 1;\n            uVar10 = 0;\n            goto LAB_00016178;\n          }\n        }" if (parenthesized_expression "(iVar9 != 0)" ( (binary_expression "iVar9 != 0" identifier != number_literal) )) (compound_statement "{\n          iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n          if (iVar7 != 0) {\n            uVar11 = 1;\n            uVar10 = 0;\n            goto LAB_00016178;\n          }\n        }" { (expression_statement "iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);" (assignment_expression "iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9)" identifier = (call_expression "(*(code *)PTR_strchr_0002a280)(param_5,iVar9)" (parenthesized_expression "(*(code *)PTR_strchr_0002a280)" ( (pointer_expression "*(code *)PTR_strchr_0002a280" * (cast_expression "(code *)PTR_strchr_0002a280" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_5,iVar9)" ( identifier , identifier )))) ;) (if_statement "if (iVar7 != 0) {\n            uVar11 = 1;\n            uVar10 = 0;\n            goto LAB_00016178;\n          }" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (compound_statement "{\n            uVar11 = 1;\n            uVar10 = 0;\n            goto LAB_00016178;\n          }" { (expression_statement "uVar11 = 1;" (assignment_expression "uVar11 = 1" identifier = number_literal) ;) (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_00016178;" goto statement_identifier ;) })) })) })) (goto_statement "goto LAB_00016148;" goto statement_identifier ;) })) (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) (if_statement "if (*piVar4 != 0) {\n      if (*piVar4 != 0x22) goto LAB_00016148;\n      uVar10 = 1;\n    }" if (parenthesized_expression "(*piVar4 != 0)" ( (binary_expression "*piVar4 != 0" (pointer_expression "*piVar4" * identifier) != number_literal) )) (compound_statement "{\n      if (*piVar4 != 0x22) goto LAB_00016148;\n      uVar10 = 1;\n    }" { (if_statement "if (*piVar4 != 0x22) goto LAB_00016148;" if (parenthesized_expression "(*piVar4 != 0x22)" ( (binary_expression "*piVar4 != 0x22" (pointer_expression "*piVar4" * identifier) != number_literal) )) (goto_statement "goto LAB_00016148;" goto statement_identifier ;)) (expression_statement "uVar10 = 1;" (assignment_expression "uVar10 = 1" identifier = number_literal) ;) })) (if_statement "if (param_5 == 0) {\nLAB_000160d8:\n      *param_4 = uVar11;\n    }\n    else {\n      iVar9 = (int)(char)*(byte *)*param_2;\n      if (iVar9 == 0) goto LAB_000160d8;\n      iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n      if (iVar7 != 0) {\nLAB_00016178:\n        uVar6 = iVar9 - 0x45U & 0xff;\n        if (uVar6 < 0x30) {\n                    \n                    \n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();\n          return uVar10;\n        }\n        uVar6 = iVar9 - 0x42U & 0xff;\n        if (uVar6 < 0x36) {\n                    \n                    \n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);\n          return uVar10;\n        }\n      }\n      uVar10 = uVar10 | 2;\n      *param_4 = uVar11;\n    }" if (parenthesized_expression "(param_5 == 0)" ( (binary_expression "param_5 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_000160d8:\n      *param_4 = uVar11;\n    }" { (labeled_statement "LAB_000160d8:\n      *param_4 = uVar11;" statement_identifier : (expression_statement "*param_4 = uVar11;" (assignment_expression "*param_4 = uVar11" (pointer_expression "*param_4" * identifier) = identifier) ;)) }) (else_clause "else {\n      iVar9 = (int)(char)*(byte *)*param_2;\n      if (iVar9 == 0) goto LAB_000160d8;\n      iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n      if (iVar7 != 0) {\nLAB_00016178:\n        uVar6 = iVar9 - 0x45U & 0xff;\n        if (uVar6 < 0x30) {\n                    \n                    \n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();\n          return uVar10;\n        }\n        uVar6 = iVar9 - 0x42U & 0xff;\n        if (uVar6 < 0x36) {\n                    \n                    \n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);\n          return uVar10;\n        }\n      }\n      uVar10 = uVar10 | 2;\n      *param_4 = uVar11;\n    }" else (compound_statement "{\n      iVar9 = (int)(char)*(byte *)*param_2;\n      if (iVar9 == 0) goto LAB_000160d8;\n      iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n      if (iVar7 != 0) {\nLAB_00016178:\n        uVar6 = iVar9 - 0x45U & 0xff;\n        if (uVar6 < 0x30) {\n                    \n                    \n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();\n          return uVar10;\n        }\n        uVar6 = iVar9 - 0x42U & 0xff;\n        if (uVar6 < 0x36) {\n                    \n                    \n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);\n          return uVar10;\n        }\n      }\n      uVar10 = uVar10 | 2;\n      *param_4 = uVar11;\n    }" { (expression_statement "iVar9 = (int)(char)*(byte *)*param_2;" (assignment_expression "iVar9 = (int)(char)*(byte *)*param_2" identifier = (cast_expression "(int)(char)*(byte *)*param_2" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)*(byte *)*param_2" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*(byte *)*param_2" * (cast_expression "(byte *)*param_2" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier)))))) ;) (if_statement "if (iVar9 == 0) goto LAB_000160d8;" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000160d8;" goto statement_identifier ;)) (expression_statement "iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);" (assignment_expression "iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9)" identifier = (call_expression "(*(code *)PTR_strchr_0002a280)(param_5,iVar9)" (parenthesized_expression "(*(code *)PTR_strchr_0002a280)" ( (pointer_expression "*(code *)PTR_strchr_0002a280" * (cast_expression "(code *)PTR_strchr_0002a280" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_5,iVar9)" ( identifier , identifier )))) ;) (if_statement "if (iVar7 != 0) {\nLAB_00016178:\n        uVar6 = iVar9 - 0x45U & 0xff;\n        if (uVar6 < 0x30) {\n                    \n                    \n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();\n          return uVar10;\n        }\n        uVar6 = iVar9 - 0x42U & 0xff;\n        if (uVar6 < 0x36) {\n                    \n                    \n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);\n          return uVar10;\n        }\n      }" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (compound_statement "{\nLAB_00016178:\n        uVar6 = iVar9 - 0x45U & 0xff;\n        if (uVar6 < 0x30) {\n                    \n                    \n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();\n          return uVar10;\n        }\n        uVar6 = iVar9 - 0x42U & 0xff;\n        if (uVar6 < 0x36) {\n                    \n                    \n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);\n          return uVar10;\n        }\n      }" { (labeled_statement "LAB_00016178:\n        uVar6 = iVar9 - 0x45U & 0xff;" statement_identifier : (expression_statement "uVar6 = iVar9 - 0x45U & 0xff;" (assignment_expression "uVar6 = iVar9 - 0x45U & 0xff" identifier = (binary_expression "iVar9 - 0x45U & 0xff" (binary_expression "iVar9 - 0x45U" identifier - number_literal) & number_literal)) ;)) (if_statement "if (uVar6 < 0x30) {\n                    \n                    \n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();\n          return uVar10;\n        }" if (parenthesized_expression "(uVar6 < 0x30)" ( (binary_expression "uVar6 < 0x30" identifier < number_literal) )) (compound_statement "{\n                    \n                    \n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();\n          return uVar10;\n        }" { (expression_statement "uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();" (assignment_expression "uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))()" identifier = (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))" ( (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000))" * (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000))" ( (binary_expression "&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)" (pointer_expression "&_gp_1" & identifier) + (pointer_expression "*(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)" * (cast_expression "(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002a108 + uVar6 * 4 + -26000)" ( (binary_expression "PTR_DAT_0002a108 + uVar6 * 4 + -26000" (binary_expression "PTR_DAT_0002a108 + uVar6 * 4" identifier + (binary_expression "uVar6 * 4" identifier * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( )))) ;) (return_statement "return uVar10;" return identifier ;) })) (expression_statement "uVar6 = iVar9 - 0x42U & 0xff;" (assignment_expression "uVar6 = iVar9 - 0x42U & 0xff" identifier = (binary_expression "iVar9 - 0x42U & 0xff" (binary_expression "iVar9 - 0x42U" identifier - number_literal) & number_literal)) ;) (if_statement "if (uVar6 < 0x36) {\n                    \n                    \n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);\n          return uVar10;\n        }" if (parenthesized_expression "(uVar6 < 0x36)" ( (binary_expression "uVar6 < 0x36" identifier < number_literal) )) (compound_statement "{\n                    \n                    \n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);\n          return uVar10;\n        }" { (expression_statement "uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);" (assignment_expression "uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1)" identifier = (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1)" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))" ( (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410))" * (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410))" ( (binary_expression "&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)" (pointer_expression "&_gp_1" & identifier) + (pointer_expression "*(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)" * (cast_expression "(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)" ( (binary_expression "PTR_DAT_0002a108 + uVar6 * 4 + -0x6410" (binary_expression "PTR_DAT_0002a108 + uVar6 * 4" identifier + (binary_expression "uVar6 * 4" identifier * number_literal)) + number_literal) ))))) )))) )) (argument_list "(1)" ( number_literal )))) ;) (return_statement "return uVar10;" return identifier ;) })) })) (expression_statement "uVar10 = uVar10 | 2;" (assignment_expression "uVar10 = uVar10 | 2" identifier = (binary_expression "uVar10 | 2" identifier | number_literal)) ;) (expression_statement "*param_4 = uVar11;" (assignment_expression "*param_4 = uVar11" (pointer_expression "*param_4" * identifier) = identifier) ;) }))) }))) (if_statement "if (local_2c == *(int *)puVar3) {\n    return uVar10;\n  }" if (parenthesized_expression "(local_2c == *(int *)puVar3)" ( (binary_expression "local_2c == *(int *)puVar3" identifier == (pointer_expression "*(int *)puVar3" * (cast_expression "(int *)puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return uVar10;\n  }" { (return_statement "return uVar10;" return identifier ;) })) (expression_statement "(*(code *)PTR___stack_chk_fail_0002a2c8)();" (call_expression "(*(code *)PTR___stack_chk_fail_0002a2c8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0002a2c8)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0002a2c8" * (cast_expression "(code *)PTR___stack_chk_fail_0002a2c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (labeled_statement "LAB_000167fc:\n  uVar10 = (*(code *)PTR___assert_fail_0002a210)\n                     (PTR_DAT_0002a108 + -0x65bc,PTR_DAT_0002a108 + -0x65cc,0x60,\n                      PTR_DAT_0002a108 + -0x6338);" statement_identifier : (expression_statement "uVar10 = (*(code *)PTR___assert_fail_0002a210)\n                     (PTR_DAT_0002a108 + -0x65bc,PTR_DAT_0002a108 + -0x65cc,0x60,\n                      PTR_DAT_0002a108 + -0x6338);" (assignment_expression "uVar10 = (*(code *)PTR___assert_fail_0002a210)\n                     (PTR_DAT_0002a108 + -0x65bc,PTR_DAT_0002a108 + -0x65cc,0x60,\n                      PTR_DAT_0002a108 + -0x6338)" identifier = (call_expression "(*(code *)PTR___assert_fail_0002a210)\n                     (PTR_DAT_0002a108 + -0x65bc,PTR_DAT_0002a108 + -0x65cc,0x60,\n                      PTR_DAT_0002a108 + -0x6338)" (parenthesized_expression "(*(code *)PTR___assert_fail_0002a210)" ( (pointer_expression "*(code *)PTR___assert_fail_0002a210" * (cast_expression "(code *)PTR___assert_fail_0002a210" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_0002a108 + -0x65bc,PTR_DAT_0002a108 + -0x65cc,0x60,\n                      PTR_DAT_0002a108 + -0x6338)" ( (binary_expression "PTR_DAT_0002a108 + -0x65bc" identifier + number_literal) , (binary_expression "PTR_DAT_0002a108 + -0x65cc" identifier + number_literal) , number_literal , (binary_expression "PTR_DAT_0002a108 + -0x6338" identifier + number_literal) )))) ;)) (return_statement "return uVar10;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (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 (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) )))) & LIT) )) == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) == IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT)))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) })) })) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = LIT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT - LIT) & LIT)) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression IDENT * LIT)) + LIT) ))))) )))) )) (argument_list ( )))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT - LIT) & LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression IDENT * LIT)) + LIT) ))))) )))) )) (argument_list ( LIT )))) ;) (return_statement return IDENT ;) })) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT | LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) }))) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) )))) ;)) (return_statement return IDENT ;) })))
(function_definition "uint xstrtoumax(byte *param_1,undefined4 *param_2,uint param_3,undefined8 *param_4,int param_5)\n\n{\n  byte bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int *piVar4;\n  int *piVar5;\n  uint uVar6;\n  int iVar7;\n  byte *pbVar8;\n  int iVar9;\n  uint uVar10;\n  undefined8 uVar11;\n  undefined4 uStack_30;\n  int local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_0002a2e0;\n  local_2c = *(int *)PTR___stack_chk_guard_0002a2e0;\n  if (0x24 < param_3) goto LAB_000167fc;\n  if (param_2 == (undefined4 *)0x0) {\n    param_2 = &uStack_30;\n  }\n  piVar4 = (int *)(*(code *)PTR___errno_location_0002a268)();\n  puVar2 = PTR___ctype_b_loc_0002a20c;\n  *piVar4 = 0;\n  piVar5 = (int *)(*(code *)puVar2)();\n  bVar1 = *param_1;\n  pbVar8 = param_1;\n  while( true ) {\n    pbVar8 = pbVar8 + 1;\n    if ((*(ushort *)(*piVar5 + (uint)bVar1 * 2) & 0x20) == 0) break;\n    bVar1 = *pbVar8;\n  }\n  if (bVar1 == 0x2d) {\nLAB_00016148:\n    uVar10 = 4;\n  }\n  else {\n    uVar11 = (*(code *)PTR___strtoull_internal_0002a2d8)(param_1,param_2,param_3,0);\n    if ((byte *)*param_2 == param_1) {\n      if (param_5 != 0) {\n        iVar9 = (int)(char)*param_1;\n        if (iVar9 != 0) {\n          iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n          if (iVar7 != 0) {\n            uVar11 = 1;\n            uVar10 = 0;\n            goto LAB_00016178;\n          }\n        }\n      }\n      goto LAB_00016148;\n    }\n    uVar10 = 0;\n    if (*piVar4 != 0) {\n      if (*piVar4 != 0x22) goto LAB_00016148;\n      uVar10 = 1;\n    }\n    if (param_5 == 0) {\nLAB_000160d8:\n      *param_4 = uVar11;\n    }\n    else {\n      iVar9 = (int)(char)*(byte *)*param_2;\n      if (iVar9 == 0) goto LAB_000160d8;\n      iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n      if (iVar7 != 0) {\nLAB_00016178:\n        uVar6 = iVar9 - 0x45U & 0xff;\n        if (uVar6 < 0x30) {\n                    \n                    \n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();\n          return uVar10;\n        }\n        uVar6 = iVar9 - 0x42U & 0xff;\n        if (uVar6 < 0x36) {\n                    \n                    \n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);\n          return uVar10;\n        }\n      }\n      uVar10 = uVar10 | 2;\n      *param_4 = uVar11;\n    }\n  }\n  if (local_2c == *(int *)puVar3) {\n    return uVar10;\n  }\n  (*(code *)PTR___stack_chk_fail_0002a2c8)();\nLAB_000167fc:\n  uVar10 = (*(code *)PTR___assert_fail_0002a210)\n                     (PTR_DAT_0002a108 + -0x65bc,PTR_DAT_0002a108 + -0x65cc,0x60,\n                      PTR_DAT_0002a108 + -0x6338);\n  return uVar10;\n}" (type_identifier "uint") (function_declarator "xstrtoumax(byte *param_1,undefined4 *param_2,uint param_3,undefined8 *param_4,int param_5)" (identifier "xstrtoumax") (parameter_list "(byte *param_1,undefined4 *param_2,uint param_3,undefined8 *param_4,int param_5)" (( "(") (parameter_declaration "byte *param_1" (type_identifier "byte") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) (, ",") (parameter_declaration "undefined8 *param_4" (type_identifier "undefined8") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) (, ",") (parameter_declaration "int param_5" (primitive_type "int") (identifier "param_5")) () ")"))) (compound_statement "{\n  byte bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int *piVar4;\n  int *piVar5;\n  uint uVar6;\n  int iVar7;\n  byte *pbVar8;\n  int iVar9;\n  uint uVar10;\n  undefined8 uVar11;\n  undefined4 uStack_30;\n  int local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_0002a2e0;\n  local_2c = *(int *)PTR___stack_chk_guard_0002a2e0;\n  if (0x24 < param_3) goto LAB_000167fc;\n  if (param_2 == (undefined4 *)0x0) {\n    param_2 = &uStack_30;\n  }\n  piVar4 = (int *)(*(code *)PTR___errno_location_0002a268)();\n  puVar2 = PTR___ctype_b_loc_0002a20c;\n  *piVar4 = 0;\n  piVar5 = (int *)(*(code *)puVar2)();\n  bVar1 = *param_1;\n  pbVar8 = param_1;\n  while( true ) {\n    pbVar8 = pbVar8 + 1;\n    if ((*(ushort *)(*piVar5 + (uint)bVar1 * 2) & 0x20) == 0) break;\n    bVar1 = *pbVar8;\n  }\n  if (bVar1 == 0x2d) {\nLAB_00016148:\n    uVar10 = 4;\n  }\n  else {\n    uVar11 = (*(code *)PTR___strtoull_internal_0002a2d8)(param_1,param_2,param_3,0);\n    if ((byte *)*param_2 == param_1) {\n      if (param_5 != 0) {\n        iVar9 = (int)(char)*param_1;\n        if (iVar9 != 0) {\n          iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n          if (iVar7 != 0) {\n            uVar11 = 1;\n            uVar10 = 0;\n            goto LAB_00016178;\n          }\n        }\n      }\n      goto LAB_00016148;\n    }\n    uVar10 = 0;\n    if (*piVar4 != 0) {\n      if (*piVar4 != 0x22) goto LAB_00016148;\n      uVar10 = 1;\n    }\n    if (param_5 == 0) {\nLAB_000160d8:\n      *param_4 = uVar11;\n    }\n    else {\n      iVar9 = (int)(char)*(byte *)*param_2;\n      if (iVar9 == 0) goto LAB_000160d8;\n      iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n      if (iVar7 != 0) {\nLAB_00016178:\n        uVar6 = iVar9 - 0x45U & 0xff;\n        if (uVar6 < 0x30) {\n                    \n                    \n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();\n          return uVar10;\n        }\n        uVar6 = iVar9 - 0x42U & 0xff;\n        if (uVar6 < 0x36) {\n                    \n                    \n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);\n          return uVar10;\n        }\n      }\n      uVar10 = uVar10 | 2;\n      *param_4 = uVar11;\n    }\n  }\n  if (local_2c == *(int *)puVar3) {\n    return uVar10;\n  }\n  (*(code *)PTR___stack_chk_fail_0002a2c8)();\nLAB_000167fc:\n  uVar10 = (*(code *)PTR___assert_fail_0002a210)\n                     (PTR_DAT_0002a108 + -0x65bc,PTR_DAT_0002a108 + -0x65cc,0x60,\n                      PTR_DAT_0002a108 + -0x6338);\n  return uVar10;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined *puVar3;" (type_identifier "undefined") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "int *piVar4;" (primitive_type "int") (pointer_declarator "*piVar4" (* "*") (identifier "piVar4")) (; ";")) (declaration "int *piVar5;" (primitive_type "int") (pointer_declarator "*piVar5" (* "*") (identifier "piVar5")) (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "byte *pbVar8;" (type_identifier "byte") (pointer_declarator "*pbVar8" (* "*") (identifier "pbVar8")) (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "uint uVar10;" (type_identifier "uint") (identifier "uVar10") (; ";")) (declaration "undefined8 uVar11;" (type_identifier "undefined8") (identifier "uVar11") (; ";")) (declaration "undefined4 uStack_30;" (type_identifier "undefined4") (identifier "uStack_30") (; ";")) (declaration "int local_2c;" (primitive_type "int") (identifier "local_2c") (; ";")) (expression_statement "puVar3 = PTR___stack_chk_guard_0002a2e0;" (assignment_expression "puVar3 = PTR___stack_chk_guard_0002a2e0" (identifier "puVar3") (= "=") (identifier "PTR___stack_chk_guard_0002a2e0")) (; ";")) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_0002a2e0;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_0002a2e0" (identifier "local_2c") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_0002a2e0" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_0002a2e0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_0002a2e0")))) (; ";")) (if_statement "if (0x24 < param_3) goto LAB_000167fc;" (if "if") (parenthesized_expression "(0x24 < param_3)" (( "(") (binary_expression "0x24 < param_3" (number_literal "0x24") (< "<") (identifier "param_3")) () ")")) (goto_statement "goto LAB_000167fc;" (goto "goto") (statement_identifier "LAB_000167fc") (; ";"))) (if_statement "if (param_2 == (undefined4 *)0x0) {\n    param_2 = &uStack_30;\n  }" (if "if") (parenthesized_expression "(param_2 == (undefined4 *)0x0)" (( "(") (binary_expression "param_2 == (undefined4 *)0x0" (identifier "param_2") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    param_2 = &uStack_30;\n  }" ({ "{") (expression_statement "param_2 = &uStack_30;" (assignment_expression "param_2 = &uStack_30" (identifier "param_2") (= "=") (pointer_expression "&uStack_30" (& "&") (identifier "uStack_30"))) (; ";")) (} "}"))) (expression_statement "piVar4 = (int *)(*(code *)PTR___errno_location_0002a268)();" (assignment_expression "piVar4 = (int *)(*(code *)PTR___errno_location_0002a268)()" (identifier "piVar4") (= "=") (cast_expression "(int *)(*(code *)PTR___errno_location_0002a268)()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___errno_location_0002a268)()" (parenthesized_expression "(*(code *)PTR___errno_location_0002a268)" (( "(") (pointer_expression "*(code *)PTR___errno_location_0002a268" (* "*") (cast_expression "(code *)PTR___errno_location_0002a268" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___errno_location_0002a268"))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "puVar2 = PTR___ctype_b_loc_0002a20c;" (assignment_expression "puVar2 = PTR___ctype_b_loc_0002a20c" (identifier "puVar2") (= "=") (identifier "PTR___ctype_b_loc_0002a20c")) (; ";")) (expression_statement "*piVar4 = 0;" (assignment_expression "*piVar4 = 0" (pointer_expression "*piVar4" (* "*") (identifier "piVar4")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar5 = (int *)(*(code *)puVar2)();" (assignment_expression "piVar5 = (int *)(*(code *)puVar2)()" (identifier "piVar5") (= "=") (cast_expression "(int *)(*(code *)puVar2)()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)puVar2)()" (parenthesized_expression "(*(code *)puVar2)" (( "(") (pointer_expression "*(code *)puVar2" (* "*") (cast_expression "(code *)puVar2" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar2"))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" (identifier "bVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "pbVar8 = param_1;" (assignment_expression "pbVar8 = param_1" (identifier "pbVar8") (= "=") (identifier "param_1")) (; ";")) (while_statement "while( true ) {\n    pbVar8 = pbVar8 + 1;\n    if ((*(ushort *)(*piVar5 + (uint)bVar1 * 2) & 0x20) == 0) break;\n    bVar1 = *pbVar8;\n  }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n    pbVar8 = pbVar8 + 1;\n    if ((*(ushort *)(*piVar5 + (uint)bVar1 * 2) & 0x20) == 0) break;\n    bVar1 = *pbVar8;\n  }" ({ "{") (expression_statement "pbVar8 = pbVar8 + 1;" (assignment_expression "pbVar8 = pbVar8 + 1" (identifier "pbVar8") (= "=") (binary_expression "pbVar8 + 1" (identifier "pbVar8") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if ((*(ushort *)(*piVar5 + (uint)bVar1 * 2) & 0x20) == 0) break;" (if "if") (parenthesized_expression "((*(ushort *)(*piVar5 + (uint)bVar1 * 2) & 0x20) == 0)" (( "(") (binary_expression "(*(ushort *)(*piVar5 + (uint)bVar1 * 2) & 0x20) == 0" (parenthesized_expression "(*(ushort *)(*piVar5 + (uint)bVar1 * 2) & 0x20)" (( "(") (binary_expression "*(ushort *)(*piVar5 + (uint)bVar1 * 2) & 0x20" (pointer_expression "*(ushort *)(*piVar5 + (uint)bVar1 * 2)" (* "*") (cast_expression "(ushort *)(*piVar5 + (uint)bVar1 * 2)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar5 + (uint)bVar1 * 2)" (( "(") (binary_expression "*piVar5 + (uint)bVar1 * 2" (pointer_expression "*piVar5" (* "*") (identifier "piVar5")) (+ "+") (binary_expression "(uint)bVar1 * 2" (cast_expression "(uint)bVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar1")) (* "*") (number_literal "2"))) () ")")))) (& "&") (number_literal "0x20")) () ")")) (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "bVar1 = *pbVar8;" (assignment_expression "bVar1 = *pbVar8" (identifier "bVar1") (= "=") (pointer_expression "*pbVar8" (* "*") (identifier "pbVar8"))) (; ";")) (} "}"))) (if_statement "if (bVar1 == 0x2d) {\nLAB_00016148:\n    uVar10 = 4;\n  }\n  else {\n    uVar11 = (*(code *)PTR___strtoull_internal_0002a2d8)(param_1,param_2,param_3,0);\n    if ((byte *)*param_2 == param_1) {\n      if (param_5 != 0) {\n        iVar9 = (int)(char)*param_1;\n        if (iVar9 != 0) {\n          iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n          if (iVar7 != 0) {\n            uVar11 = 1;\n            uVar10 = 0;\n            goto LAB_00016178;\n          }\n        }\n      }\n      goto LAB_00016148;\n    }\n    uVar10 = 0;\n    if (*piVar4 != 0) {\n      if (*piVar4 != 0x22) goto LAB_00016148;\n      uVar10 = 1;\n    }\n    if (param_5 == 0) {\nLAB_000160d8:\n      *param_4 = uVar11;\n    }\n    else {\n      iVar9 = (int)(char)*(byte *)*param_2;\n      if (iVar9 == 0) goto LAB_000160d8;\n      iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n      if (iVar7 != 0) {\nLAB_00016178:\n        uVar6 = iVar9 - 0x45U & 0xff;\n        if (uVar6 < 0x30) {\n                    \n                    \n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();\n          return uVar10;\n        }\n        uVar6 = iVar9 - 0x42U & 0xff;\n        if (uVar6 < 0x36) {\n                    \n                    \n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);\n          return uVar10;\n        }\n      }\n      uVar10 = uVar10 | 2;\n      *param_4 = uVar11;\n    }\n  }" (if "if") (parenthesized_expression "(bVar1 == 0x2d)" (( "(") (binary_expression "bVar1 == 0x2d" (identifier "bVar1") (== "==") (number_literal "0x2d")) () ")")) (compound_statement "{\nLAB_00016148:\n    uVar10 = 4;\n  }" ({ "{") (labeled_statement "LAB_00016148:\n    uVar10 = 4;" (statement_identifier "LAB_00016148") (: ":") (expression_statement "uVar10 = 4;" (assignment_expression "uVar10 = 4" (identifier "uVar10") (= "=") (number_literal "4")) (; ";"))) (} "}")) (else_clause "else {\n    uVar11 = (*(code *)PTR___strtoull_internal_0002a2d8)(param_1,param_2,param_3,0);\n    if ((byte *)*param_2 == param_1) {\n      if (param_5 != 0) {\n        iVar9 = (int)(char)*param_1;\n        if (iVar9 != 0) {\n          iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n          if (iVar7 != 0) {\n            uVar11 = 1;\n            uVar10 = 0;\n            goto LAB_00016178;\n          }\n        }\n      }\n      goto LAB_00016148;\n    }\n    uVar10 = 0;\n    if (*piVar4 != 0) {\n      if (*piVar4 != 0x22) goto LAB_00016148;\n      uVar10 = 1;\n    }\n    if (param_5 == 0) {\nLAB_000160d8:\n      *param_4 = uVar11;\n    }\n    else {\n      iVar9 = (int)(char)*(byte *)*param_2;\n      if (iVar9 == 0) goto LAB_000160d8;\n      iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n      if (iVar7 != 0) {\nLAB_00016178:\n        uVar6 = iVar9 - 0x45U & 0xff;\n        if (uVar6 < 0x30) {\n                    \n                    \n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();\n          return uVar10;\n        }\n        uVar6 = iVar9 - 0x42U & 0xff;\n        if (uVar6 < 0x36) {\n                    \n                    \n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);\n          return uVar10;\n        }\n      }\n      uVar10 = uVar10 | 2;\n      *param_4 = uVar11;\n    }\n  }" (else "else") (compound_statement "{\n    uVar11 = (*(code *)PTR___strtoull_internal_0002a2d8)(param_1,param_2,param_3,0);\n    if ((byte *)*param_2 == param_1) {\n      if (param_5 != 0) {\n        iVar9 = (int)(char)*param_1;\n        if (iVar9 != 0) {\n          iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n          if (iVar7 != 0) {\n            uVar11 = 1;\n            uVar10 = 0;\n            goto LAB_00016178;\n          }\n        }\n      }\n      goto LAB_00016148;\n    }\n    uVar10 = 0;\n    if (*piVar4 != 0) {\n      if (*piVar4 != 0x22) goto LAB_00016148;\n      uVar10 = 1;\n    }\n    if (param_5 == 0) {\nLAB_000160d8:\n      *param_4 = uVar11;\n    }\n    else {\n      iVar9 = (int)(char)*(byte *)*param_2;\n      if (iVar9 == 0) goto LAB_000160d8;\n      iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n      if (iVar7 != 0) {\nLAB_00016178:\n        uVar6 = iVar9 - 0x45U & 0xff;\n        if (uVar6 < 0x30) {\n                    \n                    \n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();\n          return uVar10;\n        }\n        uVar6 = iVar9 - 0x42U & 0xff;\n        if (uVar6 < 0x36) {\n                    \n                    \n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);\n          return uVar10;\n        }\n      }\n      uVar10 = uVar10 | 2;\n      *param_4 = uVar11;\n    }\n  }" ({ "{") (expression_statement "uVar11 = (*(code *)PTR___strtoull_internal_0002a2d8)(param_1,param_2,param_3,0);" (assignment_expression "uVar11 = (*(code *)PTR___strtoull_internal_0002a2d8)(param_1,param_2,param_3,0)" (identifier "uVar11") (= "=") (call_expression "(*(code *)PTR___strtoull_internal_0002a2d8)(param_1,param_2,param_3,0)" (parenthesized_expression "(*(code *)PTR___strtoull_internal_0002a2d8)" (( "(") (pointer_expression "*(code *)PTR___strtoull_internal_0002a2d8" (* "*") (cast_expression "(code *)PTR___strtoull_internal_0002a2d8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___strtoull_internal_0002a2d8"))) () ")")) (argument_list "(param_1,param_2,param_3,0)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if ((byte *)*param_2 == param_1) {\n      if (param_5 != 0) {\n        iVar9 = (int)(char)*param_1;\n        if (iVar9 != 0) {\n          iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n          if (iVar7 != 0) {\n            uVar11 = 1;\n            uVar10 = 0;\n            goto LAB_00016178;\n          }\n        }\n      }\n      goto LAB_00016148;\n    }" (if "if") (parenthesized_expression "((byte *)*param_2 == param_1)" (( "(") (binary_expression "(byte *)*param_2 == param_1" (cast_expression "(byte *)*param_2" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (== "==") (identifier "param_1")) () ")")) (compound_statement "{\n      if (param_5 != 0) {\n        iVar9 = (int)(char)*param_1;\n        if (iVar9 != 0) {\n          iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n          if (iVar7 != 0) {\n            uVar11 = 1;\n            uVar10 = 0;\n            goto LAB_00016178;\n          }\n        }\n      }\n      goto LAB_00016148;\n    }" ({ "{") (if_statement "if (param_5 != 0) {\n        iVar9 = (int)(char)*param_1;\n        if (iVar9 != 0) {\n          iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n          if (iVar7 != 0) {\n            uVar11 = 1;\n            uVar10 = 0;\n            goto LAB_00016178;\n          }\n        }\n      }" (if "if") (parenthesized_expression "(param_5 != 0)" (( "(") (binary_expression "param_5 != 0" (identifier "param_5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        iVar9 = (int)(char)*param_1;\n        if (iVar9 != 0) {\n          iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n          if (iVar7 != 0) {\n            uVar11 = 1;\n            uVar10 = 0;\n            goto LAB_00016178;\n          }\n        }\n      }" ({ "{") (expression_statement "iVar9 = (int)(char)*param_1;" (assignment_expression "iVar9 = (int)(char)*param_1" (identifier "iVar9") (= "=") (cast_expression "(int)(char)*param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (cast_expression "(char)*param_1" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1"))))) (; ";")) (if_statement "if (iVar9 != 0) {\n          iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n          if (iVar7 != 0) {\n            uVar11 = 1;\n            uVar10 = 0;\n            goto LAB_00016178;\n          }\n        }" (if "if") (parenthesized_expression "(iVar9 != 0)" (( "(") (binary_expression "iVar9 != 0" (identifier "iVar9") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n          if (iVar7 != 0) {\n            uVar11 = 1;\n            uVar10 = 0;\n            goto LAB_00016178;\n          }\n        }" ({ "{") (expression_statement "iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);" (assignment_expression "iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9)" (identifier "iVar7") (= "=") (call_expression "(*(code *)PTR_strchr_0002a280)(param_5,iVar9)" (parenthesized_expression "(*(code *)PTR_strchr_0002a280)" (( "(") (pointer_expression "*(code *)PTR_strchr_0002a280" (* "*") (cast_expression "(code *)PTR_strchr_0002a280" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strchr_0002a280"))) () ")")) (argument_list "(param_5,iVar9)" (( "(") (identifier "param_5") (, ",") (identifier "iVar9") () ")")))) (; ";")) (if_statement "if (iVar7 != 0) {\n            uVar11 = 1;\n            uVar10 = 0;\n            goto LAB_00016178;\n          }" (if "if") (parenthesized_expression "(iVar7 != 0)" (( "(") (binary_expression "iVar7 != 0" (identifier "iVar7") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            uVar11 = 1;\n            uVar10 = 0;\n            goto LAB_00016178;\n          }" ({ "{") (expression_statement "uVar11 = 1;" (assignment_expression "uVar11 = 1" (identifier "uVar11") (= "=") (number_literal "1")) (; ";")) (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" (identifier "uVar10") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_00016178;" (goto "goto") (statement_identifier "LAB_00016178") (; ";")) (} "}"))) (} "}"))) (} "}"))) (goto_statement "goto LAB_00016148;" (goto "goto") (statement_identifier "LAB_00016148") (; ";")) (} "}"))) (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" (identifier "uVar10") (= "=") (number_literal "0")) (; ";")) (if_statement "if (*piVar4 != 0) {\n      if (*piVar4 != 0x22) goto LAB_00016148;\n      uVar10 = 1;\n    }" (if "if") (parenthesized_expression "(*piVar4 != 0)" (( "(") (binary_expression "*piVar4 != 0" (pointer_expression "*piVar4" (* "*") (identifier "piVar4")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      if (*piVar4 != 0x22) goto LAB_00016148;\n      uVar10 = 1;\n    }" ({ "{") (if_statement "if (*piVar4 != 0x22) goto LAB_00016148;" (if "if") (parenthesized_expression "(*piVar4 != 0x22)" (( "(") (binary_expression "*piVar4 != 0x22" (pointer_expression "*piVar4" (* "*") (identifier "piVar4")) (!= "!=") (number_literal "0x22")) () ")")) (goto_statement "goto LAB_00016148;" (goto "goto") (statement_identifier "LAB_00016148") (; ";"))) (expression_statement "uVar10 = 1;" (assignment_expression "uVar10 = 1" (identifier "uVar10") (= "=") (number_literal "1")) (; ";")) (} "}"))) (if_statement "if (param_5 == 0) {\nLAB_000160d8:\n      *param_4 = uVar11;\n    }\n    else {\n      iVar9 = (int)(char)*(byte *)*param_2;\n      if (iVar9 == 0) goto LAB_000160d8;\n      iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n      if (iVar7 != 0) {\nLAB_00016178:\n        uVar6 = iVar9 - 0x45U & 0xff;\n        if (uVar6 < 0x30) {\n                    \n                    \n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();\n          return uVar10;\n        }\n        uVar6 = iVar9 - 0x42U & 0xff;\n        if (uVar6 < 0x36) {\n                    \n                    \n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);\n          return uVar10;\n        }\n      }\n      uVar10 = uVar10 | 2;\n      *param_4 = uVar11;\n    }" (if "if") (parenthesized_expression "(param_5 == 0)" (( "(") (binary_expression "param_5 == 0" (identifier "param_5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_000160d8:\n      *param_4 = uVar11;\n    }" ({ "{") (labeled_statement "LAB_000160d8:\n      *param_4 = uVar11;" (statement_identifier "LAB_000160d8") (: ":") (expression_statement "*param_4 = uVar11;" (assignment_expression "*param_4 = uVar11" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (= "=") (identifier "uVar11")) (; ";"))) (} "}")) (else_clause "else {\n      iVar9 = (int)(char)*(byte *)*param_2;\n      if (iVar9 == 0) goto LAB_000160d8;\n      iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n      if (iVar7 != 0) {\nLAB_00016178:\n        uVar6 = iVar9 - 0x45U & 0xff;\n        if (uVar6 < 0x30) {\n                    \n                    \n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();\n          return uVar10;\n        }\n        uVar6 = iVar9 - 0x42U & 0xff;\n        if (uVar6 < 0x36) {\n                    \n                    \n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);\n          return uVar10;\n        }\n      }\n      uVar10 = uVar10 | 2;\n      *param_4 = uVar11;\n    }" (else "else") (compound_statement "{\n      iVar9 = (int)(char)*(byte *)*param_2;\n      if (iVar9 == 0) goto LAB_000160d8;\n      iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);\n      if (iVar7 != 0) {\nLAB_00016178:\n        uVar6 = iVar9 - 0x45U & 0xff;\n        if (uVar6 < 0x30) {\n                    \n                    \n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();\n          return uVar10;\n        }\n        uVar6 = iVar9 - 0x42U & 0xff;\n        if (uVar6 < 0x36) {\n                    \n                    \n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);\n          return uVar10;\n        }\n      }\n      uVar10 = uVar10 | 2;\n      *param_4 = uVar11;\n    }" ({ "{") (expression_statement "iVar9 = (int)(char)*(byte *)*param_2;" (assignment_expression "iVar9 = (int)(char)*(byte *)*param_2" (identifier "iVar9") (= "=") (cast_expression "(int)(char)*(byte *)*param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (cast_expression "(char)*(byte *)*param_2" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (pointer_expression "*(byte *)*param_2" (* "*") (cast_expression "(byte *)*param_2" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2"))))))) (; ";")) (if_statement "if (iVar9 == 0) goto LAB_000160d8;" (if "if") (parenthesized_expression "(iVar9 == 0)" (( "(") (binary_expression "iVar9 == 0" (identifier "iVar9") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_000160d8;" (goto "goto") (statement_identifier "LAB_000160d8") (; ";"))) (expression_statement "iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);" (assignment_expression "iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9)" (identifier "iVar7") (= "=") (call_expression "(*(code *)PTR_strchr_0002a280)(param_5,iVar9)" (parenthesized_expression "(*(code *)PTR_strchr_0002a280)" (( "(") (pointer_expression "*(code *)PTR_strchr_0002a280" (* "*") (cast_expression "(code *)PTR_strchr_0002a280" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strchr_0002a280"))) () ")")) (argument_list "(param_5,iVar9)" (( "(") (identifier "param_5") (, ",") (identifier "iVar9") () ")")))) (; ";")) (if_statement "if (iVar7 != 0) {\nLAB_00016178:\n        uVar6 = iVar9 - 0x45U & 0xff;\n        if (uVar6 < 0x30) {\n                    \n                    \n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();\n          return uVar10;\n        }\n        uVar6 = iVar9 - 0x42U & 0xff;\n        if (uVar6 < 0x36) {\n                    \n                    \n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);\n          return uVar10;\n        }\n      }" (if "if") (parenthesized_expression "(iVar7 != 0)" (( "(") (binary_expression "iVar7 != 0" (identifier "iVar7") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\nLAB_00016178:\n        uVar6 = iVar9 - 0x45U & 0xff;\n        if (uVar6 < 0x30) {\n                    \n                    \n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();\n          return uVar10;\n        }\n        uVar6 = iVar9 - 0x42U & 0xff;\n        if (uVar6 < 0x36) {\n                    \n                    \n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);\n          return uVar10;\n        }\n      }" ({ "{") (labeled_statement "LAB_00016178:\n        uVar6 = iVar9 - 0x45U & 0xff;" (statement_identifier "LAB_00016178") (: ":") (expression_statement "uVar6 = iVar9 - 0x45U & 0xff;" (assignment_expression "uVar6 = iVar9 - 0x45U & 0xff" (identifier "uVar6") (= "=") (binary_expression "iVar9 - 0x45U & 0xff" (binary_expression "iVar9 - 0x45U" (identifier "iVar9") (- "-") (number_literal "0x45U")) (& "&") (number_literal "0xff"))) (; ";"))) (if_statement "if (uVar6 < 0x30) {\n                    \n                    \n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();\n          return uVar10;\n        }" (if "if") (parenthesized_expression "(uVar6 < 0x30)" (( "(") (binary_expression "uVar6 < 0x30" (identifier "uVar6") (< "<") (number_literal "0x30")) () ")")) (compound_statement "{\n                    \n                    \n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();\n          return uVar10;\n        }" ({ "{") (expression_statement "uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();" (assignment_expression "uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))()" (identifier "uVar10") (= "=") (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))" (( "(") (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000))" (* "*") (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000))" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000))" (( "(") (binary_expression "&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)" (pointer_expression "&_gp_1" (& "&") (identifier "_gp_1")) (+ "+") (pointer_expression "*(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)" (* "*") (cast_expression "(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0002a108 + uVar6 * 4 + -26000)" (( "(") (binary_expression "PTR_DAT_0002a108 + uVar6 * 4 + -26000" (binary_expression "PTR_DAT_0002a108 + uVar6 * 4" (identifier "PTR_DAT_0002a108") (+ "+") (binary_expression "uVar6 * 4" (identifier "uVar6") (* "*") (number_literal "4"))) (+ "+") (number_literal "-26000")) () ")"))))) () ")")))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return uVar10;" (return "return") (identifier "uVar10") (; ";")) (} "}"))) (expression_statement "uVar6 = iVar9 - 0x42U & 0xff;" (assignment_expression "uVar6 = iVar9 - 0x42U & 0xff" (identifier "uVar6") (= "=") (binary_expression "iVar9 - 0x42U & 0xff" (binary_expression "iVar9 - 0x42U" (identifier "iVar9") (- "-") (number_literal "0x42U")) (& "&") (number_literal "0xff"))) (; ";")) (if_statement "if (uVar6 < 0x36) {\n                    \n                    \n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);\n          return uVar10;\n        }" (if "if") (parenthesized_expression "(uVar6 < 0x36)" (( "(") (binary_expression "uVar6 < 0x36" (identifier "uVar6") (< "<") (number_literal "0x36")) () ")")) (compound_statement "{\n                    \n                    \n          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);\n          return uVar10;\n        }" ({ "{") (expression_statement "uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);" (assignment_expression "uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1)" (identifier "uVar10") (= "=") (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1)" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))" (( "(") (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410))" (* "*") (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410))" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410))" (( "(") (binary_expression "&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)" (pointer_expression "&_gp_1" (& "&") (identifier "_gp_1")) (+ "+") (pointer_expression "*(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)" (* "*") (cast_expression "(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)" (( "(") (binary_expression "PTR_DAT_0002a108 + uVar6 * 4 + -0x6410" (binary_expression "PTR_DAT_0002a108 + uVar6 * 4" (identifier "PTR_DAT_0002a108") (+ "+") (binary_expression "uVar6 * 4" (identifier "uVar6") (* "*") (number_literal "4"))) (+ "+") (number_literal "-0x6410")) () ")"))))) () ")")))) () ")")) (argument_list "(1)" (( "(") (number_literal "1") () ")")))) (; ";")) (return_statement "return uVar10;" (return "return") (identifier "uVar10") (; ";")) (} "}"))) (} "}"))) (expression_statement "uVar10 = uVar10 | 2;" (assignment_expression "uVar10 = uVar10 | 2" (identifier "uVar10") (= "=") (binary_expression "uVar10 | 2" (identifier "uVar10") (| "|") (number_literal "2"))) (; ";")) (expression_statement "*param_4 = uVar11;" (assignment_expression "*param_4 = uVar11" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (= "=") (identifier "uVar11")) (; ";")) (} "}")))) (} "}")))) (if_statement "if (local_2c == *(int *)puVar3) {\n    return uVar10;\n  }" (if "if") (parenthesized_expression "(local_2c == *(int *)puVar3)" (( "(") (binary_expression "local_2c == *(int *)puVar3" (identifier "local_2c") (== "==") (pointer_expression "*(int *)puVar3" (* "*") (cast_expression "(int *)puVar3" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar3")))) () ")")) (compound_statement "{\n    return uVar10;\n  }" ({ "{") (return_statement "return uVar10;" (return "return") (identifier "uVar10") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR___stack_chk_fail_0002a2c8)();" (call_expression "(*(code *)PTR___stack_chk_fail_0002a2c8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0002a2c8)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_0002a2c8" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_0002a2c8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_0002a2c8"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (labeled_statement "LAB_000167fc:\n  uVar10 = (*(code *)PTR___assert_fail_0002a210)\n                     (PTR_DAT_0002a108 + -0x65bc,PTR_DAT_0002a108 + -0x65cc,0x60,\n                      PTR_DAT_0002a108 + -0x6338);" (statement_identifier "LAB_000167fc") (: ":") (expression_statement "uVar10 = (*(code *)PTR___assert_fail_0002a210)\n                     (PTR_DAT_0002a108 + -0x65bc,PTR_DAT_0002a108 + -0x65cc,0x60,\n                      PTR_DAT_0002a108 + -0x6338);" (assignment_expression "uVar10 = (*(code *)PTR___assert_fail_0002a210)\n                     (PTR_DAT_0002a108 + -0x65bc,PTR_DAT_0002a108 + -0x65cc,0x60,\n                      PTR_DAT_0002a108 + -0x6338)" (identifier "uVar10") (= "=") (call_expression "(*(code *)PTR___assert_fail_0002a210)\n                     (PTR_DAT_0002a108 + -0x65bc,PTR_DAT_0002a108 + -0x65cc,0x60,\n                      PTR_DAT_0002a108 + -0x6338)" (parenthesized_expression "(*(code *)PTR___assert_fail_0002a210)" (( "(") (pointer_expression "*(code *)PTR___assert_fail_0002a210" (* "*") (cast_expression "(code *)PTR___assert_fail_0002a210" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_0002a210"))) () ")")) (argument_list "(PTR_DAT_0002a108 + -0x65bc,PTR_DAT_0002a108 + -0x65cc,0x60,\n                      PTR_DAT_0002a108 + -0x6338)" (( "(") (binary_expression "PTR_DAT_0002a108 + -0x65bc" (identifier "PTR_DAT_0002a108") (+ "+") (number_literal "-0x65bc")) (, ",") (binary_expression "PTR_DAT_0002a108 + -0x65cc" (identifier "PTR_DAT_0002a108") (+ "+") (number_literal "-0x65cc")) (, ",") (number_literal "0x60") (, ",") (binary_expression "PTR_DAT_0002a108 + -0x6338" (identifier "PTR_DAT_0002a108") (+ "+") (number_literal "-0x6338")) () ")")))) (; ";"))) (return_statement "return uVar10;" (return "return") (identifier "uVar10") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) 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: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator 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: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (goto_statement label: (statement_identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))))) right: (number_literal))) right: (number_literal))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier) (identifier) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))) right: (identifier))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier))))) (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: (number_literal))) (goto_statement label: (statement_identifier)))))))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (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: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))))))))) arguments: (argument_list)))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (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: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))))))))) arguments: (argument_list (number_literal))))) (return_statement (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) consequence: (compound_statement (return_statement (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal))))))) (return_statement (identifier)))))

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

{
  byte bVar1;
  undefined *puVar2;
  undefined *puVar3;
  int *piVar4;
  int *piVar5;
  uint uVar6;
  int iVar7;
  byte *pbVar8;
  int iVar9;
  uint uVar10;
  undefined8 uVar11;
  undefined4 uStack_30;
  int local_2c;
  
  puVar3 = PTR___stack_chk_guard_0002a2e0;
  local_2c = *(int *)PTR___stack_chk_guard_0002a2e0;
  if (0x24 < param_3) goto LAB_000167fc;
  if (param_2 == (undefined4 *)0x0) {
    param_2 = &uStack_30;
  }
  piVar4 = (int *)(*(code *)PTR___errno_location_0002a268)();
  puVar2 = PTR___ctype_b_loc_0002a20c;
  *piVar4 = 0;
  piVar5 = (int *)(*(code *)puVar2)();
  bVar1 = *param_1;
  pbVar8 = param_1;
  while( true ) {
    pbVar8 = pbVar8 + 1;
    if ((*(ushort *)(*piVar5 + (uint)bVar1 * 2) & 0x20) == 0) break;
    bVar1 = *pbVar8;
  }
  if (bVar1 == 0x2d) {
LAB_00016148:
    uVar10 = 4;
  }
  else {
    uVar11 = (*(code *)PTR___strtoull_internal_0002a2d8)(param_1,param_2,param_3,0);
    if ((byte *)*param_2 == param_1) {
      if (param_5 != 0) {
        iVar9 = (int)(char)*param_1;
        if (iVar9 != 0) {
          iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);
          if (iVar7 != 0) {
            uVar11 = 1;
            uVar10 = 0;
            goto LAB_00016178;
          }
        }
      }
      goto LAB_00016148;
    }
    uVar10 = 0;
    if (*piVar4 != 0) {
      if (*piVar4 != 0x22) goto LAB_00016148;
      uVar10 = 1;
    }
    if (param_5 == 0) {
LAB_000160d8:
      *param_4 = uVar11;
    }
    else {
      iVar9 = (int)(char)*(byte *)*param_2;
      if (iVar9 == 0) goto LAB_000160d8;
      iVar7 = (*(code *)PTR_strchr_0002a280)(param_5,iVar9);
      if (iVar7 != 0) {
LAB_00016178:
        uVar6 = iVar9 - 0x45U & 0xff;
        if (uVar6 < 0x30) {
                    /* WARNING: Could not emulate address calculation at 0x00016194 */
                    /* WARNING: Treating indirect jump as call */
          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -26000)))();
          return uVar10;
        }
        uVar6 = iVar9 - 0x42U & 0xff;
        if (uVar6 < 0x36) {
                    /* WARNING: Could not emulate address calculation at 0x00016268 */
                    /* WARNING: Treating indirect jump as call */
          uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002a108 + uVar6 * 4 + -0x6410)))(1);
          return uVar10;
        }
      }
      uVar10 = uVar10 | 2;
      *param_4 = uVar11;
    }
  }
  if (local_2c == *(int *)puVar3) {
    return uVar10;
  }
  (*(code *)PTR___stack_chk_fail_0002a2c8)();
LAB_000167fc:
  uVar10 = (*(code *)PTR___assert_fail_0002a210)
                     (PTR_DAT_0002a108 + -0x65bc,PTR_DAT_0002a108 + -0x65cc,0x60,
                      PTR_DAT_0002a108 + -0x6338);
  return uVar10;
}

