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

void __regparm3 format_user_or_group(char *name,ulong id,int width)

{
  _IO_FILE *p_Var1;
  char *pcVar2;
  undefined *puVar3;
  int iVar4;
  size_t sVar5;
  
  if (name == (char *)0x0) {
    __printf_chk(1,"%*lu ",width,id);
  }
  else {
    iVar4 = gnu_mbswidth(name,0);
    puVar3 = PTR_stdout_0003cfcc;
    iVar4 = width - iVar4;
    if (iVar4 < 0) {
      iVar4 = 0;
    }
    fputs_unlocked(name,*(FILE **)PTR_stdout_0003cfcc);
    sVar5 = strlen(name);
    width = iVar4 + sVar5;
    do {
      p_Var1 = *(_IO_FILE **)puVar3;
      pcVar2 = p_Var1->_IO_write_ptr;
      if (pcVar2 < p_Var1->_IO_write_end) {
        p_Var1->_IO_write_ptr = pcVar2 + 1;
        *pcVar2 = ' ';
      }
      else {
        __overflow(p_Var1,0x20);
      }
      iVar4 = iVar4 + -1;
    } while (iVar4 != -1);
  }
  dired_pos = width + 1 + dired_pos;
  return;
}



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

void __regparm3 FUN_00014fc0(char *param_1,undefined4 param_2,int param_3)

