
void comma(uint col,pentry_state *pest)

{
  hol_entry *phVar1;
  hol_cluster *phVar2;
  char *pcVar3;
  ssize_t sVar4;
  argp_fmtstream_t fs;
  argp_fmtstream *paVar5;
  int iVar6;
  hol_cluster *phVar7;
  
  if (pest->first == 0) {
    paVar5 = pest->stream;
    if ((paVar5->p + 2 <= paVar5->end) || (iVar6 = _argp_fmtstream_ensure(paVar5,2), iVar6 != 0)) {
      pcVar3 = paVar5->p;
      pcVar3[0] = ',';
      pcVar3[1] = ' ';
      paVar5->p = paVar5->p + 2;
    }
    goto LAB_001148c4;
  }
  phVar1 = pest->hhstate->prev_entry;
  phVar2 = pest->entry->cluster;
  if ((((pest->hhstate->sep_groups != 0) && (phVar1 != (hol_entry *)0x0)) &&
      (pest->entry->group != phVar1->group)) &&
     ((paVar5 = pest->stream, paVar5->p < paVar5->end ||
      (iVar6 = _argp_fmtstream_ensure(paVar5,1), iVar6 != 0)))) {
    pcVar3 = paVar5->p;
    paVar5->p = pcVar3 + 1;
    *pcVar3 = '\n';
  }
  if (((phVar2 != (hol_cluster *)0x0) && (pcVar3 = phVar2->header, pcVar3 != (char *)0x0)) &&
     (*pcVar3 != '\0')) {
    if (phVar1 != (hol_entry *)0x0) {
      phVar7 = phVar1->cluster;
      if (phVar7 == phVar2) goto LAB_001148bd;
      if (phVar7 != (hol_cluster *)0x0) {
        do {
          phVar7 = phVar7->parent;
          if (phVar7 == (hol_cluster *)0x0) break;
        } while (phVar2 != phVar7);
        if (phVar2 == phVar7) goto LAB_001148bd;
      }
    }
    sVar4 = pest->stream->wmargin;
    print_header(pcVar3,phVar2->argp,pest);
    fs = pest->stream;
    if (fs->point_offs < (ulong)((long)fs->p - (long)fs->buf)) {
      _argp_fmtstream_update(fs);
    }
    fs->wmargin = (long)(int)sVar4;
  }
LAB_001148bd:
  pest->first = 0;
LAB_001148c4:
  indent_to(pest->stream,col);
  return;
}



void FUN_00114819(undefined4 param_1,long *param_2)

{
  long lVar1;
  undefined8 *puVar2;
  char *pcVar3;
  undefined8 uVar4;
  long lVar5;
  undefined1 *puVar6;
  int iVar7;
  undefined8 *puVar8;
  
  if ((int)param_2[3] == 0) {
    lVar1 = param_2[1];
    if ((*(long *)(lVar1 + 0x38) + 2U <= *(ulong *)(lVar1 + 0x40)) ||
       (iVar7 = FUN_0011747a(lVar1,2), iVar7 != 0)) {
      **(undefined2 **)(lVar1 + 0x38) = 0x202c;
      *(long *)(lVar1 + 0x38) = *(long *)(lVar1 + 0x38) + 2;
    }
    goto LAB_001148c4;
  }
  lVar1 = *(long *)param_2[2];
  puVar2 = *(undefined8 **)(*param_2 + 0x20);
  if (((((int)((long *)param_2[2])[1] != 0) && (lVar1 != 0)) &&
      (*(int *)(*param_2 + 0x18) != *(int *)(lVar1 + 0x18))) &&
     ((lVar5 = param_2[1], *(ulong *)(lVar5 + 0x38) < *(ulong *)(lVar5 + 0x40) ||
      (iVar7 = FUN_0011747a(lVar5,1), iVar7 != 0)))) {
    puVar6 = *(undefined1 **)(lVar5 + 0x38);
    *(undefined1 **)(lVar5 + 0x38) = puVar6 + 1;
    *puVar6 = 10;
  }
  if (((puVar2 != (undefined8 *)0x0) && (pcVar3 = (char *)*puVar2, pcVar3 != (char *)0x0)) &&
     (*pcVar3 != '\0')) {
    if (lVar1 != 0) {
      puVar8 = *(undefined8 **)(lVar1 + 0x20);
      if (puVar8 == puVar2) goto LAB_001148bd;
      if (puVar8 != (undefined8 *)0x0) {
        do {
          puVar8 = (undefined8 *)puVar8[2];
          if (puVar8 == (undefined8 *)0x0) break;
        } while (puVar2 != puVar8);
        if (puVar2 == puVar8) goto LAB_001148bd;
      }
    }
    uVar4 = *(undefined8 *)(param_2[1] + 0x18);
    FUN_001145fd(pcVar3,puVar2[3],param_2);
    lVar1 = param_2[1];
    if (*(ulong *)(lVar1 + 0x20) < (ulong)(*(long *)(lVar1 + 0x38) - *(long *)(lVar1 + 0x30))) {
      FUN_00116f9b(lVar1);
    }
    *(long *)(lVar1 + 0x18) = (long)(int)uVar4;
  }
LAB_001148bd:
  *(undefined4 *)(param_2 + 3) = 0;
LAB_001148c4:
  FUN_00114210(param_2[1],param_1);
  return;
}


