
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "GravityType": Some values do not have unique names */
/* WARNING: Enum "DisposeType": Some values do not have unique names */
/* WARNING: Enum "ChannelType": Some values do not have unique names */
/* WARNING: Enum "PixelChannel": Some values do not have unique names */
/* WARNING: Enum "ExceptionType": Some values do not have unique names */
/* WARNING: Enum "ComplianceType": Some values do not have unique names */

void __regparm2 DrawPathLineToHorizontal(DrawingWand *wand,PathMode mode,double x)

{
  undefined4 uVar1;
  
  if (wand == (DrawingWand *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xe34,
                  "DrawPathLineToHorizontal");
  }
  if (wand->signature == 0xabacadab) {
    if (wand->debug != MagickFalse) {
      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathLineToHorizontal",0xe37,"%s",
                     wand->name);
    }
    if ((wand->path_operation == PathLineToHorizontalOperation) && (wand->path_mode == mode)) {
      MVGAutoWrapPrintf(wand," %.20g",x);
    }
    else {
      wand->path_mode = mode;
      uVar1 = 0x48;
      if (mode != AbsolutePathMode) {
        uVar1 = 0x68;
      }
      wand->path_operation = PathLineToHorizontalOperation;
      MVGAutoWrapPrintf(wand,"%c%.20g",uVar1,x);
    }
    return;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0xe35,
                "DrawPathLineToHorizontal");
}



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

void __regparm2 FUN_00057f10(int param_1,int param_2,undefined8 param_3)

{
  undefined4 uVar1;
  
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xe34,
                  "DrawPathLineToHorizontal");
  }
  if (*(int *)(param_1 + 0x1054) == -0x54535255) {
    if (*(int *)(param_1 + 0x1050) != 0) {
      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathLineToHorizontal",0xe37,"%s",
                     param_1 + 4);
    }
    if ((*(int *)(param_1 + 0x1044) == 7) && (*(int *)(param_1 + 0x1048) == param_2)) {
      FUN_00057440();
    }
    else {
      *(int *)(param_1 + 0x1048) = param_2;
      uVar1 = 0x48;
      if (param_2 != 1) {
        uVar1 = 0x68;
      }
      *(undefined4 *)(param_1 + 0x1044) = 7;
      FUN_00057440(param_1,"%c%.20g",uVar1,param_3);
    }
    return;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0xe35,
                "DrawPathLineToHorizontal");
}


