
void display_speed(termios *mode,int fancy)

{
  undefined *puVar1;
  int iVar2;
  int iVar3;
  undefined4 uVar4;
  undefined4 uVar5;
  char *message;
  int iVar6;
  
  iVar2 = (*(code *)PTR_cfgetispeed_0012b0b8)();
  iVar3 = (*(code *)PTR_cfgetospeed_0012af38)(mode);
  puVar1 = PTR_tty_baud_to_value_0012ab94;
  iVar6 = iVar3;
  if ((iVar2 == 0) || (iVar6 = iVar2, iVar2 == iVar3)) {
    message = PTR_UINT_0012a18c + -0x13e4;
    iVar2 = iVar6;
  }
  else {
    message = PTR_UINT_0012a18c + -0x13c8;
  }
  if (fancy != 0) {
    message = message + 9;
  }
  uVar4 = (*(code *)PTR_tty_baud_to_value_0012ab94)(iVar2);
  uVar5 = (*(code *)puVar1)(iVar3);
  wrapf(message,uVar4,uVar5);
  return;
}



void FUN_000c2e70(undefined4 param_1,int param_2)

{
  undefined *puVar1;
  int iVar2;
  int iVar3;
  undefined4 uVar4;
  undefined4 uVar5;
  undefined *puVar6;
  int iVar7;
  
  iVar2 = (*(code *)PTR_cfgetispeed_0012b0b8)();
  iVar3 = (*(code *)PTR_cfgetospeed_0012af38)(param_1);
  puVar1 = PTR_FUN_0012ab94;
  iVar7 = iVar3;
  if ((iVar2 == 0) || (iVar7 = iVar2, iVar2 == iVar3)) {
    puVar6 = PTR_UINT_0012a18c + -0x13e4;
    iVar2 = iVar7;
  }
  else {
    puVar6 = PTR_UINT_0012a18c + -0x13c8;
  }
  if (param_2 != 0) {
    puVar6 = puVar6 + 9;
  }
  uVar4 = (*(code *)PTR_FUN_0012ab94)(iVar2);
  uVar5 = (*(code *)puVar1)(iVar3);
  FUN_000c2a44(puVar6,uVar4,uVar5);
  return;
}


