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

_Bool __regparm3 check_and_close(int in_errno)

{
  undefined4 uVar1;
  char *pcVar2;
  int *piVar3;
  int iVar4;
  _Bool _Var5;
  byte *pbVar6;
  byte *pbVar7;
  bool bVar8;
  undefined1 uVar9;
  bool bVar10;
  undefined1 uVar11;
  byte bVar12;
  
  bVar12 = 0;
  _Var5 = true;
  if (in_stream == (FILE *)0x0) goto LAB_00013f67;
  bVar8 = false;
  bVar10 = (in_stream->_flags & 0x20) == 0;
  if (bVar10) {
    iVar4 = 2;
    pbVar6 = (byte *)file_list[-1];
    pbVar7 = &DAT_00020619;
    do {
      if (iVar4 == 0) break;
      iVar4 = iVar4 + -1;
      bVar8 = *pbVar6 < *pbVar7;
      bVar10 = *pbVar6 == *pbVar7;
      pbVar6 = pbVar6 + 1;
      pbVar7 = pbVar7 + 1;
    } while (bVar10);
    if ((!bVar8 && !bVar10) != bVar8) {
      iVar4 = rpl_fclose(in_stream);
      if (iVar4 != 0) {
        pcVar2 = quotearg_n_style_colon(0,shell_escape_quoting_style,input_filename);
        piVar3 = __errno_location();
        _Var5 = false;
        error(0,*piVar3,&DAT_0001fa94,pcVar2);
        goto LAB_00013f5d;
      }
    }
    _Var5 = true;
  }
  else {
    pcVar2 = quotearg_n_style_colon(0,shell_escape_quoting_style,input_filename);
    uVar9 = (undefined1 *)0xfffffff3 < &stack0xffffffe4;
    uVar11 = &stack0x00000000 == (undefined1 *)0x10;
    uVar1 = dcgettext();
    error(0,in_errno,uVar1,pcVar2);
    iVar4 = 2;
    pbVar6 = (byte *)file_list[-1];
    pbVar7 = &DAT_00020619;
    do {
      if (iVar4 == 0) break;
      iVar4 = iVar4 + -1;
      uVar9 = *pbVar6 < *pbVar7;
      uVar11 = *pbVar6 == *pbVar7;
      pbVar6 = pbVar6 + (uint)bVar12 * -2 + 1;
      pbVar7 = pbVar7 + (uint)bVar12 * -2 + 1;
    } while ((bool)uVar11);
    _Var5 = false;
    if ((!(bool)uVar9 && !(bool)uVar11) != (bool)uVar9) {
      rpl_fclose(in_stream);
    }
  }
LAB_00013f5d:
  in_stream = (FILE *)0x0;
LAB_00013f67:
  if ((**(byte **)PTR_stdout_00025fd4 & 0x20) == 0) {
    return _Var5;
  }
  dcgettext();
  error();
  return false;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4 __regparm3 FUN_00013f10(undefined4 param_1)

{
  undefined4 uVar1;
  int *piVar2;
  int iVar3;
  undefined4 uVar4;
  byte *pbVar5;
  byte *pbVar6;
  bool bVar7;
  undefined1 uVar8;
  bool bVar9;
  undefined1 uVar10;
  byte bVar11;
  byte *pbStack_1c;
  char *pcStack_18;
  undefined4 uStack_14;
  undefined4 uStack_10;
  
  bVar11 = 0;
  uVar4 = 1;
  uStack_10 = 0x13f1f;
  pbStack_1c = DAT_00026248;
  if (DAT_00026248 == (byte *)0x0) goto LAB_00013f67;
  bVar7 = false;
  bVar9 = (*DAT_00026248 & 0x20) == 0;
  if (bVar9) {
    iVar3 = 2;
    pbVar5 = *(byte **)(DAT_0002624c + -4);
    pbVar6 = &DAT_00020619;
    do {
      if (iVar3 == 0) break;
      iVar3 = iVar3 + -1;
      bVar7 = *pbVar5 < *pbVar6;
      bVar9 = *pbVar5 == *pbVar6;
      pbVar5 = pbVar5 + 1;
      pbVar6 = pbVar6 + 1;
    } while (bVar9);
    if ((!bVar7 && !bVar9) != bVar7) {
      iVar3 = FUN_00019ca0();
      if (iVar3 != 0) {
        uStack_14 = DAT_00026250;
        pcStack_18 = (char *)0x3;
        pbStack_1c = (byte *)0x0;
        uVar1 = FUN_00018130();
        piVar2 = __errno_location();
        uVar4 = 0;
        error(0,*piVar2,&DAT_0001fa94,uVar1);
        goto LAB_00013f5d;
      }
    }
    uVar4 = 1;
  }
  else {
    uStack_14 = DAT_00026250;
    pcStack_18 = (char *)0x3;
    pbStack_1c = (byte *)0x0;
    uVar4 = FUN_00018130();
    uVar8 = (undefined1 *)0xfffffff3 < &pbStack_1c;
    uVar10 = &stack0x00000000 == (undefined1 *)0x10;
    pcStack_18 = "%s: read error";
    uStack_14 = 5;
    pbStack_1c = (byte *)0x0;
    uVar1 = dcgettext();
    error(0,param_1,uVar1,uVar4);
    iVar3 = 2;
    pbVar5 = *(byte **)(DAT_0002624c + -4);
    pbVar6 = &DAT_00020619;
    do {
      if (iVar3 == 0) break;
      iVar3 = iVar3 + -1;
      uVar8 = *pbVar5 < *pbVar6;
      uVar10 = *pbVar5 == *pbVar6;
      pbVar5 = pbVar5 + (uint)bVar11 * -2 + 1;
      pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;
    } while ((bool)uVar10);
    uVar4 = 0;
    if ((!(bool)uVar8 && !(bool)uVar10) != (bool)uVar8) {
      pbStack_1c = DAT_00026248;
      FUN_00019ca0();
    }
  }
LAB_00013f5d:
  DAT_00026248 = (byte *)0x0;
LAB_00013f67:
  if ((**(byte **)PTR_stdout_00025fd4 & 0x20) == 0) {
    return uVar4;
  }
  pcStack_18 = "write error";
  uStack_14 = 5;
  pbStack_1c = (byte *)0x0;
  uStack_14 = dcgettext();
  pcStack_18 = (char *)0x0;
  pbStack_1c = (byte *)0x0;
  error();
  return 0;
}


PUSH EDI
MOV EDI,EAX
PUSH ESI
MOV ESI,0x1
PUSH EBX
CALL 0x00012850
ADD EBX,0x120e1
MOV EAX,dword ptr [EBX + 0x248]
TEST EAX,EAX
JZ 0x00013f67
TEST byte ptr [EAX],0x20
JNZ 0x00013f80
MOV EDX,dword ptr [EBX + 0x24c]
MOV ECX,0x2
LEA EDI,[EBX + 0xffffa619]
MOV ESI,dword ptr [EDX + -0x4]
CMPSB.REPE ES:EDI,ESI
SETA DL
SBB DL,0x0
TEST DL,DL
JNZ 0x00014020
MOV ESI,0x1
MOV dword ptr [EBX + 0x248],0x0
MOV EAX,dword ptr [EBX + 0xffffffd4]
MOV EAX,dword ptr [EAX]
TEST byte ptr [EAX],0x20
JNZ 0x00013ff0
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
RET
SUB ESP,0x4
PUSH dword ptr [EBX + 0x250]
PUSH 0x3
PUSH 0x0
CALL 0x00018130
ADD ESP,0xc
MOV ESI,EAX
LEA EAX,[EBX + 0xffff8044]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x00011100
PUSH ESI
PUSH EAX
PUSH EDI
LEA EDI,[EBX + 0xffffa619]
PUSH 0x0
CALL 0x000111b0
MOV EAX,dword ptr [EBX + 0x24c]
MOV ECX,0x2
MOV ESI,dword ptr [EAX + -0x4]
CMPSB.REPE ES:EDI,ESI
SETA AL
SBB AL,0x0
ADD ESP,0x20
XOR ESI,ESI
TEST AL,AL
JZ 0x00013f5d
SUB ESP,0xc
PUSH dword ptr [EBX + 0x248]
CALL 0x00019ca0
ADD ESP,0x10
JMP 0x00013f5d
SUB ESP,0x4
LEA EAX,[EBX + 0xffff8053]
XOR ESI,ESI
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x00011100
ADD ESP,0xc
PUSH EAX
PUSH 0x0
PUSH 0x0
CALL 0x000111b0
ADD ESP,0x10
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
RET
SUB ESP,0xc
PUSH EAX
CALL 0x00019ca0
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00013f58
SUB ESP,0x4
PUSH dword ptr [EBX + 0x250]
PUSH 0x3
PUSH 0x0
CALL 0x00018130
MOV ESI,EAX
CALL 0x000112b0
LEA EDX,[EBX + 0xffff9a94]
PUSH ESI
XOR ESI,ESI
PUSH EDX
PUSH dword ptr [EAX]
PUSH 0x0
CALL 0x000111b0
ADD ESP,0x20
JMP 0x00013f5d
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 __regparm3 FUN_00013f10(undefined4 param_1)\n\n{\n  undefined4 uVar1;\n  int *piVar2;\n  int iVar3;\n  undefined4 uVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  bool bVar7;\n  undefined1 uVar8;\n  bool bVar9;\n  undefined1 uVar10;\n  byte bVar11;\n  byte *pbStack_1c;\n  char *pcStack_18;\n  undefined4 uStack_14;\n  undefined4 uStack_10;\n  \n  bVar11 = 0;\n  uVar4 = 1;\n  uStack_10 = 0x13f1f;\n  pbStack_1c = DAT_00026248;\n  if (DAT_00026248 == (byte *)0x0) goto LAB_00013f67;\n  bVar7 = false;\n  bVar9 = (*DAT_00026248 & 0x20) == 0;\n  if (bVar9) {\n    iVar3 = 2;\n    pbVar5 = *(byte **)(DAT_0002624c + -4);\n    pbVar6 = &DAT_00020619;\n    do {\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      bVar7 = *pbVar5 < *pbVar6;\n      bVar9 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + 1;\n      pbVar6 = pbVar6 + 1;\n    } while (bVar9);\n    if ((!bVar7 && !bVar9) != bVar7) {\n      iVar3 = FUN_00019ca0();\n      if (iVar3 != 0) {\n        uStack_14 = DAT_00026250;\n        pcStack_18 = (char *)0x3;\n        pbStack_1c = (byte *)0x0;\n        uVar1 = FUN_00018130();\n        piVar2 = __errno_location();\n        uVar4 = 0;\n        error(0,*piVar2,&DAT_0001fa94,uVar1);\n        goto LAB_00013f5d;\n      }\n    }\n    uVar4 = 1;\n  }\n  else {\n    uStack_14 = DAT_00026250;\n    pcStack_18 = (char *)0x3;\n    pbStack_1c = (byte *)0x0;\n    uVar4 = FUN_00018130();\n    uVar8 = (undefined1 *)0xfffffff3 < &pbStack_1c;\n    uVar10 = &stack0x00000000 == (undefined1 *)0x10;\n    pcStack_18 = "%s: read error";\n    uStack_14 = 5;\n    pbStack_1c = (byte *)0x0;\n    uVar1 = dcgettext();\n    error(0,param_1,uVar1,uVar4);\n    iVar3 = 2;\n    pbVar5 = *(byte **)(DAT_0002624c + -4);\n    pbVar6 = &DAT_00020619;\n    do {\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      uVar8 = *pbVar5 < *pbVar6;\n      uVar10 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + (uint)bVar11 * -2 + 1;\n      pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n    } while ((bool)uVar10);\n    uVar4 = 0;\n    if ((!(bool)uVar8 && !(bool)uVar10) != (bool)uVar8) {\n      pbStack_1c = DAT_00026248;\n      FUN_00019ca0();\n    }\n  }\nLAB_00013f5d:\n  DAT_00026248 = (byte *)0x0;\nLAB_00013f67:\n  if ((**(byte **)PTR_stdout_00025fd4 & 0x20) == 0) {\n    return uVar4;\n  }\n  pcStack_18 = "write error";\n  uStack_14 = 5;\n  pbStack_1c = (byte *)0x0;\n  uStack_14 = dcgettext();\n  pcStack_18 = (char *)0x0;\n  pbStack_1c = (byte *)0x0;\n  error();\n  return 0;\n}\n\n" comment (function_definition "undefined4 __regparm3 FUN_00013f10(undefined4 param_1)\n\n{\n  undefined4 uVar1;\n  int *piVar2;\n  int iVar3;\n  undefined4 uVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  bool bVar7;\n  undefined1 uVar8;\n  bool bVar9;\n  undefined1 uVar10;\n  byte bVar11;\n  byte *pbStack_1c;\n  char *pcStack_18;\n  undefined4 uStack_14;\n  undefined4 uStack_10;\n  \n  bVar11 = 0;\n  uVar4 = 1;\n  uStack_10 = 0x13f1f;\n  pbStack_1c = DAT_00026248;\n  if (DAT_00026248 == (byte *)0x0) goto LAB_00013f67;\n  bVar7 = false;\n  bVar9 = (*DAT_00026248 & 0x20) == 0;\n  if (bVar9) {\n    iVar3 = 2;\n    pbVar5 = *(byte **)(DAT_0002624c + -4);\n    pbVar6 = &DAT_00020619;\n    do {\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      bVar7 = *pbVar5 < *pbVar6;\n      bVar9 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + 1;\n      pbVar6 = pbVar6 + 1;\n    } while (bVar9);\n    if ((!bVar7 && !bVar9) != bVar7) {\n      iVar3 = FUN_00019ca0();\n      if (iVar3 != 0) {\n        uStack_14 = DAT_00026250;\n        pcStack_18 = (char *)0x3;\n        pbStack_1c = (byte *)0x0;\n        uVar1 = FUN_00018130();\n        piVar2 = __errno_location();\n        uVar4 = 0;\n        error(0,*piVar2,&DAT_0001fa94,uVar1);\n        goto LAB_00013f5d;\n      }\n    }\n    uVar4 = 1;\n  }\n  else {\n    uStack_14 = DAT_00026250;\n    pcStack_18 = (char *)0x3;\n    pbStack_1c = (byte *)0x0;\n    uVar4 = FUN_00018130();\n    uVar8 = (undefined1 *)0xfffffff3 < &pbStack_1c;\n    uVar10 = &stack0x00000000 == (undefined1 *)0x10;\n    pcStack_18 = "%s: read error";\n    uStack_14 = 5;\n    pbStack_1c = (byte *)0x0;\n    uVar1 = dcgettext();\n    error(0,param_1,uVar1,uVar4);\n    iVar3 = 2;\n    pbVar5 = *(byte **)(DAT_0002624c + -4);\n    pbVar6 = &DAT_00020619;\n    do {\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      uVar8 = *pbVar5 < *pbVar6;\n      uVar10 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + (uint)bVar11 * -2 + 1;\n      pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n    } while ((bool)uVar10);\n    uVar4 = 0;\n    if ((!(bool)uVar8 && !(bool)uVar10) != (bool)uVar8) {\n      pbStack_1c = DAT_00026248;\n      FUN_00019ca0();\n    }\n  }\nLAB_00013f5d:\n  DAT_00026248 = (byte *)0x0;\nLAB_00013f67:\n  if ((**(byte **)PTR_stdout_00025fd4 & 0x20) == 0) {\n    return uVar4;\n  }\n  pcStack_18 = "write error";\n  uStack_14 = 5;\n  pbStack_1c = (byte *)0x0;\n  uStack_14 = dcgettext();\n  pcStack_18 = (char *)0x0;\n  pbStack_1c = (byte *)0x0;\n  error();\n  return 0;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_00013f10(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  int *piVar2;\n  int iVar3;\n  undefined4 uVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  bool bVar7;\n  undefined1 uVar8;\n  bool bVar9;\n  undefined1 uVar10;\n  byte bVar11;\n  byte *pbStack_1c;\n  char *pcStack_18;\n  undefined4 uStack_14;\n  undefined4 uStack_10;\n  \n  bVar11 = 0;\n  uVar4 = 1;\n  uStack_10 = 0x13f1f;\n  pbStack_1c = DAT_00026248;\n  if (DAT_00026248 == (byte *)0x0) goto LAB_00013f67;\n  bVar7 = false;\n  bVar9 = (*DAT_00026248 & 0x20) == 0;\n  if (bVar9) {\n    iVar3 = 2;\n    pbVar5 = *(byte **)(DAT_0002624c + -4);\n    pbVar6 = &DAT_00020619;\n    do {\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      bVar7 = *pbVar5 < *pbVar6;\n      bVar9 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + 1;\n      pbVar6 = pbVar6 + 1;\n    } while (bVar9);\n    if ((!bVar7 && !bVar9) != bVar7) {\n      iVar3 = FUN_00019ca0();\n      if (iVar3 != 0) {\n        uStack_14 = DAT_00026250;\n        pcStack_18 = (char *)0x3;\n        pbStack_1c = (byte *)0x0;\n        uVar1 = FUN_00018130();\n        piVar2 = __errno_location();\n        uVar4 = 0;\n        error(0,*piVar2,&DAT_0001fa94,uVar1);\n        goto LAB_00013f5d;\n      }\n    }\n    uVar4 = 1;\n  }\n  else {\n    uStack_14 = DAT_00026250;\n    pcStack_18 = (char *)0x3;\n    pbStack_1c = (byte *)0x0;\n    uVar4 = FUN_00018130();\n    uVar8 = (undefined1 *)0xfffffff3 < &pbStack_1c;\n    uVar10 = &stack0x00000000 == (undefined1 *)0x10;\n    pcStack_18 = "%s: read error";\n    uStack_14 = 5;\n    pbStack_1c = (byte *)0x0;\n    uVar1 = dcgettext();\n    error(0,param_1,uVar1,uVar4);\n    iVar3 = 2;\n    pbVar5 = *(byte **)(DAT_0002624c + -4);\n    pbVar6 = &DAT_00020619;\n    do {\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      uVar8 = *pbVar5 < *pbVar6;\n      uVar10 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + (uint)bVar11 * -2 + 1;\n      pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n    } while ((bool)uVar10);\n    uVar4 = 0;\n    if ((!(bool)uVar8 && !(bool)uVar10) != (bool)uVar8) {\n      pbStack_1c = DAT_00026248;\n      FUN_00019ca0();\n    }\n  }\nLAB_00013f5d:\n  DAT_00026248 = (byte *)0x0;\nLAB_00013f67:\n  if ((**(byte **)PTR_stdout_00025fd4 & 0x20) == 0) {\n    return uVar4;\n  }\n  pcStack_18 = "write error";\n  uStack_14 = 5;\n  pbStack_1c = (byte *)0x0;\n  uStack_14 = dcgettext();\n  pcStack_18 = (char *)0x0;\n  pbStack_1c = (byte *)0x0;\n  error();\n  return 0;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "bool bVar7;" primitive_type identifier ;) (declaration "undefined1 uVar8;" type_identifier identifier ;) (declaration "bool bVar9;" primitive_type identifier ;) (declaration "undefined1 uVar10;" type_identifier identifier ;) (declaration "byte bVar11;" type_identifier identifier ;) (declaration "byte *pbStack_1c;" type_identifier (pointer_declarator "*pbStack_1c" * identifier) ;) (declaration "char *pcStack_18;" primitive_type (pointer_declarator "*pcStack_18" * identifier) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (declaration "undefined4 uStack_10;" type_identifier identifier ;) (expression_statement "bVar11 = 0;" (assignment_expression "bVar11 = 0" identifier = number_literal) ;) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" identifier = number_literal) ;) (expression_statement "uStack_10 = 0x13f1f;" (assignment_expression "uStack_10 = 0x13f1f" identifier = number_literal) ;) (expression_statement "pbStack_1c = DAT_00026248;" (assignment_expression "pbStack_1c = DAT_00026248" identifier = identifier) ;) (if_statement "if (DAT_00026248 == (byte *)0x0) goto LAB_00013f67;" if (parenthesized_expression "(DAT_00026248 == (byte *)0x0)" ( (binary_expression "DAT_00026248 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00013f67;" goto statement_identifier ;)) (expression_statement "bVar7 = false;" (assignment_expression "bVar7 = false" identifier = false) ;) (expression_statement "bVar9 = (*DAT_00026248 & 0x20) == 0;" (assignment_expression "bVar9 = (*DAT_00026248 & 0x20) == 0" identifier = (binary_expression "(*DAT_00026248 & 0x20) == 0" (parenthesized_expression "(*DAT_00026248 & 0x20)" ( (binary_expression "*DAT_00026248 & 0x20" (pointer_expression "*DAT_00026248" * identifier) & number_literal) )) == number_literal)) ;) (if_statement "if (bVar9) {\n    iVar3 = 2;\n    pbVar5 = *(byte **)(DAT_0002624c + -4);\n    pbVar6 = &DAT_00020619;\n    do {\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      bVar7 = *pbVar5 < *pbVar6;\n      bVar9 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + 1;\n      pbVar6 = pbVar6 + 1;\n    } while (bVar9);\n    if ((!bVar7 && !bVar9) != bVar7) {\n      iVar3 = FUN_00019ca0();\n      if (iVar3 != 0) {\n        uStack_14 = DAT_00026250;\n        pcStack_18 = (char *)0x3;\n        pbStack_1c = (byte *)0x0;\n        uVar1 = FUN_00018130();\n        piVar2 = __errno_location();\n        uVar4 = 0;\n        error(0,*piVar2,&DAT_0001fa94,uVar1);\n        goto LAB_00013f5d;\n      }\n    }\n    uVar4 = 1;\n  }\n  else {\n    uStack_14 = DAT_00026250;\n    pcStack_18 = (char *)0x3;\n    pbStack_1c = (byte *)0x0;\n    uVar4 = FUN_00018130();\n    uVar8 = (undefined1 *)0xfffffff3 < &pbStack_1c;\n    uVar10 = &stack0x00000000 == (undefined1 *)0x10;\n    pcStack_18 = "%s: read error";\n    uStack_14 = 5;\n    pbStack_1c = (byte *)0x0;\n    uVar1 = dcgettext();\n    error(0,param_1,uVar1,uVar4);\n    iVar3 = 2;\n    pbVar5 = *(byte **)(DAT_0002624c + -4);\n    pbVar6 = &DAT_00020619;\n    do {\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      uVar8 = *pbVar5 < *pbVar6;\n      uVar10 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + (uint)bVar11 * -2 + 1;\n      pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n    } while ((bool)uVar10);\n    uVar4 = 0;\n    if ((!(bool)uVar8 && !(bool)uVar10) != (bool)uVar8) {\n      pbStack_1c = DAT_00026248;\n      FUN_00019ca0();\n    }\n  }" if (parenthesized_expression "(bVar9)" ( identifier )) (compound_statement "{\n    iVar3 = 2;\n    pbVar5 = *(byte **)(DAT_0002624c + -4);\n    pbVar6 = &DAT_00020619;\n    do {\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      bVar7 = *pbVar5 < *pbVar6;\n      bVar9 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + 1;\n      pbVar6 = pbVar6 + 1;\n    } while (bVar9);\n    if ((!bVar7 && !bVar9) != bVar7) {\n      iVar3 = FUN_00019ca0();\n      if (iVar3 != 0) {\n        uStack_14 = DAT_00026250;\n        pcStack_18 = (char *)0x3;\n        pbStack_1c = (byte *)0x0;\n        uVar1 = FUN_00018130();\n        piVar2 = __errno_location();\n        uVar4 = 0;\n        error(0,*piVar2,&DAT_0001fa94,uVar1);\n        goto LAB_00013f5d;\n      }\n    }\n    uVar4 = 1;\n  }" { (expression_statement "iVar3 = 2;" (assignment_expression "iVar3 = 2" identifier = number_literal) ;) (expression_statement "pbVar5 = *(byte **)(DAT_0002624c + -4);" (assignment_expression "pbVar5 = *(byte **)(DAT_0002624c + -4)" identifier = (pointer_expression "*(byte **)(DAT_0002624c + -4)" * (cast_expression "(byte **)(DAT_0002624c + -4)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_0002624c + -4)" ( (binary_expression "DAT_0002624c + -4" identifier + number_literal) ))))) ;) (expression_statement "pbVar6 = &DAT_00020619;" (assignment_expression "pbVar6 = &DAT_00020619" identifier = (pointer_expression "&DAT_00020619" & identifier)) ;) (do_statement "do {\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      bVar7 = *pbVar5 < *pbVar6;\n      bVar9 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + 1;\n      pbVar6 = pbVar6 + 1;\n    } while (bVar9);" do (compound_statement "{\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      bVar7 = *pbVar5 < *pbVar6;\n      bVar9 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + 1;\n      pbVar6 = pbVar6 + 1;\n    }" { (if_statement "if (iVar3 == 0) break;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) (expression_statement "bVar7 = *pbVar5 < *pbVar6;" (assignment_expression "bVar7 = *pbVar5 < *pbVar6" identifier = (binary_expression "*pbVar5 < *pbVar6" (pointer_expression "*pbVar5" * identifier) < (pointer_expression "*pbVar6" * identifier))) ;) (expression_statement "bVar9 = *pbVar5 == *pbVar6;" (assignment_expression "bVar9 = *pbVar5 == *pbVar6" identifier = (binary_expression "*pbVar5 == *pbVar6" (pointer_expression "*pbVar5" * identifier) == (pointer_expression "*pbVar6" * identifier))) ;) (expression_statement "pbVar5 = pbVar5 + 1;" (assignment_expression "pbVar5 = pbVar5 + 1" identifier = (binary_expression "pbVar5 + 1" identifier + number_literal)) ;) (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar9)" ( identifier )) ;) (if_statement "if ((!bVar7 && !bVar9) != bVar7) {\n      iVar3 = FUN_00019ca0();\n      if (iVar3 != 0) {\n        uStack_14 = DAT_00026250;\n        pcStack_18 = (char *)0x3;\n        pbStack_1c = (byte *)0x0;\n        uVar1 = FUN_00018130();\n        piVar2 = __errno_location();\n        uVar4 = 0;\n        error(0,*piVar2,&DAT_0001fa94,uVar1);\n        goto LAB_00013f5d;\n      }\n    }" if (parenthesized_expression "((!bVar7 && !bVar9) != bVar7)" ( (binary_expression "(!bVar7 && !bVar9) != bVar7" (parenthesized_expression "(!bVar7 && !bVar9)" ( (binary_expression "!bVar7 && !bVar9" (unary_expression "!bVar7" ! identifier) && (unary_expression "!bVar9" ! identifier)) )) != identifier) )) (compound_statement "{\n      iVar3 = FUN_00019ca0();\n      if (iVar3 != 0) {\n        uStack_14 = DAT_00026250;\n        pcStack_18 = (char *)0x3;\n        pbStack_1c = (byte *)0x0;\n        uVar1 = FUN_00018130();\n        piVar2 = __errno_location();\n        uVar4 = 0;\n        error(0,*piVar2,&DAT_0001fa94,uVar1);\n        goto LAB_00013f5d;\n      }\n    }" { (expression_statement "iVar3 = FUN_00019ca0();" (assignment_expression "iVar3 = FUN_00019ca0()" identifier = (call_expression "FUN_00019ca0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar3 != 0) {\n        uStack_14 = DAT_00026250;\n        pcStack_18 = (char *)0x3;\n        pbStack_1c = (byte *)0x0;\n        uVar1 = FUN_00018130();\n        piVar2 = __errno_location();\n        uVar4 = 0;\n        error(0,*piVar2,&DAT_0001fa94,uVar1);\n        goto LAB_00013f5d;\n      }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n        uStack_14 = DAT_00026250;\n        pcStack_18 = (char *)0x3;\n        pbStack_1c = (byte *)0x0;\n        uVar1 = FUN_00018130();\n        piVar2 = __errno_location();\n        uVar4 = 0;\n        error(0,*piVar2,&DAT_0001fa94,uVar1);\n        goto LAB_00013f5d;\n      }" { (expression_statement "uStack_14 = DAT_00026250;" (assignment_expression "uStack_14 = DAT_00026250" identifier = identifier) ;) (expression_statement "pcStack_18 = (char *)0x3;" (assignment_expression "pcStack_18 = (char *)0x3" identifier = (cast_expression "(char *)0x3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pbStack_1c = (byte *)0x0;" (assignment_expression "pbStack_1c = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "uVar1 = FUN_00018130();" (assignment_expression "uVar1 = FUN_00018130()" identifier = (call_expression "FUN_00018130()" identifier (argument_list "()" ( )))) ;) (expression_statement "piVar2 = __errno_location();" (assignment_expression "piVar2 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "error(0,*piVar2,&DAT_0001fa94,uVar1);" (call_expression "error(0,*piVar2,&DAT_0001fa94,uVar1)" identifier (argument_list "(0,*piVar2,&DAT_0001fa94,uVar1)" ( number_literal , (pointer_expression "*piVar2" * identifier) , (pointer_expression "&DAT_0001fa94" & identifier) , identifier ))) ;) (goto_statement "goto LAB_00013f5d;" goto statement_identifier ;) })) })) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" identifier = number_literal) ;) }) (else_clause "else {\n    uStack_14 = DAT_00026250;\n    pcStack_18 = (char *)0x3;\n    pbStack_1c = (byte *)0x0;\n    uVar4 = FUN_00018130();\n    uVar8 = (undefined1 *)0xfffffff3 < &pbStack_1c;\n    uVar10 = &stack0x00000000 == (undefined1 *)0x10;\n    pcStack_18 = "%s: read error";\n    uStack_14 = 5;\n    pbStack_1c = (byte *)0x0;\n    uVar1 = dcgettext();\n    error(0,param_1,uVar1,uVar4);\n    iVar3 = 2;\n    pbVar5 = *(byte **)(DAT_0002624c + -4);\n    pbVar6 = &DAT_00020619;\n    do {\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      uVar8 = *pbVar5 < *pbVar6;\n      uVar10 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + (uint)bVar11 * -2 + 1;\n      pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n    } while ((bool)uVar10);\n    uVar4 = 0;\n    if ((!(bool)uVar8 && !(bool)uVar10) != (bool)uVar8) {\n      pbStack_1c = DAT_00026248;\n      FUN_00019ca0();\n    }\n  }" else (compound_statement "{\n    uStack_14 = DAT_00026250;\n    pcStack_18 = (char *)0x3;\n    pbStack_1c = (byte *)0x0;\n    uVar4 = FUN_00018130();\n    uVar8 = (undefined1 *)0xfffffff3 < &pbStack_1c;\n    uVar10 = &stack0x00000000 == (undefined1 *)0x10;\n    pcStack_18 = "%s: read error";\n    uStack_14 = 5;\n    pbStack_1c = (byte *)0x0;\n    uVar1 = dcgettext();\n    error(0,param_1,uVar1,uVar4);\n    iVar3 = 2;\n    pbVar5 = *(byte **)(DAT_0002624c + -4);\n    pbVar6 = &DAT_00020619;\n    do {\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      uVar8 = *pbVar5 < *pbVar6;\n      uVar10 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + (uint)bVar11 * -2 + 1;\n      pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n    } while ((bool)uVar10);\n    uVar4 = 0;\n    if ((!(bool)uVar8 && !(bool)uVar10) != (bool)uVar8) {\n      pbStack_1c = DAT_00026248;\n      FUN_00019ca0();\n    }\n  }" { (expression_statement "uStack_14 = DAT_00026250;" (assignment_expression "uStack_14 = DAT_00026250" identifier = identifier) ;) (expression_statement "pcStack_18 = (char *)0x3;" (assignment_expression "pcStack_18 = (char *)0x3" identifier = (cast_expression "(char *)0x3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pbStack_1c = (byte *)0x0;" (assignment_expression "pbStack_1c = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "uVar4 = FUN_00018130();" (assignment_expression "uVar4 = FUN_00018130()" identifier = (call_expression "FUN_00018130()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar8 = (undefined1 *)0xfffffff3 < &pbStack_1c;" (assignment_expression "uVar8 = (undefined1 *)0xfffffff3 < &pbStack_1c" identifier = (binary_expression "(undefined1 *)0xfffffff3 < &pbStack_1c" (cast_expression "(undefined1 *)0xfffffff3" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) < (pointer_expression "&pbStack_1c" & identifier))) ;) (expression_statement "uVar10 = &stack0x00000000 == (undefined1 *)0x10;" (assignment_expression "uVar10 = &stack0x00000000 == (undefined1 *)0x10" identifier = (binary_expression "&stack0x00000000 == (undefined1 *)0x10" (pointer_expression "&stack0x00000000" & identifier) == (cast_expression "(undefined1 *)0x10" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (expression_statement "pcStack_18 = "%s: read error";" (assignment_expression "pcStack_18 = "%s: read error"" identifier = (string_literal ""%s: read error"" " string_content ")) ;) (expression_statement "uStack_14 = 5;" (assignment_expression "uStack_14 = 5" identifier = number_literal) ;) (expression_statement "pbStack_1c = (byte *)0x0;" (assignment_expression "pbStack_1c = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "uVar1 = dcgettext();" (assignment_expression "uVar1 = dcgettext()" identifier = (call_expression "dcgettext()" identifier (argument_list "()" ( )))) ;) (expression_statement "error(0,param_1,uVar1,uVar4);" (call_expression "error(0,param_1,uVar1,uVar4)" identifier (argument_list "(0,param_1,uVar1,uVar4)" ( number_literal , identifier , identifier , identifier ))) ;) (expression_statement "iVar3 = 2;" (assignment_expression "iVar3 = 2" identifier = number_literal) ;) (expression_statement "pbVar5 = *(byte **)(DAT_0002624c + -4);" (assignment_expression "pbVar5 = *(byte **)(DAT_0002624c + -4)" identifier = (pointer_expression "*(byte **)(DAT_0002624c + -4)" * (cast_expression "(byte **)(DAT_0002624c + -4)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_0002624c + -4)" ( (binary_expression "DAT_0002624c + -4" identifier + number_literal) ))))) ;) (expression_statement "pbVar6 = &DAT_00020619;" (assignment_expression "pbVar6 = &DAT_00020619" identifier = (pointer_expression "&DAT_00020619" & identifier)) ;) (do_statement "do {\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      uVar8 = *pbVar5 < *pbVar6;\n      uVar10 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + (uint)bVar11 * -2 + 1;\n      pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n    } while ((bool)uVar10);" do (compound_statement "{\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      uVar8 = *pbVar5 < *pbVar6;\n      uVar10 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + (uint)bVar11 * -2 + 1;\n      pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n    }" { (if_statement "if (iVar3 == 0) break;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) (expression_statement "uVar8 = *pbVar5 < *pbVar6;" (assignment_expression "uVar8 = *pbVar5 < *pbVar6" identifier = (binary_expression "*pbVar5 < *pbVar6" (pointer_expression "*pbVar5" * identifier) < (pointer_expression "*pbVar6" * identifier))) ;) (expression_statement "uVar10 = *pbVar5 == *pbVar6;" (assignment_expression "uVar10 = *pbVar5 == *pbVar6" identifier = (binary_expression "*pbVar5 == *pbVar6" (pointer_expression "*pbVar5" * identifier) == (pointer_expression "*pbVar6" * identifier))) ;) (expression_statement "pbVar5 = pbVar5 + (uint)bVar11 * -2 + 1;" (assignment_expression "pbVar5 = pbVar5 + (uint)bVar11 * -2 + 1" identifier = (binary_expression "pbVar5 + (uint)bVar11 * -2 + 1" (binary_expression "pbVar5 + (uint)bVar11 * -2" identifier + (binary_expression "(uint)bVar11 * -2" (cast_expression "(uint)bVar11" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;" (assignment_expression "pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1" identifier = (binary_expression "pbVar6 + (uint)bVar11 * -2 + 1" (binary_expression "pbVar6 + (uint)bVar11 * -2" identifier + (binary_expression "(uint)bVar11 * -2" (cast_expression "(uint)bVar11" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "((bool)uVar10)" ( (cast_expression "(bool)uVar10" ( (type_descriptor "bool" primitive_type) ) identifier) )) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (if_statement "if ((!(bool)uVar8 && !(bool)uVar10) != (bool)uVar8) {\n      pbStack_1c = DAT_00026248;\n      FUN_00019ca0();\n    }" if (parenthesized_expression "((!(bool)uVar8 && !(bool)uVar10) != (bool)uVar8)" ( (binary_expression "(!(bool)uVar8 && !(bool)uVar10) != (bool)uVar8" (parenthesized_expression "(!(bool)uVar8 && !(bool)uVar10)" ( (binary_expression "!(bool)uVar8 && !(bool)uVar10" (unary_expression "!(bool)uVar8" ! (cast_expression "(bool)uVar8" ( (type_descriptor "bool" primitive_type) ) identifier)) && (unary_expression "!(bool)uVar10" ! (cast_expression "(bool)uVar10" ( (type_descriptor "bool" primitive_type) ) identifier))) )) != (cast_expression "(bool)uVar8" ( (type_descriptor "bool" primitive_type) ) identifier)) )) (compound_statement "{\n      pbStack_1c = DAT_00026248;\n      FUN_00019ca0();\n    }" { (expression_statement "pbStack_1c = DAT_00026248;" (assignment_expression "pbStack_1c = DAT_00026248" identifier = identifier) ;) (expression_statement "FUN_00019ca0();" (call_expression "FUN_00019ca0()" identifier (argument_list "()" ( ))) ;) })) }))) (labeled_statement "LAB_00013f5d:\n  DAT_00026248 = (byte *)0x0;" statement_identifier : (expression_statement "DAT_00026248 = (byte *)0x0;" (assignment_expression "DAT_00026248 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) (labeled_statement "LAB_00013f67:\n  if ((**(byte **)PTR_stdout_00025fd4 & 0x20) == 0) {\n    return uVar4;\n  }" statement_identifier : (if_statement "if ((**(byte **)PTR_stdout_00025fd4 & 0x20) == 0) {\n    return uVar4;\n  }" if (parenthesized_expression "((**(byte **)PTR_stdout_00025fd4 & 0x20) == 0)" ( (binary_expression "(**(byte **)PTR_stdout_00025fd4 & 0x20) == 0" (parenthesized_expression "(**(byte **)PTR_stdout_00025fd4 & 0x20)" ( (binary_expression "**(byte **)PTR_stdout_00025fd4 & 0x20" (pointer_expression "**(byte **)PTR_stdout_00025fd4" * (pointer_expression "*(byte **)PTR_stdout_00025fd4" * (cast_expression "(byte **)PTR_stdout_00025fd4" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) & number_literal) )) == number_literal) )) (compound_statement "{\n    return uVar4;\n  }" { (return_statement "return uVar4;" return identifier ;) }))) (expression_statement "pcStack_18 = "write error";" (assignment_expression "pcStack_18 = "write error"" identifier = (string_literal ""write error"" " string_content ")) ;) (expression_statement "uStack_14 = 5;" (assignment_expression "uStack_14 = 5" identifier = number_literal) ;) (expression_statement "pbStack_1c = (byte *)0x0;" (assignment_expression "pbStack_1c = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "uStack_14 = dcgettext();" (assignment_expression "uStack_14 = dcgettext()" identifier = (call_expression "dcgettext()" identifier (argument_list "()" ( )))) ;) (expression_statement "pcStack_18 = (char *)0x0;" (assignment_expression "pcStack_18 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pbStack_1c = (byte *)0x0;" (assignment_expression "pbStack_1c = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "error();" (call_expression "error()" identifier (argument_list "()" ( ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\n_Bool __regparm3 check_and_close(int in_errno)\n\n{\n  undefined4 uVar1;\n  char *pcVar2;\n  int *piVar3;\n  int iVar4;\n  _Bool _Var5;\n  byte *pbVar6;\n  byte *pbVar7;\n  bool bVar8;\n  undefined1 uVar9;\n  bool bVar10;\n  undefined1 uVar11;\n  byte bVar12;\n  \n  bVar12 = 0;\n  _Var5 = true;\n  if (in_stream == (FILE *)0x0) goto LAB_00013f67;\n  bVar8 = false;\n  bVar10 = (in_stream->_flags & 0x20) == 0;\n  if (bVar10) {\n    iVar4 = 2;\n    pbVar6 = (byte *)file_list[-1];\n    pbVar7 = &DAT_00020619;\n    do {\n      if (iVar4 == 0) break;\n      iVar4 = iVar4 + -1;\n      bVar8 = *pbVar6 < *pbVar7;\n      bVar10 = *pbVar6 == *pbVar7;\n      pbVar6 = pbVar6 + 1;\n      pbVar7 = pbVar7 + 1;\n    } while (bVar10);\n    if ((!bVar8 && !bVar10) != bVar8) {\n      iVar4 = rpl_fclose(in_stream);\n      if (iVar4 != 0) {\n        pcVar2 = quotearg_n_style_colon(0,shell_escape_quoting_style,input_filename);\n        piVar3 = __errno_location();\n        _Var5 = false;\n        error(0,*piVar3,&DAT_0001fa94,pcVar2);\n        goto LAB_00013f5d;\n      }\n    }\n    _Var5 = true;\n  }\n  else {\n    pcVar2 = quotearg_n_style_colon(0,shell_escape_quoting_style,input_filename);\n    uVar9 = (undefined1 *)0xfffffff3 < &stack0xffffffe4;\n    uVar11 = &stack0x00000000 == (undefined1 *)0x10;\n    uVar1 = dcgettext();\n    error(0,in_errno,uVar1,pcVar2);\n    iVar4 = 2;\n    pbVar6 = (byte *)file_list[-1];\n    pbVar7 = &DAT_00020619;\n    do {\n      if (iVar4 == 0) break;\n      iVar4 = iVar4 + -1;\n      uVar9 = *pbVar6 < *pbVar7;\n      uVar11 = *pbVar6 == *pbVar7;\n      pbVar6 = pbVar6 + (uint)bVar12 * -2 + 1;\n      pbVar7 = pbVar7 + (uint)bVar12 * -2 + 1;\n    } while ((bool)uVar11);\n    _Var5 = false;\n    if ((!(bool)uVar9 && !(bool)uVar11) != (bool)uVar9) {\n      rpl_fclose(in_stream);\n    }\n  }\nLAB_00013f5d:\n  in_stream = (FILE *)0x0;\nLAB_00013f67:\n  if ((**(byte **)PTR_stdout_00025fd4 & 0x20) == 0) {\n    return _Var5;\n  }\n  dcgettext();\n  error();\n  return false;\n}\n\n" comment (function_definition "_Bool __regparm3 check_and_close(int in_errno)\n\n{\n  undefined4 uVar1;\n  char *pcVar2;\n  int *piVar3;\n  int iVar4;\n  _Bool _Var5;\n  byte *pbVar6;\n  byte *pbVar7;\n  bool bVar8;\n  undefined1 uVar9;\n  bool bVar10;\n  undefined1 uVar11;\n  byte bVar12;\n  \n  bVar12 = 0;\n  _Var5 = true;\n  if (in_stream == (FILE *)0x0) goto LAB_00013f67;\n  bVar8 = false;\n  bVar10 = (in_stream->_flags & 0x20) == 0;\n  if (bVar10) {\n    iVar4 = 2;\n    pbVar6 = (byte *)file_list[-1];\n    pbVar7 = &DAT_00020619;\n    do {\n      if (iVar4 == 0) break;\n      iVar4 = iVar4 + -1;\n      bVar8 = *pbVar6 < *pbVar7;\n      bVar10 = *pbVar6 == *pbVar7;\n      pbVar6 = pbVar6 + 1;\n      pbVar7 = pbVar7 + 1;\n    } while (bVar10);\n    if ((!bVar8 && !bVar10) != bVar8) {\n      iVar4 = rpl_fclose(in_stream);\n      if (iVar4 != 0) {\n        pcVar2 = quotearg_n_style_colon(0,shell_escape_quoting_style,input_filename);\n        piVar3 = __errno_location();\n        _Var5 = false;\n        error(0,*piVar3,&DAT_0001fa94,pcVar2);\n        goto LAB_00013f5d;\n      }\n    }\n    _Var5 = true;\n  }\n  else {\n    pcVar2 = quotearg_n_style_colon(0,shell_escape_quoting_style,input_filename);\n    uVar9 = (undefined1 *)0xfffffff3 < &stack0xffffffe4;\n    uVar11 = &stack0x00000000 == (undefined1 *)0x10;\n    uVar1 = dcgettext();\n    error(0,in_errno,uVar1,pcVar2);\n    iVar4 = 2;\n    pbVar6 = (byte *)file_list[-1];\n    pbVar7 = &DAT_00020619;\n    do {\n      if (iVar4 == 0) break;\n      iVar4 = iVar4 + -1;\n      uVar9 = *pbVar6 < *pbVar7;\n      uVar11 = *pbVar6 == *pbVar7;\n      pbVar6 = pbVar6 + (uint)bVar12 * -2 + 1;\n      pbVar7 = pbVar7 + (uint)bVar12 * -2 + 1;\n    } while ((bool)uVar11);\n    _Var5 = false;\n    if ((!(bool)uVar9 && !(bool)uVar11) != (bool)uVar9) {\n      rpl_fclose(in_stream);\n    }\n  }\nLAB_00013f5d:\n  in_stream = (FILE *)0x0;\nLAB_00013f67:\n  if ((**(byte **)PTR_stdout_00025fd4 & 0x20) == 0) {\n    return _Var5;\n  }\n  dcgettext();\n  error();\n  return false;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "check_and_close(int in_errno)" identifier (parameter_list "(int in_errno)" ( (parameter_declaration "int in_errno" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  char *pcVar2;\n  int *piVar3;\n  int iVar4;\n  _Bool _Var5;\n  byte *pbVar6;\n  byte *pbVar7;\n  bool bVar8;\n  undefined1 uVar9;\n  bool bVar10;\n  undefined1 uVar11;\n  byte bVar12;\n  \n  bVar12 = 0;\n  _Var5 = true;\n  if (in_stream == (FILE *)0x0) goto LAB_00013f67;\n  bVar8 = false;\n  bVar10 = (in_stream->_flags & 0x20) == 0;\n  if (bVar10) {\n    iVar4 = 2;\n    pbVar6 = (byte *)file_list[-1];\n    pbVar7 = &DAT_00020619;\n    do {\n      if (iVar4 == 0) break;\n      iVar4 = iVar4 + -1;\n      bVar8 = *pbVar6 < *pbVar7;\n      bVar10 = *pbVar6 == *pbVar7;\n      pbVar6 = pbVar6 + 1;\n      pbVar7 = pbVar7 + 1;\n    } while (bVar10);\n    if ((!bVar8 && !bVar10) != bVar8) {\n      iVar4 = rpl_fclose(in_stream);\n      if (iVar4 != 0) {\n        pcVar2 = quotearg_n_style_colon(0,shell_escape_quoting_style,input_filename);\n        piVar3 = __errno_location();\n        _Var5 = false;\n        error(0,*piVar3,&DAT_0001fa94,pcVar2);\n        goto LAB_00013f5d;\n      }\n    }\n    _Var5 = true;\n  }\n  else {\n    pcVar2 = quotearg_n_style_colon(0,shell_escape_quoting_style,input_filename);\n    uVar9 = (undefined1 *)0xfffffff3 < &stack0xffffffe4;\n    uVar11 = &stack0x00000000 == (undefined1 *)0x10;\n    uVar1 = dcgettext();\n    error(0,in_errno,uVar1,pcVar2);\n    iVar4 = 2;\n    pbVar6 = (byte *)file_list[-1];\n    pbVar7 = &DAT_00020619;\n    do {\n      if (iVar4 == 0) break;\n      iVar4 = iVar4 + -1;\n      uVar9 = *pbVar6 < *pbVar7;\n      uVar11 = *pbVar6 == *pbVar7;\n      pbVar6 = pbVar6 + (uint)bVar12 * -2 + 1;\n      pbVar7 = pbVar7 + (uint)bVar12 * -2 + 1;\n    } while ((bool)uVar11);\n    _Var5 = false;\n    if ((!(bool)uVar9 && !(bool)uVar11) != (bool)uVar9) {\n      rpl_fclose(in_stream);\n    }\n  }\nLAB_00013f5d:\n  in_stream = (FILE *)0x0;\nLAB_00013f67:\n  if ((**(byte **)PTR_stdout_00025fd4 & 0x20) == 0) {\n    return _Var5;\n  }\n  dcgettext();\n  error();\n  return false;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "_Bool _Var5;" type_identifier identifier ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "bool bVar8;" primitive_type identifier ;) (declaration "undefined1 uVar9;" type_identifier identifier ;) (declaration "bool bVar10;" primitive_type identifier ;) (declaration "undefined1 uVar11;" type_identifier identifier ;) (declaration "byte bVar12;" type_identifier identifier ;) (expression_statement "bVar12 = 0;" (assignment_expression "bVar12 = 0" identifier = number_literal) ;) (expression_statement "_Var5 = true;" (assignment_expression "_Var5 = true" identifier = true) ;) (if_statement "if (in_stream == (FILE *)0x0) goto LAB_00013f67;" if (parenthesized_expression "(in_stream == (FILE *)0x0)" ( (binary_expression "in_stream == (FILE *)0x0" identifier == (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00013f67;" goto statement_identifier ;)) (expression_statement "bVar8 = false;" (assignment_expression "bVar8 = false" identifier = false) ;) (expression_statement "bVar10 = (in_stream->_flags & 0x20) == 0;" (assignment_expression "bVar10 = (in_stream->_flags & 0x20) == 0" identifier = (binary_expression "(in_stream->_flags & 0x20) == 0" (parenthesized_expression "(in_stream->_flags & 0x20)" ( (binary_expression "in_stream->_flags & 0x20" (field_expression "in_stream->_flags" identifier -> field_identifier) & number_literal) )) == number_literal)) ;) (if_statement "if (bVar10) {\n    iVar4 = 2;\n    pbVar6 = (byte *)file_list[-1];\n    pbVar7 = &DAT_00020619;\n    do {\n      if (iVar4 == 0) break;\n      iVar4 = iVar4 + -1;\n      bVar8 = *pbVar6 < *pbVar7;\n      bVar10 = *pbVar6 == *pbVar7;\n      pbVar6 = pbVar6 + 1;\n      pbVar7 = pbVar7 + 1;\n    } while (bVar10);\n    if ((!bVar8 && !bVar10) != bVar8) {\n      iVar4 = rpl_fclose(in_stream);\n      if (iVar4 != 0) {\n        pcVar2 = quotearg_n_style_colon(0,shell_escape_quoting_style,input_filename);\n        piVar3 = __errno_location();\n        _Var5 = false;\n        error(0,*piVar3,&DAT_0001fa94,pcVar2);\n        goto LAB_00013f5d;\n      }\n    }\n    _Var5 = true;\n  }\n  else {\n    pcVar2 = quotearg_n_style_colon(0,shell_escape_quoting_style,input_filename);\n    uVar9 = (undefined1 *)0xfffffff3 < &stack0xffffffe4;\n    uVar11 = &stack0x00000000 == (undefined1 *)0x10;\n    uVar1 = dcgettext();\n    error(0,in_errno,uVar1,pcVar2);\n    iVar4 = 2;\n    pbVar6 = (byte *)file_list[-1];\n    pbVar7 = &DAT_00020619;\n    do {\n      if (iVar4 == 0) break;\n      iVar4 = iVar4 + -1;\n      uVar9 = *pbVar6 < *pbVar7;\n      uVar11 = *pbVar6 == *pbVar7;\n      pbVar6 = pbVar6 + (uint)bVar12 * -2 + 1;\n      pbVar7 = pbVar7 + (uint)bVar12 * -2 + 1;\n    } while ((bool)uVar11);\n    _Var5 = false;\n    if ((!(bool)uVar9 && !(bool)uVar11) != (bool)uVar9) {\n      rpl_fclose(in_stream);\n    }\n  }" if (parenthesized_expression "(bVar10)" ( identifier )) (compound_statement "{\n    iVar4 = 2;\n    pbVar6 = (byte *)file_list[-1];\n    pbVar7 = &DAT_00020619;\n    do {\n      if (iVar4 == 0) break;\n      iVar4 = iVar4 + -1;\n      bVar8 = *pbVar6 < *pbVar7;\n      bVar10 = *pbVar6 == *pbVar7;\n      pbVar6 = pbVar6 + 1;\n      pbVar7 = pbVar7 + 1;\n    } while (bVar10);\n    if ((!bVar8 && !bVar10) != bVar8) {\n      iVar4 = rpl_fclose(in_stream);\n      if (iVar4 != 0) {\n        pcVar2 = quotearg_n_style_colon(0,shell_escape_quoting_style,input_filename);\n        piVar3 = __errno_location();\n        _Var5 = false;\n        error(0,*piVar3,&DAT_0001fa94,pcVar2);\n        goto LAB_00013f5d;\n      }\n    }\n    _Var5 = true;\n  }" { (expression_statement "iVar4 = 2;" (assignment_expression "iVar4 = 2" identifier = number_literal) ;) (expression_statement "pbVar6 = (byte *)file_list[-1];" (assignment_expression "pbVar6 = (byte *)file_list[-1]" identifier = (cast_expression "(byte *)file_list[-1]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "file_list[-1]" identifier [ number_literal ]))) ;) (expression_statement "pbVar7 = &DAT_00020619;" (assignment_expression "pbVar7 = &DAT_00020619" identifier = (pointer_expression "&DAT_00020619" & identifier)) ;) (do_statement "do {\n      if (iVar4 == 0) break;\n      iVar4 = iVar4 + -1;\n      bVar8 = *pbVar6 < *pbVar7;\n      bVar10 = *pbVar6 == *pbVar7;\n      pbVar6 = pbVar6 + 1;\n      pbVar7 = pbVar7 + 1;\n    } while (bVar10);" do (compound_statement "{\n      if (iVar4 == 0) break;\n      iVar4 = iVar4 + -1;\n      bVar8 = *pbVar6 < *pbVar7;\n      bVar10 = *pbVar6 == *pbVar7;\n      pbVar6 = pbVar6 + 1;\n      pbVar7 = pbVar7 + 1;\n    }" { (if_statement "if (iVar4 == 0) break;" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "bVar8 = *pbVar6 < *pbVar7;" (assignment_expression "bVar8 = *pbVar6 < *pbVar7" identifier = (binary_expression "*pbVar6 < *pbVar7" (pointer_expression "*pbVar6" * identifier) < (pointer_expression "*pbVar7" * identifier))) ;) (expression_statement "bVar10 = *pbVar6 == *pbVar7;" (assignment_expression "bVar10 = *pbVar6 == *pbVar7" identifier = (binary_expression "*pbVar6 == *pbVar7" (pointer_expression "*pbVar6" * identifier) == (pointer_expression "*pbVar7" * identifier))) ;) (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) (expression_statement "pbVar7 = pbVar7 + 1;" (assignment_expression "pbVar7 = pbVar7 + 1" identifier = (binary_expression "pbVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar10)" ( identifier )) ;) (if_statement "if ((!bVar8 && !bVar10) != bVar8) {\n      iVar4 = rpl_fclose(in_stream);\n      if (iVar4 != 0) {\n        pcVar2 = quotearg_n_style_colon(0,shell_escape_quoting_style,input_filename);\n        piVar3 = __errno_location();\n        _Var5 = false;\n        error(0,*piVar3,&DAT_0001fa94,pcVar2);\n        goto LAB_00013f5d;\n      }\n    }" if (parenthesized_expression "((!bVar8 && !bVar10) != bVar8)" ( (binary_expression "(!bVar8 && !bVar10) != bVar8" (parenthesized_expression "(!bVar8 && !bVar10)" ( (binary_expression "!bVar8 && !bVar10" (unary_expression "!bVar8" ! identifier) && (unary_expression "!bVar10" ! identifier)) )) != identifier) )) (compound_statement "{\n      iVar4 = rpl_fclose(in_stream);\n      if (iVar4 != 0) {\n        pcVar2 = quotearg_n_style_colon(0,shell_escape_quoting_style,input_filename);\n        piVar3 = __errno_location();\n        _Var5 = false;\n        error(0,*piVar3,&DAT_0001fa94,pcVar2);\n        goto LAB_00013f5d;\n      }\n    }" { (expression_statement "iVar4 = rpl_fclose(in_stream);" (assignment_expression "iVar4 = rpl_fclose(in_stream)" identifier = (call_expression "rpl_fclose(in_stream)" identifier (argument_list "(in_stream)" ( identifier )))) ;) (if_statement "if (iVar4 != 0) {\n        pcVar2 = quotearg_n_style_colon(0,shell_escape_quoting_style,input_filename);\n        piVar3 = __errno_location();\n        _Var5 = false;\n        error(0,*piVar3,&DAT_0001fa94,pcVar2);\n        goto LAB_00013f5d;\n      }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n        pcVar2 = quotearg_n_style_colon(0,shell_escape_quoting_style,input_filename);\n        piVar3 = __errno_location();\n        _Var5 = false;\n        error(0,*piVar3,&DAT_0001fa94,pcVar2);\n        goto LAB_00013f5d;\n      }" { (expression_statement "pcVar2 = quotearg_n_style_colon(0,shell_escape_quoting_style,input_filename);" (assignment_expression "pcVar2 = quotearg_n_style_colon(0,shell_escape_quoting_style,input_filename)" identifier = (call_expression "quotearg_n_style_colon(0,shell_escape_quoting_style,input_filename)" identifier (argument_list "(0,shell_escape_quoting_style,input_filename)" ( number_literal , identifier , identifier )))) ;) (expression_statement "piVar3 = __errno_location();" (assignment_expression "piVar3 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "_Var5 = false;" (assignment_expression "_Var5 = false" identifier = false) ;) (expression_statement "error(0,*piVar3,&DAT_0001fa94,pcVar2);" (call_expression "error(0,*piVar3,&DAT_0001fa94,pcVar2)" identifier (argument_list "(0,*piVar3,&DAT_0001fa94,pcVar2)" ( number_literal , (pointer_expression "*piVar3" * identifier) , (pointer_expression "&DAT_0001fa94" & identifier) , identifier ))) ;) (goto_statement "goto LAB_00013f5d;" goto statement_identifier ;) })) })) (expression_statement "_Var5 = true;" (assignment_expression "_Var5 = true" identifier = true) ;) }) (else_clause "else {\n    pcVar2 = quotearg_n_style_colon(0,shell_escape_quoting_style,input_filename);\n    uVar9 = (undefined1 *)0xfffffff3 < &stack0xffffffe4;\n    uVar11 = &stack0x00000000 == (undefined1 *)0x10;\n    uVar1 = dcgettext();\n    error(0,in_errno,uVar1,pcVar2);\n    iVar4 = 2;\n    pbVar6 = (byte *)file_list[-1];\n    pbVar7 = &DAT_00020619;\n    do {\n      if (iVar4 == 0) break;\n      iVar4 = iVar4 + -1;\n      uVar9 = *pbVar6 < *pbVar7;\n      uVar11 = *pbVar6 == *pbVar7;\n      pbVar6 = pbVar6 + (uint)bVar12 * -2 + 1;\n      pbVar7 = pbVar7 + (uint)bVar12 * -2 + 1;\n    } while ((bool)uVar11);\n    _Var5 = false;\n    if ((!(bool)uVar9 && !(bool)uVar11) != (bool)uVar9) {\n      rpl_fclose(in_stream);\n    }\n  }" else (compound_statement "{\n    pcVar2 = quotearg_n_style_colon(0,shell_escape_quoting_style,input_filename);\n    uVar9 = (undefined1 *)0xfffffff3 < &stack0xffffffe4;\n    uVar11 = &stack0x00000000 == (undefined1 *)0x10;\n    uVar1 = dcgettext();\n    error(0,in_errno,uVar1,pcVar2);\n    iVar4 = 2;\n    pbVar6 = (byte *)file_list[-1];\n    pbVar7 = &DAT_00020619;\n    do {\n      if (iVar4 == 0) break;\n      iVar4 = iVar4 + -1;\n      uVar9 = *pbVar6 < *pbVar7;\n      uVar11 = *pbVar6 == *pbVar7;\n      pbVar6 = pbVar6 + (uint)bVar12 * -2 + 1;\n      pbVar7 = pbVar7 + (uint)bVar12 * -2 + 1;\n    } while ((bool)uVar11);\n    _Var5 = false;\n    if ((!(bool)uVar9 && !(bool)uVar11) != (bool)uVar9) {\n      rpl_fclose(in_stream);\n    }\n  }" { (expression_statement "pcVar2 = quotearg_n_style_colon(0,shell_escape_quoting_style,input_filename);" (assignment_expression "pcVar2 = quotearg_n_style_colon(0,shell_escape_quoting_style,input_filename)" identifier = (call_expression "quotearg_n_style_colon(0,shell_escape_quoting_style,input_filename)" identifier (argument_list "(0,shell_escape_quoting_style,input_filename)" ( number_literal , identifier , identifier )))) ;) (expression_statement "uVar9 = (undefined1 *)0xfffffff3 < &stack0xffffffe4;" (assignment_expression "uVar9 = (undefined1 *)0xfffffff3 < &stack0xffffffe4" identifier = (binary_expression "(undefined1 *)0xfffffff3 < &stack0xffffffe4" (cast_expression "(undefined1 *)0xfffffff3" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) < (pointer_expression "&stack0xffffffe4" & identifier))) ;) (expression_statement "uVar11 = &stack0x00000000 == (undefined1 *)0x10;" (assignment_expression "uVar11 = &stack0x00000000 == (undefined1 *)0x10" identifier = (binary_expression "&stack0x00000000 == (undefined1 *)0x10" (pointer_expression "&stack0x00000000" & identifier) == (cast_expression "(undefined1 *)0x10" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (expression_statement "uVar1 = dcgettext();" (assignment_expression "uVar1 = dcgettext()" identifier = (call_expression "dcgettext()" identifier (argument_list "()" ( )))) ;) (expression_statement "error(0,in_errno,uVar1,pcVar2);" (call_expression "error(0,in_errno,uVar1,pcVar2)" identifier (argument_list "(0,in_errno,uVar1,pcVar2)" ( number_literal , identifier , identifier , identifier ))) ;) (expression_statement "iVar4 = 2;" (assignment_expression "iVar4 = 2" identifier = number_literal) ;) (expression_statement "pbVar6 = (byte *)file_list[-1];" (assignment_expression "pbVar6 = (byte *)file_list[-1]" identifier = (cast_expression "(byte *)file_list[-1]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "file_list[-1]" identifier [ number_literal ]))) ;) (expression_statement "pbVar7 = &DAT_00020619;" (assignment_expression "pbVar7 = &DAT_00020619" identifier = (pointer_expression "&DAT_00020619" & identifier)) ;) (do_statement "do {\n      if (iVar4 == 0) break;\n      iVar4 = iVar4 + -1;\n      uVar9 = *pbVar6 < *pbVar7;\n      uVar11 = *pbVar6 == *pbVar7;\n      pbVar6 = pbVar6 + (uint)bVar12 * -2 + 1;\n      pbVar7 = pbVar7 + (uint)bVar12 * -2 + 1;\n    } while ((bool)uVar11);" do (compound_statement "{\n      if (iVar4 == 0) break;\n      iVar4 = iVar4 + -1;\n      uVar9 = *pbVar6 < *pbVar7;\n      uVar11 = *pbVar6 == *pbVar7;\n      pbVar6 = pbVar6 + (uint)bVar12 * -2 + 1;\n      pbVar7 = pbVar7 + (uint)bVar12 * -2 + 1;\n    }" { (if_statement "if (iVar4 == 0) break;" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "uVar9 = *pbVar6 < *pbVar7;" (assignment_expression "uVar9 = *pbVar6 < *pbVar7" identifier = (binary_expression "*pbVar6 < *pbVar7" (pointer_expression "*pbVar6" * identifier) < (pointer_expression "*pbVar7" * identifier))) ;) (expression_statement "uVar11 = *pbVar6 == *pbVar7;" (assignment_expression "uVar11 = *pbVar6 == *pbVar7" identifier = (binary_expression "*pbVar6 == *pbVar7" (pointer_expression "*pbVar6" * identifier) == (pointer_expression "*pbVar7" * identifier))) ;) (expression_statement "pbVar6 = pbVar6 + (uint)bVar12 * -2 + 1;" (assignment_expression "pbVar6 = pbVar6 + (uint)bVar12 * -2 + 1" identifier = (binary_expression "pbVar6 + (uint)bVar12 * -2 + 1" (binary_expression "pbVar6 + (uint)bVar12 * -2" identifier + (binary_expression "(uint)bVar12 * -2" (cast_expression "(uint)bVar12" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar7 = pbVar7 + (uint)bVar12 * -2 + 1;" (assignment_expression "pbVar7 = pbVar7 + (uint)bVar12 * -2 + 1" identifier = (binary_expression "pbVar7 + (uint)bVar12 * -2 + 1" (binary_expression "pbVar7 + (uint)bVar12 * -2" identifier + (binary_expression "(uint)bVar12 * -2" (cast_expression "(uint)bVar12" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "((bool)uVar11)" ( (cast_expression "(bool)uVar11" ( (type_descriptor "bool" primitive_type) ) identifier) )) ;) (expression_statement "_Var5 = false;" (assignment_expression "_Var5 = false" identifier = false) ;) (if_statement "if ((!(bool)uVar9 && !(bool)uVar11) != (bool)uVar9) {\n      rpl_fclose(in_stream);\n    }" if (parenthesized_expression "((!(bool)uVar9 && !(bool)uVar11) != (bool)uVar9)" ( (binary_expression "(!(bool)uVar9 && !(bool)uVar11) != (bool)uVar9" (parenthesized_expression "(!(bool)uVar9 && !(bool)uVar11)" ( (binary_expression "!(bool)uVar9 && !(bool)uVar11" (unary_expression "!(bool)uVar9" ! (cast_expression "(bool)uVar9" ( (type_descriptor "bool" primitive_type) ) identifier)) && (unary_expression "!(bool)uVar11" ! (cast_expression "(bool)uVar11" ( (type_descriptor "bool" primitive_type) ) identifier))) )) != (cast_expression "(bool)uVar9" ( (type_descriptor "bool" primitive_type) ) identifier)) )) (compound_statement "{\n      rpl_fclose(in_stream);\n    }" { (expression_statement "rpl_fclose(in_stream);" (call_expression "rpl_fclose(in_stream)" identifier (argument_list "(in_stream)" ( identifier ))) ;) })) }))) (labeled_statement "LAB_00013f5d:\n  in_stream = (FILE *)0x0;" statement_identifier : (expression_statement "in_stream = (FILE *)0x0;" (assignment_expression "in_stream = (FILE *)0x0" identifier = (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) (labeled_statement "LAB_00013f67:\n  if ((**(byte **)PTR_stdout_00025fd4 & 0x20) == 0) {\n    return _Var5;\n  }" statement_identifier : (if_statement "if ((**(byte **)PTR_stdout_00025fd4 & 0x20) == 0) {\n    return _Var5;\n  }" if (parenthesized_expression "((**(byte **)PTR_stdout_00025fd4 & 0x20) == 0)" ( (binary_expression "(**(byte **)PTR_stdout_00025fd4 & 0x20) == 0" (parenthesized_expression "(**(byte **)PTR_stdout_00025fd4 & 0x20)" ( (binary_expression "**(byte **)PTR_stdout_00025fd4 & 0x20" (pointer_expression "**(byte **)PTR_stdout_00025fd4" * (pointer_expression "*(byte **)PTR_stdout_00025fd4" * (cast_expression "(byte **)PTR_stdout_00025fd4" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) & number_literal) )) == number_literal) )) (compound_statement "{\n    return _Var5;\n  }" { (return_statement "return _Var5;" return identifier ;) }))) (expression_statement "dcgettext();" (call_expression "dcgettext()" identifier (argument_list "()" ( ))) ;) (expression_statement "error();" (call_expression "error()" identifier (argument_list "()" ( ))) ;) (return_statement "return false;" return false ;) })))
(translation_unit "undefined4 __regparm3 FUN_00013f10(undefined4 param_1)\n\n{\n  undefined4 uVar1;\n  int *piVar2;\n  int iVar3;\n  undefined4 uVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  bool bVar7;\n  undefined1 uVar8;\n  bool bVar9;\n  undefined1 uVar10;\n  byte bVar11;\n  byte *pbStack_1c;\n  char *pcStack_18;\n  undefined4 uStack_14;\n  undefined4 uStack_10;\n  \n  bVar11 = 0;\n  uVar4 = 1;\n  uStack_10 = 0x13f1f;\n  pbStack_1c = DAT_00026248;\n  if (DAT_00026248 == (byte *)0x0) goto LAB_00013f67;\n  bVar7 = false;\n  bVar9 = (*DAT_00026248 & 0x20) == 0;\n  if (bVar9) {\n    iVar3 = 2;\n    pbVar5 = *(byte **)(DAT_0002624c + -4);\n    pbVar6 = &DAT_00020619;\n    do {\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      bVar7 = *pbVar5 < *pbVar6;\n      bVar9 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + 1;\n      pbVar6 = pbVar6 + 1;\n    } while (bVar9);\n    if ((!bVar7 && !bVar9) != bVar7) {\n      iVar3 = FUN_00019ca0();\n      if (iVar3 != 0) {\n        uStack_14 = DAT_00026250;\n        pcStack_18 = (char *)0x3;\n        pbStack_1c = (byte *)0x0;\n        uVar1 = FUN_00018130();\n        piVar2 = __errno_location();\n        uVar4 = 0;\n        error(0,*piVar2,&DAT_0001fa94,uVar1);\n        goto LAB_00013f5d;\n      }\n    }\n    uVar4 = 1;\n  }\n  else {\n    uStack_14 = DAT_00026250;\n    pcStack_18 = (char *)0x3;\n    pbStack_1c = (byte *)0x0;\n    uVar4 = FUN_00018130();\n    uVar8 = (undefined1 *)0xfffffff3 < &pbStack_1c;\n    uVar10 = &stack0x00000000 == (undefined1 *)0x10;\n    pcStack_18 = "%s: read error";\n    uStack_14 = 5;\n    pbStack_1c = (byte *)0x0;\n    uVar1 = dcgettext();\n    error(0,param_1,uVar1,uVar4);\n    iVar3 = 2;\n    pbVar5 = *(byte **)(DAT_0002624c + -4);\n    pbVar6 = &DAT_00020619;\n    do {\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      uVar8 = *pbVar5 < *pbVar6;\n      uVar10 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + (uint)bVar11 * -2 + 1;\n      pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n    } while ((bool)uVar10);\n    uVar4 = 0;\n    if ((!(bool)uVar8 && !(bool)uVar10) != (bool)uVar8) {\n      pbStack_1c = DAT_00026248;\n      FUN_00019ca0();\n    }\n  }\nLAB_00013f5d:\n  DAT_00026248 = (byte *)0x0;\nLAB_00013f67:\n  if ((**(byte **)PTR_stdout_00025fd4 & 0x20) == 0) {\n    return uVar4;\n  }\n  pcStack_18 = "write error";\n  uStack_14 = 5;\n  pbStack_1c = (byte *)0x0;\n  uStack_14 = dcgettext();\n  pcStack_18 = (char *)0x0;\n  pbStack_1c = (byte *)0x0;\n  error();\n  return 0;\n}\n\n" (function_definition "undefined4 __regparm3 FUN_00013f10(undefined4 param_1)\n\n{\n  undefined4 uVar1;\n  int *piVar2;\n  int iVar3;\n  undefined4 uVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  bool bVar7;\n  undefined1 uVar8;\n  bool bVar9;\n  undefined1 uVar10;\n  byte bVar11;\n  byte *pbStack_1c;\n  char *pcStack_18;\n  undefined4 uStack_14;\n  undefined4 uStack_10;\n  \n  bVar11 = 0;\n  uVar4 = 1;\n  uStack_10 = 0x13f1f;\n  pbStack_1c = DAT_00026248;\n  if (DAT_00026248 == (byte *)0x0) goto LAB_00013f67;\n  bVar7 = false;\n  bVar9 = (*DAT_00026248 & 0x20) == 0;\n  if (bVar9) {\n    iVar3 = 2;\n    pbVar5 = *(byte **)(DAT_0002624c + -4);\n    pbVar6 = &DAT_00020619;\n    do {\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      bVar7 = *pbVar5 < *pbVar6;\n      bVar9 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + 1;\n      pbVar6 = pbVar6 + 1;\n    } while (bVar9);\n    if ((!bVar7 && !bVar9) != bVar7) {\n      iVar3 = FUN_00019ca0();\n      if (iVar3 != 0) {\n        uStack_14 = DAT_00026250;\n        pcStack_18 = (char *)0x3;\n        pbStack_1c = (byte *)0x0;\n        uVar1 = FUN_00018130();\n        piVar2 = __errno_location();\n        uVar4 = 0;\n        error(0,*piVar2,&DAT_0001fa94,uVar1);\n        goto LAB_00013f5d;\n      }\n    }\n    uVar4 = 1;\n  }\n  else {\n    uStack_14 = DAT_00026250;\n    pcStack_18 = (char *)0x3;\n    pbStack_1c = (byte *)0x0;\n    uVar4 = FUN_00018130();\n    uVar8 = (undefined1 *)0xfffffff3 < &pbStack_1c;\n    uVar10 = &stack0x00000000 == (undefined1 *)0x10;\n    pcStack_18 = "%s: read error";\n    uStack_14 = 5;\n    pbStack_1c = (byte *)0x0;\n    uVar1 = dcgettext();\n    error(0,param_1,uVar1,uVar4);\n    iVar3 = 2;\n    pbVar5 = *(byte **)(DAT_0002624c + -4);\n    pbVar6 = &DAT_00020619;\n    do {\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      uVar8 = *pbVar5 < *pbVar6;\n      uVar10 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + (uint)bVar11 * -2 + 1;\n      pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n    } while ((bool)uVar10);\n    uVar4 = 0;\n    if ((!(bool)uVar8 && !(bool)uVar10) != (bool)uVar8) {\n      pbStack_1c = DAT_00026248;\n      FUN_00019ca0();\n    }\n  }\nLAB_00013f5d:\n  DAT_00026248 = (byte *)0x0;\nLAB_00013f67:\n  if ((**(byte **)PTR_stdout_00025fd4 & 0x20) == 0) {\n    return uVar4;\n  }\n  pcStack_18 = "write error";\n  uStack_14 = 5;\n  pbStack_1c = (byte *)0x0;\n  uStack_14 = dcgettext();\n  pcStack_18 = (char *)0x0;\n  pbStack_1c = (byte *)0x0;\n  error();\n  return 0;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_00013f10(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  int *piVar2;\n  int iVar3;\n  undefined4 uVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  bool bVar7;\n  undefined1 uVar8;\n  bool bVar9;\n  undefined1 uVar10;\n  byte bVar11;\n  byte *pbStack_1c;\n  char *pcStack_18;\n  undefined4 uStack_14;\n  undefined4 uStack_10;\n  \n  bVar11 = 0;\n  uVar4 = 1;\n  uStack_10 = 0x13f1f;\n  pbStack_1c = DAT_00026248;\n  if (DAT_00026248 == (byte *)0x0) goto LAB_00013f67;\n  bVar7 = false;\n  bVar9 = (*DAT_00026248 & 0x20) == 0;\n  if (bVar9) {\n    iVar3 = 2;\n    pbVar5 = *(byte **)(DAT_0002624c + -4);\n    pbVar6 = &DAT_00020619;\n    do {\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      bVar7 = *pbVar5 < *pbVar6;\n      bVar9 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + 1;\n      pbVar6 = pbVar6 + 1;\n    } while (bVar9);\n    if ((!bVar7 && !bVar9) != bVar7) {\n      iVar3 = FUN_00019ca0();\n      if (iVar3 != 0) {\n        uStack_14 = DAT_00026250;\n        pcStack_18 = (char *)0x3;\n        pbStack_1c = (byte *)0x0;\n        uVar1 = FUN_00018130();\n        piVar2 = __errno_location();\n        uVar4 = 0;\n        error(0,*piVar2,&DAT_0001fa94,uVar1);\n        goto LAB_00013f5d;\n      }\n    }\n    uVar4 = 1;\n  }\n  else {\n    uStack_14 = DAT_00026250;\n    pcStack_18 = (char *)0x3;\n    pbStack_1c = (byte *)0x0;\n    uVar4 = FUN_00018130();\n    uVar8 = (undefined1 *)0xfffffff3 < &pbStack_1c;\n    uVar10 = &stack0x00000000 == (undefined1 *)0x10;\n    pcStack_18 = "%s: read error";\n    uStack_14 = 5;\n    pbStack_1c = (byte *)0x0;\n    uVar1 = dcgettext();\n    error(0,param_1,uVar1,uVar4);\n    iVar3 = 2;\n    pbVar5 = *(byte **)(DAT_0002624c + -4);\n    pbVar6 = &DAT_00020619;\n    do {\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      uVar8 = *pbVar5 < *pbVar6;\n      uVar10 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + (uint)bVar11 * -2 + 1;\n      pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n    } while ((bool)uVar10);\n    uVar4 = 0;\n    if ((!(bool)uVar8 && !(bool)uVar10) != (bool)uVar8) {\n      pbStack_1c = DAT_00026248;\n      FUN_00019ca0();\n    }\n  }\nLAB_00013f5d:\n  DAT_00026248 = (byte *)0x0;\nLAB_00013f67:\n  if ((**(byte **)PTR_stdout_00025fd4 & 0x20) == 0) {\n    return uVar4;\n  }\n  pcStack_18 = "write error";\n  uStack_14 = 5;\n  pbStack_1c = (byte *)0x0;\n  uStack_14 = dcgettext();\n  pcStack_18 = (char *)0x0;\n  pbStack_1c = (byte *)0x0;\n  error();\n  return 0;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "bool bVar7;" primitive_type identifier ;) (declaration "undefined1 uVar8;" type_identifier identifier ;) (declaration "bool bVar9;" primitive_type identifier ;) (declaration "undefined1 uVar10;" type_identifier identifier ;) (declaration "byte bVar11;" type_identifier identifier ;) (declaration "byte *pbStack_1c;" type_identifier (pointer_declarator "*pbStack_1c" * identifier) ;) (declaration "char *pcStack_18;" primitive_type (pointer_declarator "*pcStack_18" * identifier) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (declaration "undefined4 uStack_10;" type_identifier identifier ;) (expression_statement "bVar11 = 0;" (assignment_expression "bVar11 = 0" identifier = number_literal) ;) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" identifier = number_literal) ;) (expression_statement "uStack_10 = 0x13f1f;" (assignment_expression "uStack_10 = 0x13f1f" identifier = number_literal) ;) (expression_statement "pbStack_1c = DAT_00026248;" (assignment_expression "pbStack_1c = DAT_00026248" identifier = identifier) ;) (if_statement "if (DAT_00026248 == (byte *)0x0) goto LAB_00013f67;" if (parenthesized_expression "(DAT_00026248 == (byte *)0x0)" ( (binary_expression "DAT_00026248 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00013f67;" goto statement_identifier ;)) (expression_statement "bVar7 = false;" (assignment_expression "bVar7 = false" identifier = false) ;) (expression_statement "bVar9 = (*DAT_00026248 & 0x20) == 0;" (assignment_expression "bVar9 = (*DAT_00026248 & 0x20) == 0" identifier = (binary_expression "(*DAT_00026248 & 0x20) == 0" (parenthesized_expression "(*DAT_00026248 & 0x20)" ( (binary_expression "*DAT_00026248 & 0x20" (pointer_expression "*DAT_00026248" * identifier) & number_literal) )) == number_literal)) ;) (if_statement "if (bVar9) {\n    iVar3 = 2;\n    pbVar5 = *(byte **)(DAT_0002624c + -4);\n    pbVar6 = &DAT_00020619;\n    do {\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      bVar7 = *pbVar5 < *pbVar6;\n      bVar9 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + 1;\n      pbVar6 = pbVar6 + 1;\n    } while (bVar9);\n    if ((!bVar7 && !bVar9) != bVar7) {\n      iVar3 = FUN_00019ca0();\n      if (iVar3 != 0) {\n        uStack_14 = DAT_00026250;\n        pcStack_18 = (char *)0x3;\n        pbStack_1c = (byte *)0x0;\n        uVar1 = FUN_00018130();\n        piVar2 = __errno_location();\n        uVar4 = 0;\n        error(0,*piVar2,&DAT_0001fa94,uVar1);\n        goto LAB_00013f5d;\n      }\n    }\n    uVar4 = 1;\n  }\n  else {\n    uStack_14 = DAT_00026250;\n    pcStack_18 = (char *)0x3;\n    pbStack_1c = (byte *)0x0;\n    uVar4 = FUN_00018130();\n    uVar8 = (undefined1 *)0xfffffff3 < &pbStack_1c;\n    uVar10 = &stack0x00000000 == (undefined1 *)0x10;\n    pcStack_18 = "%s: read error";\n    uStack_14 = 5;\n    pbStack_1c = (byte *)0x0;\n    uVar1 = dcgettext();\n    error(0,param_1,uVar1,uVar4);\n    iVar3 = 2;\n    pbVar5 = *(byte **)(DAT_0002624c + -4);\n    pbVar6 = &DAT_00020619;\n    do {\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      uVar8 = *pbVar5 < *pbVar6;\n      uVar10 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + (uint)bVar11 * -2 + 1;\n      pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n    } while ((bool)uVar10);\n    uVar4 = 0;\n    if ((!(bool)uVar8 && !(bool)uVar10) != (bool)uVar8) {\n      pbStack_1c = DAT_00026248;\n      FUN_00019ca0();\n    }\n  }" if (parenthesized_expression "(bVar9)" ( identifier )) (compound_statement "{\n    iVar3 = 2;\n    pbVar5 = *(byte **)(DAT_0002624c + -4);\n    pbVar6 = &DAT_00020619;\n    do {\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      bVar7 = *pbVar5 < *pbVar6;\n      bVar9 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + 1;\n      pbVar6 = pbVar6 + 1;\n    } while (bVar9);\n    if ((!bVar7 && !bVar9) != bVar7) {\n      iVar3 = FUN_00019ca0();\n      if (iVar3 != 0) {\n        uStack_14 = DAT_00026250;\n        pcStack_18 = (char *)0x3;\n        pbStack_1c = (byte *)0x0;\n        uVar1 = FUN_00018130();\n        piVar2 = __errno_location();\n        uVar4 = 0;\n        error(0,*piVar2,&DAT_0001fa94,uVar1);\n        goto LAB_00013f5d;\n      }\n    }\n    uVar4 = 1;\n  }" { (expression_statement "iVar3 = 2;" (assignment_expression "iVar3 = 2" identifier = number_literal) ;) (expression_statement "pbVar5 = *(byte **)(DAT_0002624c + -4);" (assignment_expression "pbVar5 = *(byte **)(DAT_0002624c + -4)" identifier = (pointer_expression "*(byte **)(DAT_0002624c + -4)" * (cast_expression "(byte **)(DAT_0002624c + -4)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_0002624c + -4)" ( (binary_expression "DAT_0002624c + -4" identifier + number_literal) ))))) ;) (expression_statement "pbVar6 = &DAT_00020619;" (assignment_expression "pbVar6 = &DAT_00020619" identifier = (pointer_expression "&DAT_00020619" & identifier)) ;) (do_statement "do {\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      bVar7 = *pbVar5 < *pbVar6;\n      bVar9 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + 1;\n      pbVar6 = pbVar6 + 1;\n    } while (bVar9);" do (compound_statement "{\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      bVar7 = *pbVar5 < *pbVar6;\n      bVar9 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + 1;\n      pbVar6 = pbVar6 + 1;\n    }" { (if_statement "if (iVar3 == 0) break;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) (expression_statement "bVar7 = *pbVar5 < *pbVar6;" (assignment_expression "bVar7 = *pbVar5 < *pbVar6" identifier = (binary_expression "*pbVar5 < *pbVar6" (pointer_expression "*pbVar5" * identifier) < (pointer_expression "*pbVar6" * identifier))) ;) (expression_statement "bVar9 = *pbVar5 == *pbVar6;" (assignment_expression "bVar9 = *pbVar5 == *pbVar6" identifier = (binary_expression "*pbVar5 == *pbVar6" (pointer_expression "*pbVar5" * identifier) == (pointer_expression "*pbVar6" * identifier))) ;) (expression_statement "pbVar5 = pbVar5 + 1;" (assignment_expression "pbVar5 = pbVar5 + 1" identifier = (binary_expression "pbVar5 + 1" identifier + number_literal)) ;) (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar9)" ( identifier )) ;) (if_statement "if ((!bVar7 && !bVar9) != bVar7) {\n      iVar3 = FUN_00019ca0();\n      if (iVar3 != 0) {\n        uStack_14 = DAT_00026250;\n        pcStack_18 = (char *)0x3;\n        pbStack_1c = (byte *)0x0;\n        uVar1 = FUN_00018130();\n        piVar2 = __errno_location();\n        uVar4 = 0;\n        error(0,*piVar2,&DAT_0001fa94,uVar1);\n        goto LAB_00013f5d;\n      }\n    }" if (parenthesized_expression "((!bVar7 && !bVar9) != bVar7)" ( (binary_expression "(!bVar7 && !bVar9) != bVar7" (parenthesized_expression "(!bVar7 && !bVar9)" ( (binary_expression "!bVar7 && !bVar9" (unary_expression "!bVar7" ! identifier) && (unary_expression "!bVar9" ! identifier)) )) != identifier) )) (compound_statement "{\n      iVar3 = FUN_00019ca0();\n      if (iVar3 != 0) {\n        uStack_14 = DAT_00026250;\n        pcStack_18 = (char *)0x3;\n        pbStack_1c = (byte *)0x0;\n        uVar1 = FUN_00018130();\n        piVar2 = __errno_location();\n        uVar4 = 0;\n        error(0,*piVar2,&DAT_0001fa94,uVar1);\n        goto LAB_00013f5d;\n      }\n    }" { (expression_statement "iVar3 = FUN_00019ca0();" (assignment_expression "iVar3 = FUN_00019ca0()" identifier = (call_expression "FUN_00019ca0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar3 != 0) {\n        uStack_14 = DAT_00026250;\n        pcStack_18 = (char *)0x3;\n        pbStack_1c = (byte *)0x0;\n        uVar1 = FUN_00018130();\n        piVar2 = __errno_location();\n        uVar4 = 0;\n        error(0,*piVar2,&DAT_0001fa94,uVar1);\n        goto LAB_00013f5d;\n      }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n        uStack_14 = DAT_00026250;\n        pcStack_18 = (char *)0x3;\n        pbStack_1c = (byte *)0x0;\n        uVar1 = FUN_00018130();\n        piVar2 = __errno_location();\n        uVar4 = 0;\n        error(0,*piVar2,&DAT_0001fa94,uVar1);\n        goto LAB_00013f5d;\n      }" { (expression_statement "uStack_14 = DAT_00026250;" (assignment_expression "uStack_14 = DAT_00026250" identifier = identifier) ;) (expression_statement "pcStack_18 = (char *)0x3;" (assignment_expression "pcStack_18 = (char *)0x3" identifier = (cast_expression "(char *)0x3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pbStack_1c = (byte *)0x0;" (assignment_expression "pbStack_1c = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "uVar1 = FUN_00018130();" (assignment_expression "uVar1 = FUN_00018130()" identifier = (call_expression "FUN_00018130()" identifier (argument_list "()" ( )))) ;) (expression_statement "piVar2 = __errno_location();" (assignment_expression "piVar2 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "error(0,*piVar2,&DAT_0001fa94,uVar1);" (call_expression "error(0,*piVar2,&DAT_0001fa94,uVar1)" identifier (argument_list "(0,*piVar2,&DAT_0001fa94,uVar1)" ( number_literal , (pointer_expression "*piVar2" * identifier) , (pointer_expression "&DAT_0001fa94" & identifier) , identifier ))) ;) (goto_statement "goto LAB_00013f5d;" goto statement_identifier ;) })) })) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" identifier = number_literal) ;) }) (else_clause "else {\n    uStack_14 = DAT_00026250;\n    pcStack_18 = (char *)0x3;\n    pbStack_1c = (byte *)0x0;\n    uVar4 = FUN_00018130();\n    uVar8 = (undefined1 *)0xfffffff3 < &pbStack_1c;\n    uVar10 = &stack0x00000000 == (undefined1 *)0x10;\n    pcStack_18 = "%s: read error";\n    uStack_14 = 5;\n    pbStack_1c = (byte *)0x0;\n    uVar1 = dcgettext();\n    error(0,param_1,uVar1,uVar4);\n    iVar3 = 2;\n    pbVar5 = *(byte **)(DAT_0002624c + -4);\n    pbVar6 = &DAT_00020619;\n    do {\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      uVar8 = *pbVar5 < *pbVar6;\n      uVar10 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + (uint)bVar11 * -2 + 1;\n      pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n    } while ((bool)uVar10);\n    uVar4 = 0;\n    if ((!(bool)uVar8 && !(bool)uVar10) != (bool)uVar8) {\n      pbStack_1c = DAT_00026248;\n      FUN_00019ca0();\n    }\n  }" else (compound_statement "{\n    uStack_14 = DAT_00026250;\n    pcStack_18 = (char *)0x3;\n    pbStack_1c = (byte *)0x0;\n    uVar4 = FUN_00018130();\n    uVar8 = (undefined1 *)0xfffffff3 < &pbStack_1c;\n    uVar10 = &stack0x00000000 == (undefined1 *)0x10;\n    pcStack_18 = "%s: read error";\n    uStack_14 = 5;\n    pbStack_1c = (byte *)0x0;\n    uVar1 = dcgettext();\n    error(0,param_1,uVar1,uVar4);\n    iVar3 = 2;\n    pbVar5 = *(byte **)(DAT_0002624c + -4);\n    pbVar6 = &DAT_00020619;\n    do {\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      uVar8 = *pbVar5 < *pbVar6;\n      uVar10 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + (uint)bVar11 * -2 + 1;\n      pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n    } while ((bool)uVar10);\n    uVar4 = 0;\n    if ((!(bool)uVar8 && !(bool)uVar10) != (bool)uVar8) {\n      pbStack_1c = DAT_00026248;\n      FUN_00019ca0();\n    }\n  }" { (expression_statement "uStack_14 = DAT_00026250;" (assignment_expression "uStack_14 = DAT_00026250" identifier = identifier) ;) (expression_statement "pcStack_18 = (char *)0x3;" (assignment_expression "pcStack_18 = (char *)0x3" identifier = (cast_expression "(char *)0x3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pbStack_1c = (byte *)0x0;" (assignment_expression "pbStack_1c = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "uVar4 = FUN_00018130();" (assignment_expression "uVar4 = FUN_00018130()" identifier = (call_expression "FUN_00018130()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar8 = (undefined1 *)0xfffffff3 < &pbStack_1c;" (assignment_expression "uVar8 = (undefined1 *)0xfffffff3 < &pbStack_1c" identifier = (binary_expression "(undefined1 *)0xfffffff3 < &pbStack_1c" (cast_expression "(undefined1 *)0xfffffff3" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) < (pointer_expression "&pbStack_1c" & identifier))) ;) (expression_statement "uVar10 = &stack0x00000000 == (undefined1 *)0x10;" (assignment_expression "uVar10 = &stack0x00000000 == (undefined1 *)0x10" identifier = (binary_expression "&stack0x00000000 == (undefined1 *)0x10" (pointer_expression "&stack0x00000000" & identifier) == (cast_expression "(undefined1 *)0x10" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (expression_statement "pcStack_18 = "%s: read error";" (assignment_expression "pcStack_18 = "%s: read error"" identifier = (string_literal ""%s: read error"" " string_content ")) ;) (expression_statement "uStack_14 = 5;" (assignment_expression "uStack_14 = 5" identifier = number_literal) ;) (expression_statement "pbStack_1c = (byte *)0x0;" (assignment_expression "pbStack_1c = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "uVar1 = dcgettext();" (assignment_expression "uVar1 = dcgettext()" identifier = (call_expression "dcgettext()" identifier (argument_list "()" ( )))) ;) (expression_statement "error(0,param_1,uVar1,uVar4);" (call_expression "error(0,param_1,uVar1,uVar4)" identifier (argument_list "(0,param_1,uVar1,uVar4)" ( number_literal , identifier , identifier , identifier ))) ;) (expression_statement "iVar3 = 2;" (assignment_expression "iVar3 = 2" identifier = number_literal) ;) (expression_statement "pbVar5 = *(byte **)(DAT_0002624c + -4);" (assignment_expression "pbVar5 = *(byte **)(DAT_0002624c + -4)" identifier = (pointer_expression "*(byte **)(DAT_0002624c + -4)" * (cast_expression "(byte **)(DAT_0002624c + -4)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_0002624c + -4)" ( (binary_expression "DAT_0002624c + -4" identifier + number_literal) ))))) ;) (expression_statement "pbVar6 = &DAT_00020619;" (assignment_expression "pbVar6 = &DAT_00020619" identifier = (pointer_expression "&DAT_00020619" & identifier)) ;) (do_statement "do {\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      uVar8 = *pbVar5 < *pbVar6;\n      uVar10 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + (uint)bVar11 * -2 + 1;\n      pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n    } while ((bool)uVar10);" do (compound_statement "{\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      uVar8 = *pbVar5 < *pbVar6;\n      uVar10 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + (uint)bVar11 * -2 + 1;\n      pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n    }" { (if_statement "if (iVar3 == 0) break;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) (expression_statement "uVar8 = *pbVar5 < *pbVar6;" (assignment_expression "uVar8 = *pbVar5 < *pbVar6" identifier = (binary_expression "*pbVar5 < *pbVar6" (pointer_expression "*pbVar5" * identifier) < (pointer_expression "*pbVar6" * identifier))) ;) (expression_statement "uVar10 = *pbVar5 == *pbVar6;" (assignment_expression "uVar10 = *pbVar5 == *pbVar6" identifier = (binary_expression "*pbVar5 == *pbVar6" (pointer_expression "*pbVar5" * identifier) == (pointer_expression "*pbVar6" * identifier))) ;) (expression_statement "pbVar5 = pbVar5 + (uint)bVar11 * -2 + 1;" (assignment_expression "pbVar5 = pbVar5 + (uint)bVar11 * -2 + 1" identifier = (binary_expression "pbVar5 + (uint)bVar11 * -2 + 1" (binary_expression "pbVar5 + (uint)bVar11 * -2" identifier + (binary_expression "(uint)bVar11 * -2" (cast_expression "(uint)bVar11" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;" (assignment_expression "pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1" identifier = (binary_expression "pbVar6 + (uint)bVar11 * -2 + 1" (binary_expression "pbVar6 + (uint)bVar11 * -2" identifier + (binary_expression "(uint)bVar11 * -2" (cast_expression "(uint)bVar11" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "((bool)uVar10)" ( (cast_expression "(bool)uVar10" ( (type_descriptor "bool" primitive_type) ) identifier) )) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (if_statement "if ((!(bool)uVar8 && !(bool)uVar10) != (bool)uVar8) {\n      pbStack_1c = DAT_00026248;\n      FUN_00019ca0();\n    }" if (parenthesized_expression "((!(bool)uVar8 && !(bool)uVar10) != (bool)uVar8)" ( (binary_expression "(!(bool)uVar8 && !(bool)uVar10) != (bool)uVar8" (parenthesized_expression "(!(bool)uVar8 && !(bool)uVar10)" ( (binary_expression "!(bool)uVar8 && !(bool)uVar10" (unary_expression "!(bool)uVar8" ! (cast_expression "(bool)uVar8" ( (type_descriptor "bool" primitive_type) ) identifier)) && (unary_expression "!(bool)uVar10" ! (cast_expression "(bool)uVar10" ( (type_descriptor "bool" primitive_type) ) identifier))) )) != (cast_expression "(bool)uVar8" ( (type_descriptor "bool" primitive_type) ) identifier)) )) (compound_statement "{\n      pbStack_1c = DAT_00026248;\n      FUN_00019ca0();\n    }" { (expression_statement "pbStack_1c = DAT_00026248;" (assignment_expression "pbStack_1c = DAT_00026248" identifier = identifier) ;) (expression_statement "FUN_00019ca0();" (call_expression "FUN_00019ca0()" identifier (argument_list "()" ( ))) ;) })) }))) (labeled_statement "LAB_00013f5d:\n  DAT_00026248 = (byte *)0x0;" statement_identifier : (expression_statement "DAT_00026248 = (byte *)0x0;" (assignment_expression "DAT_00026248 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) (labeled_statement "LAB_00013f67:\n  if ((**(byte **)PTR_stdout_00025fd4 & 0x20) == 0) {\n    return uVar4;\n  }" statement_identifier : (if_statement "if ((**(byte **)PTR_stdout_00025fd4 & 0x20) == 0) {\n    return uVar4;\n  }" if (parenthesized_expression "((**(byte **)PTR_stdout_00025fd4 & 0x20) == 0)" ( (binary_expression "(**(byte **)PTR_stdout_00025fd4 & 0x20) == 0" (parenthesized_expression "(**(byte **)PTR_stdout_00025fd4 & 0x20)" ( (binary_expression "**(byte **)PTR_stdout_00025fd4 & 0x20" (pointer_expression "**(byte **)PTR_stdout_00025fd4" * (pointer_expression "*(byte **)PTR_stdout_00025fd4" * (cast_expression "(byte **)PTR_stdout_00025fd4" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) & number_literal) )) == number_literal) )) (compound_statement "{\n    return uVar4;\n  }" { (return_statement "return uVar4;" return identifier ;) }))) (expression_statement "pcStack_18 = "write error";" (assignment_expression "pcStack_18 = "write error"" identifier = (string_literal ""write error"" " string_content ")) ;) (expression_statement "uStack_14 = 5;" (assignment_expression "uStack_14 = 5" identifier = number_literal) ;) (expression_statement "pbStack_1c = (byte *)0x0;" (assignment_expression "pbStack_1c = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "uStack_14 = dcgettext();" (assignment_expression "uStack_14 = dcgettext()" identifier = (call_expression "dcgettext()" identifier (argument_list "()" ( )))) ;) (expression_statement "pcStack_18 = (char *)0x0;" (assignment_expression "pcStack_18 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pbStack_1c = (byte *)0x0;" (assignment_expression "pbStack_1c = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "error();" (call_expression "error()" identifier (argument_list "()" ( ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) & LIT) )) == LIT)) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_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 IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) < (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) == (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( IDENT )) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (unary_expression ! IDENT) && (unary_expression ! IDENT)) )) != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (pointer_expression * IDENT) , (pointer_expression & IDENT) , IDENT ))) ;) (goto_statement goto statement_identifier ;) })) })) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) < (pointer_expression & IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression & IDENT) == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ;) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_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 IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) < (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) == (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) }) while (parenthesized_expression ( (cast_expression ( (type_descriptor TYPE) ) IDENT) )) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (unary_expression ! (cast_expression ( (type_descriptor TYPE) ) IDENT)) && (unary_expression ! (cast_expression ( (type_descriptor TYPE) ) IDENT))) )) != (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;)) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) & LIT) )) == LIT) )) (compound_statement { (return_statement return IDENT ;) }))) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 __regparm3 FUN_00013f10(undefined4 param_1)\n\n{\n  undefined4 uVar1;\n  int *piVar2;\n  int iVar3;\n  undefined4 uVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  bool bVar7;\n  undefined1 uVar8;\n  bool bVar9;\n  undefined1 uVar10;\n  byte bVar11;\n  byte *pbStack_1c;\n  char *pcStack_18;\n  undefined4 uStack_14;\n  undefined4 uStack_10;\n  \n  bVar11 = 0;\n  uVar4 = 1;\n  uStack_10 = 0x13f1f;\n  pbStack_1c = DAT_00026248;\n  if (DAT_00026248 == (byte *)0x0) goto LAB_00013f67;\n  bVar7 = false;\n  bVar9 = (*DAT_00026248 & 0x20) == 0;\n  if (bVar9) {\n    iVar3 = 2;\n    pbVar5 = *(byte **)(DAT_0002624c + -4);\n    pbVar6 = &DAT_00020619;\n    do {\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      bVar7 = *pbVar5 < *pbVar6;\n      bVar9 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + 1;\n      pbVar6 = pbVar6 + 1;\n    } while (bVar9);\n    if ((!bVar7 && !bVar9) != bVar7) {\n      iVar3 = FUN_00019ca0();\n      if (iVar3 != 0) {\n        uStack_14 = DAT_00026250;\n        pcStack_18 = (char *)0x3;\n        pbStack_1c = (byte *)0x0;\n        uVar1 = FUN_00018130();\n        piVar2 = __errno_location();\n        uVar4 = 0;\n        error(0,*piVar2,&DAT_0001fa94,uVar1);\n        goto LAB_00013f5d;\n      }\n    }\n    uVar4 = 1;\n  }\n  else {\n    uStack_14 = DAT_00026250;\n    pcStack_18 = (char *)0x3;\n    pbStack_1c = (byte *)0x0;\n    uVar4 = FUN_00018130();\n    uVar8 = (undefined1 *)0xfffffff3 < &pbStack_1c;\n    uVar10 = &stack0x00000000 == (undefined1 *)0x10;\n    pcStack_18 = "%s: read error";\n    uStack_14 = 5;\n    pbStack_1c = (byte *)0x0;\n    uVar1 = dcgettext();\n    error(0,param_1,uVar1,uVar4);\n    iVar3 = 2;\n    pbVar5 = *(byte **)(DAT_0002624c + -4);\n    pbVar6 = &DAT_00020619;\n    do {\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      uVar8 = *pbVar5 < *pbVar6;\n      uVar10 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + (uint)bVar11 * -2 + 1;\n      pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n    } while ((bool)uVar10);\n    uVar4 = 0;\n    if ((!(bool)uVar8 && !(bool)uVar10) != (bool)uVar8) {\n      pbStack_1c = DAT_00026248;\n      FUN_00019ca0();\n    }\n  }\nLAB_00013f5d:\n  DAT_00026248 = (byte *)0x0;\nLAB_00013f67:\n  if ((**(byte **)PTR_stdout_00025fd4 & 0x20) == 0) {\n    return uVar4;\n  }\n  pcStack_18 = "write error";\n  uStack_14 = 5;\n  pbStack_1c = (byte *)0x0;\n  uStack_14 = dcgettext();\n  pcStack_18 = (char *)0x0;\n  pbStack_1c = (byte *)0x0;\n  error();\n  return 0;\n}" (type_identifier "undefined4") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00013f10(undefined4 param_1)" (identifier "FUN_00013f10") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  int *piVar2;\n  int iVar3;\n  undefined4 uVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  bool bVar7;\n  undefined1 uVar8;\n  bool bVar9;\n  undefined1 uVar10;\n  byte bVar11;\n  byte *pbStack_1c;\n  char *pcStack_18;\n  undefined4 uStack_14;\n  undefined4 uStack_10;\n  \n  bVar11 = 0;\n  uVar4 = 1;\n  uStack_10 = 0x13f1f;\n  pbStack_1c = DAT_00026248;\n  if (DAT_00026248 == (byte *)0x0) goto LAB_00013f67;\n  bVar7 = false;\n  bVar9 = (*DAT_00026248 & 0x20) == 0;\n  if (bVar9) {\n    iVar3 = 2;\n    pbVar5 = *(byte **)(DAT_0002624c + -4);\n    pbVar6 = &DAT_00020619;\n    do {\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      bVar7 = *pbVar5 < *pbVar6;\n      bVar9 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + 1;\n      pbVar6 = pbVar6 + 1;\n    } while (bVar9);\n    if ((!bVar7 && !bVar9) != bVar7) {\n      iVar3 = FUN_00019ca0();\n      if (iVar3 != 0) {\n        uStack_14 = DAT_00026250;\n        pcStack_18 = (char *)0x3;\n        pbStack_1c = (byte *)0x0;\n        uVar1 = FUN_00018130();\n        piVar2 = __errno_location();\n        uVar4 = 0;\n        error(0,*piVar2,&DAT_0001fa94,uVar1);\n        goto LAB_00013f5d;\n      }\n    }\n    uVar4 = 1;\n  }\n  else {\n    uStack_14 = DAT_00026250;\n    pcStack_18 = (char *)0x3;\n    pbStack_1c = (byte *)0x0;\n    uVar4 = FUN_00018130();\n    uVar8 = (undefined1 *)0xfffffff3 < &pbStack_1c;\n    uVar10 = &stack0x00000000 == (undefined1 *)0x10;\n    pcStack_18 = "%s: read error";\n    uStack_14 = 5;\n    pbStack_1c = (byte *)0x0;\n    uVar1 = dcgettext();\n    error(0,param_1,uVar1,uVar4);\n    iVar3 = 2;\n    pbVar5 = *(byte **)(DAT_0002624c + -4);\n    pbVar6 = &DAT_00020619;\n    do {\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      uVar8 = *pbVar5 < *pbVar6;\n      uVar10 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + (uint)bVar11 * -2 + 1;\n      pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n    } while ((bool)uVar10);\n    uVar4 = 0;\n    if ((!(bool)uVar8 && !(bool)uVar10) != (bool)uVar8) {\n      pbStack_1c = DAT_00026248;\n      FUN_00019ca0();\n    }\n  }\nLAB_00013f5d:\n  DAT_00026248 = (byte *)0x0;\nLAB_00013f67:\n  if ((**(byte **)PTR_stdout_00025fd4 & 0x20) == 0) {\n    return uVar4;\n  }\n  pcStack_18 = "write error";\n  uStack_14 = 5;\n  pbStack_1c = (byte *)0x0;\n  uStack_14 = dcgettext();\n  pcStack_18 = (char *)0x0;\n  pbStack_1c = (byte *)0x0;\n  error();\n  return 0;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "byte *pbVar5;" (type_identifier "byte") (pointer_declarator "*pbVar5" (* "*") (identifier "pbVar5")) (; ";")) (declaration "byte *pbVar6;" (type_identifier "byte") (pointer_declarator "*pbVar6" (* "*") (identifier "pbVar6")) (; ";")) (declaration "bool bVar7;" (primitive_type "bool") (identifier "bVar7") (; ";")) (declaration "undefined1 uVar8;" (type_identifier "undefined1") (identifier "uVar8") (; ";")) (declaration "bool bVar9;" (primitive_type "bool") (identifier "bVar9") (; ";")) (declaration "undefined1 uVar10;" (type_identifier "undefined1") (identifier "uVar10") (; ";")) (declaration "byte bVar11;" (type_identifier "byte") (identifier "bVar11") (; ";")) (declaration "byte *pbStack_1c;" (type_identifier "byte") (pointer_declarator "*pbStack_1c" (* "*") (identifier "pbStack_1c")) (; ";")) (declaration "char *pcStack_18;" (primitive_type "char") (pointer_declarator "*pcStack_18" (* "*") (identifier "pcStack_18")) (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (declaration "undefined4 uStack_10;" (type_identifier "undefined4") (identifier "uStack_10") (; ";")) (expression_statement "bVar11 = 0;" (assignment_expression "bVar11 = 0" (identifier "bVar11") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" (identifier "uVar4") (= "=") (number_literal "1")) (; ";")) (expression_statement "uStack_10 = 0x13f1f;" (assignment_expression "uStack_10 = 0x13f1f" (identifier "uStack_10") (= "=") (number_literal "0x13f1f")) (; ";")) (expression_statement "pbStack_1c = DAT_00026248;" (assignment_expression "pbStack_1c = DAT_00026248" (identifier "pbStack_1c") (= "=") (identifier "DAT_00026248")) (; ";")) (if_statement "if (DAT_00026248 == (byte *)0x0) goto LAB_00013f67;" (if "if") (parenthesized_expression "(DAT_00026248 == (byte *)0x0)" (( "(") (binary_expression "DAT_00026248 == (byte *)0x0" (identifier "DAT_00026248") (== "==") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_00013f67;" (goto "goto") (statement_identifier "LAB_00013f67") (; ";"))) (expression_statement "bVar7 = false;" (assignment_expression "bVar7 = false" (identifier "bVar7") (= "=") (false "false")) (; ";")) (expression_statement "bVar9 = (*DAT_00026248 & 0x20) == 0;" (assignment_expression "bVar9 = (*DAT_00026248 & 0x20) == 0" (identifier "bVar9") (= "=") (binary_expression "(*DAT_00026248 & 0x20) == 0" (parenthesized_expression "(*DAT_00026248 & 0x20)" (( "(") (binary_expression "*DAT_00026248 & 0x20" (pointer_expression "*DAT_00026248" (* "*") (identifier "DAT_00026248")) (& "&") (number_literal "0x20")) () ")")) (== "==") (number_literal "0"))) (; ";")) (if_statement "if (bVar9) {\n    iVar3 = 2;\n    pbVar5 = *(byte **)(DAT_0002624c + -4);\n    pbVar6 = &DAT_00020619;\n    do {\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      bVar7 = *pbVar5 < *pbVar6;\n      bVar9 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + 1;\n      pbVar6 = pbVar6 + 1;\n    } while (bVar9);\n    if ((!bVar7 && !bVar9) != bVar7) {\n      iVar3 = FUN_00019ca0();\n      if (iVar3 != 0) {\n        uStack_14 = DAT_00026250;\n        pcStack_18 = (char *)0x3;\n        pbStack_1c = (byte *)0x0;\n        uVar1 = FUN_00018130();\n        piVar2 = __errno_location();\n        uVar4 = 0;\n        error(0,*piVar2,&DAT_0001fa94,uVar1);\n        goto LAB_00013f5d;\n      }\n    }\n    uVar4 = 1;\n  }\n  else {\n    uStack_14 = DAT_00026250;\n    pcStack_18 = (char *)0x3;\n    pbStack_1c = (byte *)0x0;\n    uVar4 = FUN_00018130();\n    uVar8 = (undefined1 *)0xfffffff3 < &pbStack_1c;\n    uVar10 = &stack0x00000000 == (undefined1 *)0x10;\n    pcStack_18 = "%s: read error";\n    uStack_14 = 5;\n    pbStack_1c = (byte *)0x0;\n    uVar1 = dcgettext();\n    error(0,param_1,uVar1,uVar4);\n    iVar3 = 2;\n    pbVar5 = *(byte **)(DAT_0002624c + -4);\n    pbVar6 = &DAT_00020619;\n    do {\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      uVar8 = *pbVar5 < *pbVar6;\n      uVar10 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + (uint)bVar11 * -2 + 1;\n      pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n    } while ((bool)uVar10);\n    uVar4 = 0;\n    if ((!(bool)uVar8 && !(bool)uVar10) != (bool)uVar8) {\n      pbStack_1c = DAT_00026248;\n      FUN_00019ca0();\n    }\n  }" (if "if") (parenthesized_expression "(bVar9)" (( "(") (identifier "bVar9") () ")")) (compound_statement "{\n    iVar3 = 2;\n    pbVar5 = *(byte **)(DAT_0002624c + -4);\n    pbVar6 = &DAT_00020619;\n    do {\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      bVar7 = *pbVar5 < *pbVar6;\n      bVar9 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + 1;\n      pbVar6 = pbVar6 + 1;\n    } while (bVar9);\n    if ((!bVar7 && !bVar9) != bVar7) {\n      iVar3 = FUN_00019ca0();\n      if (iVar3 != 0) {\n        uStack_14 = DAT_00026250;\n        pcStack_18 = (char *)0x3;\n        pbStack_1c = (byte *)0x0;\n        uVar1 = FUN_00018130();\n        piVar2 = __errno_location();\n        uVar4 = 0;\n        error(0,*piVar2,&DAT_0001fa94,uVar1);\n        goto LAB_00013f5d;\n      }\n    }\n    uVar4 = 1;\n  }" ({ "{") (expression_statement "iVar3 = 2;" (assignment_expression "iVar3 = 2" (identifier "iVar3") (= "=") (number_literal "2")) (; ";")) (expression_statement "pbVar5 = *(byte **)(DAT_0002624c + -4);" (assignment_expression "pbVar5 = *(byte **)(DAT_0002624c + -4)" (identifier "pbVar5") (= "=") (pointer_expression "*(byte **)(DAT_0002624c + -4)" (* "*") (cast_expression "(byte **)(DAT_0002624c + -4)" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(DAT_0002624c + -4)" (( "(") (binary_expression "DAT_0002624c + -4" (identifier "DAT_0002624c") (+ "+") (number_literal "-4")) () ")"))))) (; ";")) (expression_statement "pbVar6 = &DAT_00020619;" (assignment_expression "pbVar6 = &DAT_00020619" (identifier "pbVar6") (= "=") (pointer_expression "&DAT_00020619" (& "&") (identifier "DAT_00020619"))) (; ";")) (do_statement "do {\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      bVar7 = *pbVar5 < *pbVar6;\n      bVar9 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + 1;\n      pbVar6 = pbVar6 + 1;\n    } while (bVar9);" (do "do") (compound_statement "{\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      bVar7 = *pbVar5 < *pbVar6;\n      bVar9 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + 1;\n      pbVar6 = pbVar6 + 1;\n    }" ({ "{") (if_statement "if (iVar3 == 0) break;" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + -1" (identifier "iVar3") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "bVar7 = *pbVar5 < *pbVar6;" (assignment_expression "bVar7 = *pbVar5 < *pbVar6" (identifier "bVar7") (= "=") (binary_expression "*pbVar5 < *pbVar6" (pointer_expression "*pbVar5" (* "*") (identifier "pbVar5")) (< "<") (pointer_expression "*pbVar6" (* "*") (identifier "pbVar6")))) (; ";")) (expression_statement "bVar9 = *pbVar5 == *pbVar6;" (assignment_expression "bVar9 = *pbVar5 == *pbVar6" (identifier "bVar9") (= "=") (binary_expression "*pbVar5 == *pbVar6" (pointer_expression "*pbVar5" (* "*") (identifier "pbVar5")) (== "==") (pointer_expression "*pbVar6" (* "*") (identifier "pbVar6")))) (; ";")) (expression_statement "pbVar5 = pbVar5 + 1;" (assignment_expression "pbVar5 = pbVar5 + 1" (identifier "pbVar5") (= "=") (binary_expression "pbVar5 + 1" (identifier "pbVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" (identifier "pbVar6") (= "=") (binary_expression "pbVar6 + 1" (identifier "pbVar6") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar9)" (( "(") (identifier "bVar9") () ")")) (; ";")) (if_statement "if ((!bVar7 && !bVar9) != bVar7) {\n      iVar3 = FUN_00019ca0();\n      if (iVar3 != 0) {\n        uStack_14 = DAT_00026250;\n        pcStack_18 = (char *)0x3;\n        pbStack_1c = (byte *)0x0;\n        uVar1 = FUN_00018130();\n        piVar2 = __errno_location();\n        uVar4 = 0;\n        error(0,*piVar2,&DAT_0001fa94,uVar1);\n        goto LAB_00013f5d;\n      }\n    }" (if "if") (parenthesized_expression "((!bVar7 && !bVar9) != bVar7)" (( "(") (binary_expression "(!bVar7 && !bVar9) != bVar7" (parenthesized_expression "(!bVar7 && !bVar9)" (( "(") (binary_expression "!bVar7 && !bVar9" (unary_expression "!bVar7" (! "!") (identifier "bVar7")) (&& "&&") (unary_expression "!bVar9" (! "!") (identifier "bVar9"))) () ")")) (!= "!=") (identifier "bVar7")) () ")")) (compound_statement "{\n      iVar3 = FUN_00019ca0();\n      if (iVar3 != 0) {\n        uStack_14 = DAT_00026250;\n        pcStack_18 = (char *)0x3;\n        pbStack_1c = (byte *)0x0;\n        uVar1 = FUN_00018130();\n        piVar2 = __errno_location();\n        uVar4 = 0;\n        error(0,*piVar2,&DAT_0001fa94,uVar1);\n        goto LAB_00013f5d;\n      }\n    }" ({ "{") (expression_statement "iVar3 = FUN_00019ca0();" (assignment_expression "iVar3 = FUN_00019ca0()" (identifier "iVar3") (= "=") (call_expression "FUN_00019ca0()" (identifier "FUN_00019ca0") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar3 != 0) {\n        uStack_14 = DAT_00026250;\n        pcStack_18 = (char *)0x3;\n        pbStack_1c = (byte *)0x0;\n        uVar1 = FUN_00018130();\n        piVar2 = __errno_location();\n        uVar4 = 0;\n        error(0,*piVar2,&DAT_0001fa94,uVar1);\n        goto LAB_00013f5d;\n      }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        uStack_14 = DAT_00026250;\n        pcStack_18 = (char *)0x3;\n        pbStack_1c = (byte *)0x0;\n        uVar1 = FUN_00018130();\n        piVar2 = __errno_location();\n        uVar4 = 0;\n        error(0,*piVar2,&DAT_0001fa94,uVar1);\n        goto LAB_00013f5d;\n      }" ({ "{") (expression_statement "uStack_14 = DAT_00026250;" (assignment_expression "uStack_14 = DAT_00026250" (identifier "uStack_14") (= "=") (identifier "DAT_00026250")) (; ";")) (expression_statement "pcStack_18 = (char *)0x3;" (assignment_expression "pcStack_18 = (char *)0x3" (identifier "pcStack_18") (= "=") (cast_expression "(char *)0x3" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x3"))) (; ";")) (expression_statement "pbStack_1c = (byte *)0x0;" (assignment_expression "pbStack_1c = (byte *)0x0" (identifier "pbStack_1c") (= "=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "uVar1 = FUN_00018130();" (assignment_expression "uVar1 = FUN_00018130()" (identifier "uVar1") (= "=") (call_expression "FUN_00018130()" (identifier "FUN_00018130") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "piVar2 = __errno_location();" (assignment_expression "piVar2 = __errno_location()" (identifier "piVar2") (= "=") (call_expression "__errno_location()" (identifier "__errno_location") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (expression_statement "error(0,*piVar2,&DAT_0001fa94,uVar1);" (call_expression "error(0,*piVar2,&DAT_0001fa94,uVar1)" (identifier "error") (argument_list "(0,*piVar2,&DAT_0001fa94,uVar1)" (( "(") (number_literal "0") (, ",") (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (, ",") (pointer_expression "&DAT_0001fa94" (& "&") (identifier "DAT_0001fa94")) (, ",") (identifier "uVar1") () ")"))) (; ";")) (goto_statement "goto LAB_00013f5d;" (goto "goto") (statement_identifier "LAB_00013f5d") (; ";")) (} "}"))) (} "}"))) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" (identifier "uVar4") (= "=") (number_literal "1")) (; ";")) (} "}")) (else_clause "else {\n    uStack_14 = DAT_00026250;\n    pcStack_18 = (char *)0x3;\n    pbStack_1c = (byte *)0x0;\n    uVar4 = FUN_00018130();\n    uVar8 = (undefined1 *)0xfffffff3 < &pbStack_1c;\n    uVar10 = &stack0x00000000 == (undefined1 *)0x10;\n    pcStack_18 = "%s: read error";\n    uStack_14 = 5;\n    pbStack_1c = (byte *)0x0;\n    uVar1 = dcgettext();\n    error(0,param_1,uVar1,uVar4);\n    iVar3 = 2;\n    pbVar5 = *(byte **)(DAT_0002624c + -4);\n    pbVar6 = &DAT_00020619;\n    do {\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      uVar8 = *pbVar5 < *pbVar6;\n      uVar10 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + (uint)bVar11 * -2 + 1;\n      pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n    } while ((bool)uVar10);\n    uVar4 = 0;\n    if ((!(bool)uVar8 && !(bool)uVar10) != (bool)uVar8) {\n      pbStack_1c = DAT_00026248;\n      FUN_00019ca0();\n    }\n  }" (else "else") (compound_statement "{\n    uStack_14 = DAT_00026250;\n    pcStack_18 = (char *)0x3;\n    pbStack_1c = (byte *)0x0;\n    uVar4 = FUN_00018130();\n    uVar8 = (undefined1 *)0xfffffff3 < &pbStack_1c;\n    uVar10 = &stack0x00000000 == (undefined1 *)0x10;\n    pcStack_18 = "%s: read error";\n    uStack_14 = 5;\n    pbStack_1c = (byte *)0x0;\n    uVar1 = dcgettext();\n    error(0,param_1,uVar1,uVar4);\n    iVar3 = 2;\n    pbVar5 = *(byte **)(DAT_0002624c + -4);\n    pbVar6 = &DAT_00020619;\n    do {\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      uVar8 = *pbVar5 < *pbVar6;\n      uVar10 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + (uint)bVar11 * -2 + 1;\n      pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n    } while ((bool)uVar10);\n    uVar4 = 0;\n    if ((!(bool)uVar8 && !(bool)uVar10) != (bool)uVar8) {\n      pbStack_1c = DAT_00026248;\n      FUN_00019ca0();\n    }\n  }" ({ "{") (expression_statement "uStack_14 = DAT_00026250;" (assignment_expression "uStack_14 = DAT_00026250" (identifier "uStack_14") (= "=") (identifier "DAT_00026250")) (; ";")) (expression_statement "pcStack_18 = (char *)0x3;" (assignment_expression "pcStack_18 = (char *)0x3" (identifier "pcStack_18") (= "=") (cast_expression "(char *)0x3" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x3"))) (; ";")) (expression_statement "pbStack_1c = (byte *)0x0;" (assignment_expression "pbStack_1c = (byte *)0x0" (identifier "pbStack_1c") (= "=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "uVar4 = FUN_00018130();" (assignment_expression "uVar4 = FUN_00018130()" (identifier "uVar4") (= "=") (call_expression "FUN_00018130()" (identifier "FUN_00018130") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar8 = (undefined1 *)0xfffffff3 < &pbStack_1c;" (assignment_expression "uVar8 = (undefined1 *)0xfffffff3 < &pbStack_1c" (identifier "uVar8") (= "=") (binary_expression "(undefined1 *)0xfffffff3 < &pbStack_1c" (cast_expression "(undefined1 *)0xfffffff3" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0xfffffff3")) (< "<") (pointer_expression "&pbStack_1c" (& "&") (identifier "pbStack_1c")))) (; ";")) (expression_statement "uVar10 = &stack0x00000000 == (undefined1 *)0x10;" (assignment_expression "uVar10 = &stack0x00000000 == (undefined1 *)0x10" (identifier "uVar10") (= "=") (binary_expression "&stack0x00000000 == (undefined1 *)0x10" (pointer_expression "&stack0x00000000" (& "&") (identifier "stack0x00000000")) (== "==") (cast_expression "(undefined1 *)0x10" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x10")))) (; ";")) (expression_statement "pcStack_18 = "%s: read error";" (assignment_expression "pcStack_18 = "%s: read error"" (identifier "pcStack_18") (= "=") (string_literal ""%s: read error"" (" """) (string_content "%s: read error") (" """))) (; ";")) (expression_statement "uStack_14 = 5;" (assignment_expression "uStack_14 = 5" (identifier "uStack_14") (= "=") (number_literal "5")) (; ";")) (expression_statement "pbStack_1c = (byte *)0x0;" (assignment_expression "pbStack_1c = (byte *)0x0" (identifier "pbStack_1c") (= "=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "uVar1 = dcgettext();" (assignment_expression "uVar1 = dcgettext()" (identifier "uVar1") (= "=") (call_expression "dcgettext()" (identifier "dcgettext") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "error(0,param_1,uVar1,uVar4);" (call_expression "error(0,param_1,uVar1,uVar4)" (identifier "error") (argument_list "(0,param_1,uVar1,uVar4)" (( "(") (number_literal "0") (, ",") (identifier "param_1") (, ",") (identifier "uVar1") (, ",") (identifier "uVar4") () ")"))) (; ";")) (expression_statement "iVar3 = 2;" (assignment_expression "iVar3 = 2" (identifier "iVar3") (= "=") (number_literal "2")) (; ";")) (expression_statement "pbVar5 = *(byte **)(DAT_0002624c + -4);" (assignment_expression "pbVar5 = *(byte **)(DAT_0002624c + -4)" (identifier "pbVar5") (= "=") (pointer_expression "*(byte **)(DAT_0002624c + -4)" (* "*") (cast_expression "(byte **)(DAT_0002624c + -4)" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(DAT_0002624c + -4)" (( "(") (binary_expression "DAT_0002624c + -4" (identifier "DAT_0002624c") (+ "+") (number_literal "-4")) () ")"))))) (; ";")) (expression_statement "pbVar6 = &DAT_00020619;" (assignment_expression "pbVar6 = &DAT_00020619" (identifier "pbVar6") (= "=") (pointer_expression "&DAT_00020619" (& "&") (identifier "DAT_00020619"))) (; ";")) (do_statement "do {\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      uVar8 = *pbVar5 < *pbVar6;\n      uVar10 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + (uint)bVar11 * -2 + 1;\n      pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n    } while ((bool)uVar10);" (do "do") (compound_statement "{\n      if (iVar3 == 0) break;\n      iVar3 = iVar3 + -1;\n      uVar8 = *pbVar5 < *pbVar6;\n      uVar10 = *pbVar5 == *pbVar6;\n      pbVar5 = pbVar5 + (uint)bVar11 * -2 + 1;\n      pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n    }" ({ "{") (if_statement "if (iVar3 == 0) break;" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + -1" (identifier "iVar3") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "uVar8 = *pbVar5 < *pbVar6;" (assignment_expression "uVar8 = *pbVar5 < *pbVar6" (identifier "uVar8") (= "=") (binary_expression "*pbVar5 < *pbVar6" (pointer_expression "*pbVar5" (* "*") (identifier "pbVar5")) (< "<") (pointer_expression "*pbVar6" (* "*") (identifier "pbVar6")))) (; ";")) (expression_statement "uVar10 = *pbVar5 == *pbVar6;" (assignment_expression "uVar10 = *pbVar5 == *pbVar6" (identifier "uVar10") (= "=") (binary_expression "*pbVar5 == *pbVar6" (pointer_expression "*pbVar5" (* "*") (identifier "pbVar5")) (== "==") (pointer_expression "*pbVar6" (* "*") (identifier "pbVar6")))) (; ";")) (expression_statement "pbVar5 = pbVar5 + (uint)bVar11 * -2 + 1;" (assignment_expression "pbVar5 = pbVar5 + (uint)bVar11 * -2 + 1" (identifier "pbVar5") (= "=") (binary_expression "pbVar5 + (uint)bVar11 * -2 + 1" (binary_expression "pbVar5 + (uint)bVar11 * -2" (identifier "pbVar5") (+ "+") (binary_expression "(uint)bVar11 * -2" (cast_expression "(uint)bVar11" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar11")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;" (assignment_expression "pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1" (identifier "pbVar6") (= "=") (binary_expression "pbVar6 + (uint)bVar11 * -2 + 1" (binary_expression "pbVar6 + (uint)bVar11 * -2" (identifier "pbVar6") (+ "+") (binary_expression "(uint)bVar11 * -2" (cast_expression "(uint)bVar11" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar11")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((bool)uVar10)" (( "(") (cast_expression "(bool)uVar10" (( "(") (type_descriptor "bool" (primitive_type "bool")) () ")") (identifier "uVar10")) () ")")) (; ";")) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (if_statement "if ((!(bool)uVar8 && !(bool)uVar10) != (bool)uVar8) {\n      pbStack_1c = DAT_00026248;\n      FUN_00019ca0();\n    }" (if "if") (parenthesized_expression "((!(bool)uVar8 && !(bool)uVar10) != (bool)uVar8)" (( "(") (binary_expression "(!(bool)uVar8 && !(bool)uVar10) != (bool)uVar8" (parenthesized_expression "(!(bool)uVar8 && !(bool)uVar10)" (( "(") (binary_expression "!(bool)uVar8 && !(bool)uVar10" (unary_expression "!(bool)uVar8" (! "!") (cast_expression "(bool)uVar8" (( "(") (type_descriptor "bool" (primitive_type "bool")) () ")") (identifier "uVar8"))) (&& "&&") (unary_expression "!(bool)uVar10" (! "!") (cast_expression "(bool)uVar10" (( "(") (type_descriptor "bool" (primitive_type "bool")) () ")") (identifier "uVar10")))) () ")")) (!= "!=") (cast_expression "(bool)uVar8" (( "(") (type_descriptor "bool" (primitive_type "bool")) () ")") (identifier "uVar8"))) () ")")) (compound_statement "{\n      pbStack_1c = DAT_00026248;\n      FUN_00019ca0();\n    }" ({ "{") (expression_statement "pbStack_1c = DAT_00026248;" (assignment_expression "pbStack_1c = DAT_00026248" (identifier "pbStack_1c") (= "=") (identifier "DAT_00026248")) (; ";")) (expression_statement "FUN_00019ca0();" (call_expression "FUN_00019ca0()" (identifier "FUN_00019ca0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (} "}")))) (labeled_statement "LAB_00013f5d:\n  DAT_00026248 = (byte *)0x0;" (statement_identifier "LAB_00013f5d") (: ":") (expression_statement "DAT_00026248 = (byte *)0x0;" (assignment_expression "DAT_00026248 = (byte *)0x0" (identifier "DAT_00026248") (= "=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";"))) (labeled_statement "LAB_00013f67:\n  if ((**(byte **)PTR_stdout_00025fd4 & 0x20) == 0) {\n    return uVar4;\n  }" (statement_identifier "LAB_00013f67") (: ":") (if_statement "if ((**(byte **)PTR_stdout_00025fd4 & 0x20) == 0) {\n    return uVar4;\n  }" (if "if") (parenthesized_expression "((**(byte **)PTR_stdout_00025fd4 & 0x20) == 0)" (( "(") (binary_expression "(**(byte **)PTR_stdout_00025fd4 & 0x20) == 0" (parenthesized_expression "(**(byte **)PTR_stdout_00025fd4 & 0x20)" (( "(") (binary_expression "**(byte **)PTR_stdout_00025fd4 & 0x20" (pointer_expression "**(byte **)PTR_stdout_00025fd4" (* "*") (pointer_expression "*(byte **)PTR_stdout_00025fd4" (* "*") (cast_expression "(byte **)PTR_stdout_00025fd4" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_stdout_00025fd4")))) (& "&") (number_literal "0x20")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return uVar4;\n  }" ({ "{") (return_statement "return uVar4;" (return "return") (identifier "uVar4") (; ";")) (} "}")))) (expression_statement "pcStack_18 = "write error";" (assignment_expression "pcStack_18 = "write error"" (identifier "pcStack_18") (= "=") (string_literal ""write error"" (" """) (string_content "write error") (" """))) (; ";")) (expression_statement "uStack_14 = 5;" (assignment_expression "uStack_14 = 5" (identifier "uStack_14") (= "=") (number_literal "5")) (; ";")) (expression_statement "pbStack_1c = (byte *)0x0;" (assignment_expression "pbStack_1c = (byte *)0x0" (identifier "pbStack_1c") (= "=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "uStack_14 = dcgettext();" (assignment_expression "uStack_14 = dcgettext()" (identifier "uStack_14") (= "=") (call_expression "dcgettext()" (identifier "dcgettext") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "pcStack_18 = (char *)0x0;" (assignment_expression "pcStack_18 = (char *)0x0" (identifier "pcStack_18") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "pbStack_1c = (byte *)0x0;" (assignment_expression "pbStack_1c = (byte *)0x0" (identifier "pbStack_1c") (= "=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "error();" (call_expression "error()" (identifier "error") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

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

type_1 __regparm3 function_1(int in_errno)

{
  type_2 uVar1;
  char *pcVar2;
  int *piVar3;
  int var_2;
  type_1 _Var5;
  type_3 *var_3;
  type_3 *var_4;
  bool var_5;
  type_4 uVar9;
  bool bVar10;
  type_4 uVar11;
  type_3 bVar12;
  
  bVar12 = 0;
  _Var5 = true;
  if (var_1 == (type_5 *)0x0) goto LAB_00013f67;
  var_5 = false;
  bVar10 = (var_1->_flags & 0x20) == 0;
  if (bVar10) {
    var_2 = 2;
    var_3 = (type_3 *)file_list[-1];
    var_4 = &DAT_00020619;
    do {
      if (var_2 == 0) break;
      var_2 = var_2 + -1;
      var_5 = *var_3 < *var_4;
      bVar10 = *var_3 == *var_4;
      var_3 = var_3 + 1;
      var_4 = var_4 + 1;
    } while (bVar10);
    if ((!var_5 && !bVar10) != var_5) {
      var_2 = var_6(var_1);
      if (var_2 != 0) {
        pcVar2 = var_7(0,shell_escape_quoting_style,input_filename);
        piVar3 = var_8();
        _Var5 = false;
        var_9(0,*piVar3,&DAT_0001fa94,pcVar2);
        goto LAB_00013f5d;
      }
    }
    _Var5 = true;
  }
  else {
    pcVar2 = var_7(0,shell_escape_quoting_style,input_filename);
    uVar9 = (type_4 *)0xfffffff3 < &stack0xffffffe4;
    uVar11 = &stack0x00000000 == (type_4 *)0x10;
    uVar1 = var_10();
    var_9(0,in_errno,uVar1,pcVar2);
    var_2 = 2;
    var_3 = (type_3 *)file_list[-1];
    var_4 = &DAT_00020619;
    do {
      if (var_2 == 0) break;
      var_2 = var_2 + -1;
      uVar9 = *var_3 < *var_4;
      uVar11 = *var_3 == *var_4;
      var_3 = var_3 + (type_6)bVar12 * -2 + 1;
      var_4 = var_4 + (type_6)bVar12 * -2 + 1;
    } while ((bool)uVar11);
    _Var5 = false;
    if ((!(bool)uVar9 && !(bool)uVar11) != (bool)uVar9) {
      var_6(var_1);
    }
  }
LAB_00013f5d:
  var_1 = (type_5 *)0x0;
LAB_00013f67:
  if ((**(type_3 **)PTR_stdout_00025fd4 & 0x20) == 0) {
    return _Var5;
  }
  var_10();
  var_9();
  return false;
}


(translation_unit (function_definition type: (type_identifier) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (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: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (false))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) right: (number_literal)))) (if_statement condition: (parenthesized_expression (identifier)) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (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: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (unary_expression argument: (identifier)) right: (unary_expression argument: (identifier)))) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)) (identifier)))) (goto_statement label: (statement_identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)) right: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (identifier) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (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: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))) right: (number_literal))))) condition: (parenthesized_expression (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (unary_expression argument: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))) right: (unary_expression argument: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list)))))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal))))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_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: (identifier)))) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (return_statement (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement (number_literal)))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4 __regparm3 MASKED(undefined4 param_1)

