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

void __regparm3 print_context_function(FILE *out,char *function)

{
  char *pcVar1;
  int iVar2;
  int iVar3;
  byte bVar4;
  int iVar5;
  size_t __n;
  int iVar6;
  char *local_24;
  
  pcVar1 = out->_IO_write_ptr;
  if (pcVar1 < out->_IO_write_end) {
    out->_IO_write_ptr = pcVar1 + 1;
    *pcVar1 = ' ';
  }
  else {
    __overflow((_IO_FILE *)out,0x20);
  }
  bVar4 = *function;
  if (((bVar4 - 9 < 0x18) && ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) != 0)) && (bVar4 != 10))
  {
    iVar6 = 0;
    do {
      iVar5 = iVar6;
      bVar4 = function[iVar5 + 1];
      iVar6 = iVar5 + 1;
      local_24 = function + iVar6;
      if ((0x17 < bVar4 - 9) || ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) == 0)) break;
    } while (bVar4 != 10);
    iVar5 = iVar5 + 0x28;
  }
  else {
    iVar5 = 0x27;
    iVar6 = 0;
    local_24 = function;
  }
  __n = 0;
  iVar3 = iVar6;
  if (bVar4 != 10) {
    do {
      iVar2 = iVar3;
      iVar3 = iVar2 + 1;
      if (iVar5 < iVar3) break;
    } while (function[iVar2 + 1] != '\n');
    if ((iVar6 < iVar3) && ((byte)function[iVar2] - 9 < 0x18)) {
      bVar4 = (byte)((byte)function[iVar2] - 9);
      iVar5 = iVar3;
      while (iVar3 = iVar5, (1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {
        iVar3 = iVar5 + -1;
        if (iVar3 == iVar6) {
          __n = 0;
          goto LAB_0001596e;
        }
        if (0x17 < (byte)function[iVar5 + -2] - 9) break;
        bVar4 = (byte)((byte)function[iVar5 + -2] - 9);
        iVar5 = iVar3;
      }
    }
    __n = iVar3 - iVar6;
  }
LAB_0001596e:
  fwrite_unlocked(local_24,1,__n,(FILE *)out);
  return;
}



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

void __regparm3 FUN_00015910(_IO_FILE *param_1,byte *param_2)

{
  char *pcVar1;
  int iVar2;
  int iVar3;
  byte bVar4;
  int iVar5;
  size_t __n;
  int iVar6;
  byte *local_24;
  
  pcVar1 = param_1->_IO_write_ptr;
  if (pcVar1 < param_1->_IO_write_end) {
    param_1->_IO_write_ptr = pcVar1 + 1;
    *pcVar1 = ' ';
  }
  else {
    __overflow(param_1,0x20);
  }
  bVar4 = *param_2;
  if (((bVar4 - 9 < 0x18) && ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) != 0)) && (bVar4 != 10))
  {
    iVar6 = 0;
    do {
      iVar5 = iVar6;
      bVar4 = param_2[iVar5 + 1];
      iVar6 = iVar5 + 1;
      local_24 = param_2 + iVar6;
      if ((0x17 < bVar4 - 9) || ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) == 0)) break;
    } while (bVar4 != 10);
    iVar5 = iVar5 + 0x28;
  }
  else {
    iVar5 = 0x27;
    iVar6 = 0;
    local_24 = param_2;
  }
  __n = 0;
  iVar3 = iVar6;
  if (bVar4 != 10) {
    do {
      iVar2 = iVar3;
      iVar3 = iVar2 + 1;
      if (iVar5 < iVar3) break;
    } while (param_2[iVar2 + 1] != 10);
    if ((iVar6 < iVar3) && (param_2[iVar2] - 9 < 0x18)) {
      bVar4 = (byte)(param_2[iVar2] - 9);
      iVar5 = iVar3;
      while (iVar3 = iVar5, (1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {
        iVar3 = iVar5 + -1;
        if (iVar3 == iVar6) {
          __n = 0;
          goto LAB_0001596e;
        }
        if (0x17 < param_2[iVar5 + -2] - 9) break;
        bVar4 = (byte)(param_2[iVar5 + -2] - 9);
        iVar5 = iVar3;
      }
    }
    __n = iVar3 - iVar6;
  }
LAB_0001596e:
  fwrite_unlocked(local_24,1,__n,param_1);
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
MOV ESI,EAX
PUSH EBX
CALL 0x00013b20
ADD EBX,0x376e5
SUB ESP,0x1c
MOV EAX,dword ptr [EAX + 0x14]
CMP dword ptr [ESI + 0x18],EAX
JBE 0x00015a60
LEA ECX,[EAX + 0x1]
MOV dword ptr [ESI + 0x14],ECX
MOV byte ptr [EAX],0x20
MOVZX ECX,byte ptr [EDX]
MOV EAX,ECX
SUB ECX,0x9
CMP ECX,0x17
JA 0x0001595d
MOV EDI,0x1
SHL EDI,CL
AND EDI,0x80001f
JZ 0x0001595d
CMP AL,0xa
JNZ 0x00015a10
MOV dword ptr [ESP + 0x8],EDX
MOV ECX,0x27
XOR EDI,EDI
XOR EBP,EBP
CMP AL,0xa
JNZ 0x00015988
PUSH ESI
PUSH EBP
PUSH 0x1
PUSH dword ptr [ESP + 0x14]
CALL 0x000124e0
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EBP,EDI
LEA EAX,[EBP + 0x1]
CMP EAX,ECX
JG 0x000159a8
CMP byte ptr [EDX + EBP*0x1 + 0x1],0xa
JZ 0x000159a8
MOV EBP,EAX
LEA EAX,[EBP + 0x1]
CMP EAX,ECX
JLE 0x00015991
LEA ESI,[ESI]
CMP EAX,EDI
JLE 0x000159ec
MOVZX ECX,byte ptr [EDX + EBP*0x1]
SUB ECX,0x9
CMP ECX,0x17
JA 0x000159ec
MOV EBP,0x1
SHL EBP,CL
AND EBP,0x80001f
JZ 0x000159ec
MOV dword ptr [ESP + 0xc],ESI
MOV EBP,0x1
SUB EAX,0x1
CMP EAX,EDI
JZ 0x00015a7b
MOVZX ECX,byte ptr [EDX + EAX*0x1 + -0x1]
SUB ECX,0x9
CMP ECX,0x17
JBE 0x000159f8
MOV ESI,dword ptr [ESP + 0xc]
SUB EAX,EDI
MOV EBP,EAX
JMP 0x0001596e
MOV ESI,EBP
SHL ESI,CL
MOV ECX,ESI
AND ECX,0x80001f
JNZ 0x000159d0
JMP 0x000159e8
MOV dword ptr [ESP + 0xc],ESI
XOR EBP,EBP
MOVZX ECX,byte ptr [EDX + EBP*0x1 + 0x1]
LEA EDI,[EBP + 0x1]
LEA EAX,[EDX + EDI*0x1]
MOV dword ptr [ESP + 0x8],EAX
MOV EAX,ECX
SUB ECX,0x9
CMP ECX,0x17
JA 0x00015a50
MOV ESI,0x1
SHL ESI,CL
MOV ECX,ESI
AND ECX,0x80001f
JZ 0x00015a50
CMP AL,0xa
JZ 0x00015a50
MOV EBP,EDI
JMP 0x00015a16
MOV ESI,dword ptr [ESP + 0xc]
LEA ECX,[EBP + 0x28]
JMP 0x00015968
MOV dword ptr [ESP + 0x8],EDX
SUB ESP,0x8
PUSH 0x20
PUSH ESI
CALL 0x00012590
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x8]
JMP 0x00015939
MOV ESI,dword ptr [ESP + 0xc]
XOR EBP,EBP
JMP 0x0001596e
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_00015910(_IO_FILE *param_1,byte *param_2)\n\n{\n  char *pcVar1;\n  int iVar2;\n  int iVar3;\n  byte bVar4;\n  int iVar5;\n  size_t __n;\n  int iVar6;\n  byte *local_24;\n  \n  pcVar1 = param_1->_IO_write_ptr;\n  if (pcVar1 < param_1->_IO_write_end) {\n    param_1->_IO_write_ptr = pcVar1 + 1;\n    *pcVar1 = ' ';\n  }\n  else {\n    __overflow(param_1,0x20);\n  }\n  bVar4 = *param_2;\n  if (((bVar4 - 9 < 0x18) && ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) != 0)) && (bVar4 != 10))\n  {\n    iVar6 = 0;\n    do {\n      iVar5 = iVar6;\n      bVar4 = param_2[iVar5 + 1];\n      iVar6 = iVar5 + 1;\n      local_24 = param_2 + iVar6;\n      if ((0x17 < bVar4 - 9) || ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) == 0)) break;\n    } while (bVar4 != 10);\n    iVar5 = iVar5 + 0x28;\n  }\n  else {\n    iVar5 = 0x27;\n    iVar6 = 0;\n    local_24 = param_2;\n  }\n  __n = 0;\n  iVar3 = iVar6;\n  if (bVar4 != 10) {\n    do {\n      iVar2 = iVar3;\n      iVar3 = iVar2 + 1;\n      if (iVar5 < iVar3) break;\n    } while (param_2[iVar2 + 1] != 10);\n    if ((iVar6 < iVar3) && (param_2[iVar2] - 9 < 0x18)) {\n      bVar4 = (byte)(param_2[iVar2] - 9);\n      iVar5 = iVar3;\n      while (iVar3 = iVar5, (1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        iVar3 = iVar5 + -1;\n        if (iVar3 == iVar6) {\n          __n = 0;\n          goto LAB_0001596e;\n        }\n        if (0x17 < param_2[iVar5 + -2] - 9) break;\n        bVar4 = (byte)(param_2[iVar5 + -2] - 9);\n        iVar5 = iVar3;\n      }\n    }\n    __n = iVar3 - iVar6;\n  }\nLAB_0001596e:\n  fwrite_unlocked(local_24,1,__n,param_1);\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_00015910(_IO_FILE *param_1,byte *param_2)\n\n{\n  char *pcVar1;\n  int iVar2;\n  int iVar3;\n  byte bVar4;\n  int iVar5;\n  size_t __n;\n  int iVar6;\n  byte *local_24;\n  \n  pcVar1 = param_1->_IO_write_ptr;\n  if (pcVar1 < param_1->_IO_write_end) {\n    param_1->_IO_write_ptr = pcVar1 + 1;\n    *pcVar1 = ' ';\n  }\n  else {\n    __overflow(param_1,0x20);\n  }\n  bVar4 = *param_2;\n  if (((bVar4 - 9 < 0x18) && ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) != 0)) && (bVar4 != 10))\n  {\n    iVar6 = 0;\n    do {\n      iVar5 = iVar6;\n      bVar4 = param_2[iVar5 + 1];\n      iVar6 = iVar5 + 1;\n      local_24 = param_2 + iVar6;\n      if ((0x17 < bVar4 - 9) || ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) == 0)) break;\n    } while (bVar4 != 10);\n    iVar5 = iVar5 + 0x28;\n  }\n  else {\n    iVar5 = 0x27;\n    iVar6 = 0;\n    local_24 = param_2;\n  }\n  __n = 0;\n  iVar3 = iVar6;\n  if (bVar4 != 10) {\n    do {\n      iVar2 = iVar3;\n      iVar3 = iVar2 + 1;\n      if (iVar5 < iVar3) break;\n    } while (param_2[iVar2 + 1] != 10);\n    if ((iVar6 < iVar3) && (param_2[iVar2] - 9 < 0x18)) {\n      bVar4 = (byte)(param_2[iVar2] - 9);\n      iVar5 = iVar3;\n      while (iVar3 = iVar5, (1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        iVar3 = iVar5 + -1;\n        if (iVar3 == iVar6) {\n          __n = 0;\n          goto LAB_0001596e;\n        }\n        if (0x17 < param_2[iVar5 + -2] - 9) break;\n        bVar4 = (byte)(param_2[iVar5 + -2] - 9);\n        iVar5 = iVar3;\n      }\n    }\n    __n = iVar3 - iVar6;\n  }\nLAB_0001596e:\n  fwrite_unlocked(local_24,1,__n,param_1);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00015910(_IO_FILE *param_1,byte *param_2)" identifier (parameter_list "(_IO_FILE *param_1,byte *param_2)" ( (parameter_declaration "_IO_FILE *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "byte *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  int iVar3;\n  byte bVar4;\n  int iVar5;\n  size_t __n;\n  int iVar6;\n  byte *local_24;\n  \n  pcVar1 = param_1->_IO_write_ptr;\n  if (pcVar1 < param_1->_IO_write_end) {\n    param_1->_IO_write_ptr = pcVar1 + 1;\n    *pcVar1 = ' ';\n  }\n  else {\n    __overflow(param_1,0x20);\n  }\n  bVar4 = *param_2;\n  if (((bVar4 - 9 < 0x18) && ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) != 0)) && (bVar4 != 10))\n  {\n    iVar6 = 0;\n    do {\n      iVar5 = iVar6;\n      bVar4 = param_2[iVar5 + 1];\n      iVar6 = iVar5 + 1;\n      local_24 = param_2 + iVar6;\n      if ((0x17 < bVar4 - 9) || ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) == 0)) break;\n    } while (bVar4 != 10);\n    iVar5 = iVar5 + 0x28;\n  }\n  else {\n    iVar5 = 0x27;\n    iVar6 = 0;\n    local_24 = param_2;\n  }\n  __n = 0;\n  iVar3 = iVar6;\n  if (bVar4 != 10) {\n    do {\n      iVar2 = iVar3;\n      iVar3 = iVar2 + 1;\n      if (iVar5 < iVar3) break;\n    } while (param_2[iVar2 + 1] != 10);\n    if ((iVar6 < iVar3) && (param_2[iVar2] - 9 < 0x18)) {\n      bVar4 = (byte)(param_2[iVar2] - 9);\n      iVar5 = iVar3;\n      while (iVar3 = iVar5, (1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        iVar3 = iVar5 + -1;\n        if (iVar3 == iVar6) {\n          __n = 0;\n          goto LAB_0001596e;\n        }\n        if (0x17 < param_2[iVar5 + -2] - 9) break;\n        bVar4 = (byte)(param_2[iVar5 + -2] - 9);\n        iVar5 = iVar3;\n      }\n    }\n    __n = iVar3 - iVar6;\n  }\nLAB_0001596e:\n  fwrite_unlocked(local_24,1,__n,param_1);\n  return;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "byte bVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "byte *local_24;" type_identifier (pointer_declarator "*local_24" * identifier) ;) (expression_statement "pcVar1 = param_1->_IO_write_ptr;" (assignment_expression "pcVar1 = param_1->_IO_write_ptr" identifier = (field_expression "param_1->_IO_write_ptr" identifier -> field_identifier)) ;) (if_statement "if (pcVar1 < param_1->_IO_write_end) {\n    param_1->_IO_write_ptr = pcVar1 + 1;\n    *pcVar1 = ' ';\n  }\n  else {\n    __overflow(param_1,0x20);\n  }" if (parenthesized_expression "(pcVar1 < param_1->_IO_write_end)" ( (binary_expression "pcVar1 < param_1->_IO_write_end" identifier < (field_expression "param_1->_IO_write_end" identifier -> field_identifier)) )) (compound_statement "{\n    param_1->_IO_write_ptr = pcVar1 + 1;\n    *pcVar1 = ' ';\n  }" { (expression_statement "param_1->_IO_write_ptr = pcVar1 + 1;" (assignment_expression "param_1->_IO_write_ptr = pcVar1 + 1" (field_expression "param_1->_IO_write_ptr" identifier -> field_identifier) = (binary_expression "pcVar1 + 1" identifier + number_literal)) ;) (expression_statement "*pcVar1 = ' ';" (assignment_expression "*pcVar1 = ' '" (pointer_expression "*pcVar1" * identifier) = (char_literal "' '" ' character ')) ;) }) (else_clause "else {\n    __overflow(param_1,0x20);\n  }" else (compound_statement "{\n    __overflow(param_1,0x20);\n  }" { (expression_statement "__overflow(param_1,0x20);" (call_expression "__overflow(param_1,0x20)" identifier (argument_list "(param_1,0x20)" ( identifier , number_literal ))) ;) }))) (expression_statement "bVar4 = *param_2;" (assignment_expression "bVar4 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (if_statement "if (((bVar4 - 9 < 0x18) && ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) != 0)) && (bVar4 != 10))\n  {\n    iVar6 = 0;\n    do {\n      iVar5 = iVar6;\n      bVar4 = param_2[iVar5 + 1];\n      iVar6 = iVar5 + 1;\n      local_24 = param_2 + iVar6;\n      if ((0x17 < bVar4 - 9) || ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) == 0)) break;\n    } while (bVar4 != 10);\n    iVar5 = iVar5 + 0x28;\n  }\n  else {\n    iVar5 = 0x27;\n    iVar6 = 0;\n    local_24 = param_2;\n  }" if (parenthesized_expression "(((bVar4 - 9 < 0x18) && ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) != 0)) && (bVar4 != 10))" ( (binary_expression "((bVar4 - 9 < 0x18) && ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) != 0)) && (bVar4 != 10)" (parenthesized_expression "((bVar4 - 9 < 0x18) && ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) != 0))" ( (binary_expression "(bVar4 - 9 < 0x18) && ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) != 0)" (parenthesized_expression "(bVar4 - 9 < 0x18)" ( (binary_expression "bVar4 - 9 < 0x18" (binary_expression "bVar4 - 9" identifier - number_literal) < number_literal) )) && (parenthesized_expression "((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) != 0)" ( (binary_expression "(1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) != 0" (parenthesized_expression "(1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU)" ( (binary_expression "1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU" (binary_expression "1 << ((byte)(bVar4 - 9) & 0x1f)" number_literal << (parenthesized_expression "((byte)(bVar4 - 9) & 0x1f)" ( (binary_expression "(byte)(bVar4 - 9) & 0x1f" (call_expression "(byte)(bVar4 - 9)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(bVar4 - 9)" ( (binary_expression "bVar4 - 9" identifier - number_literal) ))) & number_literal) ))) & number_literal) )) != number_literal) ))) )) && (parenthesized_expression "(bVar4 != 10)" ( (binary_expression "bVar4 != 10" identifier != number_literal) ))) )) (compound_statement "{\n    iVar6 = 0;\n    do {\n      iVar5 = iVar6;\n      bVar4 = param_2[iVar5 + 1];\n      iVar6 = iVar5 + 1;\n      local_24 = param_2 + iVar6;\n      if ((0x17 < bVar4 - 9) || ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) == 0)) break;\n    } while (bVar4 != 10);\n    iVar5 = iVar5 + 0x28;\n  }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar5 = iVar6;\n      bVar4 = param_2[iVar5 + 1];\n      iVar6 = iVar5 + 1;\n      local_24 = param_2 + iVar6;\n      if ((0x17 < bVar4 - 9) || ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) == 0)) break;\n    } while (bVar4 != 10);" do (compound_statement "{\n      iVar5 = iVar6;\n      bVar4 = param_2[iVar5 + 1];\n      iVar6 = iVar5 + 1;\n      local_24 = param_2 + iVar6;\n      if ((0x17 < bVar4 - 9) || ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) == 0)) break;\n    }" { (expression_statement "iVar5 = iVar6;" (assignment_expression "iVar5 = iVar6" identifier = identifier) ;) (expression_statement "bVar4 = param_2[iVar5 + 1];" (assignment_expression "bVar4 = param_2[iVar5 + 1]" identifier = (subscript_expression "param_2[iVar5 + 1]" identifier [ (binary_expression "iVar5 + 1" identifier + number_literal) ])) ;) (expression_statement "iVar6 = iVar5 + 1;" (assignment_expression "iVar6 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "local_24 = param_2 + iVar6;" (assignment_expression "local_24 = param_2 + iVar6" identifier = (binary_expression "param_2 + iVar6" identifier + identifier)) ;) (if_statement "if ((0x17 < bVar4 - 9) || ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) == 0)) break;" if (parenthesized_expression "((0x17 < bVar4 - 9) || ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) == 0))" ( (binary_expression "(0x17 < bVar4 - 9) || ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) == 0)" (parenthesized_expression "(0x17 < bVar4 - 9)" ( (binary_expression "0x17 < bVar4 - 9" number_literal < (binary_expression "bVar4 - 9" identifier - number_literal)) )) || (parenthesized_expression "((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) == 0)" ( (binary_expression "(1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) == 0" (parenthesized_expression "(1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU)" ( (binary_expression "1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU" (binary_expression "1 << ((byte)(bVar4 - 9) & 0x1f)" number_literal << (parenthesized_expression "((byte)(bVar4 - 9) & 0x1f)" ( (binary_expression "(byte)(bVar4 - 9) & 0x1f" (call_expression "(byte)(bVar4 - 9)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(bVar4 - 9)" ( (binary_expression "bVar4 - 9" identifier - number_literal) ))) & number_literal) ))) & number_literal) )) == number_literal) ))) )) (break_statement "break;" break ;)) }) while (parenthesized_expression "(bVar4 != 10)" ( (binary_expression "bVar4 != 10" identifier != number_literal) )) ;) (expression_statement "iVar5 = iVar5 + 0x28;" (assignment_expression "iVar5 = iVar5 + 0x28" identifier = (binary_expression "iVar5 + 0x28" identifier + number_literal)) ;) }) (else_clause "else {\n    iVar5 = 0x27;\n    iVar6 = 0;\n    local_24 = param_2;\n  }" else (compound_statement "{\n    iVar5 = 0x27;\n    iVar6 = 0;\n    local_24 = param_2;\n  }" { (expression_statement "iVar5 = 0x27;" (assignment_expression "iVar5 = 0x27" identifier = number_literal) ;) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (expression_statement "local_24 = param_2;" (assignment_expression "local_24 = param_2" identifier = identifier) ;) }))) (expression_statement "__n = 0;" (assignment_expression "__n = 0" identifier = number_literal) ;) (expression_statement "iVar3 = iVar6;" (assignment_expression "iVar3 = iVar6" identifier = identifier) ;) (if_statement "if (bVar4 != 10) {\n    do {\n      iVar2 = iVar3;\n      iVar3 = iVar2 + 1;\n      if (iVar5 < iVar3) break;\n    } while (param_2[iVar2 + 1] != 10);\n    if ((iVar6 < iVar3) && (param_2[iVar2] - 9 < 0x18)) {\n      bVar4 = (byte)(param_2[iVar2] - 9);\n      iVar5 = iVar3;\n      while (iVar3 = iVar5, (1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        iVar3 = iVar5 + -1;\n        if (iVar3 == iVar6) {\n          __n = 0;\n          goto LAB_0001596e;\n        }\n        if (0x17 < param_2[iVar5 + -2] - 9) break;\n        bVar4 = (byte)(param_2[iVar5 + -2] - 9);\n        iVar5 = iVar3;\n      }\n    }\n    __n = iVar3 - iVar6;\n  }" if (parenthesized_expression "(bVar4 != 10)" ( (binary_expression "bVar4 != 10" identifier != number_literal) )) (compound_statement "{\n    do {\n      iVar2 = iVar3;\n      iVar3 = iVar2 + 1;\n      if (iVar5 < iVar3) break;\n    } while (param_2[iVar2 + 1] != 10);\n    if ((iVar6 < iVar3) && (param_2[iVar2] - 9 < 0x18)) {\n      bVar4 = (byte)(param_2[iVar2] - 9);\n      iVar5 = iVar3;\n      while (iVar3 = iVar5, (1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        iVar3 = iVar5 + -1;\n        if (iVar3 == iVar6) {\n          __n = 0;\n          goto LAB_0001596e;\n        }\n        if (0x17 < param_2[iVar5 + -2] - 9) break;\n        bVar4 = (byte)(param_2[iVar5 + -2] - 9);\n        iVar5 = iVar3;\n      }\n    }\n    __n = iVar3 - iVar6;\n  }" { (do_statement "do {\n      iVar2 = iVar3;\n      iVar3 = iVar2 + 1;\n      if (iVar5 < iVar3) break;\n    } while (param_2[iVar2 + 1] != 10);" do (compound_statement "{\n      iVar2 = iVar3;\n      iVar3 = iVar2 + 1;\n      if (iVar5 < iVar3) break;\n    }" { (expression_statement "iVar2 = iVar3;" (assignment_expression "iVar2 = iVar3" identifier = identifier) ;) (expression_statement "iVar3 = iVar2 + 1;" (assignment_expression "iVar3 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (if_statement "if (iVar5 < iVar3) break;" if (parenthesized_expression "(iVar5 < iVar3)" ( (binary_expression "iVar5 < iVar3" identifier < identifier) )) (break_statement "break;" break ;)) }) while (parenthesized_expression "(param_2[iVar2 + 1] != 10)" ( (binary_expression "param_2[iVar2 + 1] != 10" (subscript_expression "param_2[iVar2 + 1]" identifier [ (binary_expression "iVar2 + 1" identifier + number_literal) ]) != number_literal) )) ;) (if_statement "if ((iVar6 < iVar3) && (param_2[iVar2] - 9 < 0x18)) {\n      bVar4 = (byte)(param_2[iVar2] - 9);\n      iVar5 = iVar3;\n      while (iVar3 = iVar5, (1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        iVar3 = iVar5 + -1;\n        if (iVar3 == iVar6) {\n          __n = 0;\n          goto LAB_0001596e;\n        }\n        if (0x17 < param_2[iVar5 + -2] - 9) break;\n        bVar4 = (byte)(param_2[iVar5 + -2] - 9);\n        iVar5 = iVar3;\n      }\n    }" if (parenthesized_expression "((iVar6 < iVar3) && (param_2[iVar2] - 9 < 0x18))" ( (binary_expression "(iVar6 < iVar3) && (param_2[iVar2] - 9 < 0x18)" (parenthesized_expression "(iVar6 < iVar3)" ( (binary_expression "iVar6 < iVar3" identifier < identifier) )) && (parenthesized_expression "(param_2[iVar2] - 9 < 0x18)" ( (binary_expression "param_2[iVar2] - 9 < 0x18" (binary_expression "param_2[iVar2] - 9" (subscript_expression "param_2[iVar2]" identifier [ identifier ]) - number_literal) < number_literal) ))) )) (compound_statement "{\n      bVar4 = (byte)(param_2[iVar2] - 9);\n      iVar5 = iVar3;\n      while (iVar3 = iVar5, (1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        iVar3 = iVar5 + -1;\n        if (iVar3 == iVar6) {\n          __n = 0;\n          goto LAB_0001596e;\n        }\n        if (0x17 < param_2[iVar5 + -2] - 9) break;\n        bVar4 = (byte)(param_2[iVar5 + -2] - 9);\n        iVar5 = iVar3;\n      }\n    }" { (expression_statement "bVar4 = (byte)(param_2[iVar2] - 9);" (assignment_expression "bVar4 = (byte)(param_2[iVar2] - 9)" identifier = (call_expression "(byte)(param_2[iVar2] - 9)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(param_2[iVar2] - 9)" ( (binary_expression "param_2[iVar2] - 9" (subscript_expression "param_2[iVar2]" identifier [ identifier ]) - number_literal) )))) ;) (expression_statement "iVar5 = iVar3;" (assignment_expression "iVar5 = iVar3" identifier = identifier) ;) (while_statement "while (iVar3 = iVar5, (1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        iVar3 = iVar5 + -1;\n        if (iVar3 == iVar6) {\n          __n = 0;\n          goto LAB_0001596e;\n        }\n        if (0x17 < param_2[iVar5 + -2] - 9) break;\n        bVar4 = (byte)(param_2[iVar5 + -2] - 9);\n        iVar5 = iVar3;\n      }" while (parenthesized_expression "(iVar3 = iVar5, (1 << (bVar4 & 0x1f) & 0x80001fU) != 0)" ( (comma_expression "iVar3 = iVar5, (1 << (bVar4 & 0x1f) & 0x80001fU) != 0" (assignment_expression "iVar3 = iVar5" identifier = identifier) , (binary_expression "(1 << (bVar4 & 0x1f) & 0x80001fU) != 0" (parenthesized_expression "(1 << (bVar4 & 0x1f) & 0x80001fU)" ( (binary_expression "1 << (bVar4 & 0x1f) & 0x80001fU" (binary_expression "1 << (bVar4 & 0x1f)" number_literal << (parenthesized_expression "(bVar4 & 0x1f)" ( (binary_expression "bVar4 & 0x1f" identifier & number_literal) ))) & number_literal) )) != number_literal)) )) (compound_statement "{\n        iVar3 = iVar5 + -1;\n        if (iVar3 == iVar6) {\n          __n = 0;\n          goto LAB_0001596e;\n        }\n        if (0x17 < param_2[iVar5 + -2] - 9) break;\n        bVar4 = (byte)(param_2[iVar5 + -2] - 9);\n        iVar5 = iVar3;\n      }" { (expression_statement "iVar3 = iVar5 + -1;" (assignment_expression "iVar3 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ;) (if_statement "if (iVar3 == iVar6) {\n          __n = 0;\n          goto LAB_0001596e;\n        }" if (parenthesized_expression "(iVar3 == iVar6)" ( (binary_expression "iVar3 == iVar6" identifier == identifier) )) (compound_statement "{\n          __n = 0;\n          goto LAB_0001596e;\n        }" { (expression_statement "__n = 0;" (assignment_expression "__n = 0" identifier = number_literal) ;) (goto_statement "goto LAB_0001596e;" goto statement_identifier ;) })) (if_statement "if (0x17 < param_2[iVar5 + -2] - 9) break;" if (parenthesized_expression "(0x17 < param_2[iVar5 + -2] - 9)" ( (binary_expression "0x17 < param_2[iVar5 + -2] - 9" number_literal < (binary_expression "param_2[iVar5 + -2] - 9" (subscript_expression "param_2[iVar5 + -2]" identifier [ (binary_expression "iVar5 + -2" identifier + number_literal) ]) - number_literal)) )) (break_statement "break;" break ;)) (expression_statement "bVar4 = (byte)(param_2[iVar5 + -2] - 9);" (assignment_expression "bVar4 = (byte)(param_2[iVar5 + -2] - 9)" identifier = (call_expression "(byte)(param_2[iVar5 + -2] - 9)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(param_2[iVar5 + -2] - 9)" ( (binary_expression "param_2[iVar5 + -2] - 9" (subscript_expression "param_2[iVar5 + -2]" identifier [ (binary_expression "iVar5 + -2" identifier + number_literal) ]) - number_literal) )))) ;) (expression_statement "iVar5 = iVar3;" (assignment_expression "iVar5 = iVar3" identifier = identifier) ;) })) })) (expression_statement "__n = iVar3 - iVar6;" (assignment_expression "__n = iVar3 - iVar6" identifier = (binary_expression "iVar3 - iVar6" identifier - identifier)) ;) })) (labeled_statement "LAB_0001596e:\n  fwrite_unlocked(local_24,1,__n,param_1);" statement_identifier : (expression_statement "fwrite_unlocked(local_24,1,__n,param_1);" (call_expression "fwrite_unlocked(local_24,1,__n,param_1)" identifier (argument_list "(local_24,1,__n,param_1)" ( identifier , number_literal , identifier , identifier ))) ;)) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 print_context_function(FILE *out,char *function)\n\n{\n  char *pcVar1;\n  int iVar2;\n  int iVar3;\n  byte bVar4;\n  int iVar5;\n  size_t __n;\n  int iVar6;\n  char *local_24;\n  \n  pcVar1 = out->_IO_write_ptr;\n  if (pcVar1 < out->_IO_write_end) {\n    out->_IO_write_ptr = pcVar1 + 1;\n    *pcVar1 = ' ';\n  }\n  else {\n    __overflow((_IO_FILE *)out,0x20);\n  }\n  bVar4 = *function;\n  if (((bVar4 - 9 < 0x18) && ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) != 0)) && (bVar4 != 10))\n  {\n    iVar6 = 0;\n    do {\n      iVar5 = iVar6;\n      bVar4 = function[iVar5 + 1];\n      iVar6 = iVar5 + 1;\n      local_24 = function + iVar6;\n      if ((0x17 < bVar4 - 9) || ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) == 0)) break;\n    } while (bVar4 != 10);\n    iVar5 = iVar5 + 0x28;\n  }\n  else {\n    iVar5 = 0x27;\n    iVar6 = 0;\n    local_24 = function;\n  }\n  __n = 0;\n  iVar3 = iVar6;\n  if (bVar4 != 10) {\n    do {\n      iVar2 = iVar3;\n      iVar3 = iVar2 + 1;\n      if (iVar5 < iVar3) break;\n    } while (function[iVar2 + 1] != '\n');\n    if ((iVar6 < iVar3) && ((byte)function[iVar2] - 9 < 0x18)) {\n      bVar4 = (byte)((byte)function[iVar2] - 9);\n      iVar5 = iVar3;\n      while (iVar3 = iVar5, (1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        iVar3 = iVar5 + -1;\n        if (iVar3 == iVar6) {\n          __n = 0;\n          goto LAB_0001596e;\n        }\n        if (0x17 < (byte)function[iVar5 + -2] - 9) break;\n        bVar4 = (byte)((byte)function[iVar5 + -2] - 9);\n        iVar5 = iVar3;\n      }\n    }\n    __n = iVar3 - iVar6;\n  }\nLAB_0001596e:\n  fwrite_unlocked(local_24,1,__n,(FILE *)out);\n  return;\n}\n\n" comment (function_definition "void __regparm3 print_context_function(FILE *out,char *function)\n\n{\n  char *pcVar1;\n  int iVar2;\n  int iVar3;\n  byte bVar4;\n  int iVar5;\n  size_t __n;\n  int iVar6;\n  char *local_24;\n  \n  pcVar1 = out->_IO_write_ptr;\n  if (pcVar1 < out->_IO_write_end) {\n    out->_IO_write_ptr = pcVar1 + 1;\n    *pcVar1 = ' ';\n  }\n  else {\n    __overflow((_IO_FILE *)out,0x20);\n  }\n  bVar4 = *function;\n  if (((bVar4 - 9 < 0x18) && ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) != 0)) && (bVar4 != 10))\n  {\n    iVar6 = 0;\n    do {\n      iVar5 = iVar6;\n      bVar4 = function[iVar5 + 1];\n      iVar6 = iVar5 + 1;\n      local_24 = function + iVar6;\n      if ((0x17 < bVar4 - 9) || ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) == 0)) break;\n    } while (bVar4 != 10);\n    iVar5 = iVar5 + 0x28;\n  }\n  else {\n    iVar5 = 0x27;\n    iVar6 = 0;\n    local_24 = function;\n  }\n  __n = 0;\n  iVar3 = iVar6;\n  if (bVar4 != 10) {\n    do {\n      iVar2 = iVar3;\n      iVar3 = iVar2 + 1;\n      if (iVar5 < iVar3) break;\n    } while (function[iVar2 + 1] != '\n');\n    if ((iVar6 < iVar3) && ((byte)function[iVar2] - 9 < 0x18)) {\n      bVar4 = (byte)((byte)function[iVar2] - 9);\n      iVar5 = iVar3;\n      while (iVar3 = iVar5, (1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        iVar3 = iVar5 + -1;\n        if (iVar3 == iVar6) {\n          __n = 0;\n          goto LAB_0001596e;\n        }\n        if (0x17 < (byte)function[iVar5 + -2] - 9) break;\n        bVar4 = (byte)((byte)function[iVar5 + -2] - 9);\n        iVar5 = iVar3;\n      }\n    }\n    __n = iVar3 - iVar6;\n  }\nLAB_0001596e:\n  fwrite_unlocked(local_24,1,__n,(FILE *)out);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "print_context_function(FILE *out,char *function)" identifier (parameter_list "(FILE *out,char *function)" ( (parameter_declaration "FILE *out" type_identifier (pointer_declarator "*out" * identifier)) , (parameter_declaration "char *function" primitive_type (pointer_declarator "*function" * identifier)) ))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  int iVar3;\n  byte bVar4;\n  int iVar5;\n  size_t __n;\n  int iVar6;\n  char *local_24;\n  \n  pcVar1 = out->_IO_write_ptr;\n  if (pcVar1 < out->_IO_write_end) {\n    out->_IO_write_ptr = pcVar1 + 1;\n    *pcVar1 = ' ';\n  }\n  else {\n    __overflow((_IO_FILE *)out,0x20);\n  }\n  bVar4 = *function;\n  if (((bVar4 - 9 < 0x18) && ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) != 0)) && (bVar4 != 10))\n  {\n    iVar6 = 0;\n    do {\n      iVar5 = iVar6;\n      bVar4 = function[iVar5 + 1];\n      iVar6 = iVar5 + 1;\n      local_24 = function + iVar6;\n      if ((0x17 < bVar4 - 9) || ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) == 0)) break;\n    } while (bVar4 != 10);\n    iVar5 = iVar5 + 0x28;\n  }\n  else {\n    iVar5 = 0x27;\n    iVar6 = 0;\n    local_24 = function;\n  }\n  __n = 0;\n  iVar3 = iVar6;\n  if (bVar4 != 10) {\n    do {\n      iVar2 = iVar3;\n      iVar3 = iVar2 + 1;\n      if (iVar5 < iVar3) break;\n    } while (function[iVar2 + 1] != '\n');\n    if ((iVar6 < iVar3) && ((byte)function[iVar2] - 9 < 0x18)) {\n      bVar4 = (byte)((byte)function[iVar2] - 9);\n      iVar5 = iVar3;\n      while (iVar3 = iVar5, (1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        iVar3 = iVar5 + -1;\n        if (iVar3 == iVar6) {\n          __n = 0;\n          goto LAB_0001596e;\n        }\n        if (0x17 < (byte)function[iVar5 + -2] - 9) break;\n        bVar4 = (byte)((byte)function[iVar5 + -2] - 9);\n        iVar5 = iVar3;\n      }\n    }\n    __n = iVar3 - iVar6;\n  }\nLAB_0001596e:\n  fwrite_unlocked(local_24,1,__n,(FILE *)out);\n  return;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "byte bVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "char *local_24;" primitive_type (pointer_declarator "*local_24" * identifier) ;) (expression_statement "pcVar1 = out->_IO_write_ptr;" (assignment_expression "pcVar1 = out->_IO_write_ptr" identifier = (field_expression "out->_IO_write_ptr" identifier -> field_identifier)) ;) (if_statement "if (pcVar1 < out->_IO_write_end) {\n    out->_IO_write_ptr = pcVar1 + 1;\n    *pcVar1 = ' ';\n  }\n  else {\n    __overflow((_IO_FILE *)out,0x20);\n  }" if (parenthesized_expression "(pcVar1 < out->_IO_write_end)" ( (binary_expression "pcVar1 < out->_IO_write_end" identifier < (field_expression "out->_IO_write_end" identifier -> field_identifier)) )) (compound_statement "{\n    out->_IO_write_ptr = pcVar1 + 1;\n    *pcVar1 = ' ';\n  }" { (expression_statement "out->_IO_write_ptr = pcVar1 + 1;" (assignment_expression "out->_IO_write_ptr = pcVar1 + 1" (field_expression "out->_IO_write_ptr" identifier -> field_identifier) = (binary_expression "pcVar1 + 1" identifier + number_literal)) ;) (expression_statement "*pcVar1 = ' ';" (assignment_expression "*pcVar1 = ' '" (pointer_expression "*pcVar1" * identifier) = (char_literal "' '" ' character ')) ;) }) (else_clause "else {\n    __overflow((_IO_FILE *)out,0x20);\n  }" else (compound_statement "{\n    __overflow((_IO_FILE *)out,0x20);\n  }" { (expression_statement "__overflow((_IO_FILE *)out,0x20);" (call_expression "__overflow((_IO_FILE *)out,0x20)" identifier (argument_list "((_IO_FILE *)out,0x20)" ( (cast_expression "(_IO_FILE *)out" ( (type_descriptor "_IO_FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , number_literal ))) ;) }))) (expression_statement "bVar4 = *function;" (assignment_expression "bVar4 = *function" identifier = (pointer_expression "*function" * identifier)) ;) (if_statement "if (((bVar4 - 9 < 0x18) && ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) != 0)) && (bVar4 != 10))\n  {\n    iVar6 = 0;\n    do {\n      iVar5 = iVar6;\n      bVar4 = function[iVar5 + 1];\n      iVar6 = iVar5 + 1;\n      local_24 = function + iVar6;\n      if ((0x17 < bVar4 - 9) || ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) == 0)) break;\n    } while (bVar4 != 10);\n    iVar5 = iVar5 + 0x28;\n  }\n  else {\n    iVar5 = 0x27;\n    iVar6 = 0;\n    local_24 = function;\n  }" if (parenthesized_expression "(((bVar4 - 9 < 0x18) && ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) != 0)) && (bVar4 != 10))" ( (binary_expression "((bVar4 - 9 < 0x18) && ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) != 0)) && (bVar4 != 10)" (parenthesized_expression "((bVar4 - 9 < 0x18) && ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) != 0))" ( (binary_expression "(bVar4 - 9 < 0x18) && ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) != 0)" (parenthesized_expression "(bVar4 - 9 < 0x18)" ( (binary_expression "bVar4 - 9 < 0x18" (binary_expression "bVar4 - 9" identifier - number_literal) < number_literal) )) && (parenthesized_expression "((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) != 0)" ( (binary_expression "(1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) != 0" (parenthesized_expression "(1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU)" ( (binary_expression "1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU" (binary_expression "1 << ((byte)(bVar4 - 9) & 0x1f)" number_literal << (parenthesized_expression "((byte)(bVar4 - 9) & 0x1f)" ( (binary_expression "(byte)(bVar4 - 9) & 0x1f" (call_expression "(byte)(bVar4 - 9)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(bVar4 - 9)" ( (binary_expression "bVar4 - 9" identifier - number_literal) ))) & number_literal) ))) & number_literal) )) != number_literal) ))) )) && (parenthesized_expression "(bVar4 != 10)" ( (binary_expression "bVar4 != 10" identifier != number_literal) ))) )) (compound_statement "{\n    iVar6 = 0;\n    do {\n      iVar5 = iVar6;\n      bVar4 = function[iVar5 + 1];\n      iVar6 = iVar5 + 1;\n      local_24 = function + iVar6;\n      if ((0x17 < bVar4 - 9) || ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) == 0)) break;\n    } while (bVar4 != 10);\n    iVar5 = iVar5 + 0x28;\n  }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar5 = iVar6;\n      bVar4 = function[iVar5 + 1];\n      iVar6 = iVar5 + 1;\n      local_24 = function + iVar6;\n      if ((0x17 < bVar4 - 9) || ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) == 0)) break;\n    } while (bVar4 != 10);" do (compound_statement "{\n      iVar5 = iVar6;\n      bVar4 = function[iVar5 + 1];\n      iVar6 = iVar5 + 1;\n      local_24 = function + iVar6;\n      if ((0x17 < bVar4 - 9) || ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) == 0)) break;\n    }" { (expression_statement "iVar5 = iVar6;" (assignment_expression "iVar5 = iVar6" identifier = identifier) ;) (expression_statement "bVar4 = function[iVar5 + 1];" (assignment_expression "bVar4 = function[iVar5 + 1]" identifier = (subscript_expression "function[iVar5 + 1]" identifier [ (binary_expression "iVar5 + 1" identifier + number_literal) ])) ;) (expression_statement "iVar6 = iVar5 + 1;" (assignment_expression "iVar6 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "local_24 = function + iVar6;" (assignment_expression "local_24 = function + iVar6" identifier = (binary_expression "function + iVar6" identifier + identifier)) ;) (if_statement "if ((0x17 < bVar4 - 9) || ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) == 0)) break;" if (parenthesized_expression "((0x17 < bVar4 - 9) || ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) == 0))" ( (binary_expression "(0x17 < bVar4 - 9) || ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) == 0)" (parenthesized_expression "(0x17 < bVar4 - 9)" ( (binary_expression "0x17 < bVar4 - 9" number_literal < (binary_expression "bVar4 - 9" identifier - number_literal)) )) || (parenthesized_expression "((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) == 0)" ( (binary_expression "(1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) == 0" (parenthesized_expression "(1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU)" ( (binary_expression "1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU" (binary_expression "1 << ((byte)(bVar4 - 9) & 0x1f)" number_literal << (parenthesized_expression "((byte)(bVar4 - 9) & 0x1f)" ( (binary_expression "(byte)(bVar4 - 9) & 0x1f" (call_expression "(byte)(bVar4 - 9)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(bVar4 - 9)" ( (binary_expression "bVar4 - 9" identifier - number_literal) ))) & number_literal) ))) & number_literal) )) == number_literal) ))) )) (break_statement "break;" break ;)) }) while (parenthesized_expression "(bVar4 != 10)" ( (binary_expression "bVar4 != 10" identifier != number_literal) )) ;) (expression_statement "iVar5 = iVar5 + 0x28;" (assignment_expression "iVar5 = iVar5 + 0x28" identifier = (binary_expression "iVar5 + 0x28" identifier + number_literal)) ;) }) (else_clause "else {\n    iVar5 = 0x27;\n    iVar6 = 0;\n    local_24 = function;\n  }" else (compound_statement "{\n    iVar5 = 0x27;\n    iVar6 = 0;\n    local_24 = function;\n  }" { (expression_statement "iVar5 = 0x27;" (assignment_expression "iVar5 = 0x27" identifier = number_literal) ;) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (expression_statement "local_24 = function;" (assignment_expression "local_24 = function" identifier = identifier) ;) }))) (expression_statement "__n = 0;" (assignment_expression "__n = 0" identifier = number_literal) ;) (expression_statement "iVar3 = iVar6;" (assignment_expression "iVar3 = iVar6" identifier = identifier) ;) (if_statement "if (bVar4 != 10) {\n    do {\n      iVar2 = iVar3;\n      iVar3 = iVar2 + 1;\n      if (iVar5 < iVar3) break;\n    } while (function[iVar2 + 1] != '\n');\n    if ((iVar6 < iVar3) && ((byte)function[iVar2] - 9 < 0x18)) {\n      bVar4 = (byte)((byte)function[iVar2] - 9);\n      iVar5 = iVar3;\n      while (iVar3 = iVar5, (1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        iVar3 = iVar5 + -1;\n        if (iVar3 == iVar6) {\n          __n = 0;\n          goto LAB_0001596e;\n        }\n        if (0x17 < (byte)function[iVar5 + -2] - 9) break;\n        bVar4 = (byte)((byte)function[iVar5 + -2] - 9);\n        iVar5 = iVar3;\n      }\n    }\n    __n = iVar3 - iVar6;\n  }" if (parenthesized_expression "(bVar4 != 10)" ( (binary_expression "bVar4 != 10" identifier != number_literal) )) (compound_statement "{\n    do {\n      iVar2 = iVar3;\n      iVar3 = iVar2 + 1;\n      if (iVar5 < iVar3) break;\n    } while (function[iVar2 + 1] != '\n');\n    if ((iVar6 < iVar3) && ((byte)function[iVar2] - 9 < 0x18)) {\n      bVar4 = (byte)((byte)function[iVar2] - 9);\n      iVar5 = iVar3;\n      while (iVar3 = iVar5, (1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        iVar3 = iVar5 + -1;\n        if (iVar3 == iVar6) {\n          __n = 0;\n          goto LAB_0001596e;\n        }\n        if (0x17 < (byte)function[iVar5 + -2] - 9) break;\n        bVar4 = (byte)((byte)function[iVar5 + -2] - 9);\n        iVar5 = iVar3;\n      }\n    }\n    __n = iVar3 - iVar6;\n  }" { (do_statement "do {\n      iVar2 = iVar3;\n      iVar3 = iVar2 + 1;\n      if (iVar5 < iVar3) break;\n    } while (function[iVar2 + 1] != '\n');" do (compound_statement "{\n      iVar2 = iVar3;\n      iVar3 = iVar2 + 1;\n      if (iVar5 < iVar3) break;\n    }" { (expression_statement "iVar2 = iVar3;" (assignment_expression "iVar2 = iVar3" identifier = identifier) ;) (expression_statement "iVar3 = iVar2 + 1;" (assignment_expression "iVar3 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (if_statement "if (iVar5 < iVar3) break;" if (parenthesized_expression "(iVar5 < iVar3)" ( (binary_expression "iVar5 < iVar3" identifier < identifier) )) (break_statement "break;" break ;)) }) while (parenthesized_expression "(function[iVar2 + 1] != '\n')" ( (binary_expression "function[iVar2 + 1] != '\n'" (subscript_expression "function[iVar2 + 1]" identifier [ (binary_expression "iVar2 + 1" identifier + number_literal) ]) != (char_literal "'\n'" ' escape_sequence ')) )) ;) (if_statement "if ((iVar6 < iVar3) && ((byte)function[iVar2] - 9 < 0x18)) {\n      bVar4 = (byte)((byte)function[iVar2] - 9);\n      iVar5 = iVar3;\n      while (iVar3 = iVar5, (1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        iVar3 = iVar5 + -1;\n        if (iVar3 == iVar6) {\n          __n = 0;\n          goto LAB_0001596e;\n        }\n        if (0x17 < (byte)function[iVar5 + -2] - 9) break;\n        bVar4 = (byte)((byte)function[iVar5 + -2] - 9);\n        iVar5 = iVar3;\n      }\n    }" if (parenthesized_expression "((iVar6 < iVar3) && ((byte)function[iVar2] - 9 < 0x18))" ( (binary_expression "(iVar6 < iVar3) && ((byte)function[iVar2] - 9 < 0x18)" (parenthesized_expression "(iVar6 < iVar3)" ( (binary_expression "iVar6 < iVar3" identifier < identifier) )) && (parenthesized_expression "((byte)function[iVar2] - 9 < 0x18)" ( (binary_expression "(byte)function[iVar2] - 9 < 0x18" (binary_expression "(byte)function[iVar2] - 9" (cast_expression "(byte)function[iVar2]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "function[iVar2]" identifier [ identifier ])) - number_literal) < number_literal) ))) )) (compound_statement "{\n      bVar4 = (byte)((byte)function[iVar2] - 9);\n      iVar5 = iVar3;\n      while (iVar3 = iVar5, (1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        iVar3 = iVar5 + -1;\n        if (iVar3 == iVar6) {\n          __n = 0;\n          goto LAB_0001596e;\n        }\n        if (0x17 < (byte)function[iVar5 + -2] - 9) break;\n        bVar4 = (byte)((byte)function[iVar5 + -2] - 9);\n        iVar5 = iVar3;\n      }\n    }" { (expression_statement "bVar4 = (byte)((byte)function[iVar2] - 9);" (assignment_expression "bVar4 = (byte)((byte)function[iVar2] - 9)" identifier = (call_expression "(byte)((byte)function[iVar2] - 9)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "((byte)function[iVar2] - 9)" ( (binary_expression "(byte)function[iVar2] - 9" (cast_expression "(byte)function[iVar2]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "function[iVar2]" identifier [ identifier ])) - number_literal) )))) ;) (expression_statement "iVar5 = iVar3;" (assignment_expression "iVar5 = iVar3" identifier = identifier) ;) (while_statement "while (iVar3 = iVar5, (1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        iVar3 = iVar5 + -1;\n        if (iVar3 == iVar6) {\n          __n = 0;\n          goto LAB_0001596e;\n        }\n        if (0x17 < (byte)function[iVar5 + -2] - 9) break;\n        bVar4 = (byte)((byte)function[iVar5 + -2] - 9);\n        iVar5 = iVar3;\n      }" while (parenthesized_expression "(iVar3 = iVar5, (1 << (bVar4 & 0x1f) & 0x80001fU) != 0)" ( (comma_expression "iVar3 = iVar5, (1 << (bVar4 & 0x1f) & 0x80001fU) != 0" (assignment_expression "iVar3 = iVar5" identifier = identifier) , (binary_expression "(1 << (bVar4 & 0x1f) & 0x80001fU) != 0" (parenthesized_expression "(1 << (bVar4 & 0x1f) & 0x80001fU)" ( (binary_expression "1 << (bVar4 & 0x1f) & 0x80001fU" (binary_expression "1 << (bVar4 & 0x1f)" number_literal << (parenthesized_expression "(bVar4 & 0x1f)" ( (binary_expression "bVar4 & 0x1f" identifier & number_literal) ))) & number_literal) )) != number_literal)) )) (compound_statement "{\n        iVar3 = iVar5 + -1;\n        if (iVar3 == iVar6) {\n          __n = 0;\n          goto LAB_0001596e;\n        }\n        if (0x17 < (byte)function[iVar5 + -2] - 9) break;\n        bVar4 = (byte)((byte)function[iVar5 + -2] - 9);\n        iVar5 = iVar3;\n      }" { (expression_statement "iVar3 = iVar5 + -1;" (assignment_expression "iVar3 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ;) (if_statement "if (iVar3 == iVar6) {\n          __n = 0;\n          goto LAB_0001596e;\n        }" if (parenthesized_expression "(iVar3 == iVar6)" ( (binary_expression "iVar3 == iVar6" identifier == identifier) )) (compound_statement "{\n          __n = 0;\n          goto LAB_0001596e;\n        }" { (expression_statement "__n = 0;" (assignment_expression "__n = 0" identifier = number_literal) ;) (goto_statement "goto LAB_0001596e;" goto statement_identifier ;) })) (if_statement "if (0x17 < (byte)function[iVar5 + -2] - 9) break;" if (parenthesized_expression "(0x17 < (byte)function[iVar5 + -2] - 9)" ( (binary_expression "0x17 < (byte)function[iVar5 + -2] - 9" number_literal < (binary_expression "(byte)function[iVar5 + -2] - 9" (cast_expression "(byte)function[iVar5 + -2]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "function[iVar5 + -2]" identifier [ (binary_expression "iVar5 + -2" identifier + number_literal) ])) - number_literal)) )) (break_statement "break;" break ;)) (expression_statement "bVar4 = (byte)((byte)function[iVar5 + -2] - 9);" (assignment_expression "bVar4 = (byte)((byte)function[iVar5 + -2] - 9)" identifier = (call_expression "(byte)((byte)function[iVar5 + -2] - 9)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "((byte)function[iVar5 + -2] - 9)" ( (binary_expression "(byte)function[iVar5 + -2] - 9" (cast_expression "(byte)function[iVar5 + -2]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "function[iVar5 + -2]" identifier [ (binary_expression "iVar5 + -2" identifier + number_literal) ])) - number_literal) )))) ;) (expression_statement "iVar5 = iVar3;" (assignment_expression "iVar5 = iVar3" identifier = identifier) ;) })) })) (expression_statement "__n = iVar3 - iVar6;" (assignment_expression "__n = iVar3 - iVar6" identifier = (binary_expression "iVar3 - iVar6" identifier - identifier)) ;) })) (labeled_statement "LAB_0001596e:\n  fwrite_unlocked(local_24,1,__n,(FILE *)out);" statement_identifier : (expression_statement "fwrite_unlocked(local_24,1,__n,(FILE *)out);" (call_expression "fwrite_unlocked(local_24,1,__n,(FILE *)out)" identifier (argument_list "(local_24,1,__n,(FILE *)out)" ( identifier , number_literal , identifier , (cast_expression "(FILE *)out" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;)) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_00015910(_IO_FILE *param_1,byte *param_2)\n\n{\n  char *pcVar1;\n  int iVar2;\n  int iVar3;\n  byte bVar4;\n  int iVar5;\n  size_t __n;\n  int iVar6;\n  byte *local_24;\n  \n  pcVar1 = param_1->_IO_write_ptr;\n  if (pcVar1 < param_1->_IO_write_end) {\n    param_1->_IO_write_ptr = pcVar1 + 1;\n    *pcVar1 = ' ';\n  }\n  else {\n    __overflow(param_1,0x20);\n  }\n  bVar4 = *param_2;\n  if (((bVar4 - 9 < 0x18) && ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) != 0)) && (bVar4 != 10))\n  {\n    iVar6 = 0;\n    do {\n      iVar5 = iVar6;\n      bVar4 = param_2[iVar5 + 1];\n      iVar6 = iVar5 + 1;\n      local_24 = param_2 + iVar6;\n      if ((0x17 < bVar4 - 9) || ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) == 0)) break;\n    } while (bVar4 != 10);\n    iVar5 = iVar5 + 0x28;\n  }\n  else {\n    iVar5 = 0x27;\n    iVar6 = 0;\n    local_24 = param_2;\n  }\n  __n = 0;\n  iVar3 = iVar6;\n  if (bVar4 != 10) {\n    do {\n      iVar2 = iVar3;\n      iVar3 = iVar2 + 1;\n      if (iVar5 < iVar3) break;\n    } while (param_2[iVar2 + 1] != 10);\n    if ((iVar6 < iVar3) && (param_2[iVar2] - 9 < 0x18)) {\n      bVar4 = (byte)(param_2[iVar2] - 9);\n      iVar5 = iVar3;\n      while (iVar3 = iVar5, (1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        iVar3 = iVar5 + -1;\n        if (iVar3 == iVar6) {\n          __n = 0;\n          goto LAB_0001596e;\n        }\n        if (0x17 < param_2[iVar5 + -2] - 9) break;\n        bVar4 = (byte)(param_2[iVar5 + -2] - 9);\n        iVar5 = iVar3;\n      }\n    }\n    __n = iVar3 - iVar6;\n  }\nLAB_0001596e:\n  fwrite_unlocked(local_24,1,__n,param_1);\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00015910(_IO_FILE *param_1,byte *param_2)\n\n{\n  char *pcVar1;\n  int iVar2;\n  int iVar3;\n  byte bVar4;\n  int iVar5;\n  size_t __n;\n  int iVar6;\n  byte *local_24;\n  \n  pcVar1 = param_1->_IO_write_ptr;\n  if (pcVar1 < param_1->_IO_write_end) {\n    param_1->_IO_write_ptr = pcVar1 + 1;\n    *pcVar1 = ' ';\n  }\n  else {\n    __overflow(param_1,0x20);\n  }\n  bVar4 = *param_2;\n  if (((bVar4 - 9 < 0x18) && ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) != 0)) && (bVar4 != 10))\n  {\n    iVar6 = 0;\n    do {\n      iVar5 = iVar6;\n      bVar4 = param_2[iVar5 + 1];\n      iVar6 = iVar5 + 1;\n      local_24 = param_2 + iVar6;\n      if ((0x17 < bVar4 - 9) || ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) == 0)) break;\n    } while (bVar4 != 10);\n    iVar5 = iVar5 + 0x28;\n  }\n  else {\n    iVar5 = 0x27;\n    iVar6 = 0;\n    local_24 = param_2;\n  }\n  __n = 0;\n  iVar3 = iVar6;\n  if (bVar4 != 10) {\n    do {\n      iVar2 = iVar3;\n      iVar3 = iVar2 + 1;\n      if (iVar5 < iVar3) break;\n    } while (param_2[iVar2 + 1] != 10);\n    if ((iVar6 < iVar3) && (param_2[iVar2] - 9 < 0x18)) {\n      bVar4 = (byte)(param_2[iVar2] - 9);\n      iVar5 = iVar3;\n      while (iVar3 = iVar5, (1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        iVar3 = iVar5 + -1;\n        if (iVar3 == iVar6) {\n          __n = 0;\n          goto LAB_0001596e;\n        }\n        if (0x17 < param_2[iVar5 + -2] - 9) break;\n        bVar4 = (byte)(param_2[iVar5 + -2] - 9);\n        iVar5 = iVar3;\n      }\n    }\n    __n = iVar3 - iVar6;\n  }\nLAB_0001596e:\n  fwrite_unlocked(local_24,1,__n,param_1);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00015910(_IO_FILE *param_1,byte *param_2)" identifier (parameter_list "(_IO_FILE *param_1,byte *param_2)" ( (parameter_declaration "_IO_FILE *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "byte *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  int iVar3;\n  byte bVar4;\n  int iVar5;\n  size_t __n;\n  int iVar6;\n  byte *local_24;\n  \n  pcVar1 = param_1->_IO_write_ptr;\n  if (pcVar1 < param_1->_IO_write_end) {\n    param_1->_IO_write_ptr = pcVar1 + 1;\n    *pcVar1 = ' ';\n  }\n  else {\n    __overflow(param_1,0x20);\n  }\n  bVar4 = *param_2;\n  if (((bVar4 - 9 < 0x18) && ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) != 0)) && (bVar4 != 10))\n  {\n    iVar6 = 0;\n    do {\n      iVar5 = iVar6;\n      bVar4 = param_2[iVar5 + 1];\n      iVar6 = iVar5 + 1;\n      local_24 = param_2 + iVar6;\n      if ((0x17 < bVar4 - 9) || ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) == 0)) break;\n    } while (bVar4 != 10);\n    iVar5 = iVar5 + 0x28;\n  }\n  else {\n    iVar5 = 0x27;\n    iVar6 = 0;\n    local_24 = param_2;\n  }\n  __n = 0;\n  iVar3 = iVar6;\n  if (bVar4 != 10) {\n    do {\n      iVar2 = iVar3;\n      iVar3 = iVar2 + 1;\n      if (iVar5 < iVar3) break;\n    } while (param_2[iVar2 + 1] != 10);\n    if ((iVar6 < iVar3) && (param_2[iVar2] - 9 < 0x18)) {\n      bVar4 = (byte)(param_2[iVar2] - 9);\n      iVar5 = iVar3;\n      while (iVar3 = iVar5, (1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        iVar3 = iVar5 + -1;\n        if (iVar3 == iVar6) {\n          __n = 0;\n          goto LAB_0001596e;\n        }\n        if (0x17 < param_2[iVar5 + -2] - 9) break;\n        bVar4 = (byte)(param_2[iVar5 + -2] - 9);\n        iVar5 = iVar3;\n      }\n    }\n    __n = iVar3 - iVar6;\n  }\nLAB_0001596e:\n  fwrite_unlocked(local_24,1,__n,param_1);\n  return;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "byte bVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "byte *local_24;" type_identifier (pointer_declarator "*local_24" * identifier) ;) (expression_statement "pcVar1 = param_1->_IO_write_ptr;" (assignment_expression "pcVar1 = param_1->_IO_write_ptr" identifier = (field_expression "param_1->_IO_write_ptr" identifier -> field_identifier)) ;) (if_statement "if (pcVar1 < param_1->_IO_write_end) {\n    param_1->_IO_write_ptr = pcVar1 + 1;\n    *pcVar1 = ' ';\n  }\n  else {\n    __overflow(param_1,0x20);\n  }" if (parenthesized_expression "(pcVar1 < param_1->_IO_write_end)" ( (binary_expression "pcVar1 < param_1->_IO_write_end" identifier < (field_expression "param_1->_IO_write_end" identifier -> field_identifier)) )) (compound_statement "{\n    param_1->_IO_write_ptr = pcVar1 + 1;\n    *pcVar1 = ' ';\n  }" { (expression_statement "param_1->_IO_write_ptr = pcVar1 + 1;" (assignment_expression "param_1->_IO_write_ptr = pcVar1 + 1" (field_expression "param_1->_IO_write_ptr" identifier -> field_identifier) = (binary_expression "pcVar1 + 1" identifier + number_literal)) ;) (expression_statement "*pcVar1 = ' ';" (assignment_expression "*pcVar1 = ' '" (pointer_expression "*pcVar1" * identifier) = (char_literal "' '" ' character ')) ;) }) (else_clause "else {\n    __overflow(param_1,0x20);\n  }" else (compound_statement "{\n    __overflow(param_1,0x20);\n  }" { (expression_statement "__overflow(param_1,0x20);" (call_expression "__overflow(param_1,0x20)" identifier (argument_list "(param_1,0x20)" ( identifier , number_literal ))) ;) }))) (expression_statement "bVar4 = *param_2;" (assignment_expression "bVar4 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (if_statement "if (((bVar4 - 9 < 0x18) && ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) != 0)) && (bVar4 != 10))\n  {\n    iVar6 = 0;\n    do {\n      iVar5 = iVar6;\n      bVar4 = param_2[iVar5 + 1];\n      iVar6 = iVar5 + 1;\n      local_24 = param_2 + iVar6;\n      if ((0x17 < bVar4 - 9) || ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) == 0)) break;\n    } while (bVar4 != 10);\n    iVar5 = iVar5 + 0x28;\n  }\n  else {\n    iVar5 = 0x27;\n    iVar6 = 0;\n    local_24 = param_2;\n  }" if (parenthesized_expression "(((bVar4 - 9 < 0x18) && ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) != 0)) && (bVar4 != 10))" ( (binary_expression "((bVar4 - 9 < 0x18) && ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) != 0)) && (bVar4 != 10)" (parenthesized_expression "((bVar4 - 9 < 0x18) && ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) != 0))" ( (binary_expression "(bVar4 - 9 < 0x18) && ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) != 0)" (parenthesized_expression "(bVar4 - 9 < 0x18)" ( (binary_expression "bVar4 - 9 < 0x18" (binary_expression "bVar4 - 9" identifier - number_literal) < number_literal) )) && (parenthesized_expression "((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) != 0)" ( (binary_expression "(1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) != 0" (parenthesized_expression "(1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU)" ( (binary_expression "1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU" (binary_expression "1 << ((byte)(bVar4 - 9) & 0x1f)" number_literal << (parenthesized_expression "((byte)(bVar4 - 9) & 0x1f)" ( (binary_expression "(byte)(bVar4 - 9) & 0x1f" (call_expression "(byte)(bVar4 - 9)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(bVar4 - 9)" ( (binary_expression "bVar4 - 9" identifier - number_literal) ))) & number_literal) ))) & number_literal) )) != number_literal) ))) )) && (parenthesized_expression "(bVar4 != 10)" ( (binary_expression "bVar4 != 10" identifier != number_literal) ))) )) (compound_statement "{\n    iVar6 = 0;\n    do {\n      iVar5 = iVar6;\n      bVar4 = param_2[iVar5 + 1];\n      iVar6 = iVar5 + 1;\n      local_24 = param_2 + iVar6;\n      if ((0x17 < bVar4 - 9) || ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) == 0)) break;\n    } while (bVar4 != 10);\n    iVar5 = iVar5 + 0x28;\n  }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar5 = iVar6;\n      bVar4 = param_2[iVar5 + 1];\n      iVar6 = iVar5 + 1;\n      local_24 = param_2 + iVar6;\n      if ((0x17 < bVar4 - 9) || ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) == 0)) break;\n    } while (bVar4 != 10);" do (compound_statement "{\n      iVar5 = iVar6;\n      bVar4 = param_2[iVar5 + 1];\n      iVar6 = iVar5 + 1;\n      local_24 = param_2 + iVar6;\n      if ((0x17 < bVar4 - 9) || ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) == 0)) break;\n    }" { (expression_statement "iVar5 = iVar6;" (assignment_expression "iVar5 = iVar6" identifier = identifier) ;) (expression_statement "bVar4 = param_2[iVar5 + 1];" (assignment_expression "bVar4 = param_2[iVar5 + 1]" identifier = (subscript_expression "param_2[iVar5 + 1]" identifier [ (binary_expression "iVar5 + 1" identifier + number_literal) ])) ;) (expression_statement "iVar6 = iVar5 + 1;" (assignment_expression "iVar6 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "local_24 = param_2 + iVar6;" (assignment_expression "local_24 = param_2 + iVar6" identifier = (binary_expression "param_2 + iVar6" identifier + identifier)) ;) (if_statement "if ((0x17 < bVar4 - 9) || ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) == 0)) break;" if (parenthesized_expression "((0x17 < bVar4 - 9) || ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) == 0))" ( (binary_expression "(0x17 < bVar4 - 9) || ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) == 0)" (parenthesized_expression "(0x17 < bVar4 - 9)" ( (binary_expression "0x17 < bVar4 - 9" number_literal < (binary_expression "bVar4 - 9" identifier - number_literal)) )) || (parenthesized_expression "((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) == 0)" ( (binary_expression "(1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) == 0" (parenthesized_expression "(1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU)" ( (binary_expression "1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU" (binary_expression "1 << ((byte)(bVar4 - 9) & 0x1f)" number_literal << (parenthesized_expression "((byte)(bVar4 - 9) & 0x1f)" ( (binary_expression "(byte)(bVar4 - 9) & 0x1f" (call_expression "(byte)(bVar4 - 9)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(bVar4 - 9)" ( (binary_expression "bVar4 - 9" identifier - number_literal) ))) & number_literal) ))) & number_literal) )) == number_literal) ))) )) (break_statement "break;" break ;)) }) while (parenthesized_expression "(bVar4 != 10)" ( (binary_expression "bVar4 != 10" identifier != number_literal) )) ;) (expression_statement "iVar5 = iVar5 + 0x28;" (assignment_expression "iVar5 = iVar5 + 0x28" identifier = (binary_expression "iVar5 + 0x28" identifier + number_literal)) ;) }) (else_clause "else {\n    iVar5 = 0x27;\n    iVar6 = 0;\n    local_24 = param_2;\n  }" else (compound_statement "{\n    iVar5 = 0x27;\n    iVar6 = 0;\n    local_24 = param_2;\n  }" { (expression_statement "iVar5 = 0x27;" (assignment_expression "iVar5 = 0x27" identifier = number_literal) ;) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (expression_statement "local_24 = param_2;" (assignment_expression "local_24 = param_2" identifier = identifier) ;) }))) (expression_statement "__n = 0;" (assignment_expression "__n = 0" identifier = number_literal) ;) (expression_statement "iVar3 = iVar6;" (assignment_expression "iVar3 = iVar6" identifier = identifier) ;) (if_statement "if (bVar4 != 10) {\n    do {\n      iVar2 = iVar3;\n      iVar3 = iVar2 + 1;\n      if (iVar5 < iVar3) break;\n    } while (param_2[iVar2 + 1] != 10);\n    if ((iVar6 < iVar3) && (param_2[iVar2] - 9 < 0x18)) {\n      bVar4 = (byte)(param_2[iVar2] - 9);\n      iVar5 = iVar3;\n      while (iVar3 = iVar5, (1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        iVar3 = iVar5 + -1;\n        if (iVar3 == iVar6) {\n          __n = 0;\n          goto LAB_0001596e;\n        }\n        if (0x17 < param_2[iVar5 + -2] - 9) break;\n        bVar4 = (byte)(param_2[iVar5 + -2] - 9);\n        iVar5 = iVar3;\n      }\n    }\n    __n = iVar3 - iVar6;\n  }" if (parenthesized_expression "(bVar4 != 10)" ( (binary_expression "bVar4 != 10" identifier != number_literal) )) (compound_statement "{\n    do {\n      iVar2 = iVar3;\n      iVar3 = iVar2 + 1;\n      if (iVar5 < iVar3) break;\n    } while (param_2[iVar2 + 1] != 10);\n    if ((iVar6 < iVar3) && (param_2[iVar2] - 9 < 0x18)) {\n      bVar4 = (byte)(param_2[iVar2] - 9);\n      iVar5 = iVar3;\n      while (iVar3 = iVar5, (1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        iVar3 = iVar5 + -1;\n        if (iVar3 == iVar6) {\n          __n = 0;\n          goto LAB_0001596e;\n        }\n        if (0x17 < param_2[iVar5 + -2] - 9) break;\n        bVar4 = (byte)(param_2[iVar5 + -2] - 9);\n        iVar5 = iVar3;\n      }\n    }\n    __n = iVar3 - iVar6;\n  }" { (do_statement "do {\n      iVar2 = iVar3;\n      iVar3 = iVar2 + 1;\n      if (iVar5 < iVar3) break;\n    } while (param_2[iVar2 + 1] != 10);" do (compound_statement "{\n      iVar2 = iVar3;\n      iVar3 = iVar2 + 1;\n      if (iVar5 < iVar3) break;\n    }" { (expression_statement "iVar2 = iVar3;" (assignment_expression "iVar2 = iVar3" identifier = identifier) ;) (expression_statement "iVar3 = iVar2 + 1;" (assignment_expression "iVar3 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (if_statement "if (iVar5 < iVar3) break;" if (parenthesized_expression "(iVar5 < iVar3)" ( (binary_expression "iVar5 < iVar3" identifier < identifier) )) (break_statement "break;" break ;)) }) while (parenthesized_expression "(param_2[iVar2 + 1] != 10)" ( (binary_expression "param_2[iVar2 + 1] != 10" (subscript_expression "param_2[iVar2 + 1]" identifier [ (binary_expression "iVar2 + 1" identifier + number_literal) ]) != number_literal) )) ;) (if_statement "if ((iVar6 < iVar3) && (param_2[iVar2] - 9 < 0x18)) {\n      bVar4 = (byte)(param_2[iVar2] - 9);\n      iVar5 = iVar3;\n      while (iVar3 = iVar5, (1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        iVar3 = iVar5 + -1;\n        if (iVar3 == iVar6) {\n          __n = 0;\n          goto LAB_0001596e;\n        }\n        if (0x17 < param_2[iVar5 + -2] - 9) break;\n        bVar4 = (byte)(param_2[iVar5 + -2] - 9);\n        iVar5 = iVar3;\n      }\n    }" if (parenthesized_expression "((iVar6 < iVar3) && (param_2[iVar2] - 9 < 0x18))" ( (binary_expression "(iVar6 < iVar3) && (param_2[iVar2] - 9 < 0x18)" (parenthesized_expression "(iVar6 < iVar3)" ( (binary_expression "iVar6 < iVar3" identifier < identifier) )) && (parenthesized_expression "(param_2[iVar2] - 9 < 0x18)" ( (binary_expression "param_2[iVar2] - 9 < 0x18" (binary_expression "param_2[iVar2] - 9" (subscript_expression "param_2[iVar2]" identifier [ identifier ]) - number_literal) < number_literal) ))) )) (compound_statement "{\n      bVar4 = (byte)(param_2[iVar2] - 9);\n      iVar5 = iVar3;\n      while (iVar3 = iVar5, (1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        iVar3 = iVar5 + -1;\n        if (iVar3 == iVar6) {\n          __n = 0;\n          goto LAB_0001596e;\n        }\n        if (0x17 < param_2[iVar5 + -2] - 9) break;\n        bVar4 = (byte)(param_2[iVar5 + -2] - 9);\n        iVar5 = iVar3;\n      }\n    }" { (expression_statement "bVar4 = (byte)(param_2[iVar2] - 9);" (assignment_expression "bVar4 = (byte)(param_2[iVar2] - 9)" identifier = (call_expression "(byte)(param_2[iVar2] - 9)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(param_2[iVar2] - 9)" ( (binary_expression "param_2[iVar2] - 9" (subscript_expression "param_2[iVar2]" identifier [ identifier ]) - number_literal) )))) ;) (expression_statement "iVar5 = iVar3;" (assignment_expression "iVar5 = iVar3" identifier = identifier) ;) (while_statement "while (iVar3 = iVar5, (1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        iVar3 = iVar5 + -1;\n        if (iVar3 == iVar6) {\n          __n = 0;\n          goto LAB_0001596e;\n        }\n        if (0x17 < param_2[iVar5 + -2] - 9) break;\n        bVar4 = (byte)(param_2[iVar5 + -2] - 9);\n        iVar5 = iVar3;\n      }" while (parenthesized_expression "(iVar3 = iVar5, (1 << (bVar4 & 0x1f) & 0x80001fU) != 0)" ( (comma_expression "iVar3 = iVar5, (1 << (bVar4 & 0x1f) & 0x80001fU) != 0" (assignment_expression "iVar3 = iVar5" identifier = identifier) , (binary_expression "(1 << (bVar4 & 0x1f) & 0x80001fU) != 0" (parenthesized_expression "(1 << (bVar4 & 0x1f) & 0x80001fU)" ( (binary_expression "1 << (bVar4 & 0x1f) & 0x80001fU" (binary_expression "1 << (bVar4 & 0x1f)" number_literal << (parenthesized_expression "(bVar4 & 0x1f)" ( (binary_expression "bVar4 & 0x1f" identifier & number_literal) ))) & number_literal) )) != number_literal)) )) (compound_statement "{\n        iVar3 = iVar5 + -1;\n        if (iVar3 == iVar6) {\n          __n = 0;\n          goto LAB_0001596e;\n        }\n        if (0x17 < param_2[iVar5 + -2] - 9) break;\n        bVar4 = (byte)(param_2[iVar5 + -2] - 9);\n        iVar5 = iVar3;\n      }" { (expression_statement "iVar3 = iVar5 + -1;" (assignment_expression "iVar3 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ;) (if_statement "if (iVar3 == iVar6) {\n          __n = 0;\n          goto LAB_0001596e;\n        }" if (parenthesized_expression "(iVar3 == iVar6)" ( (binary_expression "iVar3 == iVar6" identifier == identifier) )) (compound_statement "{\n          __n = 0;\n          goto LAB_0001596e;\n        }" { (expression_statement "__n = 0;" (assignment_expression "__n = 0" identifier = number_literal) ;) (goto_statement "goto LAB_0001596e;" goto statement_identifier ;) })) (if_statement "if (0x17 < param_2[iVar5 + -2] - 9) break;" if (parenthesized_expression "(0x17 < param_2[iVar5 + -2] - 9)" ( (binary_expression "0x17 < param_2[iVar5 + -2] - 9" number_literal < (binary_expression "param_2[iVar5 + -2] - 9" (subscript_expression "param_2[iVar5 + -2]" identifier [ (binary_expression "iVar5 + -2" identifier + number_literal) ]) - number_literal)) )) (break_statement "break;" break ;)) (expression_statement "bVar4 = (byte)(param_2[iVar5 + -2] - 9);" (assignment_expression "bVar4 = (byte)(param_2[iVar5 + -2] - 9)" identifier = (call_expression "(byte)(param_2[iVar5 + -2] - 9)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(param_2[iVar5 + -2] - 9)" ( (binary_expression "param_2[iVar5 + -2] - 9" (subscript_expression "param_2[iVar5 + -2]" identifier [ (binary_expression "iVar5 + -2" identifier + number_literal) ]) - number_literal) )))) ;) (expression_statement "iVar5 = iVar3;" (assignment_expression "iVar5 = iVar3" identifier = identifier) ;) })) })) (expression_statement "__n = iVar3 - iVar6;" (assignment_expression "__n = iVar3 - iVar6" identifier = (binary_expression "iVar3 - iVar6" identifier - identifier)) ;) })) (labeled_statement "LAB_0001596e:\n  fwrite_unlocked(local_24,1,__n,param_1);" statement_identifier : (expression_statement "fwrite_unlocked(local_24,1,__n,param_1);" (call_expression "fwrite_unlocked(local_24,1,__n,param_1)" identifier (argument_list "(local_24,1,__n,param_1)" ( identifier , number_literal , identifier , identifier ))) ;)) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (field_expression IDENT -> field_identifier)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (field_expression IDENT -> field_identifier)) )) (compound_statement { (expression_statement (assignment_expression (field_expression IDENT -> field_identifier) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (char_literal ' character ')) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) }))) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) < LIT) )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression LIT << (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT - LIT) ))) & LIT) ))) & LIT) )) != LIT) ))) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ (binary_expression IDENT + LIT) ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < (binary_expression IDENT - LIT)) )) || (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression LIT << (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT - LIT) ))) & LIT) ))) & LIT) )) == LIT) ))) )) (break_statement break ;)) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (break_statement break ;)) }) while (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) != LIT) )) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < IDENT) )) && (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ IDENT ]) - LIT) < LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (subscript_expression IDENT [ IDENT ]) - LIT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression (parenthesized_expression ( (binary_expression (binary_expression LIT << (parenthesized_expression ( (binary_expression IDENT & LIT) ))) & LIT) )) != LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < (binary_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) - LIT)) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) - LIT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) })) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , IDENT , IDENT ))) ;)) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_00015910(_IO_FILE *param_1,byte *param_2)\n\n{\n  char *pcVar1;\n  int iVar2;\n  int iVar3;\n  byte bVar4;\n  int iVar5;\n  size_t __n;\n  int iVar6;\n  byte *local_24;\n  \n  pcVar1 = param_1->_IO_write_ptr;\n  if (pcVar1 < param_1->_IO_write_end) {\n    param_1->_IO_write_ptr = pcVar1 + 1;\n    *pcVar1 = ' ';\n  }\n  else {\n    __overflow(param_1,0x20);\n  }\n  bVar4 = *param_2;\n  if (((bVar4 - 9 < 0x18) && ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) != 0)) && (bVar4 != 10))\n  {\n    iVar6 = 0;\n    do {\n      iVar5 = iVar6;\n      bVar4 = param_2[iVar5 + 1];\n      iVar6 = iVar5 + 1;\n      local_24 = param_2 + iVar6;\n      if ((0x17 < bVar4 - 9) || ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) == 0)) break;\n    } while (bVar4 != 10);\n    iVar5 = iVar5 + 0x28;\n  }\n  else {\n    iVar5 = 0x27;\n    iVar6 = 0;\n    local_24 = param_2;\n  }\n  __n = 0;\n  iVar3 = iVar6;\n  if (bVar4 != 10) {\n    do {\n      iVar2 = iVar3;\n      iVar3 = iVar2 + 1;\n      if (iVar5 < iVar3) break;\n    } while (param_2[iVar2 + 1] != 10);\n    if ((iVar6 < iVar3) && (param_2[iVar2] - 9 < 0x18)) {\n      bVar4 = (byte)(param_2[iVar2] - 9);\n      iVar5 = iVar3;\n      while (iVar3 = iVar5, (1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        iVar3 = iVar5 + -1;\n        if (iVar3 == iVar6) {\n          __n = 0;\n          goto LAB_0001596e;\n        }\n        if (0x17 < param_2[iVar5 + -2] - 9) break;\n        bVar4 = (byte)(param_2[iVar5 + -2] - 9);\n        iVar5 = iVar3;\n      }\n    }\n    __n = iVar3 - iVar6;\n  }\nLAB_0001596e:\n  fwrite_unlocked(local_24,1,__n,param_1);\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00015910(_IO_FILE *param_1,byte *param_2)" (identifier "FUN_00015910") (parameter_list "(_IO_FILE *param_1,byte *param_2)" (( "(") (parameter_declaration "_IO_FILE *param_1" (type_identifier "_IO_FILE") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "byte *param_2" (type_identifier "byte") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  int iVar3;\n  byte bVar4;\n  int iVar5;\n  size_t __n;\n  int iVar6;\n  byte *local_24;\n  \n  pcVar1 = param_1->_IO_write_ptr;\n  if (pcVar1 < param_1->_IO_write_end) {\n    param_1->_IO_write_ptr = pcVar1 + 1;\n    *pcVar1 = ' ';\n  }\n  else {\n    __overflow(param_1,0x20);\n  }\n  bVar4 = *param_2;\n  if (((bVar4 - 9 < 0x18) && ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) != 0)) && (bVar4 != 10))\n  {\n    iVar6 = 0;\n    do {\n      iVar5 = iVar6;\n      bVar4 = param_2[iVar5 + 1];\n      iVar6 = iVar5 + 1;\n      local_24 = param_2 + iVar6;\n      if ((0x17 < bVar4 - 9) || ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) == 0)) break;\n    } while (bVar4 != 10);\n    iVar5 = iVar5 + 0x28;\n  }\n  else {\n    iVar5 = 0x27;\n    iVar6 = 0;\n    local_24 = param_2;\n  }\n  __n = 0;\n  iVar3 = iVar6;\n  if (bVar4 != 10) {\n    do {\n      iVar2 = iVar3;\n      iVar3 = iVar2 + 1;\n      if (iVar5 < iVar3) break;\n    } while (param_2[iVar2 + 1] != 10);\n    if ((iVar6 < iVar3) && (param_2[iVar2] - 9 < 0x18)) {\n      bVar4 = (byte)(param_2[iVar2] - 9);\n      iVar5 = iVar3;\n      while (iVar3 = iVar5, (1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        iVar3 = iVar5 + -1;\n        if (iVar3 == iVar6) {\n          __n = 0;\n          goto LAB_0001596e;\n        }\n        if (0x17 < param_2[iVar5 + -2] - 9) break;\n        bVar4 = (byte)(param_2[iVar5 + -2] - 9);\n        iVar5 = iVar3;\n      }\n    }\n    __n = iVar3 - iVar6;\n  }\nLAB_0001596e:\n  fwrite_unlocked(local_24,1,__n,param_1);\n  return;\n}" ({ "{") (declaration "char *pcVar1;" (primitive_type "char") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "byte bVar4;" (type_identifier "byte") (identifier "bVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "size_t __n;" (primitive_type "size_t") (identifier "__n") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "byte *local_24;" (type_identifier "byte") (pointer_declarator "*local_24" (* "*") (identifier "local_24")) (; ";")) (expression_statement "pcVar1 = param_1->_IO_write_ptr;" (assignment_expression "pcVar1 = param_1->_IO_write_ptr" (identifier "pcVar1") (= "=") (field_expression "param_1->_IO_write_ptr" (identifier "param_1") (-> "->") (field_identifier "_IO_write_ptr"))) (; ";")) (if_statement "if (pcVar1 < param_1->_IO_write_end) {\n    param_1->_IO_write_ptr = pcVar1 + 1;\n    *pcVar1 = ' ';\n  }\n  else {\n    __overflow(param_1,0x20);\n  }" (if "if") (parenthesized_expression "(pcVar1 < param_1->_IO_write_end)" (( "(") (binary_expression "pcVar1 < param_1->_IO_write_end" (identifier "pcVar1") (< "<") (field_expression "param_1->_IO_write_end" (identifier "param_1") (-> "->") (field_identifier "_IO_write_end"))) () ")")) (compound_statement "{\n    param_1->_IO_write_ptr = pcVar1 + 1;\n    *pcVar1 = ' ';\n  }" ({ "{") (expression_statement "param_1->_IO_write_ptr = pcVar1 + 1;" (assignment_expression "param_1->_IO_write_ptr = pcVar1 + 1" (field_expression "param_1->_IO_write_ptr" (identifier "param_1") (-> "->") (field_identifier "_IO_write_ptr")) (= "=") (binary_expression "pcVar1 + 1" (identifier "pcVar1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*pcVar1 = ' ';" (assignment_expression "*pcVar1 = ' '" (pointer_expression "*pcVar1" (* "*") (identifier "pcVar1")) (= "=") (char_literal "' '" (' "'") (character " ") (' "'"))) (; ";")) (} "}")) (else_clause "else {\n    __overflow(param_1,0x20);\n  }" (else "else") (compound_statement "{\n    __overflow(param_1,0x20);\n  }" ({ "{") (expression_statement "__overflow(param_1,0x20);" (call_expression "__overflow(param_1,0x20)" (identifier "__overflow") (argument_list "(param_1,0x20)" (( "(") (identifier "param_1") (, ",") (number_literal "0x20") () ")"))) (; ";")) (} "}")))) (expression_statement "bVar4 = *param_2;" (assignment_expression "bVar4 = *param_2" (identifier "bVar4") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (if_statement "if (((bVar4 - 9 < 0x18) && ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) != 0)) && (bVar4 != 10))\n  {\n    iVar6 = 0;\n    do {\n      iVar5 = iVar6;\n      bVar4 = param_2[iVar5 + 1];\n      iVar6 = iVar5 + 1;\n      local_24 = param_2 + iVar6;\n      if ((0x17 < bVar4 - 9) || ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) == 0)) break;\n    } while (bVar4 != 10);\n    iVar5 = iVar5 + 0x28;\n  }\n  else {\n    iVar5 = 0x27;\n    iVar6 = 0;\n    local_24 = param_2;\n  }" (if "if") (parenthesized_expression "(((bVar4 - 9 < 0x18) && ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) != 0)) && (bVar4 != 10))" (( "(") (binary_expression "((bVar4 - 9 < 0x18) && ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) != 0)) && (bVar4 != 10)" (parenthesized_expression "((bVar4 - 9 < 0x18) && ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) != 0))" (( "(") (binary_expression "(bVar4 - 9 < 0x18) && ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) != 0)" (parenthesized_expression "(bVar4 - 9 < 0x18)" (( "(") (binary_expression "bVar4 - 9 < 0x18" (binary_expression "bVar4 - 9" (identifier "bVar4") (- "-") (number_literal "9")) (< "<") (number_literal "0x18")) () ")")) (&& "&&") (parenthesized_expression "((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) != 0)" (( "(") (binary_expression "(1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) != 0" (parenthesized_expression "(1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU)" (( "(") (binary_expression "1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU" (binary_expression "1 << ((byte)(bVar4 - 9) & 0x1f)" (number_literal "1") (<< "<<") (parenthesized_expression "((byte)(bVar4 - 9) & 0x1f)" (( "(") (binary_expression "(byte)(bVar4 - 9) & 0x1f" (call_expression "(byte)(bVar4 - 9)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(bVar4 - 9)" (( "(") (binary_expression "bVar4 - 9" (identifier "bVar4") (- "-") (number_literal "9")) () ")"))) (& "&") (number_literal "0x1f")) () ")"))) (& "&") (number_literal "0x80001fU")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(bVar4 != 10)" (( "(") (binary_expression "bVar4 != 10" (identifier "bVar4") (!= "!=") (number_literal "10")) () ")"))) () ")")) (compound_statement "{\n    iVar6 = 0;\n    do {\n      iVar5 = iVar6;\n      bVar4 = param_2[iVar5 + 1];\n      iVar6 = iVar5 + 1;\n      local_24 = param_2 + iVar6;\n      if ((0x17 < bVar4 - 9) || ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) == 0)) break;\n    } while (bVar4 != 10);\n    iVar5 = iVar5 + 0x28;\n  }" ({ "{") (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" (identifier "iVar6") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      iVar5 = iVar6;\n      bVar4 = param_2[iVar5 + 1];\n      iVar6 = iVar5 + 1;\n      local_24 = param_2 + iVar6;\n      if ((0x17 < bVar4 - 9) || ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) == 0)) break;\n    } while (bVar4 != 10);" (do "do") (compound_statement "{\n      iVar5 = iVar6;\n      bVar4 = param_2[iVar5 + 1];\n      iVar6 = iVar5 + 1;\n      local_24 = param_2 + iVar6;\n      if ((0x17 < bVar4 - 9) || ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) == 0)) break;\n    }" ({ "{") (expression_statement "iVar5 = iVar6;" (assignment_expression "iVar5 = iVar6" (identifier "iVar5") (= "=") (identifier "iVar6")) (; ";")) (expression_statement "bVar4 = param_2[iVar5 + 1];" (assignment_expression "bVar4 = param_2[iVar5 + 1]" (identifier "bVar4") (= "=") (subscript_expression "param_2[iVar5 + 1]" (identifier "param_2") ([ "[") (binary_expression "iVar5 + 1" (identifier "iVar5") (+ "+") (number_literal "1")) (] "]"))) (; ";")) (expression_statement "iVar6 = iVar5 + 1;" (assignment_expression "iVar6 = iVar5 + 1" (identifier "iVar6") (= "=") (binary_expression "iVar5 + 1" (identifier "iVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_24 = param_2 + iVar6;" (assignment_expression "local_24 = param_2 + iVar6" (identifier "local_24") (= "=") (binary_expression "param_2 + iVar6" (identifier "param_2") (+ "+") (identifier "iVar6"))) (; ";")) (if_statement "if ((0x17 < bVar4 - 9) || ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) == 0)) break;" (if "if") (parenthesized_expression "((0x17 < bVar4 - 9) || ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) == 0))" (( "(") (binary_expression "(0x17 < bVar4 - 9) || ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) == 0)" (parenthesized_expression "(0x17 < bVar4 - 9)" (( "(") (binary_expression "0x17 < bVar4 - 9" (number_literal "0x17") (< "<") (binary_expression "bVar4 - 9" (identifier "bVar4") (- "-") (number_literal "9"))) () ")")) (|| "||") (parenthesized_expression "((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) == 0)" (( "(") (binary_expression "(1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) == 0" (parenthesized_expression "(1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU)" (( "(") (binary_expression "1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU" (binary_expression "1 << ((byte)(bVar4 - 9) & 0x1f)" (number_literal "1") (<< "<<") (parenthesized_expression "((byte)(bVar4 - 9) & 0x1f)" (( "(") (binary_expression "(byte)(bVar4 - 9) & 0x1f" (call_expression "(byte)(bVar4 - 9)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(bVar4 - 9)" (( "(") (binary_expression "bVar4 - 9" (identifier "bVar4") (- "-") (number_literal "9")) () ")"))) (& "&") (number_literal "0x1f")) () ")"))) (& "&") (number_literal "0x80001fU")) () ")")) (== "==") (number_literal "0")) () ")"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (} "}")) (while "while") (parenthesized_expression "(bVar4 != 10)" (( "(") (binary_expression "bVar4 != 10" (identifier "bVar4") (!= "!=") (number_literal "10")) () ")")) (; ";")) (expression_statement "iVar5 = iVar5 + 0x28;" (assignment_expression "iVar5 = iVar5 + 0x28" (identifier "iVar5") (= "=") (binary_expression "iVar5 + 0x28" (identifier "iVar5") (+ "+") (number_literal "0x28"))) (; ";")) (} "}")) (else_clause "else {\n    iVar5 = 0x27;\n    iVar6 = 0;\n    local_24 = param_2;\n  }" (else "else") (compound_statement "{\n    iVar5 = 0x27;\n    iVar6 = 0;\n    local_24 = param_2;\n  }" ({ "{") (expression_statement "iVar5 = 0x27;" (assignment_expression "iVar5 = 0x27" (identifier "iVar5") (= "=") (number_literal "0x27")) (; ";")) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" (identifier "iVar6") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_24 = param_2;" (assignment_expression "local_24 = param_2" (identifier "local_24") (= "=") (identifier "param_2")) (; ";")) (} "}")))) (expression_statement "__n = 0;" (assignment_expression "__n = 0" (identifier "__n") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar3 = iVar6;" (assignment_expression "iVar3 = iVar6" (identifier "iVar3") (= "=") (identifier "iVar6")) (; ";")) (if_statement "if (bVar4 != 10) {\n    do {\n      iVar2 = iVar3;\n      iVar3 = iVar2 + 1;\n      if (iVar5 < iVar3) break;\n    } while (param_2[iVar2 + 1] != 10);\n    if ((iVar6 < iVar3) && (param_2[iVar2] - 9 < 0x18)) {\n      bVar4 = (byte)(param_2[iVar2] - 9);\n      iVar5 = iVar3;\n      while (iVar3 = iVar5, (1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        iVar3 = iVar5 + -1;\n        if (iVar3 == iVar6) {\n          __n = 0;\n          goto LAB_0001596e;\n        }\n        if (0x17 < param_2[iVar5 + -2] - 9) break;\n        bVar4 = (byte)(param_2[iVar5 + -2] - 9);\n        iVar5 = iVar3;\n      }\n    }\n    __n = iVar3 - iVar6;\n  }" (if "if") (parenthesized_expression "(bVar4 != 10)" (( "(") (binary_expression "bVar4 != 10" (identifier "bVar4") (!= "!=") (number_literal "10")) () ")")) (compound_statement "{\n    do {\n      iVar2 = iVar3;\n      iVar3 = iVar2 + 1;\n      if (iVar5 < iVar3) break;\n    } while (param_2[iVar2 + 1] != 10);\n    if ((iVar6 < iVar3) && (param_2[iVar2] - 9 < 0x18)) {\n      bVar4 = (byte)(param_2[iVar2] - 9);\n      iVar5 = iVar3;\n      while (iVar3 = iVar5, (1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        iVar3 = iVar5 + -1;\n        if (iVar3 == iVar6) {\n          __n = 0;\n          goto LAB_0001596e;\n        }\n        if (0x17 < param_2[iVar5 + -2] - 9) break;\n        bVar4 = (byte)(param_2[iVar5 + -2] - 9);\n        iVar5 = iVar3;\n      }\n    }\n    __n = iVar3 - iVar6;\n  }" ({ "{") (do_statement "do {\n      iVar2 = iVar3;\n      iVar3 = iVar2 + 1;\n      if (iVar5 < iVar3) break;\n    } while (param_2[iVar2 + 1] != 10);" (do "do") (compound_statement "{\n      iVar2 = iVar3;\n      iVar3 = iVar2 + 1;\n      if (iVar5 < iVar3) break;\n    }" ({ "{") (expression_statement "iVar2 = iVar3;" (assignment_expression "iVar2 = iVar3" (identifier "iVar2") (= "=") (identifier "iVar3")) (; ";")) (expression_statement "iVar3 = iVar2 + 1;" (assignment_expression "iVar3 = iVar2 + 1" (identifier "iVar3") (= "=") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (iVar5 < iVar3) break;" (if "if") (parenthesized_expression "(iVar5 < iVar3)" (( "(") (binary_expression "iVar5 < iVar3" (identifier "iVar5") (< "<") (identifier "iVar3")) () ")")) (break_statement "break;" (break "break") (; ";"))) (} "}")) (while "while") (parenthesized_expression "(param_2[iVar2 + 1] != 10)" (( "(") (binary_expression "param_2[iVar2 + 1] != 10" (subscript_expression "param_2[iVar2 + 1]" (identifier "param_2") ([ "[") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1")) (] "]")) (!= "!=") (number_literal "10")) () ")")) (; ";")) (if_statement "if ((iVar6 < iVar3) && (param_2[iVar2] - 9 < 0x18)) {\n      bVar4 = (byte)(param_2[iVar2] - 9);\n      iVar5 = iVar3;\n      while (iVar3 = iVar5, (1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        iVar3 = iVar5 + -1;\n        if (iVar3 == iVar6) {\n          __n = 0;\n          goto LAB_0001596e;\n        }\n        if (0x17 < param_2[iVar5 + -2] - 9) break;\n        bVar4 = (byte)(param_2[iVar5 + -2] - 9);\n        iVar5 = iVar3;\n      }\n    }" (if "if") (parenthesized_expression "((iVar6 < iVar3) && (param_2[iVar2] - 9 < 0x18))" (( "(") (binary_expression "(iVar6 < iVar3) && (param_2[iVar2] - 9 < 0x18)" (parenthesized_expression "(iVar6 < iVar3)" (( "(") (binary_expression "iVar6 < iVar3" (identifier "iVar6") (< "<") (identifier "iVar3")) () ")")) (&& "&&") (parenthesized_expression "(param_2[iVar2] - 9 < 0x18)" (( "(") (binary_expression "param_2[iVar2] - 9 < 0x18" (binary_expression "param_2[iVar2] - 9" (subscript_expression "param_2[iVar2]" (identifier "param_2") ([ "[") (identifier "iVar2") (] "]")) (- "-") (number_literal "9")) (< "<") (number_literal "0x18")) () ")"))) () ")")) (compound_statement "{\n      bVar4 = (byte)(param_2[iVar2] - 9);\n      iVar5 = iVar3;\n      while (iVar3 = iVar5, (1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        iVar3 = iVar5 + -1;\n        if (iVar3 == iVar6) {\n          __n = 0;\n          goto LAB_0001596e;\n        }\n        if (0x17 < param_2[iVar5 + -2] - 9) break;\n        bVar4 = (byte)(param_2[iVar5 + -2] - 9);\n        iVar5 = iVar3;\n      }\n    }" ({ "{") (expression_statement "bVar4 = (byte)(param_2[iVar2] - 9);" (assignment_expression "bVar4 = (byte)(param_2[iVar2] - 9)" (identifier "bVar4") (= "=") (call_expression "(byte)(param_2[iVar2] - 9)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(param_2[iVar2] - 9)" (( "(") (binary_expression "param_2[iVar2] - 9" (subscript_expression "param_2[iVar2]" (identifier "param_2") ([ "[") (identifier "iVar2") (] "]")) (- "-") (number_literal "9")) () ")")))) (; ";")) (expression_statement "iVar5 = iVar3;" (assignment_expression "iVar5 = iVar3" (identifier "iVar5") (= "=") (identifier "iVar3")) (; ";")) (while_statement "while (iVar3 = iVar5, (1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        iVar3 = iVar5 + -1;\n        if (iVar3 == iVar6) {\n          __n = 0;\n          goto LAB_0001596e;\n        }\n        if (0x17 < param_2[iVar5 + -2] - 9) break;\n        bVar4 = (byte)(param_2[iVar5 + -2] - 9);\n        iVar5 = iVar3;\n      }" (while "while") (parenthesized_expression "(iVar3 = iVar5, (1 << (bVar4 & 0x1f) & 0x80001fU) != 0)" (( "(") (comma_expression "iVar3 = iVar5, (1 << (bVar4 & 0x1f) & 0x80001fU) != 0" (assignment_expression "iVar3 = iVar5" (identifier "iVar3") (= "=") (identifier "iVar5")) (, ",") (binary_expression "(1 << (bVar4 & 0x1f) & 0x80001fU) != 0" (parenthesized_expression "(1 << (bVar4 & 0x1f) & 0x80001fU)" (( "(") (binary_expression "1 << (bVar4 & 0x1f) & 0x80001fU" (binary_expression "1 << (bVar4 & 0x1f)" (number_literal "1") (<< "<<") (parenthesized_expression "(bVar4 & 0x1f)" (( "(") (binary_expression "bVar4 & 0x1f" (identifier "bVar4") (& "&") (number_literal "0x1f")) () ")"))) (& "&") (number_literal "0x80001fU")) () ")")) (!= "!=") (number_literal "0"))) () ")")) (compound_statement "{\n        iVar3 = iVar5 + -1;\n        if (iVar3 == iVar6) {\n          __n = 0;\n          goto LAB_0001596e;\n        }\n        if (0x17 < param_2[iVar5 + -2] - 9) break;\n        bVar4 = (byte)(param_2[iVar5 + -2] - 9);\n        iVar5 = iVar3;\n      }" ({ "{") (expression_statement "iVar3 = iVar5 + -1;" (assignment_expression "iVar3 = iVar5 + -1" (identifier "iVar3") (= "=") (binary_expression "iVar5 + -1" (identifier "iVar5") (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if (iVar3 == iVar6) {\n          __n = 0;\n          goto LAB_0001596e;\n        }" (if "if") (parenthesized_expression "(iVar3 == iVar6)" (( "(") (binary_expression "iVar3 == iVar6" (identifier "iVar3") (== "==") (identifier "iVar6")) () ")")) (compound_statement "{\n          __n = 0;\n          goto LAB_0001596e;\n        }" ({ "{") (expression_statement "__n = 0;" (assignment_expression "__n = 0" (identifier "__n") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_0001596e;" (goto "goto") (statement_identifier "LAB_0001596e") (; ";")) (} "}"))) (if_statement "if (0x17 < param_2[iVar5 + -2] - 9) break;" (if "if") (parenthesized_expression "(0x17 < param_2[iVar5 + -2] - 9)" (( "(") (binary_expression "0x17 < param_2[iVar5 + -2] - 9" (number_literal "0x17") (< "<") (binary_expression "param_2[iVar5 + -2] - 9" (subscript_expression "param_2[iVar5 + -2]" (identifier "param_2") ([ "[") (binary_expression "iVar5 + -2" (identifier "iVar5") (+ "+") (number_literal "-2")) (] "]")) (- "-") (number_literal "9"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "bVar4 = (byte)(param_2[iVar5 + -2] - 9);" (assignment_expression "bVar4 = (byte)(param_2[iVar5 + -2] - 9)" (identifier "bVar4") (= "=") (call_expression "(byte)(param_2[iVar5 + -2] - 9)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(param_2[iVar5 + -2] - 9)" (( "(") (binary_expression "param_2[iVar5 + -2] - 9" (subscript_expression "param_2[iVar5 + -2]" (identifier "param_2") ([ "[") (binary_expression "iVar5 + -2" (identifier "iVar5") (+ "+") (number_literal "-2")) (] "]")) (- "-") (number_literal "9")) () ")")))) (; ";")) (expression_statement "iVar5 = iVar3;" (assignment_expression "iVar5 = iVar3" (identifier "iVar5") (= "=") (identifier "iVar3")) (; ";")) (} "}"))) (} "}"))) (expression_statement "__n = iVar3 - iVar6;" (assignment_expression "__n = iVar3 - iVar6" (identifier "__n") (= "=") (binary_expression "iVar3 - iVar6" (identifier "iVar3") (- "-") (identifier "iVar6"))) (; ";")) (} "}"))) (labeled_statement "LAB_0001596e:\n  fwrite_unlocked(local_24,1,__n,param_1);" (statement_identifier "LAB_0001596e") (: ":") (expression_statement "fwrite_unlocked(local_24,1,__n,param_1);" (call_expression "fwrite_unlocked(local_24,1,__n,param_1)" (identifier "fwrite_unlocked") (argument_list "(local_24,1,__n,param_1)" (( "(") (identifier "local_24") (, ",") (number_literal "1") (, ",") (identifier "__n") (, ",") (identifier "param_1") () ")"))) (; ";"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void __regparm3 function_1(type_1 *out,char *var_5)

{
  char *var_1;
  int var_7;
  int var_8;
  type_2 var_3;
  int var_4;
  size_t __n;
  int var_6;
  char *local_24;
  
  var_1 = out->_IO_write_ptr;
  if (var_1 < out->_IO_write_end) {
    out->_IO_write_ptr = var_1 + 1;
    *var_1 = ' ';
  }
  else {
    var_2((type_3 *)out,0x20);
  }
  var_3 = *var_5;
  if (((var_3 - 9 < 0x18) && ((1 << ((type_2)(var_3 - 9) & 0x1f) & 0x80001fU) != 0)) && (var_3 != 10))
  {
    var_6 = 0;
    do {
      var_4 = var_6;
      var_3 = var_5[var_4 + 1];
      var_6 = var_4 + 1;
      local_24 = var_5 + var_6;
      if ((0x17 < var_3 - 9) || ((1 << ((type_2)(var_3 - 9) & 0x1f) & 0x80001fU) == 0)) break;
    } while (var_3 != 10);
    var_4 = var_4 + 0x28;
  }
  else {
    var_4 = 0x27;
    var_6 = 0;
    local_24 = var_5;
  }
  __n = 0;
  var_8 = var_6;
  if (var_3 != 10) {
    do {
      var_7 = var_8;
      var_8 = var_7 + 1;
      if (var_4 < var_8) break;
    } while (var_5[var_7 + 1] != '\n');
    if ((var_6 < var_8) && ((type_2)var_5[var_7] - 9 < 0x18)) {
      var_3 = (type_2)((type_2)var_5[var_7] - 9);
      var_4 = var_8;
      while (var_8 = var_4, (1 << (var_3 & 0x1f) & 0x80001fU) != 0) {
        var_8 = var_4 + -1;
        if (var_8 == var_6) {
          __n = 0;
          goto LAB_0001596e;
        }
        if (0x17 < (type_2)var_5[var_4 + -2] - 9) break;
        var_3 = (type_2)((type_2)var_5[var_4 + -2] - 9);
        var_4 = var_8;
      }
    }
    __n = var_8 - var_6;
  }
LAB_0001596e:
  var_9(local_24,1,__n,(type_1 *)out);
  return;
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (field_expression argument: (identifier) field: (field_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (field_expression argument: (identifier) field: (field_identifier)))) consequence: (compound_statement (expression_statement (assignment_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (char_literal (character))))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (number_literal) right: (parenthesized_expression (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))) right: (number_literal)))) right: (number_literal))) right: (number_literal))))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (binary_expression left: (identifier) right: (number_literal))))) (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: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (number_literal) right: (binary_expression left: (identifier) right: (number_literal)))) right: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (number_literal) right: (parenthesized_expression (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))) right: (number_literal)))) right: (number_literal))) right: (number_literal))))) consequence: (break_statement))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) alternative: (else_clause (compound_statement (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)))))) (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: (number_literal))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (break_statement))) condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (binary_expression left: (binary_expression left: (subscript_expression argument: (identifier) index: (identifier)) right: (number_literal)) right: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (subscript_expression argument: (identifier) index: (identifier)) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (while_statement condition: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (number_literal) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) right: (number_literal))) right: (number_literal)))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (binary_expression left: (subscript_expression argument: (identifier) index: (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (subscript_expression argument: (identifier) index: (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (identifier) (identifier))))) (return_statement))))

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

void __regparm3 MASKED(_IO_FILE *param_1,byte *param_2)

{
  char *pcVar1;
  int iVar2;
  int iVar3;
  byte bVar4;
  int iVar5;
  size_t __n;
  int iVar6;
  byte *local_24;
  
  pcVar1 = param_1->_IO_write_ptr;
  if (pcVar1 < param_1->_IO_write_end) {
    param_1->_IO_write_ptr = pcVar1 + 1;
    *pcVar1 = ' ';
  }
  else {
    __overflow(param_1,0x20);
  }
  bVar4 = *param_2;
  if (((bVar4 - 9 < 0x18) && ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) != 0)) && (bVar4 != 10))
  {
    iVar6 = 0;
    do {
      iVar5 = iVar6;
      bVar4 = param_2[iVar5 + 1];
      iVar6 = iVar5 + 1;
      local_24 = param_2 + iVar6;
      if ((0x17 < bVar4 - 9) || ((1 << ((byte)(bVar4 - 9) & 0x1f) & 0x80001fU) == 0)) break;
    } while (bVar4 != 10);
    iVar5 = iVar5 + 0x28;
  }
  else {
    iVar5 = 0x27;
    iVar6 = 0;
    local_24 = param_2;
  }
  __n = 0;
  iVar3 = iVar6;
  if (bVar4 != 10) {
    do {
      iVar2 = iVar3;
      iVar3 = iVar2 + 1;
      if (iVar5 < iVar3) break;
    } while (param_2[iVar2 + 1] != 10);
    if ((iVar6 < iVar3) && (param_2[iVar2] - 9 < 0x18)) {
      bVar4 = (byte)(param_2[iVar2] - 9);
      iVar5 = iVar3;
      while (iVar3 = iVar5, (1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {
        iVar3 = iVar5 + -1;
        if (iVar3 == iVar6) {
          __n = 0;
          goto LAB_0001596e;
        }
        if (0x17 < param_2[iVar5 + -2] - 9) break;
        bVar4 = (byte)(param_2[iVar5 + -2] - 9);
        iVar5 = iVar3;
      }
    }
    __n = iVar3 - iVar6;
  }
LAB_0001596e:
  fwrite_unlocked(local_24,1,__n,param_1);
  return;
}

