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

void ResetQuantumState(QuantumInfo *quantum_info)

{
  if (quantum_info == (QuantumInfo *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x250,
                  "ResetQuantumState");
  }
  if (quantum_info->signature != 0xabacadab) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x251,
                  "ResetQuantumState");
  }
  (quantum_info->state).inverse_scale = 1.0;
  if (DAT_002df2d0 <= ABS(quantum_info->scale)) {
    (quantum_info->state).inverse_scale = 1.0 / quantum_info->scale;
  }
  (quantum_info->state).pixel = 0;
  (quantum_info->state).bits = 0;
  (quantum_info->state).mask = (uint *)mask_15282;
  return;
}



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

void FUN_001528a0(int param_1)

{
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x250,
                  "ResetQuantumState");
  }
  if (*(int *)(param_1 + 0x5c) != -0x54535255) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x251,
                  "ResetQuantumState");
  }
  *(undefined8 *)(param_1 + 0x44) = 0x3ff0000000000000;
  if (DAT_002df2d0 <= ABS(*(double *)(param_1 + 0x1c))) {
    *(double *)(param_1 + 0x44) = 1.0 / *(double *)(param_1 + 0x1c);
  }
  *(undefined4 *)(param_1 + 0x4c) = 0;
  *(undefined4 *)(param_1 + 0x50) = 0;
  *(undefined **)(param_1 + 0x54) = &DAT_003050e0;
  return;
}


