
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

int gzvprintf(gzFile file,char *format,va_list va)

{
  off64_t *poVar1;
  int *piVar2;
  uchar *puVar3;
  off64_t oVar4;
  uchar *puVar5;
  int iVar6;
  uchar *puVar7;
  off64_t in_stack_ffffffd4;
  
  if (((file == (gzFile)0x0) || (file[1].have != 0x79b1)) || ((int)file[5].pos != 0)) {
    puVar5 = (uchar *)0xfffffffe;
  }
  else {
    if ((*(int *)((int)&file[1].pos + 4) == 0) && (iVar6 = gz_init((gz_statep)file), iVar6 == -1)) {
LAB_0001e8e0:
      return (int)file[5].pos;
    }
    if (file[5].next != (uchar *)0x0) {
      file[5].next = (uchar *)0x0;
      iVar6 = gz_zero((gz_statep)file,in_stack_ffffffd4);
      if (iVar6 == -1) goto LAB_0001e8e0;
    }
    puVar7 = file[2].next;
    if (file[6].next == (uchar *)0x0) {
      file[6].have = (uint)puVar7;
      puVar5 = (uchar *)0x0;
    }
    else {
      puVar5 = file[6].next + (file[6].have - (int)puVar7);
    }
    puVar7 = puVar7 + (int)puVar5;
    puVar7[*(int *)((int)&file[1].pos + 4) + -1] = '\0';
    puVar5 = (uchar *)__vsnprintf_chk(puVar7,*(undefined4 *)((int)&file[1].pos + 4),1,0xffffffff,
                                      format,va);
    if (puVar5 != (uchar *)0x0) {
      puVar3 = *(uchar **)((int)&file[1].pos + 4);
      if ((puVar5 < puVar3) && ((puVar7 + -1)[(int)puVar3] == '\0')) {
        puVar7 = file[6].next + (int)puVar5;
        poVar1 = &file->pos;
        oVar4 = *poVar1;
        *(uchar **)poVar1 = puVar5 + (int)*poVar1;
        piVar2 = (int *)((int)&file->pos + 4);
        *piVar2 = *piVar2 + ((int)puVar5 >> 0x1f) + (uint)CARRY4((uint)oVar4,(uint)puVar5);
        file[6].next = puVar7;
        if (puVar3 <= puVar7) {
          file[6].next = puVar3;
          iVar6 = gz_comp((gz_statep)file,0);
          if (iVar6 == -1) goto LAB_0001e8e0;
          memcpy(file[2].next,file[2].next + *(int *)((int)&file[1].pos + 4),
                 (size_t)(puVar7 + -(int)puVar3));
          file[6].next = puVar7 + -(int)puVar3;
          file[6].have = (uint)file[2].next;
        }
      }
      else {
        puVar5 = (uchar *)0x0;
      }
    }
  }
  return (int)puVar5;
}



uint __regparm2
gzvprintf(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)

{
  uint *puVar1;
  uint uVar2;
  uint uVar3;
  int iVar4;
  uint uVar5;
  int iVar6;
  uint uVar7;
  int unaff_retaddr;
  
  entry(param_2,0x1e7b9);
  if (((unaff_retaddr == 0) || (*(int *)(unaff_retaddr + 0x10) != 0x79b1)) ||
     (*(int *)(unaff_retaddr + 0x58) != 0)) {
    uVar5 = 0xfffffffe;
  }
  else {
    if ((*(int *)(unaff_retaddr + 0x1c) == 0) && (iVar6 = FUN_0001e020(), iVar6 == -1)) {
LAB_0001e8e0:
      return *(uint *)(unaff_retaddr + 0x58);
    }
    if (*(int *)(unaff_retaddr + 0x54) != 0) {
      *(undefined4 *)(unaff_retaddr + 0x54) = 0;
      iVar6 = FUN_0001e320();
      if (iVar6 == -1) goto LAB_0001e8e0;
    }
    iVar6 = *(int *)(unaff_retaddr + 0x24);
    if (*(int *)(unaff_retaddr + 100) == 0) {
      *(int *)(unaff_retaddr + 0x60) = iVar6;
      iVar4 = 0;
    }
    else {
      iVar4 = *(int *)(unaff_retaddr + 100) + (*(int *)(unaff_retaddr + 0x60) - iVar6);
    }
    iVar6 = iVar6 + iVar4;
    *(undefined1 *)(iVar6 + -1 + *(int *)(unaff_retaddr + 0x1c)) = 0;
    uVar5 = __vsnprintf_chk(iVar6,*(undefined4 *)(unaff_retaddr + 0x1c),1,0xffffffff,param_3,param_4
                           );
    if (uVar5 != 0) {
      uVar3 = *(uint *)(unaff_retaddr + 0x1c);
      if ((uVar5 < uVar3) && (*(char *)(iVar6 + -1 + uVar3) == '\0')) {
        uVar7 = *(int *)(unaff_retaddr + 100) + uVar5;
        puVar1 = (uint *)(unaff_retaddr + 8);
        uVar2 = *puVar1;
        *puVar1 = *puVar1 + uVar5;
        *(int *)(unaff_retaddr + 0xc) =
             *(int *)(unaff_retaddr + 0xc) + ((int)uVar5 >> 0x1f) + (uint)CARRY4(uVar2,uVar5);
        *(uint *)(unaff_retaddr + 100) = uVar7;
        if (uVar3 <= uVar7) {
          *(uint *)(unaff_retaddr + 100) = uVar3;
          iVar6 = FUN_0001e130();
          if (iVar6 == -1) goto LAB_0001e8e0;
          memcpy(*(void **)(unaff_retaddr + 0x24),
                 (void *)(*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24)),
                 uVar7 - uVar3);
          *(uint *)(unaff_retaddr + 100) = uVar7 - uVar3;
          *(undefined4 *)(unaff_retaddr + 0x60) = *(undefined4 *)(unaff_retaddr + 0x24);
        }
      }
      else {
        uVar5 = 0;
      }
    }
  }
  return uVar5;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00011aa0
