
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void write_output(void)

{
  size_t sVar1;
  char *pcVar2;
  char *fmt;
  int *piVar3;
  
  sVar1 = iwrite(1,obuf,output_blocksize);
  w_bytes = w_bytes + sVar1;
  if (output_blocksize == sVar1) {
    w_full = w_full + 1;
    oc = 0;
    return;
  }
  pcVar2 = quotearg_style(shell_escape_always_quoting_style,output_file);
  fmt = (char *)dcgettext(0,"writing to %s",5);
  piVar3 = __errno_location();
  nl_error(0,*piVar3,fmt,pcVar2);
  if (sVar1 != 0) {
    w_partial = w_partial + 1;
  }
  finish_up();
                    /* WARNING: Subroutine does not return */
  exit(1);
}



void FUN_00104012(void)

{
  long lVar1;
  undefined8 uVar2;
  undefined8 uVar3;
  int *piVar4;
  
  lVar1 = FUN_00103e1a(1,DAT_00114530,DAT_001145e8);
  DAT_00114578 = DAT_00114578 + lVar1;
  if (DAT_001145e8 == lVar1) {
    DAT_00114590 = DAT_00114590 + 1;
    DAT_00114528 = 0;
    return;
  }
  uVar2 = FUN_00108ace(4,DAT_00114600);
  uVar3 = dcgettext(0,"writing to %s",5);
  piVar4 = __errno_location();
  FUN_00102d1c(0,*piVar4,uVar3,uVar2);
  if (lVar1 != 0) {
    DAT_00114598 = DAT_00114598 + 1;
  }
  FUN_00103ffa();
                    /* WARNING: Subroutine does not return */
  exit(1);
}


