
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

void rprint_number(int width,bfd_size_type num)

{
  char *__format;
  char buffer [40];
  
  __format = "%lu";
  if ((radix != decimal) && (__format = "0x%lx", radix == _sch_isblank)) {
    __format = "0%lo";
  }
  sprintf(buffer,__format,num);
  printf("%*s",width,buffer);
  return;
}



void FUN_00102b10(uint param_1,undefined8 param_2)

{
  char *__format;
  char acStack_48 [56];
  
  __format = "%lu";
  if ((DAT_00109890 != 0) && (__format = "0x%lx", DAT_00109890 == 1)) {
    __format = "0%lo";
  }
  sprintf(acStack_48,__format,param_2);
  printf("%*s",(ulong)param_1,acStack_48);
  return;
}


PUSH RBP
MOV RDX,RSI
MOV EBP,EDI
LEA RSI,[0x1063bd]
PUSH RBX
SUB RSP,0x38
MOV EAX,dword ptr [0x00109890]
TEST EAX,EAX
JZ 0x00102b41
CMP EAX,0x1
LEA RSI,[0x106847]
LEA RAX,[0x1063c1]
CMOVZ RSI,RAX
MOV RBX,RSP
XOR EAX,EAX
MOV RDI,RBX
CALL 0x00102420
MOV RDX,RBX
MOV ESI,EBP
XOR EAX,EAX
LEA RDI,[0x106801]
CALL 0x001021a0
ADD RSP,0x38
POP RBX
POP RBP
RET
(translation_unit "void FUN_00102b10(uint param_1,undefined8 param_2)\n\n{\n  char *__format;\n  char acStack_48 [56];\n  \n  __format = "%lu";\n  if ((DAT_00109890 != 0) && (__format = "0x%lx", DAT_00109890 == 1)) {\n    __format = "0%lo";\n  }\n  sprintf(acStack_48,__format,param_2);\n  printf("%*s",(ulong)param_1,acStack_48);\n  return;\n}\n\n" (function_definition "void FUN_00102b10(uint param_1,undefined8 param_2)\n\n{\n  char *__format;\n  char acStack_48 [56];\n  \n  __format = "%lu";\n  if ((DAT_00109890 != 0) && (__format = "0x%lx", DAT_00109890 == 1)) {\n    __format = "0%lo";\n  }\n  sprintf(acStack_48,__format,param_2);\n  printf("%*s",(ulong)param_1,acStack_48);\n  return;\n}" primitive_type (function_declarator "FUN_00102b10(uint param_1,undefined8 param_2)" identifier (parameter_list "(uint param_1,undefined8 param_2)" ( (parameter_declaration "uint param_1" type_identifier identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) ))) (compound_statement "{\n  char *__format;\n  char acStack_48 [56];\n  \n  __format = "%lu";\n  if ((DAT_00109890 != 0) && (__format = "0x%lx", DAT_00109890 == 1)) {\n    __format = "0%lo";\n  }\n  sprintf(acStack_48,__format,param_2);\n  printf("%*s",(ulong)param_1,acStack_48);\n  return;\n}" { (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (declaration "char acStack_48 [56];" primitive_type (array_declarator "acStack_48 [56]" identifier [ number_literal ]) ;) (expression_statement "__format = "%lu";" (assignment_expression "__format = "%lu"" identifier = (string_literal ""%lu"" " string_content ")) ;) (if_statement "if ((DAT_00109890 != 0) && (__format = "0x%lx", DAT_00109890 == 1)) {\n    __format = "0%lo";\n  }" if (parenthesized_expression "((DAT_00109890 != 0) && (__format = "0x%lx", DAT_00109890 == 1))" ( (binary_expression "(DAT_00109890 != 0) && (__format = "0x%lx", DAT_00109890 == 1)" (parenthesized_expression "(DAT_00109890 != 0)" ( (binary_expression "DAT_00109890 != 0" identifier != number_literal) )) && (parenthesized_expression "(__format = "0x%lx", DAT_00109890 == 1)" ( (comma_expression "__format = "0x%lx", DAT_00109890 == 1" (assignment_expression "__format = "0x%lx"" identifier = (string_literal ""0x%lx"" " string_content ")) , (binary_expression "DAT_00109890 == 1" identifier == number_literal)) ))) )) (compound_statement "{\n    __format = "0%lo";\n  }" { (expression_statement "__format = "0%lo";" (assignment_expression "__format = "0%lo"" identifier = (string_literal ""0%lo"" " string_content ")) ;) })) (expression_statement "sprintf(acStack_48,__format,param_2);" (call_expression "sprintf(acStack_48,__format,param_2)" identifier (argument_list "(acStack_48,__format,param_2)" ( identifier , identifier , identifier ))) ;) (expression_statement "printf("%*s",(ulong)param_1,acStack_48);" (call_expression "printf("%*s",(ulong)param_1,acStack_48)" identifier (argument_list "("%*s",(ulong)param_1,acStack_48)" ( (string_literal ""%*s"" " string_content ") , (cast_expression "(ulong)param_1" ( (type_descriptor "ulong" type_identifier) ) identifier) , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid rprint_number(int width,bfd_size_type num)\n\n{\n  char *__format;\n  char buffer [40];\n  \n  __format = "%lu";\n  if ((radix != decimal) && (__format = "0x%lx", radix == _sch_isblank)) {\n    __format = "0%lo";\n  }\n  sprintf(buffer,__format,num);\n  printf("%*s",width,buffer);\n  return;\n}\n\n" comment (function_definition "void rprint_number(int width,bfd_size_type num)\n\n{\n  char *__format;\n  char buffer [40];\n  \n  __format = "%lu";\n  if ((radix != decimal) && (__format = "0x%lx", radix == _sch_isblank)) {\n    __format = "0%lo";\n  }\n  sprintf(buffer,__format,num);\n  printf("%*s",width,buffer);\n  return;\n}" primitive_type (function_declarator "rprint_number(int width,bfd_size_type num)" identifier (parameter_list "(int width,bfd_size_type num)" ( (parameter_declaration "int width" primitive_type identifier) , (parameter_declaration "bfd_size_type num" type_identifier identifier) ))) (compound_statement "{\n  char *__format;\n  char buffer [40];\n  \n  __format = "%lu";\n  if ((radix != decimal) && (__format = "0x%lx", radix == _sch_isblank)) {\n    __format = "0%lo";\n  }\n  sprintf(buffer,__format,num);\n  printf("%*s",width,buffer);\n  return;\n}" { (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (declaration "char buffer [40];" primitive_type (array_declarator "buffer [40]" identifier [ number_literal ]) ;) (expression_statement "__format = "%lu";" (assignment_expression "__format = "%lu"" identifier = (string_literal ""%lu"" " string_content ")) ;) (if_statement "if ((radix != decimal) && (__format = "0x%lx", radix == _sch_isblank)) {\n    __format = "0%lo";\n  }" if (parenthesized_expression "((radix != decimal) && (__format = "0x%lx", radix == _sch_isblank))" ( (binary_expression "(radix != decimal) && (__format = "0x%lx", radix == _sch_isblank)" (parenthesized_expression "(radix != decimal)" ( (binary_expression "radix != decimal" identifier != identifier) )) && (parenthesized_expression "(__format = "0x%lx", radix == _sch_isblank)" ( (comma_expression "__format = "0x%lx", radix == _sch_isblank" (assignment_expression "__format = "0x%lx"" identifier = (string_literal ""0x%lx"" " string_content ")) , (binary_expression "radix == _sch_isblank" identifier == identifier)) ))) )) (compound_statement "{\n    __format = "0%lo";\n  }" { (expression_statement "__format = "0%lo";" (assignment_expression "__format = "0%lo"" identifier = (string_literal ""0%lo"" " string_content ")) ;) })) (expression_statement "sprintf(buffer,__format,num);" (call_expression "sprintf(buffer,__format,num)" identifier (argument_list "(buffer,__format,num)" ( identifier , identifier , identifier ))) ;) (expression_statement "printf("%*s",width,buffer);" (call_expression "printf("%*s",width,buffer)" identifier (argument_list "("%*s",width,buffer)" ( (string_literal ""%*s"" " string_content ") , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00102b10(uint param_1,undefined8 param_2)\n\n{\n  char *__format;\n  char acStack_48 [56];\n  \n  __format = "%lu";\n  if ((DAT_00109890 != 0) && (__format = "0x%lx", DAT_00109890 == 1)) {\n    __format = "0%lo";\n  }\n  sprintf(acStack_48,__format,param_2);\n  printf("%*s",(ulong)param_1,acStack_48);\n  return;\n}\n\n" (function_definition "void FUN_00102b10(uint param_1,undefined8 param_2)\n\n{\n  char *__format;\n  char acStack_48 [56];\n  \n  __format = "%lu";\n  if ((DAT_00109890 != 0) && (__format = "0x%lx", DAT_00109890 == 1)) {\n    __format = "0%lo";\n  }\n  sprintf(acStack_48,__format,param_2);\n  printf("%*s",(ulong)param_1,acStack_48);\n  return;\n}" primitive_type (function_declarator "FUN_00102b10(uint param_1,undefined8 param_2)" identifier (parameter_list "(uint param_1,undefined8 param_2)" ( (parameter_declaration "uint param_1" type_identifier identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) ))) (compound_statement "{\n  char *__format;\n  char acStack_48 [56];\n  \n  __format = "%lu";\n  if ((DAT_00109890 != 0) && (__format = "0x%lx", DAT_00109890 == 1)) {\n    __format = "0%lo";\n  }\n  sprintf(acStack_48,__format,param_2);\n  printf("%*s",(ulong)param_1,acStack_48);\n  return;\n}" { (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (declaration "char acStack_48 [56];" primitive_type (array_declarator "acStack_48 [56]" identifier [ number_literal ]) ;) (expression_statement "__format = "%lu";" (assignment_expression "__format = "%lu"" identifier = (string_literal ""%lu"" " string_content ")) ;) (if_statement "if ((DAT_00109890 != 0) && (__format = "0x%lx", DAT_00109890 == 1)) {\n    __format = "0%lo";\n  }" if (parenthesized_expression "((DAT_00109890 != 0) && (__format = "0x%lx", DAT_00109890 == 1))" ( (binary_expression "(DAT_00109890 != 0) && (__format = "0x%lx", DAT_00109890 == 1)" (parenthesized_expression "(DAT_00109890 != 0)" ( (binary_expression "DAT_00109890 != 0" identifier != number_literal) )) && (parenthesized_expression "(__format = "0x%lx", DAT_00109890 == 1)" ( (comma_expression "__format = "0x%lx", DAT_00109890 == 1" (assignment_expression "__format = "0x%lx"" identifier = (string_literal ""0x%lx"" " string_content ")) , (binary_expression "DAT_00109890 == 1" identifier == number_literal)) ))) )) (compound_statement "{\n    __format = "0%lo";\n  }" { (expression_statement "__format = "0%lo";" (assignment_expression "__format = "0%lo"" identifier = (string_literal ""0%lo"" " string_content ")) ;) })) (expression_statement "sprintf(acStack_48,__format,param_2);" (call_expression "sprintf(acStack_48,__format,param_2)" identifier (argument_list "(acStack_48,__format,param_2)" ( identifier , identifier , identifier ))) ;) (expression_statement "printf("%*s",(ulong)param_1,acStack_48);" (call_expression "printf("%*s",(ulong)param_1,acStack_48)" identifier (argument_list "("%*s",(ulong)param_1,acStack_48)" ( (string_literal ""%*s"" " string_content ") , (cast_expression "(ulong)param_1" ( (type_descriptor "ulong" type_identifier) ) identifier) , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (string_literal " string_content ")) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (cast_expression ( (type_descriptor TYPE) ) IDENT) , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00102b10(uint param_1,undefined8 param_2)\n\n{\n  char *__format;\n  char acStack_48 [56];\n  \n  __format = "%lu";\n  if ((DAT_00109890 != 0) && (__format = "0x%lx", DAT_00109890 == 1)) {\n    __format = "0%lo";\n  }\n  sprintf(acStack_48,__format,param_2);\n  printf("%*s",(ulong)param_1,acStack_48);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00102b10(uint param_1,undefined8 param_2)" (identifier "FUN_00102b10") (parameter_list "(uint param_1,undefined8 param_2)" (( "(") (parameter_declaration "uint param_1" (type_identifier "uint") (identifier "param_1")) (, ",") (parameter_declaration "undefined8 param_2" (type_identifier "undefined8") (identifier "param_2")) () ")"))) (compound_statement "{\n  char *__format;\n  char acStack_48 [56];\n  \n  __format = "%lu";\n  if ((DAT_00109890 != 0) && (__format = "0x%lx", DAT_00109890 == 1)) {\n    __format = "0%lo";\n  }\n  sprintf(acStack_48,__format,param_2);\n  printf("%*s",(ulong)param_1,acStack_48);\n  return;\n}" ({ "{") (declaration "char *__format;" (primitive_type "char") (pointer_declarator "*__format" (* "*") (identifier "__format")) (; ";")) (declaration "char acStack_48 [56];" (primitive_type "char") (array_declarator "acStack_48 [56]" (identifier "acStack_48") ([ "[") (number_literal "56") (] "]")) (; ";")) (expression_statement "__format = "%lu";" (assignment_expression "__format = "%lu"" (identifier "__format") (= "=") (string_literal ""%lu"" (" """) (string_content "%lu") (" """))) (; ";")) (if_statement "if ((DAT_00109890 != 0) && (__format = "0x%lx", DAT_00109890 == 1)) {\n    __format = "0%lo";\n  }" (if "if") (parenthesized_expression "((DAT_00109890 != 0) && (__format = "0x%lx", DAT_00109890 == 1))" (( "(") (binary_expression "(DAT_00109890 != 0) && (__format = "0x%lx", DAT_00109890 == 1)" (parenthesized_expression "(DAT_00109890 != 0)" (( "(") (binary_expression "DAT_00109890 != 0" (identifier "DAT_00109890") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(__format = "0x%lx", DAT_00109890 == 1)" (( "(") (comma_expression "__format = "0x%lx", DAT_00109890 == 1" (assignment_expression "__format = "0x%lx"" (identifier "__format") (= "=") (string_literal ""0x%lx"" (" """) (string_content "0x%lx") (" """))) (, ",") (binary_expression "DAT_00109890 == 1" (identifier "DAT_00109890") (== "==") (number_literal "1"))) () ")"))) () ")")) (compound_statement "{\n    __format = "0%lo";\n  }" ({ "{") (expression_statement "__format = "0%lo";" (assignment_expression "__format = "0%lo"" (identifier "__format") (= "=") (string_literal ""0%lo"" (" """) (string_content "0%lo") (" """))) (; ";")) (} "}"))) (expression_statement "sprintf(acStack_48,__format,param_2);" (call_expression "sprintf(acStack_48,__format,param_2)" (identifier "sprintf") (argument_list "(acStack_48,__format,param_2)" (( "(") (identifier "acStack_48") (, ",") (identifier "__format") (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "printf("%*s",(ulong)param_1,acStack_48);" (call_expression "printf("%*s",(ulong)param_1,acStack_48)" (identifier "printf") (argument_list "("%*s",(ulong)param_1,acStack_48)" (( "(") (string_literal ""%*s"" (" """) (string_content "%*s") (" """)) (, ",") (cast_expression "(ulong)param_1" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "param_1")) (, ",") (identifier "acStack_48") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

void function_1(int width,type_1 num)

{
  char *__format;
  char buffer [40];
  
  __format = "%lu";
  if ((var_1 != var_2) && (__format = "0x%lx", var_1 == var_3)) {
    __format = "0%lo";
  }
  var_4(buffer,__format,num);
  var_5("%*s",width,buffer);
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (string_literal (string_content))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) (identifier)))) (return_statement))))

void MASKED(uint param_1,undefined8 param_2)

{
  char *__format;
  char acStack_48 [56];
  
  __format = "%lu";
  if ((DAT_00109890 != 0) && (__format = "0x%lx", DAT_00109890 == 1)) {
    __format = "0%lo";
  }
  sprintf(acStack_48,__format,param_2);
  printf("%*s",(ulong)param_1,acStack_48);
  return;
}