lui gp,0x7
addiu gp,gp,-0xd20
addu gp,gp,t9
addiu sp,sp,-0x30
lw t9,-0x7098(gp)
sw gp,0x10(sp)
sw ra,0x2c(sp)
sw s3,0x28(sp)
or s3,a1,zero
sw s2,0x24(sp)
sw s1,0x20(sp)
sw s0,0x1c(sp)
jalr t9
_or s0,a0,zero
or a0,s0,zero
lw gp,0x10(sp)
lw t9,-0x7218(gp)
jalr t9
_or s1,v0,zero
lw gp,0x10(sp)
bne s1,zero,0x000c2ed8
_or s2,v0,zero
or s1,v0,zero
lw s0,-0x7fc4(gp)
b 0x000c2ee8
_addiu s0,s0,-0x13e4
beq s1,v0,0x000c2ed0
_lw s0,-0x7fc4(gp)
lw s0,-0x7fc4(gp)
addiu s0,s0,-0x13c8
beq s3,zero,0x000c2ef4
_lw s3,-0x75bc(gp)
addiu s0,s0,0x9
or t9,s3,zero
jalr t9
_or a0,s1,zero
or a0,s2,zero
or t9,s3,zero
jalr t9
_or s1,v0,zero
lw gp,0x10(sp)
or a1,s1,zero
lw ra,0x2c(sp)
or a0,s0,zero
lw s3,0x28(sp)
or a2,v0,zero
lw s2,0x24(sp)
lw t9,-0x75f0(gp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
addiu t9,t9,0x2a44
b 0x000c2a44
_addiu sp,sp,0x30
(translation_unit "void FUN_000c2e70(undefined4 param_1,int param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined *puVar6;\n  int iVar7;\n  \n  iVar2 = (*(code *)PTR_cfgetispeed_0012b0b8)();\n  iVar3 = (*(code *)PTR_cfgetospeed_0012af38)(param_1);\n  puVar1 = PTR_FUN_0012ab94;\n  iVar7 = iVar3;\n  if ((iVar2 == 0) || (iVar7 = iVar2, iVar2 == iVar3)) {\n    puVar6 = PTR_UINT_0012a18c + -0x13e4;\n    iVar2 = iVar7;\n  }\n  else {\n    puVar6 = PTR_UINT_0012a18c + -0x13c8;\n  }\n  if (param_2 != 0) {\n    puVar6 = puVar6 + 9;\n  }\n  uVar4 = (*(code *)PTR_FUN_0012ab94)(iVar2);\n  uVar5 = (*(code *)puVar1)(iVar3);\n  FUN_000c2a44(puVar6,uVar4,uVar5);\n  return;\n}\n\n" (function_definition "void FUN_000c2e70(undefined4 param_1,int param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined *puVar6;\n  int iVar7;\n  \n  iVar2 = (*(code *)PTR_cfgetispeed_0012b0b8)();\n  iVar3 = (*(code *)PTR_cfgetospeed_0012af38)(param_1);\n  puVar1 = PTR_FUN_0012ab94;\n  iVar7 = iVar3;\n  if ((iVar2 == 0) || (iVar7 = iVar2, iVar2 == iVar3)) {\n    puVar6 = PTR_UINT_0012a18c + -0x13e4;\n    iVar2 = iVar7;\n  }\n  else {\n    puVar6 = PTR_UINT_0012a18c + -0x13c8;\n  }\n  if (param_2 != 0) {\n    puVar6 = puVar6 + 9;\n  }\n  uVar4 = (*(code *)PTR_FUN_0012ab94)(iVar2);\n  uVar5 = (*(code *)puVar1)(iVar3);\n  FUN_000c2a44(puVar6,uVar4,uVar5);\n  return;\n}" primitive_type (function_declarator "FUN_000c2e70(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined *puVar6;\n  int iVar7;\n  \n  iVar2 = (*(code *)PTR_cfgetispeed_0012b0b8)();\n  iVar3 = (*(code *)PTR_cfgetospeed_0012af38)(param_1);\n  puVar1 = PTR_FUN_0012ab94;\n  iVar7 = iVar3;\n  if ((iVar2 == 0) || (iVar7 = iVar2, iVar2 == iVar3)) {\n    puVar6 = PTR_UINT_0012a18c + -0x13e4;\n    iVar2 = iVar7;\n  }\n  else {\n    puVar6 = PTR_UINT_0012a18c + -0x13c8;\n  }\n  if (param_2 != 0) {\n    puVar6 = puVar6 + 9;\n  }\n  uVar4 = (*(code *)PTR_FUN_0012ab94)(iVar2);\n  uVar5 = (*(code *)puVar1)(iVar3);\n  FUN_000c2a44(puVar6,uVar4,uVar5);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (expression_statement "iVar2 = (*(code *)PTR_cfgetispeed_0012b0b8)();" (assignment_expression "iVar2 = (*(code *)PTR_cfgetispeed_0012b0b8)()" identifier = (call_expression "(*(code *)PTR_cfgetispeed_0012b0b8)()" (parenthesized_expression "(*(code *)PTR_cfgetispeed_0012b0b8)" ( (pointer_expression "*(code *)PTR_cfgetispeed_0012b0b8" * (cast_expression "(code *)PTR_cfgetispeed_0012b0b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "iVar3 = (*(code *)PTR_cfgetospeed_0012af38)(param_1);" (assignment_expression "iVar3 = (*(code *)PTR_cfgetospeed_0012af38)(param_1)" identifier = (call_expression "(*(code *)PTR_cfgetospeed_0012af38)(param_1)" (parenthesized_expression "(*(code *)PTR_cfgetospeed_0012af38)" ( (pointer_expression "*(code *)PTR_cfgetospeed_0012af38" * (cast_expression "(code *)PTR_cfgetospeed_0012af38" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "puVar1 = PTR_FUN_0012ab94;" (assignment_expression "puVar1 = PTR_FUN_0012ab94" identifier = identifier) ;) (expression_statement "iVar7 = iVar3;" (assignment_expression "iVar7 = iVar3" identifier = identifier) ;) (if_statement "if ((iVar2 == 0) || (iVar7 = iVar2, iVar2 == iVar3)) {\n    puVar6 = PTR_UINT_0012a18c + -0x13e4;\n    iVar2 = iVar7;\n  }\n  else {\n    puVar6 = PTR_UINT_0012a18c + -0x13c8;\n  }" if (parenthesized_expression "((iVar2 == 0) || (iVar7 = iVar2, iVar2 == iVar3))" ( (binary_expression "(iVar2 == 0) || (iVar7 = iVar2, iVar2 == iVar3)" (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) || (parenthesized_expression "(iVar7 = iVar2, iVar2 == iVar3)" ( (comma_expression "iVar7 = iVar2, iVar2 == iVar3" (assignment_expression "iVar7 = iVar2" identifier = identifier) , (binary_expression "iVar2 == iVar3" identifier == identifier)) ))) )) (compound_statement "{\n    puVar6 = PTR_UINT_0012a18c + -0x13e4;\n    iVar2 = iVar7;\n  }" { (expression_statement "puVar6 = PTR_UINT_0012a18c + -0x13e4;" (assignment_expression "puVar6 = PTR_UINT_0012a18c + -0x13e4" identifier = (binary_expression "PTR_UINT_0012a18c + -0x13e4" identifier + number_literal)) ;) (expression_statement "iVar2 = iVar7;" (assignment_expression "iVar2 = iVar7" identifier = identifier) ;) }) (else_clause "else {\n    puVar6 = PTR_UINT_0012a18c + -0x13c8;\n  }" else (compound_statement "{\n    puVar6 = PTR_UINT_0012a18c + -0x13c8;\n  }" { (expression_statement "puVar6 = PTR_UINT_0012a18c + -0x13c8;" (assignment_expression "puVar6 = PTR_UINT_0012a18c + -0x13c8" identifier = (binary_expression "PTR_UINT_0012a18c + -0x13c8" identifier + number_literal)) ;) }))) (if_statement "if (param_2 != 0) {\n    puVar6 = puVar6 + 9;\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    puVar6 = puVar6 + 9;\n  }" { (expression_statement "puVar6 = puVar6 + 9;" (assignment_expression "puVar6 = puVar6 + 9" identifier = (binary_expression "puVar6 + 9" identifier + number_literal)) ;) })) (expression_statement "uVar4 = (*(code *)PTR_FUN_0012ab94)(iVar2);" (assignment_expression "uVar4 = (*(code *)PTR_FUN_0012ab94)(iVar2)" identifier = (call_expression "(*(code *)PTR_FUN_0012ab94)(iVar2)" (parenthesized_expression "(*(code *)PTR_FUN_0012ab94)" ( (pointer_expression "*(code *)PTR_FUN_0012ab94" * (cast_expression "(code *)PTR_FUN_0012ab94" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2)" ( identifier )))) ;) (expression_statement "uVar5 = (*(code *)puVar1)(iVar3);" (assignment_expression "uVar5 = (*(code *)puVar1)(iVar3)" identifier = (call_expression "(*(code *)puVar1)(iVar3)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3)" ( identifier )))) ;) (expression_statement "FUN_000c2a44(puVar6,uVar4,uVar5);" (call_expression "FUN_000c2a44(puVar6,uVar4,uVar5)" identifier (argument_list "(puVar6,uVar4,uVar5)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void display_speed(termios *mode,int fancy)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char *message;\n  int iVar6;\n  \n  iVar2 = (*(code *)PTR_cfgetispeed_0012b0b8)();\n  iVar3 = (*(code *)PTR_cfgetospeed_0012af38)(mode);\n  puVar1 = PTR_tty_baud_to_value_0012ab94;\n  iVar6 = iVar3;\n  if ((iVar2 == 0) || (iVar6 = iVar2, iVar2 == iVar3)) {\n    message = PTR_UINT_0012a18c + -0x13e4;\n    iVar2 = iVar6;\n  }\n  else {\n    message = PTR_UINT_0012a18c + -0x13c8;\n  }\n  if (fancy != 0) {\n    message = message + 9;\n  }\n  uVar4 = (*(code *)PTR_tty_baud_to_value_0012ab94)(iVar2);\n  uVar5 = (*(code *)puVar1)(iVar3);\n  wrapf(message,uVar4,uVar5);\n  return;\n}\n\n" (function_definition "void display_speed(termios *mode,int fancy)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char *message;\n  int iVar6;\n  \n  iVar2 = (*(code *)PTR_cfgetispeed_0012b0b8)();\n  iVar3 = (*(code *)PTR_cfgetospeed_0012af38)(mode);\n  puVar1 = PTR_tty_baud_to_value_0012ab94;\n  iVar6 = iVar3;\n  if ((iVar2 == 0) || (iVar6 = iVar2, iVar2 == iVar3)) {\n    message = PTR_UINT_0012a18c + -0x13e4;\n    iVar2 = iVar6;\n  }\n  else {\n    message = PTR_UINT_0012a18c + -0x13c8;\n  }\n  if (fancy != 0) {\n    message = message + 9;\n  }\n  uVar4 = (*(code *)PTR_tty_baud_to_value_0012ab94)(iVar2);\n  uVar5 = (*(code *)puVar1)(iVar3);\n  wrapf(message,uVar4,uVar5);\n  return;\n}" primitive_type (function_declarator "display_speed(termios *mode,int fancy)" identifier (parameter_list "(termios *mode,int fancy)" ( (parameter_declaration "termios *mode" type_identifier (pointer_declarator "*mode" * identifier)) , (parameter_declaration "int fancy" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char *message;\n  int iVar6;\n  \n  iVar2 = (*(code *)PTR_cfgetispeed_0012b0b8)();\n  iVar3 = (*(code *)PTR_cfgetospeed_0012af38)(mode);\n  puVar1 = PTR_tty_baud_to_value_0012ab94;\n  iVar6 = iVar3;\n  if ((iVar2 == 0) || (iVar6 = iVar2, iVar2 == iVar3)) {\n    message = PTR_UINT_0012a18c + -0x13e4;\n    iVar2 = iVar6;\n  }\n  else {\n    message = PTR_UINT_0012a18c + -0x13c8;\n  }\n  if (fancy != 0) {\n    message = message + 9;\n  }\n  uVar4 = (*(code *)PTR_tty_baud_to_value_0012ab94)(iVar2);\n  uVar5 = (*(code *)puVar1)(iVar3);\n  wrapf(message,uVar4,uVar5);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "char *message;" primitive_type (pointer_declarator "*message" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (expression_statement "iVar2 = (*(code *)PTR_cfgetispeed_0012b0b8)();" (assignment_expression "iVar2 = (*(code *)PTR_cfgetispeed_0012b0b8)()" identifier = (call_expression "(*(code *)PTR_cfgetispeed_0012b0b8)()" (parenthesized_expression "(*(code *)PTR_cfgetispeed_0012b0b8)" ( (pointer_expression "*(code *)PTR_cfgetispeed_0012b0b8" * (cast_expression "(code *)PTR_cfgetispeed_0012b0b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "iVar3 = (*(code *)PTR_cfgetospeed_0012af38)(mode);" (assignment_expression "iVar3 = (*(code *)PTR_cfgetospeed_0012af38)(mode)" identifier = (call_expression "(*(code *)PTR_cfgetospeed_0012af38)(mode)" (parenthesized_expression "(*(code *)PTR_cfgetospeed_0012af38)" ( (pointer_expression "*(code *)PTR_cfgetospeed_0012af38" * (cast_expression "(code *)PTR_cfgetospeed_0012af38" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(mode)" ( identifier )))) ;) (expression_statement "puVar1 = PTR_tty_baud_to_value_0012ab94;" (assignment_expression "puVar1 = PTR_tty_baud_to_value_0012ab94" identifier = identifier) ;) (expression_statement "iVar6 = iVar3;" (assignment_expression "iVar6 = iVar3" identifier = identifier) ;) (if_statement "if ((iVar2 == 0) || (iVar6 = iVar2, iVar2 == iVar3)) {\n    message = PTR_UINT_0012a18c + -0x13e4;\n    iVar2 = iVar6;\n  }\n  else {\n    message = PTR_UINT_0012a18c + -0x13c8;\n  }" if (parenthesized_expression "((iVar2 == 0) || (iVar6 = iVar2, iVar2 == iVar3))" ( (binary_expression "(iVar2 == 0) || (iVar6 = iVar2, iVar2 == iVar3)" (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) || (parenthesized_expression "(iVar6 = iVar2, iVar2 == iVar3)" ( (comma_expression "iVar6 = iVar2, iVar2 == iVar3" (assignment_expression "iVar6 = iVar2" identifier = identifier) , (binary_expression "iVar2 == iVar3" identifier == identifier)) ))) )) (compound_statement "{\n    message = PTR_UINT_0012a18c + -0x13e4;\n    iVar2 = iVar6;\n  }" { (expression_statement "message = PTR_UINT_0012a18c + -0x13e4;" (assignment_expression "message = PTR_UINT_0012a18c + -0x13e4" identifier = (binary_expression "PTR_UINT_0012a18c + -0x13e4" identifier + number_literal)) ;) (expression_statement "iVar2 = iVar6;" (assignment_expression "iVar2 = iVar6" identifier = identifier) ;) }) (else_clause "else {\n    message = PTR_UINT_0012a18c + -0x13c8;\n  }" else (compound_statement "{\n    message = PTR_UINT_0012a18c + -0x13c8;\n  }" { (expression_statement "message = PTR_UINT_0012a18c + -0x13c8;" (assignment_expression "message = PTR_UINT_0012a18c + -0x13c8" identifier = (binary_expression "PTR_UINT_0012a18c + -0x13c8" identifier + number_literal)) ;) }))) (if_statement "if (fancy != 0) {\n    message = message + 9;\n  }" if (parenthesized_expression "(fancy != 0)" ( (binary_expression "fancy != 0" identifier != number_literal) )) (compound_statement "{\n    message = message + 9;\n  }" { (expression_statement "message = message + 9;" (assignment_expression "message = message + 9" identifier = (binary_expression "message + 9" identifier + number_literal)) ;) })) (expression_statement "uVar4 = (*(code *)PTR_tty_baud_to_value_0012ab94)(iVar2);" (assignment_expression "uVar4 = (*(code *)PTR_tty_baud_to_value_0012ab94)(iVar2)" identifier = (call_expression "(*(code *)PTR_tty_baud_to_value_0012ab94)(iVar2)" (parenthesized_expression "(*(code *)PTR_tty_baud_to_value_0012ab94)" ( (pointer_expression "*(code *)PTR_tty_baud_to_value_0012ab94" * (cast_expression "(code *)PTR_tty_baud_to_value_0012ab94" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2)" ( identifier )))) ;) (expression_statement "uVar5 = (*(code *)puVar1)(iVar3);" (assignment_expression "uVar5 = (*(code *)puVar1)(iVar3)" identifier = (call_expression "(*(code *)puVar1)(iVar3)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3)" ( identifier )))) ;) (expression_statement "wrapf(message,uVar4,uVar5);" (call_expression "wrapf(message,uVar4,uVar5)" identifier (argument_list "(message,uVar4,uVar5)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_000c2e70(undefined4 param_1,int param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined *puVar6;\n  int iVar7;\n  \n  iVar2 = (*(code *)PTR_cfgetispeed_0012b0b8)();\n  iVar3 = (*(code *)PTR_cfgetospeed_0012af38)(param_1);\n  puVar1 = PTR_FUN_0012ab94;\n  iVar7 = iVar3;\n  if ((iVar2 == 0) || (iVar7 = iVar2, iVar2 == iVar3)) {\n    puVar6 = PTR_UINT_0012a18c + -0x13e4;\n    iVar2 = iVar7;\n  }\n  else {\n    puVar6 = PTR_UINT_0012a18c + -0x13c8;\n  }\n  if (param_2 != 0) {\n    puVar6 = puVar6 + 9;\n  }\n  uVar4 = (*(code *)PTR_FUN_0012ab94)(iVar2);\n  uVar5 = (*(code *)puVar1)(iVar3);\n  FUN_000c2a44(puVar6,uVar4,uVar5);\n  return;\n}\n\n" (function_definition "void FUN_000c2e70(undefined4 param_1,int param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined *puVar6;\n  int iVar7;\n  \n  iVar2 = (*(code *)PTR_cfgetispeed_0012b0b8)();\n  iVar3 = (*(code *)PTR_cfgetospeed_0012af38)(param_1);\n  puVar1 = PTR_FUN_0012ab94;\n  iVar7 = iVar3;\n  if ((iVar2 == 0) || (iVar7 = iVar2, iVar2 == iVar3)) {\n    puVar6 = PTR_UINT_0012a18c + -0x13e4;\n    iVar2 = iVar7;\n  }\n  else {\n    puVar6 = PTR_UINT_0012a18c + -0x13c8;\n  }\n  if (param_2 != 0) {\n    puVar6 = puVar6 + 9;\n  }\n  uVar4 = (*(code *)PTR_FUN_0012ab94)(iVar2);\n  uVar5 = (*(code *)puVar1)(iVar3);\n  FUN_000c2a44(puVar6,uVar4,uVar5);\n  return;\n}" primitive_type (function_declarator "FUN_000c2e70(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined *puVar6;\n  int iVar7;\n  \n  iVar2 = (*(code *)PTR_cfgetispeed_0012b0b8)();\n  iVar3 = (*(code *)PTR_cfgetospeed_0012af38)(param_1);\n  puVar1 = PTR_FUN_0012ab94;\n  iVar7 = iVar3;\n  if ((iVar2 == 0) || (iVar7 = iVar2, iVar2 == iVar3)) {\n    puVar6 = PTR_UINT_0012a18c + -0x13e4;\n    iVar2 = iVar7;\n  }\n  else {\n    puVar6 = PTR_UINT_0012a18c + -0x13c8;\n  }\n  if (param_2 != 0) {\n    puVar6 = puVar6 + 9;\n  }\n  uVar4 = (*(code *)PTR_FUN_0012ab94)(iVar2);\n  uVar5 = (*(code *)puVar1)(iVar3);\n  FUN_000c2a44(puVar6,uVar4,uVar5);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (expression_statement "iVar2 = (*(code *)PTR_cfgetispeed_0012b0b8)();" (assignment_expression "iVar2 = (*(code *)PTR_cfgetispeed_0012b0b8)()" identifier = (call_expression "(*(code *)PTR_cfgetispeed_0012b0b8)()" (parenthesized_expression "(*(code *)PTR_cfgetispeed_0012b0b8)" ( (pointer_expression "*(code *)PTR_cfgetispeed_0012b0b8" * (cast_expression "(code *)PTR_cfgetispeed_0012b0b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "iVar3 = (*(code *)PTR_cfgetospeed_0012af38)(param_1);" (assignment_expression "iVar3 = (*(code *)PTR_cfgetospeed_0012af38)(param_1)" identifier = (call_expression "(*(code *)PTR_cfgetospeed_0012af38)(param_1)" (parenthesized_expression "(*(code *)PTR_cfgetospeed_0012af38)" ( (pointer_expression "*(code *)PTR_cfgetospeed_0012af38" * (cast_expression "(code *)PTR_cfgetospeed_0012af38" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "puVar1 = PTR_FUN_0012ab94;" (assignment_expression "puVar1 = PTR_FUN_0012ab94" identifier = identifier) ;) (expression_statement "iVar7 = iVar3;" (assignment_expression "iVar7 = iVar3" identifier = identifier) ;) (if_statement "if ((iVar2 == 0) || (iVar7 = iVar2, iVar2 == iVar3)) {\n    puVar6 = PTR_UINT_0012a18c + -0x13e4;\n    iVar2 = iVar7;\n  }\n  else {\n    puVar6 = PTR_UINT_0012a18c + -0x13c8;\n  }" if (parenthesized_expression "((iVar2 == 0) || (iVar7 = iVar2, iVar2 == iVar3))" ( (binary_expression "(iVar2 == 0) || (iVar7 = iVar2, iVar2 == iVar3)" (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) || (parenthesized_expression "(iVar7 = iVar2, iVar2 == iVar3)" ( (comma_expression "iVar7 = iVar2, iVar2 == iVar3" (assignment_expression "iVar7 = iVar2" identifier = identifier) , (binary_expression "iVar2 == iVar3" identifier == identifier)) ))) )) (compound_statement "{\n    puVar6 = PTR_UINT_0012a18c + -0x13e4;\n    iVar2 = iVar7;\n  }" { (expression_statement "puVar6 = PTR_UINT_0012a18c + -0x13e4;" (assignment_expression "puVar6 = PTR_UINT_0012a18c + -0x13e4" identifier = (binary_expression "PTR_UINT_0012a18c + -0x13e4" identifier + number_literal)) ;) (expression_statement "iVar2 = iVar7;" (assignment_expression "iVar2 = iVar7" identifier = identifier) ;) }) (else_clause "else {\n    puVar6 = PTR_UINT_0012a18c + -0x13c8;\n  }" else (compound_statement "{\n    puVar6 = PTR_UINT_0012a18c + -0x13c8;\n  }" { (expression_statement "puVar6 = PTR_UINT_0012a18c + -0x13c8;" (assignment_expression "puVar6 = PTR_UINT_0012a18c + -0x13c8" identifier = (binary_expression "PTR_UINT_0012a18c + -0x13c8" identifier + number_literal)) ;) }))) (if_statement "if (param_2 != 0) {\n    puVar6 = puVar6 + 9;\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    puVar6 = puVar6 + 9;\n  }" { (expression_statement "puVar6 = puVar6 + 9;" (assignment_expression "puVar6 = puVar6 + 9" identifier = (binary_expression "puVar6 + 9" identifier + number_literal)) ;) })) (expression_statement "uVar4 = (*(code *)PTR_FUN_0012ab94)(iVar2);" (assignment_expression "uVar4 = (*(code *)PTR_FUN_0012ab94)(iVar2)" identifier = (call_expression "(*(code *)PTR_FUN_0012ab94)(iVar2)" (parenthesized_expression "(*(code *)PTR_FUN_0012ab94)" ( (pointer_expression "*(code *)PTR_FUN_0012ab94" * (cast_expression "(code *)PTR_FUN_0012ab94" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2)" ( identifier )))) ;) (expression_statement "uVar5 = (*(code *)puVar1)(iVar3);" (assignment_expression "uVar5 = (*(code *)puVar1)(iVar3)" identifier = (call_expression "(*(code *)puVar1)(iVar3)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3)" ( identifier )))) ;) (expression_statement "FUN_000c2a44(puVar6,uVar4,uVar5);" (call_expression "FUN_000c2a44(puVar6,uVar4,uVar5)" identifier (argument_list "(puVar6,uVar4,uVar5)" ( 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 IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT == IDENT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_000c2e70(undefined4 param_1,int param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined *puVar6;\n  int iVar7;\n  \n  iVar2 = (*(code *)PTR_cfgetispeed_0012b0b8)();\n  iVar3 = (*(code *)PTR_cfgetospeed_0012af38)(param_1);\n  puVar1 = PTR_FUN_0012ab94;\n  iVar7 = iVar3;\n  if ((iVar2 == 0) || (iVar7 = iVar2, iVar2 == iVar3)) {\n    puVar6 = PTR_UINT_0012a18c + -0x13e4;\n    iVar2 = iVar7;\n  }\n  else {\n    puVar6 = PTR_UINT_0012a18c + -0x13c8;\n  }\n  if (param_2 != 0) {\n    puVar6 = puVar6 + 9;\n  }\n  uVar4 = (*(code *)PTR_FUN_0012ab94)(iVar2);\n  uVar5 = (*(code *)puVar1)(iVar3);\n  FUN_000c2a44(puVar6,uVar4,uVar5);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000c2e70(undefined4 param_1,int param_2)" (identifier "FUN_000c2e70") (parameter_list "(undefined4 param_1,int param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined *puVar6;\n  int iVar7;\n  \n  iVar2 = (*(code *)PTR_cfgetispeed_0012b0b8)();\n  iVar3 = (*(code *)PTR_cfgetospeed_0012af38)(param_1);\n  puVar1 = PTR_FUN_0012ab94;\n  iVar7 = iVar3;\n  if ((iVar2 == 0) || (iVar7 = iVar2, iVar2 == iVar3)) {\n    puVar6 = PTR_UINT_0012a18c + -0x13e4;\n    iVar2 = iVar7;\n  }\n  else {\n    puVar6 = PTR_UINT_0012a18c + -0x13c8;\n  }\n  if (param_2 != 0) {\n    puVar6 = puVar6 + 9;\n  }\n  uVar4 = (*(code *)PTR_FUN_0012ab94)(iVar2);\n  uVar5 = (*(code *)puVar1)(iVar3);\n  FUN_000c2a44(puVar6,uVar4,uVar5);\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "undefined *puVar6;" (type_identifier "undefined") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (expression_statement "iVar2 = (*(code *)PTR_cfgetispeed_0012b0b8)();" (assignment_expression "iVar2 = (*(code *)PTR_cfgetispeed_0012b0b8)()" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_cfgetispeed_0012b0b8)()" (parenthesized_expression "(*(code *)PTR_cfgetispeed_0012b0b8)" (( "(") (pointer_expression "*(code *)PTR_cfgetispeed_0012b0b8" (* "*") (cast_expression "(code *)PTR_cfgetispeed_0012b0b8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_cfgetispeed_0012b0b8"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar3 = (*(code *)PTR_cfgetospeed_0012af38)(param_1);" (assignment_expression "iVar3 = (*(code *)PTR_cfgetospeed_0012af38)(param_1)" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_cfgetospeed_0012af38)(param_1)" (parenthesized_expression "(*(code *)PTR_cfgetospeed_0012af38)" (( "(") (pointer_expression "*(code *)PTR_cfgetospeed_0012af38" (* "*") (cast_expression "(code *)PTR_cfgetospeed_0012af38" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_cfgetospeed_0012af38"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "puVar1 = PTR_FUN_0012ab94;" (assignment_expression "puVar1 = PTR_FUN_0012ab94" (identifier "puVar1") (= "=") (identifier "PTR_FUN_0012ab94")) (; ";")) (expression_statement "iVar7 = iVar3;" (assignment_expression "iVar7 = iVar3" (identifier "iVar7") (= "=") (identifier "iVar3")) (; ";")) (if_statement "if ((iVar2 == 0) || (iVar7 = iVar2, iVar2 == iVar3)) {\n    puVar6 = PTR_UINT_0012a18c + -0x13e4;\n    iVar2 = iVar7;\n  }\n  else {\n    puVar6 = PTR_UINT_0012a18c + -0x13c8;\n  }" (if "if") (parenthesized_expression "((iVar2 == 0) || (iVar7 = iVar2, iVar2 == iVar3))" (( "(") (binary_expression "(iVar2 == 0) || (iVar7 = iVar2, iVar2 == iVar3)" (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(iVar7 = iVar2, iVar2 == iVar3)" (( "(") (comma_expression "iVar7 = iVar2, iVar2 == iVar3" (assignment_expression "iVar7 = iVar2" (identifier "iVar7") (= "=") (identifier "iVar2")) (, ",") (binary_expression "iVar2 == iVar3" (identifier "iVar2") (== "==") (identifier "iVar3"))) () ")"))) () ")")) (compound_statement "{\n    puVar6 = PTR_UINT_0012a18c + -0x13e4;\n    iVar2 = iVar7;\n  }" ({ "{") (expression_statement "puVar6 = PTR_UINT_0012a18c + -0x13e4;" (assignment_expression "puVar6 = PTR_UINT_0012a18c + -0x13e4" (identifier "puVar6") (= "=") (binary_expression "PTR_UINT_0012a18c + -0x13e4" (identifier "PTR_UINT_0012a18c") (+ "+") (number_literal "-0x13e4"))) (; ";")) (expression_statement "iVar2 = iVar7;" (assignment_expression "iVar2 = iVar7" (identifier "iVar2") (= "=") (identifier "iVar7")) (; ";")) (} "}")) (else_clause "else {\n    puVar6 = PTR_UINT_0012a18c + -0x13c8;\n  }" (else "else") (compound_statement "{\n    puVar6 = PTR_UINT_0012a18c + -0x13c8;\n  }" ({ "{") (expression_statement "puVar6 = PTR_UINT_0012a18c + -0x13c8;" (assignment_expression "puVar6 = PTR_UINT_0012a18c + -0x13c8" (identifier "puVar6") (= "=") (binary_expression "PTR_UINT_0012a18c + -0x13c8" (identifier "PTR_UINT_0012a18c") (+ "+") (number_literal "-0x13c8"))) (; ";")) (} "}")))) (if_statement "if (param_2 != 0) {\n    puVar6 = puVar6 + 9;\n  }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    puVar6 = puVar6 + 9;\n  }" ({ "{") (expression_statement "puVar6 = puVar6 + 9;" (assignment_expression "puVar6 = puVar6 + 9" (identifier "puVar6") (= "=") (binary_expression "puVar6 + 9" (identifier "puVar6") (+ "+") (number_literal "9"))) (; ";")) (} "}"))) (expression_statement "uVar4 = (*(code *)PTR_FUN_0012ab94)(iVar2);" (assignment_expression "uVar4 = (*(code *)PTR_FUN_0012ab94)(iVar2)" (identifier "uVar4") (= "=") (call_expression "(*(code *)PTR_FUN_0012ab94)(iVar2)" (parenthesized_expression "(*(code *)PTR_FUN_0012ab94)" (( "(") (pointer_expression "*(code *)PTR_FUN_0012ab94" (* "*") (cast_expression "(code *)PTR_FUN_0012ab94" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_0012ab94"))) () ")")) (argument_list "(iVar2)" (( "(") (identifier "iVar2") () ")")))) (; ";")) (expression_statement "uVar5 = (*(code *)puVar1)(iVar3);" (assignment_expression "uVar5 = (*(code *)puVar1)(iVar3)" (identifier "uVar5") (= "=") (call_expression "(*(code *)puVar1)(iVar3)" (parenthesized_expression "(*(code *)puVar1)" (( "(") (pointer_expression "*(code *)puVar1" (* "*") (cast_expression "(code *)puVar1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")")) (argument_list "(iVar3)" (( "(") (identifier "iVar3") () ")")))) (; ";")) (expression_statement "FUN_000c2a44(puVar6,uVar4,uVar5);" (call_expression "FUN_000c2a44(puVar6,uVar4,uVar5)" (identifier "FUN_000c2a44") (argument_list "(puVar6,uVar4,uVar5)" (( "(") (identifier "puVar6") (, ",") (identifier "uVar4") (, ",") (identifier "uVar5") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *mode,int var_4)

{
  type_2 *puVar1;
  int var_1;
  int var_2;
  type_3 uVar4;
  type_3 uVar5;
  char *var_5;
  int iVar6;
  
  var_1 = (*(type_4 *)PTR_cfgetispeed_0012b0b8)();
  var_2 = (*(type_4 *)PTR_cfgetospeed_0012af38)(mode);
  puVar1 = PTR_tty_baud_to_value_0012ab94;
  iVar6 = var_2;
  if ((var_1 == 0) || (iVar6 = var_1, var_1 == var_2)) {
    var_5 = var_3 + -0x13e4;
    var_1 = iVar6;
  }
  else {
    var_5 = var_3 + -0x13c8;
  }
  if (var_4 != 0) {
    var_5 = var_5 + 9;
  }
  uVar4 = (*(type_4 *)PTR_tty_baud_to_value_0012ab94)(var_1);
  uVar5 = (*(type_4 *)puVar1)(var_2);
  var_6(var_5,uVar4,uVar5);
  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: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) 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: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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: (identifier)) right: (binary_expression left: (identifier) right: (identifier)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) alternative: (else_clause (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: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) (return_statement))))

void MASKED(undefined4 param_1,int param_2)

{
  undefined *puVar1;
  int iVar2;
  int iVar3;
  undefined4 uVar4;
  undefined4 uVar5;
  undefined *puVar6;
  int iVar7;
  
  iVar2 = (*(code *)PTR_cfgetispeed_0012b0b8)();
  iVar3 = (*(code *)PTR_cfgetospeed_0012af38)(param_1);
  puVar1 = PTR_FUN_0012ab94;
  iVar7 = iVar3;
  if ((iVar2 == 0) || (iVar7 = iVar2, iVar2 == iVar3)) {
    puVar6 = PTR_UINT_0012a18c + -0x13e4;
    iVar2 = iVar7;
  }
  else {
    puVar6 = PTR_UINT_0012a18c + -0x13c8;
  }
  if (param_2 != 0) {
    puVar6 = puVar6 + 9;
  }
  uVar4 = (*(code *)PTR_FUN_0012ab94)(iVar2);
  uVar5 = (*(code *)puVar1)(iVar3);
  FUN_000c2a44(puVar6,uVar4,uVar5);
  return;
}