PUSH ESI
PUSH EBX
CALL 0x0001e8f0
ADD EBX,0x10e0e9
SUB ESP,0x14
FLD qword ptr [ESP + 0x20]
TEST EAX,EAX
JZ 0x00057ff3
CMP dword ptr [EAX + 0x1054],0xabacadab
MOV ESI,EAX
JNZ 0x00058014
MOV EAX,dword ptr [EAX + 0x1050]
TEST EAX,EAX
JNZ 0x00057fb0
CMP dword ptr [ESI + 0x1044],0x7
JZ 0x00057f90
MOV dword ptr [ESI + 0x1048],EDX
CMP EDX,0x1
MOV EAX,0x48
MOV EDX,0x68
CMOVNZ EAX,EDX
SUB ESP,0x14
MOV dword ptr [ESI + 0x1044],0x7
FSTP qword ptr [ESP]
PUSH EAX
LEA EAX,[EBX + 0xfff89ebe]
PUSH EAX
PUSH ESI
CALL 0x00057440
ADD ESP,0x20
ADD ESP,0x14
POP EBX
POP ESI
RET
CMP dword ptr [ESI + 0x1048],EDX
JNZ 0x00057f51
SUB ESP,0x8
LEA EAX,[EBX + 0xfff89ea9]
FSTP qword ptr [ESP]
PUSH EAX
PUSH ESI
CALL 0x00057440
ADD ESP,0x10
JMP 0x00057f88
FSTP qword ptr [ESP + 0x8]
LEA EAX,[ESI + 0x4]
SUB ESP,0x8
MOV dword ptr [ESP + 0xc],EDX
PUSH EAX
LEA EAX,[EBX + 0xfff92fa4]
PUSH EAX
LEA EAX,[EBX + 0xfff8b4c8]
PUSH 0xe37
PUSH EAX
LEA EAX,[EBX + 0xfff89e38]
PUSH EAX
PUSH 0x40000
CALL 0x0001d6f0
ADD ESP,0x20
FLD qword ptr [ESP + 0x8]
MOV EDX,dword ptr [ESP + 0x4]
JMP 0x00057f48
FSTP ST0
LEA EAX,[EBX + 0xfff8b4e4]
PUSH EAX
LEA EAX,[EBX + 0xfff89e38]
PUSH 0xe34
PUSH EAX
LEA EAX,[EBX + 0xfff89e52]
PUSH EAX
CALL 0x0001ccf0
FSTP ST0
LEA EAX,[EBX + 0xfff8b4e4]
PUSH EAX
LEA EAX,[EBX + 0xfff89e38]
PUSH 0xe35
PUSH EAX
LEA EAX,[EBX + 0xfff8e9f8]
PUSH EAX
CALL 0x0001ccf0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm2 FUN_00057f10(int param_1,int param_2,undefined8 param_3)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xe34,\n                  "DrawPathLineToHorizontal");\n  }\n  if (*(int *)(param_1 + 0x1054) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1050) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathLineToHorizontal",0xe37,"%s",\n                     param_1 + 4);\n    }\n    if ((*(int *)(param_1 + 0x1044) == 7) && (*(int *)(param_1 + 0x1048) == param_2)) {\n      FUN_00057440();\n    }\n    else {\n      *(int *)(param_1 + 0x1048) = param_2;\n      uVar1 = 0x48;\n      if (param_2 != 1) {\n        uVar1 = 0x68;\n      }\n      *(undefined4 *)(param_1 + 0x1044) = 7;\n      FUN_00057440(param_1,"%c%.20g",uVar1,param_3);\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0xe35,\n                "DrawPathLineToHorizontal");\n}\n\n" comment (function_definition "void __regparm2 FUN_00057f10(int param_1,int param_2,undefined8 param_3)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xe34,\n                  "DrawPathLineToHorizontal");\n  }\n  if (*(int *)(param_1 + 0x1054) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1050) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathLineToHorizontal",0xe37,"%s",\n                     param_1 + 4);\n    }\n    if ((*(int *)(param_1 + 0x1044) == 7) && (*(int *)(param_1 + 0x1048) == param_2)) {\n      FUN_00057440();\n    }\n    else {\n      *(int *)(param_1 + 0x1048) = param_2;\n      uVar1 = 0x48;\n      if (param_2 != 1) {\n        uVar1 = 0x68;\n      }\n      *(undefined4 *)(param_1 + 0x1044) = 7;\n      FUN_00057440(param_1,"%c%.20g",uVar1,param_3);\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0xe35,\n                "DrawPathLineToHorizontal");\n}" primitive_type (ERROR "__regparm2" identifier) (function_declarator "FUN_00057f10(int param_1,int param_2,undefined8 param_3)" identifier (parameter_list "(int param_1,int param_2,undefined8 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xe34,\n                  "DrawPathLineToHorizontal");\n  }\n  if (*(int *)(param_1 + 0x1054) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1050) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathLineToHorizontal",0xe37,"%s",\n                     param_1 + 4);\n    }\n    if ((*(int *)(param_1 + 0x1044) == 7) && (*(int *)(param_1 + 0x1048) == param_2)) {\n      FUN_00057440();\n    }\n    else {\n      *(int *)(param_1 + 0x1048) = param_2;\n      uVar1 = 0x48;\n      if (param_2 != 1) {\n        uVar1 = 0x68;\n      }\n      *(undefined4 *)(param_1 + 0x1044) = 7;\n      FUN_00057440(param_1,"%c%.20g",uVar1,param_3);\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0xe35,\n                "DrawPathLineToHorizontal");\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xe34,\n                  "DrawPathLineToHorizontal");\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("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xe34,\n                  "DrawPathLineToHorizontal");\n  }" { comment (expression_statement "__assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xe34,\n                  "DrawPathLineToHorizontal");" (call_expression "__assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xe34,\n                  "DrawPathLineToHorizontal")" identifier (argument_list "("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xe34,\n                  "DrawPathLineToHorizontal")" ( (string_literal ""wand != (DrawingWand *) NULL"" " string_content ") , (string_literal ""MagickWand/drawing-wand.c"" " string_content ") , number_literal , (string_literal ""DrawPathLineToHorizontal"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x1054) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1050) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathLineToHorizontal",0xe37,"%s",\n                     param_1 + 4);\n    }\n    if ((*(int *)(param_1 + 0x1044) == 7) && (*(int *)(param_1 + 0x1048) == param_2)) {\n      FUN_00057440();\n    }\n    else {\n      *(int *)(param_1 + 0x1048) = param_2;\n      uVar1 = 0x48;\n      if (param_2 != 1) {\n        uVar1 = 0x68;\n      }\n      *(undefined4 *)(param_1 + 0x1044) = 7;\n      FUN_00057440(param_1,"%c%.20g",uVar1,param_3);\n    }\n    return;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x1054) == -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x1054) == -0x54535255" (pointer_expression "*(int *)(param_1 + 0x1054)" * (cast_expression "(int *)(param_1 + 0x1054)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1054)" ( (binary_expression "param_1 + 0x1054" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    if (*(int *)(param_1 + 0x1050) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathLineToHorizontal",0xe37,"%s",\n                     param_1 + 4);\n    }\n    if ((*(int *)(param_1 + 0x1044) == 7) && (*(int *)(param_1 + 0x1048) == param_2)) {\n      FUN_00057440();\n    }\n    else {\n      *(int *)(param_1 + 0x1048) = param_2;\n      uVar1 = 0x48;\n      if (param_2 != 1) {\n        uVar1 = 0x68;\n      }\n      *(undefined4 *)(param_1 + 0x1044) = 7;\n      FUN_00057440(param_1,"%c%.20g",uVar1,param_3);\n    }\n    return;\n  }" { (if_statement "if (*(int *)(param_1 + 0x1050) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathLineToHorizontal",0xe37,"%s",\n                     param_1 + 4);\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0x1050) != 0)" ( (binary_expression "*(int *)(param_1 + 0x1050) != 0" (pointer_expression "*(int *)(param_1 + 0x1050)" * (cast_expression "(int *)(param_1 + 0x1050)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1050)" ( (binary_expression "param_1 + 0x1050" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathLineToHorizontal",0xe37,"%s",\n                     param_1 + 4);\n    }" { (expression_statement "LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathLineToHorizontal",0xe37,"%s",\n                     param_1 + 4);" (call_expression "LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathLineToHorizontal",0xe37,"%s",\n                     param_1 + 4)" identifier (argument_list "(0x40000,"MagickWand/drawing-wand.c","DrawPathLineToHorizontal",0xe37,"%s",\n                     param_1 + 4)" ( number_literal , (string_literal ""MagickWand/drawing-wand.c"" " string_content ") , (string_literal ""DrawPathLineToHorizontal"" " string_content ") , number_literal , (string_literal ""%s"" " string_content ") , (binary_expression "param_1 + 4" identifier + number_literal) ))) ;) })) (if_statement "if ((*(int *)(param_1 + 0x1044) == 7) && (*(int *)(param_1 + 0x1048) == param_2)) {\n      FUN_00057440();\n    }\n    else {\n      *(int *)(param_1 + 0x1048) = param_2;\n      uVar1 = 0x48;\n      if (param_2 != 1) {\n        uVar1 = 0x68;\n      }\n      *(undefined4 *)(param_1 + 0x1044) = 7;\n      FUN_00057440(param_1,"%c%.20g",uVar1,param_3);\n    }" if (parenthesized_expression "((*(int *)(param_1 + 0x1044) == 7) && (*(int *)(param_1 + 0x1048) == param_2))" ( (binary_expression "(*(int *)(param_1 + 0x1044) == 7) && (*(int *)(param_1 + 0x1048) == param_2)" (parenthesized_expression "(*(int *)(param_1 + 0x1044) == 7)" ( (binary_expression "*(int *)(param_1 + 0x1044) == 7" (pointer_expression "*(int *)(param_1 + 0x1044)" * (cast_expression "(int *)(param_1 + 0x1044)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1044)" ( (binary_expression "param_1 + 0x1044" identifier + number_literal) )))) == number_literal) )) && (parenthesized_expression "(*(int *)(param_1 + 0x1048) == param_2)" ( (binary_expression "*(int *)(param_1 + 0x1048) == param_2" (pointer_expression "*(int *)(param_1 + 0x1048)" * (cast_expression "(int *)(param_1 + 0x1048)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1048)" ( (binary_expression "param_1 + 0x1048" identifier + number_literal) )))) == identifier) ))) )) (compound_statement "{\n      FUN_00057440();\n    }" { (expression_statement "FUN_00057440();" (call_expression "FUN_00057440()" identifier (argument_list "()" ( ))) ;) }) (else_clause "else {\n      *(int *)(param_1 + 0x1048) = param_2;\n      uVar1 = 0x48;\n      if (param_2 != 1) {\n        uVar1 = 0x68;\n      }\n      *(undefined4 *)(param_1 + 0x1044) = 7;\n      FUN_00057440(param_1,"%c%.20g",uVar1,param_3);\n    }" else (compound_statement "{\n      *(int *)(param_1 + 0x1048) = param_2;\n      uVar1 = 0x48;\n      if (param_2 != 1) {\n        uVar1 = 0x68;\n      }\n      *(undefined4 *)(param_1 + 0x1044) = 7;\n      FUN_00057440(param_1,"%c%.20g",uVar1,param_3);\n    }" { (expression_statement "*(int *)(param_1 + 0x1048) = param_2;" (assignment_expression "*(int *)(param_1 + 0x1048) = param_2" (pointer_expression "*(int *)(param_1 + 0x1048)" * (cast_expression "(int *)(param_1 + 0x1048)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1048)" ( (binary_expression "param_1 + 0x1048" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar1 = 0x48;" (assignment_expression "uVar1 = 0x48" identifier = number_literal) ;) (if_statement "if (param_2 != 1) {\n        uVar1 = 0x68;\n      }" if (parenthesized_expression "(param_2 != 1)" ( (binary_expression "param_2 != 1" identifier != number_literal) )) (compound_statement "{\n        uVar1 = 0x68;\n      }" { (expression_statement "uVar1 = 0x68;" (assignment_expression "uVar1 = 0x68" identifier = number_literal) ;) })) (expression_statement "*(undefined4 *)(param_1 + 0x1044) = 7;" (assignment_expression "*(undefined4 *)(param_1 + 0x1044) = 7" (pointer_expression "*(undefined4 *)(param_1 + 0x1044)" * (cast_expression "(undefined4 *)(param_1 + 0x1044)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1044)" ( (binary_expression "param_1 + 0x1044" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00057440(param_1,"%c%.20g",uVar1,param_3);" (call_expression "FUN_00057440(param_1,"%c%.20g",uVar1,param_3)" identifier (argument_list "(param_1,"%c%.20g",uVar1,param_3)" ( identifier , (string_literal ""%c%.20g"" " string_content ") , identifier , identifier ))) ;) }))) (return_statement "return;" return ;) })) comment (expression_statement "__assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0xe35,\n                "DrawPathLineToHorizontal");" (call_expression "__assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0xe35,\n                "DrawPathLineToHorizontal")" identifier (argument_list "("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0xe35,\n                "DrawPathLineToHorizontal")" ( (string_literal ""wand->signature == MagickWandSignature"" " string_content ") , (string_literal ""MagickWand/drawing-wand.c"" " string_content ") , number_literal , (string_literal ""DrawPathLineToHorizontal"" " string_content ") ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "GravityType": Some values do not have unique names */\n/* WARNING: Enum "DisposeType": Some values do not have unique names */\n/* WARNING: Enum "ChannelType": Some values do not have unique names */\n/* WARNING: Enum "PixelChannel": Some values do not have unique names */\n/* WARNING: Enum "ExceptionType": Some values do not have unique names */\n/* WARNING: Enum "ComplianceType": Some values do not have unique names */\n\nvoid __regparm2 DrawPathLineToHorizontal(DrawingWand *wand,PathMode mode,double x)\n\n{\n  undefined4 uVar1;\n  \n  if (wand == (DrawingWand *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xe34,\n                  "DrawPathLineToHorizontal");\n  }\n  if (wand->signature == 0xabacadab) {\n    if (wand->debug != MagickFalse) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathLineToHorizontal",0xe37,"%s",\n                     wand->name);\n    }\n    if ((wand->path_operation == PathLineToHorizontalOperation) && (wand->path_mode == mode)) {\n      MVGAutoWrapPrintf(wand," %.20g",x);\n    }\n    else {\n      wand->path_mode = mode;\n      uVar1 = 0x48;\n      if (mode != AbsolutePathMode) {\n        uVar1 = 0x68;\n      }\n      wand->path_operation = PathLineToHorizontalOperation;\n      MVGAutoWrapPrintf(wand,"%c%.20g",uVar1,x);\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0xe35,\n                "DrawPathLineToHorizontal");\n}\n\n" comment comment comment comment comment comment comment (function_definition "void __regparm2 DrawPathLineToHorizontal(DrawingWand *wand,PathMode mode,double x)\n\n{\n  undefined4 uVar1;\n  \n  if (wand == (DrawingWand *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xe34,\n                  "DrawPathLineToHorizontal");\n  }\n  if (wand->signature == 0xabacadab) {\n    if (wand->debug != MagickFalse) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathLineToHorizontal",0xe37,"%s",\n                     wand->name);\n    }\n    if ((wand->path_operation == PathLineToHorizontalOperation) && (wand->path_mode == mode)) {\n      MVGAutoWrapPrintf(wand," %.20g",x);\n    }\n    else {\n      wand->path_mode = mode;\n      uVar1 = 0x48;\n      if (mode != AbsolutePathMode) {\n        uVar1 = 0x68;\n      }\n      wand->path_operation = PathLineToHorizontalOperation;\n      MVGAutoWrapPrintf(wand,"%c%.20g",uVar1,x);\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0xe35,\n                "DrawPathLineToHorizontal");\n}" primitive_type (ERROR "__regparm2" identifier) (function_declarator "DrawPathLineToHorizontal(DrawingWand *wand,PathMode mode,double x)" identifier (parameter_list "(DrawingWand *wand,PathMode mode,double x)" ( (parameter_declaration "DrawingWand *wand" type_identifier (pointer_declarator "*wand" * identifier)) , (parameter_declaration "PathMode mode" type_identifier identifier) , (parameter_declaration "double x" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (wand == (DrawingWand *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xe34,\n                  "DrawPathLineToHorizontal");\n  }\n  if (wand->signature == 0xabacadab) {\n    if (wand->debug != MagickFalse) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathLineToHorizontal",0xe37,"%s",\n                     wand->name);\n    }\n    if ((wand->path_operation == PathLineToHorizontalOperation) && (wand->path_mode == mode)) {\n      MVGAutoWrapPrintf(wand," %.20g",x);\n    }\n    else {\n      wand->path_mode = mode;\n      uVar1 = 0x48;\n      if (mode != AbsolutePathMode) {\n        uVar1 = 0x68;\n      }\n      wand->path_operation = PathLineToHorizontalOperation;\n      MVGAutoWrapPrintf(wand,"%c%.20g",uVar1,x);\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0xe35,\n                "DrawPathLineToHorizontal");\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (wand == (DrawingWand *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xe34,\n                  "DrawPathLineToHorizontal");\n  }" if (parenthesized_expression "(wand == (DrawingWand *)0x0)" ( (binary_expression "wand == (DrawingWand *)0x0" identifier == (cast_expression "(DrawingWand *)0x0" ( (type_descriptor "DrawingWand *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xe34,\n                  "DrawPathLineToHorizontal");\n  }" { comment (expression_statement "__assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xe34,\n                  "DrawPathLineToHorizontal");" (call_expression "__assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xe34,\n                  "DrawPathLineToHorizontal")" identifier (argument_list "("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xe34,\n                  "DrawPathLineToHorizontal")" ( (string_literal ""wand != (DrawingWand *) NULL"" " string_content ") , (string_literal ""MagickWand/drawing-wand.c"" " string_content ") , number_literal , (string_literal ""DrawPathLineToHorizontal"" " string_content ") ))) ;) })) (if_statement "if (wand->signature == 0xabacadab) {\n    if (wand->debug != MagickFalse) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathLineToHorizontal",0xe37,"%s",\n                     wand->name);\n    }\n    if ((wand->path_operation == PathLineToHorizontalOperation) && (wand->path_mode == mode)) {\n      MVGAutoWrapPrintf(wand," %.20g",x);\n    }\n    else {\n      wand->path_mode = mode;\n      uVar1 = 0x48;\n      if (mode != AbsolutePathMode) {\n        uVar1 = 0x68;\n      }\n      wand->path_operation = PathLineToHorizontalOperation;\n      MVGAutoWrapPrintf(wand,"%c%.20g",uVar1,x);\n    }\n    return;\n  }" if (parenthesized_expression "(wand->signature == 0xabacadab)" ( (binary_expression "wand->signature == 0xabacadab" (field_expression "wand->signature" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n    if (wand->debug != MagickFalse) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathLineToHorizontal",0xe37,"%s",\n                     wand->name);\n    }\n    if ((wand->path_operation == PathLineToHorizontalOperation) && (wand->path_mode == mode)) {\n      MVGAutoWrapPrintf(wand," %.20g",x);\n    }\n    else {\n      wand->path_mode = mode;\n      uVar1 = 0x48;\n      if (mode != AbsolutePathMode) {\n        uVar1 = 0x68;\n      }\n      wand->path_operation = PathLineToHorizontalOperation;\n      MVGAutoWrapPrintf(wand,"%c%.20g",uVar1,x);\n    }\n    return;\n  }" { (if_statement "if (wand->debug != MagickFalse) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathLineToHorizontal",0xe37,"%s",\n                     wand->name);\n    }" if (parenthesized_expression "(wand->debug != MagickFalse)" ( (binary_expression "wand->debug != MagickFalse" (field_expression "wand->debug" identifier -> field_identifier) != identifier) )) (compound_statement "{\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathLineToHorizontal",0xe37,"%s",\n                     wand->name);\n    }" { (expression_statement "LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathLineToHorizontal",0xe37,"%s",\n                     wand->name);" (call_expression "LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathLineToHorizontal",0xe37,"%s",\n                     wand->name)" identifier (argument_list "(0x40000,"MagickWand/drawing-wand.c","DrawPathLineToHorizontal",0xe37,"%s",\n                     wand->name)" ( number_literal , (string_literal ""MagickWand/drawing-wand.c"" " string_content ") , (string_literal ""DrawPathLineToHorizontal"" " string_content ") , number_literal , (string_literal ""%s"" " string_content ") , (field_expression "wand->name" identifier -> field_identifier) ))) ;) })) (if_statement "if ((wand->path_operation == PathLineToHorizontalOperation) && (wand->path_mode == mode)) {\n      MVGAutoWrapPrintf(wand," %.20g",x);\n    }\n    else {\n      wand->path_mode = mode;\n      uVar1 = 0x48;\n      if (mode != AbsolutePathMode) {\n        uVar1 = 0x68;\n      }\n      wand->path_operation = PathLineToHorizontalOperation;\n      MVGAutoWrapPrintf(wand,"%c%.20g",uVar1,x);\n    }" if (parenthesized_expression "((wand->path_operation == PathLineToHorizontalOperation) && (wand->path_mode == mode))" ( (binary_expression "(wand->path_operation == PathLineToHorizontalOperation) && (wand->path_mode == mode)" (parenthesized_expression "(wand->path_operation == PathLineToHorizontalOperation)" ( (binary_expression "wand->path_operation == PathLineToHorizontalOperation" (field_expression "wand->path_operation" identifier -> field_identifier) == identifier) )) && (parenthesized_expression "(wand->path_mode == mode)" ( (binary_expression "wand->path_mode == mode" (field_expression "wand->path_mode" identifier -> field_identifier) == identifier) ))) )) (compound_statement "{\n      MVGAutoWrapPrintf(wand," %.20g",x);\n    }" { (expression_statement "MVGAutoWrapPrintf(wand," %.20g",x);" (call_expression "MVGAutoWrapPrintf(wand," %.20g",x)" identifier (argument_list "(wand," %.20g",x)" ( identifier , (string_literal "" %.20g"" " string_content ") , identifier ))) ;) }) (else_clause "else {\n      wand->path_mode = mode;\n      uVar1 = 0x48;\n      if (mode != AbsolutePathMode) {\n        uVar1 = 0x68;\n      }\n      wand->path_operation = PathLineToHorizontalOperation;\n      MVGAutoWrapPrintf(wand,"%c%.20g",uVar1,x);\n    }" else (compound_statement "{\n      wand->path_mode = mode;\n      uVar1 = 0x48;\n      if (mode != AbsolutePathMode) {\n        uVar1 = 0x68;\n      }\n      wand->path_operation = PathLineToHorizontalOperation;\n      MVGAutoWrapPrintf(wand,"%c%.20g",uVar1,x);\n    }" { (expression_statement "wand->path_mode = mode;" (assignment_expression "wand->path_mode = mode" (field_expression "wand->path_mode" identifier -> field_identifier) = identifier) ;) (expression_statement "uVar1 = 0x48;" (assignment_expression "uVar1 = 0x48" identifier = number_literal) ;) (if_statement "if (mode != AbsolutePathMode) {\n        uVar1 = 0x68;\n      }" if (parenthesized_expression "(mode != AbsolutePathMode)" ( (binary_expression "mode != AbsolutePathMode" identifier != identifier) )) (compound_statement "{\n        uVar1 = 0x68;\n      }" { (expression_statement "uVar1 = 0x68;" (assignment_expression "uVar1 = 0x68" identifier = number_literal) ;) })) (expression_statement "wand->path_operation = PathLineToHorizontalOperation;" (assignment_expression "wand->path_operation = PathLineToHorizontalOperation" (field_expression "wand->path_operation" identifier -> field_identifier) = identifier) ;) (expression_statement "MVGAutoWrapPrintf(wand,"%c%.20g",uVar1,x);" (call_expression "MVGAutoWrapPrintf(wand,"%c%.20g",uVar1,x)" identifier (argument_list "(wand,"%c%.20g",uVar1,x)" ( identifier , (string_literal ""%c%.20g"" " string_content ") , identifier , identifier ))) ;) }))) (return_statement "return;" return ;) })) comment (expression_statement "__assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0xe35,\n                "DrawPathLineToHorizontal");" (call_expression "__assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0xe35,\n                "DrawPathLineToHorizontal")" identifier (argument_list "("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0xe35,\n                "DrawPathLineToHorizontal")" ( (string_literal ""wand->signature == MagickWandSignature"" " string_content ") , (string_literal ""MagickWand/drawing-wand.c"" " string_content ") , number_literal , (string_literal ""DrawPathLineToHorizontal"" " string_content ") ))) ;) })))
(translation_unit "void __regparm2 FUN_00057f10(int param_1,int param_2,undefined8 param_3)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xe34,\n                  "DrawPathLineToHorizontal");\n  }\n  if (*(int *)(param_1 + 0x1054) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1050) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathLineToHorizontal",0xe37,"%s",\n                     param_1 + 4);\n    }\n    if ((*(int *)(param_1 + 0x1044) == 7) && (*(int *)(param_1 + 0x1048) == param_2)) {\n      FUN_00057440();\n    }\n    else {\n      *(int *)(param_1 + 0x1048) = param_2;\n      uVar1 = 0x48;\n      if (param_2 != 1) {\n        uVar1 = 0x68;\n      }\n      *(undefined4 *)(param_1 + 0x1044) = 7;\n      FUN_00057440(param_1,"%c%.20g",uVar1,param_3);\n    }\n    return;\n  }\n                    \n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0xe35,\n                "DrawPathLineToHorizontal");\n}\n\n" (function_definition "void __regparm2 FUN_00057f10(int param_1,int param_2,undefined8 param_3)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xe34,\n                  "DrawPathLineToHorizontal");\n  }\n  if (*(int *)(param_1 + 0x1054) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1050) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathLineToHorizontal",0xe37,"%s",\n                     param_1 + 4);\n    }\n    if ((*(int *)(param_1 + 0x1044) == 7) && (*(int *)(param_1 + 0x1048) == param_2)) {\n      FUN_00057440();\n    }\n    else {\n      *(int *)(param_1 + 0x1048) = param_2;\n      uVar1 = 0x48;\n      if (param_2 != 1) {\n        uVar1 = 0x68;\n      }\n      *(undefined4 *)(param_1 + 0x1044) = 7;\n      FUN_00057440(param_1,"%c%.20g",uVar1,param_3);\n    }\n    return;\n  }\n                    \n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0xe35,\n                "DrawPathLineToHorizontal");\n}" primitive_type (ERROR "__regparm2" identifier) (function_declarator "FUN_00057f10(int param_1,int param_2,undefined8 param_3)" identifier (parameter_list "(int param_1,int param_2,undefined8 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xe34,\n                  "DrawPathLineToHorizontal");\n  }\n  if (*(int *)(param_1 + 0x1054) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1050) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathLineToHorizontal",0xe37,"%s",\n                     param_1 + 4);\n    }\n    if ((*(int *)(param_1 + 0x1044) == 7) && (*(int *)(param_1 + 0x1048) == param_2)) {\n      FUN_00057440();\n    }\n    else {\n      *(int *)(param_1 + 0x1048) = param_2;\n      uVar1 = 0x48;\n      if (param_2 != 1) {\n        uVar1 = 0x68;\n      }\n      *(undefined4 *)(param_1 + 0x1044) = 7;\n      FUN_00057440(param_1,"%c%.20g",uVar1,param_3);\n    }\n    return;\n  }\n                    \n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0xe35,\n                "DrawPathLineToHorizontal");\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (param_1 == 0) {\n                    \n    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xe34,\n                  "DrawPathLineToHorizontal");\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xe34,\n                  "DrawPathLineToHorizontal");\n  }" { (expression_statement "__assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xe34,\n                  "DrawPathLineToHorizontal");" (call_expression "__assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xe34,\n                  "DrawPathLineToHorizontal")" identifier (argument_list "("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xe34,\n                  "DrawPathLineToHorizontal")" ( (string_literal ""wand != (DrawingWand *) NULL"" " string_content ") , (string_literal ""MagickWand/drawing-wand.c"" " string_content ") , number_literal , (string_literal ""DrawPathLineToHorizontal"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x1054) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1050) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathLineToHorizontal",0xe37,"%s",\n                     param_1 + 4);\n    }\n    if ((*(int *)(param_1 + 0x1044) == 7) && (*(int *)(param_1 + 0x1048) == param_2)) {\n      FUN_00057440();\n    }\n    else {\n      *(int *)(param_1 + 0x1048) = param_2;\n      uVar1 = 0x48;\n      if (param_2 != 1) {\n        uVar1 = 0x68;\n      }\n      *(undefined4 *)(param_1 + 0x1044) = 7;\n      FUN_00057440(param_1,"%c%.20g",uVar1,param_3);\n    }\n    return;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x1054) == -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x1054) == -0x54535255" (pointer_expression "*(int *)(param_1 + 0x1054)" * (cast_expression "(int *)(param_1 + 0x1054)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1054)" ( (binary_expression "param_1 + 0x1054" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    if (*(int *)(param_1 + 0x1050) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathLineToHorizontal",0xe37,"%s",\n                     param_1 + 4);\n    }\n    if ((*(int *)(param_1 + 0x1044) == 7) && (*(int *)(param_1 + 0x1048) == param_2)) {\n      FUN_00057440();\n    }\n    else {\n      *(int *)(param_1 + 0x1048) = param_2;\n      uVar1 = 0x48;\n      if (param_2 != 1) {\n        uVar1 = 0x68;\n      }\n      *(undefined4 *)(param_1 + 0x1044) = 7;\n      FUN_00057440(param_1,"%c%.20g",uVar1,param_3);\n    }\n    return;\n  }" { (if_statement "if (*(int *)(param_1 + 0x1050) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathLineToHorizontal",0xe37,"%s",\n                     param_1 + 4);\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0x1050) != 0)" ( (binary_expression "*(int *)(param_1 + 0x1050) != 0" (pointer_expression "*(int *)(param_1 + 0x1050)" * (cast_expression "(int *)(param_1 + 0x1050)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1050)" ( (binary_expression "param_1 + 0x1050" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathLineToHorizontal",0xe37,"%s",\n                     param_1 + 4);\n    }" { (expression_statement "LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathLineToHorizontal",0xe37,"%s",\n                     param_1 + 4);" (call_expression "LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathLineToHorizontal",0xe37,"%s",\n                     param_1 + 4)" identifier (argument_list "(0x40000,"MagickWand/drawing-wand.c","DrawPathLineToHorizontal",0xe37,"%s",\n                     param_1 + 4)" ( number_literal , (string_literal ""MagickWand/drawing-wand.c"" " string_content ") , (string_literal ""DrawPathLineToHorizontal"" " string_content ") , number_literal , (string_literal ""%s"" " string_content ") , (binary_expression "param_1 + 4" identifier + number_literal) ))) ;) })) (if_statement "if ((*(int *)(param_1 + 0x1044) == 7) && (*(int *)(param_1 + 0x1048) == param_2)) {\n      FUN_00057440();\n    }\n    else {\n      *(int *)(param_1 + 0x1048) = param_2;\n      uVar1 = 0x48;\n      if (param_2 != 1) {\n        uVar1 = 0x68;\n      }\n      *(undefined4 *)(param_1 + 0x1044) = 7;\n      FUN_00057440(param_1,"%c%.20g",uVar1,param_3);\n    }" if (parenthesized_expression "((*(int *)(param_1 + 0x1044) == 7) && (*(int *)(param_1 + 0x1048) == param_2))" ( (binary_expression "(*(int *)(param_1 + 0x1044) == 7) && (*(int *)(param_1 + 0x1048) == param_2)" (parenthesized_expression "(*(int *)(param_1 + 0x1044) == 7)" ( (binary_expression "*(int *)(param_1 + 0x1044) == 7" (pointer_expression "*(int *)(param_1 + 0x1044)" * (cast_expression "(int *)(param_1 + 0x1044)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1044)" ( (binary_expression "param_1 + 0x1044" identifier + number_literal) )))) == number_literal) )) && (parenthesized_expression "(*(int *)(param_1 + 0x1048) == param_2)" ( (binary_expression "*(int *)(param_1 + 0x1048) == param_2" (pointer_expression "*(int *)(param_1 + 0x1048)" * (cast_expression "(int *)(param_1 + 0x1048)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1048)" ( (binary_expression "param_1 + 0x1048" identifier + number_literal) )))) == identifier) ))) )) (compound_statement "{\n      FUN_00057440();\n    }" { (expression_statement "FUN_00057440();" (call_expression "FUN_00057440()" identifier (argument_list "()" ( ))) ;) }) (else_clause "else {\n      *(int *)(param_1 + 0x1048) = param_2;\n      uVar1 = 0x48;\n      if (param_2 != 1) {\n        uVar1 = 0x68;\n      }\n      *(undefined4 *)(param_1 + 0x1044) = 7;\n      FUN_00057440(param_1,"%c%.20g",uVar1,param_3);\n    }" else (compound_statement "{\n      *(int *)(param_1 + 0x1048) = param_2;\n      uVar1 = 0x48;\n      if (param_2 != 1) {\n        uVar1 = 0x68;\n      }\n      *(undefined4 *)(param_1 + 0x1044) = 7;\n      FUN_00057440(param_1,"%c%.20g",uVar1,param_3);\n    }" { (expression_statement "*(int *)(param_1 + 0x1048) = param_2;" (assignment_expression "*(int *)(param_1 + 0x1048) = param_2" (pointer_expression "*(int *)(param_1 + 0x1048)" * (cast_expression "(int *)(param_1 + 0x1048)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1048)" ( (binary_expression "param_1 + 0x1048" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar1 = 0x48;" (assignment_expression "uVar1 = 0x48" identifier = number_literal) ;) (if_statement "if (param_2 != 1) {\n        uVar1 = 0x68;\n      }" if (parenthesized_expression "(param_2 != 1)" ( (binary_expression "param_2 != 1" identifier != number_literal) )) (compound_statement "{\n        uVar1 = 0x68;\n      }" { (expression_statement "uVar1 = 0x68;" (assignment_expression "uVar1 = 0x68" identifier = number_literal) ;) })) (expression_statement "*(undefined4 *)(param_1 + 0x1044) = 7;" (assignment_expression "*(undefined4 *)(param_1 + 0x1044) = 7" (pointer_expression "*(undefined4 *)(param_1 + 0x1044)" * (cast_expression "(undefined4 *)(param_1 + 0x1044)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1044)" ( (binary_expression "param_1 + 0x1044" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00057440(param_1,"%c%.20g",uVar1,param_3);" (call_expression "FUN_00057440(param_1,"%c%.20g",uVar1,param_3)" identifier (argument_list "(param_1,"%c%.20g",uVar1,param_3)" ( identifier , (string_literal ""%c%.20g"" " string_content ") , identifier , identifier ))) ;) }))) (return_statement "return;" return ;) })) (expression_statement "__assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0xe35,\n                "DrawPathLineToHorizontal");" (call_expression "__assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0xe35,\n                "DrawPathLineToHorizontal")" identifier (argument_list "("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0xe35,\n                "DrawPathLineToHorizontal")" ( (string_literal ""wand->signature == MagickWandSignature"" " string_content ") , (string_literal ""MagickWand/drawing-wand.c"" " string_content ") , number_literal , (string_literal ""DrawPathLineToHorizontal"" " string_content ") ))) ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (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 { (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 ( LIT , (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") , (binary_expression IDENT + LIT) ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == IDENT) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_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 (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , IDENT , IDENT ))) ;) }))) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })))
(function_definition "void __regparm2 FUN_00057f10(int param_1,int param_2,undefined8 param_3)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xe34,\n                  "DrawPathLineToHorizontal");\n  }\n  if (*(int *)(param_1 + 0x1054) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1050) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathLineToHorizontal",0xe37,"%s",\n                     param_1 + 4);\n    }\n    if ((*(int *)(param_1 + 0x1044) == 7) && (*(int *)(param_1 + 0x1048) == param_2)) {\n      FUN_00057440();\n    }\n    else {\n      *(int *)(param_1 + 0x1048) = param_2;\n      uVar1 = 0x48;\n      if (param_2 != 1) {\n        uVar1 = 0x68;\n      }\n      *(undefined4 *)(param_1 + 0x1044) = 7;\n      FUN_00057440(param_1,"%c%.20g",uVar1,param_3);\n    }\n    return;\n  }\n                    \n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0xe35,\n                "DrawPathLineToHorizontal");\n}" (primitive_type "void") (ERROR "__regparm2" (identifier "__regparm2")) (function_declarator "FUN_00057f10(int param_1,int param_2,undefined8 param_3)" (identifier "FUN_00057f10") (parameter_list "(int param_1,int param_2,undefined8 param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "undefined8 param_3" (type_identifier "undefined8") (identifier "param_3")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xe34,\n                  "DrawPathLineToHorizontal");\n  }\n  if (*(int *)(param_1 + 0x1054) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1050) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathLineToHorizontal",0xe37,"%s",\n                     param_1 + 4);\n    }\n    if ((*(int *)(param_1 + 0x1044) == 7) && (*(int *)(param_1 + 0x1048) == param_2)) {\n      FUN_00057440();\n    }\n    else {\n      *(int *)(param_1 + 0x1048) = param_2;\n      uVar1 = 0x48;\n      if (param_2 != 1) {\n        uVar1 = 0x68;\n      }\n      *(undefined4 *)(param_1 + 0x1044) = 7;\n      FUN_00057440(param_1,"%c%.20g",uVar1,param_3);\n    }\n    return;\n  }\n                    \n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0xe35,\n                "DrawPathLineToHorizontal");\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (if_statement "if (param_1 == 0) {\n                    \n    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xe34,\n                  "DrawPathLineToHorizontal");\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("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xe34,\n                  "DrawPathLineToHorizontal");\n  }" ({ "{") (expression_statement "__assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xe34,\n                  "DrawPathLineToHorizontal");" (call_expression "__assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xe34,\n                  "DrawPathLineToHorizontal")" (identifier "__assert_fail") (argument_list "("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xe34,\n                  "DrawPathLineToHorizontal")" (( "(") (string_literal ""wand != (DrawingWand *) NULL"" (" """) (string_content "wand != (DrawingWand *) NULL") (" """)) (, ",") (string_literal ""MagickWand/drawing-wand.c"" (" """) (string_content "MagickWand/drawing-wand.c") (" """)) (, ",") (number_literal "0xe34") (, ",") (string_literal ""DrawPathLineToHorizontal"" (" """) (string_content "DrawPathLineToHorizontal") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x1054) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1050) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathLineToHorizontal",0xe37,"%s",\n                     param_1 + 4);\n    }\n    if ((*(int *)(param_1 + 0x1044) == 7) && (*(int *)(param_1 + 0x1048) == param_2)) {\n      FUN_00057440();\n    }\n    else {\n      *(int *)(param_1 + 0x1048) = param_2;\n      uVar1 = 0x48;\n      if (param_2 != 1) {\n        uVar1 = 0x68;\n      }\n      *(undefined4 *)(param_1 + 0x1044) = 7;\n      FUN_00057440(param_1,"%c%.20g",uVar1,param_3);\n    }\n    return;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x1054) == -0x54535255)" (( "(") (binary_expression "*(int *)(param_1 + 0x1054) == -0x54535255" (pointer_expression "*(int *)(param_1 + 0x1054)" (* "*") (cast_expression "(int *)(param_1 + 0x1054)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1054)" (( "(") (binary_expression "param_1 + 0x1054" (identifier "param_1") (+ "+") (number_literal "0x1054")) () ")")))) (== "==") (number_literal "-0x54535255")) () ")")) (compound_statement "{\n    if (*(int *)(param_1 + 0x1050) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathLineToHorizontal",0xe37,"%s",\n                     param_1 + 4);\n    }\n    if ((*(int *)(param_1 + 0x1044) == 7) && (*(int *)(param_1 + 0x1048) == param_2)) {\n      FUN_00057440();\n    }\n    else {\n      *(int *)(param_1 + 0x1048) = param_2;\n      uVar1 = 0x48;\n      if (param_2 != 1) {\n        uVar1 = 0x68;\n      }\n      *(undefined4 *)(param_1 + 0x1044) = 7;\n      FUN_00057440(param_1,"%c%.20g",uVar1,param_3);\n    }\n    return;\n  }" ({ "{") (if_statement "if (*(int *)(param_1 + 0x1050) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathLineToHorizontal",0xe37,"%s",\n                     param_1 + 4);\n    }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x1050) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x1050) != 0" (pointer_expression "*(int *)(param_1 + 0x1050)" (* "*") (cast_expression "(int *)(param_1 + 0x1050)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1050)" (( "(") (binary_expression "param_1 + 0x1050" (identifier "param_1") (+ "+") (number_literal "0x1050")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathLineToHorizontal",0xe37,"%s",\n                     param_1 + 4);\n    }" ({ "{") (expression_statement "LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathLineToHorizontal",0xe37,"%s",\n                     param_1 + 4);" (call_expression "LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathLineToHorizontal",0xe37,"%s",\n                     param_1 + 4)" (identifier "LogMagickEvent") (argument_list "(0x40000,"MagickWand/drawing-wand.c","DrawPathLineToHorizontal",0xe37,"%s",\n                     param_1 + 4)" (( "(") (number_literal "0x40000") (, ",") (string_literal ""MagickWand/drawing-wand.c"" (" """) (string_content "MagickWand/drawing-wand.c") (" """)) (, ",") (string_literal ""DrawPathLineToHorizontal"" (" """) (string_content "DrawPathLineToHorizontal") (" """)) (, ",") (number_literal "0xe37") (, ",") (string_literal ""%s"" (" """) (string_content "%s") (" """)) (, ",") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))) (; ";")) (} "}"))) (if_statement "if ((*(int *)(param_1 + 0x1044) == 7) && (*(int *)(param_1 + 0x1048) == param_2)) {\n      FUN_00057440();\n    }\n    else {\n      *(int *)(param_1 + 0x1048) = param_2;\n      uVar1 = 0x48;\n      if (param_2 != 1) {\n        uVar1 = 0x68;\n      }\n      *(undefined4 *)(param_1 + 0x1044) = 7;\n      FUN_00057440(param_1,"%c%.20g",uVar1,param_3);\n    }" (if "if") (parenthesized_expression "((*(int *)(param_1 + 0x1044) == 7) && (*(int *)(param_1 + 0x1048) == param_2))" (( "(") (binary_expression "(*(int *)(param_1 + 0x1044) == 7) && (*(int *)(param_1 + 0x1048) == param_2)" (parenthesized_expression "(*(int *)(param_1 + 0x1044) == 7)" (( "(") (binary_expression "*(int *)(param_1 + 0x1044) == 7" (pointer_expression "*(int *)(param_1 + 0x1044)" (* "*") (cast_expression "(int *)(param_1 + 0x1044)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1044)" (( "(") (binary_expression "param_1 + 0x1044" (identifier "param_1") (+ "+") (number_literal "0x1044")) () ")")))) (== "==") (number_literal "7")) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(param_1 + 0x1048) == param_2)" (( "(") (binary_expression "*(int *)(param_1 + 0x1048) == param_2" (pointer_expression "*(int *)(param_1 + 0x1048)" (* "*") (cast_expression "(int *)(param_1 + 0x1048)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1048)" (( "(") (binary_expression "param_1 + 0x1048" (identifier "param_1") (+ "+") (number_literal "0x1048")) () ")")))) (== "==") (identifier "param_2")) () ")"))) () ")")) (compound_statement "{\n      FUN_00057440();\n    }" ({ "{") (expression_statement "FUN_00057440();" (call_expression "FUN_00057440()" (identifier "FUN_00057440") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")) (else_clause "else {\n      *(int *)(param_1 + 0x1048) = param_2;\n      uVar1 = 0x48;\n      if (param_2 != 1) {\n        uVar1 = 0x68;\n      }\n      *(undefined4 *)(param_1 + 0x1044) = 7;\n      FUN_00057440(param_1,"%c%.20g",uVar1,param_3);\n    }" (else "else") (compound_statement "{\n      *(int *)(param_1 + 0x1048) = param_2;\n      uVar1 = 0x48;\n      if (param_2 != 1) {\n        uVar1 = 0x68;\n      }\n      *(undefined4 *)(param_1 + 0x1044) = 7;\n      FUN_00057440(param_1,"%c%.20g",uVar1,param_3);\n    }" ({ "{") (expression_statement "*(int *)(param_1 + 0x1048) = param_2;" (assignment_expression "*(int *)(param_1 + 0x1048) = param_2" (pointer_expression "*(int *)(param_1 + 0x1048)" (* "*") (cast_expression "(int *)(param_1 + 0x1048)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1048)" (( "(") (binary_expression "param_1 + 0x1048" (identifier "param_1") (+ "+") (number_literal "0x1048")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (expression_statement "uVar1 = 0x48;" (assignment_expression "uVar1 = 0x48" (identifier "uVar1") (= "=") (number_literal "0x48")) (; ";")) (if_statement "if (param_2 != 1) {\n        uVar1 = 0x68;\n      }" (if "if") (parenthesized_expression "(param_2 != 1)" (( "(") (binary_expression "param_2 != 1" (identifier "param_2") (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n        uVar1 = 0x68;\n      }" ({ "{") (expression_statement "uVar1 = 0x68;" (assignment_expression "uVar1 = 0x68" (identifier "uVar1") (= "=") (number_literal "0x68")) (; ";")) (} "}"))) (expression_statement "*(undefined4 *)(param_1 + 0x1044) = 7;" (assignment_expression "*(undefined4 *)(param_1 + 0x1044) = 7" (pointer_expression "*(undefined4 *)(param_1 + 0x1044)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x1044)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1044)" (( "(") (binary_expression "param_1 + 0x1044" (identifier "param_1") (+ "+") (number_literal "0x1044")) () ")")))) (= "=") (number_literal "7")) (; ";")) (expression_statement "FUN_00057440(param_1,"%c%.20g",uVar1,param_3);" (call_expression "FUN_00057440(param_1,"%c%.20g",uVar1,param_3)" (identifier "FUN_00057440") (argument_list "(param_1,"%c%.20g",uVar1,param_3)" (( "(") (identifier "param_1") (, ",") (string_literal ""%c%.20g"" (" """) (string_content "%c%.20g") (" """)) (, ",") (identifier "uVar1") (, ",") (identifier "param_3") () ")"))) (; ";")) (} "}")))) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "__assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0xe35,\n                "DrawPathLineToHorizontal");" (call_expression "__assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0xe35,\n                "DrawPathLineToHorizontal")" (identifier "__assert_fail") (argument_list "("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0xe35,\n                "DrawPathLineToHorizontal")" (( "(") (string_literal ""wand->signature == MagickWandSignature"" (" """) (string_content "wand->signature == MagickWandSignature") (" """)) (, ",") (string_literal ""MagickWand/drawing-wand.c"" (" """) (string_content "MagickWand/drawing-wand.c") (" """)) (, ",") (number_literal "0xe35") (, ",") (string_literal ""DrawPathLineToHorizontal"" (" """) (string_content "DrawPathLineToHorizontal") (" """)) () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "GravityType": Some values do not have unique names */
/* WARNING: Enum "DisposeType": Some values do not have unique names */
/* WARNING: Enum "ChannelType": Some values do not have unique names */
/* WARNING: Enum "PixelChannel": Some values do not have unique names */
/* WARNING: Enum "ExceptionType": Some values do not have unique names */
/* WARNING: Enum "ComplianceType": Some values do not have unique names */

void __regparm2 function_1(type_1 *var_1,type_2 var_6,double x)

{
  type_3 uVar1;
  
  if (var_1 == (type_1 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_2("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xe34,
                  "DrawPathLineToHorizontal");
  }
  if (var_1->signature == 0xabacadab) {
    if (var_1->debug != var_3) {
      var_4(0x40000,"MagickWand/drawing-wand.c","DrawPathLineToHorizontal",0xe37,"%s",
                     var_1->name);
    }
    if ((var_1->path_operation == var_5) && (var_1->path_mode == var_6)) {
      var_7(var_1," %.20g",x);
    }
    else {
      var_1->path_mode = var_6;
      uVar1 = 0x48;
      if (var_6 != var_8) {
        uVar1 = 0x68;
      }
      var_1->path_operation = var_5;
      var_7(var_1,"%c%.20g",uVar1,x);
    }
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_2("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0xe35,
                "DrawPathLineToHorizontal");
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (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 (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 (number_literal) (string_literal (string_content)) (string_literal (string_content)) (number_literal) (string_literal (string_content)) (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (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))) right: (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: (identifier))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list)))) alternative: (else_clause (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: (identifier))) (expression_statement (assignment_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: (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 (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)) (identifier) (identifier))))))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (string_literal (string_content)) (number_literal) (string_literal (string_content))))))))

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

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

{
  undefined4 uVar1;
  
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xe34,
                  "DrawPathLineToHorizontal");
  }
  if (*(int *)(param_1 + 0x1054) == -0x54535255) {
    if (*(int *)(param_1 + 0x1050) != 0) {
      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathLineToHorizontal",0xe37,"%s",
                     param_1 + 4);
    }
    if ((*(int *)(param_1 + 0x1044) == 7) && (*(int *)(param_1 + 0x1048) == param_2)) {
      FUN_00057440();
    }
    else {
      *(int *)(param_1 + 0x1048) = param_2;
      uVar1 = 0x48;
      if (param_2 != 1) {
        uVar1 = 0x68;
      }
      *(undefined4 *)(param_1 + 0x1044) = 7;
      FUN_00057440(param_1,"%c%.20g",uVar1,param_3);
    }
    return;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0xe35,
                "DrawPathLineToHorizontal");
}

