
ulong parse_blocksize(char *bs)

{
  byte bVar1;
  ulong uVar2;
  int *piVar3;
  char cVar4;
  char *pcVar5;
  char *pcVar6;
  char **ppcVar7;
  uint uVar8;
  undefined *puVar9;
  char *suf;
  char *local_1c;
  
  puVar9 = PTR___stack_chk_guard_00079930;
  ppcVar7 = &suf;
  local_1c = *(char **)PTR___stack_chk_guard_00079930;
  uVar2 = (*(code *)PTR_strtoul_00079754)(bs,ppcVar7,10);
  pcVar5 = suf;
  uVar8 = (uint)*suf;
  if (uVar8 != 0) {
    piVar3 = (int *)(*(code *)PTR___ctype_b_loc_000797fc)();
    do {
      pcVar5 = pcVar5 + 1;
      if ((*(ushort *)(*piVar3 + (uVar8 & 0xff) * 2) & 0x20) == 0) {
        uVar8 = uVar8 - 0x47 & 0xff;
        if (uVar8 < 0x27) {
                    /* WARNING: Could not emulate address calculation at 0x0001c19c */
                    /* WARNING: Treating indirect jump as call */
          uVar2 = (*(code *)(&_gp + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))();
          return uVar2;
        }
        break;
      }
      uVar8 = (uint)*pcVar5;
      suf = pcVar5;
    } while (uVar8 != 0);
  }
  if (local_1c == *(char **)puVar9) {
    return uVar2;
  }
  pcVar5 = local_1c;
  puVar9 = PTR___stack_chk_fail_000797f0;
  (*(code *)PTR___stack_chk_fail_000797f0)();
  if (*pcVar5 == '^') {
    bVar1 = pcVar5[1];
    uVar8 = (uint)(char)bVar1;
    if (uVar8 != 0) {
      if (uVar8 != 0x3c) {
        if (bVar1 - 0x61 < 0x1a) {
          *ppcVar7 = pcVar5 + 2;
          return (int)(char)(bVar1 + 0xa0);
        }
        if ((0x20 < bVar1 - 0x3f) && (-1 < (int)uVar8)) {
          if (uVar8 != 0x7e) {
            return 0;
          }
          *ppcVar7 = pcVar5 + 2;
          return 0x5e;
        }
        *ppcVar7 = pcVar5 + 2;
        return uVar8 ^ 0x40;
      }
      cVar4 = (**(code **)(puVar9 + 0x5d5e8))(pcVar5 + 2);
      pcVar6 = *ppcVar7;
      if ((pcVar6 != pcVar5 + 2) && (*pcVar6 == '>')) {
        *ppcVar7 = pcVar6 + 1;
        return (int)cVar4;
      }
    }
  }
  *ppcVar7 = (char *)0x0;
  return 0;
}



uint FUN_0001c0dc(undefined4 param_1)

{
  byte bVar1;
  uint uVar2;
  int *piVar3;
  char cVar4;
  char *pcVar5;
  char *pcVar6;
  char **ppcVar7;
  uint uVar8;
  undefined *puVar9;
  char *local_20;
  char *local_1c;
  
  puVar9 = PTR___stack_chk_guard_00079930;
  ppcVar7 = &local_20;
  local_1c = *(char **)PTR___stack_chk_guard_00079930;
  uVar2 = (*(code *)PTR_strtoul_00079754)(param_1,ppcVar7,10);
  pcVar5 = local_20;
  uVar8 = (uint)*local_20;
  if (uVar8 != 0) {
    piVar3 = (int *)(*(code *)PTR___ctype_b_loc_000797fc)();
    do {
      pcVar5 = pcVar5 + 1;
      if ((*(ushort *)(*piVar3 + (uVar8 & 0xff) * 2) & 0x20) == 0) {
        uVar8 = uVar8 - 0x47 & 0xff;
        if (uVar8 < 0x27) {
                    /* WARNING: Could not emulate address calculation at 0x0001c19c */
                    /* WARNING: Treating indirect jump as call */
          uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))();
          return uVar2;
        }
        break;
      }
      uVar8 = (uint)*pcVar5;
      local_20 = pcVar5;
    } while (uVar8 != 0);
  }
  if (local_1c == *(char **)puVar9) {
    return uVar2;
  }
  pcVar5 = local_1c;
  puVar9 = PTR___stack_chk_fail_000797f0;
  (*(code *)PTR___stack_chk_fail_000797f0)();
  if (*pcVar5 == '^') {
    bVar1 = pcVar5[1];
    uVar2 = (uint)(char)bVar1;
    if (uVar2 != 0) {
      if (uVar2 != 0x3c) {
        if (bVar1 - 0x61 < 0x1a) {
          *ppcVar7 = pcVar5 + 2;
          return (int)(char)(bVar1 + 0xa0);
        }
        if ((0x20 < bVar1 - 0x3f) && (-1 < (int)uVar2)) {
          if (uVar2 != 0x7e) {
            return 0;
          }
          *ppcVar7 = pcVar5 + 2;
          return 0x5e;
        }
        *ppcVar7 = pcVar5 + 2;
        return uVar2 ^ 0x40;
      }
      cVar4 = (**(code **)(puVar9 + 0x5d5e8))(pcVar5 + 2);
      pcVar6 = *ppcVar7;
      if ((pcVar6 != pcVar5 + 2) && (*pcVar6 == '>')) {
        *ppcVar7 = pcVar6 + 1;
        return (int)cVar4;
      }
    }
  }
  *ppcVar7 = (char *)0x0;
  return 0;
}