PUSH R14
PUSH R13
PUSH R12
PUSH RBP
PUSH RBX
MOV R12D,EDI
MOV RBX,RSI
CMP dword ptr [RSI + 0x18],0x0
JZ 0x0011491b
MOV RAX,qword ptr [RSI + 0x10]
MOV R13,qword ptr [RAX]
MOV RDX,qword ptr [RSI]
MOV RBP,qword ptr [RDX + 0x20]
CMP dword ptr [RAX + 0x8],0x0
JZ 0x00114857
TEST R13,R13
JZ 0x00114857
MOV EAX,dword ptr [R13 + 0x18]
CMP dword ptr [RDX + 0x18],EAX
JNZ 0x001148d9
TEST RBP,RBP
JZ 0x001148bd
MOV RDI,qword ptr [RBP]
TEST RDI,RDI
JZ 0x001148bd
CMP byte ptr [RDI],0x0
JZ 0x001148bd
TEST R13,R13
JZ 0x00114890
MOV RAX,qword ptr [R13 + 0x20]
CMP RAX,RBP
JZ 0x001148bd
TEST RAX,RAX
JZ 0x00114890
MOV RAX,qword ptr [RAX + 0x10]
TEST RAX,RAX
JZ 0x0011488b
CMP RBP,RAX
JNZ 0x0011487d
CMP RBP,RAX
JZ 0x001148bd
MOV RAX,qword ptr [RBX + 0x8]
MOV R13,qword ptr [RAX + 0x18]
MOV RSI,qword ptr [RBP + 0x18]
MOV RDX,RBX
CALL 0x001145fd
MOV RBP,qword ptr [RBX + 0x8]
MOV RAX,qword ptr [RBP + 0x38]
SUB RAX,qword ptr [RBP + 0x30]
CMP RAX,qword ptr [RBP + 0x20]
JA 0x00114911
MOVSXD R13,R13D
MOV qword ptr [RBP + 0x18],R13
MOV dword ptr [RBX + 0x18],0x0
MOV RDI,qword ptr [RBX + 0x8]
MOV ESI,R12D
CALL 0x00114210
POP RBX
POP RBP
POP R12
POP R13
POP R14
RET
MOV R14,qword ptr [RSI + 0x8]
MOV RAX,qword ptr [R14 + 0x40]
CMP qword ptr [R14 + 0x38],RAX
JNC 0x001148fb
MOV RAX,qword ptr [R14 + 0x38]
LEA RDX,[RAX + 0x1]
MOV qword ptr [R14 + 0x38],RDX
MOV byte ptr [RAX],0xa
JMP 0x00114857
MOV ESI,0x1
MOV RDI,R14
CALL 0x0011747a
TEST EAX,EAX
JNZ 0x001148e7
JMP 0x00114857
MOV RDI,RBP
CALL 0x00116f9b
JMP 0x001148b6
MOV RBP,qword ptr [RSI + 0x8]
MOV RAX,qword ptr [RBP + 0x38]
ADD RAX,0x2
CMP qword ptr [RBP + 0x40],RAX
JNC 0x0011493e
MOV ESI,0x2
MOV RDI,RBP
CALL 0x0011747a
TEST EAX,EAX
JZ 0x001148c4
MOV RAX,qword ptr [RBP + 0x38]
MOV word ptr [RAX],0x202c
ADD qword ptr [RBP + 0x38],0x2
JMP 0x001148c4
(translation_unit "void FUN_00114819(undefined4 param_1,long *param_2)\n\n{\n  long lVar1;\n  undefined8 *puVar2;\n  char *pcVar3;\n  undefined8 uVar4;\n  long lVar5;\n  undefined1 *puVar6;\n  int iVar7;\n  undefined8 *puVar8;\n  \n  if ((int)param_2[3] == 0) {\n    lVar1 = param_2[1];\n    if ((*(long *)(lVar1 + 0x38) + 2U <= *(ulong *)(lVar1 + 0x40)) ||\n       (iVar7 = FUN_0011747a(lVar1,2), iVar7 != 0)) {\n      **(undefined2 **)(lVar1 + 0x38) = 0x202c;\n      *(long *)(lVar1 + 0x38) = *(long *)(lVar1 + 0x38) + 2;\n    }\n    goto LAB_001148c4;\n  }\n  lVar1 = *(long *)param_2[2];\n  puVar2 = *(undefined8 **)(*param_2 + 0x20);\n  if (((((int)((long *)param_2[2])[1] != 0) && (lVar1 != 0)) &&\n      (*(int *)(*param_2 + 0x18) != *(int *)(lVar1 + 0x18))) &&\n     ((lVar5 = param_2[1], *(ulong *)(lVar5 + 0x38) < *(ulong *)(lVar5 + 0x40) ||\n      (iVar7 = FUN_0011747a(lVar5,1), iVar7 != 0)))) {\n    puVar6 = *(undefined1 **)(lVar5 + 0x38);\n    *(undefined1 **)(lVar5 + 0x38) = puVar6 + 1;\n    *puVar6 = 10;\n  }\n  if (((puVar2 != (undefined8 *)0x0) && (pcVar3 = (char *)*puVar2, pcVar3 != (char *)0x0)) &&\n     (*pcVar3 != '\0')) {\n    if (lVar1 != 0) {\n      puVar8 = *(undefined8 **)(lVar1 + 0x20);\n      if (puVar8 == puVar2) goto LAB_001148bd;\n      if (puVar8 != (undefined8 *)0x0) {\n        do {\n          puVar8 = (undefined8 *)puVar8[2];\n          if (puVar8 == (undefined8 *)0x0) break;\n        } while (puVar2 != puVar8);\n        if (puVar2 == puVar8) goto LAB_001148bd;\n      }\n    }\n    uVar4 = *(undefined8 *)(param_2[1] + 0x18);\n    FUN_001145fd(pcVar3,puVar2[3],param_2);\n    lVar1 = param_2[1];\n    if (*(ulong *)(lVar1 + 0x20) < (ulong)(*(long *)(lVar1 + 0x38) - *(long *)(lVar1 + 0x30))) {\n      FUN_00116f9b(lVar1);\n    }\n    *(long *)(lVar1 + 0x18) = (long)(int)uVar4;\n  }\nLAB_001148bd:\n  *(undefined4 *)(param_2 + 3) = 0;\nLAB_001148c4:\n  FUN_00114210(param_2[1],param_1);\n  return;\n}\n\n" (function_definition "void FUN_00114819(undefined4 param_1,long *param_2)\n\n{\n  long lVar1;\n  undefined8 *puVar2;\n  char *pcVar3;\n  undefined8 uVar4;\n  long lVar5;\n  undefined1 *puVar6;\n  int iVar7;\n  undefined8 *puVar8;\n  \n  if ((int)param_2[3] == 0) {\n    lVar1 = param_2[1];\n    if ((*(long *)(lVar1 + 0x38) + 2U <= *(ulong *)(lVar1 + 0x40)) ||\n       (iVar7 = FUN_0011747a(lVar1,2), iVar7 != 0)) {\n      **(undefined2 **)(lVar1 + 0x38) = 0x202c;\n      *(long *)(lVar1 + 0x38) = *(long *)(lVar1 + 0x38) + 2;\n    }\n    goto LAB_001148c4;\n  }\n  lVar1 = *(long *)param_2[2];\n  puVar2 = *(undefined8 **)(*param_2 + 0x20);\n  if (((((int)((long *)param_2[2])[1] != 0) && (lVar1 != 0)) &&\n      (*(int *)(*param_2 + 0x18) != *(int *)(lVar1 + 0x18))) &&\n     ((lVar5 = param_2[1], *(ulong *)(lVar5 + 0x38) < *(ulong *)(lVar5 + 0x40) ||\n      (iVar7 = FUN_0011747a(lVar5,1), iVar7 != 0)))) {\n    puVar6 = *(undefined1 **)(lVar5 + 0x38);\n    *(undefined1 **)(lVar5 + 0x38) = puVar6 + 1;\n    *puVar6 = 10;\n  }\n  if (((puVar2 != (undefined8 *)0x0) && (pcVar3 = (char *)*puVar2, pcVar3 != (char *)0x0)) &&\n     (*pcVar3 != '\0')) {\n    if (lVar1 != 0) {\n      puVar8 = *(undefined8 **)(lVar1 + 0x20);\n      if (puVar8 == puVar2) goto LAB_001148bd;\n      if (puVar8 != (undefined8 *)0x0) {\n        do {\n          puVar8 = (undefined8 *)puVar8[2];\n          if (puVar8 == (undefined8 *)0x0) break;\n        } while (puVar2 != puVar8);\n        if (puVar2 == puVar8) goto LAB_001148bd;\n      }\n    }\n    uVar4 = *(undefined8 *)(param_2[1] + 0x18);\n    FUN_001145fd(pcVar3,puVar2[3],param_2);\n    lVar1 = param_2[1];\n    if (*(ulong *)(lVar1 + 0x20) < (ulong)(*(long *)(lVar1 + 0x38) - *(long *)(lVar1 + 0x30))) {\n      FUN_00116f9b(lVar1);\n    }\n    *(long *)(lVar1 + 0x18) = (long)(int)uVar4;\n  }\nLAB_001148bd:\n  *(undefined4 *)(param_2 + 3) = 0;\nLAB_001148c4:\n  FUN_00114210(param_2[1],param_1);\n  return;\n}" primitive_type (function_declarator "FUN_00114819(undefined4 param_1,long *param_2)" identifier (parameter_list "(undefined4 param_1,long *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "long *param_2" (sized_type_specifier "long" long) (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  long lVar1;\n  undefined8 *puVar2;\n  char *pcVar3;\n  undefined8 uVar4;\n  long lVar5;\n  undefined1 *puVar6;\n  int iVar7;\n  undefined8 *puVar8;\n  \n  if ((int)param_2[3] == 0) {\n    lVar1 = param_2[1];\n    if ((*(long *)(lVar1 + 0x38) + 2U <= *(ulong *)(lVar1 + 0x40)) ||\n       (iVar7 = FUN_0011747a(lVar1,2), iVar7 != 0)) {\n      **(undefined2 **)(lVar1 + 0x38) = 0x202c;\n      *(long *)(lVar1 + 0x38) = *(long *)(lVar1 + 0x38) + 2;\n    }\n    goto LAB_001148c4;\n  }\n  lVar1 = *(long *)param_2[2];\n  puVar2 = *(undefined8 **)(*param_2 + 0x20);\n  if (((((int)((long *)param_2[2])[1] != 0) && (lVar1 != 0)) &&\n      (*(int *)(*param_2 + 0x18) != *(int *)(lVar1 + 0x18))) &&\n     ((lVar5 = param_2[1], *(ulong *)(lVar5 + 0x38) < *(ulong *)(lVar5 + 0x40) ||\n      (iVar7 = FUN_0011747a(lVar5,1), iVar7 != 0)))) {\n    puVar6 = *(undefined1 **)(lVar5 + 0x38);\n    *(undefined1 **)(lVar5 + 0x38) = puVar6 + 1;\n    *puVar6 = 10;\n  }\n  if (((puVar2 != (undefined8 *)0x0) && (pcVar3 = (char *)*puVar2, pcVar3 != (char *)0x0)) &&\n     (*pcVar3 != '\0')) {\n    if (lVar1 != 0) {\n      puVar8 = *(undefined8 **)(lVar1 + 0x20);\n      if (puVar8 == puVar2) goto LAB_001148bd;\n      if (puVar8 != (undefined8 *)0x0) {\n        do {\n          puVar8 = (undefined8 *)puVar8[2];\n          if (puVar8 == (undefined8 *)0x0) break;\n        } while (puVar2 != puVar8);\n        if (puVar2 == puVar8) goto LAB_001148bd;\n      }\n    }\n    uVar4 = *(undefined8 *)(param_2[1] + 0x18);\n    FUN_001145fd(pcVar3,puVar2[3],param_2);\n    lVar1 = param_2[1];\n    if (*(ulong *)(lVar1 + 0x20) < (ulong)(*(long *)(lVar1 + 0x38) - *(long *)(lVar1 + 0x30))) {\n      FUN_00116f9b(lVar1);\n    }\n    *(long *)(lVar1 + 0x18) = (long)(int)uVar4;\n  }\nLAB_001148bd:\n  *(undefined4 *)(param_2 + 3) = 0;\nLAB_001148c4:\n  FUN_00114210(param_2[1],param_1);\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "undefined8 uVar4;" type_identifier identifier ;) (declaration "long lVar5;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined1 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined8 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (if_statement "if ((int)param_2[3] == 0) {\n    lVar1 = param_2[1];\n    if ((*(long *)(lVar1 + 0x38) + 2U <= *(ulong *)(lVar1 + 0x40)) ||\n       (iVar7 = FUN_0011747a(lVar1,2), iVar7 != 0)) {\n      **(undefined2 **)(lVar1 + 0x38) = 0x202c;\n      *(long *)(lVar1 + 0x38) = *(long *)(lVar1 + 0x38) + 2;\n    }\n    goto LAB_001148c4;\n  }" if (parenthesized_expression "((int)param_2[3] == 0)" ( (binary_expression "(int)param_2[3] == 0" (cast_expression "(int)param_2[3]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_2[3]" identifier [ number_literal ])) == number_literal) )) (compound_statement "{\n    lVar1 = param_2[1];\n    if ((*(long *)(lVar1 + 0x38) + 2U <= *(ulong *)(lVar1 + 0x40)) ||\n       (iVar7 = FUN_0011747a(lVar1,2), iVar7 != 0)) {\n      **(undefined2 **)(lVar1 + 0x38) = 0x202c;\n      *(long *)(lVar1 + 0x38) = *(long *)(lVar1 + 0x38) + 2;\n    }\n    goto LAB_001148c4;\n  }" { (expression_statement "lVar1 = param_2[1];" (assignment_expression "lVar1 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (if_statement "if ((*(long *)(lVar1 + 0x38) + 2U <= *(ulong *)(lVar1 + 0x40)) ||\n       (iVar7 = FUN_0011747a(lVar1,2), iVar7 != 0)) {\n      **(undefined2 **)(lVar1 + 0x38) = 0x202c;\n      *(long *)(lVar1 + 0x38) = *(long *)(lVar1 + 0x38) + 2;\n    }" if (parenthesized_expression "((*(long *)(lVar1 + 0x38) + 2U <= *(ulong *)(lVar1 + 0x40)) ||\n       (iVar7 = FUN_0011747a(lVar1,2), iVar7 != 0))" ( (binary_expression "(*(long *)(lVar1 + 0x38) + 2U <= *(ulong *)(lVar1 + 0x40)) ||\n       (iVar7 = FUN_0011747a(lVar1,2), iVar7 != 0)" (parenthesized_expression "(*(long *)(lVar1 + 0x38) + 2U <= *(ulong *)(lVar1 + 0x40))" ( (binary_expression "*(long *)(lVar1 + 0x38) + 2U <= *(ulong *)(lVar1 + 0x40)" (binary_expression "*(long *)(lVar1 + 0x38) + 2U" (pointer_expression "*(long *)(lVar1 + 0x38)" * (cast_expression "(long *)(lVar1 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x38)" ( (binary_expression "lVar1 + 0x38" identifier + number_literal) )))) + number_literal) <= (pointer_expression "*(ulong *)(lVar1 + 0x40)" * (cast_expression "(ulong *)(lVar1 + 0x40)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x40)" ( (binary_expression "lVar1 + 0x40" identifier + number_literal) ))))) )) || (parenthesized_expression "(iVar7 = FUN_0011747a(lVar1,2), iVar7 != 0)" ( (comma_expression "iVar7 = FUN_0011747a(lVar1,2), iVar7 != 0" (assignment_expression "iVar7 = FUN_0011747a(lVar1,2)" identifier = (call_expression "FUN_0011747a(lVar1,2)" identifier (argument_list "(lVar1,2)" ( identifier , number_literal )))) , (binary_expression "iVar7 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      **(undefined2 **)(lVar1 + 0x38) = 0x202c;\n      *(long *)(lVar1 + 0x38) = *(long *)(lVar1 + 0x38) + 2;\n    }" { (expression_statement "**(undefined2 **)(lVar1 + 0x38) = 0x202c;" (assignment_expression "**(undefined2 **)(lVar1 + 0x38) = 0x202c" (pointer_expression "**(undefined2 **)(lVar1 + 0x38)" * (pointer_expression "*(undefined2 **)(lVar1 + 0x38)" * (cast_expression "(undefined2 **)(lVar1 + 0x38)" ( (type_descriptor "undefined2 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar1 + 0x38)" ( (binary_expression "lVar1 + 0x38" identifier + number_literal) ))))) = number_literal) ;) (expression_statement "*(long *)(lVar1 + 0x38) = *(long *)(lVar1 + 0x38) + 2;" (assignment_expression "*(long *)(lVar1 + 0x38) = *(long *)(lVar1 + 0x38) + 2" (pointer_expression "*(long *)(lVar1 + 0x38)" * (cast_expression "(long *)(lVar1 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x38)" ( (binary_expression "lVar1 + 0x38" identifier + number_literal) )))) = (binary_expression "*(long *)(lVar1 + 0x38) + 2" (pointer_expression "*(long *)(lVar1 + 0x38)" * (cast_expression "(long *)(lVar1 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x38)" ( (binary_expression "lVar1 + 0x38" identifier + number_literal) )))) + number_literal)) ;) })) (goto_statement "goto LAB_001148c4;" goto statement_identifier ;) })) (expression_statement "lVar1 = *(long *)param_2[2];" (assignment_expression "lVar1 = *(long *)param_2[2]" identifier = (pointer_expression "*(long *)param_2[2]" * (cast_expression "(long *)param_2[2]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[2]" identifier [ number_literal ])))) ;) (expression_statement "puVar2 = *(undefined8 **)(*param_2 + 0x20);" (assignment_expression "puVar2 = *(undefined8 **)(*param_2 + 0x20)" identifier = (pointer_expression "*(undefined8 **)(*param_2 + 0x20)" * (cast_expression "(undefined8 **)(*param_2 + 0x20)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x20)" ( (binary_expression "*param_2 + 0x20" (pointer_expression "*param_2" * identifier) + number_literal) ))))) ;) (if_statement "if (((((int)((long *)param_2[2])[1] != 0) && (lVar1 != 0)) &&\n      (*(int *)(*param_2 + 0x18) != *(int *)(lVar1 + 0x18))) &&\n     ((lVar5 = param_2[1], *(ulong *)(lVar5 + 0x38) < *(ulong *)(lVar5 + 0x40) ||\n      (iVar7 = FUN_0011747a(lVar5,1), iVar7 != 0)))) {\n    puVar6 = *(undefined1 **)(lVar5 + 0x38);\n    *(undefined1 **)(lVar5 + 0x38) = puVar6 + 1;\n    *puVar6 = 10;\n  }" if (parenthesized_expression "(((((int)((long *)param_2[2])[1] != 0) && (lVar1 != 0)) &&\n      (*(int *)(*param_2 + 0x18) != *(int *)(lVar1 + 0x18))) &&\n     ((lVar5 = param_2[1], *(ulong *)(lVar5 + 0x38) < *(ulong *)(lVar5 + 0x40) ||\n      (iVar7 = FUN_0011747a(lVar5,1), iVar7 != 0))))" ( (binary_expression "((((int)((long *)param_2[2])[1] != 0) && (lVar1 != 0)) &&\n      (*(int *)(*param_2 + 0x18) != *(int *)(lVar1 + 0x18))) &&\n     ((lVar5 = param_2[1], *(ulong *)(lVar5 + 0x38) < *(ulong *)(lVar5 + 0x40) ||\n      (iVar7 = FUN_0011747a(lVar5,1), iVar7 != 0)))" (parenthesized_expression "((((int)((long *)param_2[2])[1] != 0) && (lVar1 != 0)) &&\n      (*(int *)(*param_2 + 0x18) != *(int *)(lVar1 + 0x18)))" ( (binary_expression "(((int)((long *)param_2[2])[1] != 0) && (lVar1 != 0)) &&\n      (*(int *)(*param_2 + 0x18) != *(int *)(lVar1 + 0x18))" (parenthesized_expression "(((int)((long *)param_2[2])[1] != 0) && (lVar1 != 0))" ( (binary_expression "((int)((long *)param_2[2])[1] != 0) && (lVar1 != 0)" (parenthesized_expression "((int)((long *)param_2[2])[1] != 0)" ( (binary_expression "(int)((long *)param_2[2])[1] != 0" (cast_expression "(int)((long *)param_2[2])[1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "((long *)param_2[2])[1]" (parenthesized_expression "((long *)param_2[2])" ( (cast_expression "(long *)param_2[2]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[2]" identifier [ number_literal ])) )) [ number_literal ])) != number_literal) )) && (parenthesized_expression "(lVar1 != 0)" ( (binary_expression "lVar1 != 0" identifier != number_literal) ))) )) && (parenthesized_expression "(*(int *)(*param_2 + 0x18) != *(int *)(lVar1 + 0x18))" ( (binary_expression "*(int *)(*param_2 + 0x18) != *(int *)(lVar1 + 0x18)" (pointer_expression "*(int *)(*param_2 + 0x18)" * (cast_expression "(int *)(*param_2 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_2 + 0x18)" ( (binary_expression "*param_2 + 0x18" (pointer_expression "*param_2" * identifier) + number_literal) )))) != (pointer_expression "*(int *)(lVar1 + 0x18)" * (cast_expression "(int *)(lVar1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x18)" ( (binary_expression "lVar1 + 0x18" identifier + number_literal) ))))) ))) )) && (parenthesized_expression "((lVar5 = param_2[1], *(ulong *)(lVar5 + 0x38) < *(ulong *)(lVar5 + 0x40) ||\n      (iVar7 = FUN_0011747a(lVar5,1), iVar7 != 0)))" ( (parenthesized_expression "(lVar5 = param_2[1], *(ulong *)(lVar5 + 0x38) < *(ulong *)(lVar5 + 0x40) ||\n      (iVar7 = FUN_0011747a(lVar5,1), iVar7 != 0))" ( (comma_expression "lVar5 = param_2[1], *(ulong *)(lVar5 + 0x38) < *(ulong *)(lVar5 + 0x40) ||\n      (iVar7 = FUN_0011747a(lVar5,1), iVar7 != 0)" (assignment_expression "lVar5 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) , (binary_expression "*(ulong *)(lVar5 + 0x38) < *(ulong *)(lVar5 + 0x40) ||\n      (iVar7 = FUN_0011747a(lVar5,1), iVar7 != 0)" (binary_expression "*(ulong *)(lVar5 + 0x38) < *(ulong *)(lVar5 + 0x40)" (pointer_expression "*(ulong *)(lVar5 + 0x38)" * (cast_expression "(ulong *)(lVar5 + 0x38)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0x38)" ( (binary_expression "lVar5 + 0x38" identifier + number_literal) )))) < (pointer_expression "*(ulong *)(lVar5 + 0x40)" * (cast_expression "(ulong *)(lVar5 + 0x40)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0x40)" ( (binary_expression "lVar5 + 0x40" identifier + number_literal) ))))) || (parenthesized_expression "(iVar7 = FUN_0011747a(lVar5,1), iVar7 != 0)" ( (comma_expression "iVar7 = FUN_0011747a(lVar5,1), iVar7 != 0" (assignment_expression "iVar7 = FUN_0011747a(lVar5,1)" identifier = (call_expression "FUN_0011747a(lVar5,1)" identifier (argument_list "(lVar5,1)" ( identifier , number_literal )))) , (binary_expression "iVar7 != 0" identifier != number_literal)) )))) )) ))) )) (compound_statement "{\n    puVar6 = *(undefined1 **)(lVar5 + 0x38);\n    *(undefined1 **)(lVar5 + 0x38) = puVar6 + 1;\n    *puVar6 = 10;\n  }" { (expression_statement "puVar6 = *(undefined1 **)(lVar5 + 0x38);" (assignment_expression "puVar6 = *(undefined1 **)(lVar5 + 0x38)" identifier = (pointer_expression "*(undefined1 **)(lVar5 + 0x38)" * (cast_expression "(undefined1 **)(lVar5 + 0x38)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar5 + 0x38)" ( (binary_expression "lVar5 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "*(undefined1 **)(lVar5 + 0x38) = puVar6 + 1;" (assignment_expression "*(undefined1 **)(lVar5 + 0x38) = puVar6 + 1" (pointer_expression "*(undefined1 **)(lVar5 + 0x38)" * (cast_expression "(undefined1 **)(lVar5 + 0x38)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar5 + 0x38)" ( (binary_expression "lVar5 + 0x38" identifier + number_literal) )))) = (binary_expression "puVar6 + 1" identifier + number_literal)) ;) (expression_statement "*puVar6 = 10;" (assignment_expression "*puVar6 = 10" (pointer_expression "*puVar6" * identifier) = number_literal) ;) })) (if_statement "if (((puVar2 != (undefined8 *)0x0) && (pcVar3 = (char *)*puVar2, pcVar3 != (char *)0x0)) &&\n     (*pcVar3 != '\0')) {\n    if (lVar1 != 0) {\n      puVar8 = *(undefined8 **)(lVar1 + 0x20);\n      if (puVar8 == puVar2) goto LAB_001148bd;\n      if (puVar8 != (undefined8 *)0x0) {\n        do {\n          puVar8 = (undefined8 *)puVar8[2];\n          if (puVar8 == (undefined8 *)0x0) break;\n        } while (puVar2 != puVar8);\n        if (puVar2 == puVar8) goto LAB_001148bd;\n      }\n    }\n    uVar4 = *(undefined8 *)(param_2[1] + 0x18);\n    FUN_001145fd(pcVar3,puVar2[3],param_2);\n    lVar1 = param_2[1];\n    if (*(ulong *)(lVar1 + 0x20) < (ulong)(*(long *)(lVar1 + 0x38) - *(long *)(lVar1 + 0x30))) {\n      FUN_00116f9b(lVar1);\n    }\n    *(long *)(lVar1 + 0x18) = (long)(int)uVar4;\n  }" if (parenthesized_expression "(((puVar2 != (undefined8 *)0x0) && (pcVar3 = (char *)*puVar2, pcVar3 != (char *)0x0)) &&\n     (*pcVar3 != '\0'))" ( (binary_expression "((puVar2 != (undefined8 *)0x0) && (pcVar3 = (char *)*puVar2, pcVar3 != (char *)0x0)) &&\n     (*pcVar3 != '\0')" (parenthesized_expression "((puVar2 != (undefined8 *)0x0) && (pcVar3 = (char *)*puVar2, pcVar3 != (char *)0x0))" ( (binary_expression "(puVar2 != (undefined8 *)0x0) && (pcVar3 = (char *)*puVar2, pcVar3 != (char *)0x0)" (parenthesized_expression "(puVar2 != (undefined8 *)0x0)" ( (binary_expression "puVar2 != (undefined8 *)0x0" identifier != (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(pcVar3 = (char *)*puVar2, pcVar3 != (char *)0x0)" ( (comma_expression "pcVar3 = (char *)*puVar2, pcVar3 != (char *)0x0" (assignment_expression "pcVar3 = (char *)*puVar2" identifier = (cast_expression "(char *)*puVar2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier))) , (binary_expression "pcVar3 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) && (parenthesized_expression "(*pcVar3 != '\0')" ( (binary_expression "*pcVar3 != '\0'" (pointer_expression "*pcVar3" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    if (lVar1 != 0) {\n      puVar8 = *(undefined8 **)(lVar1 + 0x20);\n      if (puVar8 == puVar2) goto LAB_001148bd;\n      if (puVar8 != (undefined8 *)0x0) {\n        do {\n          puVar8 = (undefined8 *)puVar8[2];\n          if (puVar8 == (undefined8 *)0x0) break;\n        } while (puVar2 != puVar8);\n        if (puVar2 == puVar8) goto LAB_001148bd;\n      }\n    }\n    uVar4 = *(undefined8 *)(param_2[1] + 0x18);\n    FUN_001145fd(pcVar3,puVar2[3],param_2);\n    lVar1 = param_2[1];\n    if (*(ulong *)(lVar1 + 0x20) < (ulong)(*(long *)(lVar1 + 0x38) - *(long *)(lVar1 + 0x30))) {\n      FUN_00116f9b(lVar1);\n    }\n    *(long *)(lVar1 + 0x18) = (long)(int)uVar4;\n  }" { (if_statement "if (lVar1 != 0) {\n      puVar8 = *(undefined8 **)(lVar1 + 0x20);\n      if (puVar8 == puVar2) goto LAB_001148bd;\n      if (puVar8 != (undefined8 *)0x0) {\n        do {\n          puVar8 = (undefined8 *)puVar8[2];\n          if (puVar8 == (undefined8 *)0x0) break;\n        } while (puVar2 != puVar8);\n        if (puVar2 == puVar8) goto LAB_001148bd;\n      }\n    }" if (parenthesized_expression "(lVar1 != 0)" ( (binary_expression "lVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      puVar8 = *(undefined8 **)(lVar1 + 0x20);\n      if (puVar8 == puVar2) goto LAB_001148bd;\n      if (puVar8 != (undefined8 *)0x0) {\n        do {\n          puVar8 = (undefined8 *)puVar8[2];\n          if (puVar8 == (undefined8 *)0x0) break;\n        } while (puVar2 != puVar8);\n        if (puVar2 == puVar8) goto LAB_001148bd;\n      }\n    }" { (expression_statement "puVar8 = *(undefined8 **)(lVar1 + 0x20);" (assignment_expression "puVar8 = *(undefined8 **)(lVar1 + 0x20)" identifier = (pointer_expression "*(undefined8 **)(lVar1 + 0x20)" * (cast_expression "(undefined8 **)(lVar1 + 0x20)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar1 + 0x20)" ( (binary_expression "lVar1 + 0x20" identifier + number_literal) ))))) ;) (if_statement "if (puVar8 == puVar2) goto LAB_001148bd;" if (parenthesized_expression "(puVar8 == puVar2)" ( (binary_expression "puVar8 == puVar2" identifier == identifier) )) (goto_statement "goto LAB_001148bd;" goto statement_identifier ;)) (if_statement "if (puVar8 != (undefined8 *)0x0) {\n        do {\n          puVar8 = (undefined8 *)puVar8[2];\n          if (puVar8 == (undefined8 *)0x0) break;\n        } while (puVar2 != puVar8);\n        if (puVar2 == puVar8) goto LAB_001148bd;\n      }" if (parenthesized_expression "(puVar8 != (undefined8 *)0x0)" ( (binary_expression "puVar8 != (undefined8 *)0x0" identifier != (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        do {\n          puVar8 = (undefined8 *)puVar8[2];\n          if (puVar8 == (undefined8 *)0x0) break;\n        } while (puVar2 != puVar8);\n        if (puVar2 == puVar8) goto LAB_001148bd;\n      }" { (do_statement "do {\n          puVar8 = (undefined8 *)puVar8[2];\n          if (puVar8 == (undefined8 *)0x0) break;\n        } while (puVar2 != puVar8);" do (compound_statement "{\n          puVar8 = (undefined8 *)puVar8[2];\n          if (puVar8 == (undefined8 *)0x0) break;\n        }" { (expression_statement "puVar8 = (undefined8 *)puVar8[2];" (assignment_expression "puVar8 = (undefined8 *)puVar8[2]" identifier = (cast_expression "(undefined8 *)puVar8[2]" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar8[2]" identifier [ number_literal ]))) ;) (if_statement "if (puVar8 == (undefined8 *)0x0) break;" if (parenthesized_expression "(puVar8 == (undefined8 *)0x0)" ( (binary_expression "puVar8 == (undefined8 *)0x0" identifier == (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) }) while (parenthesized_expression "(puVar2 != puVar8)" ( (binary_expression "puVar2 != puVar8" identifier != identifier) )) ;) (if_statement "if (puVar2 == puVar8) goto LAB_001148bd;" if (parenthesized_expression "(puVar2 == puVar8)" ( (binary_expression "puVar2 == puVar8" identifier == identifier) )) (goto_statement "goto LAB_001148bd;" goto statement_identifier ;)) })) })) (expression_statement "uVar4 = *(undefined8 *)(param_2[1] + 0x18);" (assignment_expression "uVar4 = *(undefined8 *)(param_2[1] + 0x18)" identifier = (pointer_expression "*(undefined8 *)(param_2[1] + 0x18)" * (cast_expression "(undefined8 *)(param_2[1] + 0x18)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2[1] + 0x18)" ( (binary_expression "param_2[1] + 0x18" (subscript_expression "param_2[1]" identifier [ number_literal ]) + number_literal) ))))) ;) (expression_statement "FUN_001145fd(pcVar3,puVar2[3],param_2);" (call_expression "FUN_001145fd(pcVar3,puVar2[3],param_2)" identifier (argument_list "(pcVar3,puVar2[3],param_2)" ( identifier , (subscript_expression "puVar2[3]" identifier [ number_literal ]) , identifier ))) ;) (expression_statement "lVar1 = param_2[1];" (assignment_expression "lVar1 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (if_statement "if (*(ulong *)(lVar1 + 0x20) < (ulong)(*(long *)(lVar1 + 0x38) - *(long *)(lVar1 + 0x30))) {\n      FUN_00116f9b(lVar1);\n    }" if (parenthesized_expression "(*(ulong *)(lVar1 + 0x20) < (ulong)(*(long *)(lVar1 + 0x38) - *(long *)(lVar1 + 0x30)))" ( (binary_expression "*(ulong *)(lVar1 + 0x20) < (ulong)(*(long *)(lVar1 + 0x38) - *(long *)(lVar1 + 0x30))" (pointer_expression "*(ulong *)(lVar1 + 0x20)" * (cast_expression "(ulong *)(lVar1 + 0x20)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x20)" ( (binary_expression "lVar1 + 0x20" identifier + number_literal) )))) < (call_expression "(ulong)(*(long *)(lVar1 + 0x38) - *(long *)(lVar1 + 0x30))" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(*(long *)(lVar1 + 0x38) - *(long *)(lVar1 + 0x30))" ( (binary_expression "*(long *)(lVar1 + 0x38) - *(long *)(lVar1 + 0x30)" (pointer_expression "*(long *)(lVar1 + 0x38)" * (cast_expression "(long *)(lVar1 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x38)" ( (binary_expression "lVar1 + 0x38" identifier + number_literal) )))) - (pointer_expression "*(long *)(lVar1 + 0x30)" * (cast_expression "(long *)(lVar1 + 0x30)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x30)" ( (binary_expression "lVar1 + 0x30" identifier + number_literal) ))))) )))) )) (compound_statement "{\n      FUN_00116f9b(lVar1);\n    }" { (expression_statement "FUN_00116f9b(lVar1);" (call_expression "FUN_00116f9b(lVar1)" identifier (argument_list "(lVar1)" ( identifier ))) ;) })) (expression_statement "*(long *)(lVar1 + 0x18) = (long)(int)uVar4;" (assignment_expression "*(long *)(lVar1 + 0x18) = (long)(int)uVar4" (pointer_expression "*(long *)(lVar1 + 0x18)" * (cast_expression "(long *)(lVar1 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x18)" ( (binary_expression "lVar1 + 0x18" identifier + number_literal) )))) = (cast_expression "(long)(int)uVar4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (cast_expression "(int)uVar4" ( (type_descriptor "int" primitive_type) ) identifier))) ;) })) (labeled_statement "LAB_001148bd:\n  *(undefined4 *)(param_2 + 3) = 0;" statement_identifier : (expression_statement "*(undefined4 *)(param_2 + 3) = 0;" (assignment_expression "*(undefined4 *)(param_2 + 3) = 0" (pointer_expression "*(undefined4 *)(param_2 + 3)" * (cast_expression "(undefined4 *)(param_2 + 3)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 3)" ( (binary_expression "param_2 + 3" identifier + number_literal) )))) = number_literal) ;)) (labeled_statement "LAB_001148c4:\n  FUN_00114210(param_2[1],param_1);" statement_identifier : (expression_statement "FUN_00114210(param_2[1],param_1);" (call_expression "FUN_00114210(param_2[1],param_1)" identifier (argument_list "(param_2[1],param_1)" ( (subscript_expression "param_2[1]" identifier [ number_literal ]) , identifier ))) ;)) (return_statement "return;" return ;) })))
(translation_unit "void comma(uint col,pentry_state *pest)\n\n{\n  hol_entry *phVar1;\n  hol_cluster *phVar2;\n  char *pcVar3;\n  ssize_t sVar4;\n  argp_fmtstream_t fs;\n  argp_fmtstream *paVar5;\n  int iVar6;\n  hol_cluster *phVar7;\n  \n  if (pest->first == 0) {\n    paVar5 = pest->stream;\n    if ((paVar5->p + 2 <= paVar5->end) || (iVar6 = _argp_fmtstream_ensure(paVar5,2), iVar6 != 0)) {\n      pcVar3 = paVar5->p;\n      pcVar3[0] = ',';\n      pcVar3[1] = ' ';\n      paVar5->p = paVar5->p + 2;\n    }\n    goto LAB_001148c4;\n  }\n  phVar1 = pest->hhstate->prev_entry;\n  phVar2 = pest->entry->cluster;\n  if ((((pest->hhstate->sep_groups != 0) && (phVar1 != (hol_entry *)0x0)) &&\n      (pest->entry->group != phVar1->group)) &&\n     ((paVar5 = pest->stream, paVar5->p < paVar5->end ||\n      (iVar6 = _argp_fmtstream_ensure(paVar5,1), iVar6 != 0)))) {\n    pcVar3 = paVar5->p;\n    paVar5->p = pcVar3 + 1;\n    *pcVar3 = '\n';\n  }\n  if (((phVar2 != (hol_cluster *)0x0) && (pcVar3 = phVar2->header, pcVar3 != (char *)0x0)) &&\n     (*pcVar3 != '\0')) {\n    if (phVar1 != (hol_entry *)0x0) {\n      phVar7 = phVar1->cluster;\n      if (phVar7 == phVar2) goto LAB_001148bd;\n      if (phVar7 != (hol_cluster *)0x0) {\n        do {\n          phVar7 = phVar7->parent;\n          if (phVar7 == (hol_cluster *)0x0) break;\n        } while (phVar2 != phVar7);\n        if (phVar2 == phVar7) goto LAB_001148bd;\n      }\n    }\n    sVar4 = pest->stream->wmargin;\n    print_header(pcVar3,phVar2->argp,pest);\n    fs = pest->stream;\n    if (fs->point_offs < (ulong)((long)fs->p - (long)fs->buf)) {\n      _argp_fmtstream_update(fs);\n    }\n    fs->wmargin = (long)(int)sVar4;\n  }\nLAB_001148bd:\n  pest->first = 0;\nLAB_001148c4:\n  indent_to(pest->stream,col);\n  return;\n}\n\n" (function_definition "void comma(uint col,pentry_state *pest)\n\n{\n  hol_entry *phVar1;\n  hol_cluster *phVar2;\n  char *pcVar3;\n  ssize_t sVar4;\n  argp_fmtstream_t fs;\n  argp_fmtstream *paVar5;\n  int iVar6;\n  hol_cluster *phVar7;\n  \n  if (pest->first == 0) {\n    paVar5 = pest->stream;\n    if ((paVar5->p + 2 <= paVar5->end) || (iVar6 = _argp_fmtstream_ensure(paVar5,2), iVar6 != 0)) {\n      pcVar3 = paVar5->p;\n      pcVar3[0] = ',';\n      pcVar3[1] = ' ';\n      paVar5->p = paVar5->p + 2;\n    }\n    goto LAB_001148c4;\n  }\n  phVar1 = pest->hhstate->prev_entry;\n  phVar2 = pest->entry->cluster;\n  if ((((pest->hhstate->sep_groups != 0) && (phVar1 != (hol_entry *)0x0)) &&\n      (pest->entry->group != phVar1->group)) &&\n     ((paVar5 = pest->stream, paVar5->p < paVar5->end ||\n      (iVar6 = _argp_fmtstream_ensure(paVar5,1), iVar6 != 0)))) {\n    pcVar3 = paVar5->p;\n    paVar5->p = pcVar3 + 1;\n    *pcVar3 = '\n';\n  }\n  if (((phVar2 != (hol_cluster *)0x0) && (pcVar3 = phVar2->header, pcVar3 != (char *)0x0)) &&\n     (*pcVar3 != '\0')) {\n    if (phVar1 != (hol_entry *)0x0) {\n      phVar7 = phVar1->cluster;\n      if (phVar7 == phVar2) goto LAB_001148bd;\n      if (phVar7 != (hol_cluster *)0x0) {\n        do {\n          phVar7 = phVar7->parent;\n          if (phVar7 == (hol_cluster *)0x0) break;\n        } while (phVar2 != phVar7);\n        if (phVar2 == phVar7) goto LAB_001148bd;\n      }\n    }\n    sVar4 = pest->stream->wmargin;\n    print_header(pcVar3,phVar2->argp,pest);\n    fs = pest->stream;\n    if (fs->point_offs < (ulong)((long)fs->p - (long)fs->buf)) {\n      _argp_fmtstream_update(fs);\n    }\n    fs->wmargin = (long)(int)sVar4;\n  }\nLAB_001148bd:\n  pest->first = 0;\nLAB_001148c4:\n  indent_to(pest->stream,col);\n  return;\n}" primitive_type (function_declarator "comma(uint col,pentry_state *pest)" identifier (parameter_list "(uint col,pentry_state *pest)" ( (parameter_declaration "uint col" type_identifier identifier) , (parameter_declaration "pentry_state *pest" type_identifier (pointer_declarator "*pest" * identifier)) ))) (compound_statement "{\n  hol_entry *phVar1;\n  hol_cluster *phVar2;\n  char *pcVar3;\n  ssize_t sVar4;\n  argp_fmtstream_t fs;\n  argp_fmtstream *paVar5;\n  int iVar6;\n  hol_cluster *phVar7;\n  \n  if (pest->first == 0) {\n    paVar5 = pest->stream;\n    if ((paVar5->p + 2 <= paVar5->end) || (iVar6 = _argp_fmtstream_ensure(paVar5,2), iVar6 != 0)) {\n      pcVar3 = paVar5->p;\n      pcVar3[0] = ',';\n      pcVar3[1] = ' ';\n      paVar5->p = paVar5->p + 2;\n    }\n    goto LAB_001148c4;\n  }\n  phVar1 = pest->hhstate->prev_entry;\n  phVar2 = pest->entry->cluster;\n  if ((((pest->hhstate->sep_groups != 0) && (phVar1 != (hol_entry *)0x0)) &&\n      (pest->entry->group != phVar1->group)) &&\n     ((paVar5 = pest->stream, paVar5->p < paVar5->end ||\n      (iVar6 = _argp_fmtstream_ensure(paVar5,1), iVar6 != 0)))) {\n    pcVar3 = paVar5->p;\n    paVar5->p = pcVar3 + 1;\n    *pcVar3 = '\n';\n  }\n  if (((phVar2 != (hol_cluster *)0x0) && (pcVar3 = phVar2->header, pcVar3 != (char *)0x0)) &&\n     (*pcVar3 != '\0')) {\n    if (phVar1 != (hol_entry *)0x0) {\n      phVar7 = phVar1->cluster;\n      if (phVar7 == phVar2) goto LAB_001148bd;\n      if (phVar7 != (hol_cluster *)0x0) {\n        do {\n          phVar7 = phVar7->parent;\n          if (phVar7 == (hol_cluster *)0x0) break;\n        } while (phVar2 != phVar7);\n        if (phVar2 == phVar7) goto LAB_001148bd;\n      }\n    }\n    sVar4 = pest->stream->wmargin;\n    print_header(pcVar3,phVar2->argp,pest);\n    fs = pest->stream;\n    if (fs->point_offs < (ulong)((long)fs->p - (long)fs->buf)) {\n      _argp_fmtstream_update(fs);\n    }\n    fs->wmargin = (long)(int)sVar4;\n  }\nLAB_001148bd:\n  pest->first = 0;\nLAB_001148c4:\n  indent_to(pest->stream,col);\n  return;\n}" { (declaration "hol_entry *phVar1;" type_identifier (pointer_declarator "*phVar1" * identifier) ;) (declaration "hol_cluster *phVar2;" type_identifier (pointer_declarator "*phVar2" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "ssize_t sVar4;" primitive_type identifier ;) (declaration "argp_fmtstream_t fs;" type_identifier identifier ;) (declaration "argp_fmtstream *paVar5;" type_identifier (pointer_declarator "*paVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "hol_cluster *phVar7;" type_identifier (pointer_declarator "*phVar7" * identifier) ;) (if_statement "if (pest->first == 0) {\n    paVar5 = pest->stream;\n    if ((paVar5->p + 2 <= paVar5->end) || (iVar6 = _argp_fmtstream_ensure(paVar5,2), iVar6 != 0)) {\n      pcVar3 = paVar5->p;\n      pcVar3[0] = ',';\n      pcVar3[1] = ' ';\n      paVar5->p = paVar5->p + 2;\n    }\n    goto LAB_001148c4;\n  }" if (parenthesized_expression "(pest->first == 0)" ( (binary_expression "pest->first == 0" (field_expression "pest->first" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n    paVar5 = pest->stream;\n    if ((paVar5->p + 2 <= paVar5->end) || (iVar6 = _argp_fmtstream_ensure(paVar5,2), iVar6 != 0)) {\n      pcVar3 = paVar5->p;\n      pcVar3[0] = ',';\n      pcVar3[1] = ' ';\n      paVar5->p = paVar5->p + 2;\n    }\n    goto LAB_001148c4;\n  }" { (expression_statement "paVar5 = pest->stream;" (assignment_expression "paVar5 = pest->stream" identifier = (field_expression "pest->stream" identifier -> field_identifier)) ;) (if_statement "if ((paVar5->p + 2 <= paVar5->end) || (iVar6 = _argp_fmtstream_ensure(paVar5,2), iVar6 != 0)) {\n      pcVar3 = paVar5->p;\n      pcVar3[0] = ',';\n      pcVar3[1] = ' ';\n      paVar5->p = paVar5->p + 2;\n    }" if (parenthesized_expression "((paVar5->p + 2 <= paVar5->end) || (iVar6 = _argp_fmtstream_ensure(paVar5,2), iVar6 != 0))" ( (binary_expression "(paVar5->p + 2 <= paVar5->end) || (iVar6 = _argp_fmtstream_ensure(paVar5,2), iVar6 != 0)" (parenthesized_expression "(paVar5->p + 2 <= paVar5->end)" ( (binary_expression "paVar5->p + 2 <= paVar5->end" (binary_expression "paVar5->p + 2" (field_expression "paVar5->p" identifier -> field_identifier) + number_literal) <= (field_expression "paVar5->end" identifier -> field_identifier)) )) || (parenthesized_expression "(iVar6 = _argp_fmtstream_ensure(paVar5,2), iVar6 != 0)" ( (comma_expression "iVar6 = _argp_fmtstream_ensure(paVar5,2), iVar6 != 0" (assignment_expression "iVar6 = _argp_fmtstream_ensure(paVar5,2)" identifier = (call_expression "_argp_fmtstream_ensure(paVar5,2)" identifier (argument_list "(paVar5,2)" ( identifier , number_literal )))) , (binary_expression "iVar6 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      pcVar3 = paVar5->p;\n      pcVar3[0] = ',';\n      pcVar3[1] = ' ';\n      paVar5->p = paVar5->p + 2;\n    }" { (expression_statement "pcVar3 = paVar5->p;" (assignment_expression "pcVar3 = paVar5->p" identifier = (field_expression "paVar5->p" identifier -> field_identifier)) ;) (expression_statement "pcVar3[0] = ',';" (assignment_expression "pcVar3[0] = ','" (subscript_expression "pcVar3[0]" identifier [ number_literal ]) = (char_literal "','" ' character ')) ;) (expression_statement "pcVar3[1] = ' ';" (assignment_expression "pcVar3[1] = ' '" (subscript_expression "pcVar3[1]" identifier [ number_literal ]) = (char_literal "' '" ' character ')) ;) (expression_statement "paVar5->p = paVar5->p + 2;" (assignment_expression "paVar5->p = paVar5->p + 2" (field_expression "paVar5->p" identifier -> field_identifier) = (binary_expression "paVar5->p + 2" (field_expression "paVar5->p" identifier -> field_identifier) + number_literal)) ;) })) (goto_statement "goto LAB_001148c4;" goto statement_identifier ;) })) (expression_statement "phVar1 = pest->hhstate->prev_entry;" (assignment_expression "phVar1 = pest->hhstate->prev_entry" identifier = (field_expression "pest->hhstate->prev_entry" (field_expression "pest->hhstate" identifier -> field_identifier) -> field_identifier)) ;) (expression_statement "phVar2 = pest->entry->cluster;" (assignment_expression "phVar2 = pest->entry->cluster" identifier = (field_expression "pest->entry->cluster" (field_expression "pest->entry" identifier -> field_identifier) -> field_identifier)) ;) (if_statement "if ((((pest->hhstate->sep_groups != 0) && (phVar1 != (hol_entry *)0x0)) &&\n      (pest->entry->group != phVar1->group)) &&\n     ((paVar5 = pest->stream, paVar5->p < paVar5->end ||\n      (iVar6 = _argp_fmtstream_ensure(paVar5,1), iVar6 != 0)))) {\n    pcVar3 = paVar5->p;\n    paVar5->p = pcVar3 + 1;\n    *pcVar3 = '\n';\n  }" if (parenthesized_expression "((((pest->hhstate->sep_groups != 0) && (phVar1 != (hol_entry *)0x0)) &&\n      (pest->entry->group != phVar1->group)) &&\n     ((paVar5 = pest->stream, paVar5->p < paVar5->end ||\n      (iVar6 = _argp_fmtstream_ensure(paVar5,1), iVar6 != 0))))" ( (binary_expression "(((pest->hhstate->sep_groups != 0) && (phVar1 != (hol_entry *)0x0)) &&\n      (pest->entry->group != phVar1->group)) &&\n     ((paVar5 = pest->stream, paVar5->p < paVar5->end ||\n      (iVar6 = _argp_fmtstream_ensure(paVar5,1), iVar6 != 0)))" (parenthesized_expression "(((pest->hhstate->sep_groups != 0) && (phVar1 != (hol_entry *)0x0)) &&\n      (pest->entry->group != phVar1->group))" ( (binary_expression "((pest->hhstate->sep_groups != 0) && (phVar1 != (hol_entry *)0x0)) &&\n      (pest->entry->group != phVar1->group)" (parenthesized_expression "((pest->hhstate->sep_groups != 0) && (phVar1 != (hol_entry *)0x0))" ( (binary_expression "(pest->hhstate->sep_groups != 0) && (phVar1 != (hol_entry *)0x0)" (parenthesized_expression "(pest->hhstate->sep_groups != 0)" ( (binary_expression "pest->hhstate->sep_groups != 0" (field_expression "pest->hhstate->sep_groups" (field_expression "pest->hhstate" identifier -> field_identifier) -> field_identifier) != number_literal) )) && (parenthesized_expression "(phVar1 != (hol_entry *)0x0)" ( (binary_expression "phVar1 != (hol_entry *)0x0" identifier != (cast_expression "(hol_entry *)0x0" ( (type_descriptor "hol_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) && (parenthesized_expression "(pest->entry->group != phVar1->group)" ( (binary_expression "pest->entry->group != phVar1->group" (field_expression "pest->entry->group" (field_expression "pest->entry" identifier -> field_identifier) -> field_identifier) != (field_expression "phVar1->group" identifier -> field_identifier)) ))) )) && (parenthesized_expression "((paVar5 = pest->stream, paVar5->p < paVar5->end ||\n      (iVar6 = _argp_fmtstream_ensure(paVar5,1), iVar6 != 0)))" ( (parenthesized_expression "(paVar5 = pest->stream, paVar5->p < paVar5->end ||\n      (iVar6 = _argp_fmtstream_ensure(paVar5,1), iVar6 != 0))" ( (comma_expression "paVar5 = pest->stream, paVar5->p < paVar5->end ||\n      (iVar6 = _argp_fmtstream_ensure(paVar5,1), iVar6 != 0)" (assignment_expression "paVar5 = pest->stream" identifier = (field_expression "pest->stream" identifier -> field_identifier)) , (binary_expression "paVar5->p < paVar5->end ||\n      (iVar6 = _argp_fmtstream_ensure(paVar5,1), iVar6 != 0)" (binary_expression "paVar5->p < paVar5->end" (field_expression "paVar5->p" identifier -> field_identifier) < (field_expression "paVar5->end" identifier -> field_identifier)) || (parenthesized_expression "(iVar6 = _argp_fmtstream_ensure(paVar5,1), iVar6 != 0)" ( (comma_expression "iVar6 = _argp_fmtstream_ensure(paVar5,1), iVar6 != 0" (assignment_expression "iVar6 = _argp_fmtstream_ensure(paVar5,1)" identifier = (call_expression "_argp_fmtstream_ensure(paVar5,1)" identifier (argument_list "(paVar5,1)" ( identifier , number_literal )))) , (binary_expression "iVar6 != 0" identifier != number_literal)) )))) )) ))) )) (compound_statement "{\n    pcVar3 = paVar5->p;\n    paVar5->p = pcVar3 + 1;\n    *pcVar3 = '\n';\n  }" { (expression_statement "pcVar3 = paVar5->p;" (assignment_expression "pcVar3 = paVar5->p" identifier = (field_expression "paVar5->p" identifier -> field_identifier)) ;) (expression_statement "paVar5->p = pcVar3 + 1;" (assignment_expression "paVar5->p = pcVar3 + 1" (field_expression "paVar5->p" identifier -> field_identifier) = (binary_expression "pcVar3 + 1" identifier + number_literal)) ;) (expression_statement "*pcVar3 = '\n';" (assignment_expression "*pcVar3 = '\n'" (pointer_expression "*pcVar3" * identifier) = (char_literal "'\n'" ' escape_sequence ')) ;) })) (if_statement "if (((phVar2 != (hol_cluster *)0x0) && (pcVar3 = phVar2->header, pcVar3 != (char *)0x0)) &&\n     (*pcVar3 != '\0')) {\n    if (phVar1 != (hol_entry *)0x0) {\n      phVar7 = phVar1->cluster;\n      if (phVar7 == phVar2) goto LAB_001148bd;\n      if (phVar7 != (hol_cluster *)0x0) {\n        do {\n          phVar7 = phVar7->parent;\n          if (phVar7 == (hol_cluster *)0x0) break;\n        } while (phVar2 != phVar7);\n        if (phVar2 == phVar7) goto LAB_001148bd;\n      }\n    }\n    sVar4 = pest->stream->wmargin;\n    print_header(pcVar3,phVar2->argp,pest);\n    fs = pest->stream;\n    if (fs->point_offs < (ulong)((long)fs->p - (long)fs->buf)) {\n      _argp_fmtstream_update(fs);\n    }\n    fs->wmargin = (long)(int)sVar4;\n  }" if (parenthesized_expression "(((phVar2 != (hol_cluster *)0x0) && (pcVar3 = phVar2->header, pcVar3 != (char *)0x0)) &&\n     (*pcVar3 != '\0'))" ( (binary_expression "((phVar2 != (hol_cluster *)0x0) && (pcVar3 = phVar2->header, pcVar3 != (char *)0x0)) &&\n     (*pcVar3 != '\0')" (parenthesized_expression "((phVar2 != (hol_cluster *)0x0) && (pcVar3 = phVar2->header, pcVar3 != (char *)0x0))" ( (binary_expression "(phVar2 != (hol_cluster *)0x0) && (pcVar3 = phVar2->header, pcVar3 != (char *)0x0)" (parenthesized_expression "(phVar2 != (hol_cluster *)0x0)" ( (binary_expression "phVar2 != (hol_cluster *)0x0" identifier != (cast_expression "(hol_cluster *)0x0" ( (type_descriptor "hol_cluster *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(pcVar3 = phVar2->header, pcVar3 != (char *)0x0)" ( (comma_expression "pcVar3 = phVar2->header, pcVar3 != (char *)0x0" (assignment_expression "pcVar3 = phVar2->header" identifier = (field_expression "phVar2->header" identifier -> field_identifier)) , (binary_expression "pcVar3 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) && (parenthesized_expression "(*pcVar3 != '\0')" ( (binary_expression "*pcVar3 != '\0'" (pointer_expression "*pcVar3" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    if (phVar1 != (hol_entry *)0x0) {\n      phVar7 = phVar1->cluster;\n      if (phVar7 == phVar2) goto LAB_001148bd;\n      if (phVar7 != (hol_cluster *)0x0) {\n        do {\n          phVar7 = phVar7->parent;\n          if (phVar7 == (hol_cluster *)0x0) break;\n        } while (phVar2 != phVar7);\n        if (phVar2 == phVar7) goto LAB_001148bd;\n      }\n    }\n    sVar4 = pest->stream->wmargin;\n    print_header(pcVar3,phVar2->argp,pest);\n    fs = pest->stream;\n    if (fs->point_offs < (ulong)((long)fs->p - (long)fs->buf)) {\n      _argp_fmtstream_update(fs);\n    }\n    fs->wmargin = (long)(int)sVar4;\n  }" { (if_statement "if (phVar1 != (hol_entry *)0x0) {\n      phVar7 = phVar1->cluster;\n      if (phVar7 == phVar2) goto LAB_001148bd;\n      if (phVar7 != (hol_cluster *)0x0) {\n        do {\n          phVar7 = phVar7->parent;\n          if (phVar7 == (hol_cluster *)0x0) break;\n        } while (phVar2 != phVar7);\n        if (phVar2 == phVar7) goto LAB_001148bd;\n      }\n    }" if (parenthesized_expression "(phVar1 != (hol_entry *)0x0)" ( (binary_expression "phVar1 != (hol_entry *)0x0" identifier != (cast_expression "(hol_entry *)0x0" ( (type_descriptor "hol_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      phVar7 = phVar1->cluster;\n      if (phVar7 == phVar2) goto LAB_001148bd;\n      if (phVar7 != (hol_cluster *)0x0) {\n        do {\n          phVar7 = phVar7->parent;\n          if (phVar7 == (hol_cluster *)0x0) break;\n        } while (phVar2 != phVar7);\n        if (phVar2 == phVar7) goto LAB_001148bd;\n      }\n    }" { (expression_statement "phVar7 = phVar1->cluster;" (assignment_expression "phVar7 = phVar1->cluster" identifier = (field_expression "phVar1->cluster" identifier -> field_identifier)) ;) (if_statement "if (phVar7 == phVar2) goto LAB_001148bd;" if (parenthesized_expression "(phVar7 == phVar2)" ( (binary_expression "phVar7 == phVar2" identifier == identifier) )) (goto_statement "goto LAB_001148bd;" goto statement_identifier ;)) (if_statement "if (phVar7 != (hol_cluster *)0x0) {\n        do {\n          phVar7 = phVar7->parent;\n          if (phVar7 == (hol_cluster *)0x0) break;\n        } while (phVar2 != phVar7);\n        if (phVar2 == phVar7) goto LAB_001148bd;\n      }" if (parenthesized_expression "(phVar7 != (hol_cluster *)0x0)" ( (binary_expression "phVar7 != (hol_cluster *)0x0" identifier != (cast_expression "(hol_cluster *)0x0" ( (type_descriptor "hol_cluster *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        do {\n          phVar7 = phVar7->parent;\n          if (phVar7 == (hol_cluster *)0x0) break;\n        } while (phVar2 != phVar7);\n        if (phVar2 == phVar7) goto LAB_001148bd;\n      }" { (do_statement "do {\n          phVar7 = phVar7->parent;\n          if (phVar7 == (hol_cluster *)0x0) break;\n        } while (phVar2 != phVar7);" do (compound_statement "{\n          phVar7 = phVar7->parent;\n          if (phVar7 == (hol_cluster *)0x0) break;\n        }" { (expression_statement "phVar7 = phVar7->parent;" (assignment_expression "phVar7 = phVar7->parent" identifier = (field_expression "phVar7->parent" identifier -> field_identifier)) ;) (if_statement "if (phVar7 == (hol_cluster *)0x0) break;" if (parenthesized_expression "(phVar7 == (hol_cluster *)0x0)" ( (binary_expression "phVar7 == (hol_cluster *)0x0" identifier == (cast_expression "(hol_cluster *)0x0" ( (type_descriptor "hol_cluster *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) }) while (parenthesized_expression "(phVar2 != phVar7)" ( (binary_expression "phVar2 != phVar7" identifier != identifier) )) ;) (if_statement "if (phVar2 == phVar7) goto LAB_001148bd;" if (parenthesized_expression "(phVar2 == phVar7)" ( (binary_expression "phVar2 == phVar7" identifier == identifier) )) (goto_statement "goto LAB_001148bd;" goto statement_identifier ;)) })) })) (expression_statement "sVar4 = pest->stream->wmargin;" (assignment_expression "sVar4 = pest->stream->wmargin" identifier = (field_expression "pest->stream->wmargin" (field_expression "pest->stream" identifier -> field_identifier) -> field_identifier)) ;) (expression_statement "print_header(pcVar3,phVar2->argp,pest);" (call_expression "print_header(pcVar3,phVar2->argp,pest)" identifier (argument_list "(pcVar3,phVar2->argp,pest)" ( identifier , (field_expression "phVar2->argp" identifier -> field_identifier) , identifier ))) ;) (expression_statement "fs = pest->stream;" (assignment_expression "fs = pest->stream" identifier = (field_expression "pest->stream" identifier -> field_identifier)) ;) (if_statement "if (fs->point_offs < (ulong)((long)fs->p - (long)fs->buf)) {\n      _argp_fmtstream_update(fs);\n    }" if (parenthesized_expression "(fs->point_offs < (ulong)((long)fs->p - (long)fs->buf))" ( (binary_expression "fs->point_offs < (ulong)((long)fs->p - (long)fs->buf)" (field_expression "fs->point_offs" identifier -> field_identifier) < (call_expression "(ulong)((long)fs->p - (long)fs->buf)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "((long)fs->p - (long)fs->buf)" ( (binary_expression "(long)fs->p - (long)fs->buf" (cast_expression "(long)fs->p" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "fs->p" identifier -> field_identifier)) - (cast_expression "(long)fs->buf" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "fs->buf" identifier -> field_identifier))) )))) )) (compound_statement "{\n      _argp_fmtstream_update(fs);\n    }" { (expression_statement "_argp_fmtstream_update(fs);" (call_expression "_argp_fmtstream_update(fs)" identifier (argument_list "(fs)" ( identifier ))) ;) })) (expression_statement "fs->wmargin = (long)(int)sVar4;" (assignment_expression "fs->wmargin = (long)(int)sVar4" (field_expression "fs->wmargin" identifier -> field_identifier) = (cast_expression "(long)(int)sVar4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (cast_expression "(int)sVar4" ( (type_descriptor "int" primitive_type) ) identifier))) ;) })) (labeled_statement "LAB_001148bd:\n  pest->first = 0;" statement_identifier : (expression_statement "pest->first = 0;" (assignment_expression "pest->first = 0" (field_expression "pest->first" identifier -> field_identifier) = number_literal) ;)) (labeled_statement "LAB_001148c4:\n  indent_to(pest->stream,col);" statement_identifier : (expression_statement "indent_to(pest->stream,col);" (call_expression "indent_to(pest->stream,col)" identifier (argument_list "(pest->stream,col)" ( (field_expression "pest->stream" identifier -> field_identifier) , identifier ))) ;)) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00114819(undefined4 param_1,long *param_2)\n\n{\n  long lVar1;\n  undefined8 *puVar2;\n  char *pcVar3;\n  undefined8 uVar4;\n  long lVar5;\n  undefined1 *puVar6;\n  int iVar7;\n  undefined8 *puVar8;\n  \n  if ((int)param_2[3] == 0) {\n    lVar1 = param_2[1];\n    if ((*(long *)(lVar1 + 0x38) + 2U <= *(ulong *)(lVar1 + 0x40)) ||\n       (iVar7 = FUN_0011747a(lVar1,2), iVar7 != 0)) {\n      **(undefined2 **)(lVar1 + 0x38) = 0x202c;\n      *(long *)(lVar1 + 0x38) = *(long *)(lVar1 + 0x38) + 2;\n    }\n    goto LAB_001148c4;\n  }\n  lVar1 = *(long *)param_2[2];\n  puVar2 = *(undefined8 **)(*param_2 + 0x20);\n  if (((((int)((long *)param_2[2])[1] != 0) && (lVar1 != 0)) &&\n      (*(int *)(*param_2 + 0x18) != *(int *)(lVar1 + 0x18))) &&\n     ((lVar5 = param_2[1], *(ulong *)(lVar5 + 0x38) < *(ulong *)(lVar5 + 0x40) ||\n      (iVar7 = FUN_0011747a(lVar5,1), iVar7 != 0)))) {\n    puVar6 = *(undefined1 **)(lVar5 + 0x38);\n    *(undefined1 **)(lVar5 + 0x38) = puVar6 + 1;\n    *puVar6 = 10;\n  }\n  if (((puVar2 != (undefined8 *)0x0) && (pcVar3 = (char *)*puVar2, pcVar3 != (char *)0x0)) &&\n     (*pcVar3 != '\0')) {\n    if (lVar1 != 0) {\n      puVar8 = *(undefined8 **)(lVar1 + 0x20);\n      if (puVar8 == puVar2) goto LAB_001148bd;\n      if (puVar8 != (undefined8 *)0x0) {\n        do {\n          puVar8 = (undefined8 *)puVar8[2];\n          if (puVar8 == (undefined8 *)0x0) break;\n        } while (puVar2 != puVar8);\n        if (puVar2 == puVar8) goto LAB_001148bd;\n      }\n    }\n    uVar4 = *(undefined8 *)(param_2[1] + 0x18);\n    FUN_001145fd(pcVar3,puVar2[3],param_2);\n    lVar1 = param_2[1];\n    if (*(ulong *)(lVar1 + 0x20) < (ulong)(*(long *)(lVar1 + 0x38) - *(long *)(lVar1 + 0x30))) {\n      FUN_00116f9b(lVar1);\n    }\n    *(long *)(lVar1 + 0x18) = (long)(int)uVar4;\n  }\nLAB_001148bd:\n  *(undefined4 *)(param_2 + 3) = 0;\nLAB_001148c4:\n  FUN_00114210(param_2[1],param_1);\n  return;\n}\n\n" (function_definition "void FUN_00114819(undefined4 param_1,long *param_2)\n\n{\n  long lVar1;\n  undefined8 *puVar2;\n  char *pcVar3;\n  undefined8 uVar4;\n  long lVar5;\n  undefined1 *puVar6;\n  int iVar7;\n  undefined8 *puVar8;\n  \n  if ((int)param_2[3] == 0) {\n    lVar1 = param_2[1];\n    if ((*(long *)(lVar1 + 0x38) + 2U <= *(ulong *)(lVar1 + 0x40)) ||\n       (iVar7 = FUN_0011747a(lVar1,2), iVar7 != 0)) {\n      **(undefined2 **)(lVar1 + 0x38) = 0x202c;\n      *(long *)(lVar1 + 0x38) = *(long *)(lVar1 + 0x38) + 2;\n    }\n    goto LAB_001148c4;\n  }\n  lVar1 = *(long *)param_2[2];\n  puVar2 = *(undefined8 **)(*param_2 + 0x20);\n  if (((((int)((long *)param_2[2])[1] != 0) && (lVar1 != 0)) &&\n      (*(int *)(*param_2 + 0x18) != *(int *)(lVar1 + 0x18))) &&\n     ((lVar5 = param_2[1], *(ulong *)(lVar5 + 0x38) < *(ulong *)(lVar5 + 0x40) ||\n      (iVar7 = FUN_0011747a(lVar5,1), iVar7 != 0)))) {\n    puVar6 = *(undefined1 **)(lVar5 + 0x38);\n    *(undefined1 **)(lVar5 + 0x38) = puVar6 + 1;\n    *puVar6 = 10;\n  }\n  if (((puVar2 != (undefined8 *)0x0) && (pcVar3 = (char *)*puVar2, pcVar3 != (char *)0x0)) &&\n     (*pcVar3 != '\0')) {\n    if (lVar1 != 0) {\n      puVar8 = *(undefined8 **)(lVar1 + 0x20);\n      if (puVar8 == puVar2) goto LAB_001148bd;\n      if (puVar8 != (undefined8 *)0x0) {\n        do {\n          puVar8 = (undefined8 *)puVar8[2];\n          if (puVar8 == (undefined8 *)0x0) break;\n        } while (puVar2 != puVar8);\n        if (puVar2 == puVar8) goto LAB_001148bd;\n      }\n    }\n    uVar4 = *(undefined8 *)(param_2[1] + 0x18);\n    FUN_001145fd(pcVar3,puVar2[3],param_2);\n    lVar1 = param_2[1];\n    if (*(ulong *)(lVar1 + 0x20) < (ulong)(*(long *)(lVar1 + 0x38) - *(long *)(lVar1 + 0x30))) {\n      FUN_00116f9b(lVar1);\n    }\n    *(long *)(lVar1 + 0x18) = (long)(int)uVar4;\n  }\nLAB_001148bd:\n  *(undefined4 *)(param_2 + 3) = 0;\nLAB_001148c4:\n  FUN_00114210(param_2[1],param_1);\n  return;\n}" primitive_type (function_declarator "FUN_00114819(undefined4 param_1,long *param_2)" identifier (parameter_list "(undefined4 param_1,long *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "long *param_2" (sized_type_specifier "long" long) (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  long lVar1;\n  undefined8 *puVar2;\n  char *pcVar3;\n  undefined8 uVar4;\n  long lVar5;\n  undefined1 *puVar6;\n  int iVar7;\n  undefined8 *puVar8;\n  \n  if ((int)param_2[3] == 0) {\n    lVar1 = param_2[1];\n    if ((*(long *)(lVar1 + 0x38) + 2U <= *(ulong *)(lVar1 + 0x40)) ||\n       (iVar7 = FUN_0011747a(lVar1,2), iVar7 != 0)) {\n      **(undefined2 **)(lVar1 + 0x38) = 0x202c;\n      *(long *)(lVar1 + 0x38) = *(long *)(lVar1 + 0x38) + 2;\n    }\n    goto LAB_001148c4;\n  }\n  lVar1 = *(long *)param_2[2];\n  puVar2 = *(undefined8 **)(*param_2 + 0x20);\n  if (((((int)((long *)param_2[2])[1] != 0) && (lVar1 != 0)) &&\n      (*(int *)(*param_2 + 0x18) != *(int *)(lVar1 + 0x18))) &&\n     ((lVar5 = param_2[1], *(ulong *)(lVar5 + 0x38) < *(ulong *)(lVar5 + 0x40) ||\n      (iVar7 = FUN_0011747a(lVar5,1), iVar7 != 0)))) {\n    puVar6 = *(undefined1 **)(lVar5 + 0x38);\n    *(undefined1 **)(lVar5 + 0x38) = puVar6 + 1;\n    *puVar6 = 10;\n  }\n  if (((puVar2 != (undefined8 *)0x0) && (pcVar3 = (char *)*puVar2, pcVar3 != (char *)0x0)) &&\n     (*pcVar3 != '\0')) {\n    if (lVar1 != 0) {\n      puVar8 = *(undefined8 **)(lVar1 + 0x20);\n      if (puVar8 == puVar2) goto LAB_001148bd;\n      if (puVar8 != (undefined8 *)0x0) {\n        do {\n          puVar8 = (undefined8 *)puVar8[2];\n          if (puVar8 == (undefined8 *)0x0) break;\n        } while (puVar2 != puVar8);\n        if (puVar2 == puVar8) goto LAB_001148bd;\n      }\n    }\n    uVar4 = *(undefined8 *)(param_2[1] + 0x18);\n    FUN_001145fd(pcVar3,puVar2[3],param_2);\n    lVar1 = param_2[1];\n    if (*(ulong *)(lVar1 + 0x20) < (ulong)(*(long *)(lVar1 + 0x38) - *(long *)(lVar1 + 0x30))) {\n      FUN_00116f9b(lVar1);\n    }\n    *(long *)(lVar1 + 0x18) = (long)(int)uVar4;\n  }\nLAB_001148bd:\n  *(undefined4 *)(param_2 + 3) = 0;\nLAB_001148c4:\n  FUN_00114210(param_2[1],param_1);\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "undefined8 uVar4;" type_identifier identifier ;) (declaration "long lVar5;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined1 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined8 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (if_statement "if ((int)param_2[3] == 0) {\n    lVar1 = param_2[1];\n    if ((*(long *)(lVar1 + 0x38) + 2U <= *(ulong *)(lVar1 + 0x40)) ||\n       (iVar7 = FUN_0011747a(lVar1,2), iVar7 != 0)) {\n      **(undefined2 **)(lVar1 + 0x38) = 0x202c;\n      *(long *)(lVar1 + 0x38) = *(long *)(lVar1 + 0x38) + 2;\n    }\n    goto LAB_001148c4;\n  }" if (parenthesized_expression "((int)param_2[3] == 0)" ( (binary_expression "(int)param_2[3] == 0" (cast_expression "(int)param_2[3]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_2[3]" identifier [ number_literal ])) == number_literal) )) (compound_statement "{\n    lVar1 = param_2[1];\n    if ((*(long *)(lVar1 + 0x38) + 2U <= *(ulong *)(lVar1 + 0x40)) ||\n       (iVar7 = FUN_0011747a(lVar1,2), iVar7 != 0)) {\n      **(undefined2 **)(lVar1 + 0x38) = 0x202c;\n      *(long *)(lVar1 + 0x38) = *(long *)(lVar1 + 0x38) + 2;\n    }\n    goto LAB_001148c4;\n  }" { (expression_statement "lVar1 = param_2[1];" (assignment_expression "lVar1 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (if_statement "if ((*(long *)(lVar1 + 0x38) + 2U <= *(ulong *)(lVar1 + 0x40)) ||\n       (iVar7 = FUN_0011747a(lVar1,2), iVar7 != 0)) {\n      **(undefined2 **)(lVar1 + 0x38) = 0x202c;\n      *(long *)(lVar1 + 0x38) = *(long *)(lVar1 + 0x38) + 2;\n    }" if (parenthesized_expression "((*(long *)(lVar1 + 0x38) + 2U <= *(ulong *)(lVar1 + 0x40)) ||\n       (iVar7 = FUN_0011747a(lVar1,2), iVar7 != 0))" ( (binary_expression "(*(long *)(lVar1 + 0x38) + 2U <= *(ulong *)(lVar1 + 0x40)) ||\n       (iVar7 = FUN_0011747a(lVar1,2), iVar7 != 0)" (parenthesized_expression "(*(long *)(lVar1 + 0x38) + 2U <= *(ulong *)(lVar1 + 0x40))" ( (binary_expression "*(long *)(lVar1 + 0x38) + 2U <= *(ulong *)(lVar1 + 0x40)" (binary_expression "*(long *)(lVar1 + 0x38) + 2U" (pointer_expression "*(long *)(lVar1 + 0x38)" * (cast_expression "(long *)(lVar1 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x38)" ( (binary_expression "lVar1 + 0x38" identifier + number_literal) )))) + number_literal) <= (pointer_expression "*(ulong *)(lVar1 + 0x40)" * (cast_expression "(ulong *)(lVar1 + 0x40)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x40)" ( (binary_expression "lVar1 + 0x40" identifier + number_literal) ))))) )) || (parenthesized_expression "(iVar7 = FUN_0011747a(lVar1,2), iVar7 != 0)" ( (comma_expression "iVar7 = FUN_0011747a(lVar1,2), iVar7 != 0" (assignment_expression "iVar7 = FUN_0011747a(lVar1,2)" identifier = (call_expression "FUN_0011747a(lVar1,2)" identifier (argument_list "(lVar1,2)" ( identifier , number_literal )))) , (binary_expression "iVar7 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      **(undefined2 **)(lVar1 + 0x38) = 0x202c;\n      *(long *)(lVar1 + 0x38) = *(long *)(lVar1 + 0x38) + 2;\n    }" { (expression_statement "**(undefined2 **)(lVar1 + 0x38) = 0x202c;" (assignment_expression "**(undefined2 **)(lVar1 + 0x38) = 0x202c" (pointer_expression "**(undefined2 **)(lVar1 + 0x38)" * (pointer_expression "*(undefined2 **)(lVar1 + 0x38)" * (cast_expression "(undefined2 **)(lVar1 + 0x38)" ( (type_descriptor "undefined2 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar1 + 0x38)" ( (binary_expression "lVar1 + 0x38" identifier + number_literal) ))))) = number_literal) ;) (expression_statement "*(long *)(lVar1 + 0x38) = *(long *)(lVar1 + 0x38) + 2;" (assignment_expression "*(long *)(lVar1 + 0x38) = *(long *)(lVar1 + 0x38) + 2" (pointer_expression "*(long *)(lVar1 + 0x38)" * (cast_expression "(long *)(lVar1 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x38)" ( (binary_expression "lVar1 + 0x38" identifier + number_literal) )))) = (binary_expression "*(long *)(lVar1 + 0x38) + 2" (pointer_expression "*(long *)(lVar1 + 0x38)" * (cast_expression "(long *)(lVar1 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x38)" ( (binary_expression "lVar1 + 0x38" identifier + number_literal) )))) + number_literal)) ;) })) (goto_statement "goto LAB_001148c4;" goto statement_identifier ;) })) (expression_statement "lVar1 = *(long *)param_2[2];" (assignment_expression "lVar1 = *(long *)param_2[2]" identifier = (pointer_expression "*(long *)param_2[2]" * (cast_expression "(long *)param_2[2]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[2]" identifier [ number_literal ])))) ;) (expression_statement "puVar2 = *(undefined8 **)(*param_2 + 0x20);" (assignment_expression "puVar2 = *(undefined8 **)(*param_2 + 0x20)" identifier = (pointer_expression "*(undefined8 **)(*param_2 + 0x20)" * (cast_expression "(undefined8 **)(*param_2 + 0x20)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x20)" ( (binary_expression "*param_2 + 0x20" (pointer_expression "*param_2" * identifier) + number_literal) ))))) ;) (if_statement "if (((((int)((long *)param_2[2])[1] != 0) && (lVar1 != 0)) &&\n      (*(int *)(*param_2 + 0x18) != *(int *)(lVar1 + 0x18))) &&\n     ((lVar5 = param_2[1], *(ulong *)(lVar5 + 0x38) < *(ulong *)(lVar5 + 0x40) ||\n      (iVar7 = FUN_0011747a(lVar5,1), iVar7 != 0)))) {\n    puVar6 = *(undefined1 **)(lVar5 + 0x38);\n    *(undefined1 **)(lVar5 + 0x38) = puVar6 + 1;\n    *puVar6 = 10;\n  }" if (parenthesized_expression "(((((int)((long *)param_2[2])[1] != 0) && (lVar1 != 0)) &&\n      (*(int *)(*param_2 + 0x18) != *(int *)(lVar1 + 0x18))) &&\n     ((lVar5 = param_2[1], *(ulong *)(lVar5 + 0x38) < *(ulong *)(lVar5 + 0x40) ||\n      (iVar7 = FUN_0011747a(lVar5,1), iVar7 != 0))))" ( (binary_expression "((((int)((long *)param_2[2])[1] != 0) && (lVar1 != 0)) &&\n      (*(int *)(*param_2 + 0x18) != *(int *)(lVar1 + 0x18))) &&\n     ((lVar5 = param_2[1], *(ulong *)(lVar5 + 0x38) < *(ulong *)(lVar5 + 0x40) ||\n      (iVar7 = FUN_0011747a(lVar5,1), iVar7 != 0)))" (parenthesized_expression "((((int)((long *)param_2[2])[1] != 0) && (lVar1 != 0)) &&\n      (*(int *)(*param_2 + 0x18) != *(int *)(lVar1 + 0x18)))" ( (binary_expression "(((int)((long *)param_2[2])[1] != 0) && (lVar1 != 0)) &&\n      (*(int *)(*param_2 + 0x18) != *(int *)(lVar1 + 0x18))" (parenthesized_expression "(((int)((long *)param_2[2])[1] != 0) && (lVar1 != 0))" ( (binary_expression "((int)((long *)param_2[2])[1] != 0) && (lVar1 != 0)" (parenthesized_expression "((int)((long *)param_2[2])[1] != 0)" ( (binary_expression "(int)((long *)param_2[2])[1] != 0" (cast_expression "(int)((long *)param_2[2])[1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "((long *)param_2[2])[1]" (parenthesized_expression "((long *)param_2[2])" ( (cast_expression "(long *)param_2[2]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[2]" identifier [ number_literal ])) )) [ number_literal ])) != number_literal) )) && (parenthesized_expression "(lVar1 != 0)" ( (binary_expression "lVar1 != 0" identifier != number_literal) ))) )) && (parenthesized_expression "(*(int *)(*param_2 + 0x18) != *(int *)(lVar1 + 0x18))" ( (binary_expression "*(int *)(*param_2 + 0x18) != *(int *)(lVar1 + 0x18)" (pointer_expression "*(int *)(*param_2 + 0x18)" * (cast_expression "(int *)(*param_2 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_2 + 0x18)" ( (binary_expression "*param_2 + 0x18" (pointer_expression "*param_2" * identifier) + number_literal) )))) != (pointer_expression "*(int *)(lVar1 + 0x18)" * (cast_expression "(int *)(lVar1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x18)" ( (binary_expression "lVar1 + 0x18" identifier + number_literal) ))))) ))) )) && (parenthesized_expression "((lVar5 = param_2[1], *(ulong *)(lVar5 + 0x38) < *(ulong *)(lVar5 + 0x40) ||\n      (iVar7 = FUN_0011747a(lVar5,1), iVar7 != 0)))" ( (parenthesized_expression "(lVar5 = param_2[1], *(ulong *)(lVar5 + 0x38) < *(ulong *)(lVar5 + 0x40) ||\n      (iVar7 = FUN_0011747a(lVar5,1), iVar7 != 0))" ( (comma_expression "lVar5 = param_2[1], *(ulong *)(lVar5 + 0x38) < *(ulong *)(lVar5 + 0x40) ||\n      (iVar7 = FUN_0011747a(lVar5,1), iVar7 != 0)" (assignment_expression "lVar5 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) , (binary_expression "*(ulong *)(lVar5 + 0x38) < *(ulong *)(lVar5 + 0x40) ||\n      (iVar7 = FUN_0011747a(lVar5,1), iVar7 != 0)" (binary_expression "*(ulong *)(lVar5 + 0x38) < *(ulong *)(lVar5 + 0x40)" (pointer_expression "*(ulong *)(lVar5 + 0x38)" * (cast_expression "(ulong *)(lVar5 + 0x38)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0x38)" ( (binary_expression "lVar5 + 0x38" identifier + number_literal) )))) < (pointer_expression "*(ulong *)(lVar5 + 0x40)" * (cast_expression "(ulong *)(lVar5 + 0x40)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0x40)" ( (binary_expression "lVar5 + 0x40" identifier + number_literal) ))))) || (parenthesized_expression "(iVar7 = FUN_0011747a(lVar5,1), iVar7 != 0)" ( (comma_expression "iVar7 = FUN_0011747a(lVar5,1), iVar7 != 0" (assignment_expression "iVar7 = FUN_0011747a(lVar5,1)" identifier = (call_expression "FUN_0011747a(lVar5,1)" identifier (argument_list "(lVar5,1)" ( identifier , number_literal )))) , (binary_expression "iVar7 != 0" identifier != number_literal)) )))) )) ))) )) (compound_statement "{\n    puVar6 = *(undefined1 **)(lVar5 + 0x38);\n    *(undefined1 **)(lVar5 + 0x38) = puVar6 + 1;\n    *puVar6 = 10;\n  }" { (expression_statement "puVar6 = *(undefined1 **)(lVar5 + 0x38);" (assignment_expression "puVar6 = *(undefined1 **)(lVar5 + 0x38)" identifier = (pointer_expression "*(undefined1 **)(lVar5 + 0x38)" * (cast_expression "(undefined1 **)(lVar5 + 0x38)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar5 + 0x38)" ( (binary_expression "lVar5 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "*(undefined1 **)(lVar5 + 0x38) = puVar6 + 1;" (assignment_expression "*(undefined1 **)(lVar5 + 0x38) = puVar6 + 1" (pointer_expression "*(undefined1 **)(lVar5 + 0x38)" * (cast_expression "(undefined1 **)(lVar5 + 0x38)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar5 + 0x38)" ( (binary_expression "lVar5 + 0x38" identifier + number_literal) )))) = (binary_expression "puVar6 + 1" identifier + number_literal)) ;) (expression_statement "*puVar6 = 10;" (assignment_expression "*puVar6 = 10" (pointer_expression "*puVar6" * identifier) = number_literal) ;) })) (if_statement "if (((puVar2 != (undefined8 *)0x0) && (pcVar3 = (char *)*puVar2, pcVar3 != (char *)0x0)) &&\n     (*pcVar3 != '\0')) {\n    if (lVar1 != 0) {\n      puVar8 = *(undefined8 **)(lVar1 + 0x20);\n      if (puVar8 == puVar2) goto LAB_001148bd;\n      if (puVar8 != (undefined8 *)0x0) {\n        do {\n          puVar8 = (undefined8 *)puVar8[2];\n          if (puVar8 == (undefined8 *)0x0) break;\n        } while (puVar2 != puVar8);\n        if (puVar2 == puVar8) goto LAB_001148bd;\n      }\n    }\n    uVar4 = *(undefined8 *)(param_2[1] + 0x18);\n    FUN_001145fd(pcVar3,puVar2[3],param_2);\n    lVar1 = param_2[1];\n    if (*(ulong *)(lVar1 + 0x20) < (ulong)(*(long *)(lVar1 + 0x38) - *(long *)(lVar1 + 0x30))) {\n      FUN_00116f9b(lVar1);\n    }\n    *(long *)(lVar1 + 0x18) = (long)(int)uVar4;\n  }" if (parenthesized_expression "(((puVar2 != (undefined8 *)0x0) && (pcVar3 = (char *)*puVar2, pcVar3 != (char *)0x0)) &&\n     (*pcVar3 != '\0'))" ( (binary_expression "((puVar2 != (undefined8 *)0x0) && (pcVar3 = (char *)*puVar2, pcVar3 != (char *)0x0)) &&\n     (*pcVar3 != '\0')" (parenthesized_expression "((puVar2 != (undefined8 *)0x0) && (pcVar3 = (char *)*puVar2, pcVar3 != (char *)0x0))" ( (binary_expression "(puVar2 != (undefined8 *)0x0) && (pcVar3 = (char *)*puVar2, pcVar3 != (char *)0x0)" (parenthesized_expression "(puVar2 != (undefined8 *)0x0)" ( (binary_expression "puVar2 != (undefined8 *)0x0" identifier != (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(pcVar3 = (char *)*puVar2, pcVar3 != (char *)0x0)" ( (comma_expression "pcVar3 = (char *)*puVar2, pcVar3 != (char *)0x0" (assignment_expression "pcVar3 = (char *)*puVar2" identifier = (cast_expression "(char *)*puVar2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier))) , (binary_expression "pcVar3 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) && (parenthesized_expression "(*pcVar3 != '\0')" ( (binary_expression "*pcVar3 != '\0'" (pointer_expression "*pcVar3" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    if (lVar1 != 0) {\n      puVar8 = *(undefined8 **)(lVar1 + 0x20);\n      if (puVar8 == puVar2) goto LAB_001148bd;\n      if (puVar8 != (undefined8 *)0x0) {\n        do {\n          puVar8 = (undefined8 *)puVar8[2];\n          if (puVar8 == (undefined8 *)0x0) break;\n        } while (puVar2 != puVar8);\n        if (puVar2 == puVar8) goto LAB_001148bd;\n      }\n    }\n    uVar4 = *(undefined8 *)(param_2[1] + 0x18);\n    FUN_001145fd(pcVar3,puVar2[3],param_2);\n    lVar1 = param_2[1];\n    if (*(ulong *)(lVar1 + 0x20) < (ulong)(*(long *)(lVar1 + 0x38) - *(long *)(lVar1 + 0x30))) {\n      FUN_00116f9b(lVar1);\n    }\n    *(long *)(lVar1 + 0x18) = (long)(int)uVar4;\n  }" { (if_statement "if (lVar1 != 0) {\n      puVar8 = *(undefined8 **)(lVar1 + 0x20);\n      if (puVar8 == puVar2) goto LAB_001148bd;\n      if (puVar8 != (undefined8 *)0x0) {\n        do {\n          puVar8 = (undefined8 *)puVar8[2];\n          if (puVar8 == (undefined8 *)0x0) break;\n        } while (puVar2 != puVar8);\n        if (puVar2 == puVar8) goto LAB_001148bd;\n      }\n    }" if (parenthesized_expression "(lVar1 != 0)" ( (binary_expression "lVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      puVar8 = *(undefined8 **)(lVar1 + 0x20);\n      if (puVar8 == puVar2) goto LAB_001148bd;\n      if (puVar8 != (undefined8 *)0x0) {\n        do {\n          puVar8 = (undefined8 *)puVar8[2];\n          if (puVar8 == (undefined8 *)0x0) break;\n        } while (puVar2 != puVar8);\n        if (puVar2 == puVar8) goto LAB_001148bd;\n      }\n    }" { (expression_statement "puVar8 = *(undefined8 **)(lVar1 + 0x20);" (assignment_expression "puVar8 = *(undefined8 **)(lVar1 + 0x20)" identifier = (pointer_expression "*(undefined8 **)(lVar1 + 0x20)" * (cast_expression "(undefined8 **)(lVar1 + 0x20)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar1 + 0x20)" ( (binary_expression "lVar1 + 0x20" identifier + number_literal) ))))) ;) (if_statement "if (puVar8 == puVar2) goto LAB_001148bd;" if (parenthesized_expression "(puVar8 == puVar2)" ( (binary_expression "puVar8 == puVar2" identifier == identifier) )) (goto_statement "goto LAB_001148bd;" goto statement_identifier ;)) (if_statement "if (puVar8 != (undefined8 *)0x0) {\n        do {\n          puVar8 = (undefined8 *)puVar8[2];\n          if (puVar8 == (undefined8 *)0x0) break;\n        } while (puVar2 != puVar8);\n        if (puVar2 == puVar8) goto LAB_001148bd;\n      }" if (parenthesized_expression "(puVar8 != (undefined8 *)0x0)" ( (binary_expression "puVar8 != (undefined8 *)0x0" identifier != (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        do {\n          puVar8 = (undefined8 *)puVar8[2];\n          if (puVar8 == (undefined8 *)0x0) break;\n        } while (puVar2 != puVar8);\n        if (puVar2 == puVar8) goto LAB_001148bd;\n      }" { (do_statement "do {\n          puVar8 = (undefined8 *)puVar8[2];\n          if (puVar8 == (undefined8 *)0x0) break;\n        } while (puVar2 != puVar8);" do (compound_statement "{\n          puVar8 = (undefined8 *)puVar8[2];\n          if (puVar8 == (undefined8 *)0x0) break;\n        }" { (expression_statement "puVar8 = (undefined8 *)puVar8[2];" (assignment_expression "puVar8 = (undefined8 *)puVar8[2]" identifier = (cast_expression "(undefined8 *)puVar8[2]" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar8[2]" identifier [ number_literal ]))) ;) (if_statement "if (puVar8 == (undefined8 *)0x0) break;" if (parenthesized_expression "(puVar8 == (undefined8 *)0x0)" ( (binary_expression "puVar8 == (undefined8 *)0x0" identifier == (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) }) while (parenthesized_expression "(puVar2 != puVar8)" ( (binary_expression "puVar2 != puVar8" identifier != identifier) )) ;) (if_statement "if (puVar2 == puVar8) goto LAB_001148bd;" if (parenthesized_expression "(puVar2 == puVar8)" ( (binary_expression "puVar2 == puVar8" identifier == identifier) )) (goto_statement "goto LAB_001148bd;" goto statement_identifier ;)) })) })) (expression_statement "uVar4 = *(undefined8 *)(param_2[1] + 0x18);" (assignment_expression "uVar4 = *(undefined8 *)(param_2[1] + 0x18)" identifier = (pointer_expression "*(undefined8 *)(param_2[1] + 0x18)" * (cast_expression "(undefined8 *)(param_2[1] + 0x18)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2[1] + 0x18)" ( (binary_expression "param_2[1] + 0x18" (subscript_expression "param_2[1]" identifier [ number_literal ]) + number_literal) ))))) ;) (expression_statement "FUN_001145fd(pcVar3,puVar2[3],param_2);" (call_expression "FUN_001145fd(pcVar3,puVar2[3],param_2)" identifier (argument_list "(pcVar3,puVar2[3],param_2)" ( identifier , (subscript_expression "puVar2[3]" identifier [ number_literal ]) , identifier ))) ;) (expression_statement "lVar1 = param_2[1];" (assignment_expression "lVar1 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (if_statement "if (*(ulong *)(lVar1 + 0x20) < (ulong)(*(long *)(lVar1 + 0x38) - *(long *)(lVar1 + 0x30))) {\n      FUN_00116f9b(lVar1);\n    }" if (parenthesized_expression "(*(ulong *)(lVar1 + 0x20) < (ulong)(*(long *)(lVar1 + 0x38) - *(long *)(lVar1 + 0x30)))" ( (binary_expression "*(ulong *)(lVar1 + 0x20) < (ulong)(*(long *)(lVar1 + 0x38) - *(long *)(lVar1 + 0x30))" (pointer_expression "*(ulong *)(lVar1 + 0x20)" * (cast_expression "(ulong *)(lVar1 + 0x20)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x20)" ( (binary_expression "lVar1 + 0x20" identifier + number_literal) )))) < (call_expression "(ulong)(*(long *)(lVar1 + 0x38) - *(long *)(lVar1 + 0x30))" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(*(long *)(lVar1 + 0x38) - *(long *)(lVar1 + 0x30))" ( (binary_expression "*(long *)(lVar1 + 0x38) - *(long *)(lVar1 + 0x30)" (pointer_expression "*(long *)(lVar1 + 0x38)" * (cast_expression "(long *)(lVar1 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x38)" ( (binary_expression "lVar1 + 0x38" identifier + number_literal) )))) - (pointer_expression "*(long *)(lVar1 + 0x30)" * (cast_expression "(long *)(lVar1 + 0x30)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x30)" ( (binary_expression "lVar1 + 0x30" identifier + number_literal) ))))) )))) )) (compound_statement "{\n      FUN_00116f9b(lVar1);\n    }" { (expression_statement "FUN_00116f9b(lVar1);" (call_expression "FUN_00116f9b(lVar1)" identifier (argument_list "(lVar1)" ( identifier ))) ;) })) (expression_statement "*(long *)(lVar1 + 0x18) = (long)(int)uVar4;" (assignment_expression "*(long *)(lVar1 + 0x18) = (long)(int)uVar4" (pointer_expression "*(long *)(lVar1 + 0x18)" * (cast_expression "(long *)(lVar1 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x18)" ( (binary_expression "lVar1 + 0x18" identifier + number_literal) )))) = (cast_expression "(long)(int)uVar4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (cast_expression "(int)uVar4" ( (type_descriptor "int" primitive_type) ) identifier))) ;) })) (labeled_statement "LAB_001148bd:\n  *(undefined4 *)(param_2 + 3) = 0;" statement_identifier : (expression_statement "*(undefined4 *)(param_2 + 3) = 0;" (assignment_expression "*(undefined4 *)(param_2 + 3) = 0" (pointer_expression "*(undefined4 *)(param_2 + 3)" * (cast_expression "(undefined4 *)(param_2 + 3)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 3)" ( (binary_expression "param_2 + 3" identifier + number_literal) )))) = number_literal) ;)) (labeled_statement "LAB_001148c4:\n  FUN_00114210(param_2[1],param_1);" statement_identifier : (expression_statement "FUN_00114210(param_2[1],param_1);" (call_expression "FUN_00114210(param_2[1],param_1)" identifier (argument_list "(param_2[1],param_1)" ( (subscript_expression "param_2[1]" identifier [ number_literal ]) , identifier ))) ;)) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) <= (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) })) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression (parenthesized_expression ( (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) )) [ LIT ])) != LIT) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))) )) && (parenthesized_expression ( (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) , (binary_expression (binary_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) ))))) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) , (binary_expression IDENT != LIT)) )))) )) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) , (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ))) )) && (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (break_statement break ;)) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (goto_statement goto statement_identifier ;)) })) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (subscript_expression IDENT [ LIT ]) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (subscript_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) )))) < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;)) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , IDENT ))) ;)) (return_statement return ;) })))
(function_definition "void FUN_00114819(undefined4 param_1,long *param_2)\n\n{\n  long lVar1;\n  undefined8 *puVar2;\n  char *pcVar3;\n  undefined8 uVar4;\n  long lVar5;\n  undefined1 *puVar6;\n  int iVar7;\n  undefined8 *puVar8;\n  \n  if ((int)param_2[3] == 0) {\n    lVar1 = param_2[1];\n    if ((*(long *)(lVar1 + 0x38) + 2U <= *(ulong *)(lVar1 + 0x40)) ||\n       (iVar7 = FUN_0011747a(lVar1,2), iVar7 != 0)) {\n      **(undefined2 **)(lVar1 + 0x38) = 0x202c;\n      *(long *)(lVar1 + 0x38) = *(long *)(lVar1 + 0x38) + 2;\n    }\n    goto LAB_001148c4;\n  }\n  lVar1 = *(long *)param_2[2];\n  puVar2 = *(undefined8 **)(*param_2 + 0x20);\n  if (((((int)((long *)param_2[2])[1] != 0) && (lVar1 != 0)) &&\n      (*(int *)(*param_2 + 0x18) != *(int *)(lVar1 + 0x18))) &&\n     ((lVar5 = param_2[1], *(ulong *)(lVar5 + 0x38) < *(ulong *)(lVar5 + 0x40) ||\n      (iVar7 = FUN_0011747a(lVar5,1), iVar7 != 0)))) {\n    puVar6 = *(undefined1 **)(lVar5 + 0x38);\n    *(undefined1 **)(lVar5 + 0x38) = puVar6 + 1;\n    *puVar6 = 10;\n  }\n  if (((puVar2 != (undefined8 *)0x0) && (pcVar3 = (char *)*puVar2, pcVar3 != (char *)0x0)) &&\n     (*pcVar3 != '\0')) {\n    if (lVar1 != 0) {\n      puVar8 = *(undefined8 **)(lVar1 + 0x20);\n      if (puVar8 == puVar2) goto LAB_001148bd;\n      if (puVar8 != (undefined8 *)0x0) {\n        do {\n          puVar8 = (undefined8 *)puVar8[2];\n          if (puVar8 == (undefined8 *)0x0) break;\n        } while (puVar2 != puVar8);\n        if (puVar2 == puVar8) goto LAB_001148bd;\n      }\n    }\n    uVar4 = *(undefined8 *)(param_2[1] + 0x18);\n    FUN_001145fd(pcVar3,puVar2[3],param_2);\n    lVar1 = param_2[1];\n    if (*(ulong *)(lVar1 + 0x20) < (ulong)(*(long *)(lVar1 + 0x38) - *(long *)(lVar1 + 0x30))) {\n      FUN_00116f9b(lVar1);\n    }\n    *(long *)(lVar1 + 0x18) = (long)(int)uVar4;\n  }\nLAB_001148bd:\n  *(undefined4 *)(param_2 + 3) = 0;\nLAB_001148c4:\n  FUN_00114210(param_2[1],param_1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00114819(undefined4 param_1,long *param_2)" (identifier "FUN_00114819") (parameter_list "(undefined4 param_1,long *param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "long *param_2" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  long lVar1;\n  undefined8 *puVar2;\n  char *pcVar3;\n  undefined8 uVar4;\n  long lVar5;\n  undefined1 *puVar6;\n  int iVar7;\n  undefined8 *puVar8;\n  \n  if ((int)param_2[3] == 0) {\n    lVar1 = param_2[1];\n    if ((*(long *)(lVar1 + 0x38) + 2U <= *(ulong *)(lVar1 + 0x40)) ||\n       (iVar7 = FUN_0011747a(lVar1,2), iVar7 != 0)) {\n      **(undefined2 **)(lVar1 + 0x38) = 0x202c;\n      *(long *)(lVar1 + 0x38) = *(long *)(lVar1 + 0x38) + 2;\n    }\n    goto LAB_001148c4;\n  }\n  lVar1 = *(long *)param_2[2];\n  puVar2 = *(undefined8 **)(*param_2 + 0x20);\n  if (((((int)((long *)param_2[2])[1] != 0) && (lVar1 != 0)) &&\n      (*(int *)(*param_2 + 0x18) != *(int *)(lVar1 + 0x18))) &&\n     ((lVar5 = param_2[1], *(ulong *)(lVar5 + 0x38) < *(ulong *)(lVar5 + 0x40) ||\n      (iVar7 = FUN_0011747a(lVar5,1), iVar7 != 0)))) {\n    puVar6 = *(undefined1 **)(lVar5 + 0x38);\n    *(undefined1 **)(lVar5 + 0x38) = puVar6 + 1;\n    *puVar6 = 10;\n  }\n  if (((puVar2 != (undefined8 *)0x0) && (pcVar3 = (char *)*puVar2, pcVar3 != (char *)0x0)) &&\n     (*pcVar3 != '\0')) {\n    if (lVar1 != 0) {\n      puVar8 = *(undefined8 **)(lVar1 + 0x20);\n      if (puVar8 == puVar2) goto LAB_001148bd;\n      if (puVar8 != (undefined8 *)0x0) {\n        do {\n          puVar8 = (undefined8 *)puVar8[2];\n          if (puVar8 == (undefined8 *)0x0) break;\n        } while (puVar2 != puVar8);\n        if (puVar2 == puVar8) goto LAB_001148bd;\n      }\n    }\n    uVar4 = *(undefined8 *)(param_2[1] + 0x18);\n    FUN_001145fd(pcVar3,puVar2[3],param_2);\n    lVar1 = param_2[1];\n    if (*(ulong *)(lVar1 + 0x20) < (ulong)(*(long *)(lVar1 + 0x38) - *(long *)(lVar1 + 0x30))) {\n      FUN_00116f9b(lVar1);\n    }\n    *(long *)(lVar1 + 0x18) = (long)(int)uVar4;\n  }\nLAB_001148bd:\n  *(undefined4 *)(param_2 + 3) = 0;\nLAB_001148c4:\n  FUN_00114210(param_2[1],param_1);\n  return;\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "undefined8 *puVar2;" (type_identifier "undefined8") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "char *pcVar3;" (primitive_type "char") (pointer_declarator "*pcVar3" (* "*") (identifier "pcVar3")) (; ";")) (declaration "undefined8 uVar4;" (type_identifier "undefined8") (identifier "uVar4") (; ";")) (declaration "long lVar5;" (sized_type_specifier "long" (long "long")) (identifier "lVar5") (; ";")) (declaration "undefined1 *puVar6;" (type_identifier "undefined1") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "undefined8 *puVar8;" (type_identifier "undefined8") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (if_statement "if ((int)param_2[3] == 0) {\n    lVar1 = param_2[1];\n    if ((*(long *)(lVar1 + 0x38) + 2U <= *(ulong *)(lVar1 + 0x40)) ||\n       (iVar7 = FUN_0011747a(lVar1,2), iVar7 != 0)) {\n      **(undefined2 **)(lVar1 + 0x38) = 0x202c;\n      *(long *)(lVar1 + 0x38) = *(long *)(lVar1 + 0x38) + 2;\n    }\n    goto LAB_001148c4;\n  }" (if "if") (parenthesized_expression "((int)param_2[3] == 0)" (( "(") (binary_expression "(int)param_2[3] == 0" (cast_expression "(int)param_2[3]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]"))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    lVar1 = param_2[1];\n    if ((*(long *)(lVar1 + 0x38) + 2U <= *(ulong *)(lVar1 + 0x40)) ||\n       (iVar7 = FUN_0011747a(lVar1,2), iVar7 != 0)) {\n      **(undefined2 **)(lVar1 + 0x38) = 0x202c;\n      *(long *)(lVar1 + 0x38) = *(long *)(lVar1 + 0x38) + 2;\n    }\n    goto LAB_001148c4;\n  }" ({ "{") (expression_statement "lVar1 = param_2[1];" (assignment_expression "lVar1 = param_2[1]" (identifier "lVar1") (= "=") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if ((*(long *)(lVar1 + 0x38) + 2U <= *(ulong *)(lVar1 + 0x40)) ||\n       (iVar7 = FUN_0011747a(lVar1,2), iVar7 != 0)) {\n      **(undefined2 **)(lVar1 + 0x38) = 0x202c;\n      *(long *)(lVar1 + 0x38) = *(long *)(lVar1 + 0x38) + 2;\n    }" (if "if") (parenthesized_expression "((*(long *)(lVar1 + 0x38) + 2U <= *(ulong *)(lVar1 + 0x40)) ||\n       (iVar7 = FUN_0011747a(lVar1,2), iVar7 != 0))" (( "(") (binary_expression "(*(long *)(lVar1 + 0x38) + 2U <= *(ulong *)(lVar1 + 0x40)) ||\n       (iVar7 = FUN_0011747a(lVar1,2), iVar7 != 0)" (parenthesized_expression "(*(long *)(lVar1 + 0x38) + 2U <= *(ulong *)(lVar1 + 0x40))" (( "(") (binary_expression "*(long *)(lVar1 + 0x38) + 2U <= *(ulong *)(lVar1 + 0x40)" (binary_expression "*(long *)(lVar1 + 0x38) + 2U" (pointer_expression "*(long *)(lVar1 + 0x38)" (* "*") (cast_expression "(long *)(lVar1 + 0x38)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x38)" (( "(") (binary_expression "lVar1 + 0x38" (identifier "lVar1") (+ "+") (number_literal "0x38")) () ")")))) (+ "+") (number_literal "2U")) (<= "<=") (pointer_expression "*(ulong *)(lVar1 + 0x40)" (* "*") (cast_expression "(ulong *)(lVar1 + 0x40)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x40)" (( "(") (binary_expression "lVar1 + 0x40" (identifier "lVar1") (+ "+") (number_literal "0x40")) () ")"))))) () ")")) (|| "||") (parenthesized_expression "(iVar7 = FUN_0011747a(lVar1,2), iVar7 != 0)" (( "(") (comma_expression "iVar7 = FUN_0011747a(lVar1,2), iVar7 != 0" (assignment_expression "iVar7 = FUN_0011747a(lVar1,2)" (identifier "iVar7") (= "=") (call_expression "FUN_0011747a(lVar1,2)" (identifier "FUN_0011747a") (argument_list "(lVar1,2)" (( "(") (identifier "lVar1") (, ",") (number_literal "2") () ")")))) (, ",") (binary_expression "iVar7 != 0" (identifier "iVar7") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n      **(undefined2 **)(lVar1 + 0x38) = 0x202c;\n      *(long *)(lVar1 + 0x38) = *(long *)(lVar1 + 0x38) + 2;\n    }" ({ "{") (expression_statement "**(undefined2 **)(lVar1 + 0x38) = 0x202c;" (assignment_expression "**(undefined2 **)(lVar1 + 0x38) = 0x202c" (pointer_expression "**(undefined2 **)(lVar1 + 0x38)" (* "*") (pointer_expression "*(undefined2 **)(lVar1 + 0x38)" (* "*") (cast_expression "(undefined2 **)(lVar1 + 0x38)" (( "(") (type_descriptor "undefined2 **" (type_identifier "undefined2") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(lVar1 + 0x38)" (( "(") (binary_expression "lVar1 + 0x38" (identifier "lVar1") (+ "+") (number_literal "0x38")) () ")"))))) (= "=") (number_literal "0x202c")) (; ";")) (expression_statement "*(long *)(lVar1 + 0x38) = *(long *)(lVar1 + 0x38) + 2;" (assignment_expression "*(long *)(lVar1 + 0x38) = *(long *)(lVar1 + 0x38) + 2" (pointer_expression "*(long *)(lVar1 + 0x38)" (* "*") (cast_expression "(long *)(lVar1 + 0x38)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x38)" (( "(") (binary_expression "lVar1 + 0x38" (identifier "lVar1") (+ "+") (number_literal "0x38")) () ")")))) (= "=") (binary_expression "*(long *)(lVar1 + 0x38) + 2" (pointer_expression "*(long *)(lVar1 + 0x38)" (* "*") (cast_expression "(long *)(lVar1 + 0x38)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x38)" (( "(") (binary_expression "lVar1 + 0x38" (identifier "lVar1") (+ "+") (number_literal "0x38")) () ")")))) (+ "+") (number_literal "2"))) (; ";")) (} "}"))) (goto_statement "goto LAB_001148c4;" (goto "goto") (statement_identifier "LAB_001148c4") (; ";")) (} "}"))) (expression_statement "lVar1 = *(long *)param_2[2];" (assignment_expression "lVar1 = *(long *)param_2[2]" (identifier "lVar1") (= "=") (pointer_expression "*(long *)param_2[2]" (* "*") (cast_expression "(long *)param_2[2]" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]"))))) (; ";")) (expression_statement "puVar2 = *(undefined8 **)(*param_2 + 0x20);" (assignment_expression "puVar2 = *(undefined8 **)(*param_2 + 0x20)" (identifier "puVar2") (= "=") (pointer_expression "*(undefined8 **)(*param_2 + 0x20)" (* "*") (cast_expression "(undefined8 **)(*param_2 + 0x20)" (( "(") (type_descriptor "undefined8 **" (type_identifier "undefined8") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_2 + 0x20)" (( "(") (binary_expression "*param_2 + 0x20" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (if_statement "if (((((int)((long *)param_2[2])[1] != 0) && (lVar1 != 0)) &&\n      (*(int *)(*param_2 + 0x18) != *(int *)(lVar1 + 0x18))) &&\n     ((lVar5 = param_2[1], *(ulong *)(lVar5 + 0x38) < *(ulong *)(lVar5 + 0x40) ||\n      (iVar7 = FUN_0011747a(lVar5,1), iVar7 != 0)))) {\n    puVar6 = *(undefined1 **)(lVar5 + 0x38);\n    *(undefined1 **)(lVar5 + 0x38) = puVar6 + 1;\n    *puVar6 = 10;\n  }" (if "if") (parenthesized_expression "(((((int)((long *)param_2[2])[1] != 0) && (lVar1 != 0)) &&\n      (*(int *)(*param_2 + 0x18) != *(int *)(lVar1 + 0x18))) &&\n     ((lVar5 = param_2[1], *(ulong *)(lVar5 + 0x38) < *(ulong *)(lVar5 + 0x40) ||\n      (iVar7 = FUN_0011747a(lVar5,1), iVar7 != 0))))" (( "(") (binary_expression "((((int)((long *)param_2[2])[1] != 0) && (lVar1 != 0)) &&\n      (*(int *)(*param_2 + 0x18) != *(int *)(lVar1 + 0x18))) &&\n     ((lVar5 = param_2[1], *(ulong *)(lVar5 + 0x38) < *(ulong *)(lVar5 + 0x40) ||\n      (iVar7 = FUN_0011747a(lVar5,1), iVar7 != 0)))" (parenthesized_expression "((((int)((long *)param_2[2])[1] != 0) && (lVar1 != 0)) &&\n      (*(int *)(*param_2 + 0x18) != *(int *)(lVar1 + 0x18)))" (( "(") (binary_expression "(((int)((long *)param_2[2])[1] != 0) && (lVar1 != 0)) &&\n      (*(int *)(*param_2 + 0x18) != *(int *)(lVar1 + 0x18))" (parenthesized_expression "(((int)((long *)param_2[2])[1] != 0) && (lVar1 != 0))" (( "(") (binary_expression "((int)((long *)param_2[2])[1] != 0) && (lVar1 != 0)" (parenthesized_expression "((int)((long *)param_2[2])[1] != 0)" (( "(") (binary_expression "(int)((long *)param_2[2])[1] != 0" (cast_expression "(int)((long *)param_2[2])[1]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "((long *)param_2[2])[1]" (parenthesized_expression "((long *)param_2[2])" (( "(") (cast_expression "(long *)param_2[2]" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]"))) () ")")) ([ "[") (number_literal "1") (] "]"))) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(lVar1 != 0)" (( "(") (binary_expression "lVar1 != 0" (identifier "lVar1") (!= "!=") (number_literal "0")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(*param_2 + 0x18) != *(int *)(lVar1 + 0x18))" (( "(") (binary_expression "*(int *)(*param_2 + 0x18) != *(int *)(lVar1 + 0x18)" (pointer_expression "*(int *)(*param_2 + 0x18)" (* "*") (cast_expression "(int *)(*param_2 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_2 + 0x18)" (( "(") (binary_expression "*param_2 + 0x18" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "0x18")) () ")")))) (!= "!=") (pointer_expression "*(int *)(lVar1 + 0x18)" (* "*") (cast_expression "(int *)(lVar1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x18)" (( "(") (binary_expression "lVar1 + 0x18" (identifier "lVar1") (+ "+") (number_literal "0x18")) () ")"))))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((lVar5 = param_2[1], *(ulong *)(lVar5 + 0x38) < *(ulong *)(lVar5 + 0x40) ||\n      (iVar7 = FUN_0011747a(lVar5,1), iVar7 != 0)))" (( "(") (parenthesized_expression "(lVar5 = param_2[1], *(ulong *)(lVar5 + 0x38) < *(ulong *)(lVar5 + 0x40) ||\n      (iVar7 = FUN_0011747a(lVar5,1), iVar7 != 0))" (( "(") (comma_expression "lVar5 = param_2[1], *(ulong *)(lVar5 + 0x38) < *(ulong *)(lVar5 + 0x40) ||\n      (iVar7 = FUN_0011747a(lVar5,1), iVar7 != 0)" (assignment_expression "lVar5 = param_2[1]" (identifier "lVar5") (= "=") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]"))) (, ",") (binary_expression "*(ulong *)(lVar5 + 0x38) < *(ulong *)(lVar5 + 0x40) ||\n      (iVar7 = FUN_0011747a(lVar5,1), iVar7 != 0)" (binary_expression "*(ulong *)(lVar5 + 0x38) < *(ulong *)(lVar5 + 0x40)" (pointer_expression "*(ulong *)(lVar5 + 0x38)" (* "*") (cast_expression "(ulong *)(lVar5 + 0x38)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar5 + 0x38)" (( "(") (binary_expression "lVar5 + 0x38" (identifier "lVar5") (+ "+") (number_literal "0x38")) () ")")))) (< "<") (pointer_expression "*(ulong *)(lVar5 + 0x40)" (* "*") (cast_expression "(ulong *)(lVar5 + 0x40)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar5 + 0x40)" (( "(") (binary_expression "lVar5 + 0x40" (identifier "lVar5") (+ "+") (number_literal "0x40")) () ")"))))) (|| "||") (parenthesized_expression "(iVar7 = FUN_0011747a(lVar5,1), iVar7 != 0)" (( "(") (comma_expression "iVar7 = FUN_0011747a(lVar5,1), iVar7 != 0" (assignment_expression "iVar7 = FUN_0011747a(lVar5,1)" (identifier "iVar7") (= "=") (call_expression "FUN_0011747a(lVar5,1)" (identifier "FUN_0011747a") (argument_list "(lVar5,1)" (( "(") (identifier "lVar5") (, ",") (number_literal "1") () ")")))) (, ",") (binary_expression "iVar7 != 0" (identifier "iVar7") (!= "!=") (number_literal "0"))) () ")")))) () ")")) () ")"))) () ")")) (compound_statement "{\n    puVar6 = *(undefined1 **)(lVar5 + 0x38);\n    *(undefined1 **)(lVar5 + 0x38) = puVar6 + 1;\n    *puVar6 = 10;\n  }" ({ "{") (expression_statement "puVar6 = *(undefined1 **)(lVar5 + 0x38);" (assignment_expression "puVar6 = *(undefined1 **)(lVar5 + 0x38)" (identifier "puVar6") (= "=") (pointer_expression "*(undefined1 **)(lVar5 + 0x38)" (* "*") (cast_expression "(undefined1 **)(lVar5 + 0x38)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(lVar5 + 0x38)" (( "(") (binary_expression "lVar5 + 0x38" (identifier "lVar5") (+ "+") (number_literal "0x38")) () ")"))))) (; ";")) (expression_statement "*(undefined1 **)(lVar5 + 0x38) = puVar6 + 1;" (assignment_expression "*(undefined1 **)(lVar5 + 0x38) = puVar6 + 1" (pointer_expression "*(undefined1 **)(lVar5 + 0x38)" (* "*") (cast_expression "(undefined1 **)(lVar5 + 0x38)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(lVar5 + 0x38)" (( "(") (binary_expression "lVar5 + 0x38" (identifier "lVar5") (+ "+") (number_literal "0x38")) () ")")))) (= "=") (binary_expression "puVar6 + 1" (identifier "puVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar6 = 10;" (assignment_expression "*puVar6 = 10" (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (= "=") (number_literal "10")) (; ";")) (} "}"))) (if_statement "if (((puVar2 != (undefined8 *)0x0) && (pcVar3 = (char *)*puVar2, pcVar3 != (char *)0x0)) &&\n     (*pcVar3 != '\0')) {\n    if (lVar1 != 0) {\n      puVar8 = *(undefined8 **)(lVar1 + 0x20);\n      if (puVar8 == puVar2) goto LAB_001148bd;\n      if (puVar8 != (undefined8 *)0x0) {\n        do {\n          puVar8 = (undefined8 *)puVar8[2];\n          if (puVar8 == (undefined8 *)0x0) break;\n        } while (puVar2 != puVar8);\n        if (puVar2 == puVar8) goto LAB_001148bd;\n      }\n    }\n    uVar4 = *(undefined8 *)(param_2[1] + 0x18);\n    FUN_001145fd(pcVar3,puVar2[3],param_2);\n    lVar1 = param_2[1];\n    if (*(ulong *)(lVar1 + 0x20) < (ulong)(*(long *)(lVar1 + 0x38) - *(long *)(lVar1 + 0x30))) {\n      FUN_00116f9b(lVar1);\n    }\n    *(long *)(lVar1 + 0x18) = (long)(int)uVar4;\n  }" (if "if") (parenthesized_expression "(((puVar2 != (undefined8 *)0x0) && (pcVar3 = (char *)*puVar2, pcVar3 != (char *)0x0)) &&\n     (*pcVar3 != '\0'))" (( "(") (binary_expression "((puVar2 != (undefined8 *)0x0) && (pcVar3 = (char *)*puVar2, pcVar3 != (char *)0x0)) &&\n     (*pcVar3 != '\0')" (parenthesized_expression "((puVar2 != (undefined8 *)0x0) && (pcVar3 = (char *)*puVar2, pcVar3 != (char *)0x0))" (( "(") (binary_expression "(puVar2 != (undefined8 *)0x0) && (pcVar3 = (char *)*puVar2, pcVar3 != (char *)0x0)" (parenthesized_expression "(puVar2 != (undefined8 *)0x0)" (( "(") (binary_expression "puVar2 != (undefined8 *)0x0" (identifier "puVar2") (!= "!=") (cast_expression "(undefined8 *)0x0" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(pcVar3 = (char *)*puVar2, pcVar3 != (char *)0x0)" (( "(") (comma_expression "pcVar3 = (char *)*puVar2, pcVar3 != (char *)0x0" (assignment_expression "pcVar3 = (char *)*puVar2" (identifier "pcVar3") (= "=") (cast_expression "(char *)*puVar2" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar2" (* "*") (identifier "puVar2")))) (, ",") (binary_expression "pcVar3 != (char *)0x0" (identifier "pcVar3") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(*pcVar3 != '\0')" (( "(") (binary_expression "*pcVar3 != '\0'" (pointer_expression "*pcVar3" (* "*") (identifier "pcVar3")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n    if (lVar1 != 0) {\n      puVar8 = *(undefined8 **)(lVar1 + 0x20);\n      if (puVar8 == puVar2) goto LAB_001148bd;\n      if (puVar8 != (undefined8 *)0x0) {\n        do {\n          puVar8 = (undefined8 *)puVar8[2];\n          if (puVar8 == (undefined8 *)0x0) break;\n        } while (puVar2 != puVar8);\n        if (puVar2 == puVar8) goto LAB_001148bd;\n      }\n    }\n    uVar4 = *(undefined8 *)(param_2[1] + 0x18);\n    FUN_001145fd(pcVar3,puVar2[3],param_2);\n    lVar1 = param_2[1];\n    if (*(ulong *)(lVar1 + 0x20) < (ulong)(*(long *)(lVar1 + 0x38) - *(long *)(lVar1 + 0x30))) {\n      FUN_00116f9b(lVar1);\n    }\n    *(long *)(lVar1 + 0x18) = (long)(int)uVar4;\n  }" ({ "{") (if_statement "if (lVar1 != 0) {\n      puVar8 = *(undefined8 **)(lVar1 + 0x20);\n      if (puVar8 == puVar2) goto LAB_001148bd;\n      if (puVar8 != (undefined8 *)0x0) {\n        do {\n          puVar8 = (undefined8 *)puVar8[2];\n          if (puVar8 == (undefined8 *)0x0) break;\n        } while (puVar2 != puVar8);\n        if (puVar2 == puVar8) goto LAB_001148bd;\n      }\n    }" (if "if") (parenthesized_expression "(lVar1 != 0)" (( "(") (binary_expression "lVar1 != 0" (identifier "lVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      puVar8 = *(undefined8 **)(lVar1 + 0x20);\n      if (puVar8 == puVar2) goto LAB_001148bd;\n      if (puVar8 != (undefined8 *)0x0) {\n        do {\n          puVar8 = (undefined8 *)puVar8[2];\n          if (puVar8 == (undefined8 *)0x0) break;\n        } while (puVar2 != puVar8);\n        if (puVar2 == puVar8) goto LAB_001148bd;\n      }\n    }" ({ "{") (expression_statement "puVar8 = *(undefined8 **)(lVar1 + 0x20);" (assignment_expression "puVar8 = *(undefined8 **)(lVar1 + 0x20)" (identifier "puVar8") (= "=") (pointer_expression "*(undefined8 **)(lVar1 + 0x20)" (* "*") (cast_expression "(undefined8 **)(lVar1 + 0x20)" (( "(") (type_descriptor "undefined8 **" (type_identifier "undefined8") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(lVar1 + 0x20)" (( "(") (binary_expression "lVar1 + 0x20" (identifier "lVar1") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (if_statement "if (puVar8 == puVar2) goto LAB_001148bd;" (if "if") (parenthesized_expression "(puVar8 == puVar2)" (( "(") (binary_expression "puVar8 == puVar2" (identifier "puVar8") (== "==") (identifier "puVar2")) () ")")) (goto_statement "goto LAB_001148bd;" (goto "goto") (statement_identifier "LAB_001148bd") (; ";"))) (if_statement "if (puVar8 != (undefined8 *)0x0) {\n        do {\n          puVar8 = (undefined8 *)puVar8[2];\n          if (puVar8 == (undefined8 *)0x0) break;\n        } while (puVar2 != puVar8);\n        if (puVar2 == puVar8) goto LAB_001148bd;\n      }" (if "if") (parenthesized_expression "(puVar8 != (undefined8 *)0x0)" (( "(") (binary_expression "puVar8 != (undefined8 *)0x0" (identifier "puVar8") (!= "!=") (cast_expression "(undefined8 *)0x0" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        do {\n          puVar8 = (undefined8 *)puVar8[2];\n          if (puVar8 == (undefined8 *)0x0) break;\n        } while (puVar2 != puVar8);\n        if (puVar2 == puVar8) goto LAB_001148bd;\n      }" ({ "{") (do_statement "do {\n          puVar8 = (undefined8 *)puVar8[2];\n          if (puVar8 == (undefined8 *)0x0) break;\n        } while (puVar2 != puVar8);" (do "do") (compound_statement "{\n          puVar8 = (undefined8 *)puVar8[2];\n          if (puVar8 == (undefined8 *)0x0) break;\n        }" ({ "{") (expression_statement "puVar8 = (undefined8 *)puVar8[2];" (assignment_expression "puVar8 = (undefined8 *)puVar8[2]" (identifier "puVar8") (= "=") (cast_expression "(undefined8 *)puVar8[2]" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar8[2]" (identifier "puVar8") ([ "[") (number_literal "2") (] "]")))) (; ";")) (if_statement "if (puVar8 == (undefined8 *)0x0) break;" (if "if") (parenthesized_expression "(puVar8 == (undefined8 *)0x0)" (( "(") (binary_expression "puVar8 == (undefined8 *)0x0" (identifier "puVar8") (== "==") (cast_expression "(undefined8 *)0x0" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (} "}")) (while "while") (parenthesized_expression "(puVar2 != puVar8)" (( "(") (binary_expression "puVar2 != puVar8" (identifier "puVar2") (!= "!=") (identifier "puVar8")) () ")")) (; ";")) (if_statement "if (puVar2 == puVar8) goto LAB_001148bd;" (if "if") (parenthesized_expression "(puVar2 == puVar8)" (( "(") (binary_expression "puVar2 == puVar8" (identifier "puVar2") (== "==") (identifier "puVar8")) () ")")) (goto_statement "goto LAB_001148bd;" (goto "goto") (statement_identifier "LAB_001148bd") (; ";"))) (} "}"))) (} "}"))) (expression_statement "uVar4 = *(undefined8 *)(param_2[1] + 0x18);" (assignment_expression "uVar4 = *(undefined8 *)(param_2[1] + 0x18)" (identifier "uVar4") (= "=") (pointer_expression "*(undefined8 *)(param_2[1] + 0x18)" (* "*") (cast_expression "(undefined8 *)(param_2[1] + 0x18)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2[1] + 0x18)" (( "(") (binary_expression "param_2[1] + 0x18" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (expression_statement "FUN_001145fd(pcVar3,puVar2[3],param_2);" (call_expression "FUN_001145fd(pcVar3,puVar2[3],param_2)" (identifier "FUN_001145fd") (argument_list "(pcVar3,puVar2[3],param_2)" (( "(") (identifier "pcVar3") (, ",") (subscript_expression "puVar2[3]" (identifier "puVar2") ([ "[") (number_literal "3") (] "]")) (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "lVar1 = param_2[1];" (assignment_expression "lVar1 = param_2[1]" (identifier "lVar1") (= "=") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if (*(ulong *)(lVar1 + 0x20) < (ulong)(*(long *)(lVar1 + 0x38) - *(long *)(lVar1 + 0x30))) {\n      FUN_00116f9b(lVar1);\n    }" (if "if") (parenthesized_expression "(*(ulong *)(lVar1 + 0x20) < (ulong)(*(long *)(lVar1 + 0x38) - *(long *)(lVar1 + 0x30)))" (( "(") (binary_expression "*(ulong *)(lVar1 + 0x20) < (ulong)(*(long *)(lVar1 + 0x38) - *(long *)(lVar1 + 0x30))" (pointer_expression "*(ulong *)(lVar1 + 0x20)" (* "*") (cast_expression "(ulong *)(lVar1 + 0x20)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x20)" (( "(") (binary_expression "lVar1 + 0x20" (identifier "lVar1") (+ "+") (number_literal "0x20")) () ")")))) (< "<") (call_expression "(ulong)(*(long *)(lVar1 + 0x38) - *(long *)(lVar1 + 0x30))" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "(*(long *)(lVar1 + 0x38) - *(long *)(lVar1 + 0x30))" (( "(") (binary_expression "*(long *)(lVar1 + 0x38) - *(long *)(lVar1 + 0x30)" (pointer_expression "*(long *)(lVar1 + 0x38)" (* "*") (cast_expression "(long *)(lVar1 + 0x38)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x38)" (( "(") (binary_expression "lVar1 + 0x38" (identifier "lVar1") (+ "+") (number_literal "0x38")) () ")")))) (- "-") (pointer_expression "*(long *)(lVar1 + 0x30)" (* "*") (cast_expression "(long *)(lVar1 + 0x30)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x30)" (( "(") (binary_expression "lVar1 + 0x30" (identifier "lVar1") (+ "+") (number_literal "0x30")) () ")"))))) () ")")))) () ")")) (compound_statement "{\n      FUN_00116f9b(lVar1);\n    }" ({ "{") (expression_statement "FUN_00116f9b(lVar1);" (call_expression "FUN_00116f9b(lVar1)" (identifier "FUN_00116f9b") (argument_list "(lVar1)" (( "(") (identifier "lVar1") () ")"))) (; ";")) (} "}"))) (expression_statement "*(long *)(lVar1 + 0x18) = (long)(int)uVar4;" (assignment_expression "*(long *)(lVar1 + 0x18) = (long)(int)uVar4" (pointer_expression "*(long *)(lVar1 + 0x18)" (* "*") (cast_expression "(long *)(lVar1 + 0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x18)" (( "(") (binary_expression "lVar1 + 0x18" (identifier "lVar1") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (cast_expression "(long)(int)uVar4" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (cast_expression "(int)uVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar4")))) (; ";")) (} "}"))) (labeled_statement "LAB_001148bd:\n  *(undefined4 *)(param_2 + 3) = 0;" (statement_identifier "LAB_001148bd") (: ":") (expression_statement "*(undefined4 *)(param_2 + 3) = 0;" (assignment_expression "*(undefined4 *)(param_2 + 3) = 0" (pointer_expression "*(undefined4 *)(param_2 + 3)" (* "*") (cast_expression "(undefined4 *)(param_2 + 3)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 3)" (( "(") (binary_expression "param_2 + 3" (identifier "param_2") (+ "+") (number_literal "3")) () ")")))) (= "=") (number_literal "0")) (; ";"))) (labeled_statement "LAB_001148c4:\n  FUN_00114210(param_2[1],param_1);" (statement_identifier "LAB_001148c4") (: ":") (expression_statement "FUN_00114210(param_2[1],param_1);" (call_expression "FUN_00114210(param_2[1],param_1)" (identifier "FUN_00114210") (argument_list "(param_2[1],param_1)" (( "(") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (, ",") (identifier "param_1") () ")"))) (; ";"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 col,type_2 *pest)

{
  type_3 *var_3;
  type_4 *var_5;
  char *var_4;
  ssize_t sVar4;
  type_5 fs;
  type_6 *paVar5;
  int var_2;
  type_4 *var_6;
  
  if (pest->first == 0) {
    paVar5 = pest->stream;
    if ((paVar5->p + 2 <= paVar5->end) || (var_2 = var_1(paVar5,2), var_2 != 0)) {
      var_4 = paVar5->p;
      var_4[0] = ',';
      var_4[1] = ' ';
      paVar5->p = paVar5->p + 2;
    }
    goto LAB_001148c4;
  }
  var_3 = pest->hhstate->prev_entry;
  var_5 = pest->entry->cluster;
  if ((((pest->hhstate->sep_groups != 0) && (var_3 != (type_3 *)0x0)) &&
      (pest->entry->group != var_3->group)) &&
     ((paVar5 = pest->stream, paVar5->p < paVar5->end ||
      (var_2 = var_1(paVar5,1), var_2 != 0)))) {
    var_4 = paVar5->p;
    paVar5->p = var_4 + 1;
    *var_4 = '\n';
  }
  if (((var_5 != (type_4 *)0x0) && (var_4 = var_5->header, var_4 != (char *)0x0)) &&
     (*var_4 != '\0')) {
    if (var_3 != (type_3 *)0x0) {
      var_6 = var_3->cluster;
      if (var_6 == var_5) goto LAB_001148bd;
      if (var_6 != (type_4 *)0x0) {
        do {
          var_6 = var_6->parent;
          if (var_6 == (type_4 *)0x0) break;
        } while (var_5 != var_6);
        if (var_5 == var_6) goto LAB_001148bd;
      }
    }
    sVar4 = pest->stream->wmargin;
    var_7(var_4,var_5->argp,pest);
    fs = pest->stream;
    if (fs->point_offs < (ulong)((long)fs->p - (long)fs->buf)) {
      var_8(fs);
    }
    fs->wmargin = (long)(int)sVar4;
  }
LAB_001148bd:
  pest->first = 0;
LAB_001148c4:
  var_9(pest->stream,col);
  return;
}


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

void MASKED(undefined4 param_1,long *param_2)

{
  long lVar1;
  undefined8 *puVar2;
  char *pcVar3;
  undefined8 uVar4;
  long lVar5;
  undefined1 *puVar6;
  int iVar7;
  undefined8 *puVar8;
  
  if ((int)param_2[3] == 0) {
    lVar1 = param_2[1];
    if ((*(long *)(lVar1 + 0x38) + 2U <= *(ulong *)(lVar1 + 0x40)) ||
       (iVar7 = FUN_0011747a(lVar1,2), iVar7 != 0)) {
      **(undefined2 **)(lVar1 + 0x38) = 0x202c;
      *(long *)(lVar1 + 0x38) = *(long *)(lVar1 + 0x38) + 2;
    }
    goto LAB_001148c4;
  }
  lVar1 = *(long *)param_2[2];
  puVar2 = *(undefined8 **)(*param_2 + 0x20);
  if (((((int)((long *)param_2[2])[1] != 0) && (lVar1 != 0)) &&
      (*(int *)(*param_2 + 0x18) != *(int *)(lVar1 + 0x18))) &&
     ((lVar5 = param_2[1], *(ulong *)(lVar5 + 0x38) < *(ulong *)(lVar5 + 0x40) ||
      (iVar7 = FUN_0011747a(lVar5,1), iVar7 != 0)))) {
    puVar6 = *(undefined1 **)(lVar5 + 0x38);
    *(undefined1 **)(lVar5 + 0x38) = puVar6 + 1;
    *puVar6 = 10;
  }
  if (((puVar2 != (undefined8 *)0x0) && (pcVar3 = (char *)*puVar2, pcVar3 != (char *)0x0)) &&
     (*pcVar3 != '\0')) {
    if (lVar1 != 0) {
      puVar8 = *(undefined8 **)(lVar1 + 0x20);
      if (puVar8 == puVar2) goto LAB_001148bd;
      if (puVar8 != (undefined8 *)0x0) {
        do {
          puVar8 = (undefined8 *)puVar8[2];
          if (puVar8 == (undefined8 *)0x0) break;
        } while (puVar2 != puVar8);
        if (puVar2 == puVar8) goto LAB_001148bd;
      }
    }
    uVar4 = *(undefined8 *)(param_2[1] + 0x18);
    FUN_001145fd(pcVar3,puVar2[3],param_2);
    lVar1 = param_2[1];
    if (*(ulong *)(lVar1 + 0x20) < (ulong)(*(long *)(lVar1 + 0x38) - *(long *)(lVar1 + 0x30))) {
      FUN_00116f9b(lVar1);
    }
    *(long *)(lVar1 + 0x18) = (long)(int)uVar4;
  }
LAB_001148bd:
  *(undefined4 *)(param_2 + 3) = 0;
LAB_001148c4:
  FUN_00114210(param_2[1],param_1);
  return;
}

