
void print_hwaddr_dlci(format_data_t form,uchar *data)

{
  int iVar1;
  
  iVar1 = __printf_chk(1,&DAT_00112f68,(int)*(short *)data);
  *column = *column + iVar1;
  had_output = 1;
  return;
}



void FUN_00109022(undefined8 param_1,short *param_2)

{
  int iVar1;
  
  iVar1 = __printf_chk(1,&DAT_00112f68,(int)*param_2);
  *(int *)PTR_DAT_00119c30 = *(int *)PTR_DAT_00119c30 + iVar1;
  DAT_0011a4c0 = 1;
  return;
}


SUB RSP,0x8
MOVSX EDX,word ptr [RSI]
LEA RSI,[0x112f68]
MOV EDI,0x1
MOV EAX,0x0
CALL 0x00105380
MOV RDX,qword ptr [0x00119c30]
ADD dword ptr [RDX],EAX
MOV dword ptr [0x0011a4c0],0x1
ADD RSP,0x8
RET
(translation_unit "void FUN_00109022(undefined8 param_1,short *param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = __printf_chk(1,&DAT_00112f68,(int)*param_2);\n  *(int *)PTR_DAT_00119c30 = *(int *)PTR_DAT_00119c30 + iVar1;\n  DAT_0011a4c0 = 1;\n  return;\n}\n\n" (function_definition "void FUN_00109022(undefined8 param_1,short *param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = __printf_chk(1,&DAT_00112f68,(int)*param_2);\n  *(int *)PTR_DAT_00119c30 = *(int *)PTR_DAT_00119c30 + iVar1;\n  DAT_0011a4c0 = 1;\n  return;\n}" primitive_type (function_declarator "FUN_00109022(undefined8 param_1,short *param_2)" identifier (parameter_list "(undefined8 param_1,short *param_2)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "short *param_2" (sized_type_specifier "short" short) (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = __printf_chk(1,&DAT_00112f68,(int)*param_2);\n  *(int *)PTR_DAT_00119c30 = *(int *)PTR_DAT_00119c30 + iVar1;\n  DAT_0011a4c0 = 1;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = __printf_chk(1,&DAT_00112f68,(int)*param_2);" (assignment_expression "iVar1 = __printf_chk(1,&DAT_00112f68,(int)*param_2)" identifier = (call_expression "__printf_chk(1,&DAT_00112f68,(int)*param_2)" identifier (argument_list "(1,&DAT_00112f68,(int)*param_2)" ( number_literal , (pointer_expression "&DAT_00112f68" & identifier) , (cast_expression "(int)*param_2" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*param_2" * identifier)) )))) ;) (expression_statement "*(int *)PTR_DAT_00119c30 = *(int *)PTR_DAT_00119c30 + iVar1;" (assignment_expression "*(int *)PTR_DAT_00119c30 = *(int *)PTR_DAT_00119c30 + iVar1" (pointer_expression "*(int *)PTR_DAT_00119c30" * (cast_expression "(int *)PTR_DAT_00119c30" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "*(int *)PTR_DAT_00119c30 + iVar1" (pointer_expression "*(int *)PTR_DAT_00119c30" * (cast_expression "(int *)PTR_DAT_00119c30" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + identifier)) ;) (expression_statement "DAT_0011a4c0 = 1;" (assignment_expression "DAT_0011a4c0 = 1" identifier = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void print_hwaddr_dlci(format_data_t form,uchar *data)\n\n{\n  int iVar1;\n  \n  iVar1 = __printf_chk(1,&DAT_00112f68,(int)*(short *)data);\n  *column = *column + iVar1;\n  had_output = 1;\n  return;\n}\n\n" (function_definition "void print_hwaddr_dlci(format_data_t form,uchar *data)\n\n{\n  int iVar1;\n  \n  iVar1 = __printf_chk(1,&DAT_00112f68,(int)*(short *)data);\n  *column = *column + iVar1;\n  had_output = 1;\n  return;\n}" primitive_type (function_declarator "print_hwaddr_dlci(format_data_t form,uchar *data)" identifier (parameter_list "(format_data_t form,uchar *data)" ( (parameter_declaration "format_data_t form" type_identifier identifier) , (parameter_declaration "uchar *data" type_identifier (pointer_declarator "*data" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = __printf_chk(1,&DAT_00112f68,(int)*(short *)data);\n  *column = *column + iVar1;\n  had_output = 1;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = __printf_chk(1,&DAT_00112f68,(int)*(short *)data);" (assignment_expression "iVar1 = __printf_chk(1,&DAT_00112f68,(int)*(short *)data)" identifier = (call_expression "__printf_chk(1,&DAT_00112f68,(int)*(short *)data)" identifier (argument_list "(1,&DAT_00112f68,(int)*(short *)data)" ( number_literal , (pointer_expression "&DAT_00112f68" & identifier) , (cast_expression "(int)*(short *)data" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(short *)data" * (cast_expression "(short *)data" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) identifier))) )))) ;) (expression_statement "*column = *column + iVar1;" (assignment_expression "*column = *column + iVar1" (pointer_expression "*column" * identifier) = (binary_expression "*column + iVar1" (pointer_expression "*column" * identifier) + identifier)) ;) (expression_statement "had_output = 1;" (assignment_expression "had_output = 1" identifier = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00109022(undefined8 param_1,short *param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = __printf_chk(1,&DAT_00112f68,(int)*param_2);\n  *(int *)PTR_DAT_00119c30 = *(int *)PTR_DAT_00119c30 + iVar1;\n  DAT_0011a4c0 = 1;\n  return;\n}\n\n" (function_definition "void FUN_00109022(undefined8 param_1,short *param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = __printf_chk(1,&DAT_00112f68,(int)*param_2);\n  *(int *)PTR_DAT_00119c30 = *(int *)PTR_DAT_00119c30 + iVar1;\n  DAT_0011a4c0 = 1;\n  return;\n}" primitive_type (function_declarator "FUN_00109022(undefined8 param_1,short *param_2)" identifier (parameter_list "(undefined8 param_1,short *param_2)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "short *param_2" (sized_type_specifier "short" short) (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = __printf_chk(1,&DAT_00112f68,(int)*param_2);\n  *(int *)PTR_DAT_00119c30 = *(int *)PTR_DAT_00119c30 + iVar1;\n  DAT_0011a4c0 = 1;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = __printf_chk(1,&DAT_00112f68,(int)*param_2);" (assignment_expression "iVar1 = __printf_chk(1,&DAT_00112f68,(int)*param_2)" identifier = (call_expression "__printf_chk(1,&DAT_00112f68,(int)*param_2)" identifier (argument_list "(1,&DAT_00112f68,(int)*param_2)" ( number_literal , (pointer_expression "&DAT_00112f68" & identifier) , (cast_expression "(int)*param_2" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*param_2" * identifier)) )))) ;) (expression_statement "*(int *)PTR_DAT_00119c30 = *(int *)PTR_DAT_00119c30 + iVar1;" (assignment_expression "*(int *)PTR_DAT_00119c30 = *(int *)PTR_DAT_00119c30 + iVar1" (pointer_expression "*(int *)PTR_DAT_00119c30" * (cast_expression "(int *)PTR_DAT_00119c30" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "*(int *)PTR_DAT_00119c30 + iVar1" (pointer_expression "*(int *)PTR_DAT_00119c30" * (cast_expression "(int *)PTR_DAT_00119c30" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + identifier)) ;) (expression_statement "DAT_0011a4c0 = 1;" (assignment_expression "DAT_0011a4c0 = 1" identifier = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration (sized_type_specifier short) (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (pointer_expression & IDENT) , (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT)) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) + IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (return_statement return ;) })))
(function_definition "void FUN_00109022(undefined8 param_1,short *param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = __printf_chk(1,&DAT_00112f68,(int)*param_2);\n  *(int *)PTR_DAT_00119c30 = *(int *)PTR_DAT_00119c30 + iVar1;\n  DAT_0011a4c0 = 1;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00109022(undefined8 param_1,short *param_2)" (identifier "FUN_00109022") (parameter_list "(undefined8 param_1,short *param_2)" (( "(") (parameter_declaration "undefined8 param_1" (type_identifier "undefined8") (identifier "param_1")) (, ",") (parameter_declaration "short *param_2" (sized_type_specifier "short" (short "short")) (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = __printf_chk(1,&DAT_00112f68,(int)*param_2);\n  *(int *)PTR_DAT_00119c30 = *(int *)PTR_DAT_00119c30 + iVar1;\n  DAT_0011a4c0 = 1;\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = __printf_chk(1,&DAT_00112f68,(int)*param_2);" (assignment_expression "iVar1 = __printf_chk(1,&DAT_00112f68,(int)*param_2)" (identifier "iVar1") (= "=") (call_expression "__printf_chk(1,&DAT_00112f68,(int)*param_2)" (identifier "__printf_chk") (argument_list "(1,&DAT_00112f68,(int)*param_2)" (( "(") (number_literal "1") (, ",") (pointer_expression "&DAT_00112f68" (& "&") (identifier "DAT_00112f68")) (, ",") (cast_expression "(int)*param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) () ")")))) (; ";")) (expression_statement "*(int *)PTR_DAT_00119c30 = *(int *)PTR_DAT_00119c30 + iVar1;" (assignment_expression "*(int *)PTR_DAT_00119c30 = *(int *)PTR_DAT_00119c30 + iVar1" (pointer_expression "*(int *)PTR_DAT_00119c30" (* "*") (cast_expression "(int *)PTR_DAT_00119c30" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DAT_00119c30"))) (= "=") (binary_expression "*(int *)PTR_DAT_00119c30 + iVar1" (pointer_expression "*(int *)PTR_DAT_00119c30" (* "*") (cast_expression "(int *)PTR_DAT_00119c30" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DAT_00119c30"))) (+ "+") (identifier "iVar1"))) (; ";")) (expression_statement "DAT_0011a4c0 = 1;" (assignment_expression "DAT_0011a4c0 = 1" (identifier "DAT_0011a4c0") (= "=") (number_literal "1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 form,type_2 *data)

{
  int var_2;
  
  var_2 = var_1(1,&DAT_00112f68,(int)*(short *)data);
  *column = *column + var_2;
  had_output = 1;
  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: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (pointer_expression argument: (identifier)) (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (return_statement))))

void MASKED(undefined8 param_1,short *param_2)

{
  int iVar1;
  
  iVar1 = __printf_chk(1,&DAT_00112f68,(int)*param_2);
  *(int *)PTR_DAT_00119c30 = *(int *)PTR_DAT_00119c30 + iVar1;
  DAT_0011a4c0 = 1;
  return;
}