lui gp,0x6
addiu gp,gp,0x4f94
addu gp,gp,t9
addiu sp,sp,-0x38
lw t9,-0x791c(gp)
li a2,0xa
addiu a1,sp,0x18
sw s2,0x2c(sp)
lw s2,-0x7740(gp)
sw gp,0x10(sp)
sw s3,0x30(sp)
sw s1,0x28(sp)
sw s0,0x24(sp)
sw ra,0x34(sp)
lw v0,0x0(s2)
sw v0,0x1c(sp)
jalr t9
_nop
lw s0,0x18(sp)
or s3,v0,zero
lb s1,0x0(s0)
beq s1,zero,0x0001c1b4
_lw gp,0x10(sp)
lw t9,-0x7874(gp)
jalr t9
_nop
addiu v1,s0,0x1
lw gp,0x10(sp)
b 0x0001c168
_lw a0,0x0(v0)
sw v1,0x18(sp)
addiu v1,v1,0x1
lb s1,-0x1(v1)
beq s1,zero,0x0001c1b4
_nop
andi v0,s1,0xff
sll v0,v0,0x1
addu v0,a0,v0
lhu v0,0x0(v0)
andi v0,v0,0x20
bne v0,zero,0x0001c154
_addiu s1,s1,-0x47
andi s1,s1,0xff
sltiu v0,s1,0x27
beq v0,zero,0x0001c1b4
_lw v0,-0x7fc8(gp)
sll s1,s1,0x2
addiu v0,v0,-0x1be0
addu s1,v0,s1
lw v0,0x0(s1)
addu v0,v0,gp
jr v0
_nop
sll s3,s3,0x1e
lw a0,0x1c(sp)
or v0,s3,zero
lw v1,0x0(s2)
bne a0,v1,0x0001c1f0
_lw ra,0x34(sp)
lw s3,0x30(sp)
lw s2,0x2c(sp)
lw s1,0x28(sp)
lw s0,0x24(sp)
jr ra
_addiu sp,sp,0x38
b 0x0001c1b4
_sll s3,s3,0x14
b 0x0001c1b4
_sll s3,s3,0xa
lw t9,-0x7880(gp)
jalr t9
_nop
lui gp,0x6
addiu gp,gp,0x4e74
addu gp,gp,t9
addiu sp,sp,-0x28
li v1,0x5e
sw s1,0x20(sp)
sw gp,0x10(sp)
sw ra,0x24(sp)
sw s0,0x1c(sp)
lb v0,0x0(a0)
beq v0,v1,0x0001c248
_or s1,a1,zero
or v0,zero,zero
sw zero,0x0(s1)
lw ra,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
lb v1,0x1(a0)
beq v1,zero,0x0001c22c
_li a2,0x3c
beq v1,a2,0x0001c2c0
_lw t9,-0x788c(gp)
andi a1,v1,0xff
addiu a2,a1,-0x61
sltiu a2,a2,0x1a
beq a2,zero,0x0001c284
_nop
addiu v0,a1,-0x60
addiu a0,a0,0x2
seb v0,v0
b 0x0001c234
_sw a0,0x0(s1)
addiu a1,a1,-0x3f
sltiu a1,a1,0x21
bne a1,zero,0x0001c2b0
_nop
bltz v1,0x0001c2b0
_nop
li a1,0x7e
beq v1,a1,0x0001c2f8
_nop
b 0x0001c234
_or v0,zero,zero
addiu a0,a0,0x2
xori v0,v1,0x40
b 0x0001c234
_sw a0,0x0(s1)
addiu s0,a0,0x2
or a2,zero,zero
jalr t9
_or a0,s0,zero
lw v1,0x0(s1)
beq v1,s0,0x0001c22c
_nop
lb a1,0x0(v1)
li a0,0x3e
bne a1,a0,0x0001c22c
_addiu v1,v1,0x1
seb v0,v0
b 0x0001c234
_sw v1,0x0(s1)
addiu a0,a0,0x2
b 0x0001c234
_sw a0,0x0(s1)
(translation_unit "uint FUN_0001c0dc(undefined4 param_1)\n\n{\n  byte bVar1;\n  uint uVar2;\n  int *piVar3;\n  char cVar4;\n  char *pcVar5;\n  char *pcVar6;\n  char **ppcVar7;\n  uint uVar8;\n  undefined *puVar9;\n  char *local_20;\n  char *local_1c;\n  \n  puVar9 = PTR___stack_chk_guard_00079930;\n  ppcVar7 = &local_20;\n  local_1c = *(char **)PTR___stack_chk_guard_00079930;\n  uVar2 = (*(code *)PTR_strtoul_00079754)(param_1,ppcVar7,10);\n  pcVar5 = local_20;\n  uVar8 = (uint)*local_20;\n  if (uVar8 != 0) {\n    piVar3 = (int *)(*(code *)PTR___ctype_b_loc_000797fc)();\n    do {\n      pcVar5 = pcVar5 + 1;\n      if ((*(ushort *)(*piVar3 + (uVar8 & 0xff) * 2) & 0x20) == 0) {\n        uVar8 = uVar8 - 0x47 & 0xff;\n        if (uVar8 < 0x27) {\n                    /* WARNING: Could not emulate address calculation at 0x0001c19c */\n                    /* WARNING: Treating indirect jump as call */\n          uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))();\n          return uVar2;\n        }\n        break;\n      }\n      uVar8 = (uint)*pcVar5;\n      local_20 = pcVar5;\n    } while (uVar8 != 0);\n  }\n  if (local_1c == *(char **)puVar9) {\n    return uVar2;\n  }\n  pcVar5 = local_1c;\n  puVar9 = PTR___stack_chk_fail_000797f0;\n  (*(code *)PTR___stack_chk_fail_000797f0)();\n  if (*pcVar5 == '^') {\n    bVar1 = pcVar5[1];\n    uVar2 = (uint)(char)bVar1;\n    if (uVar2 != 0) {\n      if (uVar2 != 0x3c) {\n        if (bVar1 - 0x61 < 0x1a) {\n          *ppcVar7 = pcVar5 + 2;\n          return (int)(char)(bVar1 + 0xa0);\n        }\n        if ((0x20 < bVar1 - 0x3f) && (-1 < (int)uVar2)) {\n          if (uVar2 != 0x7e) {\n            return 0;\n          }\n          *ppcVar7 = pcVar5 + 2;\n          return 0x5e;\n        }\n        *ppcVar7 = pcVar5 + 2;\n        return uVar2 ^ 0x40;\n      }\n      cVar4 = (**(code **)(puVar9 + 0x5d5e8))(pcVar5 + 2);\n      pcVar6 = *ppcVar7;\n      if ((pcVar6 != pcVar5 + 2) && (*pcVar6 == '>')) {\n        *ppcVar7 = pcVar6 + 1;\n        return (int)cVar4;\n      }\n    }\n  }\n  *ppcVar7 = (char *)0x0;\n  return 0;\n}\n\n" (function_definition "uint FUN_0001c0dc(undefined4 param_1)\n\n{\n  byte bVar1;\n  uint uVar2;\n  int *piVar3;\n  char cVar4;\n  char *pcVar5;\n  char *pcVar6;\n  char **ppcVar7;\n  uint uVar8;\n  undefined *puVar9;\n  char *local_20;\n  char *local_1c;\n  \n  puVar9 = PTR___stack_chk_guard_00079930;\n  ppcVar7 = &local_20;\n  local_1c = *(char **)PTR___stack_chk_guard_00079930;\n  uVar2 = (*(code *)PTR_strtoul_00079754)(param_1,ppcVar7,10);\n  pcVar5 = local_20;\n  uVar8 = (uint)*local_20;\n  if (uVar8 != 0) {\n    piVar3 = (int *)(*(code *)PTR___ctype_b_loc_000797fc)();\n    do {\n      pcVar5 = pcVar5 + 1;\n      if ((*(ushort *)(*piVar3 + (uVar8 & 0xff) * 2) & 0x20) == 0) {\n        uVar8 = uVar8 - 0x47 & 0xff;\n        if (uVar8 < 0x27) {\n                    /* WARNING: Could not emulate address calculation at 0x0001c19c */\n                    /* WARNING: Treating indirect jump as call */\n          uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))();\n          return uVar2;\n        }\n        break;\n      }\n      uVar8 = (uint)*pcVar5;\n      local_20 = pcVar5;\n    } while (uVar8 != 0);\n  }\n  if (local_1c == *(char **)puVar9) {\n    return uVar2;\n  }\n  pcVar5 = local_1c;\n  puVar9 = PTR___stack_chk_fail_000797f0;\n  (*(code *)PTR___stack_chk_fail_000797f0)();\n  if (*pcVar5 == '^') {\n    bVar1 = pcVar5[1];\n    uVar2 = (uint)(char)bVar1;\n    if (uVar2 != 0) {\n      if (uVar2 != 0x3c) {\n        if (bVar1 - 0x61 < 0x1a) {\n          *ppcVar7 = pcVar5 + 2;\n          return (int)(char)(bVar1 + 0xa0);\n        }\n        if ((0x20 < bVar1 - 0x3f) && (-1 < (int)uVar2)) {\n          if (uVar2 != 0x7e) {\n            return 0;\n          }\n          *ppcVar7 = pcVar5 + 2;\n          return 0x5e;\n        }\n        *ppcVar7 = pcVar5 + 2;\n        return uVar2 ^ 0x40;\n      }\n      cVar4 = (**(code **)(puVar9 + 0x5d5e8))(pcVar5 + 2);\n      pcVar6 = *ppcVar7;\n      if ((pcVar6 != pcVar5 + 2) && (*pcVar6 == '>')) {\n        *ppcVar7 = pcVar6 + 1;\n        return (int)cVar4;\n      }\n    }\n  }\n  *ppcVar7 = (char *)0x0;\n  return 0;\n}" type_identifier (function_declarator "FUN_0001c0dc(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  byte bVar1;\n  uint uVar2;\n  int *piVar3;\n  char cVar4;\n  char *pcVar5;\n  char *pcVar6;\n  char **ppcVar7;\n  uint uVar8;\n  undefined *puVar9;\n  char *local_20;\n  char *local_1c;\n  \n  puVar9 = PTR___stack_chk_guard_00079930;\n  ppcVar7 = &local_20;\n  local_1c = *(char **)PTR___stack_chk_guard_00079930;\n  uVar2 = (*(code *)PTR_strtoul_00079754)(param_1,ppcVar7,10);\n  pcVar5 = local_20;\n  uVar8 = (uint)*local_20;\n  if (uVar8 != 0) {\n    piVar3 = (int *)(*(code *)PTR___ctype_b_loc_000797fc)();\n    do {\n      pcVar5 = pcVar5 + 1;\n      if ((*(ushort *)(*piVar3 + (uVar8 & 0xff) * 2) & 0x20) == 0) {\n        uVar8 = uVar8 - 0x47 & 0xff;\n        if (uVar8 < 0x27) {\n                    /* WARNING: Could not emulate address calculation at 0x0001c19c */\n                    /* WARNING: Treating indirect jump as call */\n          uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))();\n          return uVar2;\n        }\n        break;\n      }\n      uVar8 = (uint)*pcVar5;\n      local_20 = pcVar5;\n    } while (uVar8 != 0);\n  }\n  if (local_1c == *(char **)puVar9) {\n    return uVar2;\n  }\n  pcVar5 = local_1c;\n  puVar9 = PTR___stack_chk_fail_000797f0;\n  (*(code *)PTR___stack_chk_fail_000797f0)();\n  if (*pcVar5 == '^') {\n    bVar1 = pcVar5[1];\n    uVar2 = (uint)(char)bVar1;\n    if (uVar2 != 0) {\n      if (uVar2 != 0x3c) {\n        if (bVar1 - 0x61 < 0x1a) {\n          *ppcVar7 = pcVar5 + 2;\n          return (int)(char)(bVar1 + 0xa0);\n        }\n        if ((0x20 < bVar1 - 0x3f) && (-1 < (int)uVar2)) {\n          if (uVar2 != 0x7e) {\n            return 0;\n          }\n          *ppcVar7 = pcVar5 + 2;\n          return 0x5e;\n        }\n        *ppcVar7 = pcVar5 + 2;\n        return uVar2 ^ 0x40;\n      }\n      cVar4 = (**(code **)(puVar9 + 0x5d5e8))(pcVar5 + 2);\n      pcVar6 = *ppcVar7;\n      if ((pcVar6 != pcVar5 + 2) && (*pcVar6 == '>')) {\n        *ppcVar7 = pcVar6 + 1;\n        return (int)cVar4;\n      }\n    }\n  }\n  *ppcVar7 = (char *)0x0;\n  return 0;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "char cVar4;" primitive_type identifier ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "char **ppcVar7;" primitive_type (pointer_declarator "**ppcVar7" * (pointer_declarator "*ppcVar7" * identifier)) ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "undefined *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "char *local_20;" primitive_type (pointer_declarator "*local_20" * identifier) ;) (declaration "char *local_1c;" primitive_type (pointer_declarator "*local_1c" * identifier) ;) (expression_statement "puVar9 = PTR___stack_chk_guard_00079930;" (assignment_expression "puVar9 = PTR___stack_chk_guard_00079930" identifier = identifier) ;) (expression_statement "ppcVar7 = &local_20;" (assignment_expression "ppcVar7 = &local_20" identifier = (pointer_expression "&local_20" & identifier)) ;) (expression_statement "local_1c = *(char **)PTR___stack_chk_guard_00079930;" (assignment_expression "local_1c = *(char **)PTR___stack_chk_guard_00079930" identifier = (pointer_expression "*(char **)PTR___stack_chk_guard_00079930" * (cast_expression "(char **)PTR___stack_chk_guard_00079930" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "uVar2 = (*(code *)PTR_strtoul_00079754)(param_1,ppcVar7,10);" (assignment_expression "uVar2 = (*(code *)PTR_strtoul_00079754)(param_1,ppcVar7,10)" identifier = (call_expression "(*(code *)PTR_strtoul_00079754)(param_1,ppcVar7,10)" (parenthesized_expression "(*(code *)PTR_strtoul_00079754)" ( (pointer_expression "*(code *)PTR_strtoul_00079754" * (cast_expression "(code *)PTR_strtoul_00079754" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,ppcVar7,10)" ( identifier , identifier , number_literal )))) ;) (expression_statement "pcVar5 = local_20;" (assignment_expression "pcVar5 = local_20" identifier = identifier) ;) (expression_statement "uVar8 = (uint)*local_20;" (assignment_expression "uVar8 = (uint)*local_20" identifier = (binary_expression "(uint)*local_20" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (if_statement "if (uVar8 != 0) {\n    piVar3 = (int *)(*(code *)PTR___ctype_b_loc_000797fc)();\n    do {\n      pcVar5 = pcVar5 + 1;\n      if ((*(ushort *)(*piVar3 + (uVar8 & 0xff) * 2) & 0x20) == 0) {\n        uVar8 = uVar8 - 0x47 & 0xff;\n        if (uVar8 < 0x27) {\n                    /* WARNING: Could not emulate address calculation at 0x0001c19c */\n                    /* WARNING: Treating indirect jump as call */\n          uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))();\n          return uVar2;\n        }\n        break;\n      }\n      uVar8 = (uint)*pcVar5;\n      local_20 = pcVar5;\n    } while (uVar8 != 0);\n  }" if (parenthesized_expression "(uVar8 != 0)" ( (binary_expression "uVar8 != 0" identifier != number_literal) )) (compound_statement "{\n    piVar3 = (int *)(*(code *)PTR___ctype_b_loc_000797fc)();\n    do {\n      pcVar5 = pcVar5 + 1;\n      if ((*(ushort *)(*piVar3 + (uVar8 & 0xff) * 2) & 0x20) == 0) {\n        uVar8 = uVar8 - 0x47 & 0xff;\n        if (uVar8 < 0x27) {\n                    /* WARNING: Could not emulate address calculation at 0x0001c19c */\n                    /* WARNING: Treating indirect jump as call */\n          uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))();\n          return uVar2;\n        }\n        break;\n      }\n      uVar8 = (uint)*pcVar5;\n      local_20 = pcVar5;\n    } while (uVar8 != 0);\n  }" { (expression_statement "piVar3 = (int *)(*(code *)PTR___ctype_b_loc_000797fc)();" (assignment_expression "piVar3 = (int *)(*(code *)PTR___ctype_b_loc_000797fc)()" identifier = (cast_expression "(int *)(*(code *)PTR___ctype_b_loc_000797fc)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___ctype_b_loc_000797fc)()" (parenthesized_expression "(*(code *)PTR___ctype_b_loc_000797fc)" ( (pointer_expression "*(code *)PTR___ctype_b_loc_000797fc" * (cast_expression "(code *)PTR___ctype_b_loc_000797fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (do_statement "do {\n      pcVar5 = pcVar5 + 1;\n      if ((*(ushort *)(*piVar3 + (uVar8 & 0xff) * 2) & 0x20) == 0) {\n        uVar8 = uVar8 - 0x47 & 0xff;\n        if (uVar8 < 0x27) {\n                    /* WARNING: Could not emulate address calculation at 0x0001c19c */\n                    /* WARNING: Treating indirect jump as call */\n          uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))();\n          return uVar2;\n        }\n        break;\n      }\n      uVar8 = (uint)*pcVar5;\n      local_20 = pcVar5;\n    } while (uVar8 != 0);" do (compound_statement "{\n      pcVar5 = pcVar5 + 1;\n      if ((*(ushort *)(*piVar3 + (uVar8 & 0xff) * 2) & 0x20) == 0) {\n        uVar8 = uVar8 - 0x47 & 0xff;\n        if (uVar8 < 0x27) {\n                    /* WARNING: Could not emulate address calculation at 0x0001c19c */\n                    /* WARNING: Treating indirect jump as call */\n          uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))();\n          return uVar2;\n        }\n        break;\n      }\n      uVar8 = (uint)*pcVar5;\n      local_20 = pcVar5;\n    }" { (expression_statement "pcVar5 = pcVar5 + 1;" (assignment_expression "pcVar5 = pcVar5 + 1" identifier = (binary_expression "pcVar5 + 1" identifier + number_literal)) ;) (if_statement "if ((*(ushort *)(*piVar3 + (uVar8 & 0xff) * 2) & 0x20) == 0) {\n        uVar8 = uVar8 - 0x47 & 0xff;\n        if (uVar8 < 0x27) {\n                    /* WARNING: Could not emulate address calculation at 0x0001c19c */\n                    /* WARNING: Treating indirect jump as call */\n          uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))();\n          return uVar2;\n        }\n        break;\n      }" if (parenthesized_expression "((*(ushort *)(*piVar3 + (uVar8 & 0xff) * 2) & 0x20) == 0)" ( (binary_expression "(*(ushort *)(*piVar3 + (uVar8 & 0xff) * 2) & 0x20) == 0" (parenthesized_expression "(*(ushort *)(*piVar3 + (uVar8 & 0xff) * 2) & 0x20)" ( (binary_expression "*(ushort *)(*piVar3 + (uVar8 & 0xff) * 2) & 0x20" (pointer_expression "*(ushort *)(*piVar3 + (uVar8 & 0xff) * 2)" * (cast_expression "(ushort *)(*piVar3 + (uVar8 & 0xff) * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar3 + (uVar8 & 0xff) * 2)" ( (binary_expression "*piVar3 + (uVar8 & 0xff) * 2" (pointer_expression "*piVar3" * identifier) + (binary_expression "(uVar8 & 0xff) * 2" (parenthesized_expression "(uVar8 & 0xff)" ( (binary_expression "uVar8 & 0xff" identifier & number_literal) )) * number_literal)) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n        uVar8 = uVar8 - 0x47 & 0xff;\n        if (uVar8 < 0x27) {\n                    /* WARNING: Could not emulate address calculation at 0x0001c19c */\n                    /* WARNING: Treating indirect jump as call */\n          uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))();\n          return uVar2;\n        }\n        break;\n      }" { (expression_statement "uVar8 = uVar8 - 0x47 & 0xff;" (assignment_expression "uVar8 = uVar8 - 0x47 & 0xff" identifier = (binary_expression "uVar8 - 0x47 & 0xff" (binary_expression "uVar8 - 0x47" identifier - number_literal) & number_literal)) ;) (if_statement "if (uVar8 < 0x27) {\n                    /* WARNING: Could not emulate address calculation at 0x0001c19c */\n                    /* WARNING: Treating indirect jump as call */\n          uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))();\n          return uVar2;\n        }" if (parenthesized_expression "(uVar8 < 0x27)" ( (binary_expression "uVar8 < 0x27" identifier < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not emulate address calculation at 0x0001c19c */\n                    /* WARNING: Treating indirect jump as call */\n          uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))();\n          return uVar2;\n        }" { comment comment (expression_statement "uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))();" (assignment_expression "uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))()" identifier = (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))" ( (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0))" * (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0))" ( (binary_expression "&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)" (pointer_expression "&_gp_1" & identifier) + (pointer_expression "*(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)" * (cast_expression "(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)" ( (binary_expression "PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0" (binary_expression "PTR_s_j_000790a8 + uVar8 * 4" identifier + (binary_expression "uVar8 * 4" identifier * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( )))) ;) (return_statement "return uVar2;" return identifier ;) })) (break_statement "break;" break ;) })) (expression_statement "uVar8 = (uint)*pcVar5;" (assignment_expression "uVar8 = (uint)*pcVar5" identifier = (binary_expression "(uint)*pcVar5" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "local_20 = pcVar5;" (assignment_expression "local_20 = pcVar5" identifier = identifier) ;) }) while (parenthesized_expression "(uVar8 != 0)" ( (binary_expression "uVar8 != 0" identifier != number_literal) )) ;) })) (if_statement "if (local_1c == *(char **)puVar9) {\n    return uVar2;\n  }" if (parenthesized_expression "(local_1c == *(char **)puVar9)" ( (binary_expression "local_1c == *(char **)puVar9" identifier == (pointer_expression "*(char **)puVar9" * (cast_expression "(char **)puVar9" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return uVar2;\n  }" { (return_statement "return uVar2;" return identifier ;) })) (expression_statement "pcVar5 = local_1c;" (assignment_expression "pcVar5 = local_1c" identifier = identifier) ;) (expression_statement "puVar9 = PTR___stack_chk_fail_000797f0;" (assignment_expression "puVar9 = PTR___stack_chk_fail_000797f0" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000797f0)();" (call_expression "(*(code *)PTR___stack_chk_fail_000797f0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000797f0)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000797f0" * (cast_expression "(code *)PTR___stack_chk_fail_000797f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (*pcVar5 == '^') {\n    bVar1 = pcVar5[1];\n    uVar2 = (uint)(char)bVar1;\n    if (uVar2 != 0) {\n      if (uVar2 != 0x3c) {\n        if (bVar1 - 0x61 < 0x1a) {\n          *ppcVar7 = pcVar5 + 2;\n          return (int)(char)(bVar1 + 0xa0);\n        }\n        if ((0x20 < bVar1 - 0x3f) && (-1 < (int)uVar2)) {\n          if (uVar2 != 0x7e) {\n            return 0;\n          }\n          *ppcVar7 = pcVar5 + 2;\n          return 0x5e;\n        }\n        *ppcVar7 = pcVar5 + 2;\n        return uVar2 ^ 0x40;\n      }\n      cVar4 = (**(code **)(puVar9 + 0x5d5e8))(pcVar5 + 2);\n      pcVar6 = *ppcVar7;\n      if ((pcVar6 != pcVar5 + 2) && (*pcVar6 == '>')) {\n        *ppcVar7 = pcVar6 + 1;\n        return (int)cVar4;\n      }\n    }\n  }" if (parenthesized_expression "(*pcVar5 == '^')" ( (binary_expression "*pcVar5 == '^'" (pointer_expression "*pcVar5" * identifier) == (char_literal "'^'" ' character ')) )) (compound_statement "{\n    bVar1 = pcVar5[1];\n    uVar2 = (uint)(char)bVar1;\n    if (uVar2 != 0) {\n      if (uVar2 != 0x3c) {\n        if (bVar1 - 0x61 < 0x1a) {\n          *ppcVar7 = pcVar5 + 2;\n          return (int)(char)(bVar1 + 0xa0);\n        }\n        if ((0x20 < bVar1 - 0x3f) && (-1 < (int)uVar2)) {\n          if (uVar2 != 0x7e) {\n            return 0;\n          }\n          *ppcVar7 = pcVar5 + 2;\n          return 0x5e;\n        }\n        *ppcVar7 = pcVar5 + 2;\n        return uVar2 ^ 0x40;\n      }\n      cVar4 = (**(code **)(puVar9 + 0x5d5e8))(pcVar5 + 2);\n      pcVar6 = *ppcVar7;\n      if ((pcVar6 != pcVar5 + 2) && (*pcVar6 == '>')) {\n        *ppcVar7 = pcVar6 + 1;\n        return (int)cVar4;\n      }\n    }\n  }" { (expression_statement "bVar1 = pcVar5[1];" (assignment_expression "bVar1 = pcVar5[1]" identifier = (subscript_expression "pcVar5[1]" identifier [ number_literal ])) ;) (expression_statement "uVar2 = (uint)(char)bVar1;" (assignment_expression "uVar2 = (uint)(char)bVar1" identifier = (cast_expression "(uint)(char)bVar1" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(char)bVar1" ( (type_descriptor "char" primitive_type) ) identifier))) ;) (if_statement "if (uVar2 != 0) {\n      if (uVar2 != 0x3c) {\n        if (bVar1 - 0x61 < 0x1a) {\n          *ppcVar7 = pcVar5 + 2;\n          return (int)(char)(bVar1 + 0xa0);\n        }\n        if ((0x20 < bVar1 - 0x3f) && (-1 < (int)uVar2)) {\n          if (uVar2 != 0x7e) {\n            return 0;\n          }\n          *ppcVar7 = pcVar5 + 2;\n          return 0x5e;\n        }\n        *ppcVar7 = pcVar5 + 2;\n        return uVar2 ^ 0x40;\n      }\n      cVar4 = (**(code **)(puVar9 + 0x5d5e8))(pcVar5 + 2);\n      pcVar6 = *ppcVar7;\n      if ((pcVar6 != pcVar5 + 2) && (*pcVar6 == '>')) {\n        *ppcVar7 = pcVar6 + 1;\n        return (int)cVar4;\n      }\n    }" if (parenthesized_expression "(uVar2 != 0)" ( (binary_expression "uVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      if (uVar2 != 0x3c) {\n        if (bVar1 - 0x61 < 0x1a) {\n          *ppcVar7 = pcVar5 + 2;\n          return (int)(char)(bVar1 + 0xa0);\n        }\n        if ((0x20 < bVar1 - 0x3f) && (-1 < (int)uVar2)) {\n          if (uVar2 != 0x7e) {\n            return 0;\n          }\n          *ppcVar7 = pcVar5 + 2;\n          return 0x5e;\n        }\n        *ppcVar7 = pcVar5 + 2;\n        return uVar2 ^ 0x40;\n      }\n      cVar4 = (**(code **)(puVar9 + 0x5d5e8))(pcVar5 + 2);\n      pcVar6 = *ppcVar7;\n      if ((pcVar6 != pcVar5 + 2) && (*pcVar6 == '>')) {\n        *ppcVar7 = pcVar6 + 1;\n        return (int)cVar4;\n      }\n    }" { (if_statement "if (uVar2 != 0x3c) {\n        if (bVar1 - 0x61 < 0x1a) {\n          *ppcVar7 = pcVar5 + 2;\n          return (int)(char)(bVar1 + 0xa0);\n        }\n        if ((0x20 < bVar1 - 0x3f) && (-1 < (int)uVar2)) {\n          if (uVar2 != 0x7e) {\n            return 0;\n          }\n          *ppcVar7 = pcVar5 + 2;\n          return 0x5e;\n        }\n        *ppcVar7 = pcVar5 + 2;\n        return uVar2 ^ 0x40;\n      }" if (parenthesized_expression "(uVar2 != 0x3c)" ( (binary_expression "uVar2 != 0x3c" identifier != number_literal) )) (compound_statement "{\n        if (bVar1 - 0x61 < 0x1a) {\n          *ppcVar7 = pcVar5 + 2;\n          return (int)(char)(bVar1 + 0xa0);\n        }\n        if ((0x20 < bVar1 - 0x3f) && (-1 < (int)uVar2)) {\n          if (uVar2 != 0x7e) {\n            return 0;\n          }\n          *ppcVar7 = pcVar5 + 2;\n          return 0x5e;\n        }\n        *ppcVar7 = pcVar5 + 2;\n        return uVar2 ^ 0x40;\n      }" { (if_statement "if (bVar1 - 0x61 < 0x1a) {\n          *ppcVar7 = pcVar5 + 2;\n          return (int)(char)(bVar1 + 0xa0);\n        }" if (parenthesized_expression "(bVar1 - 0x61 < 0x1a)" ( (binary_expression "bVar1 - 0x61 < 0x1a" (binary_expression "bVar1 - 0x61" identifier - number_literal) < number_literal) )) (compound_statement "{\n          *ppcVar7 = pcVar5 + 2;\n          return (int)(char)(bVar1 + 0xa0);\n        }" { (expression_statement "*ppcVar7 = pcVar5 + 2;" (assignment_expression "*ppcVar7 = pcVar5 + 2" (pointer_expression "*ppcVar7" * identifier) = (binary_expression "pcVar5 + 2" identifier + number_literal)) ;) (return_statement "return (int)(char)(bVar1 + 0xa0);" return (cast_expression "(int)(char)(bVar1 + 0xa0)" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)(bVar1 + 0xa0)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(bVar1 + 0xa0)" ( (binary_expression "bVar1 + 0xa0" identifier + number_literal) )))) ;) })) (if_statement "if ((0x20 < bVar1 - 0x3f) && (-1 < (int)uVar2)) {\n          if (uVar2 != 0x7e) {\n            return 0;\n          }\n          *ppcVar7 = pcVar5 + 2;\n          return 0x5e;\n        }" if (parenthesized_expression "((0x20 < bVar1 - 0x3f) && (-1 < (int)uVar2))" ( (binary_expression "(0x20 < bVar1 - 0x3f) && (-1 < (int)uVar2)" (parenthesized_expression "(0x20 < bVar1 - 0x3f)" ( (binary_expression "0x20 < bVar1 - 0x3f" number_literal < (binary_expression "bVar1 - 0x3f" identifier - number_literal)) )) && (parenthesized_expression "(-1 < (int)uVar2)" ( (binary_expression "-1 < (int)uVar2" number_literal < (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ))) )) (compound_statement "{\n          if (uVar2 != 0x7e) {\n            return 0;\n          }\n          *ppcVar7 = pcVar5 + 2;\n          return 0x5e;\n        }" { (if_statement "if (uVar2 != 0x7e) {\n            return 0;\n          }" if (parenthesized_expression "(uVar2 != 0x7e)" ( (binary_expression "uVar2 != 0x7e" identifier != number_literal) )) (compound_statement "{\n            return 0;\n          }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "*ppcVar7 = pcVar5 + 2;" (assignment_expression "*ppcVar7 = pcVar5 + 2" (pointer_expression "*ppcVar7" * identifier) = (binary_expression "pcVar5 + 2" identifier + number_literal)) ;) (return_statement "return 0x5e;" return number_literal ;) })) (expression_statement "*ppcVar7 = pcVar5 + 2;" (assignment_expression "*ppcVar7 = pcVar5 + 2" (pointer_expression "*ppcVar7" * identifier) = (binary_expression "pcVar5 + 2" identifier + number_literal)) ;) (return_statement "return uVar2 ^ 0x40;" return (binary_expression "uVar2 ^ 0x40" identifier ^ number_literal) ;) })) (expression_statement "cVar4 = (**(code **)(puVar9 + 0x5d5e8))(pcVar5 + 2);" (assignment_expression "cVar4 = (**(code **)(puVar9 + 0x5d5e8))(pcVar5 + 2)" identifier = (call_expression "(**(code **)(puVar9 + 0x5d5e8))(pcVar5 + 2)" (parenthesized_expression "(**(code **)(puVar9 + 0x5d5e8))" ( (pointer_expression "**(code **)(puVar9 + 0x5d5e8)" * (pointer_expression "*(code **)(puVar9 + 0x5d5e8)" * (cast_expression "(code **)(puVar9 + 0x5d5e8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + 0x5d5e8)" ( (binary_expression "puVar9 + 0x5d5e8" identifier + number_literal) ))))) )) (argument_list "(pcVar5 + 2)" ( (binary_expression "pcVar5 + 2" identifier + number_literal) )))) ;) (expression_statement "pcVar6 = *ppcVar7;" (assignment_expression "pcVar6 = *ppcVar7" identifier = (pointer_expression "*ppcVar7" * identifier)) ;) (if_statement "if ((pcVar6 != pcVar5 + 2) && (*pcVar6 == '>')) {\n        *ppcVar7 = pcVar6 + 1;\n        return (int)cVar4;\n      }" if (parenthesized_expression "((pcVar6 != pcVar5 + 2) && (*pcVar6 == '>'))" ( (binary_expression "(pcVar6 != pcVar5 + 2) && (*pcVar6 == '>')" (parenthesized_expression "(pcVar6 != pcVar5 + 2)" ( (binary_expression "pcVar6 != pcVar5 + 2" identifier != (binary_expression "pcVar5 + 2" identifier + number_literal)) )) && (parenthesized_expression "(*pcVar6 == '>')" ( (binary_expression "*pcVar6 == '>'" (pointer_expression "*pcVar6" * identifier) == (char_literal "'>'" ' character ')) ))) )) (compound_statement "{\n        *ppcVar7 = pcVar6 + 1;\n        return (int)cVar4;\n      }" { (expression_statement "*ppcVar7 = pcVar6 + 1;" (assignment_expression "*ppcVar7 = pcVar6 + 1" (pointer_expression "*ppcVar7" * identifier) = (binary_expression "pcVar6 + 1" identifier + number_literal)) ;) (return_statement "return (int)cVar4;" return (cast_expression "(int)cVar4" ( (type_descriptor "int" primitive_type) ) identifier) ;) })) })) })) (expression_statement "*ppcVar7 = (char *)0x0;" (assignment_expression "*ppcVar7 = (char *)0x0" (pointer_expression "*ppcVar7" * identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "ulong parse_blocksize(char *bs)\n\n{\n  byte bVar1;\n  ulong uVar2;\n  int *piVar3;\n  char cVar4;\n  char *pcVar5;\n  char *pcVar6;\n  char **ppcVar7;\n  uint uVar8;\n  undefined *puVar9;\n  char *suf;\n  char *local_1c;\n  \n  puVar9 = PTR___stack_chk_guard_00079930;\n  ppcVar7 = &suf;\n  local_1c = *(char **)PTR___stack_chk_guard_00079930;\n  uVar2 = (*(code *)PTR_strtoul_00079754)(bs,ppcVar7,10);\n  pcVar5 = suf;\n  uVar8 = (uint)*suf;\n  if (uVar8 != 0) {\n    piVar3 = (int *)(*(code *)PTR___ctype_b_loc_000797fc)();\n    do {\n      pcVar5 = pcVar5 + 1;\n      if ((*(ushort *)(*piVar3 + (uVar8 & 0xff) * 2) & 0x20) == 0) {\n        uVar8 = uVar8 - 0x47 & 0xff;\n        if (uVar8 < 0x27) {\n                    /* WARNING: Could not emulate address calculation at 0x0001c19c */\n                    /* WARNING: Treating indirect jump as call */\n          uVar2 = (*(code *)(&_gp + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))();\n          return uVar2;\n        }\n        break;\n      }\n      uVar8 = (uint)*pcVar5;\n      suf = pcVar5;\n    } while (uVar8 != 0);\n  }\n  if (local_1c == *(char **)puVar9) {\n    return uVar2;\n  }\n  pcVar5 = local_1c;\n  puVar9 = PTR___stack_chk_fail_000797f0;\n  (*(code *)PTR___stack_chk_fail_000797f0)();\n  if (*pcVar5 == '^') {\n    bVar1 = pcVar5[1];\n    uVar8 = (uint)(char)bVar1;\n    if (uVar8 != 0) {\n      if (uVar8 != 0x3c) {\n        if (bVar1 - 0x61 < 0x1a) {\n          *ppcVar7 = pcVar5 + 2;\n          return (int)(char)(bVar1 + 0xa0);\n        }\n        if ((0x20 < bVar1 - 0x3f) && (-1 < (int)uVar8)) {\n          if (uVar8 != 0x7e) {\n            return 0;\n          }\n          *ppcVar7 = pcVar5 + 2;\n          return 0x5e;\n        }\n        *ppcVar7 = pcVar5 + 2;\n        return uVar8 ^ 0x40;\n      }\n      cVar4 = (**(code **)(puVar9 + 0x5d5e8))(pcVar5 + 2);\n      pcVar6 = *ppcVar7;\n      if ((pcVar6 != pcVar5 + 2) && (*pcVar6 == '>')) {\n        *ppcVar7 = pcVar6 + 1;\n        return (int)cVar4;\n      }\n    }\n  }\n  *ppcVar7 = (char *)0x0;\n  return 0;\n}\n\n" (function_definition "ulong parse_blocksize(char *bs)\n\n{\n  byte bVar1;\n  ulong uVar2;\n  int *piVar3;\n  char cVar4;\n  char *pcVar5;\n  char *pcVar6;\n  char **ppcVar7;\n  uint uVar8;\n  undefined *puVar9;\n  char *suf;\n  char *local_1c;\n  \n  puVar9 = PTR___stack_chk_guard_00079930;\n  ppcVar7 = &suf;\n  local_1c = *(char **)PTR___stack_chk_guard_00079930;\n  uVar2 = (*(code *)PTR_strtoul_00079754)(bs,ppcVar7,10);\n  pcVar5 = suf;\n  uVar8 = (uint)*suf;\n  if (uVar8 != 0) {\n    piVar3 = (int *)(*(code *)PTR___ctype_b_loc_000797fc)();\n    do {\n      pcVar5 = pcVar5 + 1;\n      if ((*(ushort *)(*piVar3 + (uVar8 & 0xff) * 2) & 0x20) == 0) {\n        uVar8 = uVar8 - 0x47 & 0xff;\n        if (uVar8 < 0x27) {\n                    /* WARNING: Could not emulate address calculation at 0x0001c19c */\n                    /* WARNING: Treating indirect jump as call */\n          uVar2 = (*(code *)(&_gp + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))();\n          return uVar2;\n        }\n        break;\n      }\n      uVar8 = (uint)*pcVar5;\n      suf = pcVar5;\n    } while (uVar8 != 0);\n  }\n  if (local_1c == *(char **)puVar9) {\n    return uVar2;\n  }\n  pcVar5 = local_1c;\n  puVar9 = PTR___stack_chk_fail_000797f0;\n  (*(code *)PTR___stack_chk_fail_000797f0)();\n  if (*pcVar5 == '^') {\n    bVar1 = pcVar5[1];\n    uVar8 = (uint)(char)bVar1;\n    if (uVar8 != 0) {\n      if (uVar8 != 0x3c) {\n        if (bVar1 - 0x61 < 0x1a) {\n          *ppcVar7 = pcVar5 + 2;\n          return (int)(char)(bVar1 + 0xa0);\n        }\n        if ((0x20 < bVar1 - 0x3f) && (-1 < (int)uVar8)) {\n          if (uVar8 != 0x7e) {\n            return 0;\n          }\n          *ppcVar7 = pcVar5 + 2;\n          return 0x5e;\n        }\n        *ppcVar7 = pcVar5 + 2;\n        return uVar8 ^ 0x40;\n      }\n      cVar4 = (**(code **)(puVar9 + 0x5d5e8))(pcVar5 + 2);\n      pcVar6 = *ppcVar7;\n      if ((pcVar6 != pcVar5 + 2) && (*pcVar6 == '>')) {\n        *ppcVar7 = pcVar6 + 1;\n        return (int)cVar4;\n      }\n    }\n  }\n  *ppcVar7 = (char *)0x0;\n  return 0;\n}" type_identifier (function_declarator "parse_blocksize(char *bs)" identifier (parameter_list "(char *bs)" ( (parameter_declaration "char *bs" primitive_type (pointer_declarator "*bs" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  ulong uVar2;\n  int *piVar3;\n  char cVar4;\n  char *pcVar5;\n  char *pcVar6;\n  char **ppcVar7;\n  uint uVar8;\n  undefined *puVar9;\n  char *suf;\n  char *local_1c;\n  \n  puVar9 = PTR___stack_chk_guard_00079930;\n  ppcVar7 = &suf;\n  local_1c = *(char **)PTR___stack_chk_guard_00079930;\n  uVar2 = (*(code *)PTR_strtoul_00079754)(bs,ppcVar7,10);\n  pcVar5 = suf;\n  uVar8 = (uint)*suf;\n  if (uVar8 != 0) {\n    piVar3 = (int *)(*(code *)PTR___ctype_b_loc_000797fc)();\n    do {\n      pcVar5 = pcVar5 + 1;\n      if ((*(ushort *)(*piVar3 + (uVar8 & 0xff) * 2) & 0x20) == 0) {\n        uVar8 = uVar8 - 0x47 & 0xff;\n        if (uVar8 < 0x27) {\n                    /* WARNING: Could not emulate address calculation at 0x0001c19c */\n                    /* WARNING: Treating indirect jump as call */\n          uVar2 = (*(code *)(&_gp + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))();\n          return uVar2;\n        }\n        break;\n      }\n      uVar8 = (uint)*pcVar5;\n      suf = pcVar5;\n    } while (uVar8 != 0);\n  }\n  if (local_1c == *(char **)puVar9) {\n    return uVar2;\n  }\n  pcVar5 = local_1c;\n  puVar9 = PTR___stack_chk_fail_000797f0;\n  (*(code *)PTR___stack_chk_fail_000797f0)();\n  if (*pcVar5 == '^') {\n    bVar1 = pcVar5[1];\n    uVar8 = (uint)(char)bVar1;\n    if (uVar8 != 0) {\n      if (uVar8 != 0x3c) {\n        if (bVar1 - 0x61 < 0x1a) {\n          *ppcVar7 = pcVar5 + 2;\n          return (int)(char)(bVar1 + 0xa0);\n        }\n        if ((0x20 < bVar1 - 0x3f) && (-1 < (int)uVar8)) {\n          if (uVar8 != 0x7e) {\n            return 0;\n          }\n          *ppcVar7 = pcVar5 + 2;\n          return 0x5e;\n        }\n        *ppcVar7 = pcVar5 + 2;\n        return uVar8 ^ 0x40;\n      }\n      cVar4 = (**(code **)(puVar9 + 0x5d5e8))(pcVar5 + 2);\n      pcVar6 = *ppcVar7;\n      if ((pcVar6 != pcVar5 + 2) && (*pcVar6 == '>')) {\n        *ppcVar7 = pcVar6 + 1;\n        return (int)cVar4;\n      }\n    }\n  }\n  *ppcVar7 = (char *)0x0;\n  return 0;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "ulong uVar2;" type_identifier identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "char cVar4;" primitive_type identifier ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "char **ppcVar7;" primitive_type (pointer_declarator "**ppcVar7" * (pointer_declarator "*ppcVar7" * identifier)) ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "undefined *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "char *suf;" primitive_type (pointer_declarator "*suf" * identifier) ;) (declaration "char *local_1c;" primitive_type (pointer_declarator "*local_1c" * identifier) ;) (expression_statement "puVar9 = PTR___stack_chk_guard_00079930;" (assignment_expression "puVar9 = PTR___stack_chk_guard_00079930" identifier = identifier) ;) (expression_statement "ppcVar7 = &suf;" (assignment_expression "ppcVar7 = &suf" identifier = (pointer_expression "&suf" & identifier)) ;) (expression_statement "local_1c = *(char **)PTR___stack_chk_guard_00079930;" (assignment_expression "local_1c = *(char **)PTR___stack_chk_guard_00079930" identifier = (pointer_expression "*(char **)PTR___stack_chk_guard_00079930" * (cast_expression "(char **)PTR___stack_chk_guard_00079930" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "uVar2 = (*(code *)PTR_strtoul_00079754)(bs,ppcVar7,10);" (assignment_expression "uVar2 = (*(code *)PTR_strtoul_00079754)(bs,ppcVar7,10)" identifier = (call_expression "(*(code *)PTR_strtoul_00079754)(bs,ppcVar7,10)" (parenthesized_expression "(*(code *)PTR_strtoul_00079754)" ( (pointer_expression "*(code *)PTR_strtoul_00079754" * (cast_expression "(code *)PTR_strtoul_00079754" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(bs,ppcVar7,10)" ( identifier , identifier , number_literal )))) ;) (expression_statement "pcVar5 = suf;" (assignment_expression "pcVar5 = suf" identifier = identifier) ;) (expression_statement "uVar8 = (uint)*suf;" (assignment_expression "uVar8 = (uint)*suf" identifier = (binary_expression "(uint)*suf" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (if_statement "if (uVar8 != 0) {\n    piVar3 = (int *)(*(code *)PTR___ctype_b_loc_000797fc)();\n    do {\n      pcVar5 = pcVar5 + 1;\n      if ((*(ushort *)(*piVar3 + (uVar8 & 0xff) * 2) & 0x20) == 0) {\n        uVar8 = uVar8 - 0x47 & 0xff;\n        if (uVar8 < 0x27) {\n                    /* WARNING: Could not emulate address calculation at 0x0001c19c */\n                    /* WARNING: Treating indirect jump as call */\n          uVar2 = (*(code *)(&_gp + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))();\n          return uVar2;\n        }\n        break;\n      }\n      uVar8 = (uint)*pcVar5;\n      suf = pcVar5;\n    } while (uVar8 != 0);\n  }" if (parenthesized_expression "(uVar8 != 0)" ( (binary_expression "uVar8 != 0" identifier != number_literal) )) (compound_statement "{\n    piVar3 = (int *)(*(code *)PTR___ctype_b_loc_000797fc)();\n    do {\n      pcVar5 = pcVar5 + 1;\n      if ((*(ushort *)(*piVar3 + (uVar8 & 0xff) * 2) & 0x20) == 0) {\n        uVar8 = uVar8 - 0x47 & 0xff;\n        if (uVar8 < 0x27) {\n                    /* WARNING: Could not emulate address calculation at 0x0001c19c */\n                    /* WARNING: Treating indirect jump as call */\n          uVar2 = (*(code *)(&_gp + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))();\n          return uVar2;\n        }\n        break;\n      }\n      uVar8 = (uint)*pcVar5;\n      suf = pcVar5;\n    } while (uVar8 != 0);\n  }" { (expression_statement "piVar3 = (int *)(*(code *)PTR___ctype_b_loc_000797fc)();" (assignment_expression "piVar3 = (int *)(*(code *)PTR___ctype_b_loc_000797fc)()" identifier = (cast_expression "(int *)(*(code *)PTR___ctype_b_loc_000797fc)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___ctype_b_loc_000797fc)()" (parenthesized_expression "(*(code *)PTR___ctype_b_loc_000797fc)" ( (pointer_expression "*(code *)PTR___ctype_b_loc_000797fc" * (cast_expression "(code *)PTR___ctype_b_loc_000797fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (do_statement "do {\n      pcVar5 = pcVar5 + 1;\n      if ((*(ushort *)(*piVar3 + (uVar8 & 0xff) * 2) & 0x20) == 0) {\n        uVar8 = uVar8 - 0x47 & 0xff;\n        if (uVar8 < 0x27) {\n                    /* WARNING: Could not emulate address calculation at 0x0001c19c */\n                    /* WARNING: Treating indirect jump as call */\n          uVar2 = (*(code *)(&_gp + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))();\n          return uVar2;\n        }\n        break;\n      }\n      uVar8 = (uint)*pcVar5;\n      suf = pcVar5;\n    } while (uVar8 != 0);" do (compound_statement "{\n      pcVar5 = pcVar5 + 1;\n      if ((*(ushort *)(*piVar3 + (uVar8 & 0xff) * 2) & 0x20) == 0) {\n        uVar8 = uVar8 - 0x47 & 0xff;\n        if (uVar8 < 0x27) {\n                    /* WARNING: Could not emulate address calculation at 0x0001c19c */\n                    /* WARNING: Treating indirect jump as call */\n          uVar2 = (*(code *)(&_gp + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))();\n          return uVar2;\n        }\n        break;\n      }\n      uVar8 = (uint)*pcVar5;\n      suf = pcVar5;\n    }" { (expression_statement "pcVar5 = pcVar5 + 1;" (assignment_expression "pcVar5 = pcVar5 + 1" identifier = (binary_expression "pcVar5 + 1" identifier + number_literal)) ;) (if_statement "if ((*(ushort *)(*piVar3 + (uVar8 & 0xff) * 2) & 0x20) == 0) {\n        uVar8 = uVar8 - 0x47 & 0xff;\n        if (uVar8 < 0x27) {\n                    /* WARNING: Could not emulate address calculation at 0x0001c19c */\n                    /* WARNING: Treating indirect jump as call */\n          uVar2 = (*(code *)(&_gp + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))();\n          return uVar2;\n        }\n        break;\n      }" if (parenthesized_expression "((*(ushort *)(*piVar3 + (uVar8 & 0xff) * 2) & 0x20) == 0)" ( (binary_expression "(*(ushort *)(*piVar3 + (uVar8 & 0xff) * 2) & 0x20) == 0" (parenthesized_expression "(*(ushort *)(*piVar3 + (uVar8 & 0xff) * 2) & 0x20)" ( (binary_expression "*(ushort *)(*piVar3 + (uVar8 & 0xff) * 2) & 0x20" (pointer_expression "*(ushort *)(*piVar3 + (uVar8 & 0xff) * 2)" * (cast_expression "(ushort *)(*piVar3 + (uVar8 & 0xff) * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar3 + (uVar8 & 0xff) * 2)" ( (binary_expression "*piVar3 + (uVar8 & 0xff) * 2" (pointer_expression "*piVar3" * identifier) + (binary_expression "(uVar8 & 0xff) * 2" (parenthesized_expression "(uVar8 & 0xff)" ( (binary_expression "uVar8 & 0xff" identifier & number_literal) )) * number_literal)) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n        uVar8 = uVar8 - 0x47 & 0xff;\n        if (uVar8 < 0x27) {\n                    /* WARNING: Could not emulate address calculation at 0x0001c19c */\n                    /* WARNING: Treating indirect jump as call */\n          uVar2 = (*(code *)(&_gp + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))();\n          return uVar2;\n        }\n        break;\n      }" { (expression_statement "uVar8 = uVar8 - 0x47 & 0xff;" (assignment_expression "uVar8 = uVar8 - 0x47 & 0xff" identifier = (binary_expression "uVar8 - 0x47 & 0xff" (binary_expression "uVar8 - 0x47" identifier - number_literal) & number_literal)) ;) (if_statement "if (uVar8 < 0x27) {\n                    /* WARNING: Could not emulate address calculation at 0x0001c19c */\n                    /* WARNING: Treating indirect jump as call */\n          uVar2 = (*(code *)(&_gp + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))();\n          return uVar2;\n        }" if (parenthesized_expression "(uVar8 < 0x27)" ( (binary_expression "uVar8 < 0x27" identifier < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not emulate address calculation at 0x0001c19c */\n                    /* WARNING: Treating indirect jump as call */\n          uVar2 = (*(code *)(&_gp + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))();\n          return uVar2;\n        }" { comment comment (expression_statement "uVar2 = (*(code *)(&_gp + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))();" (assignment_expression "uVar2 = (*(code *)(&_gp + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))()" identifier = (call_expression "(*(code *)(&_gp + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))()" (parenthesized_expression "(*(code *)(&_gp + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))" ( (pointer_expression "*(code *)(&_gp + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0))" * (cast_expression "(code *)(&_gp + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0))" ( (binary_expression "&_gp + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)" (pointer_expression "&_gp" & identifier) + (pointer_expression "*(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)" * (cast_expression "(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)" ( (binary_expression "PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0" (binary_expression "PTR_s_j_000790a8 + uVar8 * 4" identifier + (binary_expression "uVar8 * 4" identifier * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( )))) ;) (return_statement "return uVar2;" return identifier ;) })) (break_statement "break;" break ;) })) (expression_statement "uVar8 = (uint)*pcVar5;" (assignment_expression "uVar8 = (uint)*pcVar5" identifier = (binary_expression "(uint)*pcVar5" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "suf = pcVar5;" (assignment_expression "suf = pcVar5" identifier = identifier) ;) }) while (parenthesized_expression "(uVar8 != 0)" ( (binary_expression "uVar8 != 0" identifier != number_literal) )) ;) })) (if_statement "if (local_1c == *(char **)puVar9) {\n    return uVar2;\n  }" if (parenthesized_expression "(local_1c == *(char **)puVar9)" ( (binary_expression "local_1c == *(char **)puVar9" identifier == (pointer_expression "*(char **)puVar9" * (cast_expression "(char **)puVar9" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return uVar2;\n  }" { (return_statement "return uVar2;" return identifier ;) })) (expression_statement "pcVar5 = local_1c;" (assignment_expression "pcVar5 = local_1c" identifier = identifier) ;) (expression_statement "puVar9 = PTR___stack_chk_fail_000797f0;" (assignment_expression "puVar9 = PTR___stack_chk_fail_000797f0" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000797f0)();" (call_expression "(*(code *)PTR___stack_chk_fail_000797f0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000797f0)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000797f0" * (cast_expression "(code *)PTR___stack_chk_fail_000797f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (*pcVar5 == '^') {\n    bVar1 = pcVar5[1];\n    uVar8 = (uint)(char)bVar1;\n    if (uVar8 != 0) {\n      if (uVar8 != 0x3c) {\n        if (bVar1 - 0x61 < 0x1a) {\n          *ppcVar7 = pcVar5 + 2;\n          return (int)(char)(bVar1 + 0xa0);\n        }\n        if ((0x20 < bVar1 - 0x3f) && (-1 < (int)uVar8)) {\n          if (uVar8 != 0x7e) {\n            return 0;\n          }\n          *ppcVar7 = pcVar5 + 2;\n          return 0x5e;\n        }\n        *ppcVar7 = pcVar5 + 2;\n        return uVar8 ^ 0x40;\n      }\n      cVar4 = (**(code **)(puVar9 + 0x5d5e8))(pcVar5 + 2);\n      pcVar6 = *ppcVar7;\n      if ((pcVar6 != pcVar5 + 2) && (*pcVar6 == '>')) {\n        *ppcVar7 = pcVar6 + 1;\n        return (int)cVar4;\n      }\n    }\n  }" if (parenthesized_expression "(*pcVar5 == '^')" ( (binary_expression "*pcVar5 == '^'" (pointer_expression "*pcVar5" * identifier) == (char_literal "'^'" ' character ')) )) (compound_statement "{\n    bVar1 = pcVar5[1];\n    uVar8 = (uint)(char)bVar1;\n    if (uVar8 != 0) {\n      if (uVar8 != 0x3c) {\n        if (bVar1 - 0x61 < 0x1a) {\n          *ppcVar7 = pcVar5 + 2;\n          return (int)(char)(bVar1 + 0xa0);\n        }\n        if ((0x20 < bVar1 - 0x3f) && (-1 < (int)uVar8)) {\n          if (uVar8 != 0x7e) {\n            return 0;\n          }\n          *ppcVar7 = pcVar5 + 2;\n          return 0x5e;\n        }\n        *ppcVar7 = pcVar5 + 2;\n        return uVar8 ^ 0x40;\n      }\n      cVar4 = (**(code **)(puVar9 + 0x5d5e8))(pcVar5 + 2);\n      pcVar6 = *ppcVar7;\n      if ((pcVar6 != pcVar5 + 2) && (*pcVar6 == '>')) {\n        *ppcVar7 = pcVar6 + 1;\n        return (int)cVar4;\n      }\n    }\n  }" { (expression_statement "bVar1 = pcVar5[1];" (assignment_expression "bVar1 = pcVar5[1]" identifier = (subscript_expression "pcVar5[1]" identifier [ number_literal ])) ;) (expression_statement "uVar8 = (uint)(char)bVar1;" (assignment_expression "uVar8 = (uint)(char)bVar1" identifier = (cast_expression "(uint)(char)bVar1" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(char)bVar1" ( (type_descriptor "char" primitive_type) ) identifier))) ;) (if_statement "if (uVar8 != 0) {\n      if (uVar8 != 0x3c) {\n        if (bVar1 - 0x61 < 0x1a) {\n          *ppcVar7 = pcVar5 + 2;\n          return (int)(char)(bVar1 + 0xa0);\n        }\n        if ((0x20 < bVar1 - 0x3f) && (-1 < (int)uVar8)) {\n          if (uVar8 != 0x7e) {\n            return 0;\n          }\n          *ppcVar7 = pcVar5 + 2;\n          return 0x5e;\n        }\n        *ppcVar7 = pcVar5 + 2;\n        return uVar8 ^ 0x40;\n      }\n      cVar4 = (**(code **)(puVar9 + 0x5d5e8))(pcVar5 + 2);\n      pcVar6 = *ppcVar7;\n      if ((pcVar6 != pcVar5 + 2) && (*pcVar6 == '>')) {\n        *ppcVar7 = pcVar6 + 1;\n        return (int)cVar4;\n      }\n    }" if (parenthesized_expression "(uVar8 != 0)" ( (binary_expression "uVar8 != 0" identifier != number_literal) )) (compound_statement "{\n      if (uVar8 != 0x3c) {\n        if (bVar1 - 0x61 < 0x1a) {\n          *ppcVar7 = pcVar5 + 2;\n          return (int)(char)(bVar1 + 0xa0);\n        }\n        if ((0x20 < bVar1 - 0x3f) && (-1 < (int)uVar8)) {\n          if (uVar8 != 0x7e) {\n            return 0;\n          }\n          *ppcVar7 = pcVar5 + 2;\n          return 0x5e;\n        }\n        *ppcVar7 = pcVar5 + 2;\n        return uVar8 ^ 0x40;\n      }\n      cVar4 = (**(code **)(puVar9 + 0x5d5e8))(pcVar5 + 2);\n      pcVar6 = *ppcVar7;\n      if ((pcVar6 != pcVar5 + 2) && (*pcVar6 == '>')) {\n        *ppcVar7 = pcVar6 + 1;\n        return (int)cVar4;\n      }\n    }" { (if_statement "if (uVar8 != 0x3c) {\n        if (bVar1 - 0x61 < 0x1a) {\n          *ppcVar7 = pcVar5 + 2;\n          return (int)(char)(bVar1 + 0xa0);\n        }\n        if ((0x20 < bVar1 - 0x3f) && (-1 < (int)uVar8)) {\n          if (uVar8 != 0x7e) {\n            return 0;\n          }\n          *ppcVar7 = pcVar5 + 2;\n          return 0x5e;\n        }\n        *ppcVar7 = pcVar5 + 2;\n        return uVar8 ^ 0x40;\n      }" if (parenthesized_expression "(uVar8 != 0x3c)" ( (binary_expression "uVar8 != 0x3c" identifier != number_literal) )) (compound_statement "{\n        if (bVar1 - 0x61 < 0x1a) {\n          *ppcVar7 = pcVar5 + 2;\n          return (int)(char)(bVar1 + 0xa0);\n        }\n        if ((0x20 < bVar1 - 0x3f) && (-1 < (int)uVar8)) {\n          if (uVar8 != 0x7e) {\n            return 0;\n          }\n          *ppcVar7 = pcVar5 + 2;\n          return 0x5e;\n        }\n        *ppcVar7 = pcVar5 + 2;\n        return uVar8 ^ 0x40;\n      }" { (if_statement "if (bVar1 - 0x61 < 0x1a) {\n          *ppcVar7 = pcVar5 + 2;\n          return (int)(char)(bVar1 + 0xa0);\n        }" if (parenthesized_expression "(bVar1 - 0x61 < 0x1a)" ( (binary_expression "bVar1 - 0x61 < 0x1a" (binary_expression "bVar1 - 0x61" identifier - number_literal) < number_literal) )) (compound_statement "{\n          *ppcVar7 = pcVar5 + 2;\n          return (int)(char)(bVar1 + 0xa0);\n        }" { (expression_statement "*ppcVar7 = pcVar5 + 2;" (assignment_expression "*ppcVar7 = pcVar5 + 2" (pointer_expression "*ppcVar7" * identifier) = (binary_expression "pcVar5 + 2" identifier + number_literal)) ;) (return_statement "return (int)(char)(bVar1 + 0xa0);" return (cast_expression "(int)(char)(bVar1 + 0xa0)" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)(bVar1 + 0xa0)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(bVar1 + 0xa0)" ( (binary_expression "bVar1 + 0xa0" identifier + number_literal) )))) ;) })) (if_statement "if ((0x20 < bVar1 - 0x3f) && (-1 < (int)uVar8)) {\n          if (uVar8 != 0x7e) {\n            return 0;\n          }\n          *ppcVar7 = pcVar5 + 2;\n          return 0x5e;\n        }" if (parenthesized_expression "((0x20 < bVar1 - 0x3f) && (-1 < (int)uVar8))" ( (binary_expression "(0x20 < bVar1 - 0x3f) && (-1 < (int)uVar8)" (parenthesized_expression "(0x20 < bVar1 - 0x3f)" ( (binary_expression "0x20 < bVar1 - 0x3f" number_literal < (binary_expression "bVar1 - 0x3f" identifier - number_literal)) )) && (parenthesized_expression "(-1 < (int)uVar8)" ( (binary_expression "-1 < (int)uVar8" number_literal < (cast_expression "(int)uVar8" ( (type_descriptor "int" primitive_type) ) identifier)) ))) )) (compound_statement "{\n          if (uVar8 != 0x7e) {\n            return 0;\n          }\n          *ppcVar7 = pcVar5 + 2;\n          return 0x5e;\n        }" { (if_statement "if (uVar8 != 0x7e) {\n            return 0;\n          }" if (parenthesized_expression "(uVar8 != 0x7e)" ( (binary_expression "uVar8 != 0x7e" identifier != number_literal) )) (compound_statement "{\n            return 0;\n          }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "*ppcVar7 = pcVar5 + 2;" (assignment_expression "*ppcVar7 = pcVar5 + 2" (pointer_expression "*ppcVar7" * identifier) = (binary_expression "pcVar5 + 2" identifier + number_literal)) ;) (return_statement "return 0x5e;" return number_literal ;) })) (expression_statement "*ppcVar7 = pcVar5 + 2;" (assignment_expression "*ppcVar7 = pcVar5 + 2" (pointer_expression "*ppcVar7" * identifier) = (binary_expression "pcVar5 + 2" identifier + number_literal)) ;) (return_statement "return uVar8 ^ 0x40;" return (binary_expression "uVar8 ^ 0x40" identifier ^ number_literal) ;) })) (expression_statement "cVar4 = (**(code **)(puVar9 + 0x5d5e8))(pcVar5 + 2);" (assignment_expression "cVar4 = (**(code **)(puVar9 + 0x5d5e8))(pcVar5 + 2)" identifier = (call_expression "(**(code **)(puVar9 + 0x5d5e8))(pcVar5 + 2)" (parenthesized_expression "(**(code **)(puVar9 + 0x5d5e8))" ( (pointer_expression "**(code **)(puVar9 + 0x5d5e8)" * (pointer_expression "*(code **)(puVar9 + 0x5d5e8)" * (cast_expression "(code **)(puVar9 + 0x5d5e8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + 0x5d5e8)" ( (binary_expression "puVar9 + 0x5d5e8" identifier + number_literal) ))))) )) (argument_list "(pcVar5 + 2)" ( (binary_expression "pcVar5 + 2" identifier + number_literal) )))) ;) (expression_statement "pcVar6 = *ppcVar7;" (assignment_expression "pcVar6 = *ppcVar7" identifier = (pointer_expression "*ppcVar7" * identifier)) ;) (if_statement "if ((pcVar6 != pcVar5 + 2) && (*pcVar6 == '>')) {\n        *ppcVar7 = pcVar6 + 1;\n        return (int)cVar4;\n      }" if (parenthesized_expression "((pcVar6 != pcVar5 + 2) && (*pcVar6 == '>'))" ( (binary_expression "(pcVar6 != pcVar5 + 2) && (*pcVar6 == '>')" (parenthesized_expression "(pcVar6 != pcVar5 + 2)" ( (binary_expression "pcVar6 != pcVar5 + 2" identifier != (binary_expression "pcVar5 + 2" identifier + number_literal)) )) && (parenthesized_expression "(*pcVar6 == '>')" ( (binary_expression "*pcVar6 == '>'" (pointer_expression "*pcVar6" * identifier) == (char_literal "'>'" ' character ')) ))) )) (compound_statement "{\n        *ppcVar7 = pcVar6 + 1;\n        return (int)cVar4;\n      }" { (expression_statement "*ppcVar7 = pcVar6 + 1;" (assignment_expression "*ppcVar7 = pcVar6 + 1" (pointer_expression "*ppcVar7" * identifier) = (binary_expression "pcVar6 + 1" identifier + number_literal)) ;) (return_statement "return (int)cVar4;" return (cast_expression "(int)cVar4" ( (type_descriptor "int" primitive_type) ) identifier) ;) })) })) })) (expression_statement "*ppcVar7 = (char *)0x0;" (assignment_expression "*ppcVar7 = (char *)0x0" (pointer_expression "*ppcVar7" * identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "uint FUN_0001c0dc(undefined4 param_1)\n\n{\n  byte bVar1;\n  uint uVar2;\n  int *piVar3;\n  char cVar4;\n  char *pcVar5;\n  char *pcVar6;\n  char **ppcVar7;\n  uint uVar8;\n  undefined *puVar9;\n  char *local_20;\n  char *local_1c;\n  \n  puVar9 = PTR___stack_chk_guard_00079930;\n  ppcVar7 = &local_20;\n  local_1c = *(char **)PTR___stack_chk_guard_00079930;\n  uVar2 = (*(code *)PTR_strtoul_00079754)(param_1,ppcVar7,10);\n  pcVar5 = local_20;\n  uVar8 = (uint)*local_20;\n  if (uVar8 != 0) {\n    piVar3 = (int *)(*(code *)PTR___ctype_b_loc_000797fc)();\n    do {\n      pcVar5 = pcVar5 + 1;\n      if ((*(ushort *)(*piVar3 + (uVar8 & 0xff) * 2) & 0x20) == 0) {\n        uVar8 = uVar8 - 0x47 & 0xff;\n        if (uVar8 < 0x27) {\n                    \n                    \n          uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))();\n          return uVar2;\n        }\n        break;\n      }\n      uVar8 = (uint)*pcVar5;\n      local_20 = pcVar5;\n    } while (uVar8 != 0);\n  }\n  if (local_1c == *(char **)puVar9) {\n    return uVar2;\n  }\n  pcVar5 = local_1c;\n  puVar9 = PTR___stack_chk_fail_000797f0;\n  (*(code *)PTR___stack_chk_fail_000797f0)();\n  if (*pcVar5 == '^') {\n    bVar1 = pcVar5[1];\n    uVar2 = (uint)(char)bVar1;\n    if (uVar2 != 0) {\n      if (uVar2 != 0x3c) {\n        if (bVar1 - 0x61 < 0x1a) {\n          *ppcVar7 = pcVar5 + 2;\n          return (int)(char)(bVar1 + 0xa0);\n        }\n        if ((0x20 < bVar1 - 0x3f) && (-1 < (int)uVar2)) {\n          if (uVar2 != 0x7e) {\n            return 0;\n          }\n          *ppcVar7 = pcVar5 + 2;\n          return 0x5e;\n        }\n        *ppcVar7 = pcVar5 + 2;\n        return uVar2 ^ 0x40;\n      }\n      cVar4 = (**(code **)(puVar9 + 0x5d5e8))(pcVar5 + 2);\n      pcVar6 = *ppcVar7;\n      if ((pcVar6 != pcVar5 + 2) && (*pcVar6 == '>')) {\n        *ppcVar7 = pcVar6 + 1;\n        return (int)cVar4;\n      }\n    }\n  }\n  *ppcVar7 = (char *)0x0;\n  return 0;\n}\n\n" (function_definition "uint FUN_0001c0dc(undefined4 param_1)\n\n{\n  byte bVar1;\n  uint uVar2;\n  int *piVar3;\n  char cVar4;\n  char *pcVar5;\n  char *pcVar6;\n  char **ppcVar7;\n  uint uVar8;\n  undefined *puVar9;\n  char *local_20;\n  char *local_1c;\n  \n  puVar9 = PTR___stack_chk_guard_00079930;\n  ppcVar7 = &local_20;\n  local_1c = *(char **)PTR___stack_chk_guard_00079930;\n  uVar2 = (*(code *)PTR_strtoul_00079754)(param_1,ppcVar7,10);\n  pcVar5 = local_20;\n  uVar8 = (uint)*local_20;\n  if (uVar8 != 0) {\n    piVar3 = (int *)(*(code *)PTR___ctype_b_loc_000797fc)();\n    do {\n      pcVar5 = pcVar5 + 1;\n      if ((*(ushort *)(*piVar3 + (uVar8 & 0xff) * 2) & 0x20) == 0) {\n        uVar8 = uVar8 - 0x47 & 0xff;\n        if (uVar8 < 0x27) {\n                    \n                    \n          uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))();\n          return uVar2;\n        }\n        break;\n      }\n      uVar8 = (uint)*pcVar5;\n      local_20 = pcVar5;\n    } while (uVar8 != 0);\n  }\n  if (local_1c == *(char **)puVar9) {\n    return uVar2;\n  }\n  pcVar5 = local_1c;\n  puVar9 = PTR___stack_chk_fail_000797f0;\n  (*(code *)PTR___stack_chk_fail_000797f0)();\n  if (*pcVar5 == '^') {\n    bVar1 = pcVar5[1];\n    uVar2 = (uint)(char)bVar1;\n    if (uVar2 != 0) {\n      if (uVar2 != 0x3c) {\n        if (bVar1 - 0x61 < 0x1a) {\n          *ppcVar7 = pcVar5 + 2;\n          return (int)(char)(bVar1 + 0xa0);\n        }\n        if ((0x20 < bVar1 - 0x3f) && (-1 < (int)uVar2)) {\n          if (uVar2 != 0x7e) {\n            return 0;\n          }\n          *ppcVar7 = pcVar5 + 2;\n          return 0x5e;\n        }\n        *ppcVar7 = pcVar5 + 2;\n        return uVar2 ^ 0x40;\n      }\n      cVar4 = (**(code **)(puVar9 + 0x5d5e8))(pcVar5 + 2);\n      pcVar6 = *ppcVar7;\n      if ((pcVar6 != pcVar5 + 2) && (*pcVar6 == '>')) {\n        *ppcVar7 = pcVar6 + 1;\n        return (int)cVar4;\n      }\n    }\n  }\n  *ppcVar7 = (char *)0x0;\n  return 0;\n}" type_identifier (function_declarator "FUN_0001c0dc(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  byte bVar1;\n  uint uVar2;\n  int *piVar3;\n  char cVar4;\n  char *pcVar5;\n  char *pcVar6;\n  char **ppcVar7;\n  uint uVar8;\n  undefined *puVar9;\n  char *local_20;\n  char *local_1c;\n  \n  puVar9 = PTR___stack_chk_guard_00079930;\n  ppcVar7 = &local_20;\n  local_1c = *(char **)PTR___stack_chk_guard_00079930;\n  uVar2 = (*(code *)PTR_strtoul_00079754)(param_1,ppcVar7,10);\n  pcVar5 = local_20;\n  uVar8 = (uint)*local_20;\n  if (uVar8 != 0) {\n    piVar3 = (int *)(*(code *)PTR___ctype_b_loc_000797fc)();\n    do {\n      pcVar5 = pcVar5 + 1;\n      if ((*(ushort *)(*piVar3 + (uVar8 & 0xff) * 2) & 0x20) == 0) {\n        uVar8 = uVar8 - 0x47 & 0xff;\n        if (uVar8 < 0x27) {\n                    \n                    \n          uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))();\n          return uVar2;\n        }\n        break;\n      }\n      uVar8 = (uint)*pcVar5;\n      local_20 = pcVar5;\n    } while (uVar8 != 0);\n  }\n  if (local_1c == *(char **)puVar9) {\n    return uVar2;\n  }\n  pcVar5 = local_1c;\n  puVar9 = PTR___stack_chk_fail_000797f0;\n  (*(code *)PTR___stack_chk_fail_000797f0)();\n  if (*pcVar5 == '^') {\n    bVar1 = pcVar5[1];\n    uVar2 = (uint)(char)bVar1;\n    if (uVar2 != 0) {\n      if (uVar2 != 0x3c) {\n        if (bVar1 - 0x61 < 0x1a) {\n          *ppcVar7 = pcVar5 + 2;\n          return (int)(char)(bVar1 + 0xa0);\n        }\n        if ((0x20 < bVar1 - 0x3f) && (-1 < (int)uVar2)) {\n          if (uVar2 != 0x7e) {\n            return 0;\n          }\n          *ppcVar7 = pcVar5 + 2;\n          return 0x5e;\n        }\n        *ppcVar7 = pcVar5 + 2;\n        return uVar2 ^ 0x40;\n      }\n      cVar4 = (**(code **)(puVar9 + 0x5d5e8))(pcVar5 + 2);\n      pcVar6 = *ppcVar7;\n      if ((pcVar6 != pcVar5 + 2) && (*pcVar6 == '>')) {\n        *ppcVar7 = pcVar6 + 1;\n        return (int)cVar4;\n      }\n    }\n  }\n  *ppcVar7 = (char *)0x0;\n  return 0;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "char cVar4;" primitive_type identifier ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "char **ppcVar7;" primitive_type (pointer_declarator "**ppcVar7" * (pointer_declarator "*ppcVar7" * identifier)) ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "undefined *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "char *local_20;" primitive_type (pointer_declarator "*local_20" * identifier) ;) (declaration "char *local_1c;" primitive_type (pointer_declarator "*local_1c" * identifier) ;) (expression_statement "puVar9 = PTR___stack_chk_guard_00079930;" (assignment_expression "puVar9 = PTR___stack_chk_guard_00079930" identifier = identifier) ;) (expression_statement "ppcVar7 = &local_20;" (assignment_expression "ppcVar7 = &local_20" identifier = (pointer_expression "&local_20" & identifier)) ;) (expression_statement "local_1c = *(char **)PTR___stack_chk_guard_00079930;" (assignment_expression "local_1c = *(char **)PTR___stack_chk_guard_00079930" identifier = (pointer_expression "*(char **)PTR___stack_chk_guard_00079930" * (cast_expression "(char **)PTR___stack_chk_guard_00079930" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "uVar2 = (*(code *)PTR_strtoul_00079754)(param_1,ppcVar7,10);" (assignment_expression "uVar2 = (*(code *)PTR_strtoul_00079754)(param_1,ppcVar7,10)" identifier = (call_expression "(*(code *)PTR_strtoul_00079754)(param_1,ppcVar7,10)" (parenthesized_expression "(*(code *)PTR_strtoul_00079754)" ( (pointer_expression "*(code *)PTR_strtoul_00079754" * (cast_expression "(code *)PTR_strtoul_00079754" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,ppcVar7,10)" ( identifier , identifier , number_literal )))) ;) (expression_statement "pcVar5 = local_20;" (assignment_expression "pcVar5 = local_20" identifier = identifier) ;) (expression_statement "uVar8 = (uint)*local_20;" (assignment_expression "uVar8 = (uint)*local_20" identifier = (binary_expression "(uint)*local_20" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (if_statement "if (uVar8 != 0) {\n    piVar3 = (int *)(*(code *)PTR___ctype_b_loc_000797fc)();\n    do {\n      pcVar5 = pcVar5 + 1;\n      if ((*(ushort *)(*piVar3 + (uVar8 & 0xff) * 2) & 0x20) == 0) {\n        uVar8 = uVar8 - 0x47 & 0xff;\n        if (uVar8 < 0x27) {\n                    \n                    \n          uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))();\n          return uVar2;\n        }\n        break;\n      }\n      uVar8 = (uint)*pcVar5;\n      local_20 = pcVar5;\n    } while (uVar8 != 0);\n  }" if (parenthesized_expression "(uVar8 != 0)" ( (binary_expression "uVar8 != 0" identifier != number_literal) )) (compound_statement "{\n    piVar3 = (int *)(*(code *)PTR___ctype_b_loc_000797fc)();\n    do {\n      pcVar5 = pcVar5 + 1;\n      if ((*(ushort *)(*piVar3 + (uVar8 & 0xff) * 2) & 0x20) == 0) {\n        uVar8 = uVar8 - 0x47 & 0xff;\n        if (uVar8 < 0x27) {\n                    \n                    \n          uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))();\n          return uVar2;\n        }\n        break;\n      }\n      uVar8 = (uint)*pcVar5;\n      local_20 = pcVar5;\n    } while (uVar8 != 0);\n  }" { (expression_statement "piVar3 = (int *)(*(code *)PTR___ctype_b_loc_000797fc)();" (assignment_expression "piVar3 = (int *)(*(code *)PTR___ctype_b_loc_000797fc)()" identifier = (cast_expression "(int *)(*(code *)PTR___ctype_b_loc_000797fc)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___ctype_b_loc_000797fc)()" (parenthesized_expression "(*(code *)PTR___ctype_b_loc_000797fc)" ( (pointer_expression "*(code *)PTR___ctype_b_loc_000797fc" * (cast_expression "(code *)PTR___ctype_b_loc_000797fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (do_statement "do {\n      pcVar5 = pcVar5 + 1;\n      if ((*(ushort *)(*piVar3 + (uVar8 & 0xff) * 2) & 0x20) == 0) {\n        uVar8 = uVar8 - 0x47 & 0xff;\n        if (uVar8 < 0x27) {\n                    \n                    \n          uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))();\n          return uVar2;\n        }\n        break;\n      }\n      uVar8 = (uint)*pcVar5;\n      local_20 = pcVar5;\n    } while (uVar8 != 0);" do (compound_statement "{\n      pcVar5 = pcVar5 + 1;\n      if ((*(ushort *)(*piVar3 + (uVar8 & 0xff) * 2) & 0x20) == 0) {\n        uVar8 = uVar8 - 0x47 & 0xff;\n        if (uVar8 < 0x27) {\n                    \n                    \n          uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))();\n          return uVar2;\n        }\n        break;\n      }\n      uVar8 = (uint)*pcVar5;\n      local_20 = pcVar5;\n    }" { (expression_statement "pcVar5 = pcVar5 + 1;" (assignment_expression "pcVar5 = pcVar5 + 1" identifier = (binary_expression "pcVar5 + 1" identifier + number_literal)) ;) (if_statement "if ((*(ushort *)(*piVar3 + (uVar8 & 0xff) * 2) & 0x20) == 0) {\n        uVar8 = uVar8 - 0x47 & 0xff;\n        if (uVar8 < 0x27) {\n                    \n                    \n          uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))();\n          return uVar2;\n        }\n        break;\n      }" if (parenthesized_expression "((*(ushort *)(*piVar3 + (uVar8 & 0xff) * 2) & 0x20) == 0)" ( (binary_expression "(*(ushort *)(*piVar3 + (uVar8 & 0xff) * 2) & 0x20) == 0" (parenthesized_expression "(*(ushort *)(*piVar3 + (uVar8 & 0xff) * 2) & 0x20)" ( (binary_expression "*(ushort *)(*piVar3 + (uVar8 & 0xff) * 2) & 0x20" (pointer_expression "*(ushort *)(*piVar3 + (uVar8 & 0xff) * 2)" * (cast_expression "(ushort *)(*piVar3 + (uVar8 & 0xff) * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar3 + (uVar8 & 0xff) * 2)" ( (binary_expression "*piVar3 + (uVar8 & 0xff) * 2" (pointer_expression "*piVar3" * identifier) + (binary_expression "(uVar8 & 0xff) * 2" (parenthesized_expression "(uVar8 & 0xff)" ( (binary_expression "uVar8 & 0xff" identifier & number_literal) )) * number_literal)) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n        uVar8 = uVar8 - 0x47 & 0xff;\n        if (uVar8 < 0x27) {\n                    \n                    \n          uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))();\n          return uVar2;\n        }\n        break;\n      }" { (expression_statement "uVar8 = uVar8 - 0x47 & 0xff;" (assignment_expression "uVar8 = uVar8 - 0x47 & 0xff" identifier = (binary_expression "uVar8 - 0x47 & 0xff" (binary_expression "uVar8 - 0x47" identifier - number_literal) & number_literal)) ;) (if_statement "if (uVar8 < 0x27) {\n                    \n                    \n          uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))();\n          return uVar2;\n        }" if (parenthesized_expression "(uVar8 < 0x27)" ( (binary_expression "uVar8 < 0x27" identifier < number_literal) )) (compound_statement "{\n                    \n                    \n          uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))();\n          return uVar2;\n        }" { (expression_statement "uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))();" (assignment_expression "uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))()" identifier = (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))" ( (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0))" * (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0))" ( (binary_expression "&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)" (pointer_expression "&_gp_1" & identifier) + (pointer_expression "*(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)" * (cast_expression "(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)" ( (binary_expression "PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0" (binary_expression "PTR_s_j_000790a8 + uVar8 * 4" identifier + (binary_expression "uVar8 * 4" identifier * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( )))) ;) (return_statement "return uVar2;" return identifier ;) })) (break_statement "break;" break ;) })) (expression_statement "uVar8 = (uint)*pcVar5;" (assignment_expression "uVar8 = (uint)*pcVar5" identifier = (binary_expression "(uint)*pcVar5" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "local_20 = pcVar5;" (assignment_expression "local_20 = pcVar5" identifier = identifier) ;) }) while (parenthesized_expression "(uVar8 != 0)" ( (binary_expression "uVar8 != 0" identifier != number_literal) )) ;) })) (if_statement "if (local_1c == *(char **)puVar9) {\n    return uVar2;\n  }" if (parenthesized_expression "(local_1c == *(char **)puVar9)" ( (binary_expression "local_1c == *(char **)puVar9" identifier == (pointer_expression "*(char **)puVar9" * (cast_expression "(char **)puVar9" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return uVar2;\n  }" { (return_statement "return uVar2;" return identifier ;) })) (expression_statement "pcVar5 = local_1c;" (assignment_expression "pcVar5 = local_1c" identifier = identifier) ;) (expression_statement "puVar9 = PTR___stack_chk_fail_000797f0;" (assignment_expression "puVar9 = PTR___stack_chk_fail_000797f0" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000797f0)();" (call_expression "(*(code *)PTR___stack_chk_fail_000797f0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000797f0)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000797f0" * (cast_expression "(code *)PTR___stack_chk_fail_000797f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (*pcVar5 == '^') {\n    bVar1 = pcVar5[1];\n    uVar2 = (uint)(char)bVar1;\n    if (uVar2 != 0) {\n      if (uVar2 != 0x3c) {\n        if (bVar1 - 0x61 < 0x1a) {\n          *ppcVar7 = pcVar5 + 2;\n          return (int)(char)(bVar1 + 0xa0);\n        }\n        if ((0x20 < bVar1 - 0x3f) && (-1 < (int)uVar2)) {\n          if (uVar2 != 0x7e) {\n            return 0;\n          }\n          *ppcVar7 = pcVar5 + 2;\n          return 0x5e;\n        }\n        *ppcVar7 = pcVar5 + 2;\n        return uVar2 ^ 0x40;\n      }\n      cVar4 = (**(code **)(puVar9 + 0x5d5e8))(pcVar5 + 2);\n      pcVar6 = *ppcVar7;\n      if ((pcVar6 != pcVar5 + 2) && (*pcVar6 == '>')) {\n        *ppcVar7 = pcVar6 + 1;\n        return (int)cVar4;\n      }\n    }\n  }" if (parenthesized_expression "(*pcVar5 == '^')" ( (binary_expression "*pcVar5 == '^'" (pointer_expression "*pcVar5" * identifier) == (char_literal "'^'" ' character ')) )) (compound_statement "{\n    bVar1 = pcVar5[1];\n    uVar2 = (uint)(char)bVar1;\n    if (uVar2 != 0) {\n      if (uVar2 != 0x3c) {\n        if (bVar1 - 0x61 < 0x1a) {\n          *ppcVar7 = pcVar5 + 2;\n          return (int)(char)(bVar1 + 0xa0);\n        }\n        if ((0x20 < bVar1 - 0x3f) && (-1 < (int)uVar2)) {\n          if (uVar2 != 0x7e) {\n            return 0;\n          }\n          *ppcVar7 = pcVar5 + 2;\n          return 0x5e;\n        }\n        *ppcVar7 = pcVar5 + 2;\n        return uVar2 ^ 0x40;\n      }\n      cVar4 = (**(code **)(puVar9 + 0x5d5e8))(pcVar5 + 2);\n      pcVar6 = *ppcVar7;\n      if ((pcVar6 != pcVar5 + 2) && (*pcVar6 == '>')) {\n        *ppcVar7 = pcVar6 + 1;\n        return (int)cVar4;\n      }\n    }\n  }" { (expression_statement "bVar1 = pcVar5[1];" (assignment_expression "bVar1 = pcVar5[1]" identifier = (subscript_expression "pcVar5[1]" identifier [ number_literal ])) ;) (expression_statement "uVar2 = (uint)(char)bVar1;" (assignment_expression "uVar2 = (uint)(char)bVar1" identifier = (cast_expression "(uint)(char)bVar1" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(char)bVar1" ( (type_descriptor "char" primitive_type) ) identifier))) ;) (if_statement "if (uVar2 != 0) {\n      if (uVar2 != 0x3c) {\n        if (bVar1 - 0x61 < 0x1a) {\n          *ppcVar7 = pcVar5 + 2;\n          return (int)(char)(bVar1 + 0xa0);\n        }\n        if ((0x20 < bVar1 - 0x3f) && (-1 < (int)uVar2)) {\n          if (uVar2 != 0x7e) {\n            return 0;\n          }\n          *ppcVar7 = pcVar5 + 2;\n          return 0x5e;\n        }\n        *ppcVar7 = pcVar5 + 2;\n        return uVar2 ^ 0x40;\n      }\n      cVar4 = (**(code **)(puVar9 + 0x5d5e8))(pcVar5 + 2);\n      pcVar6 = *ppcVar7;\n      if ((pcVar6 != pcVar5 + 2) && (*pcVar6 == '>')) {\n        *ppcVar7 = pcVar6 + 1;\n        return (int)cVar4;\n      }\n    }" if (parenthesized_expression "(uVar2 != 0)" ( (binary_expression "uVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      if (uVar2 != 0x3c) {\n        if (bVar1 - 0x61 < 0x1a) {\n          *ppcVar7 = pcVar5 + 2;\n          return (int)(char)(bVar1 + 0xa0);\n        }\n        if ((0x20 < bVar1 - 0x3f) && (-1 < (int)uVar2)) {\n          if (uVar2 != 0x7e) {\n            return 0;\n          }\n          *ppcVar7 = pcVar5 + 2;\n          return 0x5e;\n        }\n        *ppcVar7 = pcVar5 + 2;\n        return uVar2 ^ 0x40;\n      }\n      cVar4 = (**(code **)(puVar9 + 0x5d5e8))(pcVar5 + 2);\n      pcVar6 = *ppcVar7;\n      if ((pcVar6 != pcVar5 + 2) && (*pcVar6 == '>')) {\n        *ppcVar7 = pcVar6 + 1;\n        return (int)cVar4;\n      }\n    }" { (if_statement "if (uVar2 != 0x3c) {\n        if (bVar1 - 0x61 < 0x1a) {\n          *ppcVar7 = pcVar5 + 2;\n          return (int)(char)(bVar1 + 0xa0);\n        }\n        if ((0x20 < bVar1 - 0x3f) && (-1 < (int)uVar2)) {\n          if (uVar2 != 0x7e) {\n            return 0;\n          }\n          *ppcVar7 = pcVar5 + 2;\n          return 0x5e;\n        }\n        *ppcVar7 = pcVar5 + 2;\n        return uVar2 ^ 0x40;\n      }" if (parenthesized_expression "(uVar2 != 0x3c)" ( (binary_expression "uVar2 != 0x3c" identifier != number_literal) )) (compound_statement "{\n        if (bVar1 - 0x61 < 0x1a) {\n          *ppcVar7 = pcVar5 + 2;\n          return (int)(char)(bVar1 + 0xa0);\n        }\n        if ((0x20 < bVar1 - 0x3f) && (-1 < (int)uVar2)) {\n          if (uVar2 != 0x7e) {\n            return 0;\n          }\n          *ppcVar7 = pcVar5 + 2;\n          return 0x5e;\n        }\n        *ppcVar7 = pcVar5 + 2;\n        return uVar2 ^ 0x40;\n      }" { (if_statement "if (bVar1 - 0x61 < 0x1a) {\n          *ppcVar7 = pcVar5 + 2;\n          return (int)(char)(bVar1 + 0xa0);\n        }" if (parenthesized_expression "(bVar1 - 0x61 < 0x1a)" ( (binary_expression "bVar1 - 0x61 < 0x1a" (binary_expression "bVar1 - 0x61" identifier - number_literal) < number_literal) )) (compound_statement "{\n          *ppcVar7 = pcVar5 + 2;\n          return (int)(char)(bVar1 + 0xa0);\n        }" { (expression_statement "*ppcVar7 = pcVar5 + 2;" (assignment_expression "*ppcVar7 = pcVar5 + 2" (pointer_expression "*ppcVar7" * identifier) = (binary_expression "pcVar5 + 2" identifier + number_literal)) ;) (return_statement "return (int)(char)(bVar1 + 0xa0);" return (cast_expression "(int)(char)(bVar1 + 0xa0)" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)(bVar1 + 0xa0)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(bVar1 + 0xa0)" ( (binary_expression "bVar1 + 0xa0" identifier + number_literal) )))) ;) })) (if_statement "if ((0x20 < bVar1 - 0x3f) && (-1 < (int)uVar2)) {\n          if (uVar2 != 0x7e) {\n            return 0;\n          }\n          *ppcVar7 = pcVar5 + 2;\n          return 0x5e;\n        }" if (parenthesized_expression "((0x20 < bVar1 - 0x3f) && (-1 < (int)uVar2))" ( (binary_expression "(0x20 < bVar1 - 0x3f) && (-1 < (int)uVar2)" (parenthesized_expression "(0x20 < bVar1 - 0x3f)" ( (binary_expression "0x20 < bVar1 - 0x3f" number_literal < (binary_expression "bVar1 - 0x3f" identifier - number_literal)) )) && (parenthesized_expression "(-1 < (int)uVar2)" ( (binary_expression "-1 < (int)uVar2" number_literal < (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ))) )) (compound_statement "{\n          if (uVar2 != 0x7e) {\n            return 0;\n          }\n          *ppcVar7 = pcVar5 + 2;\n          return 0x5e;\n        }" { (if_statement "if (uVar2 != 0x7e) {\n            return 0;\n          }" if (parenthesized_expression "(uVar2 != 0x7e)" ( (binary_expression "uVar2 != 0x7e" identifier != number_literal) )) (compound_statement "{\n            return 0;\n          }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "*ppcVar7 = pcVar5 + 2;" (assignment_expression "*ppcVar7 = pcVar5 + 2" (pointer_expression "*ppcVar7" * identifier) = (binary_expression "pcVar5 + 2" identifier + number_literal)) ;) (return_statement "return 0x5e;" return number_literal ;) })) (expression_statement "*ppcVar7 = pcVar5 + 2;" (assignment_expression "*ppcVar7 = pcVar5 + 2" (pointer_expression "*ppcVar7" * identifier) = (binary_expression "pcVar5 + 2" identifier + number_literal)) ;) (return_statement "return uVar2 ^ 0x40;" return (binary_expression "uVar2 ^ 0x40" identifier ^ number_literal) ;) })) (expression_statement "cVar4 = (**(code **)(puVar9 + 0x5d5e8))(pcVar5 + 2);" (assignment_expression "cVar4 = (**(code **)(puVar9 + 0x5d5e8))(pcVar5 + 2)" identifier = (call_expression "(**(code **)(puVar9 + 0x5d5e8))(pcVar5 + 2)" (parenthesized_expression "(**(code **)(puVar9 + 0x5d5e8))" ( (pointer_expression "**(code **)(puVar9 + 0x5d5e8)" * (pointer_expression "*(code **)(puVar9 + 0x5d5e8)" * (cast_expression "(code **)(puVar9 + 0x5d5e8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + 0x5d5e8)" ( (binary_expression "puVar9 + 0x5d5e8" identifier + number_literal) ))))) )) (argument_list "(pcVar5 + 2)" ( (binary_expression "pcVar5 + 2" identifier + number_literal) )))) ;) (expression_statement "pcVar6 = *ppcVar7;" (assignment_expression "pcVar6 = *ppcVar7" identifier = (pointer_expression "*ppcVar7" * identifier)) ;) (if_statement "if ((pcVar6 != pcVar5 + 2) && (*pcVar6 == '>')) {\n        *ppcVar7 = pcVar6 + 1;\n        return (int)cVar4;\n      }" if (parenthesized_expression "((pcVar6 != pcVar5 + 2) && (*pcVar6 == '>'))" ( (binary_expression "(pcVar6 != pcVar5 + 2) && (*pcVar6 == '>')" (parenthesized_expression "(pcVar6 != pcVar5 + 2)" ( (binary_expression "pcVar6 != pcVar5 + 2" identifier != (binary_expression "pcVar5 + 2" identifier + number_literal)) )) && (parenthesized_expression "(*pcVar6 == '>')" ( (binary_expression "*pcVar6 == '>'" (pointer_expression "*pcVar6" * identifier) == (char_literal "'>'" ' character ')) ))) )) (compound_statement "{\n        *ppcVar7 = pcVar6 + 1;\n        return (int)cVar4;\n      }" { (expression_statement "*ppcVar7 = pcVar6 + 1;" (assignment_expression "*ppcVar7 = pcVar6 + 1" (pointer_expression "*ppcVar7" * identifier) = (binary_expression "pcVar6 + 1" identifier + number_literal)) ;) (return_statement "return (int)cVar4;" return (cast_expression "(int)cVar4" ( (type_descriptor "int" primitive_type) ) identifier) ;) })) })) })) (expression_statement "*ppcVar7 = (char *)0x0;" (assignment_expression "*ppcVar7 = (char *)0x0" (pointer_expression "*ppcVar7" * identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * (pointer_declarator * IDENT)) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (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 ( ))))) ;) (do_statement do (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 (parenthesized_expression ( (binary_expression IDENT & LIT) )) * LIT)) )))) & LIT) )) == LIT) )) (compound_statement { (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 ;) })) (break_statement break ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) < LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (return_statement return (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < (binary_expression IDENT - LIT)) )) && (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (return_statement return LIT ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (return_statement return (binary_expression IDENT ^ LIT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT + LIT)) )) && (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' character ')) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (return_statement return (cast_expression ( (type_descriptor TYPE) ) IDENT) ;) })) })) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (return_statement return LIT ;) })))
(function_definition "uint FUN_0001c0dc(undefined4 param_1)\n\n{\n  byte bVar1;\n  uint uVar2;\n  int *piVar3;\n  char cVar4;\n  char *pcVar5;\n  char *pcVar6;\n  char **ppcVar7;\n  uint uVar8;\n  undefined *puVar9;\n  char *local_20;\n  char *local_1c;\n  \n  puVar9 = PTR___stack_chk_guard_00079930;\n  ppcVar7 = &local_20;\n  local_1c = *(char **)PTR___stack_chk_guard_00079930;\n  uVar2 = (*(code *)PTR_strtoul_00079754)(param_1,ppcVar7,10);\n  pcVar5 = local_20;\n  uVar8 = (uint)*local_20;\n  if (uVar8 != 0) {\n    piVar3 = (int *)(*(code *)PTR___ctype_b_loc_000797fc)();\n    do {\n      pcVar5 = pcVar5 + 1;\n      if ((*(ushort *)(*piVar3 + (uVar8 & 0xff) * 2) & 0x20) == 0) {\n        uVar8 = uVar8 - 0x47 & 0xff;\n        if (uVar8 < 0x27) {\n                    \n                    \n          uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))();\n          return uVar2;\n        }\n        break;\n      }\n      uVar8 = (uint)*pcVar5;\n      local_20 = pcVar5;\n    } while (uVar8 != 0);\n  }\n  if (local_1c == *(char **)puVar9) {\n    return uVar2;\n  }\n  pcVar5 = local_1c;\n  puVar9 = PTR___stack_chk_fail_000797f0;\n  (*(code *)PTR___stack_chk_fail_000797f0)();\n  if (*pcVar5 == '^') {\n    bVar1 = pcVar5[1];\n    uVar2 = (uint)(char)bVar1;\n    if (uVar2 != 0) {\n      if (uVar2 != 0x3c) {\n        if (bVar1 - 0x61 < 0x1a) {\n          *ppcVar7 = pcVar5 + 2;\n          return (int)(char)(bVar1 + 0xa0);\n        }\n        if ((0x20 < bVar1 - 0x3f) && (-1 < (int)uVar2)) {\n          if (uVar2 != 0x7e) {\n            return 0;\n          }\n          *ppcVar7 = pcVar5 + 2;\n          return 0x5e;\n        }\n        *ppcVar7 = pcVar5 + 2;\n        return uVar2 ^ 0x40;\n      }\n      cVar4 = (**(code **)(puVar9 + 0x5d5e8))(pcVar5 + 2);\n      pcVar6 = *ppcVar7;\n      if ((pcVar6 != pcVar5 + 2) && (*pcVar6 == '>')) {\n        *ppcVar7 = pcVar6 + 1;\n        return (int)cVar4;\n      }\n    }\n  }\n  *ppcVar7 = (char *)0x0;\n  return 0;\n}" (type_identifier "uint") (function_declarator "FUN_0001c0dc(undefined4 param_1)" (identifier "FUN_0001c0dc") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  byte bVar1;\n  uint uVar2;\n  int *piVar3;\n  char cVar4;\n  char *pcVar5;\n  char *pcVar6;\n  char **ppcVar7;\n  uint uVar8;\n  undefined *puVar9;\n  char *local_20;\n  char *local_1c;\n  \n  puVar9 = PTR___stack_chk_guard_00079930;\n  ppcVar7 = &local_20;\n  local_1c = *(char **)PTR___stack_chk_guard_00079930;\n  uVar2 = (*(code *)PTR_strtoul_00079754)(param_1,ppcVar7,10);\n  pcVar5 = local_20;\n  uVar8 = (uint)*local_20;\n  if (uVar8 != 0) {\n    piVar3 = (int *)(*(code *)PTR___ctype_b_loc_000797fc)();\n    do {\n      pcVar5 = pcVar5 + 1;\n      if ((*(ushort *)(*piVar3 + (uVar8 & 0xff) * 2) & 0x20) == 0) {\n        uVar8 = uVar8 - 0x47 & 0xff;\n        if (uVar8 < 0x27) {\n                    \n                    \n          uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))();\n          return uVar2;\n        }\n        break;\n      }\n      uVar8 = (uint)*pcVar5;\n      local_20 = pcVar5;\n    } while (uVar8 != 0);\n  }\n  if (local_1c == *(char **)puVar9) {\n    return uVar2;\n  }\n  pcVar5 = local_1c;\n  puVar9 = PTR___stack_chk_fail_000797f0;\n  (*(code *)PTR___stack_chk_fail_000797f0)();\n  if (*pcVar5 == '^') {\n    bVar1 = pcVar5[1];\n    uVar2 = (uint)(char)bVar1;\n    if (uVar2 != 0) {\n      if (uVar2 != 0x3c) {\n        if (bVar1 - 0x61 < 0x1a) {\n          *ppcVar7 = pcVar5 + 2;\n          return (int)(char)(bVar1 + 0xa0);\n        }\n        if ((0x20 < bVar1 - 0x3f) && (-1 < (int)uVar2)) {\n          if (uVar2 != 0x7e) {\n            return 0;\n          }\n          *ppcVar7 = pcVar5 + 2;\n          return 0x5e;\n        }\n        *ppcVar7 = pcVar5 + 2;\n        return uVar2 ^ 0x40;\n      }\n      cVar4 = (**(code **)(puVar9 + 0x5d5e8))(pcVar5 + 2);\n      pcVar6 = *ppcVar7;\n      if ((pcVar6 != pcVar5 + 2) && (*pcVar6 == '>')) {\n        *ppcVar7 = pcVar6 + 1;\n        return (int)cVar4;\n      }\n    }\n  }\n  *ppcVar7 = (char *)0x0;\n  return 0;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "char cVar4;" (primitive_type "char") (identifier "cVar4") (; ";")) (declaration "char *pcVar5;" (primitive_type "char") (pointer_declarator "*pcVar5" (* "*") (identifier "pcVar5")) (; ";")) (declaration "char *pcVar6;" (primitive_type "char") (pointer_declarator "*pcVar6" (* "*") (identifier "pcVar6")) (; ";")) (declaration "char **ppcVar7;" (primitive_type "char") (pointer_declarator "**ppcVar7" (* "*") (pointer_declarator "*ppcVar7" (* "*") (identifier "ppcVar7"))) (; ";")) (declaration "uint uVar8;" (type_identifier "uint") (identifier "uVar8") (; ";")) (declaration "undefined *puVar9;" (type_identifier "undefined") (pointer_declarator "*puVar9" (* "*") (identifier "puVar9")) (; ";")) (declaration "char *local_20;" (primitive_type "char") (pointer_declarator "*local_20" (* "*") (identifier "local_20")) (; ";")) (declaration "char *local_1c;" (primitive_type "char") (pointer_declarator "*local_1c" (* "*") (identifier "local_1c")) (; ";")) (expression_statement "puVar9 = PTR___stack_chk_guard_00079930;" (assignment_expression "puVar9 = PTR___stack_chk_guard_00079930" (identifier "puVar9") (= "=") (identifier "PTR___stack_chk_guard_00079930")) (; ";")) (expression_statement "ppcVar7 = &local_20;" (assignment_expression "ppcVar7 = &local_20" (identifier "ppcVar7") (= "=") (pointer_expression "&local_20" (& "&") (identifier "local_20"))) (; ";")) (expression_statement "local_1c = *(char **)PTR___stack_chk_guard_00079930;" (assignment_expression "local_1c = *(char **)PTR___stack_chk_guard_00079930" (identifier "local_1c") (= "=") (pointer_expression "*(char **)PTR___stack_chk_guard_00079930" (* "*") (cast_expression "(char **)PTR___stack_chk_guard_00079930" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR___stack_chk_guard_00079930")))) (; ";")) (expression_statement "uVar2 = (*(code *)PTR_strtoul_00079754)(param_1,ppcVar7,10);" (assignment_expression "uVar2 = (*(code *)PTR_strtoul_00079754)(param_1,ppcVar7,10)" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR_strtoul_00079754)(param_1,ppcVar7,10)" (parenthesized_expression "(*(code *)PTR_strtoul_00079754)" (( "(") (pointer_expression "*(code *)PTR_strtoul_00079754" (* "*") (cast_expression "(code *)PTR_strtoul_00079754" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strtoul_00079754"))) () ")")) (argument_list "(param_1,ppcVar7,10)" (( "(") (identifier "param_1") (, ",") (identifier "ppcVar7") (, ",") (number_literal "10") () ")")))) (; ";")) (expression_statement "pcVar5 = local_20;" (assignment_expression "pcVar5 = local_20" (identifier "pcVar5") (= "=") (identifier "local_20")) (; ";")) (expression_statement "uVar8 = (uint)*local_20;" (assignment_expression "uVar8 = (uint)*local_20" (identifier "uVar8") (= "=") (binary_expression "(uint)*local_20" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "local_20"))) (; ";")) (if_statement "if (uVar8 != 0) {\n    piVar3 = (int *)(*(code *)PTR___ctype_b_loc_000797fc)();\n    do {\n      pcVar5 = pcVar5 + 1;\n      if ((*(ushort *)(*piVar3 + (uVar8 & 0xff) * 2) & 0x20) == 0) {\n        uVar8 = uVar8 - 0x47 & 0xff;\n        if (uVar8 < 0x27) {\n                    \n                    \n          uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))();\n          return uVar2;\n        }\n        break;\n      }\n      uVar8 = (uint)*pcVar5;\n      local_20 = pcVar5;\n    } while (uVar8 != 0);\n  }" (if "if") (parenthesized_expression "(uVar8 != 0)" (( "(") (binary_expression "uVar8 != 0" (identifier "uVar8") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    piVar3 = (int *)(*(code *)PTR___ctype_b_loc_000797fc)();\n    do {\n      pcVar5 = pcVar5 + 1;\n      if ((*(ushort *)(*piVar3 + (uVar8 & 0xff) * 2) & 0x20) == 0) {\n        uVar8 = uVar8 - 0x47 & 0xff;\n        if (uVar8 < 0x27) {\n                    \n                    \n          uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))();\n          return uVar2;\n        }\n        break;\n      }\n      uVar8 = (uint)*pcVar5;\n      local_20 = pcVar5;\n    } while (uVar8 != 0);\n  }" ({ "{") (expression_statement "piVar3 = (int *)(*(code *)PTR___ctype_b_loc_000797fc)();" (assignment_expression "piVar3 = (int *)(*(code *)PTR___ctype_b_loc_000797fc)()" (identifier "piVar3") (= "=") (cast_expression "(int *)(*(code *)PTR___ctype_b_loc_000797fc)()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___ctype_b_loc_000797fc)()" (parenthesized_expression "(*(code *)PTR___ctype_b_loc_000797fc)" (( "(") (pointer_expression "*(code *)PTR___ctype_b_loc_000797fc" (* "*") (cast_expression "(code *)PTR___ctype_b_loc_000797fc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___ctype_b_loc_000797fc"))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (do_statement "do {\n      pcVar5 = pcVar5 + 1;\n      if ((*(ushort *)(*piVar3 + (uVar8 & 0xff) * 2) & 0x20) == 0) {\n        uVar8 = uVar8 - 0x47 & 0xff;\n        if (uVar8 < 0x27) {\n                    \n                    \n          uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))();\n          return uVar2;\n        }\n        break;\n      }\n      uVar8 = (uint)*pcVar5;\n      local_20 = pcVar5;\n    } while (uVar8 != 0);" (do "do") (compound_statement "{\n      pcVar5 = pcVar5 + 1;\n      if ((*(ushort *)(*piVar3 + (uVar8 & 0xff) * 2) & 0x20) == 0) {\n        uVar8 = uVar8 - 0x47 & 0xff;\n        if (uVar8 < 0x27) {\n                    \n                    \n          uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))();\n          return uVar2;\n        }\n        break;\n      }\n      uVar8 = (uint)*pcVar5;\n      local_20 = pcVar5;\n    }" ({ "{") (expression_statement "pcVar5 = pcVar5 + 1;" (assignment_expression "pcVar5 = pcVar5 + 1" (identifier "pcVar5") (= "=") (binary_expression "pcVar5 + 1" (identifier "pcVar5") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if ((*(ushort *)(*piVar3 + (uVar8 & 0xff) * 2) & 0x20) == 0) {\n        uVar8 = uVar8 - 0x47 & 0xff;\n        if (uVar8 < 0x27) {\n                    \n                    \n          uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))();\n          return uVar2;\n        }\n        break;\n      }" (if "if") (parenthesized_expression "((*(ushort *)(*piVar3 + (uVar8 & 0xff) * 2) & 0x20) == 0)" (( "(") (binary_expression "(*(ushort *)(*piVar3 + (uVar8 & 0xff) * 2) & 0x20) == 0" (parenthesized_expression "(*(ushort *)(*piVar3 + (uVar8 & 0xff) * 2) & 0x20)" (( "(") (binary_expression "*(ushort *)(*piVar3 + (uVar8 & 0xff) * 2) & 0x20" (pointer_expression "*(ushort *)(*piVar3 + (uVar8 & 0xff) * 2)" (* "*") (cast_expression "(ushort *)(*piVar3 + (uVar8 & 0xff) * 2)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar3 + (uVar8 & 0xff) * 2)" (( "(") (binary_expression "*piVar3 + (uVar8 & 0xff) * 2" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (+ "+") (binary_expression "(uVar8 & 0xff) * 2" (parenthesized_expression "(uVar8 & 0xff)" (( "(") (binary_expression "uVar8 & 0xff" (identifier "uVar8") (& "&") (number_literal "0xff")) () ")")) (* "*") (number_literal "2"))) () ")")))) (& "&") (number_literal "0x20")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        uVar8 = uVar8 - 0x47 & 0xff;\n        if (uVar8 < 0x27) {\n                    \n                    \n          uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))();\n          return uVar2;\n        }\n        break;\n      }" ({ "{") (expression_statement "uVar8 = uVar8 - 0x47 & 0xff;" (assignment_expression "uVar8 = uVar8 - 0x47 & 0xff" (identifier "uVar8") (= "=") (binary_expression "uVar8 - 0x47 & 0xff" (binary_expression "uVar8 - 0x47" (identifier "uVar8") (- "-") (number_literal "0x47")) (& "&") (number_literal "0xff"))) (; ";")) (if_statement "if (uVar8 < 0x27) {\n                    \n                    \n          uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))();\n          return uVar2;\n        }" (if "if") (parenthesized_expression "(uVar8 < 0x27)" (( "(") (binary_expression "uVar8 < 0x27" (identifier "uVar8") (< "<") (number_literal "0x27")) () ")")) (compound_statement "{\n                    \n                    \n          uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))();\n          return uVar2;\n        }" ({ "{") (expression_statement "uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))();" (assignment_expression "uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))()" (identifier "uVar2") (= "=") (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))" (( "(") (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0))" (* "*") (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0))" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0))" (( "(") (binary_expression "&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)" (pointer_expression "&_gp_1" (& "&") (identifier "_gp_1")) (+ "+") (pointer_expression "*(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)" (* "*") (cast_expression "(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)" (( "(") (binary_expression "PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0" (binary_expression "PTR_s_j_000790a8 + uVar8 * 4" (identifier "PTR_s_j_000790a8") (+ "+") (binary_expression "uVar8 * 4" (identifier "uVar8") (* "*") (number_literal "4"))) (+ "+") (number_literal "-0x1be0")) () ")"))))) () ")")))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))) (break_statement "break;" (break "break") (; ";")) (} "}"))) (expression_statement "uVar8 = (uint)*pcVar5;" (assignment_expression "uVar8 = (uint)*pcVar5" (identifier "uVar8") (= "=") (binary_expression "(uint)*pcVar5" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pcVar5"))) (; ";")) (expression_statement "local_20 = pcVar5;" (assignment_expression "local_20 = pcVar5" (identifier "local_20") (= "=") (identifier "pcVar5")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar8 != 0)" (( "(") (binary_expression "uVar8 != 0" (identifier "uVar8") (!= "!=") (number_literal "0")) () ")")) (; ";")) (} "}"))) (if_statement "if (local_1c == *(char **)puVar9) {\n    return uVar2;\n  }" (if "if") (parenthesized_expression "(local_1c == *(char **)puVar9)" (( "(") (binary_expression "local_1c == *(char **)puVar9" (identifier "local_1c") (== "==") (pointer_expression "*(char **)puVar9" (* "*") (cast_expression "(char **)puVar9" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar9")))) () ")")) (compound_statement "{\n    return uVar2;\n  }" ({ "{") (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))) (expression_statement "pcVar5 = local_1c;" (assignment_expression "pcVar5 = local_1c" (identifier "pcVar5") (= "=") (identifier "local_1c")) (; ";")) (expression_statement "puVar9 = PTR___stack_chk_fail_000797f0;" (assignment_expression "puVar9 = PTR___stack_chk_fail_000797f0" (identifier "puVar9") (= "=") (identifier "PTR___stack_chk_fail_000797f0")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_000797f0)();" (call_expression "(*(code *)PTR___stack_chk_fail_000797f0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000797f0)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_000797f0" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_000797f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_000797f0"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (*pcVar5 == '^') {\n    bVar1 = pcVar5[1];\n    uVar2 = (uint)(char)bVar1;\n    if (uVar2 != 0) {\n      if (uVar2 != 0x3c) {\n        if (bVar1 - 0x61 < 0x1a) {\n          *ppcVar7 = pcVar5 + 2;\n          return (int)(char)(bVar1 + 0xa0);\n        }\n        if ((0x20 < bVar1 - 0x3f) && (-1 < (int)uVar2)) {\n          if (uVar2 != 0x7e) {\n            return 0;\n          }\n          *ppcVar7 = pcVar5 + 2;\n          return 0x5e;\n        }\n        *ppcVar7 = pcVar5 + 2;\n        return uVar2 ^ 0x40;\n      }\n      cVar4 = (**(code **)(puVar9 + 0x5d5e8))(pcVar5 + 2);\n      pcVar6 = *ppcVar7;\n      if ((pcVar6 != pcVar5 + 2) && (*pcVar6 == '>')) {\n        *ppcVar7 = pcVar6 + 1;\n        return (int)cVar4;\n      }\n    }\n  }" (if "if") (parenthesized_expression "(*pcVar5 == '^')" (( "(") (binary_expression "*pcVar5 == '^'" (pointer_expression "*pcVar5" (* "*") (identifier "pcVar5")) (== "==") (char_literal "'^'" (' "'") (character "^") (' "'"))) () ")")) (compound_statement "{\n    bVar1 = pcVar5[1];\n    uVar2 = (uint)(char)bVar1;\n    if (uVar2 != 0) {\n      if (uVar2 != 0x3c) {\n        if (bVar1 - 0x61 < 0x1a) {\n          *ppcVar7 = pcVar5 + 2;\n          return (int)(char)(bVar1 + 0xa0);\n        }\n        if ((0x20 < bVar1 - 0x3f) && (-1 < (int)uVar2)) {\n          if (uVar2 != 0x7e) {\n            return 0;\n          }\n          *ppcVar7 = pcVar5 + 2;\n          return 0x5e;\n        }\n        *ppcVar7 = pcVar5 + 2;\n        return uVar2 ^ 0x40;\n      }\n      cVar4 = (**(code **)(puVar9 + 0x5d5e8))(pcVar5 + 2);\n      pcVar6 = *ppcVar7;\n      if ((pcVar6 != pcVar5 + 2) && (*pcVar6 == '>')) {\n        *ppcVar7 = pcVar6 + 1;\n        return (int)cVar4;\n      }\n    }\n  }" ({ "{") (expression_statement "bVar1 = pcVar5[1];" (assignment_expression "bVar1 = pcVar5[1]" (identifier "bVar1") (= "=") (subscript_expression "pcVar5[1]" (identifier "pcVar5") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "uVar2 = (uint)(char)bVar1;" (assignment_expression "uVar2 = (uint)(char)bVar1" (identifier "uVar2") (= "=") (cast_expression "(uint)(char)bVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (cast_expression "(char)bVar1" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "bVar1")))) (; ";")) (if_statement "if (uVar2 != 0) {\n      if (uVar2 != 0x3c) {\n        if (bVar1 - 0x61 < 0x1a) {\n          *ppcVar7 = pcVar5 + 2;\n          return (int)(char)(bVar1 + 0xa0);\n        }\n        if ((0x20 < bVar1 - 0x3f) && (-1 < (int)uVar2)) {\n          if (uVar2 != 0x7e) {\n            return 0;\n          }\n          *ppcVar7 = pcVar5 + 2;\n          return 0x5e;\n        }\n        *ppcVar7 = pcVar5 + 2;\n        return uVar2 ^ 0x40;\n      }\n      cVar4 = (**(code **)(puVar9 + 0x5d5e8))(pcVar5 + 2);\n      pcVar6 = *ppcVar7;\n      if ((pcVar6 != pcVar5 + 2) && (*pcVar6 == '>')) {\n        *ppcVar7 = pcVar6 + 1;\n        return (int)cVar4;\n      }\n    }" (if "if") (parenthesized_expression "(uVar2 != 0)" (( "(") (binary_expression "uVar2 != 0" (identifier "uVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      if (uVar2 != 0x3c) {\n        if (bVar1 - 0x61 < 0x1a) {\n          *ppcVar7 = pcVar5 + 2;\n          return (int)(char)(bVar1 + 0xa0);\n        }\n        if ((0x20 < bVar1 - 0x3f) && (-1 < (int)uVar2)) {\n          if (uVar2 != 0x7e) {\n            return 0;\n          }\n          *ppcVar7 = pcVar5 + 2;\n          return 0x5e;\n        }\n        *ppcVar7 = pcVar5 + 2;\n        return uVar2 ^ 0x40;\n      }\n      cVar4 = (**(code **)(puVar9 + 0x5d5e8))(pcVar5 + 2);\n      pcVar6 = *ppcVar7;\n      if ((pcVar6 != pcVar5 + 2) && (*pcVar6 == '>')) {\n        *ppcVar7 = pcVar6 + 1;\n        return (int)cVar4;\n      }\n    }" ({ "{") (if_statement "if (uVar2 != 0x3c) {\n        if (bVar1 - 0x61 < 0x1a) {\n          *ppcVar7 = pcVar5 + 2;\n          return (int)(char)(bVar1 + 0xa0);\n        }\n        if ((0x20 < bVar1 - 0x3f) && (-1 < (int)uVar2)) {\n          if (uVar2 != 0x7e) {\n            return 0;\n          }\n          *ppcVar7 = pcVar5 + 2;\n          return 0x5e;\n        }\n        *ppcVar7 = pcVar5 + 2;\n        return uVar2 ^ 0x40;\n      }" (if "if") (parenthesized_expression "(uVar2 != 0x3c)" (( "(") (binary_expression "uVar2 != 0x3c" (identifier "uVar2") (!= "!=") (number_literal "0x3c")) () ")")) (compound_statement "{\n        if (bVar1 - 0x61 < 0x1a) {\n          *ppcVar7 = pcVar5 + 2;\n          return (int)(char)(bVar1 + 0xa0);\n        }\n        if ((0x20 < bVar1 - 0x3f) && (-1 < (int)uVar2)) {\n          if (uVar2 != 0x7e) {\n            return 0;\n          }\n          *ppcVar7 = pcVar5 + 2;\n          return 0x5e;\n        }\n        *ppcVar7 = pcVar5 + 2;\n        return uVar2 ^ 0x40;\n      }" ({ "{") (if_statement "if (bVar1 - 0x61 < 0x1a) {\n          *ppcVar7 = pcVar5 + 2;\n          return (int)(char)(bVar1 + 0xa0);\n        }" (if "if") (parenthesized_expression "(bVar1 - 0x61 < 0x1a)" (( "(") (binary_expression "bVar1 - 0x61 < 0x1a" (binary_expression "bVar1 - 0x61" (identifier "bVar1") (- "-") (number_literal "0x61")) (< "<") (number_literal "0x1a")) () ")")) (compound_statement "{\n          *ppcVar7 = pcVar5 + 2;\n          return (int)(char)(bVar1 + 0xa0);\n        }" ({ "{") (expression_statement "*ppcVar7 = pcVar5 + 2;" (assignment_expression "*ppcVar7 = pcVar5 + 2" (pointer_expression "*ppcVar7" (* "*") (identifier "ppcVar7")) (= "=") (binary_expression "pcVar5 + 2" (identifier "pcVar5") (+ "+") (number_literal "2"))) (; ";")) (return_statement "return (int)(char)(bVar1 + 0xa0);" (return "return") (cast_expression "(int)(char)(bVar1 + 0xa0)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (cast_expression "(char)(bVar1 + 0xa0)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "(bVar1 + 0xa0)" (( "(") (binary_expression "bVar1 + 0xa0" (identifier "bVar1") (+ "+") (number_literal "0xa0")) () ")")))) (; ";")) (} "}"))) (if_statement "if ((0x20 < bVar1 - 0x3f) && (-1 < (int)uVar2)) {\n          if (uVar2 != 0x7e) {\n            return 0;\n          }\n          *ppcVar7 = pcVar5 + 2;\n          return 0x5e;\n        }" (if "if") (parenthesized_expression "((0x20 < bVar1 - 0x3f) && (-1 < (int)uVar2))" (( "(") (binary_expression "(0x20 < bVar1 - 0x3f) && (-1 < (int)uVar2)" (parenthesized_expression "(0x20 < bVar1 - 0x3f)" (( "(") (binary_expression "0x20 < bVar1 - 0x3f" (number_literal "0x20") (< "<") (binary_expression "bVar1 - 0x3f" (identifier "bVar1") (- "-") (number_literal "0x3f"))) () ")")) (&& "&&") (parenthesized_expression "(-1 < (int)uVar2)" (( "(") (binary_expression "-1 < (int)uVar2" (number_literal "-1") (< "<") (cast_expression "(int)uVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar2"))) () ")"))) () ")")) (compound_statement "{\n          if (uVar2 != 0x7e) {\n            return 0;\n          }\n          *ppcVar7 = pcVar5 + 2;\n          return 0x5e;\n        }" ({ "{") (if_statement "if (uVar2 != 0x7e) {\n            return 0;\n          }" (if "if") (parenthesized_expression "(uVar2 != 0x7e)" (( "(") (binary_expression "uVar2 != 0x7e" (identifier "uVar2") (!= "!=") (number_literal "0x7e")) () ")")) (compound_statement "{\n            return 0;\n          }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "*ppcVar7 = pcVar5 + 2;" (assignment_expression "*ppcVar7 = pcVar5 + 2" (pointer_expression "*ppcVar7" (* "*") (identifier "ppcVar7")) (= "=") (binary_expression "pcVar5 + 2" (identifier "pcVar5") (+ "+") (number_literal "2"))) (; ";")) (return_statement "return 0x5e;" (return "return") (number_literal "0x5e") (; ";")) (} "}"))) (expression_statement "*ppcVar7 = pcVar5 + 2;" (assignment_expression "*ppcVar7 = pcVar5 + 2" (pointer_expression "*ppcVar7" (* "*") (identifier "ppcVar7")) (= "=") (binary_expression "pcVar5 + 2" (identifier "pcVar5") (+ "+") (number_literal "2"))) (; ";")) (return_statement "return uVar2 ^ 0x40;" (return "return") (binary_expression "uVar2 ^ 0x40" (identifier "uVar2") (^ "^") (number_literal "0x40")) (; ";")) (} "}"))) (expression_statement "cVar4 = (**(code **)(puVar9 + 0x5d5e8))(pcVar5 + 2);" (assignment_expression "cVar4 = (**(code **)(puVar9 + 0x5d5e8))(pcVar5 + 2)" (identifier "cVar4") (= "=") (call_expression "(**(code **)(puVar9 + 0x5d5e8))(pcVar5 + 2)" (parenthesized_expression "(**(code **)(puVar9 + 0x5d5e8))" (( "(") (pointer_expression "**(code **)(puVar9 + 0x5d5e8)" (* "*") (pointer_expression "*(code **)(puVar9 + 0x5d5e8)" (* "*") (cast_expression "(code **)(puVar9 + 0x5d5e8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar9 + 0x5d5e8)" (( "(") (binary_expression "puVar9 + 0x5d5e8" (identifier "puVar9") (+ "+") (number_literal "0x5d5e8")) () ")"))))) () ")")) (argument_list "(pcVar5 + 2)" (( "(") (binary_expression "pcVar5 + 2" (identifier "pcVar5") (+ "+") (number_literal "2")) () ")")))) (; ";")) (expression_statement "pcVar6 = *ppcVar7;" (assignment_expression "pcVar6 = *ppcVar7" (identifier "pcVar6") (= "=") (pointer_expression "*ppcVar7" (* "*") (identifier "ppcVar7"))) (; ";")) (if_statement "if ((pcVar6 != pcVar5 + 2) && (*pcVar6 == '>')) {\n        *ppcVar7 = pcVar6 + 1;\n        return (int)cVar4;\n      }" (if "if") (parenthesized_expression "((pcVar6 != pcVar5 + 2) && (*pcVar6 == '>'))" (( "(") (binary_expression "(pcVar6 != pcVar5 + 2) && (*pcVar6 == '>')" (parenthesized_expression "(pcVar6 != pcVar5 + 2)" (( "(") (binary_expression "pcVar6 != pcVar5 + 2" (identifier "pcVar6") (!= "!=") (binary_expression "pcVar5 + 2" (identifier "pcVar5") (+ "+") (number_literal "2"))) () ")")) (&& "&&") (parenthesized_expression "(*pcVar6 == '>')" (( "(") (binary_expression "*pcVar6 == '>'" (pointer_expression "*pcVar6" (* "*") (identifier "pcVar6")) (== "==") (char_literal "'>'" (' "'") (character ">") (' "'"))) () ")"))) () ")")) (compound_statement "{\n        *ppcVar7 = pcVar6 + 1;\n        return (int)cVar4;\n      }" ({ "{") (expression_statement "*ppcVar7 = pcVar6 + 1;" (assignment_expression "*ppcVar7 = pcVar6 + 1" (pointer_expression "*ppcVar7" (* "*") (identifier "ppcVar7")) (= "=") (binary_expression "pcVar6 + 1" (identifier "pcVar6") (+ "+") (number_literal "1"))) (; ";")) (return_statement "return (int)cVar4;" (return "return") (cast_expression "(int)cVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "cVar4")) (; ";")) (} "}"))) (} "}"))) (} "}"))) (expression_statement "*ppcVar7 = (char *)0x0;" (assignment_expression "*ppcVar7 = (char *)0x0" (pointer_expression "*ppcVar7" (* "*") (identifier "ppcVar7")) (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

type_1 function_1(char *bs)

{
  type_2 var_6;
  type_1 uVar2;
  int *piVar3;
  char cVar4;
  char *var_3;
  char *var_8;
  char **ppcVar7;
  type_3 var_2;
  type_4 *var_7;
  char *var_1;
  char *var_5;
  
  var_7 = PTR___stack_chk_guard_00079930;
  ppcVar7 = &var_1;
  var_5 = *(char **)PTR___stack_chk_guard_00079930;
  uVar2 = (*(type_5 *)PTR_strtoul_00079754)(bs,ppcVar7,10);
  var_3 = var_1;
  var_2 = (type_3)*var_1;
  if (var_2 != 0) {
    piVar3 = (int *)(*(type_5 *)PTR___ctype_b_loc_000797fc)();
    do {
      var_3 = var_3 + 1;
      if ((*(type_6 *)(*piVar3 + (var_2 & 0xff) * 2) & 0x20) == 0) {
        var_2 = var_2 - 0x47 & 0xff;
        if (var_2 < 0x27) {
                    /* WARNING: Could not emulate address calculation at 0x0001c19c */
                    /* WARNING: Treating indirect jump as call */
          uVar2 = (*(type_5 *)(&_gp + *(int *)(var_4 + var_2 * 4 + -0x1be0)))();
          return uVar2;
        }
        break;
      }
      var_2 = (type_3)*var_3;
      var_1 = var_3;
    } while (var_2 != 0);
  }
  if (var_5 == *(char **)var_7) {
    return uVar2;
  }
  var_3 = var_5;
  var_7 = PTR___stack_chk_fail_000797f0;
  (*(type_5 *)PTR___stack_chk_fail_000797f0)();
  if (*var_3 == '^') {
    var_6 = var_3[1];
    var_2 = (type_3)(char)var_6;
    if (var_2 != 0) {
      if (var_2 != 0x3c) {
        if (var_6 - 0x61 < 0x1a) {
          *ppcVar7 = var_3 + 2;
          return (int)(char)(var_6 + 0xa0);
        }
        if ((0x20 < var_6 - 0x3f) && (-1 < (int)var_2)) {
          if (var_2 != 0x7e) {
            return 0;
          }
          *ppcVar7 = var_3 + 2;
          return 0x5e;
        }
        *ppcVar7 = var_3 + 2;
        return var_2 ^ 0x40;
      }
      cVar4 = (**(type_5 **)(var_7 + 0x5d5e8))(var_3 + 2);
      var_8 = *ppcVar7;
      if ((var_8 != var_3 + 2) && (*var_8 == '>')) {
        *ppcVar7 = var_8 + 1;
        return (int)cVar4;
      }
    }
  }
  *ppcVar7 = (char *)0x0;
  return 0;
}


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

uint MASKED(undefined4 param_1)

{
  byte bVar1;
  uint uVar2;
  int *piVar3;
  char cVar4;
  char *pcVar5;
  char *pcVar6;
  char **ppcVar7;
  uint uVar8;
  undefined *puVar9;
  char *local_20;
  char *local_1c;
  
  puVar9 = PTR___stack_chk_guard_00079930;
  ppcVar7 = &local_20;
  local_1c = *(char **)PTR___stack_chk_guard_00079930;
  uVar2 = (*(code *)PTR_strtoul_00079754)(param_1,ppcVar7,10);
  pcVar5 = local_20;
  uVar8 = (uint)*local_20;
  if (uVar8 != 0) {
    piVar3 = (int *)(*(code *)PTR___ctype_b_loc_000797fc)();
    do {
      pcVar5 = pcVar5 + 1;
      if ((*(ushort *)(*piVar3 + (uVar8 & 0xff) * 2) & 0x20) == 0) {
        uVar8 = uVar8 - 0x47 & 0xff;
        if (uVar8 < 0x27) {
                    /* WARNING: Could not emulate address calculation at 0x0001c19c */
                    /* WARNING: Treating indirect jump as call */
          uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_s_j_000790a8 + uVar8 * 4 + -0x1be0)))();
          return uVar2;
        }
        break;
      }
      uVar8 = (uint)*pcVar5;
      local_20 = pcVar5;
    } while (uVar8 != 0);
  }
  if (local_1c == *(char **)puVar9) {
    return uVar2;
  }
  pcVar5 = local_1c;
  puVar9 = PTR___stack_chk_fail_000797f0;
  (*(code *)PTR___stack_chk_fail_000797f0)();
  if (*pcVar5 == '^') {
    bVar1 = pcVar5[1];
    uVar2 = (uint)(char)bVar1;
    if (uVar2 != 0) {
      if (uVar2 != 0x3c) {
        if (bVar1 - 0x61 < 0x1a) {
          *ppcVar7 = pcVar5 + 2;
          return (int)(char)(bVar1 + 0xa0);
        }
        if ((0x20 < bVar1 - 0x3f) && (-1 < (int)uVar2)) {
          if (uVar2 != 0x7e) {
            return 0;
          }
          *ppcVar7 = pcVar5 + 2;
          return 0x5e;
        }
        *ppcVar7 = pcVar5 + 2;
        return uVar2 ^ 0x40;
      }
      cVar4 = (**(code **)(puVar9 + 0x5d5e8))(pcVar5 + 2);
      pcVar6 = *ppcVar7;
      if ((pcVar6 != pcVar5 + 2) && (*pcVar6 == '>')) {
        *ppcVar7 = pcVar6 + 1;
        return (int)cVar4;
      }
    }
  }
  *ppcVar7 = (char *)0x0;
  return 0;
}