PUSH EBX
CALL 0x00039d70
ADD EBX,0x2cb75a
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x10]
TEST EAX,EAX
JZ 0x00152908
CMP dword ptr [EAX + 0x5c],0xabacadab
JNZ 0x00152927
FLD1
FST qword ptr [EAX + 0x44]
FLD qword ptr [EAX + 0x1c]
FLD ST0
FABS
FLD qword ptr [EBX + 0xffec12d0]
FXCH
FUCOMIP ST0,ST1
FSTP ST0
JC 0x001528e8
FDIVP
FSTP qword ptr [EAX + 0x44]
JMP 0x001528ec
FSTP ST0
FSTP ST0
LEA EDX,[EBX + 0xffee70e0]
MOV dword ptr [EAX + 0x4c],0x0
MOV dword ptr [EAX + 0x50],0x0
MOV dword ptr [EAX + 0x54],EDX
ADD ESP,0x8
POP EBX
RET
LEA EAX,[EBX + 0xffee7160]
PUSH EAX
LEA EAX,[EBX + 0xffee6e18]
PUSH 0x250
PUSH EAX
LEA EAX,[EBX + 0xffee6e88]
PUSH EAX
CALL 0x000313d0
LEA EAX,[EBX + 0xffee7160]
PUSH EAX
LEA EAX,[EBX + 0xffee6e18]
PUSH 0x251
PUSH EAX
LEA EAX,[EBX + 0xffee6eb0]
PUSH EAX
CALL 0x000313d0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_001528a0(int param_1)\n\n{\n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x250,\n                  "ResetQuantumState");\n  }\n  if (*(int *)(param_1 + 0x5c) != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x251,\n                  "ResetQuantumState");\n  }\n  *(undefined8 *)(param_1 + 0x44) = 0x3ff0000000000000;\n  if (DAT_002df2d0 <= ABS(*(double *)(param_1 + 0x1c))) {\n    *(double *)(param_1 + 0x44) = 1.0 / *(double *)(param_1 + 0x1c);\n  }\n  *(undefined4 *)(param_1 + 0x4c) = 0;\n  *(undefined4 *)(param_1 + 0x50) = 0;\n  *(undefined **)(param_1 + 0x54) = &DAT_003050e0;\n  return;\n}\n\n" comment (function_definition "void FUN_001528a0(int param_1)\n\n{\n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x250,\n                  "ResetQuantumState");\n  }\n  if (*(int *)(param_1 + 0x5c) != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x251,\n                  "ResetQuantumState");\n  }\n  *(undefined8 *)(param_1 + 0x44) = 0x3ff0000000000000;\n  if (DAT_002df2d0 <= ABS(*(double *)(param_1 + 0x1c))) {\n    *(double *)(param_1 + 0x44) = 1.0 / *(double *)(param_1 + 0x1c);\n  }\n  *(undefined4 *)(param_1 + 0x4c) = 0;\n  *(undefined4 *)(param_1 + 0x50) = 0;\n  *(undefined **)(param_1 + 0x54) = &DAT_003050e0;\n  return;\n}" primitive_type (function_declarator "FUN_001528a0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x250,\n                  "ResetQuantumState");\n  }\n  if (*(int *)(param_1 + 0x5c) != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x251,\n                  "ResetQuantumState");\n  }\n  *(undefined8 *)(param_1 + 0x44) = 0x3ff0000000000000;\n  if (DAT_002df2d0 <= ABS(*(double *)(param_1 + 0x1c))) {\n    *(double *)(param_1 + 0x44) = 1.0 / *(double *)(param_1 + 0x1c);\n  }\n  *(undefined4 *)(param_1 + 0x4c) = 0;\n  *(undefined4 *)(param_1 + 0x50) = 0;\n  *(undefined **)(param_1 + 0x54) = &DAT_003050e0;\n  return;\n}" { (if_statement "if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x250,\n                  "ResetQuantumState");\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x250,\n                  "ResetQuantumState");\n  }" { comment (expression_statement "__assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x250,\n                  "ResetQuantumState");" (call_expression "__assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x250,\n                  "ResetQuantumState")" identifier (argument_list "("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x250,\n                  "ResetQuantumState")" ( (string_literal ""quantum_info != (QuantumInfo *) NULL"" " string_content ") , (string_literal ""MagickCore/quantum.c"" " string_content ") , number_literal , (string_literal ""ResetQuantumState"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x5c) != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x251,\n                  "ResetQuantumState");\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x5c) != -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x5c) != -0x54535255" (pointer_expression "*(int *)(param_1 + 0x5c)" * (cast_expression "(int *)(param_1 + 0x5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x5c)" ( (binary_expression "param_1 + 0x5c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x251,\n                  "ResetQuantumState");\n  }" { comment (expression_statement "__assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x251,\n                  "ResetQuantumState");" (call_expression "__assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x251,\n                  "ResetQuantumState")" identifier (argument_list "("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x251,\n                  "ResetQuantumState")" ( (string_literal ""quantum_info->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/quantum.c"" " string_content ") , number_literal , (string_literal ""ResetQuantumState"" " string_content ") ))) ;) })) (expression_statement "*(undefined8 *)(param_1 + 0x44) = 0x3ff0000000000000;" (assignment_expression "*(undefined8 *)(param_1 + 0x44) = 0x3ff0000000000000" (pointer_expression "*(undefined8 *)(param_1 + 0x44)" * (cast_expression "(undefined8 *)(param_1 + 0x44)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x44)" ( (binary_expression "param_1 + 0x44" identifier + number_literal) )))) = number_literal) ;) (if_statement "if (DAT_002df2d0 <= ABS(*(double *)(param_1 + 0x1c))) {\n    *(double *)(param_1 + 0x44) = 1.0 / *(double *)(param_1 + 0x1c);\n  }" if (parenthesized_expression "(DAT_002df2d0 <= ABS(*(double *)(param_1 + 0x1c)))" ( (binary_expression "DAT_002df2d0 <= ABS(*(double *)(param_1 + 0x1c))" identifier <= (call_expression "ABS(*(double *)(param_1 + 0x1c))" identifier (argument_list "(*(double *)(param_1 + 0x1c))" ( (pointer_expression "*(double *)(param_1 + 0x1c)" * (cast_expression "(double *)(param_1 + 0x1c)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) )))) )) (compound_statement "{\n    *(double *)(param_1 + 0x44) = 1.0 / *(double *)(param_1 + 0x1c);\n  }" { (expression_statement "*(double *)(param_1 + 0x44) = 1.0 / *(double *)(param_1 + 0x1c);" (assignment_expression "*(double *)(param_1 + 0x44) = 1.0 / *(double *)(param_1 + 0x1c)" (pointer_expression "*(double *)(param_1 + 0x44)" * (cast_expression "(double *)(param_1 + 0x44)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x44)" ( (binary_expression "param_1 + 0x44" identifier + number_literal) )))) = (binary_expression "1.0 / *(double *)(param_1 + 0x1c)" number_literal / (pointer_expression "*(double *)(param_1 + 0x1c)" * (cast_expression "(double *)(param_1 + 0x1c)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))))) ;) })) (expression_statement "*(undefined4 *)(param_1 + 0x4c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x4c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x4c)" * (cast_expression "(undefined4 *)(param_1 + 0x4c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x4c)" ( (binary_expression "param_1 + 0x4c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x50) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x50) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x50)" * (cast_expression "(undefined4 *)(param_1 + 0x50)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined **)(param_1 + 0x54) = &DAT_003050e0;" (assignment_expression "*(undefined **)(param_1 + 0x54) = &DAT_003050e0" (pointer_expression "*(undefined **)(param_1 + 0x54)" * (cast_expression "(undefined **)(param_1 + 0x54)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x54)" ( (binary_expression "param_1 + 0x54" identifier + number_literal) )))) = (pointer_expression "&DAT_003050e0" & identifier)) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid ResetQuantumState(QuantumInfo *quantum_info)\n\n{\n  if (quantum_info == (QuantumInfo *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x250,\n                  "ResetQuantumState");\n  }\n  if (quantum_info->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x251,\n                  "ResetQuantumState");\n  }\n  (quantum_info->state).inverse_scale = 1.0;\n  if (DAT_002df2d0 <= ABS(quantum_info->scale)) {\n    (quantum_info->state).inverse_scale = 1.0 / quantum_info->scale;\n  }\n  (quantum_info->state).pixel = 0;\n  (quantum_info->state).bits = 0;\n  (quantum_info->state).mask = (uint *)mask_15282;\n  return;\n}\n\n" comment comment (function_definition "void ResetQuantumState(QuantumInfo *quantum_info)\n\n{\n  if (quantum_info == (QuantumInfo *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x250,\n                  "ResetQuantumState");\n  }\n  if (quantum_info->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x251,\n                  "ResetQuantumState");\n  }\n  (quantum_info->state).inverse_scale = 1.0;\n  if (DAT_002df2d0 <= ABS(quantum_info->scale)) {\n    (quantum_info->state).inverse_scale = 1.0 / quantum_info->scale;\n  }\n  (quantum_info->state).pixel = 0;\n  (quantum_info->state).bits = 0;\n  (quantum_info->state).mask = (uint *)mask_15282;\n  return;\n}" primitive_type (function_declarator "ResetQuantumState(QuantumInfo *quantum_info)" identifier (parameter_list "(QuantumInfo *quantum_info)" ( (parameter_declaration "QuantumInfo *quantum_info" type_identifier (pointer_declarator "*quantum_info" * identifier)) ))) (compound_statement "{\n  if (quantum_info == (QuantumInfo *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x250,\n                  "ResetQuantumState");\n  }\n  if (quantum_info->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x251,\n                  "ResetQuantumState");\n  }\n  (quantum_info->state).inverse_scale = 1.0;\n  if (DAT_002df2d0 <= ABS(quantum_info->scale)) {\n    (quantum_info->state).inverse_scale = 1.0 / quantum_info->scale;\n  }\n  (quantum_info->state).pixel = 0;\n  (quantum_info->state).bits = 0;\n  (quantum_info->state).mask = (uint *)mask_15282;\n  return;\n}" { (if_statement "if (quantum_info == (QuantumInfo *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x250,\n                  "ResetQuantumState");\n  }" if (parenthesized_expression "(quantum_info == (QuantumInfo *)0x0)" ( (binary_expression "quantum_info == (QuantumInfo *)0x0" identifier == (cast_expression "(QuantumInfo *)0x0" ( (type_descriptor "QuantumInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x250,\n                  "ResetQuantumState");\n  }" { comment (expression_statement "__assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x250,\n                  "ResetQuantumState");" (call_expression "__assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x250,\n                  "ResetQuantumState")" identifier (argument_list "("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x250,\n                  "ResetQuantumState")" ( (string_literal ""quantum_info != (QuantumInfo *) NULL"" " string_content ") , (string_literal ""MagickCore/quantum.c"" " string_content ") , number_literal , (string_literal ""ResetQuantumState"" " string_content ") ))) ;) })) (if_statement "if (quantum_info->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x251,\n                  "ResetQuantumState");\n  }" if (parenthesized_expression "(quantum_info->signature != 0xabacadab)" ( (binary_expression "quantum_info->signature != 0xabacadab" (field_expression "quantum_info->signature" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x251,\n                  "ResetQuantumState");\n  }" { comment (expression_statement "__assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x251,\n                  "ResetQuantumState");" (call_expression "__assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x251,\n                  "ResetQuantumState")" identifier (argument_list "("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x251,\n                  "ResetQuantumState")" ( (string_literal ""quantum_info->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/quantum.c"" " string_content ") , number_literal , (string_literal ""ResetQuantumState"" " string_content ") ))) ;) })) (expression_statement "(quantum_info->state).inverse_scale = 1.0;" (assignment_expression "(quantum_info->state).inverse_scale = 1.0" (field_expression "(quantum_info->state).inverse_scale" (parenthesized_expression "(quantum_info->state)" ( (field_expression "quantum_info->state" identifier -> field_identifier) )) . field_identifier) = number_literal) ;) (if_statement "if (DAT_002df2d0 <= ABS(quantum_info->scale)) {\n    (quantum_info->state).inverse_scale = 1.0 / quantum_info->scale;\n  }" if (parenthesized_expression "(DAT_002df2d0 <= ABS(quantum_info->scale))" ( (binary_expression "DAT_002df2d0 <= ABS(quantum_info->scale)" identifier <= (call_expression "ABS(quantum_info->scale)" identifier (argument_list "(quantum_info->scale)" ( (field_expression "quantum_info->scale" identifier -> field_identifier) )))) )) (compound_statement "{\n    (quantum_info->state).inverse_scale = 1.0 / quantum_info->scale;\n  }" { (expression_statement "(quantum_info->state).inverse_scale = 1.0 / quantum_info->scale;" (assignment_expression "(quantum_info->state).inverse_scale = 1.0 / quantum_info->scale" (field_expression "(quantum_info->state).inverse_scale" (parenthesized_expression "(quantum_info->state)" ( (field_expression "quantum_info->state" identifier -> field_identifier) )) . field_identifier) = (binary_expression "1.0 / quantum_info->scale" number_literal / (field_expression "quantum_info->scale" identifier -> field_identifier))) ;) })) (expression_statement "(quantum_info->state).pixel = 0;" (assignment_expression "(quantum_info->state).pixel = 0" (field_expression "(quantum_info->state).pixel" (parenthesized_expression "(quantum_info->state)" ( (field_expression "quantum_info->state" identifier -> field_identifier) )) . field_identifier) = number_literal) ;) (expression_statement "(quantum_info->state).bits = 0;" (assignment_expression "(quantum_info->state).bits = 0" (field_expression "(quantum_info->state).bits" (parenthesized_expression "(quantum_info->state)" ( (field_expression "quantum_info->state" identifier -> field_identifier) )) . field_identifier) = number_literal) ;) (expression_statement "(quantum_info->state).mask = (uint *)mask_15282;" (assignment_expression "(quantum_info->state).mask = (uint *)mask_15282" (field_expression "(quantum_info->state).mask" (parenthesized_expression "(quantum_info->state)" ( (field_expression "quantum_info->state" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(uint *)mask_15282" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_001528a0(int param_1)\n\n{\n  if (param_1 == 0) {\n                    \n    __assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x250,\n                  "ResetQuantumState");\n  }\n  if (*(int *)(param_1 + 0x5c) != -0x54535255) {\n                    \n    __assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x251,\n                  "ResetQuantumState");\n  }\n  *(undefined8 *)(param_1 + 0x44) = 0x3ff0000000000000;\n  if (DAT_002df2d0 <= ABS(*(double *)(param_1 + 0x1c))) {\n    *(double *)(param_1 + 0x44) = 1.0 / *(double *)(param_1 + 0x1c);\n  }\n  *(undefined4 *)(param_1 + 0x4c) = 0;\n  *(undefined4 *)(param_1 + 0x50) = 0;\n  *(undefined **)(param_1 + 0x54) = &DAT_003050e0;\n  return;\n}\n\n" (function_definition "void FUN_001528a0(int param_1)\n\n{\n  if (param_1 == 0) {\n                    \n    __assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x250,\n                  "ResetQuantumState");\n  }\n  if (*(int *)(param_1 + 0x5c) != -0x54535255) {\n                    \n    __assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x251,\n                  "ResetQuantumState");\n  }\n  *(undefined8 *)(param_1 + 0x44) = 0x3ff0000000000000;\n  if (DAT_002df2d0 <= ABS(*(double *)(param_1 + 0x1c))) {\n    *(double *)(param_1 + 0x44) = 1.0 / *(double *)(param_1 + 0x1c);\n  }\n  *(undefined4 *)(param_1 + 0x4c) = 0;\n  *(undefined4 *)(param_1 + 0x50) = 0;\n  *(undefined **)(param_1 + 0x54) = &DAT_003050e0;\n  return;\n}" primitive_type (function_declarator "FUN_001528a0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  if (param_1 == 0) {\n                    \n    __assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x250,\n                  "ResetQuantumState");\n  }\n  if (*(int *)(param_1 + 0x5c) != -0x54535255) {\n                    \n    __assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x251,\n                  "ResetQuantumState");\n  }\n  *(undefined8 *)(param_1 + 0x44) = 0x3ff0000000000000;\n  if (DAT_002df2d0 <= ABS(*(double *)(param_1 + 0x1c))) {\n    *(double *)(param_1 + 0x44) = 1.0 / *(double *)(param_1 + 0x1c);\n  }\n  *(undefined4 *)(param_1 + 0x4c) = 0;\n  *(undefined4 *)(param_1 + 0x50) = 0;\n  *(undefined **)(param_1 + 0x54) = &DAT_003050e0;\n  return;\n}" { (if_statement "if (param_1 == 0) {\n                    \n    __assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x250,\n                  "ResetQuantumState");\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    __assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x250,\n                  "ResetQuantumState");\n  }" { (expression_statement "__assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x250,\n                  "ResetQuantumState");" (call_expression "__assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x250,\n                  "ResetQuantumState")" identifier (argument_list "("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x250,\n                  "ResetQuantumState")" ( (string_literal ""quantum_info != (QuantumInfo *) NULL"" " string_content ") , (string_literal ""MagickCore/quantum.c"" " string_content ") , number_literal , (string_literal ""ResetQuantumState"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x5c) != -0x54535255) {\n                    \n    __assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x251,\n                  "ResetQuantumState");\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x5c) != -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x5c) != -0x54535255" (pointer_expression "*(int *)(param_1 + 0x5c)" * (cast_expression "(int *)(param_1 + 0x5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x5c)" ( (binary_expression "param_1 + 0x5c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                    \n    __assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x251,\n                  "ResetQuantumState");\n  }" { (expression_statement "__assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x251,\n                  "ResetQuantumState");" (call_expression "__assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x251,\n                  "ResetQuantumState")" identifier (argument_list "("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x251,\n                  "ResetQuantumState")" ( (string_literal ""quantum_info->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/quantum.c"" " string_content ") , number_literal , (string_literal ""ResetQuantumState"" " string_content ") ))) ;) })) (expression_statement "*(undefined8 *)(param_1 + 0x44) = 0x3ff0000000000000;" (assignment_expression "*(undefined8 *)(param_1 + 0x44) = 0x3ff0000000000000" (pointer_expression "*(undefined8 *)(param_1 + 0x44)" * (cast_expression "(undefined8 *)(param_1 + 0x44)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x44)" ( (binary_expression "param_1 + 0x44" identifier + number_literal) )))) = number_literal) ;) (if_statement "if (DAT_002df2d0 <= ABS(*(double *)(param_1 + 0x1c))) {\n    *(double *)(param_1 + 0x44) = 1.0 / *(double *)(param_1 + 0x1c);\n  }" if (parenthesized_expression "(DAT_002df2d0 <= ABS(*(double *)(param_1 + 0x1c)))" ( (binary_expression "DAT_002df2d0 <= ABS(*(double *)(param_1 + 0x1c))" identifier <= (call_expression "ABS(*(double *)(param_1 + 0x1c))" identifier (argument_list "(*(double *)(param_1 + 0x1c))" ( (pointer_expression "*(double *)(param_1 + 0x1c)" * (cast_expression "(double *)(param_1 + 0x1c)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) )))) )) (compound_statement "{\n    *(double *)(param_1 + 0x44) = 1.0 / *(double *)(param_1 + 0x1c);\n  }" { (expression_statement "*(double *)(param_1 + 0x44) = 1.0 / *(double *)(param_1 + 0x1c);" (assignment_expression "*(double *)(param_1 + 0x44) = 1.0 / *(double *)(param_1 + 0x1c)" (pointer_expression "*(double *)(param_1 + 0x44)" * (cast_expression "(double *)(param_1 + 0x44)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x44)" ( (binary_expression "param_1 + 0x44" identifier + number_literal) )))) = (binary_expression "1.0 / *(double *)(param_1 + 0x1c)" number_literal / (pointer_expression "*(double *)(param_1 + 0x1c)" * (cast_expression "(double *)(param_1 + 0x1c)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))))) ;) })) (expression_statement "*(undefined4 *)(param_1 + 0x4c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x4c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x4c)" * (cast_expression "(undefined4 *)(param_1 + 0x4c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x4c)" ( (binary_expression "param_1 + 0x4c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x50) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x50) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x50)" * (cast_expression "(undefined4 *)(param_1 + 0x50)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined **)(param_1 + 0x54) = &DAT_003050e0;" (assignment_expression "*(undefined **)(param_1 + 0x54) = &DAT_003050e0" (pointer_expression "*(undefined **)(param_1 + 0x54)" * (cast_expression "(undefined **)(param_1 + 0x54)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x54)" ( (binary_expression "param_1 + 0x54" identifier + number_literal) )))) = (pointer_expression "&DAT_003050e0" & identifier)) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression LIT / (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression & IDENT)) ;) (return_statement return ;) })))
(function_definition "void FUN_001528a0(int param_1)\n\n{\n  if (param_1 == 0) {\n                    \n    __assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x250,\n                  "ResetQuantumState");\n  }\n  if (*(int *)(param_1 + 0x5c) != -0x54535255) {\n                    \n    __assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x251,\n                  "ResetQuantumState");\n  }\n  *(undefined8 *)(param_1 + 0x44) = 0x3ff0000000000000;\n  if (DAT_002df2d0 <= ABS(*(double *)(param_1 + 0x1c))) {\n    *(double *)(param_1 + 0x44) = 1.0 / *(double *)(param_1 + 0x1c);\n  }\n  *(undefined4 *)(param_1 + 0x4c) = 0;\n  *(undefined4 *)(param_1 + 0x50) = 0;\n  *(undefined **)(param_1 + 0x54) = &DAT_003050e0;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001528a0(int param_1)" (identifier "FUN_001528a0") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  if (param_1 == 0) {\n                    \n    __assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x250,\n                  "ResetQuantumState");\n  }\n  if (*(int *)(param_1 + 0x5c) != -0x54535255) {\n                    \n    __assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x251,\n                  "ResetQuantumState");\n  }\n  *(undefined8 *)(param_1 + 0x44) = 0x3ff0000000000000;\n  if (DAT_002df2d0 <= ABS(*(double *)(param_1 + 0x1c))) {\n    *(double *)(param_1 + 0x44) = 1.0 / *(double *)(param_1 + 0x1c);\n  }\n  *(undefined4 *)(param_1 + 0x4c) = 0;\n  *(undefined4 *)(param_1 + 0x50) = 0;\n  *(undefined **)(param_1 + 0x54) = &DAT_003050e0;\n  return;\n}" ({ "{") (if_statement "if (param_1 == 0) {\n                    \n    __assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x250,\n                  "ResetQuantumState");\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    __assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x250,\n                  "ResetQuantumState");\n  }" ({ "{") (expression_statement "__assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x250,\n                  "ResetQuantumState");" (call_expression "__assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x250,\n                  "ResetQuantumState")" (identifier "__assert_fail") (argument_list "("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x250,\n                  "ResetQuantumState")" (( "(") (string_literal ""quantum_info != (QuantumInfo *) NULL"" (" """) (string_content "quantum_info != (QuantumInfo *) NULL") (" """)) (, ",") (string_literal ""MagickCore/quantum.c"" (" """) (string_content "MagickCore/quantum.c") (" """)) (, ",") (number_literal "0x250") (, ",") (string_literal ""ResetQuantumState"" (" """) (string_content "ResetQuantumState") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x5c) != -0x54535255) {\n                    \n    __assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x251,\n                  "ResetQuantumState");\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x5c) != -0x54535255)" (( "(") (binary_expression "*(int *)(param_1 + 0x5c) != -0x54535255" (pointer_expression "*(int *)(param_1 + 0x5c)" (* "*") (cast_expression "(int *)(param_1 + 0x5c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x5c)" (( "(") (binary_expression "param_1 + 0x5c" (identifier "param_1") (+ "+") (number_literal "0x5c")) () ")")))) (!= "!=") (number_literal "-0x54535255")) () ")")) (compound_statement "{\n                    \n    __assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x251,\n                  "ResetQuantumState");\n  }" ({ "{") (expression_statement "__assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x251,\n                  "ResetQuantumState");" (call_expression "__assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x251,\n                  "ResetQuantumState")" (identifier "__assert_fail") (argument_list "("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x251,\n                  "ResetQuantumState")" (( "(") (string_literal ""quantum_info->signature == MagickCoreSignature"" (" """) (string_content "quantum_info->signature == MagickCoreSignature") (" """)) (, ",") (string_literal ""MagickCore/quantum.c"" (" """) (string_content "MagickCore/quantum.c") (" """)) (, ",") (number_literal "0x251") (, ",") (string_literal ""ResetQuantumState"" (" """) (string_content "ResetQuantumState") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "*(undefined8 *)(param_1 + 0x44) = 0x3ff0000000000000;" (assignment_expression "*(undefined8 *)(param_1 + 0x44) = 0x3ff0000000000000" (pointer_expression "*(undefined8 *)(param_1 + 0x44)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x44)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x44)" (( "(") (binary_expression "param_1 + 0x44" (identifier "param_1") (+ "+") (number_literal "0x44")) () ")")))) (= "=") (number_literal "0x3ff0000000000000")) (; ";")) (if_statement "if (DAT_002df2d0 <= ABS(*(double *)(param_1 + 0x1c))) {\n    *(double *)(param_1 + 0x44) = 1.0 / *(double *)(param_1 + 0x1c);\n  }" (if "if") (parenthesized_expression "(DAT_002df2d0 <= ABS(*(double *)(param_1 + 0x1c)))" (( "(") (binary_expression "DAT_002df2d0 <= ABS(*(double *)(param_1 + 0x1c))" (identifier "DAT_002df2d0") (<= "<=") (call_expression "ABS(*(double *)(param_1 + 0x1c))" (identifier "ABS") (argument_list "(*(double *)(param_1 + 0x1c))" (( "(") (pointer_expression "*(double *)(param_1 + 0x1c)" (* "*") (cast_expression "(double *)(param_1 + 0x1c)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) () ")")))) () ")")) (compound_statement "{\n    *(double *)(param_1 + 0x44) = 1.0 / *(double *)(param_1 + 0x1c);\n  }" ({ "{") (expression_statement "*(double *)(param_1 + 0x44) = 1.0 / *(double *)(param_1 + 0x1c);" (assignment_expression "*(double *)(param_1 + 0x44) = 1.0 / *(double *)(param_1 + 0x1c)" (pointer_expression "*(double *)(param_1 + 0x44)" (* "*") (cast_expression "(double *)(param_1 + 0x44)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x44)" (( "(") (binary_expression "param_1 + 0x44" (identifier "param_1") (+ "+") (number_literal "0x44")) () ")")))) (= "=") (binary_expression "1.0 / *(double *)(param_1 + 0x1c)" (number_literal "1.0") (/ "/") (pointer_expression "*(double *)(param_1 + 0x1c)" (* "*") (cast_expression "(double *)(param_1 + 0x1c)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))))) (; ";")) (} "}"))) (expression_statement "*(undefined4 *)(param_1 + 0x4c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x4c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x4c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x4c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x4c)" (( "(") (binary_expression "param_1 + 0x4c" (identifier "param_1") (+ "+") (number_literal "0x4c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x50) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x50) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x50)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x50)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x50)" (( "(") (binary_expression "param_1 + 0x50" (identifier "param_1") (+ "+") (number_literal "0x50")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined **)(param_1 + 0x54) = &DAT_003050e0;" (assignment_expression "*(undefined **)(param_1 + 0x54) = &DAT_003050e0" (pointer_expression "*(undefined **)(param_1 + 0x54)" (* "*") (cast_expression "(undefined **)(param_1 + 0x54)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x54)" (( "(") (binary_expression "param_1 + 0x54" (identifier "param_1") (+ "+") (number_literal "0x54")) () ")")))) (= "=") (pointer_expression "&DAT_003050e0" (& "&") (identifier "DAT_003050e0"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(type_1 *var_1)

{
  if (var_1 == (type_1 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_2("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x250,
                  "ResetQuantumState");
  }
  if (var_1->signature != 0xabacadab) {
                    /* WARNING: Subroutine does not return */
    var_2("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x251,
                  "ResetQuantumState");
  }
  (var_1->state).inverse_scale = 1.0;
  if (var_3 <= var_4(var_1->scale)) {
    (var_1->state).inverse_scale = 1.0 / var_1->scale;
  }
  (var_1->state).pixel = 0;
  (var_1->state).bits = 0;
  (var_1->state).mask = (type_2 *)mask_15282;
  return;
}


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

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

void MASKED(int param_1)

{
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x250,
                  "ResetQuantumState");
  }
  if (*(int *)(param_1 + 0x5c) != -0x54535255) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x251,
                  "ResetQuantumState");
  }
  *(undefined8 *)(param_1 + 0x44) = 0x3ff0000000000000;
  if (DAT_002df2d0 <= ABS(*(double *)(param_1 + 0x1c))) {
    *(double *)(param_1 + 0x44) = 1.0 / *(double *)(param_1 + 0x1c);
  }
  *(undefined4 *)(param_1 + 0x4c) = 0;
  *(undefined4 *)(param_1 + 0x50) = 0;
  *(undefined **)(param_1 + 0x54) = &DAT_003050e0;
  return;
}