{
  undefined4 uVar1;
  int *piVar2;
  int iVar3;
  undefined4 uVar4;
  byte *pbVar5;
  byte *pbVar6;
  bool bVar7;
  undefined1 uVar8;
  bool bVar9;
  undefined1 uVar10;
  byte bVar11;
  byte *pbStack_1c;
  char *pcStack_18;
  undefined4 uStack_14;
  undefined4 uStack_10;
  
  bVar11 = 0;
  uVar4 = 1;
  uStack_10 = 0x13f1f;
  pbStack_1c = DAT_00026248;
  if (DAT_00026248 == (byte *)0x0) goto LAB_00013f67;
  bVar7 = false;
  bVar9 = (*DAT_00026248 & 0x20) == 0;
  if (bVar9) {
    iVar3 = 2;
    pbVar5 = *(byte **)(DAT_0002624c + -4);
    pbVar6 = &DAT_00020619;
    do {
      if (iVar3 == 0) break;
      iVar3 = iVar3 + -1;
      bVar7 = *pbVar5 < *pbVar6;
      bVar9 = *pbVar5 == *pbVar6;
      pbVar5 = pbVar5 + 1;
      pbVar6 = pbVar6 + 1;
    } while (bVar9);
    if ((!bVar7 && !bVar9) != bVar7) {
      iVar3 = FUN_00019ca0();
      if (iVar3 != 0) {
        uStack_14 = DAT_00026250;
        pcStack_18 = (char *)0x3;
        pbStack_1c = (byte *)0x0;
        uVar1 = FUN_00018130();
        piVar2 = __errno_location();
        uVar4 = 0;
        error(0,*piVar2,&DAT_0001fa94,uVar1);
        goto LAB_00013f5d;
      }
    }
    uVar4 = 1;
  }
  else {
    uStack_14 = DAT_00026250;
    pcStack_18 = (char *)0x3;
    pbStack_1c = (byte *)0x0;
    uVar4 = FUN_00018130();
    uVar8 = (undefined1 *)0xfffffff3 < &pbStack_1c;
    uVar10 = &stack0x00000000 == (undefined1 *)0x10;
    pcStack_18 = "%s: read error";
    uStack_14 = 5;
    pbStack_1c = (byte *)0x0;
    uVar1 = dcgettext();
    error(0,param_1,uVar1,uVar4);
    iVar3 = 2;
    pbVar5 = *(byte **)(DAT_0002624c + -4);
    pbVar6 = &DAT_00020619;
    do {
      if (iVar3 == 0) break;
      iVar3 = iVar3 + -1;
      uVar8 = *pbVar5 < *pbVar6;
      uVar10 = *pbVar5 == *pbVar6;
      pbVar5 = pbVar5 + (uint)bVar11 * -2 + 1;
      pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;
    } while ((bool)uVar10);
    uVar4 = 0;
    if ((!(bool)uVar8 && !(bool)uVar10) != (bool)uVar8) {
      pbStack_1c = DAT_00026248;
      FUN_00019ca0();
    }
  }
LAB_00013f5d:
  DAT_00026248 = (byte *)0x0;
LAB_00013f67:
  if ((**(byte **)PTR_stdout_00025fd4 & 0x20) == 0) {
    return uVar4;
  }
  pcStack_18 = "write error";
  uStack_14 = 5;
  pbStack_1c = (byte *)0x0;
  uStack_14 = dcgettext();
  pcStack_18 = (char *)0x0;
  pbStack_1c = (byte *)0x0;
  error();
  return 0;
}