ADD EBX,0x9847
SUB ESP,0x1c
MOV ESI,dword ptr [ESP + 0x30]
TEST ESI,ESI
JZ 0x0001e910
CMP dword ptr [ESI + 0x10],0x79b1
JNZ 0x0001e910
MOV ECX,dword ptr [ESI + 0x58]
TEST ECX,ECX
JNZ 0x0001e910
MOV EDX,dword ptr [ESI + 0x1c]
TEST EDX,EDX
JZ 0x0001e8d0
MOV EAX,dword ptr [ESI + 0x54]
TEST EAX,EAX
JNZ 0x0001e8f0
MOV EAX,dword ptr [ESI + 0x64]
MOV EDX,dword ptr [ESI + 0x24]
TEST EAX,EAX
JZ 0x0001e8b0
MOV ECX,dword ptr [ESI + 0x60]
SUB ECX,EDX
ADD EAX,ECX
LEA EBP,[EDX + EAX*0x1]
MOV EAX,dword ptr [ESI + 0x1c]
SUB ESP,0x8
MOV byte ptr [EBP + EAX*0x1 + -0x1],0x0
PUSH dword ptr [ESP + 0x40]
PUSH dword ptr [ESP + 0x40]
PUSH -0x1
PUSH 0x1
PUSH dword ptr [ESI + 0x1c]
PUSH EBP
CALL 0x000119e0
ADD ESP,0x20
TEST EAX,EAX
MOV EDI,EAX
JZ 0x0001e8c2
MOV EAX,dword ptr [ESI + 0x1c]
CMP EAX,EDI
JBE 0x0001e8c0
CMP byte ptr [EBP + EAX*0x1 + -0x1],0x0
MOV dword ptr [ESP + 0x8],EAX
JNZ 0x0001e8c0
MOV ECX,dword ptr [ESI + 0x64]
MOV EAX,EDI
CDQ
ADD ECX,EDI
ADD dword ptr [ESI + 0x8],EDI
ADC dword ptr [ESI + 0xc],EDX
CMP dword ptr [ESP + 0x8],ECX
MOV dword ptr [ESI + 0x64],ECX
JA 0x0001e8c2
MOV EAX,dword ptr [ESP + 0x8]
XOR EDX,EDX
MOV dword ptr [ESP + 0xc],ECX
MOV dword ptr [ESI + 0x64],EAX
MOV EAX,ESI
CALL 0x0001e130
CMP EAX,-0x1
MOV ECX,dword ptr [ESP + 0xc]
JZ 0x0001e8e0
SUB ECX,dword ptr [ESP + 0x8]
MOV EAX,dword ptr [ESI + 0x24]
SUB ESP,0x4
MOV EDX,dword ptr [ESI + 0x1c]
ADD EDX,EAX
PUSH ECX
MOV EBP,ECX
PUSH EDX
PUSH EAX
CALL 0x00011850
MOV EAX,dword ptr [ESI + 0x24]
MOV dword ptr [ESI + 0x64],EBP
ADD ESP,0x10
MOV dword ptr [ESI + 0x60],EAX
JMP 0x0001e8c2
MOV dword ptr [ESI + 0x60],EDX
JMP 0x0001e811
XOR EDI,EDI
ADD ESP,0x1c
MOV EAX,EDI
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,ESI
CALL 0x0001e020
CMP EAX,-0x1
JNZ 0x0001e7f1
MOV EDI,dword ptr [ESI + 0x58]
ADD ESP,0x1c
POP EBX
POP ESI
MOV EAX,EDI
POP EDI
POP EBP
RET
MOV EDX,dword ptr [ESI + 0x4c]
MOV ECX,dword ptr [ESI + 0x50]
MOV EAX,ESI
MOV dword ptr [ESI + 0x54],0x0
CALL 0x0001e320
CMP EAX,-0x1
JNZ 0x0001e7fc
JMP 0x0001e8e0
MOV EDI,0xfffffffe
JMP 0x0001e8c2
(translation_unit "uint __regparm2\ngzvprintf(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  uint *puVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  uint uVar7;\n  int unaff_retaddr;\n  \n  entry(param_2,0x1e7b9);\n  if (((unaff_retaddr == 0) || (*(int *)(unaff_retaddr + 0x10) != 0x79b1)) ||\n     (*(int *)(unaff_retaddr + 0x58) != 0)) {\n    uVar5 = 0xfffffffe;\n  }\n  else {\n    if ((*(int *)(unaff_retaddr + 0x1c) == 0) && (iVar6 = FUN_0001e020(), iVar6 == -1)) {\nLAB_0001e8e0:\n      return *(uint *)(unaff_retaddr + 0x58);\n    }\n    if (*(int *)(unaff_retaddr + 0x54) != 0) {\n      *(undefined4 *)(unaff_retaddr + 0x54) = 0;\n      iVar6 = FUN_0001e320();\n      if (iVar6 == -1) goto LAB_0001e8e0;\n    }\n    iVar6 = *(int *)(unaff_retaddr + 0x24);\n    if (*(int *)(unaff_retaddr + 100) == 0) {\n      *(int *)(unaff_retaddr + 0x60) = iVar6;\n      iVar4 = 0;\n    }\n    else {\n      iVar4 = *(int *)(unaff_retaddr + 100) + (*(int *)(unaff_retaddr + 0x60) - iVar6);\n    }\n    iVar6 = iVar6 + iVar4;\n    *(undefined1 *)(iVar6 + -1 + *(int *)(unaff_retaddr + 0x1c)) = 0;\n    uVar5 = __vsnprintf_chk(iVar6,*(undefined4 *)(unaff_retaddr + 0x1c),1,0xffffffff,param_3,param_4\n                           );\n    if (uVar5 != 0) {\n      uVar3 = *(uint *)(unaff_retaddr + 0x1c);\n      if ((uVar5 < uVar3) && (*(char *)(iVar6 + -1 + uVar3) == '\0')) {\n        uVar7 = *(int *)(unaff_retaddr + 100) + uVar5;\n        puVar1 = (uint *)(unaff_retaddr + 8);\n        uVar2 = *puVar1;\n        *puVar1 = *puVar1 + uVar5;\n        *(int *)(unaff_retaddr + 0xc) =\n             *(int *)(unaff_retaddr + 0xc) + ((int)uVar5 >> 0x1f) + (uint)CARRY4(uVar2,uVar5);\n        *(uint *)(unaff_retaddr + 100) = uVar7;\n        if (uVar3 <= uVar7) {\n          *(uint *)(unaff_retaddr + 100) = uVar3;\n          iVar6 = FUN_0001e130();\n          if (iVar6 == -1) goto LAB_0001e8e0;\n          memcpy(*(void **)(unaff_retaddr + 0x24),\n                 (void *)(*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24)),\n                 uVar7 - uVar3);\n          *(uint *)(unaff_retaddr + 100) = uVar7 - uVar3;\n          *(undefined4 *)(unaff_retaddr + 0x60) = *(undefined4 *)(unaff_retaddr + 0x24);\n        }\n      }\n      else {\n        uVar5 = 0;\n      }\n    }\n  }\n  return uVar5;\n}\n\n" (function_definition "uint __regparm2\ngzvprintf(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  uint *puVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  uint uVar7;\n  int unaff_retaddr;\n  \n  entry(param_2,0x1e7b9);\n  if (((unaff_retaddr == 0) || (*(int *)(unaff_retaddr + 0x10) != 0x79b1)) ||\n     (*(int *)(unaff_retaddr + 0x58) != 0)) {\n    uVar5 = 0xfffffffe;\n  }\n  else {\n    if ((*(int *)(unaff_retaddr + 0x1c) == 0) && (iVar6 = FUN_0001e020(), iVar6 == -1)) {\nLAB_0001e8e0:\n      return *(uint *)(unaff_retaddr + 0x58);\n    }\n    if (*(int *)(unaff_retaddr + 0x54) != 0) {\n      *(undefined4 *)(unaff_retaddr + 0x54) = 0;\n      iVar6 = FUN_0001e320();\n      if (iVar6 == -1) goto LAB_0001e8e0;\n    }\n    iVar6 = *(int *)(unaff_retaddr + 0x24);\n    if (*(int *)(unaff_retaddr + 100) == 0) {\n      *(int *)(unaff_retaddr + 0x60) = iVar6;\n      iVar4 = 0;\n    }\n    else {\n      iVar4 = *(int *)(unaff_retaddr + 100) + (*(int *)(unaff_retaddr + 0x60) - iVar6);\n    }\n    iVar6 = iVar6 + iVar4;\n    *(undefined1 *)(iVar6 + -1 + *(int *)(unaff_retaddr + 0x1c)) = 0;\n    uVar5 = __vsnprintf_chk(iVar6,*(undefined4 *)(unaff_retaddr + 0x1c),1,0xffffffff,param_3,param_4\n                           );\n    if (uVar5 != 0) {\n      uVar3 = *(uint *)(unaff_retaddr + 0x1c);\n      if ((uVar5 < uVar3) && (*(char *)(iVar6 + -1 + uVar3) == '\0')) {\n        uVar7 = *(int *)(unaff_retaddr + 100) + uVar5;\n        puVar1 = (uint *)(unaff_retaddr + 8);\n        uVar2 = *puVar1;\n        *puVar1 = *puVar1 + uVar5;\n        *(int *)(unaff_retaddr + 0xc) =\n             *(int *)(unaff_retaddr + 0xc) + ((int)uVar5 >> 0x1f) + (uint)CARRY4(uVar2,uVar5);\n        *(uint *)(unaff_retaddr + 100) = uVar7;\n        if (uVar3 <= uVar7) {\n          *(uint *)(unaff_retaddr + 100) = uVar3;\n          iVar6 = FUN_0001e130();\n          if (iVar6 == -1) goto LAB_0001e8e0;\n          memcpy(*(void **)(unaff_retaddr + 0x24),\n                 (void *)(*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24)),\n                 uVar7 - uVar3);\n          *(uint *)(unaff_retaddr + 100) = uVar7 - uVar3;\n          *(undefined4 *)(unaff_retaddr + 0x60) = *(undefined4 *)(unaff_retaddr + 0x24);\n        }\n      }\n      else {\n        uVar5 = 0;\n      }\n    }\n  }\n  return uVar5;\n}" type_identifier (ERROR "__regparm2" identifier) (function_declarator "gzvprintf(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  uint *puVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  uint uVar7;\n  int unaff_retaddr;\n  \n  entry(param_2,0x1e7b9);\n  if (((unaff_retaddr == 0) || (*(int *)(unaff_retaddr + 0x10) != 0x79b1)) ||\n     (*(int *)(unaff_retaddr + 0x58) != 0)) {\n    uVar5 = 0xfffffffe;\n  }\n  else {\n    if ((*(int *)(unaff_retaddr + 0x1c) == 0) && (iVar6 = FUN_0001e020(), iVar6 == -1)) {\nLAB_0001e8e0:\n      return *(uint *)(unaff_retaddr + 0x58);\n    }\n    if (*(int *)(unaff_retaddr + 0x54) != 0) {\n      *(undefined4 *)(unaff_retaddr + 0x54) = 0;\n      iVar6 = FUN_0001e320();\n      if (iVar6 == -1) goto LAB_0001e8e0;\n    }\n    iVar6 = *(int *)(unaff_retaddr + 0x24);\n    if (*(int *)(unaff_retaddr + 100) == 0) {\n      *(int *)(unaff_retaddr + 0x60) = iVar6;\n      iVar4 = 0;\n    }\n    else {\n      iVar4 = *(int *)(unaff_retaddr + 100) + (*(int *)(unaff_retaddr + 0x60) - iVar6);\n    }\n    iVar6 = iVar6 + iVar4;\n    *(undefined1 *)(iVar6 + -1 + *(int *)(unaff_retaddr + 0x1c)) = 0;\n    uVar5 = __vsnprintf_chk(iVar6,*(undefined4 *)(unaff_retaddr + 0x1c),1,0xffffffff,param_3,param_4\n                           );\n    if (uVar5 != 0) {\n      uVar3 = *(uint *)(unaff_retaddr + 0x1c);\n      if ((uVar5 < uVar3) && (*(char *)(iVar6 + -1 + uVar3) == '\0')) {\n        uVar7 = *(int *)(unaff_retaddr + 100) + uVar5;\n        puVar1 = (uint *)(unaff_retaddr + 8);\n        uVar2 = *puVar1;\n        *puVar1 = *puVar1 + uVar5;\n        *(int *)(unaff_retaddr + 0xc) =\n             *(int *)(unaff_retaddr + 0xc) + ((int)uVar5 >> 0x1f) + (uint)CARRY4(uVar2,uVar5);\n        *(uint *)(unaff_retaddr + 100) = uVar7;\n        if (uVar3 <= uVar7) {\n          *(uint *)(unaff_retaddr + 100) = uVar3;\n          iVar6 = FUN_0001e130();\n          if (iVar6 == -1) goto LAB_0001e8e0;\n          memcpy(*(void **)(unaff_retaddr + 0x24),\n                 (void *)(*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24)),\n                 uVar7 - uVar3);\n          *(uint *)(unaff_retaddr + 100) = uVar7 - uVar3;\n          *(undefined4 *)(unaff_retaddr + 0x60) = *(undefined4 *)(unaff_retaddr + 0x24);\n        }\n      }\n      else {\n        uVar5 = 0;\n      }\n    }\n  }\n  return uVar5;\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int unaff_retaddr;" primitive_type identifier ;) (expression_statement "entry(param_2,0x1e7b9);" (call_expression "entry(param_2,0x1e7b9)" identifier (argument_list "(param_2,0x1e7b9)" ( identifier , number_literal ))) ;) (if_statement "if (((unaff_retaddr == 0) || (*(int *)(unaff_retaddr + 0x10) != 0x79b1)) ||\n     (*(int *)(unaff_retaddr + 0x58) != 0)) {\n    uVar5 = 0xfffffffe;\n  }\n  else {\n    if ((*(int *)(unaff_retaddr + 0x1c) == 0) && (iVar6 = FUN_0001e020(), iVar6 == -1)) {\nLAB_0001e8e0:\n      return *(uint *)(unaff_retaddr + 0x58);\n    }\n    if (*(int *)(unaff_retaddr + 0x54) != 0) {\n      *(undefined4 *)(unaff_retaddr + 0x54) = 0;\n      iVar6 = FUN_0001e320();\n      if (iVar6 == -1) goto LAB_0001e8e0;\n    }\n    iVar6 = *(int *)(unaff_retaddr + 0x24);\n    if (*(int *)(unaff_retaddr + 100) == 0) {\n      *(int *)(unaff_retaddr + 0x60) = iVar6;\n      iVar4 = 0;\n    }\n    else {\n      iVar4 = *(int *)(unaff_retaddr + 100) + (*(int *)(unaff_retaddr + 0x60) - iVar6);\n    }\n    iVar6 = iVar6 + iVar4;\n    *(undefined1 *)(iVar6 + -1 + *(int *)(unaff_retaddr + 0x1c)) = 0;\n    uVar5 = __vsnprintf_chk(iVar6,*(undefined4 *)(unaff_retaddr + 0x1c),1,0xffffffff,param_3,param_4\n                           );\n    if (uVar5 != 0) {\n      uVar3 = *(uint *)(unaff_retaddr + 0x1c);\n      if ((uVar5 < uVar3) && (*(char *)(iVar6 + -1 + uVar3) == '\0')) {\n        uVar7 = *(int *)(unaff_retaddr + 100) + uVar5;\n        puVar1 = (uint *)(unaff_retaddr + 8);\n        uVar2 = *puVar1;\n        *puVar1 = *puVar1 + uVar5;\n        *(int *)(unaff_retaddr + 0xc) =\n             *(int *)(unaff_retaddr + 0xc) + ((int)uVar5 >> 0x1f) + (uint)CARRY4(uVar2,uVar5);\n        *(uint *)(unaff_retaddr + 100) = uVar7;\n        if (uVar3 <= uVar7) {\n          *(uint *)(unaff_retaddr + 100) = uVar3;\n          iVar6 = FUN_0001e130();\n          if (iVar6 == -1) goto LAB_0001e8e0;\n          memcpy(*(void **)(unaff_retaddr + 0x24),\n                 (void *)(*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24)),\n                 uVar7 - uVar3);\n          *(uint *)(unaff_retaddr + 100) = uVar7 - uVar3;\n          *(undefined4 *)(unaff_retaddr + 0x60) = *(undefined4 *)(unaff_retaddr + 0x24);\n        }\n      }\n      else {\n        uVar5 = 0;\n      }\n    }\n  }" if (parenthesized_expression "(((unaff_retaddr == 0) || (*(int *)(unaff_retaddr + 0x10) != 0x79b1)) ||\n     (*(int *)(unaff_retaddr + 0x58) != 0))" ( (binary_expression "((unaff_retaddr == 0) || (*(int *)(unaff_retaddr + 0x10) != 0x79b1)) ||\n     (*(int *)(unaff_retaddr + 0x58) != 0)" (parenthesized_expression "((unaff_retaddr == 0) || (*(int *)(unaff_retaddr + 0x10) != 0x79b1))" ( (binary_expression "(unaff_retaddr == 0) || (*(int *)(unaff_retaddr + 0x10) != 0x79b1)" (parenthesized_expression "(unaff_retaddr == 0)" ( (binary_expression "unaff_retaddr == 0" identifier == number_literal) )) || (parenthesized_expression "(*(int *)(unaff_retaddr + 0x10) != 0x79b1)" ( (binary_expression "*(int *)(unaff_retaddr + 0x10) != 0x79b1" (pointer_expression "*(int *)(unaff_retaddr + 0x10)" * (cast_expression "(int *)(unaff_retaddr + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x10)" ( (binary_expression "unaff_retaddr + 0x10" identifier + number_literal) )))) != number_literal) ))) )) || (parenthesized_expression "(*(int *)(unaff_retaddr + 0x58) != 0)" ( (binary_expression "*(int *)(unaff_retaddr + 0x58) != 0" (pointer_expression "*(int *)(unaff_retaddr + 0x58)" * (cast_expression "(int *)(unaff_retaddr + 0x58)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x58)" ( (binary_expression "unaff_retaddr + 0x58" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n    uVar5 = 0xfffffffe;\n  }" { (expression_statement "uVar5 = 0xfffffffe;" (assignment_expression "uVar5 = 0xfffffffe" identifier = number_literal) ;) }) (else_clause "else {\n    if ((*(int *)(unaff_retaddr + 0x1c) == 0) && (iVar6 = FUN_0001e020(), iVar6 == -1)) {\nLAB_0001e8e0:\n      return *(uint *)(unaff_retaddr + 0x58);\n    }\n    if (*(int *)(unaff_retaddr + 0x54) != 0) {\n      *(undefined4 *)(unaff_retaddr + 0x54) = 0;\n      iVar6 = FUN_0001e320();\n      if (iVar6 == -1) goto LAB_0001e8e0;\n    }\n    iVar6 = *(int *)(unaff_retaddr + 0x24);\n    if (*(int *)(unaff_retaddr + 100) == 0) {\n      *(int *)(unaff_retaddr + 0x60) = iVar6;\n      iVar4 = 0;\n    }\n    else {\n      iVar4 = *(int *)(unaff_retaddr + 100) + (*(int *)(unaff_retaddr + 0x60) - iVar6);\n    }\n    iVar6 = iVar6 + iVar4;\n    *(undefined1 *)(iVar6 + -1 + *(int *)(unaff_retaddr + 0x1c)) = 0;\n    uVar5 = __vsnprintf_chk(iVar6,*(undefined4 *)(unaff_retaddr + 0x1c),1,0xffffffff,param_3,param_4\n                           );\n    if (uVar5 != 0) {\n      uVar3 = *(uint *)(unaff_retaddr + 0x1c);\n      if ((uVar5 < uVar3) && (*(char *)(iVar6 + -1 + uVar3) == '\0')) {\n        uVar7 = *(int *)(unaff_retaddr + 100) + uVar5;\n        puVar1 = (uint *)(unaff_retaddr + 8);\n        uVar2 = *puVar1;\n        *puVar1 = *puVar1 + uVar5;\n        *(int *)(unaff_retaddr + 0xc) =\n             *(int *)(unaff_retaddr + 0xc) + ((int)uVar5 >> 0x1f) + (uint)CARRY4(uVar2,uVar5);\n        *(uint *)(unaff_retaddr + 100) = uVar7;\n        if (uVar3 <= uVar7) {\n          *(uint *)(unaff_retaddr + 100) = uVar3;\n          iVar6 = FUN_0001e130();\n          if (iVar6 == -1) goto LAB_0001e8e0;\n          memcpy(*(void **)(unaff_retaddr + 0x24),\n                 (void *)(*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24)),\n                 uVar7 - uVar3);\n          *(uint *)(unaff_retaddr + 100) = uVar7 - uVar3;\n          *(undefined4 *)(unaff_retaddr + 0x60) = *(undefined4 *)(unaff_retaddr + 0x24);\n        }\n      }\n      else {\n        uVar5 = 0;\n      }\n    }\n  }" else (compound_statement "{\n    if ((*(int *)(unaff_retaddr + 0x1c) == 0) && (iVar6 = FUN_0001e020(), iVar6 == -1)) {\nLAB_0001e8e0:\n      return *(uint *)(unaff_retaddr + 0x58);\n    }\n    if (*(int *)(unaff_retaddr + 0x54) != 0) {\n      *(undefined4 *)(unaff_retaddr + 0x54) = 0;\n      iVar6 = FUN_0001e320();\n      if (iVar6 == -1) goto LAB_0001e8e0;\n    }\n    iVar6 = *(int *)(unaff_retaddr + 0x24);\n    if (*(int *)(unaff_retaddr + 100) == 0) {\n      *(int *)(unaff_retaddr + 0x60) = iVar6;\n      iVar4 = 0;\n    }\n    else {\n      iVar4 = *(int *)(unaff_retaddr + 100) + (*(int *)(unaff_retaddr + 0x60) - iVar6);\n    }\n    iVar6 = iVar6 + iVar4;\n    *(undefined1 *)(iVar6 + -1 + *(int *)(unaff_retaddr + 0x1c)) = 0;\n    uVar5 = __vsnprintf_chk(iVar6,*(undefined4 *)(unaff_retaddr + 0x1c),1,0xffffffff,param_3,param_4\n                           );\n    if (uVar5 != 0) {\n      uVar3 = *(uint *)(unaff_retaddr + 0x1c);\n      if ((uVar5 < uVar3) && (*(char *)(iVar6 + -1 + uVar3) == '\0')) {\n        uVar7 = *(int *)(unaff_retaddr + 100) + uVar5;\n        puVar1 = (uint *)(unaff_retaddr + 8);\n        uVar2 = *puVar1;\n        *puVar1 = *puVar1 + uVar5;\n        *(int *)(unaff_retaddr + 0xc) =\n             *(int *)(unaff_retaddr + 0xc) + ((int)uVar5 >> 0x1f) + (uint)CARRY4(uVar2,uVar5);\n        *(uint *)(unaff_retaddr + 100) = uVar7;\n        if (uVar3 <= uVar7) {\n          *(uint *)(unaff_retaddr + 100) = uVar3;\n          iVar6 = FUN_0001e130();\n          if (iVar6 == -1) goto LAB_0001e8e0;\n          memcpy(*(void **)(unaff_retaddr + 0x24),\n                 (void *)(*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24)),\n                 uVar7 - uVar3);\n          *(uint *)(unaff_retaddr + 100) = uVar7 - uVar3;\n          *(undefined4 *)(unaff_retaddr + 0x60) = *(undefined4 *)(unaff_retaddr + 0x24);\n        }\n      }\n      else {\n        uVar5 = 0;\n      }\n    }\n  }" { (if_statement "if ((*(int *)(unaff_retaddr + 0x1c) == 0) && (iVar6 = FUN_0001e020(), iVar6 == -1)) {\nLAB_0001e8e0:\n      return *(uint *)(unaff_retaddr + 0x58);\n    }" if (parenthesized_expression "((*(int *)(unaff_retaddr + 0x1c) == 0) && (iVar6 = FUN_0001e020(), iVar6 == -1))" ( (binary_expression "(*(int *)(unaff_retaddr + 0x1c) == 0) && (iVar6 = FUN_0001e020(), iVar6 == -1)" (parenthesized_expression "(*(int *)(unaff_retaddr + 0x1c) == 0)" ( (binary_expression "*(int *)(unaff_retaddr + 0x1c) == 0" (pointer_expression "*(int *)(unaff_retaddr + 0x1c)" * (cast_expression "(int *)(unaff_retaddr + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x1c)" ( (binary_expression "unaff_retaddr + 0x1c" identifier + number_literal) )))) == number_literal) )) && (parenthesized_expression "(iVar6 = FUN_0001e020(), iVar6 == -1)" ( (comma_expression "iVar6 = FUN_0001e020(), iVar6 == -1" (assignment_expression "iVar6 = FUN_0001e020()" identifier = (call_expression "FUN_0001e020()" identifier (argument_list "()" ( )))) , (binary_expression "iVar6 == -1" identifier == number_literal)) ))) )) (compound_statement "{\nLAB_0001e8e0:\n      return *(uint *)(unaff_retaddr + 0x58);\n    }" { (labeled_statement "LAB_0001e8e0:\n      return *(uint *)(unaff_retaddr + 0x58);" statement_identifier : (return_statement "return *(uint *)(unaff_retaddr + 0x58);" return (pointer_expression "*(uint *)(unaff_retaddr + 0x58)" * (cast_expression "(uint *)(unaff_retaddr + 0x58)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x58)" ( (binary_expression "unaff_retaddr + 0x58" identifier + number_literal) )))) ;)) })) (if_statement "if (*(int *)(unaff_retaddr + 0x54) != 0) {\n      *(undefined4 *)(unaff_retaddr + 0x54) = 0;\n      iVar6 = FUN_0001e320();\n      if (iVar6 == -1) goto LAB_0001e8e0;\n    }" if (parenthesized_expression "(*(int *)(unaff_retaddr + 0x54) != 0)" ( (binary_expression "*(int *)(unaff_retaddr + 0x54) != 0" (pointer_expression "*(int *)(unaff_retaddr + 0x54)" * (cast_expression "(int *)(unaff_retaddr + 0x54)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x54)" ( (binary_expression "unaff_retaddr + 0x54" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      *(undefined4 *)(unaff_retaddr + 0x54) = 0;\n      iVar6 = FUN_0001e320();\n      if (iVar6 == -1) goto LAB_0001e8e0;\n    }" { (expression_statement "*(undefined4 *)(unaff_retaddr + 0x54) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x54) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x54)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0x54)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x54)" ( (binary_expression "unaff_retaddr + 0x54" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar6 = FUN_0001e320();" (assignment_expression "iVar6 = FUN_0001e320()" identifier = (call_expression "FUN_0001e320()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar6 == -1) goto LAB_0001e8e0;" if (parenthesized_expression "(iVar6 == -1)" ( (binary_expression "iVar6 == -1" identifier == number_literal) )) (goto_statement "goto LAB_0001e8e0;" goto statement_identifier ;)) })) (expression_statement "iVar6 = *(int *)(unaff_retaddr + 0x24);" (assignment_expression "iVar6 = *(int *)(unaff_retaddr + 0x24)" identifier = (pointer_expression "*(int *)(unaff_retaddr + 0x24)" * (cast_expression "(int *)(unaff_retaddr + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x24)" ( (binary_expression "unaff_retaddr + 0x24" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(unaff_retaddr + 100) == 0) {\n      *(int *)(unaff_retaddr + 0x60) = iVar6;\n      iVar4 = 0;\n    }\n    else {\n      iVar4 = *(int *)(unaff_retaddr + 100) + (*(int *)(unaff_retaddr + 0x60) - iVar6);\n    }" if (parenthesized_expression "(*(int *)(unaff_retaddr + 100) == 0)" ( (binary_expression "*(int *)(unaff_retaddr + 100) == 0" (pointer_expression "*(int *)(unaff_retaddr + 100)" * (cast_expression "(int *)(unaff_retaddr + 100)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 100)" ( (binary_expression "unaff_retaddr + 100" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      *(int *)(unaff_retaddr + 0x60) = iVar6;\n      iVar4 = 0;\n    }" { (expression_statement "*(int *)(unaff_retaddr + 0x60) = iVar6;" (assignment_expression "*(int *)(unaff_retaddr + 0x60) = iVar6" (pointer_expression "*(int *)(unaff_retaddr + 0x60)" * (cast_expression "(int *)(unaff_retaddr + 0x60)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x60)" ( (binary_expression "unaff_retaddr + 0x60" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      iVar4 = *(int *)(unaff_retaddr + 100) + (*(int *)(unaff_retaddr + 0x60) - iVar6);\n    }" else (compound_statement "{\n      iVar4 = *(int *)(unaff_retaddr + 100) + (*(int *)(unaff_retaddr + 0x60) - iVar6);\n    }" { (expression_statement "iVar4 = *(int *)(unaff_retaddr + 100) + (*(int *)(unaff_retaddr + 0x60) - iVar6);" (assignment_expression "iVar4 = *(int *)(unaff_retaddr + 100) + (*(int *)(unaff_retaddr + 0x60) - iVar6)" identifier = (binary_expression "*(int *)(unaff_retaddr + 100) + (*(int *)(unaff_retaddr + 0x60) - iVar6)" (pointer_expression "*(int *)(unaff_retaddr + 100)" * (cast_expression "(int *)(unaff_retaddr + 100)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 100)" ( (binary_expression "unaff_retaddr + 100" identifier + number_literal) )))) + (parenthesized_expression "(*(int *)(unaff_retaddr + 0x60) - iVar6)" ( (binary_expression "*(int *)(unaff_retaddr + 0x60) - iVar6" (pointer_expression "*(int *)(unaff_retaddr + 0x60)" * (cast_expression "(int *)(unaff_retaddr + 0x60)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x60)" ( (binary_expression "unaff_retaddr + 0x60" identifier + number_literal) )))) - identifier) )))) ;) }))) (expression_statement "iVar6 = iVar6 + iVar4;" (assignment_expression "iVar6 = iVar6 + iVar4" identifier = (binary_expression "iVar6 + iVar4" identifier + identifier)) ;) (expression_statement "*(undefined1 *)(iVar6 + -1 + *(int *)(unaff_retaddr + 0x1c)) = 0;" (assignment_expression "*(undefined1 *)(iVar6 + -1 + *(int *)(unaff_retaddr + 0x1c)) = 0" (pointer_expression "*(undefined1 *)(iVar6 + -1 + *(int *)(unaff_retaddr + 0x1c))" * (cast_expression "(undefined1 *)(iVar6 + -1 + *(int *)(unaff_retaddr + 0x1c))" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + -1 + *(int *)(unaff_retaddr + 0x1c))" ( (binary_expression "iVar6 + -1 + *(int *)(unaff_retaddr + 0x1c)" (binary_expression "iVar6 + -1" identifier + number_literal) + (pointer_expression "*(int *)(unaff_retaddr + 0x1c)" * (cast_expression "(int *)(unaff_retaddr + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x1c)" ( (binary_expression "unaff_retaddr + 0x1c" identifier + number_literal) ))))) )))) = number_literal) ;) (expression_statement "uVar5 = __vsnprintf_chk(iVar6,*(undefined4 *)(unaff_retaddr + 0x1c),1,0xffffffff,param_3,param_4\n                           );" (assignment_expression "uVar5 = __vsnprintf_chk(iVar6,*(undefined4 *)(unaff_retaddr + 0x1c),1,0xffffffff,param_3,param_4\n                           )" identifier = (call_expression "__vsnprintf_chk(iVar6,*(undefined4 *)(unaff_retaddr + 0x1c),1,0xffffffff,param_3,param_4\n                           )" identifier (argument_list "(iVar6,*(undefined4 *)(unaff_retaddr + 0x1c),1,0xffffffff,param_3,param_4\n                           )" ( identifier , (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x1c)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x1c)" ( (binary_expression "unaff_retaddr + 0x1c" identifier + number_literal) )))) , number_literal , number_literal , identifier , identifier )))) ;) (if_statement "if (uVar5 != 0) {\n      uVar3 = *(uint *)(unaff_retaddr + 0x1c);\n      if ((uVar5 < uVar3) && (*(char *)(iVar6 + -1 + uVar3) == '\0')) {\n        uVar7 = *(int *)(unaff_retaddr + 100) + uVar5;\n        puVar1 = (uint *)(unaff_retaddr + 8);\n        uVar2 = *puVar1;\n        *puVar1 = *puVar1 + uVar5;\n        *(int *)(unaff_retaddr + 0xc) =\n             *(int *)(unaff_retaddr + 0xc) + ((int)uVar5 >> 0x1f) + (uint)CARRY4(uVar2,uVar5);\n        *(uint *)(unaff_retaddr + 100) = uVar7;\n        if (uVar3 <= uVar7) {\n          *(uint *)(unaff_retaddr + 100) = uVar3;\n          iVar6 = FUN_0001e130();\n          if (iVar6 == -1) goto LAB_0001e8e0;\n          memcpy(*(void **)(unaff_retaddr + 0x24),\n                 (void *)(*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24)),\n                 uVar7 - uVar3);\n          *(uint *)(unaff_retaddr + 100) = uVar7 - uVar3;\n          *(undefined4 *)(unaff_retaddr + 0x60) = *(undefined4 *)(unaff_retaddr + 0x24);\n        }\n      }\n      else {\n        uVar5 = 0;\n      }\n    }" if (parenthesized_expression "(uVar5 != 0)" ( (binary_expression "uVar5 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar3 = *(uint *)(unaff_retaddr + 0x1c);\n      if ((uVar5 < uVar3) && (*(char *)(iVar6 + -1 + uVar3) == '\0')) {\n        uVar7 = *(int *)(unaff_retaddr + 100) + uVar5;\n        puVar1 = (uint *)(unaff_retaddr + 8);\n        uVar2 = *puVar1;\n        *puVar1 = *puVar1 + uVar5;\n        *(int *)(unaff_retaddr + 0xc) =\n             *(int *)(unaff_retaddr + 0xc) + ((int)uVar5 >> 0x1f) + (uint)CARRY4(uVar2,uVar5);\n        *(uint *)(unaff_retaddr + 100) = uVar7;\n        if (uVar3 <= uVar7) {\n          *(uint *)(unaff_retaddr + 100) = uVar3;\n          iVar6 = FUN_0001e130();\n          if (iVar6 == -1) goto LAB_0001e8e0;\n          memcpy(*(void **)(unaff_retaddr + 0x24),\n                 (void *)(*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24)),\n                 uVar7 - uVar3);\n          *(uint *)(unaff_retaddr + 100) = uVar7 - uVar3;\n          *(undefined4 *)(unaff_retaddr + 0x60) = *(undefined4 *)(unaff_retaddr + 0x24);\n        }\n      }\n      else {\n        uVar5 = 0;\n      }\n    }" { (expression_statement "uVar3 = *(uint *)(unaff_retaddr + 0x1c);" (assignment_expression "uVar3 = *(uint *)(unaff_retaddr + 0x1c)" identifier = (pointer_expression "*(uint *)(unaff_retaddr + 0x1c)" * (cast_expression "(uint *)(unaff_retaddr + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x1c)" ( (binary_expression "unaff_retaddr + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if ((uVar5 < uVar3) && (*(char *)(iVar6 + -1 + uVar3) == '\0')) {\n        uVar7 = *(int *)(unaff_retaddr + 100) + uVar5;\n        puVar1 = (uint *)(unaff_retaddr + 8);\n        uVar2 = *puVar1;\n        *puVar1 = *puVar1 + uVar5;\n        *(int *)(unaff_retaddr + 0xc) =\n             *(int *)(unaff_retaddr + 0xc) + ((int)uVar5 >> 0x1f) + (uint)CARRY4(uVar2,uVar5);\n        *(uint *)(unaff_retaddr + 100) = uVar7;\n        if (uVar3 <= uVar7) {\n          *(uint *)(unaff_retaddr + 100) = uVar3;\n          iVar6 = FUN_0001e130();\n          if (iVar6 == -1) goto LAB_0001e8e0;\n          memcpy(*(void **)(unaff_retaddr + 0x24),\n                 (void *)(*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24)),\n                 uVar7 - uVar3);\n          *(uint *)(unaff_retaddr + 100) = uVar7 - uVar3;\n          *(undefined4 *)(unaff_retaddr + 0x60) = *(undefined4 *)(unaff_retaddr + 0x24);\n        }\n      }\n      else {\n        uVar5 = 0;\n      }" if (parenthesized_expression "((uVar5 < uVar3) && (*(char *)(iVar6 + -1 + uVar3) == '\0'))" ( (binary_expression "(uVar5 < uVar3) && (*(char *)(iVar6 + -1 + uVar3) == '\0')" (parenthesized_expression "(uVar5 < uVar3)" ( (binary_expression "uVar5 < uVar3" identifier < identifier) )) && (parenthesized_expression "(*(char *)(iVar6 + -1 + uVar3) == '\0')" ( (binary_expression "*(char *)(iVar6 + -1 + uVar3) == '\0'" (pointer_expression "*(char *)(iVar6 + -1 + uVar3)" * (cast_expression "(char *)(iVar6 + -1 + uVar3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + -1 + uVar3)" ( (binary_expression "iVar6 + -1 + uVar3" (binary_expression "iVar6 + -1" identifier + number_literal) + identifier) )))) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n        uVar7 = *(int *)(unaff_retaddr + 100) + uVar5;\n        puVar1 = (uint *)(unaff_retaddr + 8);\n        uVar2 = *puVar1;\n        *puVar1 = *puVar1 + uVar5;\n        *(int *)(unaff_retaddr + 0xc) =\n             *(int *)(unaff_retaddr + 0xc) + ((int)uVar5 >> 0x1f) + (uint)CARRY4(uVar2,uVar5);\n        *(uint *)(unaff_retaddr + 100) = uVar7;\n        if (uVar3 <= uVar7) {\n          *(uint *)(unaff_retaddr + 100) = uVar3;\n          iVar6 = FUN_0001e130();\n          if (iVar6 == -1) goto LAB_0001e8e0;\n          memcpy(*(void **)(unaff_retaddr + 0x24),\n                 (void *)(*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24)),\n                 uVar7 - uVar3);\n          *(uint *)(unaff_retaddr + 100) = uVar7 - uVar3;\n          *(undefined4 *)(unaff_retaddr + 0x60) = *(undefined4 *)(unaff_retaddr + 0x24);\n        }\n      }" { (expression_statement "uVar7 = *(int *)(unaff_retaddr + 100) + uVar5;" (assignment_expression "uVar7 = *(int *)(unaff_retaddr + 100) + uVar5" identifier = (binary_expression "*(int *)(unaff_retaddr + 100) + uVar5" (pointer_expression "*(int *)(unaff_retaddr + 100)" * (cast_expression "(int *)(unaff_retaddr + 100)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 100)" ( (binary_expression "unaff_retaddr + 100" identifier + number_literal) )))) + identifier)) ;) (expression_statement "puVar1 = (uint *)(unaff_retaddr + 8);" (assignment_expression "puVar1 = (uint *)(unaff_retaddr + 8)" identifier = (cast_expression "(uint *)(unaff_retaddr + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 8)" ( (binary_expression "unaff_retaddr + 8" identifier + number_literal) )))) ;) (expression_statement "uVar2 = *puVar1;" (assignment_expression "uVar2 = *puVar1" identifier = (pointer_expression "*puVar1" * identifier)) ;) (expression_statement "*puVar1 = *puVar1 + uVar5;" (assignment_expression "*puVar1 = *puVar1 + uVar5" (pointer_expression "*puVar1" * identifier) = (binary_expression "*puVar1 + uVar5" (pointer_expression "*puVar1" * identifier) + identifier)) ;) (expression_statement "*(int *)(unaff_retaddr + 0xc) =\n             *(int *)(unaff_retaddr + 0xc) + ((int)uVar5 >> 0x1f) + (uint)CARRY4(uVar2,uVar5);" (assignment_expression "*(int *)(unaff_retaddr + 0xc) =\n             *(int *)(unaff_retaddr + 0xc) + ((int)uVar5 >> 0x1f) + (uint)CARRY4(uVar2,uVar5)" (pointer_expression "*(int *)(unaff_retaddr + 0xc)" * (cast_expression "(int *)(unaff_retaddr + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0xc)" ( (binary_expression "unaff_retaddr + 0xc" identifier + number_literal) )))) = (binary_expression "*(int *)(unaff_retaddr + 0xc) + ((int)uVar5 >> 0x1f) + (uint)CARRY4(uVar2,uVar5)" (binary_expression "*(int *)(unaff_retaddr + 0xc) + ((int)uVar5 >> 0x1f)" (pointer_expression "*(int *)(unaff_retaddr + 0xc)" * (cast_expression "(int *)(unaff_retaddr + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0xc)" ( (binary_expression "unaff_retaddr + 0xc" identifier + number_literal) )))) + (parenthesized_expression "((int)uVar5 >> 0x1f)" ( (binary_expression "(int)uVar5 >> 0x1f" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ))) + (cast_expression "(uint)CARRY4(uVar2,uVar5)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(uVar2,uVar5)" identifier (argument_list "(uVar2,uVar5)" ( identifier , identifier )))))) ;) (expression_statement "*(uint *)(unaff_retaddr + 100) = uVar7;" (assignment_expression "*(uint *)(unaff_retaddr + 100) = uVar7" (pointer_expression "*(uint *)(unaff_retaddr + 100)" * (cast_expression "(uint *)(unaff_retaddr + 100)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 100)" ( (binary_expression "unaff_retaddr + 100" identifier + number_literal) )))) = identifier) ;) (if_statement "if (uVar3 <= uVar7) {\n          *(uint *)(unaff_retaddr + 100) = uVar3;\n          iVar6 = FUN_0001e130();\n          if (iVar6 == -1) goto LAB_0001e8e0;\n          memcpy(*(void **)(unaff_retaddr + 0x24),\n                 (void *)(*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24)),\n                 uVar7 - uVar3);\n          *(uint *)(unaff_retaddr + 100) = uVar7 - uVar3;\n          *(undefined4 *)(unaff_retaddr + 0x60) = *(undefined4 *)(unaff_retaddr + 0x24);\n        }" if (parenthesized_expression "(uVar3 <= uVar7)" ( (binary_expression "uVar3 <= uVar7" identifier <= identifier) )) (compound_statement "{\n          *(uint *)(unaff_retaddr + 100) = uVar3;\n          iVar6 = FUN_0001e130();\n          if (iVar6 == -1) goto LAB_0001e8e0;\n          memcpy(*(void **)(unaff_retaddr + 0x24),\n                 (void *)(*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24)),\n                 uVar7 - uVar3);\n          *(uint *)(unaff_retaddr + 100) = uVar7 - uVar3;\n          *(undefined4 *)(unaff_retaddr + 0x60) = *(undefined4 *)(unaff_retaddr + 0x24);\n        }" { (expression_statement "*(uint *)(unaff_retaddr + 100) = uVar3;" (assignment_expression "*(uint *)(unaff_retaddr + 100) = uVar3" (pointer_expression "*(uint *)(unaff_retaddr + 100)" * (cast_expression "(uint *)(unaff_retaddr + 100)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 100)" ( (binary_expression "unaff_retaddr + 100" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar6 = FUN_0001e130();" (assignment_expression "iVar6 = FUN_0001e130()" identifier = (call_expression "FUN_0001e130()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar6 == -1) goto LAB_0001e8e0;" if (parenthesized_expression "(iVar6 == -1)" ( (binary_expression "iVar6 == -1" identifier == number_literal) )) (goto_statement "goto LAB_0001e8e0;" goto statement_identifier ;)) (expression_statement "memcpy(*(void **)(unaff_retaddr + 0x24),\n                 (void *)(*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24)),\n                 uVar7 - uVar3);" (call_expression "memcpy(*(void **)(unaff_retaddr + 0x24),\n                 (void *)(*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24)),\n                 uVar7 - uVar3)" identifier (argument_list "(*(void **)(unaff_retaddr + 0x24),\n                 (void *)(*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24)),\n                 uVar7 - uVar3)" ( (pointer_expression "*(void **)(unaff_retaddr + 0x24)" * (cast_expression "(void **)(unaff_retaddr + 0x24)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_retaddr + 0x24)" ( (binary_expression "unaff_retaddr + 0x24" identifier + number_literal) )))) , (cast_expression "(void *)(*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24))" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24))" ( (binary_expression "*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24)" (pointer_expression "*(int *)(unaff_retaddr + 0x1c)" * (cast_expression "(int *)(unaff_retaddr + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x1c)" ( (binary_expression "unaff_retaddr + 0x1c" identifier + number_literal) )))) + (cast_expression "(int)*(void **)(unaff_retaddr + 0x24)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(void **)(unaff_retaddr + 0x24)" * (cast_expression "(void **)(unaff_retaddr + 0x24)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_retaddr + 0x24)" ( (binary_expression "unaff_retaddr + 0x24" identifier + number_literal) )))))) ))) , (binary_expression "uVar7 - uVar3" identifier - identifier) ))) ;) (expression_statement "*(uint *)(unaff_retaddr + 100) = uVar7 - uVar3;" (assignment_expression "*(uint *)(unaff_retaddr + 100) = uVar7 - uVar3" (pointer_expression "*(uint *)(unaff_retaddr + 100)" * (cast_expression "(uint *)(unaff_retaddr + 100)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 100)" ( (binary_expression "unaff_retaddr + 100" identifier + number_literal) )))) = (binary_expression "uVar7 - uVar3" identifier - identifier)) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0x60) = *(undefined4 *)(unaff_retaddr + 0x24);" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x60) = *(undefined4 *)(unaff_retaddr + 0x24)" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x60)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0x60)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x60)" ( (binary_expression "unaff_retaddr + 0x60" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x24)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x24)" ( (binary_expression "unaff_retaddr + 0x24" identifier + number_literal) ))))) ;) })) }) (else_clause "else {\n        uVar5 = 0;\n      }" else (compound_statement "{\n        uVar5 = 0;\n      }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) }))) })) }))) (return_statement "return uVar5;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nint gzvprintf(gzFile file,char *format,va_list va)\n\n{\n  off64_t *poVar1;\n  int *piVar2;\n  uchar *puVar3;\n  off64_t oVar4;\n  uchar *puVar5;\n  int iVar6;\n  uchar *puVar7;\n  off64_t in_stack_ffffffd4;\n  \n  if (((file == (gzFile)0x0) || (file[1].have != 0x79b1)) || ((int)file[5].pos != 0)) {\n    puVar5 = (uchar *)0xfffffffe;\n  }\n  else {\n    if ((*(int *)((int)&file[1].pos + 4) == 0) && (iVar6 = gz_init((gz_statep)file), iVar6 == -1)) {\nLAB_0001e8e0:\n      return (int)file[5].pos;\n    }\n    if (file[5].next != (uchar *)0x0) {\n      file[5].next = (uchar *)0x0;\n      iVar6 = gz_zero((gz_statep)file,in_stack_ffffffd4);\n      if (iVar6 == -1) goto LAB_0001e8e0;\n    }\n    puVar7 = file[2].next;\n    if (file[6].next == (uchar *)0x0) {\n      file[6].have = (uint)puVar7;\n      puVar5 = (uchar *)0x0;\n    }\n    else {\n      puVar5 = file[6].next + (file[6].have - (int)puVar7);\n    }\n    puVar7 = puVar7 + (int)puVar5;\n    puVar7[*(int *)((int)&file[1].pos + 4) + -1] = '\0';\n    puVar5 = (uchar *)__vsnprintf_chk(puVar7,*(undefined4 *)((int)&file[1].pos + 4),1,0xffffffff,\n                                      format,va);\n    if (puVar5 != (uchar *)0x0) {\n      puVar3 = *(uchar **)((int)&file[1].pos + 4);\n      if ((puVar5 < puVar3) && ((puVar7 + -1)[(int)puVar3] == '\0')) {\n        puVar7 = file[6].next + (int)puVar5;\n        poVar1 = &file->pos;\n        oVar4 = *poVar1;\n        *(uchar **)poVar1 = puVar5 + (int)*poVar1;\n        piVar2 = (int *)((int)&file->pos + 4);\n        *piVar2 = *piVar2 + ((int)puVar5 >> 0x1f) + (uint)CARRY4((uint)oVar4,(uint)puVar5);\n        file[6].next = puVar7;\n        if (puVar3 <= puVar7) {\n          file[6].next = puVar3;\n          iVar6 = gz_comp((gz_statep)file,0);\n          if (iVar6 == -1) goto LAB_0001e8e0;\n          memcpy(file[2].next,file[2].next + *(int *)((int)&file[1].pos + 4),\n                 (size_t)(puVar7 + -(int)puVar3));\n          file[6].next = puVar7 + -(int)puVar3;\n          file[6].have = (uint)file[2].next;\n        }\n      }\n      else {\n        puVar5 = (uchar *)0x0;\n      }\n    }\n  }\n  return (int)puVar5;\n}\n\n" comment comment (function_definition "int gzvprintf(gzFile file,char *format,va_list va)\n\n{\n  off64_t *poVar1;\n  int *piVar2;\n  uchar *puVar3;\n  off64_t oVar4;\n  uchar *puVar5;\n  int iVar6;\n  uchar *puVar7;\n  off64_t in_stack_ffffffd4;\n  \n  if (((file == (gzFile)0x0) || (file[1].have != 0x79b1)) || ((int)file[5].pos != 0)) {\n    puVar5 = (uchar *)0xfffffffe;\n  }\n  else {\n    if ((*(int *)((int)&file[1].pos + 4) == 0) && (iVar6 = gz_init((gz_statep)file), iVar6 == -1)) {\nLAB_0001e8e0:\n      return (int)file[5].pos;\n    }\n    if (file[5].next != (uchar *)0x0) {\n      file[5].next = (uchar *)0x0;\n      iVar6 = gz_zero((gz_statep)file,in_stack_ffffffd4);\n      if (iVar6 == -1) goto LAB_0001e8e0;\n    }\n    puVar7 = file[2].next;\n    if (file[6].next == (uchar *)0x0) {\n      file[6].have = (uint)puVar7;\n      puVar5 = (uchar *)0x0;\n    }\n    else {\n      puVar5 = file[6].next + (file[6].have - (int)puVar7);\n    }\n    puVar7 = puVar7 + (int)puVar5;\n    puVar7[*(int *)((int)&file[1].pos + 4) + -1] = '\0';\n    puVar5 = (uchar *)__vsnprintf_chk(puVar7,*(undefined4 *)((int)&file[1].pos + 4),1,0xffffffff,\n                                      format,va);\n    if (puVar5 != (uchar *)0x0) {\n      puVar3 = *(uchar **)((int)&file[1].pos + 4);\n      if ((puVar5 < puVar3) && ((puVar7 + -1)[(int)puVar3] == '\0')) {\n        puVar7 = file[6].next + (int)puVar5;\n        poVar1 = &file->pos;\n        oVar4 = *poVar1;\n        *(uchar **)poVar1 = puVar5 + (int)*poVar1;\n        piVar2 = (int *)((int)&file->pos + 4);\n        *piVar2 = *piVar2 + ((int)puVar5 >> 0x1f) + (uint)CARRY4((uint)oVar4,(uint)puVar5);\n        file[6].next = puVar7;\n        if (puVar3 <= puVar7) {\n          file[6].next = puVar3;\n          iVar6 = gz_comp((gz_statep)file,0);\n          if (iVar6 == -1) goto LAB_0001e8e0;\n          memcpy(file[2].next,file[2].next + *(int *)((int)&file[1].pos + 4),\n                 (size_t)(puVar7 + -(int)puVar3));\n          file[6].next = puVar7 + -(int)puVar3;\n          file[6].have = (uint)file[2].next;\n        }\n      }\n      else {\n        puVar5 = (uchar *)0x0;\n      }\n    }\n  }\n  return (int)puVar5;\n}" primitive_type (function_declarator "gzvprintf(gzFile file,char *format,va_list va)" identifier (parameter_list "(gzFile file,char *format,va_list va)" ( (parameter_declaration "gzFile file" type_identifier identifier) , (parameter_declaration "char *format" primitive_type (pointer_declarator "*format" * identifier)) , (parameter_declaration "va_list va" type_identifier identifier) ))) (compound_statement "{\n  off64_t *poVar1;\n  int *piVar2;\n  uchar *puVar3;\n  off64_t oVar4;\n  uchar *puVar5;\n  int iVar6;\n  uchar *puVar7;\n  off64_t in_stack_ffffffd4;\n  \n  if (((file == (gzFile)0x0) || (file[1].have != 0x79b1)) || ((int)file[5].pos != 0)) {\n    puVar5 = (uchar *)0xfffffffe;\n  }\n  else {\n    if ((*(int *)((int)&file[1].pos + 4) == 0) && (iVar6 = gz_init((gz_statep)file), iVar6 == -1)) {\nLAB_0001e8e0:\n      return (int)file[5].pos;\n    }\n    if (file[5].next != (uchar *)0x0) {\n      file[5].next = (uchar *)0x0;\n      iVar6 = gz_zero((gz_statep)file,in_stack_ffffffd4);\n      if (iVar6 == -1) goto LAB_0001e8e0;\n    }\n    puVar7 = file[2].next;\n    if (file[6].next == (uchar *)0x0) {\n      file[6].have = (uint)puVar7;\n      puVar5 = (uchar *)0x0;\n    }\n    else {\n      puVar5 = file[6].next + (file[6].have - (int)puVar7);\n    }\n    puVar7 = puVar7 + (int)puVar5;\n    puVar7[*(int *)((int)&file[1].pos + 4) + -1] = '\0';\n    puVar5 = (uchar *)__vsnprintf_chk(puVar7,*(undefined4 *)((int)&file[1].pos + 4),1,0xffffffff,\n                                      format,va);\n    if (puVar5 != (uchar *)0x0) {\n      puVar3 = *(uchar **)((int)&file[1].pos + 4);\n      if ((puVar5 < puVar3) && ((puVar7 + -1)[(int)puVar3] == '\0')) {\n        puVar7 = file[6].next + (int)puVar5;\n        poVar1 = &file->pos;\n        oVar4 = *poVar1;\n        *(uchar **)poVar1 = puVar5 + (int)*poVar1;\n        piVar2 = (int *)((int)&file->pos + 4);\n        *piVar2 = *piVar2 + ((int)puVar5 >> 0x1f) + (uint)CARRY4((uint)oVar4,(uint)puVar5);\n        file[6].next = puVar7;\n        if (puVar3 <= puVar7) {\n          file[6].next = puVar3;\n          iVar6 = gz_comp((gz_statep)file,0);\n          if (iVar6 == -1) goto LAB_0001e8e0;\n          memcpy(file[2].next,file[2].next + *(int *)((int)&file[1].pos + 4),\n                 (size_t)(puVar7 + -(int)puVar3));\n          file[6].next = puVar7 + -(int)puVar3;\n          file[6].have = (uint)file[2].next;\n        }\n      }\n      else {\n        puVar5 = (uchar *)0x0;\n      }\n    }\n  }\n  return (int)puVar5;\n}" { (declaration "off64_t *poVar1;" type_identifier (pointer_declarator "*poVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "uchar *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "off64_t oVar4;" type_identifier identifier ;) (declaration "uchar *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uchar *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "off64_t in_stack_ffffffd4;" type_identifier identifier ;) (if_statement "if (((file == (gzFile)0x0) || (file[1].have != 0x79b1)) || ((int)file[5].pos != 0)) {\n    puVar5 = (uchar *)0xfffffffe;\n  }\n  else {\n    if ((*(int *)((int)&file[1].pos + 4) == 0) && (iVar6 = gz_init((gz_statep)file), iVar6 == -1)) {\nLAB_0001e8e0:\n      return (int)file[5].pos;\n    }\n    if (file[5].next != (uchar *)0x0) {\n      file[5].next = (uchar *)0x0;\n      iVar6 = gz_zero((gz_statep)file,in_stack_ffffffd4);\n      if (iVar6 == -1) goto LAB_0001e8e0;\n    }\n    puVar7 = file[2].next;\n    if (file[6].next == (uchar *)0x0) {\n      file[6].have = (uint)puVar7;\n      puVar5 = (uchar *)0x0;\n    }\n    else {\n      puVar5 = file[6].next + (file[6].have - (int)puVar7);\n    }\n    puVar7 = puVar7 + (int)puVar5;\n    puVar7[*(int *)((int)&file[1].pos + 4) + -1] = '\0';\n    puVar5 = (uchar *)__vsnprintf_chk(puVar7,*(undefined4 *)((int)&file[1].pos + 4),1,0xffffffff,\n                                      format,va);\n    if (puVar5 != (uchar *)0x0) {\n      puVar3 = *(uchar **)((int)&file[1].pos + 4);\n      if ((puVar5 < puVar3) && ((puVar7 + -1)[(int)puVar3] == '\0')) {\n        puVar7 = file[6].next + (int)puVar5;\n        poVar1 = &file->pos;\n        oVar4 = *poVar1;\n        *(uchar **)poVar1 = puVar5 + (int)*poVar1;\n        piVar2 = (int *)((int)&file->pos + 4);\n        *piVar2 = *piVar2 + ((int)puVar5 >> 0x1f) + (uint)CARRY4((uint)oVar4,(uint)puVar5);\n        file[6].next = puVar7;\n        if (puVar3 <= puVar7) {\n          file[6].next = puVar3;\n          iVar6 = gz_comp((gz_statep)file,0);\n          if (iVar6 == -1) goto LAB_0001e8e0;\n          memcpy(file[2].next,file[2].next + *(int *)((int)&file[1].pos + 4),\n                 (size_t)(puVar7 + -(int)puVar3));\n          file[6].next = puVar7 + -(int)puVar3;\n          file[6].have = (uint)file[2].next;\n        }\n      }\n      else {\n        puVar5 = (uchar *)0x0;\n      }\n    }\n  }" if (parenthesized_expression "(((file == (gzFile)0x0) || (file[1].have != 0x79b1)) || ((int)file[5].pos != 0))" ( (binary_expression "((file == (gzFile)0x0) || (file[1].have != 0x79b1)) || ((int)file[5].pos != 0)" (parenthesized_expression "((file == (gzFile)0x0) || (file[1].have != 0x79b1))" ( (binary_expression "(file == (gzFile)0x0) || (file[1].have != 0x79b1)" (parenthesized_expression "(file == (gzFile)0x0)" ( (binary_expression "file == (gzFile)0x0" identifier == (cast_expression "(gzFile)0x0" ( (type_descriptor "gzFile" type_identifier) ) number_literal)) )) || (parenthesized_expression "(file[1].have != 0x79b1)" ( (binary_expression "file[1].have != 0x79b1" (field_expression "file[1].have" (subscript_expression "file[1]" identifier [ number_literal ]) . field_identifier) != number_literal) ))) )) || (parenthesized_expression "((int)file[5].pos != 0)" ( (binary_expression "(int)file[5].pos != 0" (cast_expression "(int)file[5].pos" ( (type_descriptor "int" primitive_type) ) (field_expression "file[5].pos" (subscript_expression "file[5]" identifier [ number_literal ]) . field_identifier)) != number_literal) ))) )) (compound_statement "{\n    puVar5 = (uchar *)0xfffffffe;\n  }" { (expression_statement "puVar5 = (uchar *)0xfffffffe;" (assignment_expression "puVar5 = (uchar *)0xfffffffe" identifier = (cast_expression "(uchar *)0xfffffffe" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    if ((*(int *)((int)&file[1].pos + 4) == 0) && (iVar6 = gz_init((gz_statep)file), iVar6 == -1)) {\nLAB_0001e8e0:\n      return (int)file[5].pos;\n    }\n    if (file[5].next != (uchar *)0x0) {\n      file[5].next = (uchar *)0x0;\n      iVar6 = gz_zero((gz_statep)file,in_stack_ffffffd4);\n      if (iVar6 == -1) goto LAB_0001e8e0;\n    }\n    puVar7 = file[2].next;\n    if (file[6].next == (uchar *)0x0) {\n      file[6].have = (uint)puVar7;\n      puVar5 = (uchar *)0x0;\n    }\n    else {\n      puVar5 = file[6].next + (file[6].have - (int)puVar7);\n    }\n    puVar7 = puVar7 + (int)puVar5;\n    puVar7[*(int *)((int)&file[1].pos + 4) + -1] = '\0';\n    puVar5 = (uchar *)__vsnprintf_chk(puVar7,*(undefined4 *)((int)&file[1].pos + 4),1,0xffffffff,\n                                      format,va);\n    if (puVar5 != (uchar *)0x0) {\n      puVar3 = *(uchar **)((int)&file[1].pos + 4);\n      if ((puVar5 < puVar3) && ((puVar7 + -1)[(int)puVar3] == '\0')) {\n        puVar7 = file[6].next + (int)puVar5;\n        poVar1 = &file->pos;\n        oVar4 = *poVar1;\n        *(uchar **)poVar1 = puVar5 + (int)*poVar1;\n        piVar2 = (int *)((int)&file->pos + 4);\n        *piVar2 = *piVar2 + ((int)puVar5 >> 0x1f) + (uint)CARRY4((uint)oVar4,(uint)puVar5);\n        file[6].next = puVar7;\n        if (puVar3 <= puVar7) {\n          file[6].next = puVar3;\n          iVar6 = gz_comp((gz_statep)file,0);\n          if (iVar6 == -1) goto LAB_0001e8e0;\n          memcpy(file[2].next,file[2].next + *(int *)((int)&file[1].pos + 4),\n                 (size_t)(puVar7 + -(int)puVar3));\n          file[6].next = puVar7 + -(int)puVar3;\n          file[6].have = (uint)file[2].next;\n        }\n      }\n      else {\n        puVar5 = (uchar *)0x0;\n      }\n    }\n  }" else (compound_statement "{\n    if ((*(int *)((int)&file[1].pos + 4) == 0) && (iVar6 = gz_init((gz_statep)file), iVar6 == -1)) {\nLAB_0001e8e0:\n      return (int)file[5].pos;\n    }\n    if (file[5].next != (uchar *)0x0) {\n      file[5].next = (uchar *)0x0;\n      iVar6 = gz_zero((gz_statep)file,in_stack_ffffffd4);\n      if (iVar6 == -1) goto LAB_0001e8e0;\n    }\n    puVar7 = file[2].next;\n    if (file[6].next == (uchar *)0x0) {\n      file[6].have = (uint)puVar7;\n      puVar5 = (uchar *)0x0;\n    }\n    else {\n      puVar5 = file[6].next + (file[6].have - (int)puVar7);\n    }\n    puVar7 = puVar7 + (int)puVar5;\n    puVar7[*(int *)((int)&file[1].pos + 4) + -1] = '\0';\n    puVar5 = (uchar *)__vsnprintf_chk(puVar7,*(undefined4 *)((int)&file[1].pos + 4),1,0xffffffff,\n                                      format,va);\n    if (puVar5 != (uchar *)0x0) {\n      puVar3 = *(uchar **)((int)&file[1].pos + 4);\n      if ((puVar5 < puVar3) && ((puVar7 + -1)[(int)puVar3] == '\0')) {\n        puVar7 = file[6].next + (int)puVar5;\n        poVar1 = &file->pos;\n        oVar4 = *poVar1;\n        *(uchar **)poVar1 = puVar5 + (int)*poVar1;\n        piVar2 = (int *)((int)&file->pos + 4);\n        *piVar2 = *piVar2 + ((int)puVar5 >> 0x1f) + (uint)CARRY4((uint)oVar4,(uint)puVar5);\n        file[6].next = puVar7;\n        if (puVar3 <= puVar7) {\n          file[6].next = puVar3;\n          iVar6 = gz_comp((gz_statep)file,0);\n          if (iVar6 == -1) goto LAB_0001e8e0;\n          memcpy(file[2].next,file[2].next + *(int *)((int)&file[1].pos + 4),\n                 (size_t)(puVar7 + -(int)puVar3));\n          file[6].next = puVar7 + -(int)puVar3;\n          file[6].have = (uint)file[2].next;\n        }\n      }\n      else {\n        puVar5 = (uchar *)0x0;\n      }\n    }\n  }" { (if_statement "if ((*(int *)((int)&file[1].pos + 4) == 0) && (iVar6 = gz_init((gz_statep)file), iVar6 == -1)) {\nLAB_0001e8e0:\n      return (int)file[5].pos;\n    }" if (parenthesized_expression "((*(int *)((int)&file[1].pos + 4) == 0) && (iVar6 = gz_init((gz_statep)file), iVar6 == -1))" ( (binary_expression "(*(int *)((int)&file[1].pos + 4) == 0) && (iVar6 = gz_init((gz_statep)file), iVar6 == -1)" (parenthesized_expression "(*(int *)((int)&file[1].pos + 4) == 0)" ( (binary_expression "*(int *)((int)&file[1].pos + 4) == 0" (pointer_expression "*(int *)((int)&file[1].pos + 4)" * (cast_expression "(int *)((int)&file[1].pos + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&file[1].pos + 4)" ( (binary_expression "(int)&file[1].pos + 4" (cast_expression "(int)&file[1].pos" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&file[1].pos" & (field_expression "file[1].pos" (subscript_expression "file[1]" identifier [ number_literal ]) . field_identifier))) + number_literal) )))) == number_literal) )) && (parenthesized_expression "(iVar6 = gz_init((gz_statep)file), iVar6 == -1)" ( (comma_expression "iVar6 = gz_init((gz_statep)file), iVar6 == -1" (assignment_expression "iVar6 = gz_init((gz_statep)file)" identifier = (call_expression "gz_init((gz_statep)file)" identifier (argument_list "((gz_statep)file)" ( (cast_expression "(gz_statep)file" ( (type_descriptor "gz_statep" type_identifier) ) identifier) )))) , (binary_expression "iVar6 == -1" identifier == number_literal)) ))) )) (compound_statement "{\nLAB_0001e8e0:\n      return (int)file[5].pos;\n    }" { (labeled_statement "LAB_0001e8e0:\n      return (int)file[5].pos;" statement_identifier : (return_statement "return (int)file[5].pos;" return (cast_expression "(int)file[5].pos" ( (type_descriptor "int" primitive_type) ) (field_expression "file[5].pos" (subscript_expression "file[5]" identifier [ number_literal ]) . field_identifier)) ;)) })) (if_statement "if (file[5].next != (uchar *)0x0) {\n      file[5].next = (uchar *)0x0;\n      iVar6 = gz_zero((gz_statep)file,in_stack_ffffffd4);\n      if (iVar6 == -1) goto LAB_0001e8e0;\n    }" if (parenthesized_expression "(file[5].next != (uchar *)0x0)" ( (binary_expression "file[5].next != (uchar *)0x0" (field_expression "file[5].next" (subscript_expression "file[5]" identifier [ number_literal ]) . field_identifier) != (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      file[5].next = (uchar *)0x0;\n      iVar6 = gz_zero((gz_statep)file,in_stack_ffffffd4);\n      if (iVar6 == -1) goto LAB_0001e8e0;\n    }" { (expression_statement "file[5].next = (uchar *)0x0;" (assignment_expression "file[5].next = (uchar *)0x0" (field_expression "file[5].next" (subscript_expression "file[5]" identifier [ number_literal ]) . field_identifier) = (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar6 = gz_zero((gz_statep)file,in_stack_ffffffd4);" (assignment_expression "iVar6 = gz_zero((gz_statep)file,in_stack_ffffffd4)" identifier = (call_expression "gz_zero((gz_statep)file,in_stack_ffffffd4)" identifier (argument_list "((gz_statep)file,in_stack_ffffffd4)" ( (cast_expression "(gz_statep)file" ( (type_descriptor "gz_statep" type_identifier) ) identifier) , identifier )))) ;) (if_statement "if (iVar6 == -1) goto LAB_0001e8e0;" if (parenthesized_expression "(iVar6 == -1)" ( (binary_expression "iVar6 == -1" identifier == number_literal) )) (goto_statement "goto LAB_0001e8e0;" goto statement_identifier ;)) })) (expression_statement "puVar7 = file[2].next;" (assignment_expression "puVar7 = file[2].next" identifier = (field_expression "file[2].next" (subscript_expression "file[2]" identifier [ number_literal ]) . field_identifier)) ;) (if_statement "if (file[6].next == (uchar *)0x0) {\n      file[6].have = (uint)puVar7;\n      puVar5 = (uchar *)0x0;\n    }\n    else {\n      puVar5 = file[6].next + (file[6].have - (int)puVar7);\n    }" if (parenthesized_expression "(file[6].next == (uchar *)0x0)" ( (binary_expression "file[6].next == (uchar *)0x0" (field_expression "file[6].next" (subscript_expression "file[6]" identifier [ number_literal ]) . field_identifier) == (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      file[6].have = (uint)puVar7;\n      puVar5 = (uchar *)0x0;\n    }" { (expression_statement "file[6].have = (uint)puVar7;" (assignment_expression "file[6].have = (uint)puVar7" (field_expression "file[6].have" (subscript_expression "file[6]" identifier [ number_literal ]) . field_identifier) = (cast_expression "(uint)puVar7" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "puVar5 = (uchar *)0x0;" (assignment_expression "puVar5 = (uchar *)0x0" identifier = (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n      puVar5 = file[6].next + (file[6].have - (int)puVar7);\n    }" else (compound_statement "{\n      puVar5 = file[6].next + (file[6].have - (int)puVar7);\n    }" { (expression_statement "puVar5 = file[6].next + (file[6].have - (int)puVar7);" (assignment_expression "puVar5 = file[6].next + (file[6].have - (int)puVar7)" identifier = (binary_expression "file[6].next + (file[6].have - (int)puVar7)" (field_expression "file[6].next" (subscript_expression "file[6]" identifier [ number_literal ]) . field_identifier) + (parenthesized_expression "(file[6].have - (int)puVar7)" ( (binary_expression "file[6].have - (int)puVar7" (field_expression "file[6].have" (subscript_expression "file[6]" identifier [ number_literal ]) . field_identifier) - (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) }))) (expression_statement "puVar7 = puVar7 + (int)puVar5;" (assignment_expression "puVar7 = puVar7 + (int)puVar5" identifier = (binary_expression "puVar7 + (int)puVar5" identifier + (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "puVar7[*(int *)((int)&file[1].pos + 4) + -1] = '\0';" (assignment_expression "puVar7[*(int *)((int)&file[1].pos + 4) + -1] = '\0'" (subscript_expression "puVar7[*(int *)((int)&file[1].pos + 4) + -1]" identifier [ (binary_expression "*(int *)((int)&file[1].pos + 4) + -1" (pointer_expression "*(int *)((int)&file[1].pos + 4)" * (cast_expression "(int *)((int)&file[1].pos + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&file[1].pos + 4)" ( (binary_expression "(int)&file[1].pos + 4" (cast_expression "(int)&file[1].pos" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&file[1].pos" & (field_expression "file[1].pos" (subscript_expression "file[1]" identifier [ number_literal ]) . field_identifier))) + number_literal) )))) + number_literal) ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "puVar5 = (uchar *)__vsnprintf_chk(puVar7,*(undefined4 *)((int)&file[1].pos + 4),1,0xffffffff,\n                                      format,va);" (assignment_expression "puVar5 = (uchar *)__vsnprintf_chk(puVar7,*(undefined4 *)((int)&file[1].pos + 4),1,0xffffffff,\n                                      format,va)" identifier = (cast_expression "(uchar *)__vsnprintf_chk(puVar7,*(undefined4 *)((int)&file[1].pos + 4),1,0xffffffff,\n                                      format,va)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "__vsnprintf_chk(puVar7,*(undefined4 *)((int)&file[1].pos + 4),1,0xffffffff,\n                                      format,va)" identifier (argument_list "(puVar7,*(undefined4 *)((int)&file[1].pos + 4),1,0xffffffff,\n                                      format,va)" ( identifier , (pointer_expression "*(undefined4 *)((int)&file[1].pos + 4)" * (cast_expression "(undefined4 *)((int)&file[1].pos + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&file[1].pos + 4)" ( (binary_expression "(int)&file[1].pos + 4" (cast_expression "(int)&file[1].pos" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&file[1].pos" & (field_expression "file[1].pos" (subscript_expression "file[1]" identifier [ number_literal ]) . field_identifier))) + number_literal) )))) , number_literal , number_literal , identifier , identifier ))))) ;) (if_statement "if (puVar5 != (uchar *)0x0) {\n      puVar3 = *(uchar **)((int)&file[1].pos + 4);\n      if ((puVar5 < puVar3) && ((puVar7 + -1)[(int)puVar3] == '\0')) {\n        puVar7 = file[6].next + (int)puVar5;\n        poVar1 = &file->pos;\n        oVar4 = *poVar1;\n        *(uchar **)poVar1 = puVar5 + (int)*poVar1;\n        piVar2 = (int *)((int)&file->pos + 4);\n        *piVar2 = *piVar2 + ((int)puVar5 >> 0x1f) + (uint)CARRY4((uint)oVar4,(uint)puVar5);\n        file[6].next = puVar7;\n        if (puVar3 <= puVar7) {\n          file[6].next = puVar3;\n          iVar6 = gz_comp((gz_statep)file,0);\n          if (iVar6 == -1) goto LAB_0001e8e0;\n          memcpy(file[2].next,file[2].next + *(int *)((int)&file[1].pos + 4),\n                 (size_t)(puVar7 + -(int)puVar3));\n          file[6].next = puVar7 + -(int)puVar3;\n          file[6].have = (uint)file[2].next;\n        }\n      }\n      else {\n        puVar5 = (uchar *)0x0;\n      }\n    }" if (parenthesized_expression "(puVar5 != (uchar *)0x0)" ( (binary_expression "puVar5 != (uchar *)0x0" identifier != (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      puVar3 = *(uchar **)((int)&file[1].pos + 4);\n      if ((puVar5 < puVar3) && ((puVar7 + -1)[(int)puVar3] == '\0')) {\n        puVar7 = file[6].next + (int)puVar5;\n        poVar1 = &file->pos;\n        oVar4 = *poVar1;\n        *(uchar **)poVar1 = puVar5 + (int)*poVar1;\n        piVar2 = (int *)((int)&file->pos + 4);\n        *piVar2 = *piVar2 + ((int)puVar5 >> 0x1f) + (uint)CARRY4((uint)oVar4,(uint)puVar5);\n        file[6].next = puVar7;\n        if (puVar3 <= puVar7) {\n          file[6].next = puVar3;\n          iVar6 = gz_comp((gz_statep)file,0);\n          if (iVar6 == -1) goto LAB_0001e8e0;\n          memcpy(file[2].next,file[2].next + *(int *)((int)&file[1].pos + 4),\n                 (size_t)(puVar7 + -(int)puVar3));\n          file[6].next = puVar7 + -(int)puVar3;\n          file[6].have = (uint)file[2].next;\n        }\n      }\n      else {\n        puVar5 = (uchar *)0x0;\n      }\n    }" { (expression_statement "puVar3 = *(uchar **)((int)&file[1].pos + 4);" (assignment_expression "puVar3 = *(uchar **)((int)&file[1].pos + 4)" identifier = (pointer_expression "*(uchar **)((int)&file[1].pos + 4)" * (cast_expression "(uchar **)((int)&file[1].pos + 4)" ( (type_descriptor "uchar **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)&file[1].pos + 4)" ( (binary_expression "(int)&file[1].pos + 4" (cast_expression "(int)&file[1].pos" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&file[1].pos" & (field_expression "file[1].pos" (subscript_expression "file[1]" identifier [ number_literal ]) . field_identifier))) + number_literal) ))))) ;) (if_statement "if ((puVar5 < puVar3) && ((puVar7 + -1)[(int)puVar3] == '\0')) {\n        puVar7 = file[6].next + (int)puVar5;\n        poVar1 = &file->pos;\n        oVar4 = *poVar1;\n        *(uchar **)poVar1 = puVar5 + (int)*poVar1;\n        piVar2 = (int *)((int)&file->pos + 4);\n        *piVar2 = *piVar2 + ((int)puVar5 >> 0x1f) + (uint)CARRY4((uint)oVar4,(uint)puVar5);\n        file[6].next = puVar7;\n        if (puVar3 <= puVar7) {\n          file[6].next = puVar3;\n          iVar6 = gz_comp((gz_statep)file,0);\n          if (iVar6 == -1) goto LAB_0001e8e0;\n          memcpy(file[2].next,file[2].next + *(int *)((int)&file[1].pos + 4),\n                 (size_t)(puVar7 + -(int)puVar3));\n          file[6].next = puVar7 + -(int)puVar3;\n          file[6].have = (uint)file[2].next;\n        }\n      }\n      else {\n        puVar5 = (uchar *)0x0;\n      }" if (parenthesized_expression "((puVar5 < puVar3) && ((puVar7 + -1)[(int)puVar3] == '\0'))" ( (binary_expression "(puVar5 < puVar3) && ((puVar7 + -1)[(int)puVar3] == '\0')" (parenthesized_expression "(puVar5 < puVar3)" ( (binary_expression "puVar5 < puVar3" identifier < identifier) )) && (parenthesized_expression "((puVar7 + -1)[(int)puVar3] == '\0')" ( (binary_expression "(puVar7 + -1)[(int)puVar3] == '\0'" (subscript_expression "(puVar7 + -1)[(int)puVar3]" (parenthesized_expression "(puVar7 + -1)" ( (binary_expression "puVar7 + -1" identifier + number_literal) )) [ (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) ]) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n        puVar7 = file[6].next + (int)puVar5;\n        poVar1 = &file->pos;\n        oVar4 = *poVar1;\n        *(uchar **)poVar1 = puVar5 + (int)*poVar1;\n        piVar2 = (int *)((int)&file->pos + 4);\n        *piVar2 = *piVar2 + ((int)puVar5 >> 0x1f) + (uint)CARRY4((uint)oVar4,(uint)puVar5);\n        file[6].next = puVar7;\n        if (puVar3 <= puVar7) {\n          file[6].next = puVar3;\n          iVar6 = gz_comp((gz_statep)file,0);\n          if (iVar6 == -1) goto LAB_0001e8e0;\n          memcpy(file[2].next,file[2].next + *(int *)((int)&file[1].pos + 4),\n                 (size_t)(puVar7 + -(int)puVar3));\n          file[6].next = puVar7 + -(int)puVar3;\n          file[6].have = (uint)file[2].next;\n        }\n      }" { (expression_statement "puVar7 = file[6].next + (int)puVar5;" (assignment_expression "puVar7 = file[6].next + (int)puVar5" identifier = (binary_expression "file[6].next + (int)puVar5" (field_expression "file[6].next" (subscript_expression "file[6]" identifier [ number_literal ]) . field_identifier) + (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "poVar1 = &file->pos;" (assignment_expression "poVar1 = &file->pos" identifier = (pointer_expression "&file->pos" & (field_expression "file->pos" identifier -> field_identifier))) ;) (expression_statement "oVar4 = *poVar1;" (assignment_expression "oVar4 = *poVar1" identifier = (pointer_expression "*poVar1" * identifier)) ;) (expression_statement "*(uchar **)poVar1 = puVar5 + (int)*poVar1;" (assignment_expression "*(uchar **)poVar1 = puVar5 + (int)*poVar1" (pointer_expression "*(uchar **)poVar1" * (cast_expression "(uchar **)poVar1" ( (type_descriptor "uchar **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = (binary_expression "puVar5 + (int)*poVar1" identifier + (cast_expression "(int)*poVar1" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*poVar1" * identifier)))) ;) (expression_statement "piVar2 = (int *)((int)&file->pos + 4);" (assignment_expression "piVar2 = (int *)((int)&file->pos + 4)" identifier = (cast_expression "(int *)((int)&file->pos + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&file->pos + 4)" ( (binary_expression "(int)&file->pos + 4" (cast_expression "(int)&file->pos" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&file->pos" & (field_expression "file->pos" identifier -> field_identifier))) + number_literal) )))) ;) (expression_statement "*piVar2 = *piVar2 + ((int)puVar5 >> 0x1f) + (uint)CARRY4((uint)oVar4,(uint)puVar5);" (assignment_expression "*piVar2 = *piVar2 + ((int)puVar5 >> 0x1f) + (uint)CARRY4((uint)oVar4,(uint)puVar5)" (pointer_expression "*piVar2" * identifier) = (binary_expression "*piVar2 + ((int)puVar5 >> 0x1f) + (uint)CARRY4((uint)oVar4,(uint)puVar5)" (binary_expression "*piVar2 + ((int)puVar5 >> 0x1f)" (pointer_expression "*piVar2" * identifier) + (parenthesized_expression "((int)puVar5 >> 0x1f)" ( (binary_expression "(int)puVar5 >> 0x1f" (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ))) + (cast_expression "(uint)CARRY4((uint)oVar4,(uint)puVar5)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4((uint)oVar4,(uint)puVar5)" identifier (argument_list "((uint)oVar4,(uint)puVar5)" ( (cast_expression "(uint)oVar4" ( (type_descriptor "uint" type_identifier) ) identifier) , (cast_expression "(uint)puVar5" ( (type_descriptor "uint" type_identifier) ) identifier) )))))) ;) (expression_statement "file[6].next = puVar7;" (assignment_expression "file[6].next = puVar7" (field_expression "file[6].next" (subscript_expression "file[6]" identifier [ number_literal ]) . field_identifier) = identifier) ;) (if_statement "if (puVar3 <= puVar7) {\n          file[6].next = puVar3;\n          iVar6 = gz_comp((gz_statep)file,0);\n          if (iVar6 == -1) goto LAB_0001e8e0;\n          memcpy(file[2].next,file[2].next + *(int *)((int)&file[1].pos + 4),\n                 (size_t)(puVar7 + -(int)puVar3));\n          file[6].next = puVar7 + -(int)puVar3;\n          file[6].have = (uint)file[2].next;\n        }" if (parenthesized_expression "(puVar3 <= puVar7)" ( (binary_expression "puVar3 <= puVar7" identifier <= identifier) )) (compound_statement "{\n          file[6].next = puVar3;\n          iVar6 = gz_comp((gz_statep)file,0);\n          if (iVar6 == -1) goto LAB_0001e8e0;\n          memcpy(file[2].next,file[2].next + *(int *)((int)&file[1].pos + 4),\n                 (size_t)(puVar7 + -(int)puVar3));\n          file[6].next = puVar7 + -(int)puVar3;\n          file[6].have = (uint)file[2].next;\n        }" { (expression_statement "file[6].next = puVar3;" (assignment_expression "file[6].next = puVar3" (field_expression "file[6].next" (subscript_expression "file[6]" identifier [ number_literal ]) . field_identifier) = identifier) ;) (expression_statement "iVar6 = gz_comp((gz_statep)file,0);" (assignment_expression "iVar6 = gz_comp((gz_statep)file,0)" identifier = (call_expression "gz_comp((gz_statep)file,0)" identifier (argument_list "((gz_statep)file,0)" ( (cast_expression "(gz_statep)file" ( (type_descriptor "gz_statep" type_identifier) ) identifier) , number_literal )))) ;) (if_statement "if (iVar6 == -1) goto LAB_0001e8e0;" if (parenthesized_expression "(iVar6 == -1)" ( (binary_expression "iVar6 == -1" identifier == number_literal) )) (goto_statement "goto LAB_0001e8e0;" goto statement_identifier ;)) (expression_statement "memcpy(file[2].next,file[2].next + *(int *)((int)&file[1].pos + 4),\n                 (size_t)(puVar7 + -(int)puVar3));" (call_expression "memcpy(file[2].next,file[2].next + *(int *)((int)&file[1].pos + 4),\n                 (size_t)(puVar7 + -(int)puVar3))" identifier (argument_list "(file[2].next,file[2].next + *(int *)((int)&file[1].pos + 4),\n                 (size_t)(puVar7 + -(int)puVar3))" ( (field_expression "file[2].next" (subscript_expression "file[2]" identifier [ number_literal ]) . field_identifier) , (binary_expression "file[2].next + *(int *)((int)&file[1].pos + 4)" (field_expression "file[2].next" (subscript_expression "file[2]" identifier [ number_literal ]) . field_identifier) + (pointer_expression "*(int *)((int)&file[1].pos + 4)" * (cast_expression "(int *)((int)&file[1].pos + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&file[1].pos + 4)" ( (binary_expression "(int)&file[1].pos + 4" (cast_expression "(int)&file[1].pos" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&file[1].pos" & (field_expression "file[1].pos" (subscript_expression "file[1]" identifier [ number_literal ]) . field_identifier))) + number_literal) ))))) , (cast_expression "(size_t)(puVar7 + -(int)puVar3)" ( (type_descriptor "size_t" primitive_type) ) (parenthesized_expression "(puVar7 + -(int)puVar3)" ( (binary_expression "puVar7 + -(int)puVar3" identifier + (unary_expression "-(int)puVar3" - (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier))) ))) ))) ;) (expression_statement "file[6].next = puVar7 + -(int)puVar3;" (assignment_expression "file[6].next = puVar7 + -(int)puVar3" (field_expression "file[6].next" (subscript_expression "file[6]" identifier [ number_literal ]) . field_identifier) = (binary_expression "puVar7 + -(int)puVar3" identifier + (unary_expression "-(int)puVar3" - (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier)))) ;) (expression_statement "file[6].have = (uint)file[2].next;" (assignment_expression "file[6].have = (uint)file[2].next" (field_expression "file[6].have" (subscript_expression "file[6]" identifier [ number_literal ]) . field_identifier) = (cast_expression "(uint)file[2].next" ( (type_descriptor "uint" type_identifier) ) (field_expression "file[2].next" (subscript_expression "file[2]" identifier [ number_literal ]) . field_identifier))) ;) })) }) (else_clause "else {\n        puVar5 = (uchar *)0x0;\n      }" else (compound_statement "{\n        puVar5 = (uchar *)0x0;\n      }" { (expression_statement "puVar5 = (uchar *)0x0;" (assignment_expression "puVar5 = (uchar *)0x0" identifier = (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) })) }))) (return_statement "return (int)puVar5;" return (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier) ;) })))
(translation_unit "uint __regparm2\ngzvprintf(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  uint *puVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  uint uVar7;\n  int unaff_retaddr;\n  \n  entry(param_2,0x1e7b9);\n  if (((unaff_retaddr == 0) || (*(int *)(unaff_retaddr + 0x10) != 0x79b1)) ||\n     (*(int *)(unaff_retaddr + 0x58) != 0)) {\n    uVar5 = 0xfffffffe;\n  }\n  else {\n    if ((*(int *)(unaff_retaddr + 0x1c) == 0) && (iVar6 = FUN_0001e020(), iVar6 == -1)) {\nLAB_0001e8e0:\n      return *(uint *)(unaff_retaddr + 0x58);\n    }\n    if (*(int *)(unaff_retaddr + 0x54) != 0) {\n      *(undefined4 *)(unaff_retaddr + 0x54) = 0;\n      iVar6 = FUN_0001e320();\n      if (iVar6 == -1) goto LAB_0001e8e0;\n    }\n    iVar6 = *(int *)(unaff_retaddr + 0x24);\n    if (*(int *)(unaff_retaddr + 100) == 0) {\n      *(int *)(unaff_retaddr + 0x60) = iVar6;\n      iVar4 = 0;\n    }\n    else {\n      iVar4 = *(int *)(unaff_retaddr + 100) + (*(int *)(unaff_retaddr + 0x60) - iVar6);\n    }\n    iVar6 = iVar6 + iVar4;\n    *(undefined1 *)(iVar6 + -1 + *(int *)(unaff_retaddr + 0x1c)) = 0;\n    uVar5 = __vsnprintf_chk(iVar6,*(undefined4 *)(unaff_retaddr + 0x1c),1,0xffffffff,param_3,param_4\n                           );\n    if (uVar5 != 0) {\n      uVar3 = *(uint *)(unaff_retaddr + 0x1c);\n      if ((uVar5 < uVar3) && (*(char *)(iVar6 + -1 + uVar3) == '\0')) {\n        uVar7 = *(int *)(unaff_retaddr + 100) + uVar5;\n        puVar1 = (uint *)(unaff_retaddr + 8);\n        uVar2 = *puVar1;\n        *puVar1 = *puVar1 + uVar5;\n        *(int *)(unaff_retaddr + 0xc) =\n             *(int *)(unaff_retaddr + 0xc) + ((int)uVar5 >> 0x1f) + (uint)CARRY4(uVar2,uVar5);\n        *(uint *)(unaff_retaddr + 100) = uVar7;\n        if (uVar3 <= uVar7) {\n          *(uint *)(unaff_retaddr + 100) = uVar3;\n          iVar6 = FUN_0001e130();\n          if (iVar6 == -1) goto LAB_0001e8e0;\n          memcpy(*(void **)(unaff_retaddr + 0x24),\n                 (void *)(*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24)),\n                 uVar7 - uVar3);\n          *(uint *)(unaff_retaddr + 100) = uVar7 - uVar3;\n          *(undefined4 *)(unaff_retaddr + 0x60) = *(undefined4 *)(unaff_retaddr + 0x24);\n        }\n      }\n      else {\n        uVar5 = 0;\n      }\n    }\n  }\n  return uVar5;\n}\n\n" (function_definition "uint __regparm2\ngzvprintf(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  uint *puVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  uint uVar7;\n  int unaff_retaddr;\n  \n  entry(param_2,0x1e7b9);\n  if (((unaff_retaddr == 0) || (*(int *)(unaff_retaddr + 0x10) != 0x79b1)) ||\n     (*(int *)(unaff_retaddr + 0x58) != 0)) {\n    uVar5 = 0xfffffffe;\n  }\n  else {\n    if ((*(int *)(unaff_retaddr + 0x1c) == 0) && (iVar6 = FUN_0001e020(), iVar6 == -1)) {\nLAB_0001e8e0:\n      return *(uint *)(unaff_retaddr + 0x58);\n    }\n    if (*(int *)(unaff_retaddr + 0x54) != 0) {\n      *(undefined4 *)(unaff_retaddr + 0x54) = 0;\n      iVar6 = FUN_0001e320();\n      if (iVar6 == -1) goto LAB_0001e8e0;\n    }\n    iVar6 = *(int *)(unaff_retaddr + 0x24);\n    if (*(int *)(unaff_retaddr + 100) == 0) {\n      *(int *)(unaff_retaddr + 0x60) = iVar6;\n      iVar4 = 0;\n    }\n    else {\n      iVar4 = *(int *)(unaff_retaddr + 100) + (*(int *)(unaff_retaddr + 0x60) - iVar6);\n    }\n    iVar6 = iVar6 + iVar4;\n    *(undefined1 *)(iVar6 + -1 + *(int *)(unaff_retaddr + 0x1c)) = 0;\n    uVar5 = __vsnprintf_chk(iVar6,*(undefined4 *)(unaff_retaddr + 0x1c),1,0xffffffff,param_3,param_4\n                           );\n    if (uVar5 != 0) {\n      uVar3 = *(uint *)(unaff_retaddr + 0x1c);\n      if ((uVar5 < uVar3) && (*(char *)(iVar6 + -1 + uVar3) == '\0')) {\n        uVar7 = *(int *)(unaff_retaddr + 100) + uVar5;\n        puVar1 = (uint *)(unaff_retaddr + 8);\n        uVar2 = *puVar1;\n        *puVar1 = *puVar1 + uVar5;\n        *(int *)(unaff_retaddr + 0xc) =\n             *(int *)(unaff_retaddr + 0xc) + ((int)uVar5 >> 0x1f) + (uint)CARRY4(uVar2,uVar5);\n        *(uint *)(unaff_retaddr + 100) = uVar7;\n        if (uVar3 <= uVar7) {\n          *(uint *)(unaff_retaddr + 100) = uVar3;\n          iVar6 = FUN_0001e130();\n          if (iVar6 == -1) goto LAB_0001e8e0;\n          memcpy(*(void **)(unaff_retaddr + 0x24),\n                 (void *)(*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24)),\n                 uVar7 - uVar3);\n          *(uint *)(unaff_retaddr + 100) = uVar7 - uVar3;\n          *(undefined4 *)(unaff_retaddr + 0x60) = *(undefined4 *)(unaff_retaddr + 0x24);\n        }\n      }\n      else {\n        uVar5 = 0;\n      }\n    }\n  }\n  return uVar5;\n}" type_identifier (ERROR "__regparm2" identifier) (function_declarator "gzvprintf(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  uint *puVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  uint uVar7;\n  int unaff_retaddr;\n  \n  entry(param_2,0x1e7b9);\n  if (((unaff_retaddr == 0) || (*(int *)(unaff_retaddr + 0x10) != 0x79b1)) ||\n     (*(int *)(unaff_retaddr + 0x58) != 0)) {\n    uVar5 = 0xfffffffe;\n  }\n  else {\n    if ((*(int *)(unaff_retaddr + 0x1c) == 0) && (iVar6 = FUN_0001e020(), iVar6 == -1)) {\nLAB_0001e8e0:\n      return *(uint *)(unaff_retaddr + 0x58);\n    }\n    if (*(int *)(unaff_retaddr + 0x54) != 0) {\n      *(undefined4 *)(unaff_retaddr + 0x54) = 0;\n      iVar6 = FUN_0001e320();\n      if (iVar6 == -1) goto LAB_0001e8e0;\n    }\n    iVar6 = *(int *)(unaff_retaddr + 0x24);\n    if (*(int *)(unaff_retaddr + 100) == 0) {\n      *(int *)(unaff_retaddr + 0x60) = iVar6;\n      iVar4 = 0;\n    }\n    else {\n      iVar4 = *(int *)(unaff_retaddr + 100) + (*(int *)(unaff_retaddr + 0x60) - iVar6);\n    }\n    iVar6 = iVar6 + iVar4;\n    *(undefined1 *)(iVar6 + -1 + *(int *)(unaff_retaddr + 0x1c)) = 0;\n    uVar5 = __vsnprintf_chk(iVar6,*(undefined4 *)(unaff_retaddr + 0x1c),1,0xffffffff,param_3,param_4\n                           );\n    if (uVar5 != 0) {\n      uVar3 = *(uint *)(unaff_retaddr + 0x1c);\n      if ((uVar5 < uVar3) && (*(char *)(iVar6 + -1 + uVar3) == '\0')) {\n        uVar7 = *(int *)(unaff_retaddr + 100) + uVar5;\n        puVar1 = (uint *)(unaff_retaddr + 8);\n        uVar2 = *puVar1;\n        *puVar1 = *puVar1 + uVar5;\n        *(int *)(unaff_retaddr + 0xc) =\n             *(int *)(unaff_retaddr + 0xc) + ((int)uVar5 >> 0x1f) + (uint)CARRY4(uVar2,uVar5);\n        *(uint *)(unaff_retaddr + 100) = uVar7;\n        if (uVar3 <= uVar7) {\n          *(uint *)(unaff_retaddr + 100) = uVar3;\n          iVar6 = FUN_0001e130();\n          if (iVar6 == -1) goto LAB_0001e8e0;\n          memcpy(*(void **)(unaff_retaddr + 0x24),\n                 (void *)(*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24)),\n                 uVar7 - uVar3);\n          *(uint *)(unaff_retaddr + 100) = uVar7 - uVar3;\n          *(undefined4 *)(unaff_retaddr + 0x60) = *(undefined4 *)(unaff_retaddr + 0x24);\n        }\n      }\n      else {\n        uVar5 = 0;\n      }\n    }\n  }\n  return uVar5;\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int unaff_retaddr;" primitive_type identifier ;) (expression_statement "entry(param_2,0x1e7b9);" (call_expression "entry(param_2,0x1e7b9)" identifier (argument_list "(param_2,0x1e7b9)" ( identifier , number_literal ))) ;) (if_statement "if (((unaff_retaddr == 0) || (*(int *)(unaff_retaddr + 0x10) != 0x79b1)) ||\n     (*(int *)(unaff_retaddr + 0x58) != 0)) {\n    uVar5 = 0xfffffffe;\n  }\n  else {\n    if ((*(int *)(unaff_retaddr + 0x1c) == 0) && (iVar6 = FUN_0001e020(), iVar6 == -1)) {\nLAB_0001e8e0:\n      return *(uint *)(unaff_retaddr + 0x58);\n    }\n    if (*(int *)(unaff_retaddr + 0x54) != 0) {\n      *(undefined4 *)(unaff_retaddr + 0x54) = 0;\n      iVar6 = FUN_0001e320();\n      if (iVar6 == -1) goto LAB_0001e8e0;\n    }\n    iVar6 = *(int *)(unaff_retaddr + 0x24);\n    if (*(int *)(unaff_retaddr + 100) == 0) {\n      *(int *)(unaff_retaddr + 0x60) = iVar6;\n      iVar4 = 0;\n    }\n    else {\n      iVar4 = *(int *)(unaff_retaddr + 100) + (*(int *)(unaff_retaddr + 0x60) - iVar6);\n    }\n    iVar6 = iVar6 + iVar4;\n    *(undefined1 *)(iVar6 + -1 + *(int *)(unaff_retaddr + 0x1c)) = 0;\n    uVar5 = __vsnprintf_chk(iVar6,*(undefined4 *)(unaff_retaddr + 0x1c),1,0xffffffff,param_3,param_4\n                           );\n    if (uVar5 != 0) {\n      uVar3 = *(uint *)(unaff_retaddr + 0x1c);\n      if ((uVar5 < uVar3) && (*(char *)(iVar6 + -1 + uVar3) == '\0')) {\n        uVar7 = *(int *)(unaff_retaddr + 100) + uVar5;\n        puVar1 = (uint *)(unaff_retaddr + 8);\n        uVar2 = *puVar1;\n        *puVar1 = *puVar1 + uVar5;\n        *(int *)(unaff_retaddr + 0xc) =\n             *(int *)(unaff_retaddr + 0xc) + ((int)uVar5 >> 0x1f) + (uint)CARRY4(uVar2,uVar5);\n        *(uint *)(unaff_retaddr + 100) = uVar7;\n        if (uVar3 <= uVar7) {\n          *(uint *)(unaff_retaddr + 100) = uVar3;\n          iVar6 = FUN_0001e130();\n          if (iVar6 == -1) goto LAB_0001e8e0;\n          memcpy(*(void **)(unaff_retaddr + 0x24),\n                 (void *)(*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24)),\n                 uVar7 - uVar3);\n          *(uint *)(unaff_retaddr + 100) = uVar7 - uVar3;\n          *(undefined4 *)(unaff_retaddr + 0x60) = *(undefined4 *)(unaff_retaddr + 0x24);\n        }\n      }\n      else {\n        uVar5 = 0;\n      }\n    }\n  }" if (parenthesized_expression "(((unaff_retaddr == 0) || (*(int *)(unaff_retaddr + 0x10) != 0x79b1)) ||\n     (*(int *)(unaff_retaddr + 0x58) != 0))" ( (binary_expression "((unaff_retaddr == 0) || (*(int *)(unaff_retaddr + 0x10) != 0x79b1)) ||\n     (*(int *)(unaff_retaddr + 0x58) != 0)" (parenthesized_expression "((unaff_retaddr == 0) || (*(int *)(unaff_retaddr + 0x10) != 0x79b1))" ( (binary_expression "(unaff_retaddr == 0) || (*(int *)(unaff_retaddr + 0x10) != 0x79b1)" (parenthesized_expression "(unaff_retaddr == 0)" ( (binary_expression "unaff_retaddr == 0" identifier == number_literal) )) || (parenthesized_expression "(*(int *)(unaff_retaddr + 0x10) != 0x79b1)" ( (binary_expression "*(int *)(unaff_retaddr + 0x10) != 0x79b1" (pointer_expression "*(int *)(unaff_retaddr + 0x10)" * (cast_expression "(int *)(unaff_retaddr + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x10)" ( (binary_expression "unaff_retaddr + 0x10" identifier + number_literal) )))) != number_literal) ))) )) || (parenthesized_expression "(*(int *)(unaff_retaddr + 0x58) != 0)" ( (binary_expression "*(int *)(unaff_retaddr + 0x58) != 0" (pointer_expression "*(int *)(unaff_retaddr + 0x58)" * (cast_expression "(int *)(unaff_retaddr + 0x58)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x58)" ( (binary_expression "unaff_retaddr + 0x58" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n    uVar5 = 0xfffffffe;\n  }" { (expression_statement "uVar5 = 0xfffffffe;" (assignment_expression "uVar5 = 0xfffffffe" identifier = number_literal) ;) }) (else_clause "else {\n    if ((*(int *)(unaff_retaddr + 0x1c) == 0) && (iVar6 = FUN_0001e020(), iVar6 == -1)) {\nLAB_0001e8e0:\n      return *(uint *)(unaff_retaddr + 0x58);\n    }\n    if (*(int *)(unaff_retaddr + 0x54) != 0) {\n      *(undefined4 *)(unaff_retaddr + 0x54) = 0;\n      iVar6 = FUN_0001e320();\n      if (iVar6 == -1) goto LAB_0001e8e0;\n    }\n    iVar6 = *(int *)(unaff_retaddr + 0x24);\n    if (*(int *)(unaff_retaddr + 100) == 0) {\n      *(int *)(unaff_retaddr + 0x60) = iVar6;\n      iVar4 = 0;\n    }\n    else {\n      iVar4 = *(int *)(unaff_retaddr + 100) + (*(int *)(unaff_retaddr + 0x60) - iVar6);\n    }\n    iVar6 = iVar6 + iVar4;\n    *(undefined1 *)(iVar6 + -1 + *(int *)(unaff_retaddr + 0x1c)) = 0;\n    uVar5 = __vsnprintf_chk(iVar6,*(undefined4 *)(unaff_retaddr + 0x1c),1,0xffffffff,param_3,param_4\n                           );\n    if (uVar5 != 0) {\n      uVar3 = *(uint *)(unaff_retaddr + 0x1c);\n      if ((uVar5 < uVar3) && (*(char *)(iVar6 + -1 + uVar3) == '\0')) {\n        uVar7 = *(int *)(unaff_retaddr + 100) + uVar5;\n        puVar1 = (uint *)(unaff_retaddr + 8);\n        uVar2 = *puVar1;\n        *puVar1 = *puVar1 + uVar5;\n        *(int *)(unaff_retaddr + 0xc) =\n             *(int *)(unaff_retaddr + 0xc) + ((int)uVar5 >> 0x1f) + (uint)CARRY4(uVar2,uVar5);\n        *(uint *)(unaff_retaddr + 100) = uVar7;\n        if (uVar3 <= uVar7) {\n          *(uint *)(unaff_retaddr + 100) = uVar3;\n          iVar6 = FUN_0001e130();\n          if (iVar6 == -1) goto LAB_0001e8e0;\n          memcpy(*(void **)(unaff_retaddr + 0x24),\n                 (void *)(*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24)),\n                 uVar7 - uVar3);\n          *(uint *)(unaff_retaddr + 100) = uVar7 - uVar3;\n          *(undefined4 *)(unaff_retaddr + 0x60) = *(undefined4 *)(unaff_retaddr + 0x24);\n        }\n      }\n      else {\n        uVar5 = 0;\n      }\n    }\n  }" else (compound_statement "{\n    if ((*(int *)(unaff_retaddr + 0x1c) == 0) && (iVar6 = FUN_0001e020(), iVar6 == -1)) {\nLAB_0001e8e0:\n      return *(uint *)(unaff_retaddr + 0x58);\n    }\n    if (*(int *)(unaff_retaddr + 0x54) != 0) {\n      *(undefined4 *)(unaff_retaddr + 0x54) = 0;\n      iVar6 = FUN_0001e320();\n      if (iVar6 == -1) goto LAB_0001e8e0;\n    }\n    iVar6 = *(int *)(unaff_retaddr + 0x24);\n    if (*(int *)(unaff_retaddr + 100) == 0) {\n      *(int *)(unaff_retaddr + 0x60) = iVar6;\n      iVar4 = 0;\n    }\n    else {\n      iVar4 = *(int *)(unaff_retaddr + 100) + (*(int *)(unaff_retaddr + 0x60) - iVar6);\n    }\n    iVar6 = iVar6 + iVar4;\n    *(undefined1 *)(iVar6 + -1 + *(int *)(unaff_retaddr + 0x1c)) = 0;\n    uVar5 = __vsnprintf_chk(iVar6,*(undefined4 *)(unaff_retaddr + 0x1c),1,0xffffffff,param_3,param_4\n                           );\n    if (uVar5 != 0) {\n      uVar3 = *(uint *)(unaff_retaddr + 0x1c);\n      if ((uVar5 < uVar3) && (*(char *)(iVar6 + -1 + uVar3) == '\0')) {\n        uVar7 = *(int *)(unaff_retaddr + 100) + uVar5;\n        puVar1 = (uint *)(unaff_retaddr + 8);\n        uVar2 = *puVar1;\n        *puVar1 = *puVar1 + uVar5;\n        *(int *)(unaff_retaddr + 0xc) =\n             *(int *)(unaff_retaddr + 0xc) + ((int)uVar5 >> 0x1f) + (uint)CARRY4(uVar2,uVar5);\n        *(uint *)(unaff_retaddr + 100) = uVar7;\n        if (uVar3 <= uVar7) {\n          *(uint *)(unaff_retaddr + 100) = uVar3;\n          iVar6 = FUN_0001e130();\n          if (iVar6 == -1) goto LAB_0001e8e0;\n          memcpy(*(void **)(unaff_retaddr + 0x24),\n                 (void *)(*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24)),\n                 uVar7 - uVar3);\n          *(uint *)(unaff_retaddr + 100) = uVar7 - uVar3;\n          *(undefined4 *)(unaff_retaddr + 0x60) = *(undefined4 *)(unaff_retaddr + 0x24);\n        }\n      }\n      else {\n        uVar5 = 0;\n      }\n    }\n  }" { (if_statement "if ((*(int *)(unaff_retaddr + 0x1c) == 0) && (iVar6 = FUN_0001e020(), iVar6 == -1)) {\nLAB_0001e8e0:\n      return *(uint *)(unaff_retaddr + 0x58);\n    }" if (parenthesized_expression "((*(int *)(unaff_retaddr + 0x1c) == 0) && (iVar6 = FUN_0001e020(), iVar6 == -1))" ( (binary_expression "(*(int *)(unaff_retaddr + 0x1c) == 0) && (iVar6 = FUN_0001e020(), iVar6 == -1)" (parenthesized_expression "(*(int *)(unaff_retaddr + 0x1c) == 0)" ( (binary_expression "*(int *)(unaff_retaddr + 0x1c) == 0" (pointer_expression "*(int *)(unaff_retaddr + 0x1c)" * (cast_expression "(int *)(unaff_retaddr + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x1c)" ( (binary_expression "unaff_retaddr + 0x1c" identifier + number_literal) )))) == number_literal) )) && (parenthesized_expression "(iVar6 = FUN_0001e020(), iVar6 == -1)" ( (comma_expression "iVar6 = FUN_0001e020(), iVar6 == -1" (assignment_expression "iVar6 = FUN_0001e020()" identifier = (call_expression "FUN_0001e020()" identifier (argument_list "()" ( )))) , (binary_expression "iVar6 == -1" identifier == number_literal)) ))) )) (compound_statement "{\nLAB_0001e8e0:\n      return *(uint *)(unaff_retaddr + 0x58);\n    }" { (labeled_statement "LAB_0001e8e0:\n      return *(uint *)(unaff_retaddr + 0x58);" statement_identifier : (return_statement "return *(uint *)(unaff_retaddr + 0x58);" return (pointer_expression "*(uint *)(unaff_retaddr + 0x58)" * (cast_expression "(uint *)(unaff_retaddr + 0x58)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x58)" ( (binary_expression "unaff_retaddr + 0x58" identifier + number_literal) )))) ;)) })) (if_statement "if (*(int *)(unaff_retaddr + 0x54) != 0) {\n      *(undefined4 *)(unaff_retaddr + 0x54) = 0;\n      iVar6 = FUN_0001e320();\n      if (iVar6 == -1) goto LAB_0001e8e0;\n    }" if (parenthesized_expression "(*(int *)(unaff_retaddr + 0x54) != 0)" ( (binary_expression "*(int *)(unaff_retaddr + 0x54) != 0" (pointer_expression "*(int *)(unaff_retaddr + 0x54)" * (cast_expression "(int *)(unaff_retaddr + 0x54)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x54)" ( (binary_expression "unaff_retaddr + 0x54" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      *(undefined4 *)(unaff_retaddr + 0x54) = 0;\n      iVar6 = FUN_0001e320();\n      if (iVar6 == -1) goto LAB_0001e8e0;\n    }" { (expression_statement "*(undefined4 *)(unaff_retaddr + 0x54) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x54) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x54)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0x54)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x54)" ( (binary_expression "unaff_retaddr + 0x54" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar6 = FUN_0001e320();" (assignment_expression "iVar6 = FUN_0001e320()" identifier = (call_expression "FUN_0001e320()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar6 == -1) goto LAB_0001e8e0;" if (parenthesized_expression "(iVar6 == -1)" ( (binary_expression "iVar6 == -1" identifier == number_literal) )) (goto_statement "goto LAB_0001e8e0;" goto statement_identifier ;)) })) (expression_statement "iVar6 = *(int *)(unaff_retaddr + 0x24);" (assignment_expression "iVar6 = *(int *)(unaff_retaddr + 0x24)" identifier = (pointer_expression "*(int *)(unaff_retaddr + 0x24)" * (cast_expression "(int *)(unaff_retaddr + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x24)" ( (binary_expression "unaff_retaddr + 0x24" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(unaff_retaddr + 100) == 0) {\n      *(int *)(unaff_retaddr + 0x60) = iVar6;\n      iVar4 = 0;\n    }\n    else {\n      iVar4 = *(int *)(unaff_retaddr + 100) + (*(int *)(unaff_retaddr + 0x60) - iVar6);\n    }" if (parenthesized_expression "(*(int *)(unaff_retaddr + 100) == 0)" ( (binary_expression "*(int *)(unaff_retaddr + 100) == 0" (pointer_expression "*(int *)(unaff_retaddr + 100)" * (cast_expression "(int *)(unaff_retaddr + 100)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 100)" ( (binary_expression "unaff_retaddr + 100" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      *(int *)(unaff_retaddr + 0x60) = iVar6;\n      iVar4 = 0;\n    }" { (expression_statement "*(int *)(unaff_retaddr + 0x60) = iVar6;" (assignment_expression "*(int *)(unaff_retaddr + 0x60) = iVar6" (pointer_expression "*(int *)(unaff_retaddr + 0x60)" * (cast_expression "(int *)(unaff_retaddr + 0x60)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x60)" ( (binary_expression "unaff_retaddr + 0x60" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      iVar4 = *(int *)(unaff_retaddr + 100) + (*(int *)(unaff_retaddr + 0x60) - iVar6);\n    }" else (compound_statement "{\n      iVar4 = *(int *)(unaff_retaddr + 100) + (*(int *)(unaff_retaddr + 0x60) - iVar6);\n    }" { (expression_statement "iVar4 = *(int *)(unaff_retaddr + 100) + (*(int *)(unaff_retaddr + 0x60) - iVar6);" (assignment_expression "iVar4 = *(int *)(unaff_retaddr + 100) + (*(int *)(unaff_retaddr + 0x60) - iVar6)" identifier = (binary_expression "*(int *)(unaff_retaddr + 100) + (*(int *)(unaff_retaddr + 0x60) - iVar6)" (pointer_expression "*(int *)(unaff_retaddr + 100)" * (cast_expression "(int *)(unaff_retaddr + 100)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 100)" ( (binary_expression "unaff_retaddr + 100" identifier + number_literal) )))) + (parenthesized_expression "(*(int *)(unaff_retaddr + 0x60) - iVar6)" ( (binary_expression "*(int *)(unaff_retaddr + 0x60) - iVar6" (pointer_expression "*(int *)(unaff_retaddr + 0x60)" * (cast_expression "(int *)(unaff_retaddr + 0x60)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x60)" ( (binary_expression "unaff_retaddr + 0x60" identifier + number_literal) )))) - identifier) )))) ;) }))) (expression_statement "iVar6 = iVar6 + iVar4;" (assignment_expression "iVar6 = iVar6 + iVar4" identifier = (binary_expression "iVar6 + iVar4" identifier + identifier)) ;) (expression_statement "*(undefined1 *)(iVar6 + -1 + *(int *)(unaff_retaddr + 0x1c)) = 0;" (assignment_expression "*(undefined1 *)(iVar6 + -1 + *(int *)(unaff_retaddr + 0x1c)) = 0" (pointer_expression "*(undefined1 *)(iVar6 + -1 + *(int *)(unaff_retaddr + 0x1c))" * (cast_expression "(undefined1 *)(iVar6 + -1 + *(int *)(unaff_retaddr + 0x1c))" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + -1 + *(int *)(unaff_retaddr + 0x1c))" ( (binary_expression "iVar6 + -1 + *(int *)(unaff_retaddr + 0x1c)" (binary_expression "iVar6 + -1" identifier + number_literal) + (pointer_expression "*(int *)(unaff_retaddr + 0x1c)" * (cast_expression "(int *)(unaff_retaddr + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x1c)" ( (binary_expression "unaff_retaddr + 0x1c" identifier + number_literal) ))))) )))) = number_literal) ;) (expression_statement "uVar5 = __vsnprintf_chk(iVar6,*(undefined4 *)(unaff_retaddr + 0x1c),1,0xffffffff,param_3,param_4\n                           );" (assignment_expression "uVar5 = __vsnprintf_chk(iVar6,*(undefined4 *)(unaff_retaddr + 0x1c),1,0xffffffff,param_3,param_4\n                           )" identifier = (call_expression "__vsnprintf_chk(iVar6,*(undefined4 *)(unaff_retaddr + 0x1c),1,0xffffffff,param_3,param_4\n                           )" identifier (argument_list "(iVar6,*(undefined4 *)(unaff_retaddr + 0x1c),1,0xffffffff,param_3,param_4\n                           )" ( identifier , (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x1c)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x1c)" ( (binary_expression "unaff_retaddr + 0x1c" identifier + number_literal) )))) , number_literal , number_literal , identifier , identifier )))) ;) (if_statement "if (uVar5 != 0) {\n      uVar3 = *(uint *)(unaff_retaddr + 0x1c);\n      if ((uVar5 < uVar3) && (*(char *)(iVar6 + -1 + uVar3) == '\0')) {\n        uVar7 = *(int *)(unaff_retaddr + 100) + uVar5;\n        puVar1 = (uint *)(unaff_retaddr + 8);\n        uVar2 = *puVar1;\n        *puVar1 = *puVar1 + uVar5;\n        *(int *)(unaff_retaddr + 0xc) =\n             *(int *)(unaff_retaddr + 0xc) + ((int)uVar5 >> 0x1f) + (uint)CARRY4(uVar2,uVar5);\n        *(uint *)(unaff_retaddr + 100) = uVar7;\n        if (uVar3 <= uVar7) {\n          *(uint *)(unaff_retaddr + 100) = uVar3;\n          iVar6 = FUN_0001e130();\n          if (iVar6 == -1) goto LAB_0001e8e0;\n          memcpy(*(void **)(unaff_retaddr + 0x24),\n                 (void *)(*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24)),\n                 uVar7 - uVar3);\n          *(uint *)(unaff_retaddr + 100) = uVar7 - uVar3;\n          *(undefined4 *)(unaff_retaddr + 0x60) = *(undefined4 *)(unaff_retaddr + 0x24);\n        }\n      }\n      else {\n        uVar5 = 0;\n      }\n    }" if (parenthesized_expression "(uVar5 != 0)" ( (binary_expression "uVar5 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar3 = *(uint *)(unaff_retaddr + 0x1c);\n      if ((uVar5 < uVar3) && (*(char *)(iVar6 + -1 + uVar3) == '\0')) {\n        uVar7 = *(int *)(unaff_retaddr + 100) + uVar5;\n        puVar1 = (uint *)(unaff_retaddr + 8);\n        uVar2 = *puVar1;\n        *puVar1 = *puVar1 + uVar5;\n        *(int *)(unaff_retaddr + 0xc) =\n             *(int *)(unaff_retaddr + 0xc) + ((int)uVar5 >> 0x1f) + (uint)CARRY4(uVar2,uVar5);\n        *(uint *)(unaff_retaddr + 100) = uVar7;\n        if (uVar3 <= uVar7) {\n          *(uint *)(unaff_retaddr + 100) = uVar3;\n          iVar6 = FUN_0001e130();\n          if (iVar6 == -1) goto LAB_0001e8e0;\n          memcpy(*(void **)(unaff_retaddr + 0x24),\n                 (void *)(*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24)),\n                 uVar7 - uVar3);\n          *(uint *)(unaff_retaddr + 100) = uVar7 - uVar3;\n          *(undefined4 *)(unaff_retaddr + 0x60) = *(undefined4 *)(unaff_retaddr + 0x24);\n        }\n      }\n      else {\n        uVar5 = 0;\n      }\n    }" { (expression_statement "uVar3 = *(uint *)(unaff_retaddr + 0x1c);" (assignment_expression "uVar3 = *(uint *)(unaff_retaddr + 0x1c)" identifier = (pointer_expression "*(uint *)(unaff_retaddr + 0x1c)" * (cast_expression "(uint *)(unaff_retaddr + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x1c)" ( (binary_expression "unaff_retaddr + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if ((uVar5 < uVar3) && (*(char *)(iVar6 + -1 + uVar3) == '\0')) {\n        uVar7 = *(int *)(unaff_retaddr + 100) + uVar5;\n        puVar1 = (uint *)(unaff_retaddr + 8);\n        uVar2 = *puVar1;\n        *puVar1 = *puVar1 + uVar5;\n        *(int *)(unaff_retaddr + 0xc) =\n             *(int *)(unaff_retaddr + 0xc) + ((int)uVar5 >> 0x1f) + (uint)CARRY4(uVar2,uVar5);\n        *(uint *)(unaff_retaddr + 100) = uVar7;\n        if (uVar3 <= uVar7) {\n          *(uint *)(unaff_retaddr + 100) = uVar3;\n          iVar6 = FUN_0001e130();\n          if (iVar6 == -1) goto LAB_0001e8e0;\n          memcpy(*(void **)(unaff_retaddr + 0x24),\n                 (void *)(*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24)),\n                 uVar7 - uVar3);\n          *(uint *)(unaff_retaddr + 100) = uVar7 - uVar3;\n          *(undefined4 *)(unaff_retaddr + 0x60) = *(undefined4 *)(unaff_retaddr + 0x24);\n        }\n      }\n      else {\n        uVar5 = 0;\n      }" if (parenthesized_expression "((uVar5 < uVar3) && (*(char *)(iVar6 + -1 + uVar3) == '\0'))" ( (binary_expression "(uVar5 < uVar3) && (*(char *)(iVar6 + -1 + uVar3) == '\0')" (parenthesized_expression "(uVar5 < uVar3)" ( (binary_expression "uVar5 < uVar3" identifier < identifier) )) && (parenthesized_expression "(*(char *)(iVar6 + -1 + uVar3) == '\0')" ( (binary_expression "*(char *)(iVar6 + -1 + uVar3) == '\0'" (pointer_expression "*(char *)(iVar6 + -1 + uVar3)" * (cast_expression "(char *)(iVar6 + -1 + uVar3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + -1 + uVar3)" ( (binary_expression "iVar6 + -1 + uVar3" (binary_expression "iVar6 + -1" identifier + number_literal) + identifier) )))) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n        uVar7 = *(int *)(unaff_retaddr + 100) + uVar5;\n        puVar1 = (uint *)(unaff_retaddr + 8);\n        uVar2 = *puVar1;\n        *puVar1 = *puVar1 + uVar5;\n        *(int *)(unaff_retaddr + 0xc) =\n             *(int *)(unaff_retaddr + 0xc) + ((int)uVar5 >> 0x1f) + (uint)CARRY4(uVar2,uVar5);\n        *(uint *)(unaff_retaddr + 100) = uVar7;\n        if (uVar3 <= uVar7) {\n          *(uint *)(unaff_retaddr + 100) = uVar3;\n          iVar6 = FUN_0001e130();\n          if (iVar6 == -1) goto LAB_0001e8e0;\n          memcpy(*(void **)(unaff_retaddr + 0x24),\n                 (void *)(*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24)),\n                 uVar7 - uVar3);\n          *(uint *)(unaff_retaddr + 100) = uVar7 - uVar3;\n          *(undefined4 *)(unaff_retaddr + 0x60) = *(undefined4 *)(unaff_retaddr + 0x24);\n        }\n      }" { (expression_statement "uVar7 = *(int *)(unaff_retaddr + 100) + uVar5;" (assignment_expression "uVar7 = *(int *)(unaff_retaddr + 100) + uVar5" identifier = (binary_expression "*(int *)(unaff_retaddr + 100) + uVar5" (pointer_expression "*(int *)(unaff_retaddr + 100)" * (cast_expression "(int *)(unaff_retaddr + 100)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 100)" ( (binary_expression "unaff_retaddr + 100" identifier + number_literal) )))) + identifier)) ;) (expression_statement "puVar1 = (uint *)(unaff_retaddr + 8);" (assignment_expression "puVar1 = (uint *)(unaff_retaddr + 8)" identifier = (cast_expression "(uint *)(unaff_retaddr + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 8)" ( (binary_expression "unaff_retaddr + 8" identifier + number_literal) )))) ;) (expression_statement "uVar2 = *puVar1;" (assignment_expression "uVar2 = *puVar1" identifier = (pointer_expression "*puVar1" * identifier)) ;) (expression_statement "*puVar1 = *puVar1 + uVar5;" (assignment_expression "*puVar1 = *puVar1 + uVar5" (pointer_expression "*puVar1" * identifier) = (binary_expression "*puVar1 + uVar5" (pointer_expression "*puVar1" * identifier) + identifier)) ;) (expression_statement "*(int *)(unaff_retaddr + 0xc) =\n             *(int *)(unaff_retaddr + 0xc) + ((int)uVar5 >> 0x1f) + (uint)CARRY4(uVar2,uVar5);" (assignment_expression "*(int *)(unaff_retaddr + 0xc) =\n             *(int *)(unaff_retaddr + 0xc) + ((int)uVar5 >> 0x1f) + (uint)CARRY4(uVar2,uVar5)" (pointer_expression "*(int *)(unaff_retaddr + 0xc)" * (cast_expression "(int *)(unaff_retaddr + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0xc)" ( (binary_expression "unaff_retaddr + 0xc" identifier + number_literal) )))) = (binary_expression "*(int *)(unaff_retaddr + 0xc) + ((int)uVar5 >> 0x1f) + (uint)CARRY4(uVar2,uVar5)" (binary_expression "*(int *)(unaff_retaddr + 0xc) + ((int)uVar5 >> 0x1f)" (pointer_expression "*(int *)(unaff_retaddr + 0xc)" * (cast_expression "(int *)(unaff_retaddr + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0xc)" ( (binary_expression "unaff_retaddr + 0xc" identifier + number_literal) )))) + (parenthesized_expression "((int)uVar5 >> 0x1f)" ( (binary_expression "(int)uVar5 >> 0x1f" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ))) + (cast_expression "(uint)CARRY4(uVar2,uVar5)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(uVar2,uVar5)" identifier (argument_list "(uVar2,uVar5)" ( identifier , identifier )))))) ;) (expression_statement "*(uint *)(unaff_retaddr + 100) = uVar7;" (assignment_expression "*(uint *)(unaff_retaddr + 100) = uVar7" (pointer_expression "*(uint *)(unaff_retaddr + 100)" * (cast_expression "(uint *)(unaff_retaddr + 100)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 100)" ( (binary_expression "unaff_retaddr + 100" identifier + number_literal) )))) = identifier) ;) (if_statement "if (uVar3 <= uVar7) {\n          *(uint *)(unaff_retaddr + 100) = uVar3;\n          iVar6 = FUN_0001e130();\n          if (iVar6 == -1) goto LAB_0001e8e0;\n          memcpy(*(void **)(unaff_retaddr + 0x24),\n                 (void *)(*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24)),\n                 uVar7 - uVar3);\n          *(uint *)(unaff_retaddr + 100) = uVar7 - uVar3;\n          *(undefined4 *)(unaff_retaddr + 0x60) = *(undefined4 *)(unaff_retaddr + 0x24);\n        }" if (parenthesized_expression "(uVar3 <= uVar7)" ( (binary_expression "uVar3 <= uVar7" identifier <= identifier) )) (compound_statement "{\n          *(uint *)(unaff_retaddr + 100) = uVar3;\n          iVar6 = FUN_0001e130();\n          if (iVar6 == -1) goto LAB_0001e8e0;\n          memcpy(*(void **)(unaff_retaddr + 0x24),\n                 (void *)(*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24)),\n                 uVar7 - uVar3);\n          *(uint *)(unaff_retaddr + 100) = uVar7 - uVar3;\n          *(undefined4 *)(unaff_retaddr + 0x60) = *(undefined4 *)(unaff_retaddr + 0x24);\n        }" { (expression_statement "*(uint *)(unaff_retaddr + 100) = uVar3;" (assignment_expression "*(uint *)(unaff_retaddr + 100) = uVar3" (pointer_expression "*(uint *)(unaff_retaddr + 100)" * (cast_expression "(uint *)(unaff_retaddr + 100)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 100)" ( (binary_expression "unaff_retaddr + 100" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar6 = FUN_0001e130();" (assignment_expression "iVar6 = FUN_0001e130()" identifier = (call_expression "FUN_0001e130()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar6 == -1) goto LAB_0001e8e0;" if (parenthesized_expression "(iVar6 == -1)" ( (binary_expression "iVar6 == -1" identifier == number_literal) )) (goto_statement "goto LAB_0001e8e0;" goto statement_identifier ;)) (expression_statement "memcpy(*(void **)(unaff_retaddr + 0x24),\n                 (void *)(*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24)),\n                 uVar7 - uVar3);" (call_expression "memcpy(*(void **)(unaff_retaddr + 0x24),\n                 (void *)(*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24)),\n                 uVar7 - uVar3)" identifier (argument_list "(*(void **)(unaff_retaddr + 0x24),\n                 (void *)(*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24)),\n                 uVar7 - uVar3)" ( (pointer_expression "*(void **)(unaff_retaddr + 0x24)" * (cast_expression "(void **)(unaff_retaddr + 0x24)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_retaddr + 0x24)" ( (binary_expression "unaff_retaddr + 0x24" identifier + number_literal) )))) , (cast_expression "(void *)(*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24))" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24))" ( (binary_expression "*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24)" (pointer_expression "*(int *)(unaff_retaddr + 0x1c)" * (cast_expression "(int *)(unaff_retaddr + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x1c)" ( (binary_expression "unaff_retaddr + 0x1c" identifier + number_literal) )))) + (cast_expression "(int)*(void **)(unaff_retaddr + 0x24)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(void **)(unaff_retaddr + 0x24)" * (cast_expression "(void **)(unaff_retaddr + 0x24)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_retaddr + 0x24)" ( (binary_expression "unaff_retaddr + 0x24" identifier + number_literal) )))))) ))) , (binary_expression "uVar7 - uVar3" identifier - identifier) ))) ;) (expression_statement "*(uint *)(unaff_retaddr + 100) = uVar7 - uVar3;" (assignment_expression "*(uint *)(unaff_retaddr + 100) = uVar7 - uVar3" (pointer_expression "*(uint *)(unaff_retaddr + 100)" * (cast_expression "(uint *)(unaff_retaddr + 100)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 100)" ( (binary_expression "unaff_retaddr + 100" identifier + number_literal) )))) = (binary_expression "uVar7 - uVar3" identifier - identifier)) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0x60) = *(undefined4 *)(unaff_retaddr + 0x24);" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x60) = *(undefined4 *)(unaff_retaddr + 0x24)" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x60)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0x60)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x60)" ( (binary_expression "unaff_retaddr + 0x60" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x24)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x24)" ( (binary_expression "unaff_retaddr + 0x24" identifier + number_literal) ))))) ;) })) }) (else_clause "else {\n        uVar5 = 0;\n      }" else (compound_statement "{\n        uVar5 = 0;\n      }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) }))) })) }))) (return_statement "return uVar5;" return identifier ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) ))) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (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 IDENT + LIT) )))) == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (labeled_statement statement_identifier : (return_statement return (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;)) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - IDENT) )))) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT , LIT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < IDENT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) == (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) + IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ))) + (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( IDENT , IDENT )))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ))) , (binary_expression IDENT - IDENT) ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT - IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }))) })) }))) (return_statement return IDENT ;) })))
(function_definition "uint __regparm2\ngzvprintf(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  uint *puVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  uint uVar7;\n  int unaff_retaddr;\n  \n  entry(param_2,0x1e7b9);\n  if (((unaff_retaddr == 0) || (*(int *)(unaff_retaddr + 0x10) != 0x79b1)) ||\n     (*(int *)(unaff_retaddr + 0x58) != 0)) {\n    uVar5 = 0xfffffffe;\n  }\n  else {\n    if ((*(int *)(unaff_retaddr + 0x1c) == 0) && (iVar6 = FUN_0001e020(), iVar6 == -1)) {\nLAB_0001e8e0:\n      return *(uint *)(unaff_retaddr + 0x58);\n    }\n    if (*(int *)(unaff_retaddr + 0x54) != 0) {\n      *(undefined4 *)(unaff_retaddr + 0x54) = 0;\n      iVar6 = FUN_0001e320();\n      if (iVar6 == -1) goto LAB_0001e8e0;\n    }\n    iVar6 = *(int *)(unaff_retaddr + 0x24);\n    if (*(int *)(unaff_retaddr + 100) == 0) {\n      *(int *)(unaff_retaddr + 0x60) = iVar6;\n      iVar4 = 0;\n    }\n    else {\n      iVar4 = *(int *)(unaff_retaddr + 100) + (*(int *)(unaff_retaddr + 0x60) - iVar6);\n    }\n    iVar6 = iVar6 + iVar4;\n    *(undefined1 *)(iVar6 + -1 + *(int *)(unaff_retaddr + 0x1c)) = 0;\n    uVar5 = __vsnprintf_chk(iVar6,*(undefined4 *)(unaff_retaddr + 0x1c),1,0xffffffff,param_3,param_4\n                           );\n    if (uVar5 != 0) {\n      uVar3 = *(uint *)(unaff_retaddr + 0x1c);\n      if ((uVar5 < uVar3) && (*(char *)(iVar6 + -1 + uVar3) == '\0')) {\n        uVar7 = *(int *)(unaff_retaddr + 100) + uVar5;\n        puVar1 = (uint *)(unaff_retaddr + 8);\n        uVar2 = *puVar1;\n        *puVar1 = *puVar1 + uVar5;\n        *(int *)(unaff_retaddr + 0xc) =\n             *(int *)(unaff_retaddr + 0xc) + ((int)uVar5 >> 0x1f) + (uint)CARRY4(uVar2,uVar5);\n        *(uint *)(unaff_retaddr + 100) = uVar7;\n        if (uVar3 <= uVar7) {\n          *(uint *)(unaff_retaddr + 100) = uVar3;\n          iVar6 = FUN_0001e130();\n          if (iVar6 == -1) goto LAB_0001e8e0;\n          memcpy(*(void **)(unaff_retaddr + 0x24),\n                 (void *)(*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24)),\n                 uVar7 - uVar3);\n          *(uint *)(unaff_retaddr + 100) = uVar7 - uVar3;\n          *(undefined4 *)(unaff_retaddr + 0x60) = *(undefined4 *)(unaff_retaddr + 0x24);\n        }\n      }\n      else {\n        uVar5 = 0;\n      }\n    }\n  }\n  return uVar5;\n}" (type_identifier "uint") (ERROR "__regparm2" (identifier "__regparm2")) (function_declarator "gzvprintf(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" (identifier "gzvprintf") (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) () ")"))) (compound_statement "{\n  uint *puVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  uint uVar7;\n  int unaff_retaddr;\n  \n  entry(param_2,0x1e7b9);\n  if (((unaff_retaddr == 0) || (*(int *)(unaff_retaddr + 0x10) != 0x79b1)) ||\n     (*(int *)(unaff_retaddr + 0x58) != 0)) {\n    uVar5 = 0xfffffffe;\n  }\n  else {\n    if ((*(int *)(unaff_retaddr + 0x1c) == 0) && (iVar6 = FUN_0001e020(), iVar6 == -1)) {\nLAB_0001e8e0:\n      return *(uint *)(unaff_retaddr + 0x58);\n    }\n    if (*(int *)(unaff_retaddr + 0x54) != 0) {\n      *(undefined4 *)(unaff_retaddr + 0x54) = 0;\n      iVar6 = FUN_0001e320();\n      if (iVar6 == -1) goto LAB_0001e8e0;\n    }\n    iVar6 = *(int *)(unaff_retaddr + 0x24);\n    if (*(int *)(unaff_retaddr + 100) == 0) {\n      *(int *)(unaff_retaddr + 0x60) = iVar6;\n      iVar4 = 0;\n    }\n    else {\n      iVar4 = *(int *)(unaff_retaddr + 100) + (*(int *)(unaff_retaddr + 0x60) - iVar6);\n    }\n    iVar6 = iVar6 + iVar4;\n    *(undefined1 *)(iVar6 + -1 + *(int *)(unaff_retaddr + 0x1c)) = 0;\n    uVar5 = __vsnprintf_chk(iVar6,*(undefined4 *)(unaff_retaddr + 0x1c),1,0xffffffff,param_3,param_4\n                           );\n    if (uVar5 != 0) {\n      uVar3 = *(uint *)(unaff_retaddr + 0x1c);\n      if ((uVar5 < uVar3) && (*(char *)(iVar6 + -1 + uVar3) == '\0')) {\n        uVar7 = *(int *)(unaff_retaddr + 100) + uVar5;\n        puVar1 = (uint *)(unaff_retaddr + 8);\n        uVar2 = *puVar1;\n        *puVar1 = *puVar1 + uVar5;\n        *(int *)(unaff_retaddr + 0xc) =\n             *(int *)(unaff_retaddr + 0xc) + ((int)uVar5 >> 0x1f) + (uint)CARRY4(uVar2,uVar5);\n        *(uint *)(unaff_retaddr + 100) = uVar7;\n        if (uVar3 <= uVar7) {\n          *(uint *)(unaff_retaddr + 100) = uVar3;\n          iVar6 = FUN_0001e130();\n          if (iVar6 == -1) goto LAB_0001e8e0;\n          memcpy(*(void **)(unaff_retaddr + 0x24),\n                 (void *)(*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24)),\n                 uVar7 - uVar3);\n          *(uint *)(unaff_retaddr + 100) = uVar7 - uVar3;\n          *(undefined4 *)(unaff_retaddr + 0x60) = *(undefined4 *)(unaff_retaddr + 0x24);\n        }\n      }\n      else {\n        uVar5 = 0;\n      }\n    }\n  }\n  return uVar5;\n}" ({ "{") (declaration "uint *puVar1;" (type_identifier "uint") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (declaration "int unaff_retaddr;" (primitive_type "int") (identifier "unaff_retaddr") (; ";")) (expression_statement "entry(param_2,0x1e7b9);" (call_expression "entry(param_2,0x1e7b9)" (identifier "entry") (argument_list "(param_2,0x1e7b9)" (( "(") (identifier "param_2") (, ",") (number_literal "0x1e7b9") () ")"))) (; ";")) (if_statement "if (((unaff_retaddr == 0) || (*(int *)(unaff_retaddr + 0x10) != 0x79b1)) ||\n     (*(int *)(unaff_retaddr + 0x58) != 0)) {\n    uVar5 = 0xfffffffe;\n  }\n  else {\n    if ((*(int *)(unaff_retaddr + 0x1c) == 0) && (iVar6 = FUN_0001e020(), iVar6 == -1)) {\nLAB_0001e8e0:\n      return *(uint *)(unaff_retaddr + 0x58);\n    }\n    if (*(int *)(unaff_retaddr + 0x54) != 0) {\n      *(undefined4 *)(unaff_retaddr + 0x54) = 0;\n      iVar6 = FUN_0001e320();\n      if (iVar6 == -1) goto LAB_0001e8e0;\n    }\n    iVar6 = *(int *)(unaff_retaddr + 0x24);\n    if (*(int *)(unaff_retaddr + 100) == 0) {\n      *(int *)(unaff_retaddr + 0x60) = iVar6;\n      iVar4 = 0;\n    }\n    else {\n      iVar4 = *(int *)(unaff_retaddr + 100) + (*(int *)(unaff_retaddr + 0x60) - iVar6);\n    }\n    iVar6 = iVar6 + iVar4;\n    *(undefined1 *)(iVar6 + -1 + *(int *)(unaff_retaddr + 0x1c)) = 0;\n    uVar5 = __vsnprintf_chk(iVar6,*(undefined4 *)(unaff_retaddr + 0x1c),1,0xffffffff,param_3,param_4\n                           );\n    if (uVar5 != 0) {\n      uVar3 = *(uint *)(unaff_retaddr + 0x1c);\n      if ((uVar5 < uVar3) && (*(char *)(iVar6 + -1 + uVar3) == '\0')) {\n        uVar7 = *(int *)(unaff_retaddr + 100) + uVar5;\n        puVar1 = (uint *)(unaff_retaddr + 8);\n        uVar2 = *puVar1;\n        *puVar1 = *puVar1 + uVar5;\n        *(int *)(unaff_retaddr + 0xc) =\n             *(int *)(unaff_retaddr + 0xc) + ((int)uVar5 >> 0x1f) + (uint)CARRY4(uVar2,uVar5);\n        *(uint *)(unaff_retaddr + 100) = uVar7;\n        if (uVar3 <= uVar7) {\n          *(uint *)(unaff_retaddr + 100) = uVar3;\n          iVar6 = FUN_0001e130();\n          if (iVar6 == -1) goto LAB_0001e8e0;\n          memcpy(*(void **)(unaff_retaddr + 0x24),\n                 (void *)(*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24)),\n                 uVar7 - uVar3);\n          *(uint *)(unaff_retaddr + 100) = uVar7 - uVar3;\n          *(undefined4 *)(unaff_retaddr + 0x60) = *(undefined4 *)(unaff_retaddr + 0x24);\n        }\n      }\n      else {\n        uVar5 = 0;\n      }\n    }\n  }" (if "if") (parenthesized_expression "(((unaff_retaddr == 0) || (*(int *)(unaff_retaddr + 0x10) != 0x79b1)) ||\n     (*(int *)(unaff_retaddr + 0x58) != 0))" (( "(") (binary_expression "((unaff_retaddr == 0) || (*(int *)(unaff_retaddr + 0x10) != 0x79b1)) ||\n     (*(int *)(unaff_retaddr + 0x58) != 0)" (parenthesized_expression "((unaff_retaddr == 0) || (*(int *)(unaff_retaddr + 0x10) != 0x79b1))" (( "(") (binary_expression "(unaff_retaddr == 0) || (*(int *)(unaff_retaddr + 0x10) != 0x79b1)" (parenthesized_expression "(unaff_retaddr == 0)" (( "(") (binary_expression "unaff_retaddr == 0" (identifier "unaff_retaddr") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(*(int *)(unaff_retaddr + 0x10) != 0x79b1)" (( "(") (binary_expression "*(int *)(unaff_retaddr + 0x10) != 0x79b1" (pointer_expression "*(int *)(unaff_retaddr + 0x10)" (* "*") (cast_expression "(int *)(unaff_retaddr + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0x10)" (( "(") (binary_expression "unaff_retaddr + 0x10" (identifier "unaff_retaddr") (+ "+") (number_literal "0x10")) () ")")))) (!= "!=") (number_literal "0x79b1")) () ")"))) () ")")) (|| "||") (parenthesized_expression "(*(int *)(unaff_retaddr + 0x58) != 0)" (( "(") (binary_expression "*(int *)(unaff_retaddr + 0x58) != 0" (pointer_expression "*(int *)(unaff_retaddr + 0x58)" (* "*") (cast_expression "(int *)(unaff_retaddr + 0x58)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0x58)" (( "(") (binary_expression "unaff_retaddr + 0x58" (identifier "unaff_retaddr") (+ "+") (number_literal "0x58")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    uVar5 = 0xfffffffe;\n  }" ({ "{") (expression_statement "uVar5 = 0xfffffffe;" (assignment_expression "uVar5 = 0xfffffffe" (identifier "uVar5") (= "=") (number_literal "0xfffffffe")) (; ";")) (} "}")) (else_clause "else {\n    if ((*(int *)(unaff_retaddr + 0x1c) == 0) && (iVar6 = FUN_0001e020(), iVar6 == -1)) {\nLAB_0001e8e0:\n      return *(uint *)(unaff_retaddr + 0x58);\n    }\n    if (*(int *)(unaff_retaddr + 0x54) != 0) {\n      *(undefined4 *)(unaff_retaddr + 0x54) = 0;\n      iVar6 = FUN_0001e320();\n      if (iVar6 == -1) goto LAB_0001e8e0;\n    }\n    iVar6 = *(int *)(unaff_retaddr + 0x24);\n    if (*(int *)(unaff_retaddr + 100) == 0) {\n      *(int *)(unaff_retaddr + 0x60) = iVar6;\n      iVar4 = 0;\n    }\n    else {\n      iVar4 = *(int *)(unaff_retaddr + 100) + (*(int *)(unaff_retaddr + 0x60) - iVar6);\n    }\n    iVar6 = iVar6 + iVar4;\n    *(undefined1 *)(iVar6 + -1 + *(int *)(unaff_retaddr + 0x1c)) = 0;\n    uVar5 = __vsnprintf_chk(iVar6,*(undefined4 *)(unaff_retaddr + 0x1c),1,0xffffffff,param_3,param_4\n                           );\n    if (uVar5 != 0) {\n      uVar3 = *(uint *)(unaff_retaddr + 0x1c);\n      if ((uVar5 < uVar3) && (*(char *)(iVar6 + -1 + uVar3) == '\0')) {\n        uVar7 = *(int *)(unaff_retaddr + 100) + uVar5;\n        puVar1 = (uint *)(unaff_retaddr + 8);\n        uVar2 = *puVar1;\n        *puVar1 = *puVar1 + uVar5;\n        *(int *)(unaff_retaddr + 0xc) =\n             *(int *)(unaff_retaddr + 0xc) + ((int)uVar5 >> 0x1f) + (uint)CARRY4(uVar2,uVar5);\n        *(uint *)(unaff_retaddr + 100) = uVar7;\n        if (uVar3 <= uVar7) {\n          *(uint *)(unaff_retaddr + 100) = uVar3;\n          iVar6 = FUN_0001e130();\n          if (iVar6 == -1) goto LAB_0001e8e0;\n          memcpy(*(void **)(unaff_retaddr + 0x24),\n                 (void *)(*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24)),\n                 uVar7 - uVar3);\n          *(uint *)(unaff_retaddr + 100) = uVar7 - uVar3;\n          *(undefined4 *)(unaff_retaddr + 0x60) = *(undefined4 *)(unaff_retaddr + 0x24);\n        }\n      }\n      else {\n        uVar5 = 0;\n      }\n    }\n  }" (else "else") (compound_statement "{\n    if ((*(int *)(unaff_retaddr + 0x1c) == 0) && (iVar6 = FUN_0001e020(), iVar6 == -1)) {\nLAB_0001e8e0:\n      return *(uint *)(unaff_retaddr + 0x58);\n    }\n    if (*(int *)(unaff_retaddr + 0x54) != 0) {\n      *(undefined4 *)(unaff_retaddr + 0x54) = 0;\n      iVar6 = FUN_0001e320();\n      if (iVar6 == -1) goto LAB_0001e8e0;\n    }\n    iVar6 = *(int *)(unaff_retaddr + 0x24);\n    if (*(int *)(unaff_retaddr + 100) == 0) {\n      *(int *)(unaff_retaddr + 0x60) = iVar6;\n      iVar4 = 0;\n    }\n    else {\n      iVar4 = *(int *)(unaff_retaddr + 100) + (*(int *)(unaff_retaddr + 0x60) - iVar6);\n    }\n    iVar6 = iVar6 + iVar4;\n    *(undefined1 *)(iVar6 + -1 + *(int *)(unaff_retaddr + 0x1c)) = 0;\n    uVar5 = __vsnprintf_chk(iVar6,*(undefined4 *)(unaff_retaddr + 0x1c),1,0xffffffff,param_3,param_4\n                           );\n    if (uVar5 != 0) {\n      uVar3 = *(uint *)(unaff_retaddr + 0x1c);\n      if ((uVar5 < uVar3) && (*(char *)(iVar6 + -1 + uVar3) == '\0')) {\n        uVar7 = *(int *)(unaff_retaddr + 100) + uVar5;\n        puVar1 = (uint *)(unaff_retaddr + 8);\n        uVar2 = *puVar1;\n        *puVar1 = *puVar1 + uVar5;\n        *(int *)(unaff_retaddr + 0xc) =\n             *(int *)(unaff_retaddr + 0xc) + ((int)uVar5 >> 0x1f) + (uint)CARRY4(uVar2,uVar5);\n        *(uint *)(unaff_retaddr + 100) = uVar7;\n        if (uVar3 <= uVar7) {\n          *(uint *)(unaff_retaddr + 100) = uVar3;\n          iVar6 = FUN_0001e130();\n          if (iVar6 == -1) goto LAB_0001e8e0;\n          memcpy(*(void **)(unaff_retaddr + 0x24),\n                 (void *)(*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24)),\n                 uVar7 - uVar3);\n          *(uint *)(unaff_retaddr + 100) = uVar7 - uVar3;\n          *(undefined4 *)(unaff_retaddr + 0x60) = *(undefined4 *)(unaff_retaddr + 0x24);\n        }\n      }\n      else {\n        uVar5 = 0;\n      }\n    }\n  }" ({ "{") (if_statement "if ((*(int *)(unaff_retaddr + 0x1c) == 0) && (iVar6 = FUN_0001e020(), iVar6 == -1)) {\nLAB_0001e8e0:\n      return *(uint *)(unaff_retaddr + 0x58);\n    }" (if "if") (parenthesized_expression "((*(int *)(unaff_retaddr + 0x1c) == 0) && (iVar6 = FUN_0001e020(), iVar6 == -1))" (( "(") (binary_expression "(*(int *)(unaff_retaddr + 0x1c) == 0) && (iVar6 = FUN_0001e020(), iVar6 == -1)" (parenthesized_expression "(*(int *)(unaff_retaddr + 0x1c) == 0)" (( "(") (binary_expression "*(int *)(unaff_retaddr + 0x1c) == 0" (pointer_expression "*(int *)(unaff_retaddr + 0x1c)" (* "*") (cast_expression "(int *)(unaff_retaddr + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0x1c)" (( "(") (binary_expression "unaff_retaddr + 0x1c" (identifier "unaff_retaddr") (+ "+") (number_literal "0x1c")) () ")")))) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar6 = FUN_0001e020(), iVar6 == -1)" (( "(") (comma_expression "iVar6 = FUN_0001e020(), iVar6 == -1" (assignment_expression "iVar6 = FUN_0001e020()" (identifier "iVar6") (= "=") (call_expression "FUN_0001e020()" (identifier "FUN_0001e020") (argument_list "()" (( "(") () ")")))) (, ",") (binary_expression "iVar6 == -1" (identifier "iVar6") (== "==") (number_literal "-1"))) () ")"))) () ")")) (compound_statement "{\nLAB_0001e8e0:\n      return *(uint *)(unaff_retaddr + 0x58);\n    }" ({ "{") (labeled_statement "LAB_0001e8e0:\n      return *(uint *)(unaff_retaddr + 0x58);" (statement_identifier "LAB_0001e8e0") (: ":") (return_statement "return *(uint *)(unaff_retaddr + 0x58);" (return "return") (pointer_expression "*(uint *)(unaff_retaddr + 0x58)" (* "*") (cast_expression "(uint *)(unaff_retaddr + 0x58)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0x58)" (( "(") (binary_expression "unaff_retaddr + 0x58" (identifier "unaff_retaddr") (+ "+") (number_literal "0x58")) () ")")))) (; ";"))) (} "}"))) (if_statement "if (*(int *)(unaff_retaddr + 0x54) != 0) {\n      *(undefined4 *)(unaff_retaddr + 0x54) = 0;\n      iVar6 = FUN_0001e320();\n      if (iVar6 == -1) goto LAB_0001e8e0;\n    }" (if "if") (parenthesized_expression "(*(int *)(unaff_retaddr + 0x54) != 0)" (( "(") (binary_expression "*(int *)(unaff_retaddr + 0x54) != 0" (pointer_expression "*(int *)(unaff_retaddr + 0x54)" (* "*") (cast_expression "(int *)(unaff_retaddr + 0x54)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0x54)" (( "(") (binary_expression "unaff_retaddr + 0x54" (identifier "unaff_retaddr") (+ "+") (number_literal "0x54")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      *(undefined4 *)(unaff_retaddr + 0x54) = 0;\n      iVar6 = FUN_0001e320();\n      if (iVar6 == -1) goto LAB_0001e8e0;\n    }" ({ "{") (expression_statement "*(undefined4 *)(unaff_retaddr + 0x54) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x54) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x54)" (* "*") (cast_expression "(undefined4 *)(unaff_retaddr + 0x54)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0x54)" (( "(") (binary_expression "unaff_retaddr + 0x54" (identifier "unaff_retaddr") (+ "+") (number_literal "0x54")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar6 = FUN_0001e320();" (assignment_expression "iVar6 = FUN_0001e320()" (identifier "iVar6") (= "=") (call_expression "FUN_0001e320()" (identifier "FUN_0001e320") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar6 == -1) goto LAB_0001e8e0;" (if "if") (parenthesized_expression "(iVar6 == -1)" (( "(") (binary_expression "iVar6 == -1" (identifier "iVar6") (== "==") (number_literal "-1")) () ")")) (goto_statement "goto LAB_0001e8e0;" (goto "goto") (statement_identifier "LAB_0001e8e0") (; ";"))) (} "}"))) (expression_statement "iVar6 = *(int *)(unaff_retaddr + 0x24);" (assignment_expression "iVar6 = *(int *)(unaff_retaddr + 0x24)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(unaff_retaddr + 0x24)" (* "*") (cast_expression "(int *)(unaff_retaddr + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0x24)" (( "(") (binary_expression "unaff_retaddr + 0x24" (identifier "unaff_retaddr") (+ "+") (number_literal "0x24")) () ")"))))) (; ";")) (if_statement "if (*(int *)(unaff_retaddr + 100) == 0) {\n      *(int *)(unaff_retaddr + 0x60) = iVar6;\n      iVar4 = 0;\n    }\n    else {\n      iVar4 = *(int *)(unaff_retaddr + 100) + (*(int *)(unaff_retaddr + 0x60) - iVar6);\n    }" (if "if") (parenthesized_expression "(*(int *)(unaff_retaddr + 100) == 0)" (( "(") (binary_expression "*(int *)(unaff_retaddr + 100) == 0" (pointer_expression "*(int *)(unaff_retaddr + 100)" (* "*") (cast_expression "(int *)(unaff_retaddr + 100)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 100)" (( "(") (binary_expression "unaff_retaddr + 100" (identifier "unaff_retaddr") (+ "+") (number_literal "100")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      *(int *)(unaff_retaddr + 0x60) = iVar6;\n      iVar4 = 0;\n    }" ({ "{") (expression_statement "*(int *)(unaff_retaddr + 0x60) = iVar6;" (assignment_expression "*(int *)(unaff_retaddr + 0x60) = iVar6" (pointer_expression "*(int *)(unaff_retaddr + 0x60)" (* "*") (cast_expression "(int *)(unaff_retaddr + 0x60)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0x60)" (( "(") (binary_expression "unaff_retaddr + 0x60" (identifier "unaff_retaddr") (+ "+") (number_literal "0x60")) () ")")))) (= "=") (identifier "iVar6")) (; ";")) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n      iVar4 = *(int *)(unaff_retaddr + 100) + (*(int *)(unaff_retaddr + 0x60) - iVar6);\n    }" (else "else") (compound_statement "{\n      iVar4 = *(int *)(unaff_retaddr + 100) + (*(int *)(unaff_retaddr + 0x60) - iVar6);\n    }" ({ "{") (expression_statement "iVar4 = *(int *)(unaff_retaddr + 100) + (*(int *)(unaff_retaddr + 0x60) - iVar6);" (assignment_expression "iVar4 = *(int *)(unaff_retaddr + 100) + (*(int *)(unaff_retaddr + 0x60) - iVar6)" (identifier "iVar4") (= "=") (binary_expression "*(int *)(unaff_retaddr + 100) + (*(int *)(unaff_retaddr + 0x60) - iVar6)" (pointer_expression "*(int *)(unaff_retaddr + 100)" (* "*") (cast_expression "(int *)(unaff_retaddr + 100)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 100)" (( "(") (binary_expression "unaff_retaddr + 100" (identifier "unaff_retaddr") (+ "+") (number_literal "100")) () ")")))) (+ "+") (parenthesized_expression "(*(int *)(unaff_retaddr + 0x60) - iVar6)" (( "(") (binary_expression "*(int *)(unaff_retaddr + 0x60) - iVar6" (pointer_expression "*(int *)(unaff_retaddr + 0x60)" (* "*") (cast_expression "(int *)(unaff_retaddr + 0x60)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0x60)" (( "(") (binary_expression "unaff_retaddr + 0x60" (identifier "unaff_retaddr") (+ "+") (number_literal "0x60")) () ")")))) (- "-") (identifier "iVar6")) () ")")))) (; ";")) (} "}")))) (expression_statement "iVar6 = iVar6 + iVar4;" (assignment_expression "iVar6 = iVar6 + iVar4" (identifier "iVar6") (= "=") (binary_expression "iVar6 + iVar4" (identifier "iVar6") (+ "+") (identifier "iVar4"))) (; ";")) (expression_statement "*(undefined1 *)(iVar6 + -1 + *(int *)(unaff_retaddr + 0x1c)) = 0;" (assignment_expression "*(undefined1 *)(iVar6 + -1 + *(int *)(unaff_retaddr + 0x1c)) = 0" (pointer_expression "*(undefined1 *)(iVar6 + -1 + *(int *)(unaff_retaddr + 0x1c))" (* "*") (cast_expression "(undefined1 *)(iVar6 + -1 + *(int *)(unaff_retaddr + 0x1c))" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + -1 + *(int *)(unaff_retaddr + 0x1c))" (( "(") (binary_expression "iVar6 + -1 + *(int *)(unaff_retaddr + 0x1c)" (binary_expression "iVar6 + -1" (identifier "iVar6") (+ "+") (number_literal "-1")) (+ "+") (pointer_expression "*(int *)(unaff_retaddr + 0x1c)" (* "*") (cast_expression "(int *)(unaff_retaddr + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0x1c)" (( "(") (binary_expression "unaff_retaddr + 0x1c" (identifier "unaff_retaddr") (+ "+") (number_literal "0x1c")) () ")"))))) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar5 = __vsnprintf_chk(iVar6,*(undefined4 *)(unaff_retaddr + 0x1c),1,0xffffffff,param_3,param_4\n                           );" (assignment_expression "uVar5 = __vsnprintf_chk(iVar6,*(undefined4 *)(unaff_retaddr + 0x1c),1,0xffffffff,param_3,param_4\n                           )" (identifier "uVar5") (= "=") (call_expression "__vsnprintf_chk(iVar6,*(undefined4 *)(unaff_retaddr + 0x1c),1,0xffffffff,param_3,param_4\n                           )" (identifier "__vsnprintf_chk") (argument_list "(iVar6,*(undefined4 *)(unaff_retaddr + 0x1c),1,0xffffffff,param_3,param_4\n                           )" (( "(") (identifier "iVar6") (, ",") (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x1c)" (* "*") (cast_expression "(undefined4 *)(unaff_retaddr + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0x1c)" (( "(") (binary_expression "unaff_retaddr + 0x1c" (identifier "unaff_retaddr") (+ "+") (number_literal "0x1c")) () ")")))) (, ",") (number_literal "1") (, ",") (number_literal "0xffffffff") (, ",") (identifier "param_3") (, ",") (identifier "param_4") () ")")))) (; ";")) (if_statement "if (uVar5 != 0) {\n      uVar3 = *(uint *)(unaff_retaddr + 0x1c);\n      if ((uVar5 < uVar3) && (*(char *)(iVar6 + -1 + uVar3) == '\0')) {\n        uVar7 = *(int *)(unaff_retaddr + 100) + uVar5;\n        puVar1 = (uint *)(unaff_retaddr + 8);\n        uVar2 = *puVar1;\n        *puVar1 = *puVar1 + uVar5;\n        *(int *)(unaff_retaddr + 0xc) =\n             *(int *)(unaff_retaddr + 0xc) + ((int)uVar5 >> 0x1f) + (uint)CARRY4(uVar2,uVar5);\n        *(uint *)(unaff_retaddr + 100) = uVar7;\n        if (uVar3 <= uVar7) {\n          *(uint *)(unaff_retaddr + 100) = uVar3;\n          iVar6 = FUN_0001e130();\n          if (iVar6 == -1) goto LAB_0001e8e0;\n          memcpy(*(void **)(unaff_retaddr + 0x24),\n                 (void *)(*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24)),\n                 uVar7 - uVar3);\n          *(uint *)(unaff_retaddr + 100) = uVar7 - uVar3;\n          *(undefined4 *)(unaff_retaddr + 0x60) = *(undefined4 *)(unaff_retaddr + 0x24);\n        }\n      }\n      else {\n        uVar5 = 0;\n      }\n    }" (if "if") (parenthesized_expression "(uVar5 != 0)" (( "(") (binary_expression "uVar5 != 0" (identifier "uVar5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      uVar3 = *(uint *)(unaff_retaddr + 0x1c);\n      if ((uVar5 < uVar3) && (*(char *)(iVar6 + -1 + uVar3) == '\0')) {\n        uVar7 = *(int *)(unaff_retaddr + 100) + uVar5;\n        puVar1 = (uint *)(unaff_retaddr + 8);\n        uVar2 = *puVar1;\n        *puVar1 = *puVar1 + uVar5;\n        *(int *)(unaff_retaddr + 0xc) =\n             *(int *)(unaff_retaddr + 0xc) + ((int)uVar5 >> 0x1f) + (uint)CARRY4(uVar2,uVar5);\n        *(uint *)(unaff_retaddr + 100) = uVar7;\n        if (uVar3 <= uVar7) {\n          *(uint *)(unaff_retaddr + 100) = uVar3;\n          iVar6 = FUN_0001e130();\n          if (iVar6 == -1) goto LAB_0001e8e0;\n          memcpy(*(void **)(unaff_retaddr + 0x24),\n                 (void *)(*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24)),\n                 uVar7 - uVar3);\n          *(uint *)(unaff_retaddr + 100) = uVar7 - uVar3;\n          *(undefined4 *)(unaff_retaddr + 0x60) = *(undefined4 *)(unaff_retaddr + 0x24);\n        }\n      }\n      else {\n        uVar5 = 0;\n      }\n    }" ({ "{") (expression_statement "uVar3 = *(uint *)(unaff_retaddr + 0x1c);" (assignment_expression "uVar3 = *(uint *)(unaff_retaddr + 0x1c)" (identifier "uVar3") (= "=") (pointer_expression "*(uint *)(unaff_retaddr + 0x1c)" (* "*") (cast_expression "(uint *)(unaff_retaddr + 0x1c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0x1c)" (( "(") (binary_expression "unaff_retaddr + 0x1c" (identifier "unaff_retaddr") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (if_statement "if ((uVar5 < uVar3) && (*(char *)(iVar6 + -1 + uVar3) == '\0')) {\n        uVar7 = *(int *)(unaff_retaddr + 100) + uVar5;\n        puVar1 = (uint *)(unaff_retaddr + 8);\n        uVar2 = *puVar1;\n        *puVar1 = *puVar1 + uVar5;\n        *(int *)(unaff_retaddr + 0xc) =\n             *(int *)(unaff_retaddr + 0xc) + ((int)uVar5 >> 0x1f) + (uint)CARRY4(uVar2,uVar5);\n        *(uint *)(unaff_retaddr + 100) = uVar7;\n        if (uVar3 <= uVar7) {\n          *(uint *)(unaff_retaddr + 100) = uVar3;\n          iVar6 = FUN_0001e130();\n          if (iVar6 == -1) goto LAB_0001e8e0;\n          memcpy(*(void **)(unaff_retaddr + 0x24),\n                 (void *)(*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24)),\n                 uVar7 - uVar3);\n          *(uint *)(unaff_retaddr + 100) = uVar7 - uVar3;\n          *(undefined4 *)(unaff_retaddr + 0x60) = *(undefined4 *)(unaff_retaddr + 0x24);\n        }\n      }\n      else {\n        uVar5 = 0;\n      }" (if "if") (parenthesized_expression "((uVar5 < uVar3) && (*(char *)(iVar6 + -1 + uVar3) == '\0'))" (( "(") (binary_expression "(uVar5 < uVar3) && (*(char *)(iVar6 + -1 + uVar3) == '\0')" (parenthesized_expression "(uVar5 < uVar3)" (( "(") (binary_expression "uVar5 < uVar3" (identifier "uVar5") (< "<") (identifier "uVar3")) () ")")) (&& "&&") (parenthesized_expression "(*(char *)(iVar6 + -1 + uVar3) == '\0')" (( "(") (binary_expression "*(char *)(iVar6 + -1 + uVar3) == '\0'" (pointer_expression "*(char *)(iVar6 + -1 + uVar3)" (* "*") (cast_expression "(char *)(iVar6 + -1 + uVar3)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + -1 + uVar3)" (( "(") (binary_expression "iVar6 + -1 + uVar3" (binary_expression "iVar6 + -1" (identifier "iVar6") (+ "+") (number_literal "-1")) (+ "+") (identifier "uVar3")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n        uVar7 = *(int *)(unaff_retaddr + 100) + uVar5;\n        puVar1 = (uint *)(unaff_retaddr + 8);\n        uVar2 = *puVar1;\n        *puVar1 = *puVar1 + uVar5;\n        *(int *)(unaff_retaddr + 0xc) =\n             *(int *)(unaff_retaddr + 0xc) + ((int)uVar5 >> 0x1f) + (uint)CARRY4(uVar2,uVar5);\n        *(uint *)(unaff_retaddr + 100) = uVar7;\n        if (uVar3 <= uVar7) {\n          *(uint *)(unaff_retaddr + 100) = uVar3;\n          iVar6 = FUN_0001e130();\n          if (iVar6 == -1) goto LAB_0001e8e0;\n          memcpy(*(void **)(unaff_retaddr + 0x24),\n                 (void *)(*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24)),\n                 uVar7 - uVar3);\n          *(uint *)(unaff_retaddr + 100) = uVar7 - uVar3;\n          *(undefined4 *)(unaff_retaddr + 0x60) = *(undefined4 *)(unaff_retaddr + 0x24);\n        }\n      }" ({ "{") (expression_statement "uVar7 = *(int *)(unaff_retaddr + 100) + uVar5;" (assignment_expression "uVar7 = *(int *)(unaff_retaddr + 100) + uVar5" (identifier "uVar7") (= "=") (binary_expression "*(int *)(unaff_retaddr + 100) + uVar5" (pointer_expression "*(int *)(unaff_retaddr + 100)" (* "*") (cast_expression "(int *)(unaff_retaddr + 100)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 100)" (( "(") (binary_expression "unaff_retaddr + 100" (identifier "unaff_retaddr") (+ "+") (number_literal "100")) () ")")))) (+ "+") (identifier "uVar5"))) (; ";")) (expression_statement "puVar1 = (uint *)(unaff_retaddr + 8);" (assignment_expression "puVar1 = (uint *)(unaff_retaddr + 8)" (identifier "puVar1") (= "=") (cast_expression "(uint *)(unaff_retaddr + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 8)" (( "(") (binary_expression "unaff_retaddr + 8" (identifier "unaff_retaddr") (+ "+") (number_literal "8")) () ")")))) (; ";")) (expression_statement "uVar2 = *puVar1;" (assignment_expression "uVar2 = *puVar1" (identifier "uVar2") (= "=") (pointer_expression "*puVar1" (* "*") (identifier "puVar1"))) (; ";")) (expression_statement "*puVar1 = *puVar1 + uVar5;" (assignment_expression "*puVar1 = *puVar1 + uVar5" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (binary_expression "*puVar1 + uVar5" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (+ "+") (identifier "uVar5"))) (; ";")) (expression_statement "*(int *)(unaff_retaddr + 0xc) =\n             *(int *)(unaff_retaddr + 0xc) + ((int)uVar5 >> 0x1f) + (uint)CARRY4(uVar2,uVar5);" (assignment_expression "*(int *)(unaff_retaddr + 0xc) =\n             *(int *)(unaff_retaddr + 0xc) + ((int)uVar5 >> 0x1f) + (uint)CARRY4(uVar2,uVar5)" (pointer_expression "*(int *)(unaff_retaddr + 0xc)" (* "*") (cast_expression "(int *)(unaff_retaddr + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0xc)" (( "(") (binary_expression "unaff_retaddr + 0xc" (identifier "unaff_retaddr") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (binary_expression "*(int *)(unaff_retaddr + 0xc) + ((int)uVar5 >> 0x1f) + (uint)CARRY4(uVar2,uVar5)" (binary_expression "*(int *)(unaff_retaddr + 0xc) + ((int)uVar5 >> 0x1f)" (pointer_expression "*(int *)(unaff_retaddr + 0xc)" (* "*") (cast_expression "(int *)(unaff_retaddr + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0xc)" (( "(") (binary_expression "unaff_retaddr + 0xc" (identifier "unaff_retaddr") (+ "+") (number_literal "0xc")) () ")")))) (+ "+") (parenthesized_expression "((int)uVar5 >> 0x1f)" (( "(") (binary_expression "(int)uVar5 >> 0x1f" (cast_expression "(int)uVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar5")) (>> ">>") (number_literal "0x1f")) () ")"))) (+ "+") (cast_expression "(uint)CARRY4(uVar2,uVar5)" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (call_expression "CARRY4(uVar2,uVar5)" (identifier "CARRY4") (argument_list "(uVar2,uVar5)" (( "(") (identifier "uVar2") (, ",") (identifier "uVar5") () ")")))))) (; ";")) (expression_statement "*(uint *)(unaff_retaddr + 100) = uVar7;" (assignment_expression "*(uint *)(unaff_retaddr + 100) = uVar7" (pointer_expression "*(uint *)(unaff_retaddr + 100)" (* "*") (cast_expression "(uint *)(unaff_retaddr + 100)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 100)" (( "(") (binary_expression "unaff_retaddr + 100" (identifier "unaff_retaddr") (+ "+") (number_literal "100")) () ")")))) (= "=") (identifier "uVar7")) (; ";")) (if_statement "if (uVar3 <= uVar7) {\n          *(uint *)(unaff_retaddr + 100) = uVar3;\n          iVar6 = FUN_0001e130();\n          if (iVar6 == -1) goto LAB_0001e8e0;\n          memcpy(*(void **)(unaff_retaddr + 0x24),\n                 (void *)(*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24)),\n                 uVar7 - uVar3);\n          *(uint *)(unaff_retaddr + 100) = uVar7 - uVar3;\n          *(undefined4 *)(unaff_retaddr + 0x60) = *(undefined4 *)(unaff_retaddr + 0x24);\n        }" (if "if") (parenthesized_expression "(uVar3 <= uVar7)" (( "(") (binary_expression "uVar3 <= uVar7" (identifier "uVar3") (<= "<=") (identifier "uVar7")) () ")")) (compound_statement "{\n          *(uint *)(unaff_retaddr + 100) = uVar3;\n          iVar6 = FUN_0001e130();\n          if (iVar6 == -1) goto LAB_0001e8e0;\n          memcpy(*(void **)(unaff_retaddr + 0x24),\n                 (void *)(*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24)),\n                 uVar7 - uVar3);\n          *(uint *)(unaff_retaddr + 100) = uVar7 - uVar3;\n          *(undefined4 *)(unaff_retaddr + 0x60) = *(undefined4 *)(unaff_retaddr + 0x24);\n        }" ({ "{") (expression_statement "*(uint *)(unaff_retaddr + 100) = uVar3;" (assignment_expression "*(uint *)(unaff_retaddr + 100) = uVar3" (pointer_expression "*(uint *)(unaff_retaddr + 100)" (* "*") (cast_expression "(uint *)(unaff_retaddr + 100)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 100)" (( "(") (binary_expression "unaff_retaddr + 100" (identifier "unaff_retaddr") (+ "+") (number_literal "100")) () ")")))) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "iVar6 = FUN_0001e130();" (assignment_expression "iVar6 = FUN_0001e130()" (identifier "iVar6") (= "=") (call_expression "FUN_0001e130()" (identifier "FUN_0001e130") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar6 == -1) goto LAB_0001e8e0;" (if "if") (parenthesized_expression "(iVar6 == -1)" (( "(") (binary_expression "iVar6 == -1" (identifier "iVar6") (== "==") (number_literal "-1")) () ")")) (goto_statement "goto LAB_0001e8e0;" (goto "goto") (statement_identifier "LAB_0001e8e0") (; ";"))) (expression_statement "memcpy(*(void **)(unaff_retaddr + 0x24),\n                 (void *)(*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24)),\n                 uVar7 - uVar3);" (call_expression "memcpy(*(void **)(unaff_retaddr + 0x24),\n                 (void *)(*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24)),\n                 uVar7 - uVar3)" (identifier "memcpy") (argument_list "(*(void **)(unaff_retaddr + 0x24),\n                 (void *)(*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24)),\n                 uVar7 - uVar3)" (( "(") (pointer_expression "*(void **)(unaff_retaddr + 0x24)" (* "*") (cast_expression "(void **)(unaff_retaddr + 0x24)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(unaff_retaddr + 0x24)" (( "(") (binary_expression "unaff_retaddr + 0x24" (identifier "unaff_retaddr") (+ "+") (number_literal "0x24")) () ")")))) (, ",") (cast_expression "(void *)(*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24))" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24))" (( "(") (binary_expression "*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24)" (pointer_expression "*(int *)(unaff_retaddr + 0x1c)" (* "*") (cast_expression "(int *)(unaff_retaddr + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0x1c)" (( "(") (binary_expression "unaff_retaddr + 0x1c" (identifier "unaff_retaddr") (+ "+") (number_literal "0x1c")) () ")")))) (+ "+") (cast_expression "(int)*(void **)(unaff_retaddr + 0x24)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*(void **)(unaff_retaddr + 0x24)" (* "*") (cast_expression "(void **)(unaff_retaddr + 0x24)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(unaff_retaddr + 0x24)" (( "(") (binary_expression "unaff_retaddr + 0x24" (identifier "unaff_retaddr") (+ "+") (number_literal "0x24")) () ")")))))) () ")"))) (, ",") (binary_expression "uVar7 - uVar3" (identifier "uVar7") (- "-") (identifier "uVar3")) () ")"))) (; ";")) (expression_statement "*(uint *)(unaff_retaddr + 100) = uVar7 - uVar3;" (assignment_expression "*(uint *)(unaff_retaddr + 100) = uVar7 - uVar3" (pointer_expression "*(uint *)(unaff_retaddr + 100)" (* "*") (cast_expression "(uint *)(unaff_retaddr + 100)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 100)" (( "(") (binary_expression "unaff_retaddr + 100" (identifier "unaff_retaddr") (+ "+") (number_literal "100")) () ")")))) (= "=") (binary_expression "uVar7 - uVar3" (identifier "uVar7") (- "-") (identifier "uVar3"))) (; ";")) (expression_statement "*(undefined4 *)(unaff_retaddr + 0x60) = *(undefined4 *)(unaff_retaddr + 0x24);" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x60) = *(undefined4 *)(unaff_retaddr + 0x24)" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x60)" (* "*") (cast_expression "(undefined4 *)(unaff_retaddr + 0x60)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0x60)" (( "(") (binary_expression "unaff_retaddr + 0x60" (identifier "unaff_retaddr") (+ "+") (number_literal "0x60")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x24)" (* "*") (cast_expression "(undefined4 *)(unaff_retaddr + 0x24)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0x24)" (( "(") (binary_expression "unaff_retaddr + 0x24" (identifier "unaff_retaddr") (+ "+") (number_literal "0x24")) () ")"))))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n        uVar5 = 0;\n      }" (else "else") (compound_statement "{\n        uVar5 = 0;\n      }" ({ "{") (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" (identifier "uVar5") (= "=") (number_literal "0")) (; ";")) (} "}")))) (} "}"))) (} "}")))) (return_statement "return uVar5;" (return "return") (identifier "uVar5") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

int function_1(type_1 var_1,char *format,type_2 va)

{
  type_3 *poVar1;
  int *piVar2;
  type_4 *var_8;
  type_3 oVar4;
  type_4 *var_7;
  int var_3;
  type_4 *var_5;
  type_3 in_stack_ffffffd4;
  
  if (((var_1 == (type_1)0x0) || (var_1[1].have != 0x79b1)) || ((int)var_1[5].pos != 0)) {
    var_7 = (type_4 *)0xfffffffe;
  }
  else {
    if ((*(int *)((int)&var_1[1].pos + 4) == 0) && (var_3 = var_2((type_5)var_1), var_3 == -1)) {
LAB_0001e8e0:
      return (int)var_1[5].pos;
    }
    if (var_1[5].next != (type_4 *)0x0) {
      var_1[5].next = (type_4 *)0x0;
      var_3 = var_4((type_5)var_1,in_stack_ffffffd4);
      if (var_3 == -1) goto LAB_0001e8e0;
    }
    var_5 = var_1[2].next;
    if (var_1[6].next == (type_4 *)0x0) {
      var_1[6].have = (type_6)var_5;
      var_7 = (type_4 *)0x0;
    }
    else {
      var_7 = var_1[6].next + (var_1[6].have - (int)var_5);
    }
    var_5 = var_5 + (int)var_7;
    var_5[*(int *)((int)&var_1[1].pos + 4) + -1] = '\0';
    var_7 = (type_4 *)var_6(var_5,*(type_7 *)((int)&var_1[1].pos + 4),1,0xffffffff,
                                      format,va);
    if (var_7 != (type_4 *)0x0) {
      var_8 = *(type_4 **)((int)&var_1[1].pos + 4);
      if ((var_7 < var_8) && ((var_5 + -1)[(int)var_8] == '\0')) {
        var_5 = var_1[6].next + (int)var_7;
        poVar1 = &var_1->pos;
        oVar4 = *poVar1;
        *(type_4 **)poVar1 = var_7 + (int)*poVar1;
        piVar2 = (int *)((int)&var_1->pos + 4);
        *piVar2 = *piVar2 + ((int)var_7 >> 0x1f) + (type_6)var_9((type_6)oVar4,(type_6)var_7);
        var_1[6].next = var_5;
        if (var_8 <= var_5) {
          var_1[6].next = var_8;
          var_3 = var_10((type_5)var_1,0);
          if (var_3 == -1) goto LAB_0001e8e0;
          var_11(var_1[2].next,var_1[2].next + *(int *)((int)&var_1[1].pos + 4),
                 (size_t)(var_5 + -(int)var_8));
          var_1[6].next = var_5 + -(int)var_8;
          var_1[6].have = (type_6)var_1[2].next;
        }
      }
      else {
        var_7 = (type_4 *)0x0;
      }
    }
  }
  return (int)var_7;
}


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

uint __regparm2
MASKED(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)

{
  uint *puVar1;
  uint uVar2;
  uint uVar3;
  int iVar4;
  uint uVar5;
  int iVar6;
  uint uVar7;
  int unaff_retaddr;
  
  entry(param_2,0x1e7b9);
  if (((unaff_retaddr == 0) || (*(int *)(unaff_retaddr + 0x10) != 0x79b1)) ||
     (*(int *)(unaff_retaddr + 0x58) != 0)) {
    uVar5 = 0xfffffffe;
  }
  else {
    if ((*(int *)(unaff_retaddr + 0x1c) == 0) && (iVar6 = FUN_0001e020(), iVar6 == -1)) {
LAB_0001e8e0:
      return *(uint *)(unaff_retaddr + 0x58);
    }
    if (*(int *)(unaff_retaddr + 0x54) != 0) {
      *(undefined4 *)(unaff_retaddr + 0x54) = 0;
      iVar6 = FUN_0001e320();
      if (iVar6 == -1) goto LAB_0001e8e0;
    }
    iVar6 = *(int *)(unaff_retaddr + 0x24);
    if (*(int *)(unaff_retaddr + 100) == 0) {
      *(int *)(unaff_retaddr + 0x60) = iVar6;
      iVar4 = 0;
    }
    else {
      iVar4 = *(int *)(unaff_retaddr + 100) + (*(int *)(unaff_retaddr + 0x60) - iVar6);
    }
    iVar6 = iVar6 + iVar4;
    *(undefined1 *)(iVar6 + -1 + *(int *)(unaff_retaddr + 0x1c)) = 0;
    uVar5 = __vsnprintf_chk(iVar6,*(undefined4 *)(unaff_retaddr + 0x1c),1,0xffffffff,param_3,param_4
                           );
    if (uVar5 != 0) {
      uVar3 = *(uint *)(unaff_retaddr + 0x1c);
      if ((uVar5 < uVar3) && (*(char *)(iVar6 + -1 + uVar3) == '\0')) {
        uVar7 = *(int *)(unaff_retaddr + 100) + uVar5;
        puVar1 = (uint *)(unaff_retaddr + 8);
        uVar2 = *puVar1;
        *puVar1 = *puVar1 + uVar5;
        *(int *)(unaff_retaddr + 0xc) =
             *(int *)(unaff_retaddr + 0xc) + ((int)uVar5 >> 0x1f) + (uint)CARRY4(uVar2,uVar5);
        *(uint *)(unaff_retaddr + 100) = uVar7;
        if (uVar3 <= uVar7) {
          *(uint *)(unaff_retaddr + 100) = uVar3;
          iVar6 = FUN_0001e130();
          if (iVar6 == -1) goto LAB_0001e8e0;
          memcpy(*(void **)(unaff_retaddr + 0x24),
                 (void *)(*(int *)(unaff_retaddr + 0x1c) + (int)*(void **)(unaff_retaddr + 0x24)),
                 uVar7 - uVar3);
          *(uint *)(unaff_retaddr + 100) = uVar7 - uVar3;
          *(undefined4 *)(unaff_retaddr + 0x60) = *(undefined4 *)(unaff_retaddr + 0x24);
        }
      }
      else {
        uVar5 = 0;
      }
    }
  }
  return uVar5;
}

