
void png_set_gamma(png_structrp png_ptr,double scrn_gamma,double file_gamma)

{
  png_fixed_point file_gamma_00;
  png_fixed_point scrn_gamma_00;
  
  file_gamma_00 = convert_gamma_value(png_ptr,file_gamma);
  scrn_gamma_00 = convert_gamma_value(png_ptr,scrn_gamma);
  png_set_gamma_fixed(png_ptr,scrn_gamma_00,file_gamma_00);
  return;
}



void png_set_gamma(undefined8 param_1,undefined8 param_2,undefined8 param_3)

{
  undefined4 uVar1;
  undefined4 uVar2;
  
  uVar1 = FUN_00113dd0(param_2);
  uVar2 = FUN_00113dd0(param_1,param_3);
  png_set_gamma_fixed(param_3,uVar2,uVar1);
  return;
}


PUSH RBP
PUSH RBX
SUB RSP,0x18
MOV RBX,RDI
MOVSD qword ptr [RSP + 0x8],XMM0
MOVAPD XMM0,XMM1
CALL 0x00113dd0
MOV EBP,EAX
MOVSD XMM0,qword ptr [RSP + 0x8]
MOV RDI,RBX
CALL 0x00113dd0
MOV EDX,EBP
MOV ESI,EAX
MOV RDI,RBX
CALL 0x001062d0
ADD RSP,0x18
POP RBX
POP RBP
RET
(translation_unit "void png_set_gamma(undefined8 param_1,undefined8 param_2,undefined8 param_3)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  uVar1 = FUN_00113dd0(param_2);\n  uVar2 = FUN_00113dd0(param_1,param_3);\n  png_set_gamma_fixed(param_3,uVar2,uVar1);\n  return;\n}\n\n" (function_definition "void png_set_gamma(undefined8 param_1,undefined8 param_2,undefined8 param_3)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  uVar1 = FUN_00113dd0(param_2);\n  uVar2 = FUN_00113dd0(param_1,param_3);\n  png_set_gamma_fixed(param_3,uVar2,uVar1);\n  return;\n}" primitive_type (function_declarator "png_set_gamma(undefined8 param_1,undefined8 param_2,undefined8 param_3)" identifier (parameter_list "(undefined8 param_1,undefined8 param_2,undefined8 param_3)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  uVar1 = FUN_00113dd0(param_2);\n  uVar2 = FUN_00113dd0(param_1,param_3);\n  png_set_gamma_fixed(param_3,uVar2,uVar1);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "uVar1 = FUN_00113dd0(param_2);" (assignment_expression "uVar1 = FUN_00113dd0(param_2)" identifier = (call_expression "FUN_00113dd0(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "uVar2 = FUN_00113dd0(param_1,param_3);" (assignment_expression "uVar2 = FUN_00113dd0(param_1,param_3)" identifier = (call_expression "FUN_00113dd0(param_1,param_3)" identifier (argument_list "(param_1,param_3)" ( identifier , identifier )))) ;) (expression_statement "png_set_gamma_fixed(param_3,uVar2,uVar1);" (call_expression "png_set_gamma_fixed(param_3,uVar2,uVar1)" identifier (argument_list "(param_3,uVar2,uVar1)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void png_set_gamma(png_structrp png_ptr,double scrn_gamma,double file_gamma)\n\n{\n  png_fixed_point file_gamma_00;\n  png_fixed_point scrn_gamma_00;\n  \n  file_gamma_00 = convert_gamma_value(png_ptr,file_gamma);\n  scrn_gamma_00 = convert_gamma_value(png_ptr,scrn_gamma);\n  png_set_gamma_fixed(png_ptr,scrn_gamma_00,file_gamma_00);\n  return;\n}\n\n" (function_definition "void png_set_gamma(png_structrp png_ptr,double scrn_gamma,double file_gamma)\n\n{\n  png_fixed_point file_gamma_00;\n  png_fixed_point scrn_gamma_00;\n  \n  file_gamma_00 = convert_gamma_value(png_ptr,file_gamma);\n  scrn_gamma_00 = convert_gamma_value(png_ptr,scrn_gamma);\n  png_set_gamma_fixed(png_ptr,scrn_gamma_00,file_gamma_00);\n  return;\n}" primitive_type (function_declarator "png_set_gamma(png_structrp png_ptr,double scrn_gamma,double file_gamma)" identifier (parameter_list "(png_structrp png_ptr,double scrn_gamma,double file_gamma)" ( (parameter_declaration "png_structrp png_ptr" type_identifier identifier) , (parameter_declaration "double scrn_gamma" primitive_type identifier) , (parameter_declaration "double file_gamma" primitive_type identifier) ))) (compound_statement "{\n  png_fixed_point file_gamma_00;\n  png_fixed_point scrn_gamma_00;\n  \n  file_gamma_00 = convert_gamma_value(png_ptr,file_gamma);\n  scrn_gamma_00 = convert_gamma_value(png_ptr,scrn_gamma);\n  png_set_gamma_fixed(png_ptr,scrn_gamma_00,file_gamma_00);\n  return;\n}" { (declaration "png_fixed_point file_gamma_00;" type_identifier identifier ;) (declaration "png_fixed_point scrn_gamma_00;" type_identifier identifier ;) (expression_statement "file_gamma_00 = convert_gamma_value(png_ptr,file_gamma);" (assignment_expression "file_gamma_00 = convert_gamma_value(png_ptr,file_gamma)" identifier = (call_expression "convert_gamma_value(png_ptr,file_gamma)" identifier (argument_list "(png_ptr,file_gamma)" ( identifier , identifier )))) ;) (expression_statement "scrn_gamma_00 = convert_gamma_value(png_ptr,scrn_gamma);" (assignment_expression "scrn_gamma_00 = convert_gamma_value(png_ptr,scrn_gamma)" identifier = (call_expression "convert_gamma_value(png_ptr,scrn_gamma)" identifier (argument_list "(png_ptr,scrn_gamma)" ( identifier , identifier )))) ;) (expression_statement "png_set_gamma_fixed(png_ptr,scrn_gamma_00,file_gamma_00);" (call_expression "png_set_gamma_fixed(png_ptr,scrn_gamma_00,file_gamma_00)" identifier (argument_list "(png_ptr,scrn_gamma_00,file_gamma_00)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void png_set_gamma(undefined8 param_1,undefined8 param_2,undefined8 param_3)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  uVar1 = FUN_00113dd0(param_2);\n  uVar2 = FUN_00113dd0(param_1,param_3);\n  png_set_gamma_fixed(param_3,uVar2,uVar1);\n  return;\n}\n\n" (function_definition "void png_set_gamma(undefined8 param_1,undefined8 param_2,undefined8 param_3)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  uVar1 = FUN_00113dd0(param_2);\n  uVar2 = FUN_00113dd0(param_1,param_3);\n  png_set_gamma_fixed(param_3,uVar2,uVar1);\n  return;\n}" primitive_type (function_declarator "png_set_gamma(undefined8 param_1,undefined8 param_2,undefined8 param_3)" identifier (parameter_list "(undefined8 param_1,undefined8 param_2,undefined8 param_3)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  uVar1 = FUN_00113dd0(param_2);\n  uVar2 = FUN_00113dd0(param_1,param_3);\n  png_set_gamma_fixed(param_3,uVar2,uVar1);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "uVar1 = FUN_00113dd0(param_2);" (assignment_expression "uVar1 = FUN_00113dd0(param_2)" identifier = (call_expression "FUN_00113dd0(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "uVar2 = FUN_00113dd0(param_1,param_3);" (assignment_expression "uVar2 = FUN_00113dd0(param_1,param_3)" identifier = (call_expression "FUN_00113dd0(param_1,param_3)" identifier (argument_list "(param_1,param_3)" ( identifier , identifier )))) ;) (expression_statement "png_set_gamma_fixed(param_3,uVar2,uVar1);" (call_expression "png_set_gamma_fixed(param_3,uVar2,uVar1)" identifier (argument_list "(param_3,uVar2,uVar1)" ( 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) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void png_set_gamma(undefined8 param_1,undefined8 param_2,undefined8 param_3)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  uVar1 = FUN_00113dd0(param_2);\n  uVar2 = FUN_00113dd0(param_1,param_3);\n  png_set_gamma_fixed(param_3,uVar2,uVar1);\n  return;\n}" (primitive_type "void") (function_declarator "png_set_gamma(undefined8 param_1,undefined8 param_2,undefined8 param_3)" (identifier "png_set_gamma") (parameter_list "(undefined8 param_1,undefined8 param_2,undefined8 param_3)" (( "(") (parameter_declaration "undefined8 param_1" (type_identifier "undefined8") (identifier "param_1")) (, ",") (parameter_declaration "undefined8 param_2" (type_identifier "undefined8") (identifier "param_2")) (, ",") (parameter_declaration "undefined8 param_3" (type_identifier "undefined8") (identifier "param_3")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  uVar1 = FUN_00113dd0(param_2);\n  uVar2 = FUN_00113dd0(param_1,param_3);\n  png_set_gamma_fixed(param_3,uVar2,uVar1);\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (expression_statement "uVar1 = FUN_00113dd0(param_2);" (assignment_expression "uVar1 = FUN_00113dd0(param_2)" (identifier "uVar1") (= "=") (call_expression "FUN_00113dd0(param_2)" (identifier "FUN_00113dd0") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (expression_statement "uVar2 = FUN_00113dd0(param_1,param_3);" (assignment_expression "uVar2 = FUN_00113dd0(param_1,param_3)" (identifier "uVar2") (= "=") (call_expression "FUN_00113dd0(param_1,param_3)" (identifier "FUN_00113dd0") (argument_list "(param_1,param_3)" (( "(") (identifier "param_1") (, ",") (identifier "param_3") () ")")))) (; ";")) (expression_statement "png_set_gamma_fixed(param_3,uVar2,uVar1);" (call_expression "png_set_gamma_fixed(param_3,uVar2,uVar1)" (identifier "png_set_gamma_fixed") (argument_list "(param_3,uVar2,uVar1)" (( "(") (identifier "param_3") (, ",") (identifier "uVar2") (, ",") (identifier "uVar1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 png_ptr,double scrn_gamma,double file_gamma)

{
  type_2 file_gamma_00;
  type_2 scrn_gamma_00;
  
  file_gamma_00 = var_1(png_ptr,file_gamma);
  scrn_gamma_00 = var_1(png_ptr,scrn_gamma);
  var_2(png_ptr,scrn_gamma_00,file_gamma_00);
  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)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) (return_statement))))

void MASKED(undefined8 param_1,undefined8 param_2,undefined8 param_3)

{
  undefined4 uVar1;
  undefined4 uVar2;
  
  uVar1 = FUN_00113dd0(param_2);
  uVar2 = FUN_00113dd0(param_1,param_3);
  MASKED_fixed(param_3,uVar2,uVar1);
  return;
}