{
  _IO_FILE *p_Var1;
  char *pcVar2;
  undefined *puVar3;
  int iVar4;
  size_t sVar5;
  
  if (param_1 == (char *)0x0) {
    __printf_chk(1,"%*lu ",param_3,param_2);
  }
  else {
    iVar4 = FUN_000217d0(param_1,0);
    puVar3 = PTR_stdout_0003cfcc;
    iVar4 = param_3 - iVar4;
    if (iVar4 < 0) {
      iVar4 = 0;
    }
    fputs_unlocked(param_1,*(FILE **)PTR_stdout_0003cfcc);
    sVar5 = strlen(param_1);
    param_3 = iVar4 + sVar5;
    do {
      p_Var1 = *(_IO_FILE **)puVar3;
      pcVar2 = p_Var1->_IO_write_ptr;
      if (pcVar2 < p_Var1->_IO_write_end) {
        p_Var1->_IO_write_ptr = pcVar2 + 1;
        *pcVar2 = ' ';
      }
      else {
        __overflow(p_Var1,0x20);
      }
      iVar4 = iVar4 + -1;
    } while (iVar4 != -1);
  }
  DAT_0003e1ec = param_3 + 1 + DAT_0003e1ec;
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
MOV ESI,ECX
PUSH EBX
CALL 0x000142a0
ADD EBX,0x28035
SUB ESP,0xc
TEST EAX,EAX
JZ 0x00015060
SUB ESP,0x8
MOV EDI,EAX
PUSH 0x0
PUSH EAX
CALL 0x000217d0
MOV EBP,dword ptr [EBX + 0xffffffcc]
POP EDX
POP ECX
SUB ESI,EAX
MOV EAX,0x0
PUSH dword ptr [EBP]
CMOVS ESI,EAX
PUSH EDI
CALL 0x000123d0
MOV dword ptr [ESP],EDI
CALL 0x00012420
ADD ESP,0x10
LEA EDI,[ESI + EAX*0x1]
LEA ESI,[ESI]
MOV EDX,dword ptr [EBP]
MOV EAX,dword ptr [EDX + 0x14]
CMP EAX,dword ptr [EDX + 0x18]
JNC 0x00015050
LEA ECX,[EAX + 0x1]
MOV dword ptr [EDX + 0x14],ECX
MOV byte ptr [EAX],0x20
SUB ESI,0x1
CMP ESI,-0x1
JNZ 0x00015018
MOV EAX,dword ptr [EBX + 0x11ec]
LEA EAX,[EDI + EAX*0x1 + 0x1]
MOV dword ptr [EBX + 0x11ec],EAX
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x8
PUSH 0x20
PUSH EDX
CALL 0x000125a0
ADD ESP,0x10
JMP 0x0001502c
LEA EAX,[EBX + 0xffff297f]
PUSH EDX
MOV EDI,ESI
PUSH ECX
PUSH EAX
PUSH 0x1
CALL 0x00012520
ADD ESP,0x10
JMP 0x00015034
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_00014fc0(char *param_1,undefined4 param_2,int param_3)\n\n{\n  _IO_FILE *p_Var1;\n  char *pcVar2;\n  undefined *puVar3;\n  int iVar4;\n  size_t sVar5;\n  \n  if (param_1 == (char *)0x0) {\n    __printf_chk(1,"%*lu ",param_3,param_2);\n  }\n  else {\n    iVar4 = FUN_000217d0(param_1,0);\n    puVar3 = PTR_stdout_0003cfcc;\n    iVar4 = param_3 - iVar4;\n    if (iVar4 < 0) {\n      iVar4 = 0;\n    }\n    fputs_unlocked(param_1,*(FILE **)PTR_stdout_0003cfcc);\n    sVar5 = strlen(param_1);\n    param_3 = iVar4 + sVar5;\n    do {\n      p_Var1 = *(_IO_FILE **)puVar3;\n      pcVar2 = p_Var1->_IO_write_ptr;\n      if (pcVar2 < p_Var1->_IO_write_end) {\n        p_Var1->_IO_write_ptr = pcVar2 + 1;\n        *pcVar2 = ' ';\n      }\n      else {\n        __overflow(p_Var1,0x20);\n      }\n      iVar4 = iVar4 + -1;\n    } while (iVar4 != -1);\n  }\n  DAT_0003e1ec = param_3 + 1 + DAT_0003e1ec;\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_00014fc0(char *param_1,undefined4 param_2,int param_3)\n\n{\n  _IO_FILE *p_Var1;\n  char *pcVar2;\n  undefined *puVar3;\n  int iVar4;\n  size_t sVar5;\n  \n  if (param_1 == (char *)0x0) {\n    __printf_chk(1,"%*lu ",param_3,param_2);\n  }\n  else {\n    iVar4 = FUN_000217d0(param_1,0);\n    puVar3 = PTR_stdout_0003cfcc;\n    iVar4 = param_3 - iVar4;\n    if (iVar4 < 0) {\n      iVar4 = 0;\n    }\n    fputs_unlocked(param_1,*(FILE **)PTR_stdout_0003cfcc);\n    sVar5 = strlen(param_1);\n    param_3 = iVar4 + sVar5;\n    do {\n      p_Var1 = *(_IO_FILE **)puVar3;\n      pcVar2 = p_Var1->_IO_write_ptr;\n      if (pcVar2 < p_Var1->_IO_write_end) {\n        p_Var1->_IO_write_ptr = pcVar2 + 1;\n        *pcVar2 = ' ';\n      }\n      else {\n        __overflow(p_Var1,0x20);\n      }\n      iVar4 = iVar4 + -1;\n    } while (iVar4 != -1);\n  }\n  DAT_0003e1ec = param_3 + 1 + DAT_0003e1ec;\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00014fc0(char *param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(char *param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  _IO_FILE *p_Var1;\n  char *pcVar2;\n  undefined *puVar3;\n  int iVar4;\n  size_t sVar5;\n  \n  if (param_1 == (char *)0x0) {\n    __printf_chk(1,"%*lu ",param_3,param_2);\n  }\n  else {\n    iVar4 = FUN_000217d0(param_1,0);\n    puVar3 = PTR_stdout_0003cfcc;\n    iVar4 = param_3 - iVar4;\n    if (iVar4 < 0) {\n      iVar4 = 0;\n    }\n    fputs_unlocked(param_1,*(FILE **)PTR_stdout_0003cfcc);\n    sVar5 = strlen(param_1);\n    param_3 = iVar4 + sVar5;\n    do {\n      p_Var1 = *(_IO_FILE **)puVar3;\n      pcVar2 = p_Var1->_IO_write_ptr;\n      if (pcVar2 < p_Var1->_IO_write_end) {\n        p_Var1->_IO_write_ptr = pcVar2 + 1;\n        *pcVar2 = ' ';\n      }\n      else {\n        __overflow(p_Var1,0x20);\n      }\n      iVar4 = iVar4 + -1;\n    } while (iVar4 != -1);\n  }\n  DAT_0003e1ec = param_3 + 1 + DAT_0003e1ec;\n  return;\n}" { (declaration "_IO_FILE *p_Var1;" type_identifier (pointer_declarator "*p_Var1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "size_t sVar5;" primitive_type identifier ;) (if_statement "if (param_1 == (char *)0x0) {\n    __printf_chk(1,"%*lu ",param_3,param_2);\n  }\n  else {\n    iVar4 = FUN_000217d0(param_1,0);\n    puVar3 = PTR_stdout_0003cfcc;\n    iVar4 = param_3 - iVar4;\n    if (iVar4 < 0) {\n      iVar4 = 0;\n    }\n    fputs_unlocked(param_1,*(FILE **)PTR_stdout_0003cfcc);\n    sVar5 = strlen(param_1);\n    param_3 = iVar4 + sVar5;\n    do {\n      p_Var1 = *(_IO_FILE **)puVar3;\n      pcVar2 = p_Var1->_IO_write_ptr;\n      if (pcVar2 < p_Var1->_IO_write_end) {\n        p_Var1->_IO_write_ptr = pcVar2 + 1;\n        *pcVar2 = ' ';\n      }\n      else {\n        __overflow(p_Var1,0x20);\n      }\n      iVar4 = iVar4 + -1;\n    } while (iVar4 != -1);\n  }" if (parenthesized_expression "(param_1 == (char *)0x0)" ( (binary_expression "param_1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    __printf_chk(1,"%*lu ",param_3,param_2);\n  }" { (expression_statement "__printf_chk(1,"%*lu ",param_3,param_2);" (call_expression "__printf_chk(1,"%*lu ",param_3,param_2)" identifier (argument_list "(1,"%*lu ",param_3,param_2)" ( number_literal , (string_literal ""%*lu "" " string_content ") , identifier , identifier ))) ;) }) (else_clause "else {\n    iVar4 = FUN_000217d0(param_1,0);\n    puVar3 = PTR_stdout_0003cfcc;\n    iVar4 = param_3 - iVar4;\n    if (iVar4 < 0) {\n      iVar4 = 0;\n    }\n    fputs_unlocked(param_1,*(FILE **)PTR_stdout_0003cfcc);\n    sVar5 = strlen(param_1);\n    param_3 = iVar4 + sVar5;\n    do {\n      p_Var1 = *(_IO_FILE **)puVar3;\n      pcVar2 = p_Var1->_IO_write_ptr;\n      if (pcVar2 < p_Var1->_IO_write_end) {\n        p_Var1->_IO_write_ptr = pcVar2 + 1;\n        *pcVar2 = ' ';\n      }\n      else {\n        __overflow(p_Var1,0x20);\n      }\n      iVar4 = iVar4 + -1;\n    } while (iVar4 != -1);\n  }" else (compound_statement "{\n    iVar4 = FUN_000217d0(param_1,0);\n    puVar3 = PTR_stdout_0003cfcc;\n    iVar4 = param_3 - iVar4;\n    if (iVar4 < 0) {\n      iVar4 = 0;\n    }\n    fputs_unlocked(param_1,*(FILE **)PTR_stdout_0003cfcc);\n    sVar5 = strlen(param_1);\n    param_3 = iVar4 + sVar5;\n    do {\n      p_Var1 = *(_IO_FILE **)puVar3;\n      pcVar2 = p_Var1->_IO_write_ptr;\n      if (pcVar2 < p_Var1->_IO_write_end) {\n        p_Var1->_IO_write_ptr = pcVar2 + 1;\n        *pcVar2 = ' ';\n      }\n      else {\n        __overflow(p_Var1,0x20);\n      }\n      iVar4 = iVar4 + -1;\n    } while (iVar4 != -1);\n  }" { (expression_statement "iVar4 = FUN_000217d0(param_1,0);" (assignment_expression "iVar4 = FUN_000217d0(param_1,0)" identifier = (call_expression "FUN_000217d0(param_1,0)" identifier (argument_list "(param_1,0)" ( identifier , number_literal )))) ;) (expression_statement "puVar3 = PTR_stdout_0003cfcc;" (assignment_expression "puVar3 = PTR_stdout_0003cfcc" identifier = identifier) ;) (expression_statement "iVar4 = param_3 - iVar4;" (assignment_expression "iVar4 = param_3 - iVar4" identifier = (binary_expression "param_3 - iVar4" identifier - identifier)) ;) (if_statement "if (iVar4 < 0) {\n      iVar4 = 0;\n    }" if (parenthesized_expression "(iVar4 < 0)" ( (binary_expression "iVar4 < 0" identifier < number_literal) )) (compound_statement "{\n      iVar4 = 0;\n    }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) })) (expression_statement "fputs_unlocked(param_1,*(FILE **)PTR_stdout_0003cfcc);" (call_expression "fputs_unlocked(param_1,*(FILE **)PTR_stdout_0003cfcc)" identifier (argument_list "(param_1,*(FILE **)PTR_stdout_0003cfcc)" ( identifier , (pointer_expression "*(FILE **)PTR_stdout_0003cfcc" * (cast_expression "(FILE **)PTR_stdout_0003cfcc" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (expression_statement "sVar5 = strlen(param_1);" (assignment_expression "sVar5 = strlen(param_1)" identifier = (call_expression "strlen(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "param_3 = iVar4 + sVar5;" (assignment_expression "param_3 = iVar4 + sVar5" identifier = (binary_expression "iVar4 + sVar5" identifier + identifier)) ;) (do_statement "do {\n      p_Var1 = *(_IO_FILE **)puVar3;\n      pcVar2 = p_Var1->_IO_write_ptr;\n      if (pcVar2 < p_Var1->_IO_write_end) {\n        p_Var1->_IO_write_ptr = pcVar2 + 1;\n        *pcVar2 = ' ';\n      }\n      else {\n        __overflow(p_Var1,0x20);\n      }\n      iVar4 = iVar4 + -1;\n    } while (iVar4 != -1);" do (compound_statement "{\n      p_Var1 = *(_IO_FILE **)puVar3;\n      pcVar2 = p_Var1->_IO_write_ptr;\n      if (pcVar2 < p_Var1->_IO_write_end) {\n        p_Var1->_IO_write_ptr = pcVar2 + 1;\n        *pcVar2 = ' ';\n      }\n      else {\n        __overflow(p_Var1,0x20);\n      }\n      iVar4 = iVar4 + -1;\n    }" { (expression_statement "p_Var1 = *(_IO_FILE **)puVar3;" (assignment_expression "p_Var1 = *(_IO_FILE **)puVar3" identifier = (pointer_expression "*(_IO_FILE **)puVar3" * (cast_expression "(_IO_FILE **)puVar3" ( (type_descriptor "_IO_FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "pcVar2 = p_Var1->_IO_write_ptr;" (assignment_expression "pcVar2 = p_Var1->_IO_write_ptr" identifier = (field_expression "p_Var1->_IO_write_ptr" identifier -> field_identifier)) ;) (if_statement "if (pcVar2 < p_Var1->_IO_write_end) {\n        p_Var1->_IO_write_ptr = pcVar2 + 1;\n        *pcVar2 = ' ';\n      }\n      else {\n        __overflow(p_Var1,0x20);\n      }" if (parenthesized_expression "(pcVar2 < p_Var1->_IO_write_end)" ( (binary_expression "pcVar2 < p_Var1->_IO_write_end" identifier < (field_expression "p_Var1->_IO_write_end" identifier -> field_identifier)) )) (compound_statement "{\n        p_Var1->_IO_write_ptr = pcVar2 + 1;\n        *pcVar2 = ' ';\n      }" { (expression_statement "p_Var1->_IO_write_ptr = pcVar2 + 1;" (assignment_expression "p_Var1->_IO_write_ptr = pcVar2 + 1" (field_expression "p_Var1->_IO_write_ptr" identifier -> field_identifier) = (binary_expression "pcVar2 + 1" identifier + number_literal)) ;) (expression_statement "*pcVar2 = ' ';" (assignment_expression "*pcVar2 = ' '" (pointer_expression "*pcVar2" * identifier) = (char_literal "' '" ' character ')) ;) }) (else_clause "else {\n        __overflow(p_Var1,0x20);\n      }" else (compound_statement "{\n        __overflow(p_Var1,0x20);\n      }" { (expression_statement "__overflow(p_Var1,0x20);" (call_expression "__overflow(p_Var1,0x20)" identifier (argument_list "(p_Var1,0x20)" ( identifier , number_literal ))) ;) }))) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar4 != -1)" ( (binary_expression "iVar4 != -1" identifier != number_literal) )) ;) }))) (expression_statement "DAT_0003e1ec = param_3 + 1 + DAT_0003e1ec;" (assignment_expression "DAT_0003e1ec = param_3 + 1 + DAT_0003e1ec" identifier = (binary_expression "param_3 + 1 + DAT_0003e1ec" (binary_expression "param_3 + 1" identifier + number_literal) + identifier)) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 format_user_or_group(char *name,ulong id,int width)\n\n{\n  _IO_FILE *p_Var1;\n  char *pcVar2;\n  undefined *puVar3;\n  int iVar4;\n  size_t sVar5;\n  \n  if (name == (char *)0x0) {\n    __printf_chk(1,"%*lu ",width,id);\n  }\n  else {\n    iVar4 = gnu_mbswidth(name,0);\n    puVar3 = PTR_stdout_0003cfcc;\n    iVar4 = width - iVar4;\n    if (iVar4 < 0) {\n      iVar4 = 0;\n    }\n    fputs_unlocked(name,*(FILE **)PTR_stdout_0003cfcc);\n    sVar5 = strlen(name);\n    width = iVar4 + sVar5;\n    do {\n      p_Var1 = *(_IO_FILE **)puVar3;\n      pcVar2 = p_Var1->_IO_write_ptr;\n      if (pcVar2 < p_Var1->_IO_write_end) {\n        p_Var1->_IO_write_ptr = pcVar2 + 1;\n        *pcVar2 = ' ';\n      }\n      else {\n        __overflow(p_Var1,0x20);\n      }\n      iVar4 = iVar4 + -1;\n    } while (iVar4 != -1);\n  }\n  dired_pos = width + 1 + dired_pos;\n  return;\n}\n\n" comment (function_definition "void __regparm3 format_user_or_group(char *name,ulong id,int width)\n\n{\n  _IO_FILE *p_Var1;\n  char *pcVar2;\n  undefined *puVar3;\n  int iVar4;\n  size_t sVar5;\n  \n  if (name == (char *)0x0) {\n    __printf_chk(1,"%*lu ",width,id);\n  }\n  else {\n    iVar4 = gnu_mbswidth(name,0);\n    puVar3 = PTR_stdout_0003cfcc;\n    iVar4 = width - iVar4;\n    if (iVar4 < 0) {\n      iVar4 = 0;\n    }\n    fputs_unlocked(name,*(FILE **)PTR_stdout_0003cfcc);\n    sVar5 = strlen(name);\n    width = iVar4 + sVar5;\n    do {\n      p_Var1 = *(_IO_FILE **)puVar3;\n      pcVar2 = p_Var1->_IO_write_ptr;\n      if (pcVar2 < p_Var1->_IO_write_end) {\n        p_Var1->_IO_write_ptr = pcVar2 + 1;\n        *pcVar2 = ' ';\n      }\n      else {\n        __overflow(p_Var1,0x20);\n      }\n      iVar4 = iVar4 + -1;\n    } while (iVar4 != -1);\n  }\n  dired_pos = width + 1 + dired_pos;\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "format_user_or_group(char *name,ulong id,int width)" identifier (parameter_list "(char *name,ulong id,int width)" ( (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) , (parameter_declaration "ulong id" type_identifier identifier) , (parameter_declaration "int width" primitive_type identifier) ))) (compound_statement "{\n  _IO_FILE *p_Var1;\n  char *pcVar2;\n  undefined *puVar3;\n  int iVar4;\n  size_t sVar5;\n  \n  if (name == (char *)0x0) {\n    __printf_chk(1,"%*lu ",width,id);\n  }\n  else {\n    iVar4 = gnu_mbswidth(name,0);\n    puVar3 = PTR_stdout_0003cfcc;\n    iVar4 = width - iVar4;\n    if (iVar4 < 0) {\n      iVar4 = 0;\n    }\n    fputs_unlocked(name,*(FILE **)PTR_stdout_0003cfcc);\n    sVar5 = strlen(name);\n    width = iVar4 + sVar5;\n    do {\n      p_Var1 = *(_IO_FILE **)puVar3;\n      pcVar2 = p_Var1->_IO_write_ptr;\n      if (pcVar2 < p_Var1->_IO_write_end) {\n        p_Var1->_IO_write_ptr = pcVar2 + 1;\n        *pcVar2 = ' ';\n      }\n      else {\n        __overflow(p_Var1,0x20);\n      }\n      iVar4 = iVar4 + -1;\n    } while (iVar4 != -1);\n  }\n  dired_pos = width + 1 + dired_pos;\n  return;\n}" { (declaration "_IO_FILE *p_Var1;" type_identifier (pointer_declarator "*p_Var1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "size_t sVar5;" primitive_type identifier ;) (if_statement "if (name == (char *)0x0) {\n    __printf_chk(1,"%*lu ",width,id);\n  }\n  else {\n    iVar4 = gnu_mbswidth(name,0);\n    puVar3 = PTR_stdout_0003cfcc;\n    iVar4 = width - iVar4;\n    if (iVar4 < 0) {\n      iVar4 = 0;\n    }\n    fputs_unlocked(name,*(FILE **)PTR_stdout_0003cfcc);\n    sVar5 = strlen(name);\n    width = iVar4 + sVar5;\n    do {\n      p_Var1 = *(_IO_FILE **)puVar3;\n      pcVar2 = p_Var1->_IO_write_ptr;\n      if (pcVar2 < p_Var1->_IO_write_end) {\n        p_Var1->_IO_write_ptr = pcVar2 + 1;\n        *pcVar2 = ' ';\n      }\n      else {\n        __overflow(p_Var1,0x20);\n      }\n      iVar4 = iVar4 + -1;\n    } while (iVar4 != -1);\n  }" if (parenthesized_expression "(name == (char *)0x0)" ( (binary_expression "name == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    __printf_chk(1,"%*lu ",width,id);\n  }" { (expression_statement "__printf_chk(1,"%*lu ",width,id);" (call_expression "__printf_chk(1,"%*lu ",width,id)" identifier (argument_list "(1,"%*lu ",width,id)" ( number_literal , (string_literal ""%*lu "" " string_content ") , identifier , identifier ))) ;) }) (else_clause "else {\n    iVar4 = gnu_mbswidth(name,0);\n    puVar3 = PTR_stdout_0003cfcc;\n    iVar4 = width - iVar4;\n    if (iVar4 < 0) {\n      iVar4 = 0;\n    }\n    fputs_unlocked(name,*(FILE **)PTR_stdout_0003cfcc);\n    sVar5 = strlen(name);\n    width = iVar4 + sVar5;\n    do {\n      p_Var1 = *(_IO_FILE **)puVar3;\n      pcVar2 = p_Var1->_IO_write_ptr;\n      if (pcVar2 < p_Var1->_IO_write_end) {\n        p_Var1->_IO_write_ptr = pcVar2 + 1;\n        *pcVar2 = ' ';\n      }\n      else {\n        __overflow(p_Var1,0x20);\n      }\n      iVar4 = iVar4 + -1;\n    } while (iVar4 != -1);\n  }" else (compound_statement "{\n    iVar4 = gnu_mbswidth(name,0);\n    puVar3 = PTR_stdout_0003cfcc;\n    iVar4 = width - iVar4;\n    if (iVar4 < 0) {\n      iVar4 = 0;\n    }\n    fputs_unlocked(name,*(FILE **)PTR_stdout_0003cfcc);\n    sVar5 = strlen(name);\n    width = iVar4 + sVar5;\n    do {\n      p_Var1 = *(_IO_FILE **)puVar3;\n      pcVar2 = p_Var1->_IO_write_ptr;\n      if (pcVar2 < p_Var1->_IO_write_end) {\n        p_Var1->_IO_write_ptr = pcVar2 + 1;\n        *pcVar2 = ' ';\n      }\n      else {\n        __overflow(p_Var1,0x20);\n      }\n      iVar4 = iVar4 + -1;\n    } while (iVar4 != -1);\n  }" { (expression_statement "iVar4 = gnu_mbswidth(name,0);" (assignment_expression "iVar4 = gnu_mbswidth(name,0)" identifier = (call_expression "gnu_mbswidth(name,0)" identifier (argument_list "(name,0)" ( identifier , number_literal )))) ;) (expression_statement "puVar3 = PTR_stdout_0003cfcc;" (assignment_expression "puVar3 = PTR_stdout_0003cfcc" identifier = identifier) ;) (expression_statement "iVar4 = width - iVar4;" (assignment_expression "iVar4 = width - iVar4" identifier = (binary_expression "width - iVar4" identifier - identifier)) ;) (if_statement "if (iVar4 < 0) {\n      iVar4 = 0;\n    }" if (parenthesized_expression "(iVar4 < 0)" ( (binary_expression "iVar4 < 0" identifier < number_literal) )) (compound_statement "{\n      iVar4 = 0;\n    }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) })) (expression_statement "fputs_unlocked(name,*(FILE **)PTR_stdout_0003cfcc);" (call_expression "fputs_unlocked(name,*(FILE **)PTR_stdout_0003cfcc)" identifier (argument_list "(name,*(FILE **)PTR_stdout_0003cfcc)" ( identifier , (pointer_expression "*(FILE **)PTR_stdout_0003cfcc" * (cast_expression "(FILE **)PTR_stdout_0003cfcc" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (expression_statement "sVar5 = strlen(name);" (assignment_expression "sVar5 = strlen(name)" identifier = (call_expression "strlen(name)" identifier (argument_list "(name)" ( identifier )))) ;) (expression_statement "width = iVar4 + sVar5;" (assignment_expression "width = iVar4 + sVar5" identifier = (binary_expression "iVar4 + sVar5" identifier + identifier)) ;) (do_statement "do {\n      p_Var1 = *(_IO_FILE **)puVar3;\n      pcVar2 = p_Var1->_IO_write_ptr;\n      if (pcVar2 < p_Var1->_IO_write_end) {\n        p_Var1->_IO_write_ptr = pcVar2 + 1;\n        *pcVar2 = ' ';\n      }\n      else {\n        __overflow(p_Var1,0x20);\n      }\n      iVar4 = iVar4 + -1;\n    } while (iVar4 != -1);" do (compound_statement "{\n      p_Var1 = *(_IO_FILE **)puVar3;\n      pcVar2 = p_Var1->_IO_write_ptr;\n      if (pcVar2 < p_Var1->_IO_write_end) {\n        p_Var1->_IO_write_ptr = pcVar2 + 1;\n        *pcVar2 = ' ';\n      }\n      else {\n        __overflow(p_Var1,0x20);\n      }\n      iVar4 = iVar4 + -1;\n    }" { (expression_statement "p_Var1 = *(_IO_FILE **)puVar3;" (assignment_expression "p_Var1 = *(_IO_FILE **)puVar3" identifier = (pointer_expression "*(_IO_FILE **)puVar3" * (cast_expression "(_IO_FILE **)puVar3" ( (type_descriptor "_IO_FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "pcVar2 = p_Var1->_IO_write_ptr;" (assignment_expression "pcVar2 = p_Var1->_IO_write_ptr" identifier = (field_expression "p_Var1->_IO_write_ptr" identifier -> field_identifier)) ;) (if_statement "if (pcVar2 < p_Var1->_IO_write_end) {\n        p_Var1->_IO_write_ptr = pcVar2 + 1;\n        *pcVar2 = ' ';\n      }\n      else {\n        __overflow(p_Var1,0x20);\n      }" if (parenthesized_expression "(pcVar2 < p_Var1->_IO_write_end)" ( (binary_expression "pcVar2 < p_Var1->_IO_write_end" identifier < (field_expression "p_Var1->_IO_write_end" identifier -> field_identifier)) )) (compound_statement "{\n        p_Var1->_IO_write_ptr = pcVar2 + 1;\n        *pcVar2 = ' ';\n      }" { (expression_statement "p_Var1->_IO_write_ptr = pcVar2 + 1;" (assignment_expression "p_Var1->_IO_write_ptr = pcVar2 + 1" (field_expression "p_Var1->_IO_write_ptr" identifier -> field_identifier) = (binary_expression "pcVar2 + 1" identifier + number_literal)) ;) (expression_statement "*pcVar2 = ' ';" (assignment_expression "*pcVar2 = ' '" (pointer_expression "*pcVar2" * identifier) = (char_literal "' '" ' character ')) ;) }) (else_clause "else {\n        __overflow(p_Var1,0x20);\n      }" else (compound_statement "{\n        __overflow(p_Var1,0x20);\n      }" { (expression_statement "__overflow(p_Var1,0x20);" (call_expression "__overflow(p_Var1,0x20)" identifier (argument_list "(p_Var1,0x20)" ( identifier , number_literal ))) ;) }))) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar4 != -1)" ( (binary_expression "iVar4 != -1" identifier != number_literal) )) ;) }))) (expression_statement "dired_pos = width + 1 + dired_pos;" (assignment_expression "dired_pos = width + 1 + dired_pos" identifier = (binary_expression "width + 1 + dired_pos" (binary_expression "width + 1" identifier + number_literal) + identifier)) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_00014fc0(char *param_1,undefined4 param_2,int param_3)\n\n{\n  _IO_FILE *p_Var1;\n  char *pcVar2;\n  undefined *puVar3;\n  int iVar4;\n  size_t sVar5;\n  \n  if (param_1 == (char *)0x0) {\n    __printf_chk(1,"%*lu ",param_3,param_2);\n  }\n  else {\n    iVar4 = FUN_000217d0(param_1,0);\n    puVar3 = PTR_stdout_0003cfcc;\n    iVar4 = param_3 - iVar4;\n    if (iVar4 < 0) {\n      iVar4 = 0;\n    }\n    fputs_unlocked(param_1,*(FILE **)PTR_stdout_0003cfcc);\n    sVar5 = strlen(param_1);\n    param_3 = iVar4 + sVar5;\n    do {\n      p_Var1 = *(_IO_FILE **)puVar3;\n      pcVar2 = p_Var1->_IO_write_ptr;\n      if (pcVar2 < p_Var1->_IO_write_end) {\n        p_Var1->_IO_write_ptr = pcVar2 + 1;\n        *pcVar2 = ' ';\n      }\n      else {\n        __overflow(p_Var1,0x20);\n      }\n      iVar4 = iVar4 + -1;\n    } while (iVar4 != -1);\n  }\n  DAT_0003e1ec = param_3 + 1 + DAT_0003e1ec;\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00014fc0(char *param_1,undefined4 param_2,int param_3)\n\n{\n  _IO_FILE *p_Var1;\n  char *pcVar2;\n  undefined *puVar3;\n  int iVar4;\n  size_t sVar5;\n  \n  if (param_1 == (char *)0x0) {\n    __printf_chk(1,"%*lu ",param_3,param_2);\n  }\n  else {\n    iVar4 = FUN_000217d0(param_1,0);\n    puVar3 = PTR_stdout_0003cfcc;\n    iVar4 = param_3 - iVar4;\n    if (iVar4 < 0) {\n      iVar4 = 0;\n    }\n    fputs_unlocked(param_1,*(FILE **)PTR_stdout_0003cfcc);\n    sVar5 = strlen(param_1);\n    param_3 = iVar4 + sVar5;\n    do {\n      p_Var1 = *(_IO_FILE **)puVar3;\n      pcVar2 = p_Var1->_IO_write_ptr;\n      if (pcVar2 < p_Var1->_IO_write_end) {\n        p_Var1->_IO_write_ptr = pcVar2 + 1;\n        *pcVar2 = ' ';\n      }\n      else {\n        __overflow(p_Var1,0x20);\n      }\n      iVar4 = iVar4 + -1;\n    } while (iVar4 != -1);\n  }\n  DAT_0003e1ec = param_3 + 1 + DAT_0003e1ec;\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00014fc0(char *param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(char *param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  _IO_FILE *p_Var1;\n  char *pcVar2;\n  undefined *puVar3;\n  int iVar4;\n  size_t sVar5;\n  \n  if (param_1 == (char *)0x0) {\n    __printf_chk(1,"%*lu ",param_3,param_2);\n  }\n  else {\n    iVar4 = FUN_000217d0(param_1,0);\n    puVar3 = PTR_stdout_0003cfcc;\n    iVar4 = param_3 - iVar4;\n    if (iVar4 < 0) {\n      iVar4 = 0;\n    }\n    fputs_unlocked(param_1,*(FILE **)PTR_stdout_0003cfcc);\n    sVar5 = strlen(param_1);\n    param_3 = iVar4 + sVar5;\n    do {\n      p_Var1 = *(_IO_FILE **)puVar3;\n      pcVar2 = p_Var1->_IO_write_ptr;\n      if (pcVar2 < p_Var1->_IO_write_end) {\n        p_Var1->_IO_write_ptr = pcVar2 + 1;\n        *pcVar2 = ' ';\n      }\n      else {\n        __overflow(p_Var1,0x20);\n      }\n      iVar4 = iVar4 + -1;\n    } while (iVar4 != -1);\n  }\n  DAT_0003e1ec = param_3 + 1 + DAT_0003e1ec;\n  return;\n}" { (declaration "_IO_FILE *p_Var1;" type_identifier (pointer_declarator "*p_Var1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "size_t sVar5;" primitive_type identifier ;) (if_statement "if (param_1 == (char *)0x0) {\n    __printf_chk(1,"%*lu ",param_3,param_2);\n  }\n  else {\n    iVar4 = FUN_000217d0(param_1,0);\n    puVar3 = PTR_stdout_0003cfcc;\n    iVar4 = param_3 - iVar4;\n    if (iVar4 < 0) {\n      iVar4 = 0;\n    }\n    fputs_unlocked(param_1,*(FILE **)PTR_stdout_0003cfcc);\n    sVar5 = strlen(param_1);\n    param_3 = iVar4 + sVar5;\n    do {\n      p_Var1 = *(_IO_FILE **)puVar3;\n      pcVar2 = p_Var1->_IO_write_ptr;\n      if (pcVar2 < p_Var1->_IO_write_end) {\n        p_Var1->_IO_write_ptr = pcVar2 + 1;\n        *pcVar2 = ' ';\n      }\n      else {\n        __overflow(p_Var1,0x20);\n      }\n      iVar4 = iVar4 + -1;\n    } while (iVar4 != -1);\n  }" if (parenthesized_expression "(param_1 == (char *)0x0)" ( (binary_expression "param_1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    __printf_chk(1,"%*lu ",param_3,param_2);\n  }" { (expression_statement "__printf_chk(1,"%*lu ",param_3,param_2);" (call_expression "__printf_chk(1,"%*lu ",param_3,param_2)" identifier (argument_list "(1,"%*lu ",param_3,param_2)" ( number_literal , (string_literal ""%*lu "" " string_content ") , identifier , identifier ))) ;) }) (else_clause "else {\n    iVar4 = FUN_000217d0(param_1,0);\n    puVar3 = PTR_stdout_0003cfcc;\n    iVar4 = param_3 - iVar4;\n    if (iVar4 < 0) {\n      iVar4 = 0;\n    }\n    fputs_unlocked(param_1,*(FILE **)PTR_stdout_0003cfcc);\n    sVar5 = strlen(param_1);\n    param_3 = iVar4 + sVar5;\n    do {\n      p_Var1 = *(_IO_FILE **)puVar3;\n      pcVar2 = p_Var1->_IO_write_ptr;\n      if (pcVar2 < p_Var1->_IO_write_end) {\n        p_Var1->_IO_write_ptr = pcVar2 + 1;\n        *pcVar2 = ' ';\n      }\n      else {\n        __overflow(p_Var1,0x20);\n      }\n      iVar4 = iVar4 + -1;\n    } while (iVar4 != -1);\n  }" else (compound_statement "{\n    iVar4 = FUN_000217d0(param_1,0);\n    puVar3 = PTR_stdout_0003cfcc;\n    iVar4 = param_3 - iVar4;\n    if (iVar4 < 0) {\n      iVar4 = 0;\n    }\n    fputs_unlocked(param_1,*(FILE **)PTR_stdout_0003cfcc);\n    sVar5 = strlen(param_1);\n    param_3 = iVar4 + sVar5;\n    do {\n      p_Var1 = *(_IO_FILE **)puVar3;\n      pcVar2 = p_Var1->_IO_write_ptr;\n      if (pcVar2 < p_Var1->_IO_write_end) {\n        p_Var1->_IO_write_ptr = pcVar2 + 1;\n        *pcVar2 = ' ';\n      }\n      else {\n        __overflow(p_Var1,0x20);\n      }\n      iVar4 = iVar4 + -1;\n    } while (iVar4 != -1);\n  }" { (expression_statement "iVar4 = FUN_000217d0(param_1,0);" (assignment_expression "iVar4 = FUN_000217d0(param_1,0)" identifier = (call_expression "FUN_000217d0(param_1,0)" identifier (argument_list "(param_1,0)" ( identifier , number_literal )))) ;) (expression_statement "puVar3 = PTR_stdout_0003cfcc;" (assignment_expression "puVar3 = PTR_stdout_0003cfcc" identifier = identifier) ;) (expression_statement "iVar4 = param_3 - iVar4;" (assignment_expression "iVar4 = param_3 - iVar4" identifier = (binary_expression "param_3 - iVar4" identifier - identifier)) ;) (if_statement "if (iVar4 < 0) {\n      iVar4 = 0;\n    }" if (parenthesized_expression "(iVar4 < 0)" ( (binary_expression "iVar4 < 0" identifier < number_literal) )) (compound_statement "{\n      iVar4 = 0;\n    }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) })) (expression_statement "fputs_unlocked(param_1,*(FILE **)PTR_stdout_0003cfcc);" (call_expression "fputs_unlocked(param_1,*(FILE **)PTR_stdout_0003cfcc)" identifier (argument_list "(param_1,*(FILE **)PTR_stdout_0003cfcc)" ( identifier , (pointer_expression "*(FILE **)PTR_stdout_0003cfcc" * (cast_expression "(FILE **)PTR_stdout_0003cfcc" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (expression_statement "sVar5 = strlen(param_1);" (assignment_expression "sVar5 = strlen(param_1)" identifier = (call_expression "strlen(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "param_3 = iVar4 + sVar5;" (assignment_expression "param_3 = iVar4 + sVar5" identifier = (binary_expression "iVar4 + sVar5" identifier + identifier)) ;) (do_statement "do {\n      p_Var1 = *(_IO_FILE **)puVar3;\n      pcVar2 = p_Var1->_IO_write_ptr;\n      if (pcVar2 < p_Var1->_IO_write_end) {\n        p_Var1->_IO_write_ptr = pcVar2 + 1;\n        *pcVar2 = ' ';\n      }\n      else {\n        __overflow(p_Var1,0x20);\n      }\n      iVar4 = iVar4 + -1;\n    } while (iVar4 != -1);" do (compound_statement "{\n      p_Var1 = *(_IO_FILE **)puVar3;\n      pcVar2 = p_Var1->_IO_write_ptr;\n      if (pcVar2 < p_Var1->_IO_write_end) {\n        p_Var1->_IO_write_ptr = pcVar2 + 1;\n        *pcVar2 = ' ';\n      }\n      else {\n        __overflow(p_Var1,0x20);\n      }\n      iVar4 = iVar4 + -1;\n    }" { (expression_statement "p_Var1 = *(_IO_FILE **)puVar3;" (assignment_expression "p_Var1 = *(_IO_FILE **)puVar3" identifier = (pointer_expression "*(_IO_FILE **)puVar3" * (cast_expression "(_IO_FILE **)puVar3" ( (type_descriptor "_IO_FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "pcVar2 = p_Var1->_IO_write_ptr;" (assignment_expression "pcVar2 = p_Var1->_IO_write_ptr" identifier = (field_expression "p_Var1->_IO_write_ptr" identifier -> field_identifier)) ;) (if_statement "if (pcVar2 < p_Var1->_IO_write_end) {\n        p_Var1->_IO_write_ptr = pcVar2 + 1;\n        *pcVar2 = ' ';\n      }\n      else {\n        __overflow(p_Var1,0x20);\n      }" if (parenthesized_expression "(pcVar2 < p_Var1->_IO_write_end)" ( (binary_expression "pcVar2 < p_Var1->_IO_write_end" identifier < (field_expression "p_Var1->_IO_write_end" identifier -> field_identifier)) )) (compound_statement "{\n        p_Var1->_IO_write_ptr = pcVar2 + 1;\n        *pcVar2 = ' ';\n      }" { (expression_statement "p_Var1->_IO_write_ptr = pcVar2 + 1;" (assignment_expression "p_Var1->_IO_write_ptr = pcVar2 + 1" (field_expression "p_Var1->_IO_write_ptr" identifier -> field_identifier) = (binary_expression "pcVar2 + 1" identifier + number_literal)) ;) (expression_statement "*pcVar2 = ' ';" (assignment_expression "*pcVar2 = ' '" (pointer_expression "*pcVar2" * identifier) = (char_literal "' '" ' character ')) ;) }) (else_clause "else {\n        __overflow(p_Var1,0x20);\n      }" else (compound_statement "{\n        __overflow(p_Var1,0x20);\n      }" { (expression_statement "__overflow(p_Var1,0x20);" (call_expression "__overflow(p_Var1,0x20)" identifier (argument_list "(p_Var1,0x20)" ( identifier , number_literal ))) ;) }))) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar4 != -1)" ( (binary_expression "iVar4 != -1" identifier != number_literal) )) ;) }))) (expression_statement "DAT_0003e1ec = param_3 + 1 + DAT_0003e1ec;" (assignment_expression "DAT_0003e1ec = param_3 + 1 + DAT_0003e1ec" identifier = (binary_expression "param_3 + 1 + DAT_0003e1ec" (binary_expression "param_3 + 1" identifier + number_literal) + 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 IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , IDENT , IDENT ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_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 = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + LIT) + IDENT)) ;) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_00014fc0(char *param_1,undefined4 param_2,int param_3)\n\n{\n  _IO_FILE *p_Var1;\n  char *pcVar2;\n  undefined *puVar3;\n  int iVar4;\n  size_t sVar5;\n  \n  if (param_1 == (char *)0x0) {\n    __printf_chk(1,"%*lu ",param_3,param_2);\n  }\n  else {\n    iVar4 = FUN_000217d0(param_1,0);\n    puVar3 = PTR_stdout_0003cfcc;\n    iVar4 = param_3 - iVar4;\n    if (iVar4 < 0) {\n      iVar4 = 0;\n    }\n    fputs_unlocked(param_1,*(FILE **)PTR_stdout_0003cfcc);\n    sVar5 = strlen(param_1);\n    param_3 = iVar4 + sVar5;\n    do {\n      p_Var1 = *(_IO_FILE **)puVar3;\n      pcVar2 = p_Var1->_IO_write_ptr;\n      if (pcVar2 < p_Var1->_IO_write_end) {\n        p_Var1->_IO_write_ptr = pcVar2 + 1;\n        *pcVar2 = ' ';\n      }\n      else {\n        __overflow(p_Var1,0x20);\n      }\n      iVar4 = iVar4 + -1;\n    } while (iVar4 != -1);\n  }\n  DAT_0003e1ec = param_3 + 1 + DAT_0003e1ec;\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00014fc0(char *param_1,undefined4 param_2,int param_3)" (identifier "FUN_00014fc0") (parameter_list "(char *param_1,undefined4 param_2,int param_3)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  _IO_FILE *p_Var1;\n  char *pcVar2;\n  undefined *puVar3;\n  int iVar4;\n  size_t sVar5;\n  \n  if (param_1 == (char *)0x0) {\n    __printf_chk(1,"%*lu ",param_3,param_2);\n  }\n  else {\n    iVar4 = FUN_000217d0(param_1,0);\n    puVar3 = PTR_stdout_0003cfcc;\n    iVar4 = param_3 - iVar4;\n    if (iVar4 < 0) {\n      iVar4 = 0;\n    }\n    fputs_unlocked(param_1,*(FILE **)PTR_stdout_0003cfcc);\n    sVar5 = strlen(param_1);\n    param_3 = iVar4 + sVar5;\n    do {\n      p_Var1 = *(_IO_FILE **)puVar3;\n      pcVar2 = p_Var1->_IO_write_ptr;\n      if (pcVar2 < p_Var1->_IO_write_end) {\n        p_Var1->_IO_write_ptr = pcVar2 + 1;\n        *pcVar2 = ' ';\n      }\n      else {\n        __overflow(p_Var1,0x20);\n      }\n      iVar4 = iVar4 + -1;\n    } while (iVar4 != -1);\n  }\n  DAT_0003e1ec = param_3 + 1 + DAT_0003e1ec;\n  return;\n}" ({ "{") (declaration "_IO_FILE *p_Var1;" (type_identifier "_IO_FILE") (pointer_declarator "*p_Var1" (* "*") (identifier "p_Var1")) (; ";")) (declaration "char *pcVar2;" (primitive_type "char") (pointer_declarator "*pcVar2" (* "*") (identifier "pcVar2")) (; ";")) (declaration "undefined *puVar3;" (type_identifier "undefined") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "size_t sVar5;" (primitive_type "size_t") (identifier "sVar5") (; ";")) (if_statement "if (param_1 == (char *)0x0) {\n    __printf_chk(1,"%*lu ",param_3,param_2);\n  }\n  else {\n    iVar4 = FUN_000217d0(param_1,0);\n    puVar3 = PTR_stdout_0003cfcc;\n    iVar4 = param_3 - iVar4;\n    if (iVar4 < 0) {\n      iVar4 = 0;\n    }\n    fputs_unlocked(param_1,*(FILE **)PTR_stdout_0003cfcc);\n    sVar5 = strlen(param_1);\n    param_3 = iVar4 + sVar5;\n    do {\n      p_Var1 = *(_IO_FILE **)puVar3;\n      pcVar2 = p_Var1->_IO_write_ptr;\n      if (pcVar2 < p_Var1->_IO_write_end) {\n        p_Var1->_IO_write_ptr = pcVar2 + 1;\n        *pcVar2 = ' ';\n      }\n      else {\n        __overflow(p_Var1,0x20);\n      }\n      iVar4 = iVar4 + -1;\n    } while (iVar4 != -1);\n  }" (if "if") (parenthesized_expression "(param_1 == (char *)0x0)" (( "(") (binary_expression "param_1 == (char *)0x0" (identifier "param_1") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    __printf_chk(1,"%*lu ",param_3,param_2);\n  }" ({ "{") (expression_statement "__printf_chk(1,"%*lu ",param_3,param_2);" (call_expression "__printf_chk(1,"%*lu ",param_3,param_2)" (identifier "__printf_chk") (argument_list "(1,"%*lu ",param_3,param_2)" (( "(") (number_literal "1") (, ",") (string_literal ""%*lu "" (" """) (string_content "%*lu ") (" """)) (, ",") (identifier "param_3") (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}")) (else_clause "else {\n    iVar4 = FUN_000217d0(param_1,0);\n    puVar3 = PTR_stdout_0003cfcc;\n    iVar4 = param_3 - iVar4;\n    if (iVar4 < 0) {\n      iVar4 = 0;\n    }\n    fputs_unlocked(param_1,*(FILE **)PTR_stdout_0003cfcc);\n    sVar5 = strlen(param_1);\n    param_3 = iVar4 + sVar5;\n    do {\n      p_Var1 = *(_IO_FILE **)puVar3;\n      pcVar2 = p_Var1->_IO_write_ptr;\n      if (pcVar2 < p_Var1->_IO_write_end) {\n        p_Var1->_IO_write_ptr = pcVar2 + 1;\n        *pcVar2 = ' ';\n      }\n      else {\n        __overflow(p_Var1,0x20);\n      }\n      iVar4 = iVar4 + -1;\n    } while (iVar4 != -1);\n  }" (else "else") (compound_statement "{\n    iVar4 = FUN_000217d0(param_1,0);\n    puVar3 = PTR_stdout_0003cfcc;\n    iVar4 = param_3 - iVar4;\n    if (iVar4 < 0) {\n      iVar4 = 0;\n    }\n    fputs_unlocked(param_1,*(FILE **)PTR_stdout_0003cfcc);\n    sVar5 = strlen(param_1);\n    param_3 = iVar4 + sVar5;\n    do {\n      p_Var1 = *(_IO_FILE **)puVar3;\n      pcVar2 = p_Var1->_IO_write_ptr;\n      if (pcVar2 < p_Var1->_IO_write_end) {\n        p_Var1->_IO_write_ptr = pcVar2 + 1;\n        *pcVar2 = ' ';\n      }\n      else {\n        __overflow(p_Var1,0x20);\n      }\n      iVar4 = iVar4 + -1;\n    } while (iVar4 != -1);\n  }" ({ "{") (expression_statement "iVar4 = FUN_000217d0(param_1,0);" (assignment_expression "iVar4 = FUN_000217d0(param_1,0)" (identifier "iVar4") (= "=") (call_expression "FUN_000217d0(param_1,0)" (identifier "FUN_000217d0") (argument_list "(param_1,0)" (( "(") (identifier "param_1") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "puVar3 = PTR_stdout_0003cfcc;" (assignment_expression "puVar3 = PTR_stdout_0003cfcc" (identifier "puVar3") (= "=") (identifier "PTR_stdout_0003cfcc")) (; ";")) (expression_statement "iVar4 = param_3 - iVar4;" (assignment_expression "iVar4 = param_3 - iVar4" (identifier "iVar4") (= "=") (binary_expression "param_3 - iVar4" (identifier "param_3") (- "-") (identifier "iVar4"))) (; ";")) (if_statement "if (iVar4 < 0) {\n      iVar4 = 0;\n    }" (if "if") (parenthesized_expression "(iVar4 < 0)" (( "(") (binary_expression "iVar4 < 0" (identifier "iVar4") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n      iVar4 = 0;\n    }" ({ "{") (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "fputs_unlocked(param_1,*(FILE **)PTR_stdout_0003cfcc);" (call_expression "fputs_unlocked(param_1,*(FILE **)PTR_stdout_0003cfcc)" (identifier "fputs_unlocked") (argument_list "(param_1,*(FILE **)PTR_stdout_0003cfcc)" (( "(") (identifier "param_1") (, ",") (pointer_expression "*(FILE **)PTR_stdout_0003cfcc" (* "*") (cast_expression "(FILE **)PTR_stdout_0003cfcc" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_stdout_0003cfcc"))) () ")"))) (; ";")) (expression_statement "sVar5 = strlen(param_1);" (assignment_expression "sVar5 = strlen(param_1)" (identifier "sVar5") (= "=") (call_expression "strlen(param_1)" (identifier "strlen") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "param_3 = iVar4 + sVar5;" (assignment_expression "param_3 = iVar4 + sVar5" (identifier "param_3") (= "=") (binary_expression "iVar4 + sVar5" (identifier "iVar4") (+ "+") (identifier "sVar5"))) (; ";")) (do_statement "do {\n      p_Var1 = *(_IO_FILE **)puVar3;\n      pcVar2 = p_Var1->_IO_write_ptr;\n      if (pcVar2 < p_Var1->_IO_write_end) {\n        p_Var1->_IO_write_ptr = pcVar2 + 1;\n        *pcVar2 = ' ';\n      }\n      else {\n        __overflow(p_Var1,0x20);\n      }\n      iVar4 = iVar4 + -1;\n    } while (iVar4 != -1);" (do "do") (compound_statement "{\n      p_Var1 = *(_IO_FILE **)puVar3;\n      pcVar2 = p_Var1->_IO_write_ptr;\n      if (pcVar2 < p_Var1->_IO_write_end) {\n        p_Var1->_IO_write_ptr = pcVar2 + 1;\n        *pcVar2 = ' ';\n      }\n      else {\n        __overflow(p_Var1,0x20);\n      }\n      iVar4 = iVar4 + -1;\n    }" ({ "{") (expression_statement "p_Var1 = *(_IO_FILE **)puVar3;" (assignment_expression "p_Var1 = *(_IO_FILE **)puVar3" (identifier "p_Var1") (= "=") (pointer_expression "*(_IO_FILE **)puVar3" (* "*") (cast_expression "(_IO_FILE **)puVar3" (( "(") (type_descriptor "_IO_FILE **" (type_identifier "_IO_FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar3")))) (; ";")) (expression_statement "pcVar2 = p_Var1->_IO_write_ptr;" (assignment_expression "pcVar2 = p_Var1->_IO_write_ptr" (identifier "pcVar2") (= "=") (field_expression "p_Var1->_IO_write_ptr" (identifier "p_Var1") (-> "->") (field_identifier "_IO_write_ptr"))) (; ";")) (if_statement "if (pcVar2 < p_Var1->_IO_write_end) {\n        p_Var1->_IO_write_ptr = pcVar2 + 1;\n        *pcVar2 = ' ';\n      }\n      else {\n        __overflow(p_Var1,0x20);\n      }" (if "if") (parenthesized_expression "(pcVar2 < p_Var1->_IO_write_end)" (( "(") (binary_expression "pcVar2 < p_Var1->_IO_write_end" (identifier "pcVar2") (< "<") (field_expression "p_Var1->_IO_write_end" (identifier "p_Var1") (-> "->") (field_identifier "_IO_write_end"))) () ")")) (compound_statement "{\n        p_Var1->_IO_write_ptr = pcVar2 + 1;\n        *pcVar2 = ' ';\n      }" ({ "{") (expression_statement "p_Var1->_IO_write_ptr = pcVar2 + 1;" (assignment_expression "p_Var1->_IO_write_ptr = pcVar2 + 1" (field_expression "p_Var1->_IO_write_ptr" (identifier "p_Var1") (-> "->") (field_identifier "_IO_write_ptr")) (= "=") (binary_expression "pcVar2 + 1" (identifier "pcVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*pcVar2 = ' ';" (assignment_expression "*pcVar2 = ' '" (pointer_expression "*pcVar2" (* "*") (identifier "pcVar2")) (= "=") (char_literal "' '" (' "'") (character " ") (' "'"))) (; ";")) (} "}")) (else_clause "else {\n        __overflow(p_Var1,0x20);\n      }" (else "else") (compound_statement "{\n        __overflow(p_Var1,0x20);\n      }" ({ "{") (expression_statement "__overflow(p_Var1,0x20);" (call_expression "__overflow(p_Var1,0x20)" (identifier "__overflow") (argument_list "(p_Var1,0x20)" (( "(") (identifier "p_Var1") (, ",") (number_literal "0x20") () ")"))) (; ";")) (} "}")))) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + -1" (identifier "iVar4") (+ "+") (number_literal "-1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar4 != -1)" (( "(") (binary_expression "iVar4 != -1" (identifier "iVar4") (!= "!=") (number_literal "-1")) () ")")) (; ";")) (} "}")))) (expression_statement "DAT_0003e1ec = param_3 + 1 + DAT_0003e1ec;" (assignment_expression "DAT_0003e1ec = param_3 + 1 + DAT_0003e1ec" (identifier "DAT_0003e1ec") (= "=") (binary_expression "param_3 + 1 + DAT_0003e1ec" (binary_expression "param_3 + 1" (identifier "param_3") (+ "+") (number_literal "1")) (+ "+") (identifier "DAT_0003e1ec"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void __regparm3 function_1(char *var_1,type_1 id,int var_4)

{
  type_2 *p_Var1;
  char *var_9;
  type_3 *puVar3;
  int var_5;
  size_t var_8;
  
  if (var_1 == (char *)0x0) {
    var_2(1,"%*lu ",var_4,id);
  }
  else {
    var_5 = var_3(var_1,0);
    puVar3 = PTR_stdout_0003cfcc;
    var_5 = var_4 - var_5;
    if (var_5 < 0) {
      var_5 = 0;
    }
    var_6(var_1,*(type_4 **)PTR_stdout_0003cfcc);
    var_8 = var_7(var_1);
    var_4 = var_5 + var_8;
    do {
      p_Var1 = *(type_2 **)puVar3;
      var_9 = p_Var1->_IO_write_ptr;
      if (var_9 < p_Var1->_IO_write_end) {
        p_Var1->_IO_write_ptr = var_9 + 1;
        *var_9 = ' ';
      }
      else {
        var_10(p_Var1,0x20);
      }
      var_5 = var_5 + -1;
    } while (var_5 != -1);
  }
  var_11 = var_4 + 1 + var_11;
  return;
}


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

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

void __regparm3 MASKED(char *param_1,undefined4 param_2,int param_3)

{
  _IO_FILE *p_Var1;
  char *pcVar2;
  undefined *puVar3;
  int iVar4;
  size_t sVar5;
  
  if (param_1 == (char *)0x0) {
    __printf_chk(1,"%*lu ",param_3,param_2);
  }
  else {
    iVar4 = FUN_000217d0(param_1,0);
    puVar3 = PTR_stdout_0003cfcc;
    iVar4 = param_3 - iVar4;
    if (iVar4 < 0) {
      iVar4 = 0;
    }
    fputs_unlocked(param_1,*(FILE **)PTR_stdout_0003cfcc);
    sVar5 = strlen(param_1);
    param_3 = iVar4 + sVar5;
    do {
      p_Var1 = *(_IO_FILE **)puVar3;
      pcVar2 = p_Var1->_IO_write_ptr;
      if (pcVar2 < p_Var1->_IO_write_end) {
        p_Var1->_IO_write_ptr = pcVar2 + 1;
        *pcVar2 = ' ';
      }
      else {
        __overflow(p_Var1,0x20);
      }
      iVar4 = iVar4 + -1;
    } while (iVar4 != -1);
  }
  DAT_0003e1ec = param_3 + 1 + DAT_0003e1ec;
  return;
}