PUSH R12
PUSH RBP
PUSH RBX
MOV RDX,qword ptr [0x001145e8]
MOV RSI,qword ptr [0x00114530]
MOV EDI,0x1
CALL 0x00103e1a
ADD qword ptr [0x00114578],RAX
CMP qword ptr [0x001145e8],RAX
JNZ 0x00104056
ADD qword ptr [0x00114590],0x1
MOV qword ptr [0x00114528],0x0
POP RBX
POP RBP
POP R12
RET
MOV RBX,RAX
MOV RSI,qword ptr [0x00114600]
MOV EDI,0x4
CALL 0x00108ace
MOV R12,RAX
MOV EDX,0x5
LEA RSI,[0x10e18b]
MOV EDI,0x0
CALL 0x00102180
MOV RBP,RAX
CALL 0x001020a0
MOV RCX,R12
MOV RDX,RBP
MOV ESI,dword ptr [RAX]
MOV EDI,0x0
MOV EAX,0x0
CALL 0x00102d1c
TEST RBX,RBX
JZ 0x001040af
ADD qword ptr [0x00114598],0x1
CALL 0x00103ffa
MOV EDI,0x1
CALL 0x00102430
(translation_unit "void FUN_00104012(void)\n\n{\n  long lVar1;\n  undefined8 uVar2;\n  undefined8 uVar3;\n  int *piVar4;\n  \n  lVar1 = FUN_00103e1a(1,DAT_00114530,DAT_001145e8);\n  DAT_00114578 = DAT_00114578 + lVar1;\n  if (DAT_001145e8 == lVar1) {\n    DAT_00114590 = DAT_00114590 + 1;\n    DAT_00114528 = 0;\n    return;\n  }\n  uVar2 = FUN_00108ace(4,DAT_00114600);\n  uVar3 = dcgettext(0,"writing to %s",5);\n  piVar4 = __errno_location();\n  FUN_00102d1c(0,*piVar4,uVar3,uVar2);\n  if (lVar1 != 0) {\n    DAT_00114598 = DAT_00114598 + 1;\n  }\n  FUN_00103ffa();\n                    /* WARNING: Subroutine does not return */\n  exit(1);\n}\n\n" (function_definition "void FUN_00104012(void)\n\n{\n  long lVar1;\n  undefined8 uVar2;\n  undefined8 uVar3;\n  int *piVar4;\n  \n  lVar1 = FUN_00103e1a(1,DAT_00114530,DAT_001145e8);\n  DAT_00114578 = DAT_00114578 + lVar1;\n  if (DAT_001145e8 == lVar1) {\n    DAT_00114590 = DAT_00114590 + 1;\n    DAT_00114528 = 0;\n    return;\n  }\n  uVar2 = FUN_00108ace(4,DAT_00114600);\n  uVar3 = dcgettext(0,"writing to %s",5);\n  piVar4 = __errno_location();\n  FUN_00102d1c(0,*piVar4,uVar3,uVar2);\n  if (lVar1 != 0) {\n    DAT_00114598 = DAT_00114598 + 1;\n  }\n  FUN_00103ffa();\n                    /* WARNING: Subroutine does not return */\n  exit(1);\n}" primitive_type (function_declarator "FUN_00104012(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  long lVar1;\n  undefined8 uVar2;\n  undefined8 uVar3;\n  int *piVar4;\n  \n  lVar1 = FUN_00103e1a(1,DAT_00114530,DAT_001145e8);\n  DAT_00114578 = DAT_00114578 + lVar1;\n  if (DAT_001145e8 == lVar1) {\n    DAT_00114590 = DAT_00114590 + 1;\n    DAT_00114528 = 0;\n    return;\n  }\n  uVar2 = FUN_00108ace(4,DAT_00114600);\n  uVar3 = dcgettext(0,"writing to %s",5);\n  piVar4 = __errno_location();\n  FUN_00102d1c(0,*piVar4,uVar3,uVar2);\n  if (lVar1 != 0) {\n    DAT_00114598 = DAT_00114598 + 1;\n  }\n  FUN_00103ffa();\n                    /* WARNING: Subroutine does not return */\n  exit(1);\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (expression_statement "lVar1 = FUN_00103e1a(1,DAT_00114530,DAT_001145e8);" (assignment_expression "lVar1 = FUN_00103e1a(1,DAT_00114530,DAT_001145e8)" identifier = (call_expression "FUN_00103e1a(1,DAT_00114530,DAT_001145e8)" identifier (argument_list "(1,DAT_00114530,DAT_001145e8)" ( number_literal , identifier , identifier )))) ;) (expression_statement "DAT_00114578 = DAT_00114578 + lVar1;" (assignment_expression "DAT_00114578 = DAT_00114578 + lVar1" identifier = (binary_expression "DAT_00114578 + lVar1" identifier + identifier)) ;) (if_statement "if (DAT_001145e8 == lVar1) {\n    DAT_00114590 = DAT_00114590 + 1;\n    DAT_00114528 = 0;\n    return;\n  }" if (parenthesized_expression "(DAT_001145e8 == lVar1)" ( (binary_expression "DAT_001145e8 == lVar1" identifier == identifier) )) (compound_statement "{\n    DAT_00114590 = DAT_00114590 + 1;\n    DAT_00114528 = 0;\n    return;\n  }" { (expression_statement "DAT_00114590 = DAT_00114590 + 1;" (assignment_expression "DAT_00114590 = DAT_00114590 + 1" identifier = (binary_expression "DAT_00114590 + 1" identifier + number_literal)) ;) (expression_statement "DAT_00114528 = 0;" (assignment_expression "DAT_00114528 = 0" identifier = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "uVar2 = FUN_00108ace(4,DAT_00114600);" (assignment_expression "uVar2 = FUN_00108ace(4,DAT_00114600)" identifier = (call_expression "FUN_00108ace(4,DAT_00114600)" identifier (argument_list "(4,DAT_00114600)" ( number_literal , identifier )))) ;) (expression_statement "uVar3 = dcgettext(0,"writing to %s",5);" (assignment_expression "uVar3 = dcgettext(0,"writing to %s",5)" identifier = (call_expression "dcgettext(0,"writing to %s",5)" identifier (argument_list "(0,"writing to %s",5)" ( number_literal , (string_literal ""writing to %s"" " string_content ") , number_literal )))) ;) (expression_statement "piVar4 = __errno_location();" (assignment_expression "piVar4 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "FUN_00102d1c(0,*piVar4,uVar3,uVar2);" (call_expression "FUN_00102d1c(0,*piVar4,uVar3,uVar2)" identifier (argument_list "(0,*piVar4,uVar3,uVar2)" ( number_literal , (pointer_expression "*piVar4" * identifier) , identifier , identifier ))) ;) (if_statement "if (lVar1 != 0) {\n    DAT_00114598 = DAT_00114598 + 1;\n  }" if (parenthesized_expression "(lVar1 != 0)" ( (binary_expression "lVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    DAT_00114598 = DAT_00114598 + 1;\n  }" { (expression_statement "DAT_00114598 = DAT_00114598 + 1;" (assignment_expression "DAT_00114598 = DAT_00114598 + 1" identifier = (binary_expression "DAT_00114598 + 1" identifier + number_literal)) ;) })) (expression_statement "FUN_00103ffa();" (call_expression "FUN_00103ffa()" identifier (argument_list "()" ( ))) ;) comment (expression_statement "exit(1);" (call_expression "exit(1)" identifier (argument_list "(1)" ( number_literal ))) ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid write_output(void)\n\n{\n  size_t sVar1;\n  char *pcVar2;\n  char *fmt;\n  int *piVar3;\n  \n  sVar1 = iwrite(1,obuf,output_blocksize);\n  w_bytes = w_bytes + sVar1;\n  if (output_blocksize == sVar1) {\n    w_full = w_full + 1;\n    oc = 0;\n    return;\n  }\n  pcVar2 = quotearg_style(shell_escape_always_quoting_style,output_file);\n  fmt = (char *)dcgettext(0,"writing to %s",5);\n  piVar3 = __errno_location();\n  nl_error(0,*piVar3,fmt,pcVar2);\n  if (sVar1 != 0) {\n    w_partial = w_partial + 1;\n  }\n  finish_up();\n                    /* WARNING: Subroutine does not return */\n  exit(1);\n}\n\n" comment (function_definition "void write_output(void)\n\n{\n  size_t sVar1;\n  char *pcVar2;\n  char *fmt;\n  int *piVar3;\n  \n  sVar1 = iwrite(1,obuf,output_blocksize);\n  w_bytes = w_bytes + sVar1;\n  if (output_blocksize == sVar1) {\n    w_full = w_full + 1;\n    oc = 0;\n    return;\n  }\n  pcVar2 = quotearg_style(shell_escape_always_quoting_style,output_file);\n  fmt = (char *)dcgettext(0,"writing to %s",5);\n  piVar3 = __errno_location();\n  nl_error(0,*piVar3,fmt,pcVar2);\n  if (sVar1 != 0) {\n    w_partial = w_partial + 1;\n  }\n  finish_up();\n                    /* WARNING: Subroutine does not return */\n  exit(1);\n}" primitive_type (function_declarator "write_output(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  size_t sVar1;\n  char *pcVar2;\n  char *fmt;\n  int *piVar3;\n  \n  sVar1 = iwrite(1,obuf,output_blocksize);\n  w_bytes = w_bytes + sVar1;\n  if (output_blocksize == sVar1) {\n    w_full = w_full + 1;\n    oc = 0;\n    return;\n  }\n  pcVar2 = quotearg_style(shell_escape_always_quoting_style,output_file);\n  fmt = (char *)dcgettext(0,"writing to %s",5);\n  piVar3 = __errno_location();\n  nl_error(0,*piVar3,fmt,pcVar2);\n  if (sVar1 != 0) {\n    w_partial = w_partial + 1;\n  }\n  finish_up();\n                    /* WARNING: Subroutine does not return */\n  exit(1);\n}" { (declaration "size_t sVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "char *fmt;" primitive_type (pointer_declarator "*fmt" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (expression_statement "sVar1 = iwrite(1,obuf,output_blocksize);" (assignment_expression "sVar1 = iwrite(1,obuf,output_blocksize)" identifier = (call_expression "iwrite(1,obuf,output_blocksize)" identifier (argument_list "(1,obuf,output_blocksize)" ( number_literal , identifier , identifier )))) ;) (expression_statement "w_bytes = w_bytes + sVar1;" (assignment_expression "w_bytes = w_bytes + sVar1" identifier = (binary_expression "w_bytes + sVar1" identifier + identifier)) ;) (if_statement "if (output_blocksize == sVar1) {\n    w_full = w_full + 1;\n    oc = 0;\n    return;\n  }" if (parenthesized_expression "(output_blocksize == sVar1)" ( (binary_expression "output_blocksize == sVar1" identifier == identifier) )) (compound_statement "{\n    w_full = w_full + 1;\n    oc = 0;\n    return;\n  }" { (expression_statement "w_full = w_full + 1;" (assignment_expression "w_full = w_full + 1" identifier = (binary_expression "w_full + 1" identifier + number_literal)) ;) (expression_statement "oc = 0;" (assignment_expression "oc = 0" identifier = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "pcVar2 = quotearg_style(shell_escape_always_quoting_style,output_file);" (assignment_expression "pcVar2 = quotearg_style(shell_escape_always_quoting_style,output_file)" identifier = (call_expression "quotearg_style(shell_escape_always_quoting_style,output_file)" identifier (argument_list "(shell_escape_always_quoting_style,output_file)" ( identifier , identifier )))) ;) (expression_statement "fmt = (char *)dcgettext(0,"writing to %s",5);" (assignment_expression "fmt = (char *)dcgettext(0,"writing to %s",5)" identifier = (cast_expression "(char *)dcgettext(0,"writing to %s",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"writing to %s",5)" identifier (argument_list "(0,"writing to %s",5)" ( number_literal , (string_literal ""writing to %s"" " string_content ") , number_literal ))))) ;) (expression_statement "piVar3 = __errno_location();" (assignment_expression "piVar3 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "nl_error(0,*piVar3,fmt,pcVar2);" (call_expression "nl_error(0,*piVar3,fmt,pcVar2)" identifier (argument_list "(0,*piVar3,fmt,pcVar2)" ( number_literal , (pointer_expression "*piVar3" * identifier) , identifier , identifier ))) ;) (if_statement "if (sVar1 != 0) {\n    w_partial = w_partial + 1;\n  }" if (parenthesized_expression "(sVar1 != 0)" ( (binary_expression "sVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    w_partial = w_partial + 1;\n  }" { (expression_statement "w_partial = w_partial + 1;" (assignment_expression "w_partial = w_partial + 1" identifier = (binary_expression "w_partial + 1" identifier + number_literal)) ;) })) (expression_statement "finish_up();" (call_expression "finish_up()" identifier (argument_list "()" ( ))) ;) comment (expression_statement "exit(1);" (call_expression "exit(1)" identifier (argument_list "(1)" ( number_literal ))) ;) })))
(translation_unit "void FUN_00104012(void)\n\n{\n  long lVar1;\n  undefined8 uVar2;\n  undefined8 uVar3;\n  int *piVar4;\n  \n  lVar1 = FUN_00103e1a(1,DAT_00114530,DAT_001145e8);\n  DAT_00114578 = DAT_00114578 + lVar1;\n  if (DAT_001145e8 == lVar1) {\n    DAT_00114590 = DAT_00114590 + 1;\n    DAT_00114528 = 0;\n    return;\n  }\n  uVar2 = FUN_00108ace(4,DAT_00114600);\n  uVar3 = dcgettext(0,"writing to %s",5);\n  piVar4 = __errno_location();\n  FUN_00102d1c(0,*piVar4,uVar3,uVar2);\n  if (lVar1 != 0) {\n    DAT_00114598 = DAT_00114598 + 1;\n  }\n  FUN_00103ffa();\n                    \n  exit(1);\n}\n\n" (function_definition "void FUN_00104012(void)\n\n{\n  long lVar1;\n  undefined8 uVar2;\n  undefined8 uVar3;\n  int *piVar4;\n  \n  lVar1 = FUN_00103e1a(1,DAT_00114530,DAT_001145e8);\n  DAT_00114578 = DAT_00114578 + lVar1;\n  if (DAT_001145e8 == lVar1) {\n    DAT_00114590 = DAT_00114590 + 1;\n    DAT_00114528 = 0;\n    return;\n  }\n  uVar2 = FUN_00108ace(4,DAT_00114600);\n  uVar3 = dcgettext(0,"writing to %s",5);\n  piVar4 = __errno_location();\n  FUN_00102d1c(0,*piVar4,uVar3,uVar2);\n  if (lVar1 != 0) {\n    DAT_00114598 = DAT_00114598 + 1;\n  }\n  FUN_00103ffa();\n                    \n  exit(1);\n}" primitive_type (function_declarator "FUN_00104012(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  long lVar1;\n  undefined8 uVar2;\n  undefined8 uVar3;\n  int *piVar4;\n  \n  lVar1 = FUN_00103e1a(1,DAT_00114530,DAT_001145e8);\n  DAT_00114578 = DAT_00114578 + lVar1;\n  if (DAT_001145e8 == lVar1) {\n    DAT_00114590 = DAT_00114590 + 1;\n    DAT_00114528 = 0;\n    return;\n  }\n  uVar2 = FUN_00108ace(4,DAT_00114600);\n  uVar3 = dcgettext(0,"writing to %s",5);\n  piVar4 = __errno_location();\n  FUN_00102d1c(0,*piVar4,uVar3,uVar2);\n  if (lVar1 != 0) {\n    DAT_00114598 = DAT_00114598 + 1;\n  }\n  FUN_00103ffa();\n                    \n  exit(1);\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (expression_statement "lVar1 = FUN_00103e1a(1,DAT_00114530,DAT_001145e8);" (assignment_expression "lVar1 = FUN_00103e1a(1,DAT_00114530,DAT_001145e8)" identifier = (call_expression "FUN_00103e1a(1,DAT_00114530,DAT_001145e8)" identifier (argument_list "(1,DAT_00114530,DAT_001145e8)" ( number_literal , identifier , identifier )))) ;) (expression_statement "DAT_00114578 = DAT_00114578 + lVar1;" (assignment_expression "DAT_00114578 = DAT_00114578 + lVar1" identifier = (binary_expression "DAT_00114578 + lVar1" identifier + identifier)) ;) (if_statement "if (DAT_001145e8 == lVar1) {\n    DAT_00114590 = DAT_00114590 + 1;\n    DAT_00114528 = 0;\n    return;\n  }" if (parenthesized_expression "(DAT_001145e8 == lVar1)" ( (binary_expression "DAT_001145e8 == lVar1" identifier == identifier) )) (compound_statement "{\n    DAT_00114590 = DAT_00114590 + 1;\n    DAT_00114528 = 0;\n    return;\n  }" { (expression_statement "DAT_00114590 = DAT_00114590 + 1;" (assignment_expression "DAT_00114590 = DAT_00114590 + 1" identifier = (binary_expression "DAT_00114590 + 1" identifier + number_literal)) ;) (expression_statement "DAT_00114528 = 0;" (assignment_expression "DAT_00114528 = 0" identifier = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "uVar2 = FUN_00108ace(4,DAT_00114600);" (assignment_expression "uVar2 = FUN_00108ace(4,DAT_00114600)" identifier = (call_expression "FUN_00108ace(4,DAT_00114600)" identifier (argument_list "(4,DAT_00114600)" ( number_literal , identifier )))) ;) (expression_statement "uVar3 = dcgettext(0,"writing to %s",5);" (assignment_expression "uVar3 = dcgettext(0,"writing to %s",5)" identifier = (call_expression "dcgettext(0,"writing to %s",5)" identifier (argument_list "(0,"writing to %s",5)" ( number_literal , (string_literal ""writing to %s"" " string_content ") , number_literal )))) ;) (expression_statement "piVar4 = __errno_location();" (assignment_expression "piVar4 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "FUN_00102d1c(0,*piVar4,uVar3,uVar2);" (call_expression "FUN_00102d1c(0,*piVar4,uVar3,uVar2)" identifier (argument_list "(0,*piVar4,uVar3,uVar2)" ( number_literal , (pointer_expression "*piVar4" * identifier) , identifier , identifier ))) ;) (if_statement "if (lVar1 != 0) {\n    DAT_00114598 = DAT_00114598 + 1;\n  }" if (parenthesized_expression "(lVar1 != 0)" ( (binary_expression "lVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    DAT_00114598 = DAT_00114598 + 1;\n  }" { (expression_statement "DAT_00114598 = DAT_00114598 + 1;" (assignment_expression "DAT_00114598 = DAT_00114598 + 1" identifier = (binary_expression "DAT_00114598 + 1" identifier + number_literal)) ;) })) (expression_statement "FUN_00103ffa();" (call_expression "FUN_00103ffa()" identifier (argument_list "()" ( ))) ;) (expression_statement "exit(1);" (call_expression "exit(1)" identifier (argument_list "(1)" ( number_literal ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (pointer_expression * IDENT) , IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })))
(function_definition "void FUN_00104012(void)\n\n{\n  long lVar1;\n  undefined8 uVar2;\n  undefined8 uVar3;\n  int *piVar4;\n  \n  lVar1 = FUN_00103e1a(1,DAT_00114530,DAT_001145e8);\n  DAT_00114578 = DAT_00114578 + lVar1;\n  if (DAT_001145e8 == lVar1) {\n    DAT_00114590 = DAT_00114590 + 1;\n    DAT_00114528 = 0;\n    return;\n  }\n  uVar2 = FUN_00108ace(4,DAT_00114600);\n  uVar3 = dcgettext(0,"writing to %s",5);\n  piVar4 = __errno_location();\n  FUN_00102d1c(0,*piVar4,uVar3,uVar2);\n  if (lVar1 != 0) {\n    DAT_00114598 = DAT_00114598 + 1;\n  }\n  FUN_00103ffa();\n                    \n  exit(1);\n}" (primitive_type "void") (function_declarator "FUN_00104012(void)" (identifier "FUN_00104012") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  long lVar1;\n  undefined8 uVar2;\n  undefined8 uVar3;\n  int *piVar4;\n  \n  lVar1 = FUN_00103e1a(1,DAT_00114530,DAT_001145e8);\n  DAT_00114578 = DAT_00114578 + lVar1;\n  if (DAT_001145e8 == lVar1) {\n    DAT_00114590 = DAT_00114590 + 1;\n    DAT_00114528 = 0;\n    return;\n  }\n  uVar2 = FUN_00108ace(4,DAT_00114600);\n  uVar3 = dcgettext(0,"writing to %s",5);\n  piVar4 = __errno_location();\n  FUN_00102d1c(0,*piVar4,uVar3,uVar2);\n  if (lVar1 != 0) {\n    DAT_00114598 = DAT_00114598 + 1;\n  }\n  FUN_00103ffa();\n                    \n  exit(1);\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "undefined8 uVar2;" (type_identifier "undefined8") (identifier "uVar2") (; ";")) (declaration "undefined8 uVar3;" (type_identifier "undefined8") (identifier "uVar3") (; ";")) (declaration "int *piVar4;" (primitive_type "int") (pointer_declarator "*piVar4" (* "*") (identifier "piVar4")) (; ";")) (expression_statement "lVar1 = FUN_00103e1a(1,DAT_00114530,DAT_001145e8);" (assignment_expression "lVar1 = FUN_00103e1a(1,DAT_00114530,DAT_001145e8)" (identifier "lVar1") (= "=") (call_expression "FUN_00103e1a(1,DAT_00114530,DAT_001145e8)" (identifier "FUN_00103e1a") (argument_list "(1,DAT_00114530,DAT_001145e8)" (( "(") (number_literal "1") (, ",") (identifier "DAT_00114530") (, ",") (identifier "DAT_001145e8") () ")")))) (; ";")) (expression_statement "DAT_00114578 = DAT_00114578 + lVar1;" (assignment_expression "DAT_00114578 = DAT_00114578 + lVar1" (identifier "DAT_00114578") (= "=") (binary_expression "DAT_00114578 + lVar1" (identifier "DAT_00114578") (+ "+") (identifier "lVar1"))) (; ";")) (if_statement "if (DAT_001145e8 == lVar1) {\n    DAT_00114590 = DAT_00114590 + 1;\n    DAT_00114528 = 0;\n    return;\n  }" (if "if") (parenthesized_expression "(DAT_001145e8 == lVar1)" (( "(") (binary_expression "DAT_001145e8 == lVar1" (identifier "DAT_001145e8") (== "==") (identifier "lVar1")) () ")")) (compound_statement "{\n    DAT_00114590 = DAT_00114590 + 1;\n    DAT_00114528 = 0;\n    return;\n  }" ({ "{") (expression_statement "DAT_00114590 = DAT_00114590 + 1;" (assignment_expression "DAT_00114590 = DAT_00114590 + 1" (identifier "DAT_00114590") (= "=") (binary_expression "DAT_00114590 + 1" (identifier "DAT_00114590") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "DAT_00114528 = 0;" (assignment_expression "DAT_00114528 = 0" (identifier "DAT_00114528") (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "uVar2 = FUN_00108ace(4,DAT_00114600);" (assignment_expression "uVar2 = FUN_00108ace(4,DAT_00114600)" (identifier "uVar2") (= "=") (call_expression "FUN_00108ace(4,DAT_00114600)" (identifier "FUN_00108ace") (argument_list "(4,DAT_00114600)" (( "(") (number_literal "4") (, ",") (identifier "DAT_00114600") () ")")))) (; ";")) (expression_statement "uVar3 = dcgettext(0,"writing to %s",5);" (assignment_expression "uVar3 = dcgettext(0,"writing to %s",5)" (identifier "uVar3") (= "=") (call_expression "dcgettext(0,"writing to %s",5)" (identifier "dcgettext") (argument_list "(0,"writing to %s",5)" (( "(") (number_literal "0") (, ",") (string_literal ""writing to %s"" (" """) (string_content "writing to %s") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "piVar4 = __errno_location();" (assignment_expression "piVar4 = __errno_location()" (identifier "piVar4") (= "=") (call_expression "__errno_location()" (identifier "__errno_location") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "FUN_00102d1c(0,*piVar4,uVar3,uVar2);" (call_expression "FUN_00102d1c(0,*piVar4,uVar3,uVar2)" (identifier "FUN_00102d1c") (argument_list "(0,*piVar4,uVar3,uVar2)" (( "(") (number_literal "0") (, ",") (pointer_expression "*piVar4" (* "*") (identifier "piVar4")) (, ",") (identifier "uVar3") (, ",") (identifier "uVar2") () ")"))) (; ";")) (if_statement "if (lVar1 != 0) {\n    DAT_00114598 = DAT_00114598 + 1;\n  }" (if "if") (parenthesized_expression "(lVar1 != 0)" (( "(") (binary_expression "lVar1 != 0" (identifier "lVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    DAT_00114598 = DAT_00114598 + 1;\n  }" ({ "{") (expression_statement "DAT_00114598 = DAT_00114598 + 1;" (assignment_expression "DAT_00114598 = DAT_00114598 + 1" (identifier "DAT_00114598") (= "=") (binary_expression "DAT_00114598 + 1" (identifier "DAT_00114598") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "FUN_00103ffa();" (call_expression "FUN_00103ffa()" (identifier "FUN_00103ffa") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "exit(1);" (call_expression "exit(1)" (identifier "exit") (argument_list "(1)" (( "(") (number_literal "1") () ")"))) (; ";")) (} "}")))

/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void function_1(void)

{
  size_t var_3;
  char *pcVar2;
  char *fmt;
  int *piVar3;
  
  var_3 = var_1(1,obuf,var_4);
  var_2 = var_2 + var_3;
  if (var_4 == var_3) {
    var_5 = var_5 + 1;
    oc = 0;
    return;
  }
  pcVar2 = var_6(shell_escape_always_quoting_style,output_file);
  fmt = (char *)var_7(0,"writing to %s",5);
  piVar3 = var_8();
  var_9(0,*piVar3,fmt,pcVar2);
  if (var_3 != 0) {
    var_10 = var_10 + 1;
  }
  var_11();
                    /* WARNING: Subroutine does not return */
  var_12(1);
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (identifier) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content)) (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) (pointer_expression argument: (identifier)) (identifier) (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal)))))))

void MASKED(void)

{
  long lVar1;
  undefined8 uVar2;
  undefined8 uVar3;
  int *piVar4;
  
  lVar1 = FUN_00103e1a(1,DAT_00114530,DAT_001145e8);
  DAT_00114578 = DAT_00114578 + lVar1;
  if (DAT_001145e8 == lVar1) {
    DAT_00114590 = DAT_00114590 + 1;
    DAT_00114528 = 0;
    return;
  }
  uVar2 = FUN_00108ace(4,DAT_00114600);
  uVar3 = dcgettext(0,"writing to %s",5);
  piVar4 = __errno_location();
  FUN_00102d1c(0,*piVar4,uVar3,uVar2);
  if (lVar1 != 0) {
    DAT_00114598 = DAT_00114598 + 1;
  }
  FUN_00103ffa();
                    /* WARNING: Subroutine does not return */
  exit(1);
}

