
/* 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
DrawPathCurveTo(DrawingWand *wand,PathMode mode,double x1,double y1,double x2,double y2,double x,
               double y)

{
  undefined4 uVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  undefined4 uVar4;
  undefined4 uVar5;
  undefined4 uVar6;
  undefined4 uVar7;
  
  if (wand == (DrawingWand *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xb66,"DrawPathCurveTo"
                 );
  }
  if (wand->signature == 0xabacadab) {
    if (wand->debug != MagickFalse) {
      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathCurveTo",0xb69,"%s",wand->name);
    }
    uVar7 = (undefined4)((ulonglong)y >> 0x20);
    uVar6 = (undefined4)((ulonglong)x >> 0x20);
    uVar5 = (undefined4)((ulonglong)y2 >> 0x20);
    uVar4 = (undefined4)((ulonglong)x2 >> 0x20);
    uVar3 = (undefined4)((ulonglong)y1 >> 0x20);
    uVar2 = (undefined4)((ulonglong)x1 >> 0x20);
    if ((wand->path_operation == PathCurveToOperation) && (wand->path_mode == mode)) {
      MVGAutoWrapPrintf(wand," %.20g %.20g %.20g %.20g %.20g %.20g",SUB84(x1,0),uVar2,SUB84(y1,0),
                        uVar3,SUB84(x2,0),uVar4,SUB84(y2,0),uVar5,SUB84(x,0),uVar6,SUB84(y,0),uVar7)
      ;
    }
    else {
      wand->path_mode = mode;
      uVar1 = 0x43;
      if (mode != AbsolutePathMode) {
        uVar1 = 99;
      }
      wand->path_operation = PathCurveToOperation;
      MVGAutoWrapPrintf(wand,"%c%.20g %.20g %.20g %.20g %.20g %.20g",uVar1,SUB84(x1,0),uVar2,
                        SUB84(y1,0),uVar3,SUB84(x2,0),uVar4,SUB84(y2,0),uVar5,SUB84(x,0),uVar6,
                        SUB84(y,0),uVar7);
    }
    return;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0xb67,
                "DrawPathCurveTo");
}



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

void __regparm2
FUN_000575d0(int param_1,int param_2,undefined8 param_3,undefined8 param_4,undefined8 param_5,
            undefined8 param_6,undefined8 param_7,undefined8 param_8)

{
  undefined4 uVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  undefined4 uVar4;
  undefined4 uVar5;
  undefined4 uVar6;
  undefined4 uVar7;
  
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xb66,"DrawPathCurveTo"
                 );
  }
  if (*(int *)(param_1 + 0x1054) == -0x54535255) {
    if (*(int *)(param_1 + 0x1050) != 0) {
      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathCurveTo",0xb69,"%s",param_1 + 4);
    }
    uVar7 = (undefined4)((ulonglong)param_8 >> 0x20);
    uVar6 = (undefined4)((ulonglong)param_7 >> 0x20);
    uVar5 = (undefined4)((ulonglong)param_6 >> 0x20);
    uVar4 = (undefined4)((ulonglong)param_5 >> 0x20);
    uVar3 = (undefined4)((ulonglong)param_4 >> 0x20);
    uVar2 = (undefined4)((ulonglong)param_3 >> 0x20);
    if ((*(int *)(param_1 + 0x1044) == 2) && (*(int *)(param_1 + 0x1048) == param_2)) {
      FUN_00057440(param_1," %.20g %.20g %.20g %.20g %.20g %.20g",(int)param_3,uVar2,(int)param_4,
                   uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,(int)param_8,uVar7
                  );
    }
    else {
      *(int *)(param_1 + 0x1048) = param_2;
      uVar1 = 0x43;
      if (param_2 != 1) {
        uVar1 = 99;
      }
      *(undefined4 *)(param_1 + 0x1044) = 2;
      FUN_00057440(param_1,"%c%.20g %.20g %.20g %.20g %.20g %.20g",uVar1,(int)param_3,uVar2,
                   (int)param_4,uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,
                   (int)param_8,uVar7);
    }
    return;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0xb67,
                "DrawPathCurveTo");
}


PUSH ESI
PUSH EBX
CALL 0x0001e8f0
ADD EBX,0x10ea29
SUB ESP,0x44
FLD qword ptr [ESP + 0x50]
FLD qword ptr [ESP + 0x58]
FLD qword ptr [ESP + 0x60]
FLD qword ptr [ESP + 0x68]
FLD qword ptr [ESP + 0x70]
FLD qword ptr [ESP + 0x78]
TEST EAX,EAX
JZ 0x00057731
CMP dword ptr [EAX + 0x1054],0xabacadab
MOV ESI,EAX
JNZ 0x0005775c
MOV EAX,dword ptr [EAX + 0x1050]
TEST EAX,EAX
JNZ 0x000576b8
CMP dword ptr [ESI + 0x1044],0x2
JZ 0x00057680
MOV dword ptr [ESI + 0x1048],EDX
CMP EDX,0x1
MOV EAX,0x43
MOV EDX,0x63
CMOVNZ EAX,EDX
SUB ESP,0x34
MOV dword ptr [ESI + 0x1044],0x2
FSTP qword ptr [ESP + 0x28]
FSTP qword ptr [ESP + 0x20]
FSTP qword ptr [ESP + 0x18]
FSTP qword ptr [ESP + 0x10]
FSTP qword ptr [ESP + 0x8]
FSTP qword ptr [ESP]
PUSH EAX
LEA EAX,[EBX + 0xfff8a4d8]
PUSH EAX
PUSH ESI
CALL 0x00057440
ADD ESP,0x40
ADD ESP,0x44
POP EBX
POP ESI
RET
CMP dword ptr [ESI + 0x1048],EDX
JNZ 0x00057629
SUB ESP,0x38
FSTP qword ptr [ESP + 0x28]
LEA EAX,[EBX + 0xfff8a500]
FSTP qword ptr [ESP + 0x20]
FSTP qword ptr [ESP + 0x18]
FSTP qword ptr [ESP + 0x10]
FSTP qword ptr [ESP + 0x8]
FSTP qword ptr [ESP]
PUSH EAX
PUSH ESI
CALL 0x00057440
ADD ESP,0x40
JMP 0x00057674
FSTP qword ptr [ESP + 0x38]
LEA EAX,[ESI + 0x4]
SUB ESP,0x8
FSTP qword ptr [ESP + 0x38]
FSTP qword ptr [ESP + 0x30]
FSTP qword ptr [ESP + 0x28]
FSTP qword ptr [ESP + 0x20]
FSTP qword ptr [ESP + 0x18]
MOV dword ptr [ESP + 0x14],EDX
PUSH EAX
LEA EAX,[EBX + 0xfff92fa4]
PUSH EAX
LEA EAX,[EBX + 0xfff8b978]
PUSH 0xb69
PUSH EAX
LEA EAX,[EBX + 0xfff89e38]
PUSH EAX
PUSH 0x40000
CALL 0x0001d6f0
ADD ESP,0x20
FLD qword ptr [ESP + 0x38]
MOV EDX,dword ptr [ESP + 0xc]
FLD qword ptr [ESP + 0x30]
FLD qword ptr [ESP + 0x28]
FLD qword ptr [ESP + 0x20]
FLD qword ptr [ESP + 0x18]
FLD qword ptr [ESP + 0x10]
FXCH ST5
FXCH
FXCH ST4
FXCH
FXCH ST2
FXCH ST3
FXCH ST2
JMP 0x00057620
FSTP ST0
FSTP ST0
FSTP ST0
FSTP ST0
FSTP ST0
FSTP ST0
LEA EAX,[EBX + 0xfff8b988]
PUSH EAX
LEA EAX,[EBX + 0xfff89e38]
PUSH 0xb66
PUSH EAX
LEA EAX,[EBX + 0xfff89e52]
PUSH EAX
CALL 0x0001ccf0
FSTP ST0
FSTP ST0
FSTP ST0
FSTP ST0
FSTP ST0
FSTP ST0
LEA EAX,[EBX + 0xfff8b988]
PUSH EAX
LEA EAX,[EBX + 0xfff89e38]
PUSH 0xb67
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\nFUN_000575d0(int param_1,int param_2,undefined8 param_3,undefined8 param_4,undefined8 param_5,\n            undefined8 param_6,undefined8 param_7,undefined8 param_8)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  \n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xb66,"DrawPathCurveTo"\n                 );\n  }\n  if (*(int *)(param_1 + 0x1054) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1050) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathCurveTo",0xb69,"%s",param_1 + 4);\n    }\n    uVar7 = (undefined4)((ulonglong)param_8 >> 0x20);\n    uVar6 = (undefined4)((ulonglong)param_7 >> 0x20);\n    uVar5 = (undefined4)((ulonglong)param_6 >> 0x20);\n    uVar4 = (undefined4)((ulonglong)param_5 >> 0x20);\n    uVar3 = (undefined4)((ulonglong)param_4 >> 0x20);\n    uVar2 = (undefined4)((ulonglong)param_3 >> 0x20);\n    if ((*(int *)(param_1 + 0x1044) == 2) && (*(int *)(param_1 + 0x1048) == param_2)) {\n      FUN_00057440(param_1," %.20g %.20g %.20g %.20g %.20g %.20g",(int)param_3,uVar2,(int)param_4,\n                   uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,(int)param_8,uVar7\n                  );\n    }\n    else {\n      *(int *)(param_1 + 0x1048) = param_2;\n      uVar1 = 0x43;\n      if (param_2 != 1) {\n        uVar1 = 99;\n      }\n      *(undefined4 *)(param_1 + 0x1044) = 2;\n      FUN_00057440(param_1,"%c%.20g %.20g %.20g %.20g %.20g %.20g",uVar1,(int)param_3,uVar2,\n                   (int)param_4,uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,\n                   (int)param_8,uVar7);\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0xb67,\n                "DrawPathCurveTo");\n}\n\n" comment (function_definition "void __regparm2\nFUN_000575d0(int param_1,int param_2,undefined8 param_3,undefined8 param_4,undefined8 param_5,\n            undefined8 param_6,undefined8 param_7,undefined8 param_8)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  \n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xb66,"DrawPathCurveTo"\n                 );\n  }\n  if (*(int *)(param_1 + 0x1054) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1050) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathCurveTo",0xb69,"%s",param_1 + 4);\n    }\n    uVar7 = (undefined4)((ulonglong)param_8 >> 0x20);\n    uVar6 = (undefined4)((ulonglong)param_7 >> 0x20);\n    uVar5 = (undefined4)((ulonglong)param_6 >> 0x20);\n    uVar4 = (undefined4)((ulonglong)param_5 >> 0x20);\n    uVar3 = (undefined4)((ulonglong)param_4 >> 0x20);\n    uVar2 = (undefined4)((ulonglong)param_3 >> 0x20);\n    if ((*(int *)(param_1 + 0x1044) == 2) && (*(int *)(param_1 + 0x1048) == param_2)) {\n      FUN_00057440(param_1," %.20g %.20g %.20g %.20g %.20g %.20g",(int)param_3,uVar2,(int)param_4,\n                   uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,(int)param_8,uVar7\n                  );\n    }\n    else {\n      *(int *)(param_1 + 0x1048) = param_2;\n      uVar1 = 0x43;\n      if (param_2 != 1) {\n        uVar1 = 99;\n      }\n      *(undefined4 *)(param_1 + 0x1044) = 2;\n      FUN_00057440(param_1,"%c%.20g %.20g %.20g %.20g %.20g %.20g",uVar1,(int)param_3,uVar2,\n                   (int)param_4,uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,\n                   (int)param_8,uVar7);\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0xb67,\n                "DrawPathCurveTo");\n}" primitive_type (ERROR "__regparm2" identifier) (function_declarator "FUN_000575d0(int param_1,int param_2,undefined8 param_3,undefined8 param_4,undefined8 param_5,\n            undefined8 param_6,undefined8 param_7,undefined8 param_8)" identifier (parameter_list "(int param_1,int param_2,undefined8 param_3,undefined8 param_4,undefined8 param_5,\n            undefined8 param_6,undefined8 param_7,undefined8 param_8)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) , (parameter_declaration "undefined8 param_4" type_identifier identifier) , (parameter_declaration "undefined8 param_5" type_identifier identifier) , (parameter_declaration "undefined8 param_6" type_identifier identifier) , (parameter_declaration "undefined8 param_7" type_identifier identifier) , (parameter_declaration "undefined8 param_8" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  \n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xb66,"DrawPathCurveTo"\n                 );\n  }\n  if (*(int *)(param_1 + 0x1054) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1050) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathCurveTo",0xb69,"%s",param_1 + 4);\n    }\n    uVar7 = (undefined4)((ulonglong)param_8 >> 0x20);\n    uVar6 = (undefined4)((ulonglong)param_7 >> 0x20);\n    uVar5 = (undefined4)((ulonglong)param_6 >> 0x20);\n    uVar4 = (undefined4)((ulonglong)param_5 >> 0x20);\n    uVar3 = (undefined4)((ulonglong)param_4 >> 0x20);\n    uVar2 = (undefined4)((ulonglong)param_3 >> 0x20);\n    if ((*(int *)(param_1 + 0x1044) == 2) && (*(int *)(param_1 + 0x1048) == param_2)) {\n      FUN_00057440(param_1," %.20g %.20g %.20g %.20g %.20g %.20g",(int)param_3,uVar2,(int)param_4,\n                   uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,(int)param_8,uVar7\n                  );\n    }\n    else {\n      *(int *)(param_1 + 0x1048) = param_2;\n      uVar1 = 0x43;\n      if (param_2 != 1) {\n        uVar1 = 99;\n      }\n      *(undefined4 *)(param_1 + 0x1044) = 2;\n      FUN_00057440(param_1,"%c%.20g %.20g %.20g %.20g %.20g %.20g",uVar1,(int)param_3,uVar2,\n                   (int)param_4,uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,\n                   (int)param_8,uVar7);\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0xb67,\n                "DrawPathCurveTo");\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "undefined4 uVar7;" 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",0xb66,"DrawPathCurveTo"\n                 );\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",0xb66,"DrawPathCurveTo"\n                 );\n  }" { comment (expression_statement "__assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xb66,"DrawPathCurveTo"\n                 );" (call_expression "__assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xb66,"DrawPathCurveTo"\n                 )" identifier (argument_list "("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xb66,"DrawPathCurveTo"\n                 )" ( (string_literal ""wand != (DrawingWand *) NULL"" " string_content ") , (string_literal ""MagickWand/drawing-wand.c"" " string_content ") , number_literal , (string_literal ""DrawPathCurveTo"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x1054) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1050) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathCurveTo",0xb69,"%s",param_1 + 4);\n    }\n    uVar7 = (undefined4)((ulonglong)param_8 >> 0x20);\n    uVar6 = (undefined4)((ulonglong)param_7 >> 0x20);\n    uVar5 = (undefined4)((ulonglong)param_6 >> 0x20);\n    uVar4 = (undefined4)((ulonglong)param_5 >> 0x20);\n    uVar3 = (undefined4)((ulonglong)param_4 >> 0x20);\n    uVar2 = (undefined4)((ulonglong)param_3 >> 0x20);\n    if ((*(int *)(param_1 + 0x1044) == 2) && (*(int *)(param_1 + 0x1048) == param_2)) {\n      FUN_00057440(param_1," %.20g %.20g %.20g %.20g %.20g %.20g",(int)param_3,uVar2,(int)param_4,\n                   uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,(int)param_8,uVar7\n                  );\n    }\n    else {\n      *(int *)(param_1 + 0x1048) = param_2;\n      uVar1 = 0x43;\n      if (param_2 != 1) {\n        uVar1 = 99;\n      }\n      *(undefined4 *)(param_1 + 0x1044) = 2;\n      FUN_00057440(param_1,"%c%.20g %.20g %.20g %.20g %.20g %.20g",uVar1,(int)param_3,uVar2,\n                   (int)param_4,uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,\n                   (int)param_8,uVar7);\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","DrawPathCurveTo",0xb69,"%s",param_1 + 4);\n    }\n    uVar7 = (undefined4)((ulonglong)param_8 >> 0x20);\n    uVar6 = (undefined4)((ulonglong)param_7 >> 0x20);\n    uVar5 = (undefined4)((ulonglong)param_6 >> 0x20);\n    uVar4 = (undefined4)((ulonglong)param_5 >> 0x20);\n    uVar3 = (undefined4)((ulonglong)param_4 >> 0x20);\n    uVar2 = (undefined4)((ulonglong)param_3 >> 0x20);\n    if ((*(int *)(param_1 + 0x1044) == 2) && (*(int *)(param_1 + 0x1048) == param_2)) {\n      FUN_00057440(param_1," %.20g %.20g %.20g %.20g %.20g %.20g",(int)param_3,uVar2,(int)param_4,\n                   uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,(int)param_8,uVar7\n                  );\n    }\n    else {\n      *(int *)(param_1 + 0x1048) = param_2;\n      uVar1 = 0x43;\n      if (param_2 != 1) {\n        uVar1 = 99;\n      }\n      *(undefined4 *)(param_1 + 0x1044) = 2;\n      FUN_00057440(param_1,"%c%.20g %.20g %.20g %.20g %.20g %.20g",uVar1,(int)param_3,uVar2,\n                   (int)param_4,uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,\n                   (int)param_8,uVar7);\n    }\n    return;\n  }" { (if_statement "if (*(int *)(param_1 + 0x1050) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathCurveTo",0xb69,"%s",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","DrawPathCurveTo",0xb69,"%s",param_1 + 4);\n    }" { (expression_statement "LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathCurveTo",0xb69,"%s",param_1 + 4);" (call_expression "LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathCurveTo",0xb69,"%s",param_1 + 4)" identifier (argument_list "(0x40000,"MagickWand/drawing-wand.c","DrawPathCurveTo",0xb69,"%s",param_1 + 4)" ( number_literal , (string_literal ""MagickWand/drawing-wand.c"" " string_content ") , (string_literal ""DrawPathCurveTo"" " string_content ") , number_literal , (string_literal ""%s"" " string_content ") , (binary_expression "param_1 + 4" identifier + number_literal) ))) ;) })) (expression_statement "uVar7 = (undefined4)((ulonglong)param_8 >> 0x20);" (assignment_expression "uVar7 = (undefined4)((ulonglong)param_8 >> 0x20)" identifier = (call_expression "(undefined4)((ulonglong)param_8 >> 0x20)" (parenthesized_expression "(undefined4)" ( identifier )) (argument_list "((ulonglong)param_8 >> 0x20)" ( (binary_expression "(ulonglong)param_8 >> 0x20" (cast_expression "(ulonglong)param_8" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "uVar6 = (undefined4)((ulonglong)param_7 >> 0x20);" (assignment_expression "uVar6 = (undefined4)((ulonglong)param_7 >> 0x20)" identifier = (call_expression "(undefined4)((ulonglong)param_7 >> 0x20)" (parenthesized_expression "(undefined4)" ( identifier )) (argument_list "((ulonglong)param_7 >> 0x20)" ( (binary_expression "(ulonglong)param_7 >> 0x20" (cast_expression "(ulonglong)param_7" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "uVar5 = (undefined4)((ulonglong)param_6 >> 0x20);" (assignment_expression "uVar5 = (undefined4)((ulonglong)param_6 >> 0x20)" identifier = (call_expression "(undefined4)((ulonglong)param_6 >> 0x20)" (parenthesized_expression "(undefined4)" ( identifier )) (argument_list "((ulonglong)param_6 >> 0x20)" ( (binary_expression "(ulonglong)param_6 >> 0x20" (cast_expression "(ulonglong)param_6" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "uVar4 = (undefined4)((ulonglong)param_5 >> 0x20);" (assignment_expression "uVar4 = (undefined4)((ulonglong)param_5 >> 0x20)" identifier = (call_expression "(undefined4)((ulonglong)param_5 >> 0x20)" (parenthesized_expression "(undefined4)" ( identifier )) (argument_list "((ulonglong)param_5 >> 0x20)" ( (binary_expression "(ulonglong)param_5 >> 0x20" (cast_expression "(ulonglong)param_5" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "uVar3 = (undefined4)((ulonglong)param_4 >> 0x20);" (assignment_expression "uVar3 = (undefined4)((ulonglong)param_4 >> 0x20)" identifier = (call_expression "(undefined4)((ulonglong)param_4 >> 0x20)" (parenthesized_expression "(undefined4)" ( identifier )) (argument_list "((ulonglong)param_4 >> 0x20)" ( (binary_expression "(ulonglong)param_4 >> 0x20" (cast_expression "(ulonglong)param_4" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "uVar2 = (undefined4)((ulonglong)param_3 >> 0x20);" (assignment_expression "uVar2 = (undefined4)((ulonglong)param_3 >> 0x20)" identifier = (call_expression "(undefined4)((ulonglong)param_3 >> 0x20)" (parenthesized_expression "(undefined4)" ( identifier )) (argument_list "((ulonglong)param_3 >> 0x20)" ( (binary_expression "(ulonglong)param_3 >> 0x20" (cast_expression "(ulonglong)param_3" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (if_statement "if ((*(int *)(param_1 + 0x1044) == 2) && (*(int *)(param_1 + 0x1048) == param_2)) {\n      FUN_00057440(param_1," %.20g %.20g %.20g %.20g %.20g %.20g",(int)param_3,uVar2,(int)param_4,\n                   uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,(int)param_8,uVar7\n                  );\n    }\n    else {\n      *(int *)(param_1 + 0x1048) = param_2;\n      uVar1 = 0x43;\n      if (param_2 != 1) {\n        uVar1 = 99;\n      }\n      *(undefined4 *)(param_1 + 0x1044) = 2;\n      FUN_00057440(param_1,"%c%.20g %.20g %.20g %.20g %.20g %.20g",uVar1,(int)param_3,uVar2,\n                   (int)param_4,uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,\n                   (int)param_8,uVar7);\n    }" if (parenthesized_expression "((*(int *)(param_1 + 0x1044) == 2) && (*(int *)(param_1 + 0x1048) == param_2))" ( (binary_expression "(*(int *)(param_1 + 0x1044) == 2) && (*(int *)(param_1 + 0x1048) == param_2)" (parenthesized_expression "(*(int *)(param_1 + 0x1044) == 2)" ( (binary_expression "*(int *)(param_1 + 0x1044) == 2" (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(param_1," %.20g %.20g %.20g %.20g %.20g %.20g",(int)param_3,uVar2,(int)param_4,\n                   uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,(int)param_8,uVar7\n                  );\n    }" { (expression_statement "FUN_00057440(param_1," %.20g %.20g %.20g %.20g %.20g %.20g",(int)param_3,uVar2,(int)param_4,\n                   uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,(int)param_8,uVar7\n                  );" (call_expression "FUN_00057440(param_1," %.20g %.20g %.20g %.20g %.20g %.20g",(int)param_3,uVar2,(int)param_4,\n                   uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,(int)param_8,uVar7\n                  )" identifier (argument_list "(param_1," %.20g %.20g %.20g %.20g %.20g %.20g",(int)param_3,uVar2,(int)param_4,\n                   uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,(int)param_8,uVar7\n                  )" ( identifier , (string_literal "" %.20g %.20g %.20g %.20g %.20g %.20g"" " string_content ") , (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier) , identifier , (cast_expression "(int)param_4" ( (type_descriptor "int" primitive_type) ) identifier) , identifier , (cast_expression "(int)param_5" ( (type_descriptor "int" primitive_type) ) identifier) , identifier , (cast_expression "(int)param_6" ( (type_descriptor "int" primitive_type) ) identifier) , identifier , (cast_expression "(int)param_7" ( (type_descriptor "int" primitive_type) ) identifier) , identifier , (cast_expression "(int)param_8" ( (type_descriptor "int" primitive_type) ) identifier) , identifier ))) ;) }) (else_clause "else {\n      *(int *)(param_1 + 0x1048) = param_2;\n      uVar1 = 0x43;\n      if (param_2 != 1) {\n        uVar1 = 99;\n      }\n      *(undefined4 *)(param_1 + 0x1044) = 2;\n      FUN_00057440(param_1,"%c%.20g %.20g %.20g %.20g %.20g %.20g",uVar1,(int)param_3,uVar2,\n                   (int)param_4,uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,\n                   (int)param_8,uVar7);\n    }" else (compound_statement "{\n      *(int *)(param_1 + 0x1048) = param_2;\n      uVar1 = 0x43;\n      if (param_2 != 1) {\n        uVar1 = 99;\n      }\n      *(undefined4 *)(param_1 + 0x1044) = 2;\n      FUN_00057440(param_1,"%c%.20g %.20g %.20g %.20g %.20g %.20g",uVar1,(int)param_3,uVar2,\n                   (int)param_4,uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,\n                   (int)param_8,uVar7);\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 = 0x43;" (assignment_expression "uVar1 = 0x43" identifier = number_literal) ;) (if_statement "if (param_2 != 1) {\n        uVar1 = 99;\n      }" if (parenthesized_expression "(param_2 != 1)" ( (binary_expression "param_2 != 1" identifier != number_literal) )) (compound_statement "{\n        uVar1 = 99;\n      }" { (expression_statement "uVar1 = 99;" (assignment_expression "uVar1 = 99" identifier = number_literal) ;) })) (expression_statement "*(undefined4 *)(param_1 + 0x1044) = 2;" (assignment_expression "*(undefined4 *)(param_1 + 0x1044) = 2" (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 %.20g %.20g %.20g %.20g %.20g",uVar1,(int)param_3,uVar2,\n                   (int)param_4,uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,\n                   (int)param_8,uVar7);" (call_expression "FUN_00057440(param_1,"%c%.20g %.20g %.20g %.20g %.20g %.20g",uVar1,(int)param_3,uVar2,\n                   (int)param_4,uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,\n                   (int)param_8,uVar7)" identifier (argument_list "(param_1,"%c%.20g %.20g %.20g %.20g %.20g %.20g",uVar1,(int)param_3,uVar2,\n                   (int)param_4,uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,\n                   (int)param_8,uVar7)" ( identifier , (string_literal ""%c%.20g %.20g %.20g %.20g %.20g %.20g"" " string_content ") , identifier , (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier) , identifier , (cast_expression "(int)param_4" ( (type_descriptor "int" primitive_type) ) identifier) , identifier , (cast_expression "(int)param_5" ( (type_descriptor "int" primitive_type) ) identifier) , identifier , (cast_expression "(int)param_6" ( (type_descriptor "int" primitive_type) ) identifier) , identifier , (cast_expression "(int)param_7" ( (type_descriptor "int" primitive_type) ) identifier) , identifier , (cast_expression "(int)param_8" ( (type_descriptor "int" primitive_type) ) identifier) , identifier ))) ;) }))) (return_statement "return;" return ;) })) comment (expression_statement "__assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0xb67,\n                "DrawPathCurveTo");" (call_expression "__assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0xb67,\n                "DrawPathCurveTo")" identifier (argument_list "("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0xb67,\n                "DrawPathCurveTo")" ( (string_literal ""wand->signature == MagickWandSignature"" " string_content ") , (string_literal ""MagickWand/drawing-wand.c"" " string_content ") , number_literal , (string_literal ""DrawPathCurveTo"" " 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\nDrawPathCurveTo(DrawingWand *wand,PathMode mode,double x1,double y1,double x2,double y2,double x,\n               double y)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  \n  if (wand == (DrawingWand *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xb66,"DrawPathCurveTo"\n                 );\n  }\n  if (wand->signature == 0xabacadab) {\n    if (wand->debug != MagickFalse) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathCurveTo",0xb69,"%s",wand->name);\n    }\n    uVar7 = (undefined4)((ulonglong)y >> 0x20);\n    uVar6 = (undefined4)((ulonglong)x >> 0x20);\n    uVar5 = (undefined4)((ulonglong)y2 >> 0x20);\n    uVar4 = (undefined4)((ulonglong)x2 >> 0x20);\n    uVar3 = (undefined4)((ulonglong)y1 >> 0x20);\n    uVar2 = (undefined4)((ulonglong)x1 >> 0x20);\n    if ((wand->path_operation == PathCurveToOperation) && (wand->path_mode == mode)) {\n      MVGAutoWrapPrintf(wand," %.20g %.20g %.20g %.20g %.20g %.20g",SUB84(x1,0),uVar2,SUB84(y1,0),\n                        uVar3,SUB84(x2,0),uVar4,SUB84(y2,0),uVar5,SUB84(x,0),uVar6,SUB84(y,0),uVar7)\n      ;\n    }\n    else {\n      wand->path_mode = mode;\n      uVar1 = 0x43;\n      if (mode != AbsolutePathMode) {\n        uVar1 = 99;\n      }\n      wand->path_operation = PathCurveToOperation;\n      MVGAutoWrapPrintf(wand,"%c%.20g %.20g %.20g %.20g %.20g %.20g",uVar1,SUB84(x1,0),uVar2,\n                        SUB84(y1,0),uVar3,SUB84(x2,0),uVar4,SUB84(y2,0),uVar5,SUB84(x,0),uVar6,\n                        SUB84(y,0),uVar7);\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0xb67,\n                "DrawPathCurveTo");\n}\n\n" comment comment comment comment comment comment comment (function_definition "void __regparm2\nDrawPathCurveTo(DrawingWand *wand,PathMode mode,double x1,double y1,double x2,double y2,double x,\n               double y)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  \n  if (wand == (DrawingWand *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xb66,"DrawPathCurveTo"\n                 );\n  }\n  if (wand->signature == 0xabacadab) {\n    if (wand->debug != MagickFalse) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathCurveTo",0xb69,"%s",wand->name);\n    }\n    uVar7 = (undefined4)((ulonglong)y >> 0x20);\n    uVar6 = (undefined4)((ulonglong)x >> 0x20);\n    uVar5 = (undefined4)((ulonglong)y2 >> 0x20);\n    uVar4 = (undefined4)((ulonglong)x2 >> 0x20);\n    uVar3 = (undefined4)((ulonglong)y1 >> 0x20);\n    uVar2 = (undefined4)((ulonglong)x1 >> 0x20);\n    if ((wand->path_operation == PathCurveToOperation) && (wand->path_mode == mode)) {\n      MVGAutoWrapPrintf(wand," %.20g %.20g %.20g %.20g %.20g %.20g",SUB84(x1,0),uVar2,SUB84(y1,0),\n                        uVar3,SUB84(x2,0),uVar4,SUB84(y2,0),uVar5,SUB84(x,0),uVar6,SUB84(y,0),uVar7)\n      ;\n    }\n    else {\n      wand->path_mode = mode;\n      uVar1 = 0x43;\n      if (mode != AbsolutePathMode) {\n        uVar1 = 99;\n      }\n      wand->path_operation = PathCurveToOperation;\n      MVGAutoWrapPrintf(wand,"%c%.20g %.20g %.20g %.20g %.20g %.20g",uVar1,SUB84(x1,0),uVar2,\n                        SUB84(y1,0),uVar3,SUB84(x2,0),uVar4,SUB84(y2,0),uVar5,SUB84(x,0),uVar6,\n                        SUB84(y,0),uVar7);\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0xb67,\n                "DrawPathCurveTo");\n}" primitive_type (ERROR "__regparm2" identifier) (function_declarator "DrawPathCurveTo(DrawingWand *wand,PathMode mode,double x1,double y1,double x2,double y2,double x,\n               double y)" identifier (parameter_list "(DrawingWand *wand,PathMode mode,double x1,double y1,double x2,double y2,double x,\n               double y)" ( (parameter_declaration "DrawingWand *wand" type_identifier (pointer_declarator "*wand" * identifier)) , (parameter_declaration "PathMode mode" type_identifier identifier) , (parameter_declaration "double x1" primitive_type identifier) , (parameter_declaration "double y1" primitive_type identifier) , (parameter_declaration "double x2" primitive_type identifier) , (parameter_declaration "double y2" primitive_type identifier) , (parameter_declaration "double x" primitive_type identifier) , (parameter_declaration "double y" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  \n  if (wand == (DrawingWand *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xb66,"DrawPathCurveTo"\n                 );\n  }\n  if (wand->signature == 0xabacadab) {\n    if (wand->debug != MagickFalse) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathCurveTo",0xb69,"%s",wand->name);\n    }\n    uVar7 = (undefined4)((ulonglong)y >> 0x20);\n    uVar6 = (undefined4)((ulonglong)x >> 0x20);\n    uVar5 = (undefined4)((ulonglong)y2 >> 0x20);\n    uVar4 = (undefined4)((ulonglong)x2 >> 0x20);\n    uVar3 = (undefined4)((ulonglong)y1 >> 0x20);\n    uVar2 = (undefined4)((ulonglong)x1 >> 0x20);\n    if ((wand->path_operation == PathCurveToOperation) && (wand->path_mode == mode)) {\n      MVGAutoWrapPrintf(wand," %.20g %.20g %.20g %.20g %.20g %.20g",SUB84(x1,0),uVar2,SUB84(y1,0),\n                        uVar3,SUB84(x2,0),uVar4,SUB84(y2,0),uVar5,SUB84(x,0),uVar6,SUB84(y,0),uVar7)\n      ;\n    }\n    else {\n      wand->path_mode = mode;\n      uVar1 = 0x43;\n      if (mode != AbsolutePathMode) {\n        uVar1 = 99;\n      }\n      wand->path_operation = PathCurveToOperation;\n      MVGAutoWrapPrintf(wand,"%c%.20g %.20g %.20g %.20g %.20g %.20g",uVar1,SUB84(x1,0),uVar2,\n                        SUB84(y1,0),uVar3,SUB84(x2,0),uVar4,SUB84(y2,0),uVar5,SUB84(x,0),uVar6,\n                        SUB84(y,0),uVar7);\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0xb67,\n                "DrawPathCurveTo");\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "undefined4 uVar7;" 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",0xb66,"DrawPathCurveTo"\n                 );\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",0xb66,"DrawPathCurveTo"\n                 );\n  }" { comment (expression_statement "__assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xb66,"DrawPathCurveTo"\n                 );" (call_expression "__assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xb66,"DrawPathCurveTo"\n                 )" identifier (argument_list "("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xb66,"DrawPathCurveTo"\n                 )" ( (string_literal ""wand != (DrawingWand *) NULL"" " string_content ") , (string_literal ""MagickWand/drawing-wand.c"" " string_content ") , number_literal , (string_literal ""DrawPathCurveTo"" " string_content ") ))) ;) })) (if_statement "if (wand->signature == 0xabacadab) {\n    if (wand->debug != MagickFalse) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathCurveTo",0xb69,"%s",wand->name);\n    }\n    uVar7 = (undefined4)((ulonglong)y >> 0x20);\n    uVar6 = (undefined4)((ulonglong)x >> 0x20);\n    uVar5 = (undefined4)((ulonglong)y2 >> 0x20);\n    uVar4 = (undefined4)((ulonglong)x2 >> 0x20);\n    uVar3 = (undefined4)((ulonglong)y1 >> 0x20);\n    uVar2 = (undefined4)((ulonglong)x1 >> 0x20);\n    if ((wand->path_operation == PathCurveToOperation) && (wand->path_mode == mode)) {\n      MVGAutoWrapPrintf(wand," %.20g %.20g %.20g %.20g %.20g %.20g",SUB84(x1,0),uVar2,SUB84(y1,0),\n                        uVar3,SUB84(x2,0),uVar4,SUB84(y2,0),uVar5,SUB84(x,0),uVar6,SUB84(y,0),uVar7)\n      ;\n    }\n    else {\n      wand->path_mode = mode;\n      uVar1 = 0x43;\n      if (mode != AbsolutePathMode) {\n        uVar1 = 99;\n      }\n      wand->path_operation = PathCurveToOperation;\n      MVGAutoWrapPrintf(wand,"%c%.20g %.20g %.20g %.20g %.20g %.20g",uVar1,SUB84(x1,0),uVar2,\n                        SUB84(y1,0),uVar3,SUB84(x2,0),uVar4,SUB84(y2,0),uVar5,SUB84(x,0),uVar6,\n                        SUB84(y,0),uVar7);\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","DrawPathCurveTo",0xb69,"%s",wand->name);\n    }\n    uVar7 = (undefined4)((ulonglong)y >> 0x20);\n    uVar6 = (undefined4)((ulonglong)x >> 0x20);\n    uVar5 = (undefined4)((ulonglong)y2 >> 0x20);\n    uVar4 = (undefined4)((ulonglong)x2 >> 0x20);\n    uVar3 = (undefined4)((ulonglong)y1 >> 0x20);\n    uVar2 = (undefined4)((ulonglong)x1 >> 0x20);\n    if ((wand->path_operation == PathCurveToOperation) && (wand->path_mode == mode)) {\n      MVGAutoWrapPrintf(wand," %.20g %.20g %.20g %.20g %.20g %.20g",SUB84(x1,0),uVar2,SUB84(y1,0),\n                        uVar3,SUB84(x2,0),uVar4,SUB84(y2,0),uVar5,SUB84(x,0),uVar6,SUB84(y,0),uVar7)\n      ;\n    }\n    else {\n      wand->path_mode = mode;\n      uVar1 = 0x43;\n      if (mode != AbsolutePathMode) {\n        uVar1 = 99;\n      }\n      wand->path_operation = PathCurveToOperation;\n      MVGAutoWrapPrintf(wand,"%c%.20g %.20g %.20g %.20g %.20g %.20g",uVar1,SUB84(x1,0),uVar2,\n                        SUB84(y1,0),uVar3,SUB84(x2,0),uVar4,SUB84(y2,0),uVar5,SUB84(x,0),uVar6,\n                        SUB84(y,0),uVar7);\n    }\n    return;\n  }" { (if_statement "if (wand->debug != MagickFalse) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathCurveTo",0xb69,"%s",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","DrawPathCurveTo",0xb69,"%s",wand->name);\n    }" { (expression_statement "LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathCurveTo",0xb69,"%s",wand->name);" (call_expression "LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathCurveTo",0xb69,"%s",wand->name)" identifier (argument_list "(0x40000,"MagickWand/drawing-wand.c","DrawPathCurveTo",0xb69,"%s",wand->name)" ( number_literal , (string_literal ""MagickWand/drawing-wand.c"" " string_content ") , (string_literal ""DrawPathCurveTo"" " string_content ") , number_literal , (string_literal ""%s"" " string_content ") , (field_expression "wand->name" identifier -> field_identifier) ))) ;) })) (expression_statement "uVar7 = (undefined4)((ulonglong)y >> 0x20);" (assignment_expression "uVar7 = (undefined4)((ulonglong)y >> 0x20)" identifier = (call_expression "(undefined4)((ulonglong)y >> 0x20)" (parenthesized_expression "(undefined4)" ( identifier )) (argument_list "((ulonglong)y >> 0x20)" ( (binary_expression "(ulonglong)y >> 0x20" (cast_expression "(ulonglong)y" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "uVar6 = (undefined4)((ulonglong)x >> 0x20);" (assignment_expression "uVar6 = (undefined4)((ulonglong)x >> 0x20)" identifier = (call_expression "(undefined4)((ulonglong)x >> 0x20)" (parenthesized_expression "(undefined4)" ( identifier )) (argument_list "((ulonglong)x >> 0x20)" ( (binary_expression "(ulonglong)x >> 0x20" (cast_expression "(ulonglong)x" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "uVar5 = (undefined4)((ulonglong)y2 >> 0x20);" (assignment_expression "uVar5 = (undefined4)((ulonglong)y2 >> 0x20)" identifier = (call_expression "(undefined4)((ulonglong)y2 >> 0x20)" (parenthesized_expression "(undefined4)" ( identifier )) (argument_list "((ulonglong)y2 >> 0x20)" ( (binary_expression "(ulonglong)y2 >> 0x20" (cast_expression "(ulonglong)y2" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "uVar4 = (undefined4)((ulonglong)x2 >> 0x20);" (assignment_expression "uVar4 = (undefined4)((ulonglong)x2 >> 0x20)" identifier = (call_expression "(undefined4)((ulonglong)x2 >> 0x20)" (parenthesized_expression "(undefined4)" ( identifier )) (argument_list "((ulonglong)x2 >> 0x20)" ( (binary_expression "(ulonglong)x2 >> 0x20" (cast_expression "(ulonglong)x2" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "uVar3 = (undefined4)((ulonglong)y1 >> 0x20);" (assignment_expression "uVar3 = (undefined4)((ulonglong)y1 >> 0x20)" identifier = (call_expression "(undefined4)((ulonglong)y1 >> 0x20)" (parenthesized_expression "(undefined4)" ( identifier )) (argument_list "((ulonglong)y1 >> 0x20)" ( (binary_expression "(ulonglong)y1 >> 0x20" (cast_expression "(ulonglong)y1" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "uVar2 = (undefined4)((ulonglong)x1 >> 0x20);" (assignment_expression "uVar2 = (undefined4)((ulonglong)x1 >> 0x20)" identifier = (call_expression "(undefined4)((ulonglong)x1 >> 0x20)" (parenthesized_expression "(undefined4)" ( identifier )) (argument_list "((ulonglong)x1 >> 0x20)" ( (binary_expression "(ulonglong)x1 >> 0x20" (cast_expression "(ulonglong)x1" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (if_statement "if ((wand->path_operation == PathCurveToOperation) && (wand->path_mode == mode)) {\n      MVGAutoWrapPrintf(wand," %.20g %.20g %.20g %.20g %.20g %.20g",SUB84(x1,0),uVar2,SUB84(y1,0),\n                        uVar3,SUB84(x2,0),uVar4,SUB84(y2,0),uVar5,SUB84(x,0),uVar6,SUB84(y,0),uVar7)\n      ;\n    }\n    else {\n      wand->path_mode = mode;\n      uVar1 = 0x43;\n      if (mode != AbsolutePathMode) {\n        uVar1 = 99;\n      }\n      wand->path_operation = PathCurveToOperation;\n      MVGAutoWrapPrintf(wand,"%c%.20g %.20g %.20g %.20g %.20g %.20g",uVar1,SUB84(x1,0),uVar2,\n                        SUB84(y1,0),uVar3,SUB84(x2,0),uVar4,SUB84(y2,0),uVar5,SUB84(x,0),uVar6,\n                        SUB84(y,0),uVar7);\n    }" if (parenthesized_expression "((wand->path_operation == PathCurveToOperation) && (wand->path_mode == mode))" ( (binary_expression "(wand->path_operation == PathCurveToOperation) && (wand->path_mode == mode)" (parenthesized_expression "(wand->path_operation == PathCurveToOperation)" ( (binary_expression "wand->path_operation == PathCurveToOperation" (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 %.20g %.20g %.20g %.20g %.20g",SUB84(x1,0),uVar2,SUB84(y1,0),\n                        uVar3,SUB84(x2,0),uVar4,SUB84(y2,0),uVar5,SUB84(x,0),uVar6,SUB84(y,0),uVar7)\n      ;\n    }" { (expression_statement "MVGAutoWrapPrintf(wand," %.20g %.20g %.20g %.20g %.20g %.20g",SUB84(x1,0),uVar2,SUB84(y1,0),\n                        uVar3,SUB84(x2,0),uVar4,SUB84(y2,0),uVar5,SUB84(x,0),uVar6,SUB84(y,0),uVar7)\n      ;" (call_expression "MVGAutoWrapPrintf(wand," %.20g %.20g %.20g %.20g %.20g %.20g",SUB84(x1,0),uVar2,SUB84(y1,0),\n                        uVar3,SUB84(x2,0),uVar4,SUB84(y2,0),uVar5,SUB84(x,0),uVar6,SUB84(y,0),uVar7)" identifier (argument_list "(wand," %.20g %.20g %.20g %.20g %.20g %.20g",SUB84(x1,0),uVar2,SUB84(y1,0),\n                        uVar3,SUB84(x2,0),uVar4,SUB84(y2,0),uVar5,SUB84(x,0),uVar6,SUB84(y,0),uVar7)" ( identifier , (string_literal "" %.20g %.20g %.20g %.20g %.20g %.20g"" " string_content ") , (call_expression "SUB84(x1,0)" identifier (argument_list "(x1,0)" ( identifier , number_literal ))) , identifier , (call_expression "SUB84(y1,0)" identifier (argument_list "(y1,0)" ( identifier , number_literal ))) , identifier , (call_expression "SUB84(x2,0)" identifier (argument_list "(x2,0)" ( identifier , number_literal ))) , identifier , (call_expression "SUB84(y2,0)" identifier (argument_list "(y2,0)" ( identifier , number_literal ))) , identifier , (call_expression "SUB84(x,0)" identifier (argument_list "(x,0)" ( identifier , number_literal ))) , identifier , (call_expression "SUB84(y,0)" identifier (argument_list "(y,0)" ( identifier , number_literal ))) , identifier ))) ;) }) (else_clause "else {\n      wand->path_mode = mode;\n      uVar1 = 0x43;\n      if (mode != AbsolutePathMode) {\n        uVar1 = 99;\n      }\n      wand->path_operation = PathCurveToOperation;\n      MVGAutoWrapPrintf(wand,"%c%.20g %.20g %.20g %.20g %.20g %.20g",uVar1,SUB84(x1,0),uVar2,\n                        SUB84(y1,0),uVar3,SUB84(x2,0),uVar4,SUB84(y2,0),uVar5,SUB84(x,0),uVar6,\n                        SUB84(y,0),uVar7);\n    }" else (compound_statement "{\n      wand->path_mode = mode;\n      uVar1 = 0x43;\n      if (mode != AbsolutePathMode) {\n        uVar1 = 99;\n      }\n      wand->path_operation = PathCurveToOperation;\n      MVGAutoWrapPrintf(wand,"%c%.20g %.20g %.20g %.20g %.20g %.20g",uVar1,SUB84(x1,0),uVar2,\n                        SUB84(y1,0),uVar3,SUB84(x2,0),uVar4,SUB84(y2,0),uVar5,SUB84(x,0),uVar6,\n                        SUB84(y,0),uVar7);\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 = 0x43;" (assignment_expression "uVar1 = 0x43" identifier = number_literal) ;) (if_statement "if (mode != AbsolutePathMode) {\n        uVar1 = 99;\n      }" if (parenthesized_expression "(mode != AbsolutePathMode)" ( (binary_expression "mode != AbsolutePathMode" identifier != identifier) )) (compound_statement "{\n        uVar1 = 99;\n      }" { (expression_statement "uVar1 = 99;" (assignment_expression "uVar1 = 99" identifier = number_literal) ;) })) (expression_statement "wand->path_operation = PathCurveToOperation;" (assignment_expression "wand->path_operation = PathCurveToOperation" (field_expression "wand->path_operation" identifier -> field_identifier) = identifier) ;) (expression_statement "MVGAutoWrapPrintf(wand,"%c%.20g %.20g %.20g %.20g %.20g %.20g",uVar1,SUB84(x1,0),uVar2,\n                        SUB84(y1,0),uVar3,SUB84(x2,0),uVar4,SUB84(y2,0),uVar5,SUB84(x,0),uVar6,\n                        SUB84(y,0),uVar7);" (call_expression "MVGAutoWrapPrintf(wand,"%c%.20g %.20g %.20g %.20g %.20g %.20g",uVar1,SUB84(x1,0),uVar2,\n                        SUB84(y1,0),uVar3,SUB84(x2,0),uVar4,SUB84(y2,0),uVar5,SUB84(x,0),uVar6,\n                        SUB84(y,0),uVar7)" identifier (argument_list "(wand,"%c%.20g %.20g %.20g %.20g %.20g %.20g",uVar1,SUB84(x1,0),uVar2,\n                        SUB84(y1,0),uVar3,SUB84(x2,0),uVar4,SUB84(y2,0),uVar5,SUB84(x,0),uVar6,\n                        SUB84(y,0),uVar7)" ( identifier , (string_literal ""%c%.20g %.20g %.20g %.20g %.20g %.20g"" " string_content ") , identifier , (call_expression "SUB84(x1,0)" identifier (argument_list "(x1,0)" ( identifier , number_literal ))) , identifier , (call_expression "SUB84(y1,0)" identifier (argument_list "(y1,0)" ( identifier , number_literal ))) , identifier , (call_expression "SUB84(x2,0)" identifier (argument_list "(x2,0)" ( identifier , number_literal ))) , identifier , (call_expression "SUB84(y2,0)" identifier (argument_list "(y2,0)" ( identifier , number_literal ))) , identifier , (call_expression "SUB84(x,0)" identifier (argument_list "(x,0)" ( identifier , number_literal ))) , identifier , (call_expression "SUB84(y,0)" identifier (argument_list "(y,0)" ( identifier , number_literal ))) , identifier ))) ;) }))) (return_statement "return;" return ;) })) comment (expression_statement "__assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0xb67,\n                "DrawPathCurveTo");" (call_expression "__assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0xb67,\n                "DrawPathCurveTo")" identifier (argument_list "("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0xb67,\n                "DrawPathCurveTo")" ( (string_literal ""wand->signature == MagickWandSignature"" " string_content ") , (string_literal ""MagickWand/drawing-wand.c"" " string_content ") , number_literal , (string_literal ""DrawPathCurveTo"" " string_content ") ))) ;) })))
(translation_unit "void __regparm2\nFUN_000575d0(int param_1,int param_2,undefined8 param_3,undefined8 param_4,undefined8 param_5,\n            undefined8 param_6,undefined8 param_7,undefined8 param_8)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xb66,"DrawPathCurveTo"\n                 );\n  }\n  if (*(int *)(param_1 + 0x1054) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1050) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathCurveTo",0xb69,"%s",param_1 + 4);\n    }\n    uVar7 = (undefined4)((ulonglong)param_8 >> 0x20);\n    uVar6 = (undefined4)((ulonglong)param_7 >> 0x20);\n    uVar5 = (undefined4)((ulonglong)param_6 >> 0x20);\n    uVar4 = (undefined4)((ulonglong)param_5 >> 0x20);\n    uVar3 = (undefined4)((ulonglong)param_4 >> 0x20);\n    uVar2 = (undefined4)((ulonglong)param_3 >> 0x20);\n    if ((*(int *)(param_1 + 0x1044) == 2) && (*(int *)(param_1 + 0x1048) == param_2)) {\n      FUN_00057440(param_1," %.20g %.20g %.20g %.20g %.20g %.20g",(int)param_3,uVar2,(int)param_4,\n                   uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,(int)param_8,uVar7\n                  );\n    }\n    else {\n      *(int *)(param_1 + 0x1048) = param_2;\n      uVar1 = 0x43;\n      if (param_2 != 1) {\n        uVar1 = 99;\n      }\n      *(undefined4 *)(param_1 + 0x1044) = 2;\n      FUN_00057440(param_1,"%c%.20g %.20g %.20g %.20g %.20g %.20g",uVar1,(int)param_3,uVar2,\n                   (int)param_4,uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,\n                   (int)param_8,uVar7);\n    }\n    return;\n  }\n                    \n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0xb67,\n                "DrawPathCurveTo");\n}\n\n" (function_definition "void __regparm2\nFUN_000575d0(int param_1,int param_2,undefined8 param_3,undefined8 param_4,undefined8 param_5,\n            undefined8 param_6,undefined8 param_7,undefined8 param_8)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xb66,"DrawPathCurveTo"\n                 );\n  }\n  if (*(int *)(param_1 + 0x1054) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1050) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathCurveTo",0xb69,"%s",param_1 + 4);\n    }\n    uVar7 = (undefined4)((ulonglong)param_8 >> 0x20);\n    uVar6 = (undefined4)((ulonglong)param_7 >> 0x20);\n    uVar5 = (undefined4)((ulonglong)param_6 >> 0x20);\n    uVar4 = (undefined4)((ulonglong)param_5 >> 0x20);\n    uVar3 = (undefined4)((ulonglong)param_4 >> 0x20);\n    uVar2 = (undefined4)((ulonglong)param_3 >> 0x20);\n    if ((*(int *)(param_1 + 0x1044) == 2) && (*(int *)(param_1 + 0x1048) == param_2)) {\n      FUN_00057440(param_1," %.20g %.20g %.20g %.20g %.20g %.20g",(int)param_3,uVar2,(int)param_4,\n                   uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,(int)param_8,uVar7\n                  );\n    }\n    else {\n      *(int *)(param_1 + 0x1048) = param_2;\n      uVar1 = 0x43;\n      if (param_2 != 1) {\n        uVar1 = 99;\n      }\n      *(undefined4 *)(param_1 + 0x1044) = 2;\n      FUN_00057440(param_1,"%c%.20g %.20g %.20g %.20g %.20g %.20g",uVar1,(int)param_3,uVar2,\n                   (int)param_4,uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,\n                   (int)param_8,uVar7);\n    }\n    return;\n  }\n                    \n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0xb67,\n                "DrawPathCurveTo");\n}" primitive_type (ERROR "__regparm2" identifier) (function_declarator "FUN_000575d0(int param_1,int param_2,undefined8 param_3,undefined8 param_4,undefined8 param_5,\n            undefined8 param_6,undefined8 param_7,undefined8 param_8)" identifier (parameter_list "(int param_1,int param_2,undefined8 param_3,undefined8 param_4,undefined8 param_5,\n            undefined8 param_6,undefined8 param_7,undefined8 param_8)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) , (parameter_declaration "undefined8 param_4" type_identifier identifier) , (parameter_declaration "undefined8 param_5" type_identifier identifier) , (parameter_declaration "undefined8 param_6" type_identifier identifier) , (parameter_declaration "undefined8 param_7" type_identifier identifier) , (parameter_declaration "undefined8 param_8" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xb66,"DrawPathCurveTo"\n                 );\n  }\n  if (*(int *)(param_1 + 0x1054) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1050) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathCurveTo",0xb69,"%s",param_1 + 4);\n    }\n    uVar7 = (undefined4)((ulonglong)param_8 >> 0x20);\n    uVar6 = (undefined4)((ulonglong)param_7 >> 0x20);\n    uVar5 = (undefined4)((ulonglong)param_6 >> 0x20);\n    uVar4 = (undefined4)((ulonglong)param_5 >> 0x20);\n    uVar3 = (undefined4)((ulonglong)param_4 >> 0x20);\n    uVar2 = (undefined4)((ulonglong)param_3 >> 0x20);\n    if ((*(int *)(param_1 + 0x1044) == 2) && (*(int *)(param_1 + 0x1048) == param_2)) {\n      FUN_00057440(param_1," %.20g %.20g %.20g %.20g %.20g %.20g",(int)param_3,uVar2,(int)param_4,\n                   uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,(int)param_8,uVar7\n                  );\n    }\n    else {\n      *(int *)(param_1 + 0x1048) = param_2;\n      uVar1 = 0x43;\n      if (param_2 != 1) {\n        uVar1 = 99;\n      }\n      *(undefined4 *)(param_1 + 0x1044) = 2;\n      FUN_00057440(param_1,"%c%.20g %.20g %.20g %.20g %.20g %.20g",uVar1,(int)param_3,uVar2,\n                   (int)param_4,uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,\n                   (int)param_8,uVar7);\n    }\n    return;\n  }\n                    \n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0xb67,\n                "DrawPathCurveTo");\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (if_statement "if (param_1 == 0) {\n                    \n    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xb66,"DrawPathCurveTo"\n                 );\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",0xb66,"DrawPathCurveTo"\n                 );\n  }" { (expression_statement "__assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xb66,"DrawPathCurveTo"\n                 );" (call_expression "__assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xb66,"DrawPathCurveTo"\n                 )" identifier (argument_list "("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xb66,"DrawPathCurveTo"\n                 )" ( (string_literal ""wand != (DrawingWand *) NULL"" " string_content ") , (string_literal ""MagickWand/drawing-wand.c"" " string_content ") , number_literal , (string_literal ""DrawPathCurveTo"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x1054) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1050) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathCurveTo",0xb69,"%s",param_1 + 4);\n    }\n    uVar7 = (undefined4)((ulonglong)param_8 >> 0x20);\n    uVar6 = (undefined4)((ulonglong)param_7 >> 0x20);\n    uVar5 = (undefined4)((ulonglong)param_6 >> 0x20);\n    uVar4 = (undefined4)((ulonglong)param_5 >> 0x20);\n    uVar3 = (undefined4)((ulonglong)param_4 >> 0x20);\n    uVar2 = (undefined4)((ulonglong)param_3 >> 0x20);\n    if ((*(int *)(param_1 + 0x1044) == 2) && (*(int *)(param_1 + 0x1048) == param_2)) {\n      FUN_00057440(param_1," %.20g %.20g %.20g %.20g %.20g %.20g",(int)param_3,uVar2,(int)param_4,\n                   uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,(int)param_8,uVar7\n                  );\n    }\n    else {\n      *(int *)(param_1 + 0x1048) = param_2;\n      uVar1 = 0x43;\n      if (param_2 != 1) {\n        uVar1 = 99;\n      }\n      *(undefined4 *)(param_1 + 0x1044) = 2;\n      FUN_00057440(param_1,"%c%.20g %.20g %.20g %.20g %.20g %.20g",uVar1,(int)param_3,uVar2,\n                   (int)param_4,uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,\n                   (int)param_8,uVar7);\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","DrawPathCurveTo",0xb69,"%s",param_1 + 4);\n    }\n    uVar7 = (undefined4)((ulonglong)param_8 >> 0x20);\n    uVar6 = (undefined4)((ulonglong)param_7 >> 0x20);\n    uVar5 = (undefined4)((ulonglong)param_6 >> 0x20);\n    uVar4 = (undefined4)((ulonglong)param_5 >> 0x20);\n    uVar3 = (undefined4)((ulonglong)param_4 >> 0x20);\n    uVar2 = (undefined4)((ulonglong)param_3 >> 0x20);\n    if ((*(int *)(param_1 + 0x1044) == 2) && (*(int *)(param_1 + 0x1048) == param_2)) {\n      FUN_00057440(param_1," %.20g %.20g %.20g %.20g %.20g %.20g",(int)param_3,uVar2,(int)param_4,\n                   uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,(int)param_8,uVar7\n                  );\n    }\n    else {\n      *(int *)(param_1 + 0x1048) = param_2;\n      uVar1 = 0x43;\n      if (param_2 != 1) {\n        uVar1 = 99;\n      }\n      *(undefined4 *)(param_1 + 0x1044) = 2;\n      FUN_00057440(param_1,"%c%.20g %.20g %.20g %.20g %.20g %.20g",uVar1,(int)param_3,uVar2,\n                   (int)param_4,uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,\n                   (int)param_8,uVar7);\n    }\n    return;\n  }" { (if_statement "if (*(int *)(param_1 + 0x1050) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathCurveTo",0xb69,"%s",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","DrawPathCurveTo",0xb69,"%s",param_1 + 4);\n    }" { (expression_statement "LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathCurveTo",0xb69,"%s",param_1 + 4);" (call_expression "LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathCurveTo",0xb69,"%s",param_1 + 4)" identifier (argument_list "(0x40000,"MagickWand/drawing-wand.c","DrawPathCurveTo",0xb69,"%s",param_1 + 4)" ( number_literal , (string_literal ""MagickWand/drawing-wand.c"" " string_content ") , (string_literal ""DrawPathCurveTo"" " string_content ") , number_literal , (string_literal ""%s"" " string_content ") , (binary_expression "param_1 + 4" identifier + number_literal) ))) ;) })) (expression_statement "uVar7 = (undefined4)((ulonglong)param_8 >> 0x20);" (assignment_expression "uVar7 = (undefined4)((ulonglong)param_8 >> 0x20)" identifier = (call_expression "(undefined4)((ulonglong)param_8 >> 0x20)" (parenthesized_expression "(undefined4)" ( identifier )) (argument_list "((ulonglong)param_8 >> 0x20)" ( (binary_expression "(ulonglong)param_8 >> 0x20" (cast_expression "(ulonglong)param_8" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "uVar6 = (undefined4)((ulonglong)param_7 >> 0x20);" (assignment_expression "uVar6 = (undefined4)((ulonglong)param_7 >> 0x20)" identifier = (call_expression "(undefined4)((ulonglong)param_7 >> 0x20)" (parenthesized_expression "(undefined4)" ( identifier )) (argument_list "((ulonglong)param_7 >> 0x20)" ( (binary_expression "(ulonglong)param_7 >> 0x20" (cast_expression "(ulonglong)param_7" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "uVar5 = (undefined4)((ulonglong)param_6 >> 0x20);" (assignment_expression "uVar5 = (undefined4)((ulonglong)param_6 >> 0x20)" identifier = (call_expression "(undefined4)((ulonglong)param_6 >> 0x20)" (parenthesized_expression "(undefined4)" ( identifier )) (argument_list "((ulonglong)param_6 >> 0x20)" ( (binary_expression "(ulonglong)param_6 >> 0x20" (cast_expression "(ulonglong)param_6" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "uVar4 = (undefined4)((ulonglong)param_5 >> 0x20);" (assignment_expression "uVar4 = (undefined4)((ulonglong)param_5 >> 0x20)" identifier = (call_expression "(undefined4)((ulonglong)param_5 >> 0x20)" (parenthesized_expression "(undefined4)" ( identifier )) (argument_list "((ulonglong)param_5 >> 0x20)" ( (binary_expression "(ulonglong)param_5 >> 0x20" (cast_expression "(ulonglong)param_5" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "uVar3 = (undefined4)((ulonglong)param_4 >> 0x20);" (assignment_expression "uVar3 = (undefined4)((ulonglong)param_4 >> 0x20)" identifier = (call_expression "(undefined4)((ulonglong)param_4 >> 0x20)" (parenthesized_expression "(undefined4)" ( identifier )) (argument_list "((ulonglong)param_4 >> 0x20)" ( (binary_expression "(ulonglong)param_4 >> 0x20" (cast_expression "(ulonglong)param_4" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "uVar2 = (undefined4)((ulonglong)param_3 >> 0x20);" (assignment_expression "uVar2 = (undefined4)((ulonglong)param_3 >> 0x20)" identifier = (call_expression "(undefined4)((ulonglong)param_3 >> 0x20)" (parenthesized_expression "(undefined4)" ( identifier )) (argument_list "((ulonglong)param_3 >> 0x20)" ( (binary_expression "(ulonglong)param_3 >> 0x20" (cast_expression "(ulonglong)param_3" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (if_statement "if ((*(int *)(param_1 + 0x1044) == 2) && (*(int *)(param_1 + 0x1048) == param_2)) {\n      FUN_00057440(param_1," %.20g %.20g %.20g %.20g %.20g %.20g",(int)param_3,uVar2,(int)param_4,\n                   uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,(int)param_8,uVar7\n                  );\n    }\n    else {\n      *(int *)(param_1 + 0x1048) = param_2;\n      uVar1 = 0x43;\n      if (param_2 != 1) {\n        uVar1 = 99;\n      }\n      *(undefined4 *)(param_1 + 0x1044) = 2;\n      FUN_00057440(param_1,"%c%.20g %.20g %.20g %.20g %.20g %.20g",uVar1,(int)param_3,uVar2,\n                   (int)param_4,uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,\n                   (int)param_8,uVar7);\n    }" if (parenthesized_expression "((*(int *)(param_1 + 0x1044) == 2) && (*(int *)(param_1 + 0x1048) == param_2))" ( (binary_expression "(*(int *)(param_1 + 0x1044) == 2) && (*(int *)(param_1 + 0x1048) == param_2)" (parenthesized_expression "(*(int *)(param_1 + 0x1044) == 2)" ( (binary_expression "*(int *)(param_1 + 0x1044) == 2" (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(param_1," %.20g %.20g %.20g %.20g %.20g %.20g",(int)param_3,uVar2,(int)param_4,\n                   uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,(int)param_8,uVar7\n                  );\n    }" { (expression_statement "FUN_00057440(param_1," %.20g %.20g %.20g %.20g %.20g %.20g",(int)param_3,uVar2,(int)param_4,\n                   uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,(int)param_8,uVar7\n                  );" (call_expression "FUN_00057440(param_1," %.20g %.20g %.20g %.20g %.20g %.20g",(int)param_3,uVar2,(int)param_4,\n                   uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,(int)param_8,uVar7\n                  )" identifier (argument_list "(param_1," %.20g %.20g %.20g %.20g %.20g %.20g",(int)param_3,uVar2,(int)param_4,\n                   uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,(int)param_8,uVar7\n                  )" ( identifier , (string_literal "" %.20g %.20g %.20g %.20g %.20g %.20g"" " string_content ") , (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier) , identifier , (cast_expression "(int)param_4" ( (type_descriptor "int" primitive_type) ) identifier) , identifier , (cast_expression "(int)param_5" ( (type_descriptor "int" primitive_type) ) identifier) , identifier , (cast_expression "(int)param_6" ( (type_descriptor "int" primitive_type) ) identifier) , identifier , (cast_expression "(int)param_7" ( (type_descriptor "int" primitive_type) ) identifier) , identifier , (cast_expression "(int)param_8" ( (type_descriptor "int" primitive_type) ) identifier) , identifier ))) ;) }) (else_clause "else {\n      *(int *)(param_1 + 0x1048) = param_2;\n      uVar1 = 0x43;\n      if (param_2 != 1) {\n        uVar1 = 99;\n      }\n      *(undefined4 *)(param_1 + 0x1044) = 2;\n      FUN_00057440(param_1,"%c%.20g %.20g %.20g %.20g %.20g %.20g",uVar1,(int)param_3,uVar2,\n                   (int)param_4,uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,\n                   (int)param_8,uVar7);\n    }" else (compound_statement "{\n      *(int *)(param_1 + 0x1048) = param_2;\n      uVar1 = 0x43;\n      if (param_2 != 1) {\n        uVar1 = 99;\n      }\n      *(undefined4 *)(param_1 + 0x1044) = 2;\n      FUN_00057440(param_1,"%c%.20g %.20g %.20g %.20g %.20g %.20g",uVar1,(int)param_3,uVar2,\n                   (int)param_4,uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,\n                   (int)param_8,uVar7);\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 = 0x43;" (assignment_expression "uVar1 = 0x43" identifier = number_literal) ;) (if_statement "if (param_2 != 1) {\n        uVar1 = 99;\n      }" if (parenthesized_expression "(param_2 != 1)" ( (binary_expression "param_2 != 1" identifier != number_literal) )) (compound_statement "{\n        uVar1 = 99;\n      }" { (expression_statement "uVar1 = 99;" (assignment_expression "uVar1 = 99" identifier = number_literal) ;) })) (expression_statement "*(undefined4 *)(param_1 + 0x1044) = 2;" (assignment_expression "*(undefined4 *)(param_1 + 0x1044) = 2" (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 %.20g %.20g %.20g %.20g %.20g",uVar1,(int)param_3,uVar2,\n                   (int)param_4,uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,\n                   (int)param_8,uVar7);" (call_expression "FUN_00057440(param_1,"%c%.20g %.20g %.20g %.20g %.20g %.20g",uVar1,(int)param_3,uVar2,\n                   (int)param_4,uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,\n                   (int)param_8,uVar7)" identifier (argument_list "(param_1,"%c%.20g %.20g %.20g %.20g %.20g %.20g",uVar1,(int)param_3,uVar2,\n                   (int)param_4,uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,\n                   (int)param_8,uVar7)" ( identifier , (string_literal ""%c%.20g %.20g %.20g %.20g %.20g %.20g"" " string_content ") , identifier , (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier) , identifier , (cast_expression "(int)param_4" ( (type_descriptor "int" primitive_type) ) identifier) , identifier , (cast_expression "(int)param_5" ( (type_descriptor "int" primitive_type) ) identifier) , identifier , (cast_expression "(int)param_6" ( (type_descriptor "int" primitive_type) ) identifier) , identifier , (cast_expression "(int)param_7" ( (type_descriptor "int" primitive_type) ) identifier) , identifier , (cast_expression "(int)param_8" ( (type_descriptor "int" primitive_type) ) identifier) , identifier ))) ;) }))) (return_statement "return;" return ;) })) (expression_statement "__assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0xb67,\n                "DrawPathCurveTo");" (call_expression "__assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0xb67,\n                "DrawPathCurveTo")" identifier (argument_list "("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0xb67,\n                "DrawPathCurveTo")" ( (string_literal ""wand->signature == MagickWandSignature"" " string_content ") , (string_literal ""MagickWand/drawing-wand.c"" " string_content ") , number_literal , (string_literal ""DrawPathCurveTo"" " 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) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (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) ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) 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 ( IDENT , (string_literal " string_content ") , (cast_expression ( (type_descriptor TYPE) ) IDENT) , IDENT , (cast_expression ( (type_descriptor TYPE) ) IDENT) , IDENT , (cast_expression ( (type_descriptor TYPE) ) IDENT) , IDENT , (cast_expression ( (type_descriptor TYPE) ) IDENT) , IDENT , (cast_expression ( (type_descriptor TYPE) ) IDENT) , IDENT , (cast_expression ( (type_descriptor TYPE) ) IDENT) , IDENT ))) ;) }) (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 , (cast_expression ( (type_descriptor TYPE) ) IDENT) , IDENT , (cast_expression ( (type_descriptor TYPE) ) IDENT) , IDENT , (cast_expression ( (type_descriptor TYPE) ) IDENT) , IDENT , (cast_expression ( (type_descriptor TYPE) ) IDENT) , IDENT , (cast_expression ( (type_descriptor TYPE) ) IDENT) , IDENT , (cast_expression ( (type_descriptor TYPE) ) 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\nFUN_000575d0(int param_1,int param_2,undefined8 param_3,undefined8 param_4,undefined8 param_5,\n            undefined8 param_6,undefined8 param_7,undefined8 param_8)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xb66,"DrawPathCurveTo"\n                 );\n  }\n  if (*(int *)(param_1 + 0x1054) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1050) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathCurveTo",0xb69,"%s",param_1 + 4);\n    }\n    uVar7 = (undefined4)((ulonglong)param_8 >> 0x20);\n    uVar6 = (undefined4)((ulonglong)param_7 >> 0x20);\n    uVar5 = (undefined4)((ulonglong)param_6 >> 0x20);\n    uVar4 = (undefined4)((ulonglong)param_5 >> 0x20);\n    uVar3 = (undefined4)((ulonglong)param_4 >> 0x20);\n    uVar2 = (undefined4)((ulonglong)param_3 >> 0x20);\n    if ((*(int *)(param_1 + 0x1044) == 2) && (*(int *)(param_1 + 0x1048) == param_2)) {\n      FUN_00057440(param_1," %.20g %.20g %.20g %.20g %.20g %.20g",(int)param_3,uVar2,(int)param_4,\n                   uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,(int)param_8,uVar7\n                  );\n    }\n    else {\n      *(int *)(param_1 + 0x1048) = param_2;\n      uVar1 = 0x43;\n      if (param_2 != 1) {\n        uVar1 = 99;\n      }\n      *(undefined4 *)(param_1 + 0x1044) = 2;\n      FUN_00057440(param_1,"%c%.20g %.20g %.20g %.20g %.20g %.20g",uVar1,(int)param_3,uVar2,\n                   (int)param_4,uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,\n                   (int)param_8,uVar7);\n    }\n    return;\n  }\n                    \n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0xb67,\n                "DrawPathCurveTo");\n}" (primitive_type "void") (ERROR "__regparm2" (identifier "__regparm2")) (function_declarator "FUN_000575d0(int param_1,int param_2,undefined8 param_3,undefined8 param_4,undefined8 param_5,\n            undefined8 param_6,undefined8 param_7,undefined8 param_8)" (identifier "FUN_000575d0") (parameter_list "(int param_1,int param_2,undefined8 param_3,undefined8 param_4,undefined8 param_5,\n            undefined8 param_6,undefined8 param_7,undefined8 param_8)" (( "(") (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")) (, ",") (parameter_declaration "undefined8 param_4" (type_identifier "undefined8") (identifier "param_4")) (, ",") (parameter_declaration "undefined8 param_5" (type_identifier "undefined8") (identifier "param_5")) (, ",") (parameter_declaration "undefined8 param_6" (type_identifier "undefined8") (identifier "param_6")) (, ",") (parameter_declaration "undefined8 param_7" (type_identifier "undefined8") (identifier "param_7")) (, ",") (parameter_declaration "undefined8 param_8" (type_identifier "undefined8") (identifier "param_8")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xb66,"DrawPathCurveTo"\n                 );\n  }\n  if (*(int *)(param_1 + 0x1054) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1050) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathCurveTo",0xb69,"%s",param_1 + 4);\n    }\n    uVar7 = (undefined4)((ulonglong)param_8 >> 0x20);\n    uVar6 = (undefined4)((ulonglong)param_7 >> 0x20);\n    uVar5 = (undefined4)((ulonglong)param_6 >> 0x20);\n    uVar4 = (undefined4)((ulonglong)param_5 >> 0x20);\n    uVar3 = (undefined4)((ulonglong)param_4 >> 0x20);\n    uVar2 = (undefined4)((ulonglong)param_3 >> 0x20);\n    if ((*(int *)(param_1 + 0x1044) == 2) && (*(int *)(param_1 + 0x1048) == param_2)) {\n      FUN_00057440(param_1," %.20g %.20g %.20g %.20g %.20g %.20g",(int)param_3,uVar2,(int)param_4,\n                   uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,(int)param_8,uVar7\n                  );\n    }\n    else {\n      *(int *)(param_1 + 0x1048) = param_2;\n      uVar1 = 0x43;\n      if (param_2 != 1) {\n        uVar1 = 99;\n      }\n      *(undefined4 *)(param_1 + 0x1044) = 2;\n      FUN_00057440(param_1,"%c%.20g %.20g %.20g %.20g %.20g %.20g",uVar1,(int)param_3,uVar2,\n                   (int)param_4,uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,\n                   (int)param_8,uVar7);\n    }\n    return;\n  }\n                    \n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0xb67,\n                "DrawPathCurveTo");\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "undefined4 uVar6;" (type_identifier "undefined4") (identifier "uVar6") (; ";")) (declaration "undefined4 uVar7;" (type_identifier "undefined4") (identifier "uVar7") (; ";")) (if_statement "if (param_1 == 0) {\n                    \n    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xb66,"DrawPathCurveTo"\n                 );\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",0xb66,"DrawPathCurveTo"\n                 );\n  }" ({ "{") (expression_statement "__assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xb66,"DrawPathCurveTo"\n                 );" (call_expression "__assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xb66,"DrawPathCurveTo"\n                 )" (identifier "__assert_fail") (argument_list "("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xb66,"DrawPathCurveTo"\n                 )" (( "(") (string_literal ""wand != (DrawingWand *) NULL"" (" """) (string_content "wand != (DrawingWand *) NULL") (" """)) (, ",") (string_literal ""MagickWand/drawing-wand.c"" (" """) (string_content "MagickWand/drawing-wand.c") (" """)) (, ",") (number_literal "0xb66") (, ",") (string_literal ""DrawPathCurveTo"" (" """) (string_content "DrawPathCurveTo") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x1054) == -0x54535255) {\n    if (*(int *)(param_1 + 0x1050) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathCurveTo",0xb69,"%s",param_1 + 4);\n    }\n    uVar7 = (undefined4)((ulonglong)param_8 >> 0x20);\n    uVar6 = (undefined4)((ulonglong)param_7 >> 0x20);\n    uVar5 = (undefined4)((ulonglong)param_6 >> 0x20);\n    uVar4 = (undefined4)((ulonglong)param_5 >> 0x20);\n    uVar3 = (undefined4)((ulonglong)param_4 >> 0x20);\n    uVar2 = (undefined4)((ulonglong)param_3 >> 0x20);\n    if ((*(int *)(param_1 + 0x1044) == 2) && (*(int *)(param_1 + 0x1048) == param_2)) {\n      FUN_00057440(param_1," %.20g %.20g %.20g %.20g %.20g %.20g",(int)param_3,uVar2,(int)param_4,\n                   uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,(int)param_8,uVar7\n                  );\n    }\n    else {\n      *(int *)(param_1 + 0x1048) = param_2;\n      uVar1 = 0x43;\n      if (param_2 != 1) {\n        uVar1 = 99;\n      }\n      *(undefined4 *)(param_1 + 0x1044) = 2;\n      FUN_00057440(param_1,"%c%.20g %.20g %.20g %.20g %.20g %.20g",uVar1,(int)param_3,uVar2,\n                   (int)param_4,uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,\n                   (int)param_8,uVar7);\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","DrawPathCurveTo",0xb69,"%s",param_1 + 4);\n    }\n    uVar7 = (undefined4)((ulonglong)param_8 >> 0x20);\n    uVar6 = (undefined4)((ulonglong)param_7 >> 0x20);\n    uVar5 = (undefined4)((ulonglong)param_6 >> 0x20);\n    uVar4 = (undefined4)((ulonglong)param_5 >> 0x20);\n    uVar3 = (undefined4)((ulonglong)param_4 >> 0x20);\n    uVar2 = (undefined4)((ulonglong)param_3 >> 0x20);\n    if ((*(int *)(param_1 + 0x1044) == 2) && (*(int *)(param_1 + 0x1048) == param_2)) {\n      FUN_00057440(param_1," %.20g %.20g %.20g %.20g %.20g %.20g",(int)param_3,uVar2,(int)param_4,\n                   uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,(int)param_8,uVar7\n                  );\n    }\n    else {\n      *(int *)(param_1 + 0x1048) = param_2;\n      uVar1 = 0x43;\n      if (param_2 != 1) {\n        uVar1 = 99;\n      }\n      *(undefined4 *)(param_1 + 0x1044) = 2;\n      FUN_00057440(param_1,"%c%.20g %.20g %.20g %.20g %.20g %.20g",uVar1,(int)param_3,uVar2,\n                   (int)param_4,uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,\n                   (int)param_8,uVar7);\n    }\n    return;\n  }" ({ "{") (if_statement "if (*(int *)(param_1 + 0x1050) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathCurveTo",0xb69,"%s",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","DrawPathCurveTo",0xb69,"%s",param_1 + 4);\n    }" ({ "{") (expression_statement "LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathCurveTo",0xb69,"%s",param_1 + 4);" (call_expression "LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathCurveTo",0xb69,"%s",param_1 + 4)" (identifier "LogMagickEvent") (argument_list "(0x40000,"MagickWand/drawing-wand.c","DrawPathCurveTo",0xb69,"%s",param_1 + 4)" (( "(") (number_literal "0x40000") (, ",") (string_literal ""MagickWand/drawing-wand.c"" (" """) (string_content "MagickWand/drawing-wand.c") (" """)) (, ",") (string_literal ""DrawPathCurveTo"" (" """) (string_content "DrawPathCurveTo") (" """)) (, ",") (number_literal "0xb69") (, ",") (string_literal ""%s"" (" """) (string_content "%s") (" """)) (, ",") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))) (; ";")) (} "}"))) (expression_statement "uVar7 = (undefined4)((ulonglong)param_8 >> 0x20);" (assignment_expression "uVar7 = (undefined4)((ulonglong)param_8 >> 0x20)" (identifier "uVar7") (= "=") (call_expression "(undefined4)((ulonglong)param_8 >> 0x20)" (parenthesized_expression "(undefined4)" (( "(") (identifier "undefined4") () ")")) (argument_list "((ulonglong)param_8 >> 0x20)" (( "(") (binary_expression "(ulonglong)param_8 >> 0x20" (cast_expression "(ulonglong)param_8" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "param_8")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "uVar6 = (undefined4)((ulonglong)param_7 >> 0x20);" (assignment_expression "uVar6 = (undefined4)((ulonglong)param_7 >> 0x20)" (identifier "uVar6") (= "=") (call_expression "(undefined4)((ulonglong)param_7 >> 0x20)" (parenthesized_expression "(undefined4)" (( "(") (identifier "undefined4") () ")")) (argument_list "((ulonglong)param_7 >> 0x20)" (( "(") (binary_expression "(ulonglong)param_7 >> 0x20" (cast_expression "(ulonglong)param_7" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "param_7")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "uVar5 = (undefined4)((ulonglong)param_6 >> 0x20);" (assignment_expression "uVar5 = (undefined4)((ulonglong)param_6 >> 0x20)" (identifier "uVar5") (= "=") (call_expression "(undefined4)((ulonglong)param_6 >> 0x20)" (parenthesized_expression "(undefined4)" (( "(") (identifier "undefined4") () ")")) (argument_list "((ulonglong)param_6 >> 0x20)" (( "(") (binary_expression "(ulonglong)param_6 >> 0x20" (cast_expression "(ulonglong)param_6" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "param_6")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "uVar4 = (undefined4)((ulonglong)param_5 >> 0x20);" (assignment_expression "uVar4 = (undefined4)((ulonglong)param_5 >> 0x20)" (identifier "uVar4") (= "=") (call_expression "(undefined4)((ulonglong)param_5 >> 0x20)" (parenthesized_expression "(undefined4)" (( "(") (identifier "undefined4") () ")")) (argument_list "((ulonglong)param_5 >> 0x20)" (( "(") (binary_expression "(ulonglong)param_5 >> 0x20" (cast_expression "(ulonglong)param_5" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "param_5")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "uVar3 = (undefined4)((ulonglong)param_4 >> 0x20);" (assignment_expression "uVar3 = (undefined4)((ulonglong)param_4 >> 0x20)" (identifier "uVar3") (= "=") (call_expression "(undefined4)((ulonglong)param_4 >> 0x20)" (parenthesized_expression "(undefined4)" (( "(") (identifier "undefined4") () ")")) (argument_list "((ulonglong)param_4 >> 0x20)" (( "(") (binary_expression "(ulonglong)param_4 >> 0x20" (cast_expression "(ulonglong)param_4" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "param_4")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "uVar2 = (undefined4)((ulonglong)param_3 >> 0x20);" (assignment_expression "uVar2 = (undefined4)((ulonglong)param_3 >> 0x20)" (identifier "uVar2") (= "=") (call_expression "(undefined4)((ulonglong)param_3 >> 0x20)" (parenthesized_expression "(undefined4)" (( "(") (identifier "undefined4") () ")")) (argument_list "((ulonglong)param_3 >> 0x20)" (( "(") (binary_expression "(ulonglong)param_3 >> 0x20" (cast_expression "(ulonglong)param_3" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "param_3")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (if_statement "if ((*(int *)(param_1 + 0x1044) == 2) && (*(int *)(param_1 + 0x1048) == param_2)) {\n      FUN_00057440(param_1," %.20g %.20g %.20g %.20g %.20g %.20g",(int)param_3,uVar2,(int)param_4,\n                   uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,(int)param_8,uVar7\n                  );\n    }\n    else {\n      *(int *)(param_1 + 0x1048) = param_2;\n      uVar1 = 0x43;\n      if (param_2 != 1) {\n        uVar1 = 99;\n      }\n      *(undefined4 *)(param_1 + 0x1044) = 2;\n      FUN_00057440(param_1,"%c%.20g %.20g %.20g %.20g %.20g %.20g",uVar1,(int)param_3,uVar2,\n                   (int)param_4,uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,\n                   (int)param_8,uVar7);\n    }" (if "if") (parenthesized_expression "((*(int *)(param_1 + 0x1044) == 2) && (*(int *)(param_1 + 0x1048) == param_2))" (( "(") (binary_expression "(*(int *)(param_1 + 0x1044) == 2) && (*(int *)(param_1 + 0x1048) == param_2)" (parenthesized_expression "(*(int *)(param_1 + 0x1044) == 2)" (( "(") (binary_expression "*(int *)(param_1 + 0x1044) == 2" (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 "2")) () ")")) (&& "&&") (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(param_1," %.20g %.20g %.20g %.20g %.20g %.20g",(int)param_3,uVar2,(int)param_4,\n                   uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,(int)param_8,uVar7\n                  );\n    }" ({ "{") (expression_statement "FUN_00057440(param_1," %.20g %.20g %.20g %.20g %.20g %.20g",(int)param_3,uVar2,(int)param_4,\n                   uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,(int)param_8,uVar7\n                  );" (call_expression "FUN_00057440(param_1," %.20g %.20g %.20g %.20g %.20g %.20g",(int)param_3,uVar2,(int)param_4,\n                   uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,(int)param_8,uVar7\n                  )" (identifier "FUN_00057440") (argument_list "(param_1," %.20g %.20g %.20g %.20g %.20g %.20g",(int)param_3,uVar2,(int)param_4,\n                   uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,(int)param_8,uVar7\n                  )" (( "(") (identifier "param_1") (, ",") (string_literal "" %.20g %.20g %.20g %.20g %.20g %.20g"" (" """) (string_content " %.20g %.20g %.20g %.20g %.20g %.20g") (" """)) (, ",") (cast_expression "(int)param_3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_3")) (, ",") (identifier "uVar2") (, ",") (cast_expression "(int)param_4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_4")) (, ",") (identifier "uVar3") (, ",") (cast_expression "(int)param_5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_5")) (, ",") (identifier "uVar4") (, ",") (cast_expression "(int)param_6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_6")) (, ",") (identifier "uVar5") (, ",") (cast_expression "(int)param_7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_7")) (, ",") (identifier "uVar6") (, ",") (cast_expression "(int)param_8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_8")) (, ",") (identifier "uVar7") () ")"))) (; ";")) (} "}")) (else_clause "else {\n      *(int *)(param_1 + 0x1048) = param_2;\n      uVar1 = 0x43;\n      if (param_2 != 1) {\n        uVar1 = 99;\n      }\n      *(undefined4 *)(param_1 + 0x1044) = 2;\n      FUN_00057440(param_1,"%c%.20g %.20g %.20g %.20g %.20g %.20g",uVar1,(int)param_3,uVar2,\n                   (int)param_4,uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,\n                   (int)param_8,uVar7);\n    }" (else "else") (compound_statement "{\n      *(int *)(param_1 + 0x1048) = param_2;\n      uVar1 = 0x43;\n      if (param_2 != 1) {\n        uVar1 = 99;\n      }\n      *(undefined4 *)(param_1 + 0x1044) = 2;\n      FUN_00057440(param_1,"%c%.20g %.20g %.20g %.20g %.20g %.20g",uVar1,(int)param_3,uVar2,\n                   (int)param_4,uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,\n                   (int)param_8,uVar7);\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 = 0x43;" (assignment_expression "uVar1 = 0x43" (identifier "uVar1") (= "=") (number_literal "0x43")) (; ";")) (if_statement "if (param_2 != 1) {\n        uVar1 = 99;\n      }" (if "if") (parenthesized_expression "(param_2 != 1)" (( "(") (binary_expression "param_2 != 1" (identifier "param_2") (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n        uVar1 = 99;\n      }" ({ "{") (expression_statement "uVar1 = 99;" (assignment_expression "uVar1 = 99" (identifier "uVar1") (= "=") (number_literal "99")) (; ";")) (} "}"))) (expression_statement "*(undefined4 *)(param_1 + 0x1044) = 2;" (assignment_expression "*(undefined4 *)(param_1 + 0x1044) = 2" (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 "2")) (; ";")) (expression_statement "FUN_00057440(param_1,"%c%.20g %.20g %.20g %.20g %.20g %.20g",uVar1,(int)param_3,uVar2,\n                   (int)param_4,uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,\n                   (int)param_8,uVar7);" (call_expression "FUN_00057440(param_1,"%c%.20g %.20g %.20g %.20g %.20g %.20g",uVar1,(int)param_3,uVar2,\n                   (int)param_4,uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,\n                   (int)param_8,uVar7)" (identifier "FUN_00057440") (argument_list "(param_1,"%c%.20g %.20g %.20g %.20g %.20g %.20g",uVar1,(int)param_3,uVar2,\n                   (int)param_4,uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,\n                   (int)param_8,uVar7)" (( "(") (identifier "param_1") (, ",") (string_literal ""%c%.20g %.20g %.20g %.20g %.20g %.20g"" (" """) (string_content "%c%.20g %.20g %.20g %.20g %.20g %.20g") (" """)) (, ",") (identifier "uVar1") (, ",") (cast_expression "(int)param_3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_3")) (, ",") (identifier "uVar2") (, ",") (cast_expression "(int)param_4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_4")) (, ",") (identifier "uVar3") (, ",") (cast_expression "(int)param_5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_5")) (, ",") (identifier "uVar4") (, ",") (cast_expression "(int)param_6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_6")) (, ",") (identifier "uVar5") (, ",") (cast_expression "(int)param_7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_7")) (, ",") (identifier "uVar6") (, ",") (cast_expression "(int)param_8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_8")) (, ",") (identifier "uVar7") () ")"))) (; ";")) (} "}")))) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "__assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0xb67,\n                "DrawPathCurveTo");" (call_expression "__assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0xb67,\n                "DrawPathCurveTo")" (identifier "__assert_fail") (argument_list "("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0xb67,\n                "DrawPathCurveTo")" (( "(") (string_literal ""wand->signature == MagickWandSignature"" (" """) (string_content "wand->signature == MagickWandSignature") (" """)) (, ",") (string_literal ""MagickWand/drawing-wand.c"" (" """) (string_content "MagickWand/drawing-wand.c") (" """)) (, ",") (number_literal "0xb67") (, ",") (string_literal ""DrawPathCurveTo"" (" """) (string_content "DrawPathCurveTo") (" """)) () ")"))) (; ";")) (} "}")))

/* 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 x1,double y1,double x2,double y2,double x,
               double y)

{
  type_3 uVar1;
  type_3 uVar2;
  type_3 uVar3;
  type_3 uVar4;
  type_3 uVar5;
  type_3 uVar6;
  type_3 uVar7;
  
  if (var_1 == (type_1 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_2("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xb66,"DrawPathCurveTo"
                 );
  }
  if (var_1->signature == 0xabacadab) {
    if (var_1->debug != var_3) {
      var_4(0x40000,"MagickWand/drawing-wand.c","DrawPathCurveTo",0xb69,"%s",var_1->name);
    }
    uVar7 = (type_3)((type_4)y >> 0x20);
    uVar6 = (type_3)((type_4)x >> 0x20);
    uVar5 = (type_3)((type_4)y2 >> 0x20);
    uVar4 = (type_3)((type_4)x2 >> 0x20);
    uVar3 = (type_3)((type_4)y1 >> 0x20);
    uVar2 = (type_3)((type_4)x1 >> 0x20);
    if ((var_1->path_operation == var_5) && (var_1->path_mode == var_6)) {
      var_7(var_1," %.20g %.20g %.20g %.20g %.20g %.20g",var_8(x1,0),uVar2,var_8(y1,0),
                        uVar3,var_8(x2,0),uVar4,var_8(y2,0),uVar5,var_8(x,0),uVar6,var_8(y,0),uVar7)
      ;
    }
    else {
      var_1->path_mode = var_6;
      uVar1 = 0x43;
      if (var_6 != var_9) {
        uVar1 = 99;
      }
      var_1->path_operation = var_5;
      var_7(var_1,"%c%.20g %.20g %.20g %.20g %.20g %.20g",uVar1,var_8(x1,0),uVar2,
                        var_8(y1,0),uVar3,var_8(x2,0),uVar4,var_8(y2,0),uVar5,var_8(x,0),uVar6,
                        var_8(y,0),uVar7);
    }
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_2("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0xb67,
                "DrawPathCurveTo");
}


(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)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (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))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (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 (identifier) (string_literal (string_content)) (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) (identifier) (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) (identifier) (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) (identifier) (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) (identifier) (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) (identifier) (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) (identifier))))) 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) (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) (identifier) (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) (identifier) (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) (identifier) (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) (identifier) (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) (identifier) (cast_expression type: (type_descriptor type: (primitive_type)) value: (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,undefined8 param_4,undefined8 param_5,
            undefined8 param_6,undefined8 param_7,undefined8 param_8)

{
  undefined4 uVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  undefined4 uVar4;
  undefined4 uVar5;
  undefined4 uVar6;
  undefined4 uVar7;
  
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("wand != (DrawingWand *) NULL","MagickWand/drawing-wand.c",0xb66,"DrawPathCurveTo"
                 );
  }
  if (*(int *)(param_1 + 0x1054) == -0x54535255) {
    if (*(int *)(param_1 + 0x1050) != 0) {
      LogMagickEvent(0x40000,"MagickWand/drawing-wand.c","DrawPathCurveTo",0xb69,"%s",param_1 + 4);
    }
    uVar7 = (undefined4)((ulonglong)param_8 >> 0x20);
    uVar6 = (undefined4)((ulonglong)param_7 >> 0x20);
    uVar5 = (undefined4)((ulonglong)param_6 >> 0x20);
    uVar4 = (undefined4)((ulonglong)param_5 >> 0x20);
    uVar3 = (undefined4)((ulonglong)param_4 >> 0x20);
    uVar2 = (undefined4)((ulonglong)param_3 >> 0x20);
    if ((*(int *)(param_1 + 0x1044) == 2) && (*(int *)(param_1 + 0x1048) == param_2)) {
      FUN_00057440(param_1," %.20g %.20g %.20g %.20g %.20g %.20g",(int)param_3,uVar2,(int)param_4,
                   uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,(int)param_8,uVar7
                  );
    }
    else {
      *(int *)(param_1 + 0x1048) = param_2;
      uVar1 = 0x43;
      if (param_2 != 1) {
        uVar1 = 99;
      }
      *(undefined4 *)(param_1 + 0x1044) = 2;
      FUN_00057440(param_1,"%c%.20g %.20g %.20g %.20g %.20g %.20g",uVar1,(int)param_3,uVar2,
                   (int)param_4,uVar3,(int)param_5,uVar4,(int)param_6,uVar5,(int)param_7,uVar6,
                   (int)param_8,uVar7);
    }
    return;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("wand->signature == MagickWandSignature","MagickWand/drawing-wand.c",0xb67,
                "DrawPathCurveTo");
}

