
/* 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 */

int SyncBlob(Image *image)

{
  StreamType SVar1;
  int iVar2;
  BlobInfo *pBVar3;
  
  if (image == (Image *)0x0) {
    iVar2 = (*(code *)PTR___assert_fail_003fa620)
                      (PTR_LAB_003f98e0 + 0x3da0,PTR_LAB_003f98e0 + 0x4aac,0x1520,
                       PTR_LAB_003f98e0 + 0x5750);
    return iVar2;
  }
  if (image->signature == 0xabacadab) {
    if (image->debug == MagickFalse) {
      pBVar3 = image->blob;
    }
    else {
      (*(code *)PTR_LogMagickEvent_003fa1f8)
                (0x8000,PTR_LAB_003f98e0 + 0x4aac,PTR_LAB_003f98e0 + 0x5744,0x1523,
                 PTR_s_ltiple_images_003f98e8 + -0x2f6c,image->filename);
      pBVar3 = image->blob;
    }
    if (pBVar3 != (BlobInfo *)0x0) {
      SVar1 = pBVar3->type;
      if (SVar1 != UndefinedStream) {
        if ((SVar1 == FileStream) || (SVar1 == PipeStream)) {
          iVar2 = (*(code *)PTR_fflush_003fa4a4)((pBVar3->file_info).file);
        }
        else {
          iVar2 = 0;
        }
        return iVar2;
      }
      iVar2 = (*(code *)PTR___assert_fail_003fa620)
                        (PTR_LAB_003f98e0 + 0x4ae4,PTR_LAB_003f98e0 + 0x4aac,0x1525,
                         PTR_LAB_003f98e0 + 0x5750);
      return iVar2;
    }
    iVar2 = (*(code *)PTR___assert_fail_003fa620)
                      (PTR_LAB_003f98e0 + 0x4ac0,PTR_LAB_003f98e0 + 0x4aac,0x1524,
                       PTR_LAB_003f98e0 + 0x5750);
    return iVar2;
  }
  iVar2 = (*(code *)PTR___assert_fail_003fa620)
                    (PTR_UINT_003f98e4 + -0x784,PTR_LAB_003f98e0 + 0x4aac,0x1521,
                     PTR_LAB_003f98e0 + 0x5750);
  return iVar2;
}



undefined4 FUN_0003fa88(int param_1)

{
  int iVar1;
  undefined4 uVar2;
  int iVar3;
  
  if (param_1 == 0) {
    uVar2 = (*(code *)PTR___assert_fail_003fa620)
                      (PTR_LAB_003f98e0 + 0x3da0,PTR_LAB_003f98e0 + 0x4aac,0x1520,
                       PTR_LAB_003f98e0 + 0x5750);
    return uVar2;
  }
  if (*(int *)(param_1 + 0x336c) == -0x54535255) {
    if (*(int *)(param_1 + 0x3350) == 0) {
      iVar3 = *(int *)(param_1 + 0x3348);
    }
    else {
      (*(code *)PTR_LogMagickEvent_003fa1f8)
                (0x8000,PTR_LAB_003f98e0 + 0x4aac,PTR_LAB_003f98e0 + 0x5744,0x1523,
                 PTR_s_ltiple_images_003f98e8 + -0x2f6c,param_1 + 0x340);
      iVar3 = *(int *)(param_1 + 0x3348);
    }
    if (iVar3 != 0) {
      iVar1 = *(int *)(iVar3 + 0x40);
      if (iVar1 != 0) {
        if ((iVar1 == 1) || (iVar1 == 3)) {
          uVar2 = (*(code *)PTR_fflush_003fa4a4)(*(undefined4 *)(iVar3 + 0x44));
        }
        else {
          uVar2 = 0;
        }
        return uVar2;
      }
      uVar2 = (*(code *)PTR___assert_fail_003fa620)
                        (PTR_LAB_003f98e0 + 0x4ae4,PTR_LAB_003f98e0 + 0x4aac,0x1525,
                         PTR_LAB_003f98e0 + 0x5750);
      return uVar2;
    }
    uVar2 = (*(code *)PTR___assert_fail_003fa620)
                      (PTR_LAB_003f98e0 + 0x4ac0,PTR_LAB_003f98e0 + 0x4aac,0x1524,
                       PTR_LAB_003f98e0 + 0x5750);
    return uVar2;
  }
  uVar2 = (*(code *)PTR___assert_fail_003fa620)
                    (PTR_UINT_003f98e4 + -0x784,PTR_LAB_003f98e0 + 0x4aac,0x1521,
                     PTR_LAB_003f98e0 + 0x5750);
  return uVar2;
}


lui gp,0x3c
addiu gp,gp,0x1e28
addu gp,gp,t9
addiu sp,sp,-0x28
sw ra,0x24(sp)
sw s0,0x20(sp)
sw gp,0x18(sp)
beq a0,zero,0x0003fb04
_lui v0,0xabac
lw v1,0x336c(a0)
ori v0,v0,0xadab
bne v1,v0,0x0003fb2c
_or s0,a0,zero
lw v0,0x3350(a0)
bne v0,zero,0x0003fb54
_addiu v0,a0,0x340
lw v1,0x3348(s0)
beq v1,zero,0x0003fb94
_lw a3,-0x7fd0(gp)
lw v0,0x40(v1)
beq v0,zero,0x0003fbb8
_li a0,0x1
beq v0,a0,0x0003fbdc
_li a0,0x3
beq v0,a0,0x0003fbdc
_nop
or v0,zero,zero
lw ra,0x24(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x28
lw a3,-0x7fd0(gp)
addiu a3,a3,0x5750
li a2,0x1520
lw a1,-0x7fd0(gp)
addiu a1,a1,0x4aac
lw a0,-0x7fd0(gp)
addiu a0,a0,0x3da0
lw t9,-0x7290(gp)
jalr t9
_nop
lw a3,-0x7fd0(gp)
addiu a3,a3,0x5750
li a2,0x1521
lw a1,-0x7fd0(gp)
addiu a1,a1,0x4aac
lw a0,-0x7fcc(gp)
addiu a0,a0,-0x784
lw t9,-0x7290(gp)
jalr t9
_nop
sw v0,0x14(sp)
lw v0,-0x7fc8(gp)
addiu v0,v0,-0x2f6c
sw v0,0x10(sp)
li a3,0x1523
lw a2,-0x7fd0(gp)
addiu a2,a2,0x5744
lw a1,-0x7fd0(gp)
addiu a1,a1,0x4aac
ori a0,zero,0x8000
lw t9,-0x76b8(gp)
jalr t9
_nop
lw gp,0x18(sp)
b 0x0003facc
_lw v1,0x3348(s0)
addiu a3,a3,0x5750
li a2,0x1524
lw a1,-0x7fd0(gp)
addiu a1,a1,0x4aac
lw a0,-0x7fd0(gp)
addiu a0,a0,0x4ac0
lw t9,-0x7290(gp)
jalr t9
_nop
addiu a3,a3,0x5750
li a2,0x1525
lw a1,-0x7fd0(gp)
addiu a1,a1,0x4aac
lw a0,-0x7fd0(gp)
addiu a0,a0,0x4ae4
lw t9,-0x7290(gp)
jalr t9
_nop
lw a0,0x44(v1)
lw t9,-0x740c(gp)
jalr t9
_nop
lw gp,0x18(sp)
b 0x0003faf8
_lw ra,0x24(sp)
(translation_unit "undefined4 FUN_0003fa88(int param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  if (param_1 == 0) {\n    uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3da0,PTR_LAB_003f98e0 + 0x4aac,0x1520,\n                       PTR_LAB_003f98e0 + 0x5750);\n    return uVar2;\n  }\n  if (*(int *)(param_1 + 0x336c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x3350) == 0) {\n      iVar3 = *(int *)(param_1 + 0x3348);\n    }\n    else {\n      (*(code *)PTR_LogMagickEvent_003fa1f8)\n                (0x8000,PTR_LAB_003f98e0 + 0x4aac,PTR_LAB_003f98e0 + 0x5744,0x1523,\n                 PTR_s_ltiple_images_003f98e8 + -0x2f6c,param_1 + 0x340);\n      iVar3 = *(int *)(param_1 + 0x3348);\n    }\n    if (iVar3 != 0) {\n      iVar1 = *(int *)(iVar3 + 0x40);\n      if (iVar1 != 0) {\n        if ((iVar1 == 1) || (iVar1 == 3)) {\n          uVar2 = (*(code *)PTR_fflush_003fa4a4)(*(undefined4 *)(iVar3 + 0x44));\n        }\n        else {\n          uVar2 = 0;\n        }\n        return uVar2;\n      }\n      uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                        (PTR_LAB_003f98e0 + 0x4ae4,PTR_LAB_003f98e0 + 0x4aac,0x1525,\n                         PTR_LAB_003f98e0 + 0x5750);\n      return uVar2;\n    }\n    uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x4ac0,PTR_LAB_003f98e0 + 0x4aac,0x1524,\n                       PTR_LAB_003f98e0 + 0x5750);\n    return uVar2;\n  }\n  uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                    (PTR_UINT_003f98e4 + -0x784,PTR_LAB_003f98e0 + 0x4aac,0x1521,\n                     PTR_LAB_003f98e0 + 0x5750);\n  return uVar2;\n}\n\n" (function_definition "undefined4 FUN_0003fa88(int param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  if (param_1 == 0) {\n    uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3da0,PTR_LAB_003f98e0 + 0x4aac,0x1520,\n                       PTR_LAB_003f98e0 + 0x5750);\n    return uVar2;\n  }\n  if (*(int *)(param_1 + 0x336c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x3350) == 0) {\n      iVar3 = *(int *)(param_1 + 0x3348);\n    }\n    else {\n      (*(code *)PTR_LogMagickEvent_003fa1f8)\n                (0x8000,PTR_LAB_003f98e0 + 0x4aac,PTR_LAB_003f98e0 + 0x5744,0x1523,\n                 PTR_s_ltiple_images_003f98e8 + -0x2f6c,param_1 + 0x340);\n      iVar3 = *(int *)(param_1 + 0x3348);\n    }\n    if (iVar3 != 0) {\n      iVar1 = *(int *)(iVar3 + 0x40);\n      if (iVar1 != 0) {\n        if ((iVar1 == 1) || (iVar1 == 3)) {\n          uVar2 = (*(code *)PTR_fflush_003fa4a4)(*(undefined4 *)(iVar3 + 0x44));\n        }\n        else {\n          uVar2 = 0;\n        }\n        return uVar2;\n      }\n      uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                        (PTR_LAB_003f98e0 + 0x4ae4,PTR_LAB_003f98e0 + 0x4aac,0x1525,\n                         PTR_LAB_003f98e0 + 0x5750);\n      return uVar2;\n    }\n    uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x4ac0,PTR_LAB_003f98e0 + 0x4aac,0x1524,\n                       PTR_LAB_003f98e0 + 0x5750);\n    return uVar2;\n  }\n  uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                    (PTR_UINT_003f98e4 + -0x784,PTR_LAB_003f98e0 + 0x4aac,0x1521,\n                     PTR_LAB_003f98e0 + 0x5750);\n  return uVar2;\n}" type_identifier (function_declarator "FUN_0003fa88(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  if (param_1 == 0) {\n    uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3da0,PTR_LAB_003f98e0 + 0x4aac,0x1520,\n                       PTR_LAB_003f98e0 + 0x5750);\n    return uVar2;\n  }\n  if (*(int *)(param_1 + 0x336c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x3350) == 0) {\n      iVar3 = *(int *)(param_1 + 0x3348);\n    }\n    else {\n      (*(code *)PTR_LogMagickEvent_003fa1f8)\n                (0x8000,PTR_LAB_003f98e0 + 0x4aac,PTR_LAB_003f98e0 + 0x5744,0x1523,\n                 PTR_s_ltiple_images_003f98e8 + -0x2f6c,param_1 + 0x340);\n      iVar3 = *(int *)(param_1 + 0x3348);\n    }\n    if (iVar3 != 0) {\n      iVar1 = *(int *)(iVar3 + 0x40);\n      if (iVar1 != 0) {\n        if ((iVar1 == 1) || (iVar1 == 3)) {\n          uVar2 = (*(code *)PTR_fflush_003fa4a4)(*(undefined4 *)(iVar3 + 0x44));\n        }\n        else {\n          uVar2 = 0;\n        }\n        return uVar2;\n      }\n      uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                        (PTR_LAB_003f98e0 + 0x4ae4,PTR_LAB_003f98e0 + 0x4aac,0x1525,\n                         PTR_LAB_003f98e0 + 0x5750);\n      return uVar2;\n    }\n    uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x4ac0,PTR_LAB_003f98e0 + 0x4aac,0x1524,\n                       PTR_LAB_003f98e0 + 0x5750);\n    return uVar2;\n  }\n  uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                    (PTR_UINT_003f98e4 + -0x784,PTR_LAB_003f98e0 + 0x4aac,0x1521,\n                     PTR_LAB_003f98e0 + 0x5750);\n  return uVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (if_statement "if (param_1 == 0) {\n    uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3da0,PTR_LAB_003f98e0 + 0x4aac,0x1520,\n                       PTR_LAB_003f98e0 + 0x5750);\n    return uVar2;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3da0,PTR_LAB_003f98e0 + 0x4aac,0x1520,\n                       PTR_LAB_003f98e0 + 0x5750);\n    return uVar2;\n  }" { (expression_statement "uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3da0,PTR_LAB_003f98e0 + 0x4aac,0x1520,\n                       PTR_LAB_003f98e0 + 0x5750);" (assignment_expression "uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3da0,PTR_LAB_003f98e0 + 0x4aac,0x1520,\n                       PTR_LAB_003f98e0 + 0x5750)" identifier = (call_expression "(*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3da0,PTR_LAB_003f98e0 + 0x4aac,0x1520,\n                       PTR_LAB_003f98e0 + 0x5750)" (parenthesized_expression "(*(code *)PTR___assert_fail_003fa620)" ( (pointer_expression "*(code *)PTR___assert_fail_003fa620" * (cast_expression "(code *)PTR___assert_fail_003fa620" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_003f98e0 + 0x3da0,PTR_LAB_003f98e0 + 0x4aac,0x1520,\n                       PTR_LAB_003f98e0 + 0x5750)" ( (binary_expression "PTR_LAB_003f98e0 + 0x3da0" identifier + number_literal) , (binary_expression "PTR_LAB_003f98e0 + 0x4aac" identifier + number_literal) , number_literal , (binary_expression "PTR_LAB_003f98e0 + 0x5750" identifier + number_literal) )))) ;) (return_statement "return uVar2;" return identifier ;) })) (if_statement "if (*(int *)(param_1 + 0x336c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x3350) == 0) {\n      iVar3 = *(int *)(param_1 + 0x3348);\n    }\n    else {\n      (*(code *)PTR_LogMagickEvent_003fa1f8)\n                (0x8000,PTR_LAB_003f98e0 + 0x4aac,PTR_LAB_003f98e0 + 0x5744,0x1523,\n                 PTR_s_ltiple_images_003f98e8 + -0x2f6c,param_1 + 0x340);\n      iVar3 = *(int *)(param_1 + 0x3348);\n    }\n    if (iVar3 != 0) {\n      iVar1 = *(int *)(iVar3 + 0x40);\n      if (iVar1 != 0) {\n        if ((iVar1 == 1) || (iVar1 == 3)) {\n          uVar2 = (*(code *)PTR_fflush_003fa4a4)(*(undefined4 *)(iVar3 + 0x44));\n        }\n        else {\n          uVar2 = 0;\n        }\n        return uVar2;\n      }\n      uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                        (PTR_LAB_003f98e0 + 0x4ae4,PTR_LAB_003f98e0 + 0x4aac,0x1525,\n                         PTR_LAB_003f98e0 + 0x5750);\n      return uVar2;\n    }\n    uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x4ac0,PTR_LAB_003f98e0 + 0x4aac,0x1524,\n                       PTR_LAB_003f98e0 + 0x5750);\n    return uVar2;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x336c) == -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x336c) == -0x54535255" (pointer_expression "*(int *)(param_1 + 0x336c)" * (cast_expression "(int *)(param_1 + 0x336c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x336c)" ( (binary_expression "param_1 + 0x336c" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    if (*(int *)(param_1 + 0x3350) == 0) {\n      iVar3 = *(int *)(param_1 + 0x3348);\n    }\n    else {\n      (*(code *)PTR_LogMagickEvent_003fa1f8)\n                (0x8000,PTR_LAB_003f98e0 + 0x4aac,PTR_LAB_003f98e0 + 0x5744,0x1523,\n                 PTR_s_ltiple_images_003f98e8 + -0x2f6c,param_1 + 0x340);\n      iVar3 = *(int *)(param_1 + 0x3348);\n    }\n    if (iVar3 != 0) {\n      iVar1 = *(int *)(iVar3 + 0x40);\n      if (iVar1 != 0) {\n        if ((iVar1 == 1) || (iVar1 == 3)) {\n          uVar2 = (*(code *)PTR_fflush_003fa4a4)(*(undefined4 *)(iVar3 + 0x44));\n        }\n        else {\n          uVar2 = 0;\n        }\n        return uVar2;\n      }\n      uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                        (PTR_LAB_003f98e0 + 0x4ae4,PTR_LAB_003f98e0 + 0x4aac,0x1525,\n                         PTR_LAB_003f98e0 + 0x5750);\n      return uVar2;\n    }\n    uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x4ac0,PTR_LAB_003f98e0 + 0x4aac,0x1524,\n                       PTR_LAB_003f98e0 + 0x5750);\n    return uVar2;\n  }" { (if_statement "if (*(int *)(param_1 + 0x3350) == 0) {\n      iVar3 = *(int *)(param_1 + 0x3348);\n    }\n    else {\n      (*(code *)PTR_LogMagickEvent_003fa1f8)\n                (0x8000,PTR_LAB_003f98e0 + 0x4aac,PTR_LAB_003f98e0 + 0x5744,0x1523,\n                 PTR_s_ltiple_images_003f98e8 + -0x2f6c,param_1 + 0x340);\n      iVar3 = *(int *)(param_1 + 0x3348);\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0x3350) == 0)" ( (binary_expression "*(int *)(param_1 + 0x3350) == 0" (pointer_expression "*(int *)(param_1 + 0x3350)" * (cast_expression "(int *)(param_1 + 0x3350)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3350)" ( (binary_expression "param_1 + 0x3350" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      iVar3 = *(int *)(param_1 + 0x3348);\n    }" { (expression_statement "iVar3 = *(int *)(param_1 + 0x3348);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x3348)" identifier = (pointer_expression "*(int *)(param_1 + 0x3348)" * (cast_expression "(int *)(param_1 + 0x3348)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3348)" ( (binary_expression "param_1 + 0x3348" identifier + number_literal) ))))) ;) }) (else_clause "else {\n      (*(code *)PTR_LogMagickEvent_003fa1f8)\n                (0x8000,PTR_LAB_003f98e0 + 0x4aac,PTR_LAB_003f98e0 + 0x5744,0x1523,\n                 PTR_s_ltiple_images_003f98e8 + -0x2f6c,param_1 + 0x340);\n      iVar3 = *(int *)(param_1 + 0x3348);\n    }" else (compound_statement "{\n      (*(code *)PTR_LogMagickEvent_003fa1f8)\n                (0x8000,PTR_LAB_003f98e0 + 0x4aac,PTR_LAB_003f98e0 + 0x5744,0x1523,\n                 PTR_s_ltiple_images_003f98e8 + -0x2f6c,param_1 + 0x340);\n      iVar3 = *(int *)(param_1 + 0x3348);\n    }" { (expression_statement "(*(code *)PTR_LogMagickEvent_003fa1f8)\n                (0x8000,PTR_LAB_003f98e0 + 0x4aac,PTR_LAB_003f98e0 + 0x5744,0x1523,\n                 PTR_s_ltiple_images_003f98e8 + -0x2f6c,param_1 + 0x340);" (call_expression "(*(code *)PTR_LogMagickEvent_003fa1f8)\n                (0x8000,PTR_LAB_003f98e0 + 0x4aac,PTR_LAB_003f98e0 + 0x5744,0x1523,\n                 PTR_s_ltiple_images_003f98e8 + -0x2f6c,param_1 + 0x340)" (parenthesized_expression "(*(code *)PTR_LogMagickEvent_003fa1f8)" ( (pointer_expression "*(code *)PTR_LogMagickEvent_003fa1f8" * (cast_expression "(code *)PTR_LogMagickEvent_003fa1f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x8000,PTR_LAB_003f98e0 + 0x4aac,PTR_LAB_003f98e0 + 0x5744,0x1523,\n                 PTR_s_ltiple_images_003f98e8 + -0x2f6c,param_1 + 0x340)" ( number_literal , (binary_expression "PTR_LAB_003f98e0 + 0x4aac" identifier + number_literal) , (binary_expression "PTR_LAB_003f98e0 + 0x5744" identifier + number_literal) , number_literal , (binary_expression "PTR_s_ltiple_images_003f98e8 + -0x2f6c" identifier + number_literal) , (binary_expression "param_1 + 0x340" identifier + number_literal) ))) ;) (expression_statement "iVar3 = *(int *)(param_1 + 0x3348);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x3348)" identifier = (pointer_expression "*(int *)(param_1 + 0x3348)" * (cast_expression "(int *)(param_1 + 0x3348)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3348)" ( (binary_expression "param_1 + 0x3348" identifier + number_literal) ))))) ;) }))) (if_statement "if (iVar3 != 0) {\n      iVar1 = *(int *)(iVar3 + 0x40);\n      if (iVar1 != 0) {\n        if ((iVar1 == 1) || (iVar1 == 3)) {\n          uVar2 = (*(code *)PTR_fflush_003fa4a4)(*(undefined4 *)(iVar3 + 0x44));\n        }\n        else {\n          uVar2 = 0;\n        }\n        return uVar2;\n      }\n      uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                        (PTR_LAB_003f98e0 + 0x4ae4,PTR_LAB_003f98e0 + 0x4aac,0x1525,\n                         PTR_LAB_003f98e0 + 0x5750);\n      return uVar2;\n    }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar1 = *(int *)(iVar3 + 0x40);\n      if (iVar1 != 0) {\n        if ((iVar1 == 1) || (iVar1 == 3)) {\n          uVar2 = (*(code *)PTR_fflush_003fa4a4)(*(undefined4 *)(iVar3 + 0x44));\n        }\n        else {\n          uVar2 = 0;\n        }\n        return uVar2;\n      }\n      uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                        (PTR_LAB_003f98e0 + 0x4ae4,PTR_LAB_003f98e0 + 0x4aac,0x1525,\n                         PTR_LAB_003f98e0 + 0x5750);\n      return uVar2;\n    }" { (expression_statement "iVar1 = *(int *)(iVar3 + 0x40);" (assignment_expression "iVar1 = *(int *)(iVar3 + 0x40)" identifier = (pointer_expression "*(int *)(iVar3 + 0x40)" * (cast_expression "(int *)(iVar3 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x40)" ( (binary_expression "iVar3 + 0x40" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 != 0) {\n        if ((iVar1 == 1) || (iVar1 == 3)) {\n          uVar2 = (*(code *)PTR_fflush_003fa4a4)(*(undefined4 *)(iVar3 + 0x44));\n        }\n        else {\n          uVar2 = 0;\n        }\n        return uVar2;\n      }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n        if ((iVar1 == 1) || (iVar1 == 3)) {\n          uVar2 = (*(code *)PTR_fflush_003fa4a4)(*(undefined4 *)(iVar3 + 0x44));\n        }\n        else {\n          uVar2 = 0;\n        }\n        return uVar2;\n      }" { (if_statement "if ((iVar1 == 1) || (iVar1 == 3)) {\n          uVar2 = (*(code *)PTR_fflush_003fa4a4)(*(undefined4 *)(iVar3 + 0x44));\n        }\n        else {\n          uVar2 = 0;\n        }" if (parenthesized_expression "((iVar1 == 1) || (iVar1 == 3))" ( (binary_expression "(iVar1 == 1) || (iVar1 == 3)" (parenthesized_expression "(iVar1 == 1)" ( (binary_expression "iVar1 == 1" identifier == number_literal) )) || (parenthesized_expression "(iVar1 == 3)" ( (binary_expression "iVar1 == 3" identifier == number_literal) ))) )) (compound_statement "{\n          uVar2 = (*(code *)PTR_fflush_003fa4a4)(*(undefined4 *)(iVar3 + 0x44));\n        }" { (expression_statement "uVar2 = (*(code *)PTR_fflush_003fa4a4)(*(undefined4 *)(iVar3 + 0x44));" (assignment_expression "uVar2 = (*(code *)PTR_fflush_003fa4a4)(*(undefined4 *)(iVar3 + 0x44))" identifier = (call_expression "(*(code *)PTR_fflush_003fa4a4)(*(undefined4 *)(iVar3 + 0x44))" (parenthesized_expression "(*(code *)PTR_fflush_003fa4a4)" ( (pointer_expression "*(code *)PTR_fflush_003fa4a4" * (cast_expression "(code *)PTR_fflush_003fa4a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(iVar3 + 0x44))" ( (pointer_expression "*(undefined4 *)(iVar3 + 0x44)" * (cast_expression "(undefined4 *)(iVar3 + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x44)" ( (binary_expression "iVar3 + 0x44" identifier + number_literal) )))) )))) ;) }) (else_clause "else {\n          uVar2 = 0;\n        }" else (compound_statement "{\n          uVar2 = 0;\n        }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }))) (return_statement "return uVar2;" return identifier ;) })) (expression_statement "uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                        (PTR_LAB_003f98e0 + 0x4ae4,PTR_LAB_003f98e0 + 0x4aac,0x1525,\n                         PTR_LAB_003f98e0 + 0x5750);" (assignment_expression "uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                        (PTR_LAB_003f98e0 + 0x4ae4,PTR_LAB_003f98e0 + 0x4aac,0x1525,\n                         PTR_LAB_003f98e0 + 0x5750)" identifier = (call_expression "(*(code *)PTR___assert_fail_003fa620)\n                        (PTR_LAB_003f98e0 + 0x4ae4,PTR_LAB_003f98e0 + 0x4aac,0x1525,\n                         PTR_LAB_003f98e0 + 0x5750)" (parenthesized_expression "(*(code *)PTR___assert_fail_003fa620)" ( (pointer_expression "*(code *)PTR___assert_fail_003fa620" * (cast_expression "(code *)PTR___assert_fail_003fa620" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_003f98e0 + 0x4ae4,PTR_LAB_003f98e0 + 0x4aac,0x1525,\n                         PTR_LAB_003f98e0 + 0x5750)" ( (binary_expression "PTR_LAB_003f98e0 + 0x4ae4" identifier + number_literal) , (binary_expression "PTR_LAB_003f98e0 + 0x4aac" identifier + number_literal) , number_literal , (binary_expression "PTR_LAB_003f98e0 + 0x5750" identifier + number_literal) )))) ;) (return_statement "return uVar2;" return identifier ;) })) (expression_statement "uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x4ac0,PTR_LAB_003f98e0 + 0x4aac,0x1524,\n                       PTR_LAB_003f98e0 + 0x5750);" (assignment_expression "uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x4ac0,PTR_LAB_003f98e0 + 0x4aac,0x1524,\n                       PTR_LAB_003f98e0 + 0x5750)" identifier = (call_expression "(*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x4ac0,PTR_LAB_003f98e0 + 0x4aac,0x1524,\n                       PTR_LAB_003f98e0 + 0x5750)" (parenthesized_expression "(*(code *)PTR___assert_fail_003fa620)" ( (pointer_expression "*(code *)PTR___assert_fail_003fa620" * (cast_expression "(code *)PTR___assert_fail_003fa620" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_003f98e0 + 0x4ac0,PTR_LAB_003f98e0 + 0x4aac,0x1524,\n                       PTR_LAB_003f98e0 + 0x5750)" ( (binary_expression "PTR_LAB_003f98e0 + 0x4ac0" identifier + number_literal) , (binary_expression "PTR_LAB_003f98e0 + 0x4aac" identifier + number_literal) , number_literal , (binary_expression "PTR_LAB_003f98e0 + 0x5750" identifier + number_literal) )))) ;) (return_statement "return uVar2;" return identifier ;) })) (expression_statement "uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                    (PTR_UINT_003f98e4 + -0x784,PTR_LAB_003f98e0 + 0x4aac,0x1521,\n                     PTR_LAB_003f98e0 + 0x5750);" (assignment_expression "uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                    (PTR_UINT_003f98e4 + -0x784,PTR_LAB_003f98e0 + 0x4aac,0x1521,\n                     PTR_LAB_003f98e0 + 0x5750)" identifier = (call_expression "(*(code *)PTR___assert_fail_003fa620)\n                    (PTR_UINT_003f98e4 + -0x784,PTR_LAB_003f98e0 + 0x4aac,0x1521,\n                     PTR_LAB_003f98e0 + 0x5750)" (parenthesized_expression "(*(code *)PTR___assert_fail_003fa620)" ( (pointer_expression "*(code *)PTR___assert_fail_003fa620" * (cast_expression "(code *)PTR___assert_fail_003fa620" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_UINT_003f98e4 + -0x784,PTR_LAB_003f98e0 + 0x4aac,0x1521,\n                     PTR_LAB_003f98e0 + 0x5750)" ( (binary_expression "PTR_UINT_003f98e4 + -0x784" identifier + number_literal) , (binary_expression "PTR_LAB_003f98e0 + 0x4aac" identifier + number_literal) , number_literal , (binary_expression "PTR_LAB_003f98e0 + 0x5750" identifier + number_literal) )))) ;) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit "/* 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\nint SyncBlob(Image *image)\n\n{\n  StreamType SVar1;\n  int iVar2;\n  BlobInfo *pBVar3;\n  \n  if (image == (Image *)0x0) {\n    iVar2 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3da0,PTR_LAB_003f98e0 + 0x4aac,0x1520,\n                       PTR_LAB_003f98e0 + 0x5750);\n    return iVar2;\n  }\n  if (image->signature == 0xabacadab) {\n    if (image->debug == MagickFalse) {\n      pBVar3 = image->blob;\n    }\n    else {\n      (*(code *)PTR_LogMagickEvent_003fa1f8)\n                (0x8000,PTR_LAB_003f98e0 + 0x4aac,PTR_LAB_003f98e0 + 0x5744,0x1523,\n                 PTR_s_ltiple_images_003f98e8 + -0x2f6c,image->filename);\n      pBVar3 = image->blob;\n    }\n    if (pBVar3 != (BlobInfo *)0x0) {\n      SVar1 = pBVar3->type;\n      if (SVar1 != UndefinedStream) {\n        if ((SVar1 == FileStream) || (SVar1 == PipeStream)) {\n          iVar2 = (*(code *)PTR_fflush_003fa4a4)((pBVar3->file_info).file);\n        }\n        else {\n          iVar2 = 0;\n        }\n        return iVar2;\n      }\n      iVar2 = (*(code *)PTR___assert_fail_003fa620)\n                        (PTR_LAB_003f98e0 + 0x4ae4,PTR_LAB_003f98e0 + 0x4aac,0x1525,\n                         PTR_LAB_003f98e0 + 0x5750);\n      return iVar2;\n    }\n    iVar2 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x4ac0,PTR_LAB_003f98e0 + 0x4aac,0x1524,\n                       PTR_LAB_003f98e0 + 0x5750);\n    return iVar2;\n  }\n  iVar2 = (*(code *)PTR___assert_fail_003fa620)\n                    (PTR_UINT_003f98e4 + -0x784,PTR_LAB_003f98e0 + 0x4aac,0x1521,\n                     PTR_LAB_003f98e0 + 0x5750);\n  return iVar2;\n}\n\n" comment comment comment comment (function_definition "int SyncBlob(Image *image)\n\n{\n  StreamType SVar1;\n  int iVar2;\n  BlobInfo *pBVar3;\n  \n  if (image == (Image *)0x0) {\n    iVar2 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3da0,PTR_LAB_003f98e0 + 0x4aac,0x1520,\n                       PTR_LAB_003f98e0 + 0x5750);\n    return iVar2;\n  }\n  if (image->signature == 0xabacadab) {\n    if (image->debug == MagickFalse) {\n      pBVar3 = image->blob;\n    }\n    else {\n      (*(code *)PTR_LogMagickEvent_003fa1f8)\n                (0x8000,PTR_LAB_003f98e0 + 0x4aac,PTR_LAB_003f98e0 + 0x5744,0x1523,\n                 PTR_s_ltiple_images_003f98e8 + -0x2f6c,image->filename);\n      pBVar3 = image->blob;\n    }\n    if (pBVar3 != (BlobInfo *)0x0) {\n      SVar1 = pBVar3->type;\n      if (SVar1 != UndefinedStream) {\n        if ((SVar1 == FileStream) || (SVar1 == PipeStream)) {\n          iVar2 = (*(code *)PTR_fflush_003fa4a4)((pBVar3->file_info).file);\n        }\n        else {\n          iVar2 = 0;\n        }\n        return iVar2;\n      }\n      iVar2 = (*(code *)PTR___assert_fail_003fa620)\n                        (PTR_LAB_003f98e0 + 0x4ae4,PTR_LAB_003f98e0 + 0x4aac,0x1525,\n                         PTR_LAB_003f98e0 + 0x5750);\n      return iVar2;\n    }\n    iVar2 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x4ac0,PTR_LAB_003f98e0 + 0x4aac,0x1524,\n                       PTR_LAB_003f98e0 + 0x5750);\n    return iVar2;\n  }\n  iVar2 = (*(code *)PTR___assert_fail_003fa620)\n                    (PTR_UINT_003f98e4 + -0x784,PTR_LAB_003f98e0 + 0x4aac,0x1521,\n                     PTR_LAB_003f98e0 + 0x5750);\n  return iVar2;\n}" primitive_type (function_declarator "SyncBlob(Image *image)" identifier (parameter_list "(Image *image)" ( (parameter_declaration "Image *image" type_identifier (pointer_declarator "*image" * identifier)) ))) (compound_statement "{\n  StreamType SVar1;\n  int iVar2;\n  BlobInfo *pBVar3;\n  \n  if (image == (Image *)0x0) {\n    iVar2 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3da0,PTR_LAB_003f98e0 + 0x4aac,0x1520,\n                       PTR_LAB_003f98e0 + 0x5750);\n    return iVar2;\n  }\n  if (image->signature == 0xabacadab) {\n    if (image->debug == MagickFalse) {\n      pBVar3 = image->blob;\n    }\n    else {\n      (*(code *)PTR_LogMagickEvent_003fa1f8)\n                (0x8000,PTR_LAB_003f98e0 + 0x4aac,PTR_LAB_003f98e0 + 0x5744,0x1523,\n                 PTR_s_ltiple_images_003f98e8 + -0x2f6c,image->filename);\n      pBVar3 = image->blob;\n    }\n    if (pBVar3 != (BlobInfo *)0x0) {\n      SVar1 = pBVar3->type;\n      if (SVar1 != UndefinedStream) {\n        if ((SVar1 == FileStream) || (SVar1 == PipeStream)) {\n          iVar2 = (*(code *)PTR_fflush_003fa4a4)((pBVar3->file_info).file);\n        }\n        else {\n          iVar2 = 0;\n        }\n        return iVar2;\n      }\n      iVar2 = (*(code *)PTR___assert_fail_003fa620)\n                        (PTR_LAB_003f98e0 + 0x4ae4,PTR_LAB_003f98e0 + 0x4aac,0x1525,\n                         PTR_LAB_003f98e0 + 0x5750);\n      return iVar2;\n    }\n    iVar2 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x4ac0,PTR_LAB_003f98e0 + 0x4aac,0x1524,\n                       PTR_LAB_003f98e0 + 0x5750);\n    return iVar2;\n  }\n  iVar2 = (*(code *)PTR___assert_fail_003fa620)\n                    (PTR_UINT_003f98e4 + -0x784,PTR_LAB_003f98e0 + 0x4aac,0x1521,\n                     PTR_LAB_003f98e0 + 0x5750);\n  return iVar2;\n}" { (declaration "StreamType SVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "BlobInfo *pBVar3;" type_identifier (pointer_declarator "*pBVar3" * identifier) ;) (if_statement "if (image == (Image *)0x0) {\n    iVar2 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3da0,PTR_LAB_003f98e0 + 0x4aac,0x1520,\n                       PTR_LAB_003f98e0 + 0x5750);\n    return iVar2;\n  }" if (parenthesized_expression "(image == (Image *)0x0)" ( (binary_expression "image == (Image *)0x0" identifier == (cast_expression "(Image *)0x0" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar2 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3da0,PTR_LAB_003f98e0 + 0x4aac,0x1520,\n                       PTR_LAB_003f98e0 + 0x5750);\n    return iVar2;\n  }" { (expression_statement "iVar2 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3da0,PTR_LAB_003f98e0 + 0x4aac,0x1520,\n                       PTR_LAB_003f98e0 + 0x5750);" (assignment_expression "iVar2 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3da0,PTR_LAB_003f98e0 + 0x4aac,0x1520,\n                       PTR_LAB_003f98e0 + 0x5750)" identifier = (call_expression "(*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3da0,PTR_LAB_003f98e0 + 0x4aac,0x1520,\n                       PTR_LAB_003f98e0 + 0x5750)" (parenthesized_expression "(*(code *)PTR___assert_fail_003fa620)" ( (pointer_expression "*(code *)PTR___assert_fail_003fa620" * (cast_expression "(code *)PTR___assert_fail_003fa620" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_003f98e0 + 0x3da0,PTR_LAB_003f98e0 + 0x4aac,0x1520,\n                       PTR_LAB_003f98e0 + 0x5750)" ( (binary_expression "PTR_LAB_003f98e0 + 0x3da0" identifier + number_literal) , (binary_expression "PTR_LAB_003f98e0 + 0x4aac" identifier + number_literal) , number_literal , (binary_expression "PTR_LAB_003f98e0 + 0x5750" identifier + number_literal) )))) ;) (return_statement "return iVar2;" return identifier ;) })) (if_statement "if (image->signature == 0xabacadab) {\n    if (image->debug == MagickFalse) {\n      pBVar3 = image->blob;\n    }\n    else {\n      (*(code *)PTR_LogMagickEvent_003fa1f8)\n                (0x8000,PTR_LAB_003f98e0 + 0x4aac,PTR_LAB_003f98e0 + 0x5744,0x1523,\n                 PTR_s_ltiple_images_003f98e8 + -0x2f6c,image->filename);\n      pBVar3 = image->blob;\n    }\n    if (pBVar3 != (BlobInfo *)0x0) {\n      SVar1 = pBVar3->type;\n      if (SVar1 != UndefinedStream) {\n        if ((SVar1 == FileStream) || (SVar1 == PipeStream)) {\n          iVar2 = (*(code *)PTR_fflush_003fa4a4)((pBVar3->file_info).file);\n        }\n        else {\n          iVar2 = 0;\n        }\n        return iVar2;\n      }\n      iVar2 = (*(code *)PTR___assert_fail_003fa620)\n                        (PTR_LAB_003f98e0 + 0x4ae4,PTR_LAB_003f98e0 + 0x4aac,0x1525,\n                         PTR_LAB_003f98e0 + 0x5750);\n      return iVar2;\n    }\n    iVar2 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x4ac0,PTR_LAB_003f98e0 + 0x4aac,0x1524,\n                       PTR_LAB_003f98e0 + 0x5750);\n    return iVar2;\n  }" if (parenthesized_expression "(image->signature == 0xabacadab)" ( (binary_expression "image->signature == 0xabacadab" (field_expression "image->signature" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n    if (image->debug == MagickFalse) {\n      pBVar3 = image->blob;\n    }\n    else {\n      (*(code *)PTR_LogMagickEvent_003fa1f8)\n                (0x8000,PTR_LAB_003f98e0 + 0x4aac,PTR_LAB_003f98e0 + 0x5744,0x1523,\n                 PTR_s_ltiple_images_003f98e8 + -0x2f6c,image->filename);\n      pBVar3 = image->blob;\n    }\n    if (pBVar3 != (BlobInfo *)0x0) {\n      SVar1 = pBVar3->type;\n      if (SVar1 != UndefinedStream) {\n        if ((SVar1 == FileStream) || (SVar1 == PipeStream)) {\n          iVar2 = (*(code *)PTR_fflush_003fa4a4)((pBVar3->file_info).file);\n        }\n        else {\n          iVar2 = 0;\n        }\n        return iVar2;\n      }\n      iVar2 = (*(code *)PTR___assert_fail_003fa620)\n                        (PTR_LAB_003f98e0 + 0x4ae4,PTR_LAB_003f98e0 + 0x4aac,0x1525,\n                         PTR_LAB_003f98e0 + 0x5750);\n      return iVar2;\n    }\n    iVar2 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x4ac0,PTR_LAB_003f98e0 + 0x4aac,0x1524,\n                       PTR_LAB_003f98e0 + 0x5750);\n    return iVar2;\n  }" { (if_statement "if (image->debug == MagickFalse) {\n      pBVar3 = image->blob;\n    }\n    else {\n      (*(code *)PTR_LogMagickEvent_003fa1f8)\n                (0x8000,PTR_LAB_003f98e0 + 0x4aac,PTR_LAB_003f98e0 + 0x5744,0x1523,\n                 PTR_s_ltiple_images_003f98e8 + -0x2f6c,image->filename);\n      pBVar3 = image->blob;\n    }" if (parenthesized_expression "(image->debug == MagickFalse)" ( (binary_expression "image->debug == MagickFalse" (field_expression "image->debug" identifier -> field_identifier) == identifier) )) (compound_statement "{\n      pBVar3 = image->blob;\n    }" { (expression_statement "pBVar3 = image->blob;" (assignment_expression "pBVar3 = image->blob" identifier = (field_expression "image->blob" identifier -> field_identifier)) ;) }) (else_clause "else {\n      (*(code *)PTR_LogMagickEvent_003fa1f8)\n                (0x8000,PTR_LAB_003f98e0 + 0x4aac,PTR_LAB_003f98e0 + 0x5744,0x1523,\n                 PTR_s_ltiple_images_003f98e8 + -0x2f6c,image->filename);\n      pBVar3 = image->blob;\n    }" else (compound_statement "{\n      (*(code *)PTR_LogMagickEvent_003fa1f8)\n                (0x8000,PTR_LAB_003f98e0 + 0x4aac,PTR_LAB_003f98e0 + 0x5744,0x1523,\n                 PTR_s_ltiple_images_003f98e8 + -0x2f6c,image->filename);\n      pBVar3 = image->blob;\n    }" { (expression_statement "(*(code *)PTR_LogMagickEvent_003fa1f8)\n                (0x8000,PTR_LAB_003f98e0 + 0x4aac,PTR_LAB_003f98e0 + 0x5744,0x1523,\n                 PTR_s_ltiple_images_003f98e8 + -0x2f6c,image->filename);" (call_expression "(*(code *)PTR_LogMagickEvent_003fa1f8)\n                (0x8000,PTR_LAB_003f98e0 + 0x4aac,PTR_LAB_003f98e0 + 0x5744,0x1523,\n                 PTR_s_ltiple_images_003f98e8 + -0x2f6c,image->filename)" (parenthesized_expression "(*(code *)PTR_LogMagickEvent_003fa1f8)" ( (pointer_expression "*(code *)PTR_LogMagickEvent_003fa1f8" * (cast_expression "(code *)PTR_LogMagickEvent_003fa1f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x8000,PTR_LAB_003f98e0 + 0x4aac,PTR_LAB_003f98e0 + 0x5744,0x1523,\n                 PTR_s_ltiple_images_003f98e8 + -0x2f6c,image->filename)" ( number_literal , (binary_expression "PTR_LAB_003f98e0 + 0x4aac" identifier + number_literal) , (binary_expression "PTR_LAB_003f98e0 + 0x5744" identifier + number_literal) , number_literal , (binary_expression "PTR_s_ltiple_images_003f98e8 + -0x2f6c" identifier + number_literal) , (field_expression "image->filename" identifier -> field_identifier) ))) ;) (expression_statement "pBVar3 = image->blob;" (assignment_expression "pBVar3 = image->blob" identifier = (field_expression "image->blob" identifier -> field_identifier)) ;) }))) (if_statement "if (pBVar3 != (BlobInfo *)0x0) {\n      SVar1 = pBVar3->type;\n      if (SVar1 != UndefinedStream) {\n        if ((SVar1 == FileStream) || (SVar1 == PipeStream)) {\n          iVar2 = (*(code *)PTR_fflush_003fa4a4)((pBVar3->file_info).file);\n        }\n        else {\n          iVar2 = 0;\n        }\n        return iVar2;\n      }\n      iVar2 = (*(code *)PTR___assert_fail_003fa620)\n                        (PTR_LAB_003f98e0 + 0x4ae4,PTR_LAB_003f98e0 + 0x4aac,0x1525,\n                         PTR_LAB_003f98e0 + 0x5750);\n      return iVar2;\n    }" if (parenthesized_expression "(pBVar3 != (BlobInfo *)0x0)" ( (binary_expression "pBVar3 != (BlobInfo *)0x0" identifier != (cast_expression "(BlobInfo *)0x0" ( (type_descriptor "BlobInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      SVar1 = pBVar3->type;\n      if (SVar1 != UndefinedStream) {\n        if ((SVar1 == FileStream) || (SVar1 == PipeStream)) {\n          iVar2 = (*(code *)PTR_fflush_003fa4a4)((pBVar3->file_info).file);\n        }\n        else {\n          iVar2 = 0;\n        }\n        return iVar2;\n      }\n      iVar2 = (*(code *)PTR___assert_fail_003fa620)\n                        (PTR_LAB_003f98e0 + 0x4ae4,PTR_LAB_003f98e0 + 0x4aac,0x1525,\n                         PTR_LAB_003f98e0 + 0x5750);\n      return iVar2;\n    }" { (expression_statement "SVar1 = pBVar3->type;" (assignment_expression "SVar1 = pBVar3->type" identifier = (field_expression "pBVar3->type" identifier -> field_identifier)) ;) (if_statement "if (SVar1 != UndefinedStream) {\n        if ((SVar1 == FileStream) || (SVar1 == PipeStream)) {\n          iVar2 = (*(code *)PTR_fflush_003fa4a4)((pBVar3->file_info).file);\n        }\n        else {\n          iVar2 = 0;\n        }\n        return iVar2;\n      }" if (parenthesized_expression "(SVar1 != UndefinedStream)" ( (binary_expression "SVar1 != UndefinedStream" identifier != identifier) )) (compound_statement "{\n        if ((SVar1 == FileStream) || (SVar1 == PipeStream)) {\n          iVar2 = (*(code *)PTR_fflush_003fa4a4)((pBVar3->file_info).file);\n        }\n        else {\n          iVar2 = 0;\n        }\n        return iVar2;\n      }" { (if_statement "if ((SVar1 == FileStream) || (SVar1 == PipeStream)) {\n          iVar2 = (*(code *)PTR_fflush_003fa4a4)((pBVar3->file_info).file);\n        }\n        else {\n          iVar2 = 0;\n        }" if (parenthesized_expression "((SVar1 == FileStream) || (SVar1 == PipeStream))" ( (binary_expression "(SVar1 == FileStream) || (SVar1 == PipeStream)" (parenthesized_expression "(SVar1 == FileStream)" ( (binary_expression "SVar1 == FileStream" identifier == identifier) )) || (parenthesized_expression "(SVar1 == PipeStream)" ( (binary_expression "SVar1 == PipeStream" identifier == identifier) ))) )) (compound_statement "{\n          iVar2 = (*(code *)PTR_fflush_003fa4a4)((pBVar3->file_info).file);\n        }" { (expression_statement "iVar2 = (*(code *)PTR_fflush_003fa4a4)((pBVar3->file_info).file);" (assignment_expression "iVar2 = (*(code *)PTR_fflush_003fa4a4)((pBVar3->file_info).file)" identifier = (call_expression "(*(code *)PTR_fflush_003fa4a4)((pBVar3->file_info).file)" (parenthesized_expression "(*(code *)PTR_fflush_003fa4a4)" ( (pointer_expression "*(code *)PTR_fflush_003fa4a4" * (cast_expression "(code *)PTR_fflush_003fa4a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "((pBVar3->file_info).file)" ( (field_expression "(pBVar3->file_info).file" (parenthesized_expression "(pBVar3->file_info)" ( (field_expression "pBVar3->file_info" identifier -> field_identifier) )) . field_identifier) )))) ;) }) (else_clause "else {\n          iVar2 = 0;\n        }" else (compound_statement "{\n          iVar2 = 0;\n        }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) }))) (return_statement "return iVar2;" return identifier ;) })) (expression_statement "iVar2 = (*(code *)PTR___assert_fail_003fa620)\n                        (PTR_LAB_003f98e0 + 0x4ae4,PTR_LAB_003f98e0 + 0x4aac,0x1525,\n                         PTR_LAB_003f98e0 + 0x5750);" (assignment_expression "iVar2 = (*(code *)PTR___assert_fail_003fa620)\n                        (PTR_LAB_003f98e0 + 0x4ae4,PTR_LAB_003f98e0 + 0x4aac,0x1525,\n                         PTR_LAB_003f98e0 + 0x5750)" identifier = (call_expression "(*(code *)PTR___assert_fail_003fa620)\n                        (PTR_LAB_003f98e0 + 0x4ae4,PTR_LAB_003f98e0 + 0x4aac,0x1525,\n                         PTR_LAB_003f98e0 + 0x5750)" (parenthesized_expression "(*(code *)PTR___assert_fail_003fa620)" ( (pointer_expression "*(code *)PTR___assert_fail_003fa620" * (cast_expression "(code *)PTR___assert_fail_003fa620" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_003f98e0 + 0x4ae4,PTR_LAB_003f98e0 + 0x4aac,0x1525,\n                         PTR_LAB_003f98e0 + 0x5750)" ( (binary_expression "PTR_LAB_003f98e0 + 0x4ae4" identifier + number_literal) , (binary_expression "PTR_LAB_003f98e0 + 0x4aac" identifier + number_literal) , number_literal , (binary_expression "PTR_LAB_003f98e0 + 0x5750" identifier + number_literal) )))) ;) (return_statement "return iVar2;" return identifier ;) })) (expression_statement "iVar2 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x4ac0,PTR_LAB_003f98e0 + 0x4aac,0x1524,\n                       PTR_LAB_003f98e0 + 0x5750);" (assignment_expression "iVar2 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x4ac0,PTR_LAB_003f98e0 + 0x4aac,0x1524,\n                       PTR_LAB_003f98e0 + 0x5750)" identifier = (call_expression "(*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x4ac0,PTR_LAB_003f98e0 + 0x4aac,0x1524,\n                       PTR_LAB_003f98e0 + 0x5750)" (parenthesized_expression "(*(code *)PTR___assert_fail_003fa620)" ( (pointer_expression "*(code *)PTR___assert_fail_003fa620" * (cast_expression "(code *)PTR___assert_fail_003fa620" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_003f98e0 + 0x4ac0,PTR_LAB_003f98e0 + 0x4aac,0x1524,\n                       PTR_LAB_003f98e0 + 0x5750)" ( (binary_expression "PTR_LAB_003f98e0 + 0x4ac0" identifier + number_literal) , (binary_expression "PTR_LAB_003f98e0 + 0x4aac" identifier + number_literal) , number_literal , (binary_expression "PTR_LAB_003f98e0 + 0x5750" identifier + number_literal) )))) ;) (return_statement "return iVar2;" return identifier ;) })) (expression_statement "iVar2 = (*(code *)PTR___assert_fail_003fa620)\n                    (PTR_UINT_003f98e4 + -0x784,PTR_LAB_003f98e0 + 0x4aac,0x1521,\n                     PTR_LAB_003f98e0 + 0x5750);" (assignment_expression "iVar2 = (*(code *)PTR___assert_fail_003fa620)\n                    (PTR_UINT_003f98e4 + -0x784,PTR_LAB_003f98e0 + 0x4aac,0x1521,\n                     PTR_LAB_003f98e0 + 0x5750)" identifier = (call_expression "(*(code *)PTR___assert_fail_003fa620)\n                    (PTR_UINT_003f98e4 + -0x784,PTR_LAB_003f98e0 + 0x4aac,0x1521,\n                     PTR_LAB_003f98e0 + 0x5750)" (parenthesized_expression "(*(code *)PTR___assert_fail_003fa620)" ( (pointer_expression "*(code *)PTR___assert_fail_003fa620" * (cast_expression "(code *)PTR___assert_fail_003fa620" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_UINT_003f98e4 + -0x784,PTR_LAB_003f98e0 + 0x4aac,0x1521,\n                     PTR_LAB_003f98e0 + 0x5750)" ( (binary_expression "PTR_UINT_003f98e4 + -0x784" identifier + number_literal) , (binary_expression "PTR_LAB_003f98e0 + 0x4aac" identifier + number_literal) , number_literal , (binary_expression "PTR_LAB_003f98e0 + 0x5750" identifier + number_literal) )))) ;) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit "undefined4 FUN_0003fa88(int param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  if (param_1 == 0) {\n    uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3da0,PTR_LAB_003f98e0 + 0x4aac,0x1520,\n                       PTR_LAB_003f98e0 + 0x5750);\n    return uVar2;\n  }\n  if (*(int *)(param_1 + 0x336c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x3350) == 0) {\n      iVar3 = *(int *)(param_1 + 0x3348);\n    }\n    else {\n      (*(code *)PTR_LogMagickEvent_003fa1f8)\n                (0x8000,PTR_LAB_003f98e0 + 0x4aac,PTR_LAB_003f98e0 + 0x5744,0x1523,\n                 PTR_s_ltiple_images_003f98e8 + -0x2f6c,param_1 + 0x340);\n      iVar3 = *(int *)(param_1 + 0x3348);\n    }\n    if (iVar3 != 0) {\n      iVar1 = *(int *)(iVar3 + 0x40);\n      if (iVar1 != 0) {\n        if ((iVar1 == 1) || (iVar1 == 3)) {\n          uVar2 = (*(code *)PTR_fflush_003fa4a4)(*(undefined4 *)(iVar3 + 0x44));\n        }\n        else {\n          uVar2 = 0;\n        }\n        return uVar2;\n      }\n      uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                        (PTR_LAB_003f98e0 + 0x4ae4,PTR_LAB_003f98e0 + 0x4aac,0x1525,\n                         PTR_LAB_003f98e0 + 0x5750);\n      return uVar2;\n    }\n    uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x4ac0,PTR_LAB_003f98e0 + 0x4aac,0x1524,\n                       PTR_LAB_003f98e0 + 0x5750);\n    return uVar2;\n  }\n  uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                    (PTR_UINT_003f98e4 + -0x784,PTR_LAB_003f98e0 + 0x4aac,0x1521,\n                     PTR_LAB_003f98e0 + 0x5750);\n  return uVar2;\n}\n\n" (function_definition "undefined4 FUN_0003fa88(int param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  if (param_1 == 0) {\n    uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3da0,PTR_LAB_003f98e0 + 0x4aac,0x1520,\n                       PTR_LAB_003f98e0 + 0x5750);\n    return uVar2;\n  }\n  if (*(int *)(param_1 + 0x336c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x3350) == 0) {\n      iVar3 = *(int *)(param_1 + 0x3348);\n    }\n    else {\n      (*(code *)PTR_LogMagickEvent_003fa1f8)\n                (0x8000,PTR_LAB_003f98e0 + 0x4aac,PTR_LAB_003f98e0 + 0x5744,0x1523,\n                 PTR_s_ltiple_images_003f98e8 + -0x2f6c,param_1 + 0x340);\n      iVar3 = *(int *)(param_1 + 0x3348);\n    }\n    if (iVar3 != 0) {\n      iVar1 = *(int *)(iVar3 + 0x40);\n      if (iVar1 != 0) {\n        if ((iVar1 == 1) || (iVar1 == 3)) {\n          uVar2 = (*(code *)PTR_fflush_003fa4a4)(*(undefined4 *)(iVar3 + 0x44));\n        }\n        else {\n          uVar2 = 0;\n        }\n        return uVar2;\n      }\n      uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                        (PTR_LAB_003f98e0 + 0x4ae4,PTR_LAB_003f98e0 + 0x4aac,0x1525,\n                         PTR_LAB_003f98e0 + 0x5750);\n      return uVar2;\n    }\n    uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x4ac0,PTR_LAB_003f98e0 + 0x4aac,0x1524,\n                       PTR_LAB_003f98e0 + 0x5750);\n    return uVar2;\n  }\n  uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                    (PTR_UINT_003f98e4 + -0x784,PTR_LAB_003f98e0 + 0x4aac,0x1521,\n                     PTR_LAB_003f98e0 + 0x5750);\n  return uVar2;\n}" type_identifier (function_declarator "FUN_0003fa88(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  if (param_1 == 0) {\n    uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3da0,PTR_LAB_003f98e0 + 0x4aac,0x1520,\n                       PTR_LAB_003f98e0 + 0x5750);\n    return uVar2;\n  }\n  if (*(int *)(param_1 + 0x336c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x3350) == 0) {\n      iVar3 = *(int *)(param_1 + 0x3348);\n    }\n    else {\n      (*(code *)PTR_LogMagickEvent_003fa1f8)\n                (0x8000,PTR_LAB_003f98e0 + 0x4aac,PTR_LAB_003f98e0 + 0x5744,0x1523,\n                 PTR_s_ltiple_images_003f98e8 + -0x2f6c,param_1 + 0x340);\n      iVar3 = *(int *)(param_1 + 0x3348);\n    }\n    if (iVar3 != 0) {\n      iVar1 = *(int *)(iVar3 + 0x40);\n      if (iVar1 != 0) {\n        if ((iVar1 == 1) || (iVar1 == 3)) {\n          uVar2 = (*(code *)PTR_fflush_003fa4a4)(*(undefined4 *)(iVar3 + 0x44));\n        }\n        else {\n          uVar2 = 0;\n        }\n        return uVar2;\n      }\n      uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                        (PTR_LAB_003f98e0 + 0x4ae4,PTR_LAB_003f98e0 + 0x4aac,0x1525,\n                         PTR_LAB_003f98e0 + 0x5750);\n      return uVar2;\n    }\n    uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x4ac0,PTR_LAB_003f98e0 + 0x4aac,0x1524,\n                       PTR_LAB_003f98e0 + 0x5750);\n    return uVar2;\n  }\n  uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                    (PTR_UINT_003f98e4 + -0x784,PTR_LAB_003f98e0 + 0x4aac,0x1521,\n                     PTR_LAB_003f98e0 + 0x5750);\n  return uVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (if_statement "if (param_1 == 0) {\n    uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3da0,PTR_LAB_003f98e0 + 0x4aac,0x1520,\n                       PTR_LAB_003f98e0 + 0x5750);\n    return uVar2;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3da0,PTR_LAB_003f98e0 + 0x4aac,0x1520,\n                       PTR_LAB_003f98e0 + 0x5750);\n    return uVar2;\n  }" { (expression_statement "uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3da0,PTR_LAB_003f98e0 + 0x4aac,0x1520,\n                       PTR_LAB_003f98e0 + 0x5750);" (assignment_expression "uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3da0,PTR_LAB_003f98e0 + 0x4aac,0x1520,\n                       PTR_LAB_003f98e0 + 0x5750)" identifier = (call_expression "(*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3da0,PTR_LAB_003f98e0 + 0x4aac,0x1520,\n                       PTR_LAB_003f98e0 + 0x5750)" (parenthesized_expression "(*(code *)PTR___assert_fail_003fa620)" ( (pointer_expression "*(code *)PTR___assert_fail_003fa620" * (cast_expression "(code *)PTR___assert_fail_003fa620" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_003f98e0 + 0x3da0,PTR_LAB_003f98e0 + 0x4aac,0x1520,\n                       PTR_LAB_003f98e0 + 0x5750)" ( (binary_expression "PTR_LAB_003f98e0 + 0x3da0" identifier + number_literal) , (binary_expression "PTR_LAB_003f98e0 + 0x4aac" identifier + number_literal) , number_literal , (binary_expression "PTR_LAB_003f98e0 + 0x5750" identifier + number_literal) )))) ;) (return_statement "return uVar2;" return identifier ;) })) (if_statement "if (*(int *)(param_1 + 0x336c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x3350) == 0) {\n      iVar3 = *(int *)(param_1 + 0x3348);\n    }\n    else {\n      (*(code *)PTR_LogMagickEvent_003fa1f8)\n                (0x8000,PTR_LAB_003f98e0 + 0x4aac,PTR_LAB_003f98e0 + 0x5744,0x1523,\n                 PTR_s_ltiple_images_003f98e8 + -0x2f6c,param_1 + 0x340);\n      iVar3 = *(int *)(param_1 + 0x3348);\n    }\n    if (iVar3 != 0) {\n      iVar1 = *(int *)(iVar3 + 0x40);\n      if (iVar1 != 0) {\n        if ((iVar1 == 1) || (iVar1 == 3)) {\n          uVar2 = (*(code *)PTR_fflush_003fa4a4)(*(undefined4 *)(iVar3 + 0x44));\n        }\n        else {\n          uVar2 = 0;\n        }\n        return uVar2;\n      }\n      uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                        (PTR_LAB_003f98e0 + 0x4ae4,PTR_LAB_003f98e0 + 0x4aac,0x1525,\n                         PTR_LAB_003f98e0 + 0x5750);\n      return uVar2;\n    }\n    uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x4ac0,PTR_LAB_003f98e0 + 0x4aac,0x1524,\n                       PTR_LAB_003f98e0 + 0x5750);\n    return uVar2;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x336c) == -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x336c) == -0x54535255" (pointer_expression "*(int *)(param_1 + 0x336c)" * (cast_expression "(int *)(param_1 + 0x336c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x336c)" ( (binary_expression "param_1 + 0x336c" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    if (*(int *)(param_1 + 0x3350) == 0) {\n      iVar3 = *(int *)(param_1 + 0x3348);\n    }\n    else {\n      (*(code *)PTR_LogMagickEvent_003fa1f8)\n                (0x8000,PTR_LAB_003f98e0 + 0x4aac,PTR_LAB_003f98e0 + 0x5744,0x1523,\n                 PTR_s_ltiple_images_003f98e8 + -0x2f6c,param_1 + 0x340);\n      iVar3 = *(int *)(param_1 + 0x3348);\n    }\n    if (iVar3 != 0) {\n      iVar1 = *(int *)(iVar3 + 0x40);\n      if (iVar1 != 0) {\n        if ((iVar1 == 1) || (iVar1 == 3)) {\n          uVar2 = (*(code *)PTR_fflush_003fa4a4)(*(undefined4 *)(iVar3 + 0x44));\n        }\n        else {\n          uVar2 = 0;\n        }\n        return uVar2;\n      }\n      uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                        (PTR_LAB_003f98e0 + 0x4ae4,PTR_LAB_003f98e0 + 0x4aac,0x1525,\n                         PTR_LAB_003f98e0 + 0x5750);\n      return uVar2;\n    }\n    uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x4ac0,PTR_LAB_003f98e0 + 0x4aac,0x1524,\n                       PTR_LAB_003f98e0 + 0x5750);\n    return uVar2;\n  }" { (if_statement "if (*(int *)(param_1 + 0x3350) == 0) {\n      iVar3 = *(int *)(param_1 + 0x3348);\n    }\n    else {\n      (*(code *)PTR_LogMagickEvent_003fa1f8)\n                (0x8000,PTR_LAB_003f98e0 + 0x4aac,PTR_LAB_003f98e0 + 0x5744,0x1523,\n                 PTR_s_ltiple_images_003f98e8 + -0x2f6c,param_1 + 0x340);\n      iVar3 = *(int *)(param_1 + 0x3348);\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0x3350) == 0)" ( (binary_expression "*(int *)(param_1 + 0x3350) == 0" (pointer_expression "*(int *)(param_1 + 0x3350)" * (cast_expression "(int *)(param_1 + 0x3350)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3350)" ( (binary_expression "param_1 + 0x3350" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      iVar3 = *(int *)(param_1 + 0x3348);\n    }" { (expression_statement "iVar3 = *(int *)(param_1 + 0x3348);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x3348)" identifier = (pointer_expression "*(int *)(param_1 + 0x3348)" * (cast_expression "(int *)(param_1 + 0x3348)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3348)" ( (binary_expression "param_1 + 0x3348" identifier + number_literal) ))))) ;) }) (else_clause "else {\n      (*(code *)PTR_LogMagickEvent_003fa1f8)\n                (0x8000,PTR_LAB_003f98e0 + 0x4aac,PTR_LAB_003f98e0 + 0x5744,0x1523,\n                 PTR_s_ltiple_images_003f98e8 + -0x2f6c,param_1 + 0x340);\n      iVar3 = *(int *)(param_1 + 0x3348);\n    }" else (compound_statement "{\n      (*(code *)PTR_LogMagickEvent_003fa1f8)\n                (0x8000,PTR_LAB_003f98e0 + 0x4aac,PTR_LAB_003f98e0 + 0x5744,0x1523,\n                 PTR_s_ltiple_images_003f98e8 + -0x2f6c,param_1 + 0x340);\n      iVar3 = *(int *)(param_1 + 0x3348);\n    }" { (expression_statement "(*(code *)PTR_LogMagickEvent_003fa1f8)\n                (0x8000,PTR_LAB_003f98e0 + 0x4aac,PTR_LAB_003f98e0 + 0x5744,0x1523,\n                 PTR_s_ltiple_images_003f98e8 + -0x2f6c,param_1 + 0x340);" (call_expression "(*(code *)PTR_LogMagickEvent_003fa1f8)\n                (0x8000,PTR_LAB_003f98e0 + 0x4aac,PTR_LAB_003f98e0 + 0x5744,0x1523,\n                 PTR_s_ltiple_images_003f98e8 + -0x2f6c,param_1 + 0x340)" (parenthesized_expression "(*(code *)PTR_LogMagickEvent_003fa1f8)" ( (pointer_expression "*(code *)PTR_LogMagickEvent_003fa1f8" * (cast_expression "(code *)PTR_LogMagickEvent_003fa1f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x8000,PTR_LAB_003f98e0 + 0x4aac,PTR_LAB_003f98e0 + 0x5744,0x1523,\n                 PTR_s_ltiple_images_003f98e8 + -0x2f6c,param_1 + 0x340)" ( number_literal , (binary_expression "PTR_LAB_003f98e0 + 0x4aac" identifier + number_literal) , (binary_expression "PTR_LAB_003f98e0 + 0x5744" identifier + number_literal) , number_literal , (binary_expression "PTR_s_ltiple_images_003f98e8 + -0x2f6c" identifier + number_literal) , (binary_expression "param_1 + 0x340" identifier + number_literal) ))) ;) (expression_statement "iVar3 = *(int *)(param_1 + 0x3348);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x3348)" identifier = (pointer_expression "*(int *)(param_1 + 0x3348)" * (cast_expression "(int *)(param_1 + 0x3348)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3348)" ( (binary_expression "param_1 + 0x3348" identifier + number_literal) ))))) ;) }))) (if_statement "if (iVar3 != 0) {\n      iVar1 = *(int *)(iVar3 + 0x40);\n      if (iVar1 != 0) {\n        if ((iVar1 == 1) || (iVar1 == 3)) {\n          uVar2 = (*(code *)PTR_fflush_003fa4a4)(*(undefined4 *)(iVar3 + 0x44));\n        }\n        else {\n          uVar2 = 0;\n        }\n        return uVar2;\n      }\n      uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                        (PTR_LAB_003f98e0 + 0x4ae4,PTR_LAB_003f98e0 + 0x4aac,0x1525,\n                         PTR_LAB_003f98e0 + 0x5750);\n      return uVar2;\n    }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar1 = *(int *)(iVar3 + 0x40);\n      if (iVar1 != 0) {\n        if ((iVar1 == 1) || (iVar1 == 3)) {\n          uVar2 = (*(code *)PTR_fflush_003fa4a4)(*(undefined4 *)(iVar3 + 0x44));\n        }\n        else {\n          uVar2 = 0;\n        }\n        return uVar2;\n      }\n      uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                        (PTR_LAB_003f98e0 + 0x4ae4,PTR_LAB_003f98e0 + 0x4aac,0x1525,\n                         PTR_LAB_003f98e0 + 0x5750);\n      return uVar2;\n    }" { (expression_statement "iVar1 = *(int *)(iVar3 + 0x40);" (assignment_expression "iVar1 = *(int *)(iVar3 + 0x40)" identifier = (pointer_expression "*(int *)(iVar3 + 0x40)" * (cast_expression "(int *)(iVar3 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x40)" ( (binary_expression "iVar3 + 0x40" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 != 0) {\n        if ((iVar1 == 1) || (iVar1 == 3)) {\n          uVar2 = (*(code *)PTR_fflush_003fa4a4)(*(undefined4 *)(iVar3 + 0x44));\n        }\n        else {\n          uVar2 = 0;\n        }\n        return uVar2;\n      }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n        if ((iVar1 == 1) || (iVar1 == 3)) {\n          uVar2 = (*(code *)PTR_fflush_003fa4a4)(*(undefined4 *)(iVar3 + 0x44));\n        }\n        else {\n          uVar2 = 0;\n        }\n        return uVar2;\n      }" { (if_statement "if ((iVar1 == 1) || (iVar1 == 3)) {\n          uVar2 = (*(code *)PTR_fflush_003fa4a4)(*(undefined4 *)(iVar3 + 0x44));\n        }\n        else {\n          uVar2 = 0;\n        }" if (parenthesized_expression "((iVar1 == 1) || (iVar1 == 3))" ( (binary_expression "(iVar1 == 1) || (iVar1 == 3)" (parenthesized_expression "(iVar1 == 1)" ( (binary_expression "iVar1 == 1" identifier == number_literal) )) || (parenthesized_expression "(iVar1 == 3)" ( (binary_expression "iVar1 == 3" identifier == number_literal) ))) )) (compound_statement "{\n          uVar2 = (*(code *)PTR_fflush_003fa4a4)(*(undefined4 *)(iVar3 + 0x44));\n        }" { (expression_statement "uVar2 = (*(code *)PTR_fflush_003fa4a4)(*(undefined4 *)(iVar3 + 0x44));" (assignment_expression "uVar2 = (*(code *)PTR_fflush_003fa4a4)(*(undefined4 *)(iVar3 + 0x44))" identifier = (call_expression "(*(code *)PTR_fflush_003fa4a4)(*(undefined4 *)(iVar3 + 0x44))" (parenthesized_expression "(*(code *)PTR_fflush_003fa4a4)" ( (pointer_expression "*(code *)PTR_fflush_003fa4a4" * (cast_expression "(code *)PTR_fflush_003fa4a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(iVar3 + 0x44))" ( (pointer_expression "*(undefined4 *)(iVar3 + 0x44)" * (cast_expression "(undefined4 *)(iVar3 + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x44)" ( (binary_expression "iVar3 + 0x44" identifier + number_literal) )))) )))) ;) }) (else_clause "else {\n          uVar2 = 0;\n        }" else (compound_statement "{\n          uVar2 = 0;\n        }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }))) (return_statement "return uVar2;" return identifier ;) })) (expression_statement "uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                        (PTR_LAB_003f98e0 + 0x4ae4,PTR_LAB_003f98e0 + 0x4aac,0x1525,\n                         PTR_LAB_003f98e0 + 0x5750);" (assignment_expression "uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                        (PTR_LAB_003f98e0 + 0x4ae4,PTR_LAB_003f98e0 + 0x4aac,0x1525,\n                         PTR_LAB_003f98e0 + 0x5750)" identifier = (call_expression "(*(code *)PTR___assert_fail_003fa620)\n                        (PTR_LAB_003f98e0 + 0x4ae4,PTR_LAB_003f98e0 + 0x4aac,0x1525,\n                         PTR_LAB_003f98e0 + 0x5750)" (parenthesized_expression "(*(code *)PTR___assert_fail_003fa620)" ( (pointer_expression "*(code *)PTR___assert_fail_003fa620" * (cast_expression "(code *)PTR___assert_fail_003fa620" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_003f98e0 + 0x4ae4,PTR_LAB_003f98e0 + 0x4aac,0x1525,\n                         PTR_LAB_003f98e0 + 0x5750)" ( (binary_expression "PTR_LAB_003f98e0 + 0x4ae4" identifier + number_literal) , (binary_expression "PTR_LAB_003f98e0 + 0x4aac" identifier + number_literal) , number_literal , (binary_expression "PTR_LAB_003f98e0 + 0x5750" identifier + number_literal) )))) ;) (return_statement "return uVar2;" return identifier ;) })) (expression_statement "uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x4ac0,PTR_LAB_003f98e0 + 0x4aac,0x1524,\n                       PTR_LAB_003f98e0 + 0x5750);" (assignment_expression "uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x4ac0,PTR_LAB_003f98e0 + 0x4aac,0x1524,\n                       PTR_LAB_003f98e0 + 0x5750)" identifier = (call_expression "(*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x4ac0,PTR_LAB_003f98e0 + 0x4aac,0x1524,\n                       PTR_LAB_003f98e0 + 0x5750)" (parenthesized_expression "(*(code *)PTR___assert_fail_003fa620)" ( (pointer_expression "*(code *)PTR___assert_fail_003fa620" * (cast_expression "(code *)PTR___assert_fail_003fa620" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_003f98e0 + 0x4ac0,PTR_LAB_003f98e0 + 0x4aac,0x1524,\n                       PTR_LAB_003f98e0 + 0x5750)" ( (binary_expression "PTR_LAB_003f98e0 + 0x4ac0" identifier + number_literal) , (binary_expression "PTR_LAB_003f98e0 + 0x4aac" identifier + number_literal) , number_literal , (binary_expression "PTR_LAB_003f98e0 + 0x5750" identifier + number_literal) )))) ;) (return_statement "return uVar2;" return identifier ;) })) (expression_statement "uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                    (PTR_UINT_003f98e4 + -0x784,PTR_LAB_003f98e0 + 0x4aac,0x1521,\n                     PTR_LAB_003f98e0 + 0x5750);" (assignment_expression "uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                    (PTR_UINT_003f98e4 + -0x784,PTR_LAB_003f98e0 + 0x4aac,0x1521,\n                     PTR_LAB_003f98e0 + 0x5750)" identifier = (call_expression "(*(code *)PTR___assert_fail_003fa620)\n                    (PTR_UINT_003f98e4 + -0x784,PTR_LAB_003f98e0 + 0x4aac,0x1521,\n                     PTR_LAB_003f98e0 + 0x5750)" (parenthesized_expression "(*(code *)PTR___assert_fail_003fa620)" ( (pointer_expression "*(code *)PTR___assert_fail_003fa620" * (cast_expression "(code *)PTR___assert_fail_003fa620" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_UINT_003f98e4 + -0x784,PTR_LAB_003f98e0 + 0x4aac,0x1521,\n                     PTR_LAB_003f98e0 + 0x5750)" ( (binary_expression "PTR_UINT_003f98e4 + -0x784" identifier + number_literal) , (binary_expression "PTR_LAB_003f98e0 + 0x4aac" identifier + number_literal) , number_literal , (binary_expression "PTR_LAB_003f98e0 + 0x5750" identifier + number_literal) )))) ;) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) )))) ;) (return_statement return IDENT ;) })) (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 (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }))) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) )))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) )))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) )))) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_0003fa88(int param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  if (param_1 == 0) {\n    uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3da0,PTR_LAB_003f98e0 + 0x4aac,0x1520,\n                       PTR_LAB_003f98e0 + 0x5750);\n    return uVar2;\n  }\n  if (*(int *)(param_1 + 0x336c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x3350) == 0) {\n      iVar3 = *(int *)(param_1 + 0x3348);\n    }\n    else {\n      (*(code *)PTR_LogMagickEvent_003fa1f8)\n                (0x8000,PTR_LAB_003f98e0 + 0x4aac,PTR_LAB_003f98e0 + 0x5744,0x1523,\n                 PTR_s_ltiple_images_003f98e8 + -0x2f6c,param_1 + 0x340);\n      iVar3 = *(int *)(param_1 + 0x3348);\n    }\n    if (iVar3 != 0) {\n      iVar1 = *(int *)(iVar3 + 0x40);\n      if (iVar1 != 0) {\n        if ((iVar1 == 1) || (iVar1 == 3)) {\n          uVar2 = (*(code *)PTR_fflush_003fa4a4)(*(undefined4 *)(iVar3 + 0x44));\n        }\n        else {\n          uVar2 = 0;\n        }\n        return uVar2;\n      }\n      uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                        (PTR_LAB_003f98e0 + 0x4ae4,PTR_LAB_003f98e0 + 0x4aac,0x1525,\n                         PTR_LAB_003f98e0 + 0x5750);\n      return uVar2;\n    }\n    uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x4ac0,PTR_LAB_003f98e0 + 0x4aac,0x1524,\n                       PTR_LAB_003f98e0 + 0x5750);\n    return uVar2;\n  }\n  uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                    (PTR_UINT_003f98e4 + -0x784,PTR_LAB_003f98e0 + 0x4aac,0x1521,\n                     PTR_LAB_003f98e0 + 0x5750);\n  return uVar2;\n}" (type_identifier "undefined4") (function_declarator "FUN_0003fa88(int param_1)" (identifier "FUN_0003fa88") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  if (param_1 == 0) {\n    uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3da0,PTR_LAB_003f98e0 + 0x4aac,0x1520,\n                       PTR_LAB_003f98e0 + 0x5750);\n    return uVar2;\n  }\n  if (*(int *)(param_1 + 0x336c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x3350) == 0) {\n      iVar3 = *(int *)(param_1 + 0x3348);\n    }\n    else {\n      (*(code *)PTR_LogMagickEvent_003fa1f8)\n                (0x8000,PTR_LAB_003f98e0 + 0x4aac,PTR_LAB_003f98e0 + 0x5744,0x1523,\n                 PTR_s_ltiple_images_003f98e8 + -0x2f6c,param_1 + 0x340);\n      iVar3 = *(int *)(param_1 + 0x3348);\n    }\n    if (iVar3 != 0) {\n      iVar1 = *(int *)(iVar3 + 0x40);\n      if (iVar1 != 0) {\n        if ((iVar1 == 1) || (iVar1 == 3)) {\n          uVar2 = (*(code *)PTR_fflush_003fa4a4)(*(undefined4 *)(iVar3 + 0x44));\n        }\n        else {\n          uVar2 = 0;\n        }\n        return uVar2;\n      }\n      uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                        (PTR_LAB_003f98e0 + 0x4ae4,PTR_LAB_003f98e0 + 0x4aac,0x1525,\n                         PTR_LAB_003f98e0 + 0x5750);\n      return uVar2;\n    }\n    uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x4ac0,PTR_LAB_003f98e0 + 0x4aac,0x1524,\n                       PTR_LAB_003f98e0 + 0x5750);\n    return uVar2;\n  }\n  uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                    (PTR_UINT_003f98e4 + -0x784,PTR_LAB_003f98e0 + 0x4aac,0x1521,\n                     PTR_LAB_003f98e0 + 0x5750);\n  return uVar2;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (if_statement "if (param_1 == 0) {\n    uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3da0,PTR_LAB_003f98e0 + 0x4aac,0x1520,\n                       PTR_LAB_003f98e0 + 0x5750);\n    return uVar2;\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3da0,PTR_LAB_003f98e0 + 0x4aac,0x1520,\n                       PTR_LAB_003f98e0 + 0x5750);\n    return uVar2;\n  }" ({ "{") (expression_statement "uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3da0,PTR_LAB_003f98e0 + 0x4aac,0x1520,\n                       PTR_LAB_003f98e0 + 0x5750);" (assignment_expression "uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3da0,PTR_LAB_003f98e0 + 0x4aac,0x1520,\n                       PTR_LAB_003f98e0 + 0x5750)" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x3da0,PTR_LAB_003f98e0 + 0x4aac,0x1520,\n                       PTR_LAB_003f98e0 + 0x5750)" (parenthesized_expression "(*(code *)PTR___assert_fail_003fa620)" (( "(") (pointer_expression "*(code *)PTR___assert_fail_003fa620" (* "*") (cast_expression "(code *)PTR___assert_fail_003fa620" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_003fa620"))) () ")")) (argument_list "(PTR_LAB_003f98e0 + 0x3da0,PTR_LAB_003f98e0 + 0x4aac,0x1520,\n                       PTR_LAB_003f98e0 + 0x5750)" (( "(") (binary_expression "PTR_LAB_003f98e0 + 0x3da0" (identifier "PTR_LAB_003f98e0") (+ "+") (number_literal "0x3da0")) (, ",") (binary_expression "PTR_LAB_003f98e0 + 0x4aac" (identifier "PTR_LAB_003f98e0") (+ "+") (number_literal "0x4aac")) (, ",") (number_literal "0x1520") (, ",") (binary_expression "PTR_LAB_003f98e0 + 0x5750" (identifier "PTR_LAB_003f98e0") (+ "+") (number_literal "0x5750")) () ")")))) (; ";")) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x336c) == -0x54535255) {\n    if (*(int *)(param_1 + 0x3350) == 0) {\n      iVar3 = *(int *)(param_1 + 0x3348);\n    }\n    else {\n      (*(code *)PTR_LogMagickEvent_003fa1f8)\n                (0x8000,PTR_LAB_003f98e0 + 0x4aac,PTR_LAB_003f98e0 + 0x5744,0x1523,\n                 PTR_s_ltiple_images_003f98e8 + -0x2f6c,param_1 + 0x340);\n      iVar3 = *(int *)(param_1 + 0x3348);\n    }\n    if (iVar3 != 0) {\n      iVar1 = *(int *)(iVar3 + 0x40);\n      if (iVar1 != 0) {\n        if ((iVar1 == 1) || (iVar1 == 3)) {\n          uVar2 = (*(code *)PTR_fflush_003fa4a4)(*(undefined4 *)(iVar3 + 0x44));\n        }\n        else {\n          uVar2 = 0;\n        }\n        return uVar2;\n      }\n      uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                        (PTR_LAB_003f98e0 + 0x4ae4,PTR_LAB_003f98e0 + 0x4aac,0x1525,\n                         PTR_LAB_003f98e0 + 0x5750);\n      return uVar2;\n    }\n    uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x4ac0,PTR_LAB_003f98e0 + 0x4aac,0x1524,\n                       PTR_LAB_003f98e0 + 0x5750);\n    return uVar2;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x336c) == -0x54535255)" (( "(") (binary_expression "*(int *)(param_1 + 0x336c) == -0x54535255" (pointer_expression "*(int *)(param_1 + 0x336c)" (* "*") (cast_expression "(int *)(param_1 + 0x336c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x336c)" (( "(") (binary_expression "param_1 + 0x336c" (identifier "param_1") (+ "+") (number_literal "0x336c")) () ")")))) (== "==") (number_literal "-0x54535255")) () ")")) (compound_statement "{\n    if (*(int *)(param_1 + 0x3350) == 0) {\n      iVar3 = *(int *)(param_1 + 0x3348);\n    }\n    else {\n      (*(code *)PTR_LogMagickEvent_003fa1f8)\n                (0x8000,PTR_LAB_003f98e0 + 0x4aac,PTR_LAB_003f98e0 + 0x5744,0x1523,\n                 PTR_s_ltiple_images_003f98e8 + -0x2f6c,param_1 + 0x340);\n      iVar3 = *(int *)(param_1 + 0x3348);\n    }\n    if (iVar3 != 0) {\n      iVar1 = *(int *)(iVar3 + 0x40);\n      if (iVar1 != 0) {\n        if ((iVar1 == 1) || (iVar1 == 3)) {\n          uVar2 = (*(code *)PTR_fflush_003fa4a4)(*(undefined4 *)(iVar3 + 0x44));\n        }\n        else {\n          uVar2 = 0;\n        }\n        return uVar2;\n      }\n      uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                        (PTR_LAB_003f98e0 + 0x4ae4,PTR_LAB_003f98e0 + 0x4aac,0x1525,\n                         PTR_LAB_003f98e0 + 0x5750);\n      return uVar2;\n    }\n    uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x4ac0,PTR_LAB_003f98e0 + 0x4aac,0x1524,\n                       PTR_LAB_003f98e0 + 0x5750);\n    return uVar2;\n  }" ({ "{") (if_statement "if (*(int *)(param_1 + 0x3350) == 0) {\n      iVar3 = *(int *)(param_1 + 0x3348);\n    }\n    else {\n      (*(code *)PTR_LogMagickEvent_003fa1f8)\n                (0x8000,PTR_LAB_003f98e0 + 0x4aac,PTR_LAB_003f98e0 + 0x5744,0x1523,\n                 PTR_s_ltiple_images_003f98e8 + -0x2f6c,param_1 + 0x340);\n      iVar3 = *(int *)(param_1 + 0x3348);\n    }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x3350) == 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x3350) == 0" (pointer_expression "*(int *)(param_1 + 0x3350)" (* "*") (cast_expression "(int *)(param_1 + 0x3350)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3350)" (( "(") (binary_expression "param_1 + 0x3350" (identifier "param_1") (+ "+") (number_literal "0x3350")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      iVar3 = *(int *)(param_1 + 0x3348);\n    }" ({ "{") (expression_statement "iVar3 = *(int *)(param_1 + 0x3348);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x3348)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(param_1 + 0x3348)" (* "*") (cast_expression "(int *)(param_1 + 0x3348)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3348)" (( "(") (binary_expression "param_1 + 0x3348" (identifier "param_1") (+ "+") (number_literal "0x3348")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n      (*(code *)PTR_LogMagickEvent_003fa1f8)\n                (0x8000,PTR_LAB_003f98e0 + 0x4aac,PTR_LAB_003f98e0 + 0x5744,0x1523,\n                 PTR_s_ltiple_images_003f98e8 + -0x2f6c,param_1 + 0x340);\n      iVar3 = *(int *)(param_1 + 0x3348);\n    }" (else "else") (compound_statement "{\n      (*(code *)PTR_LogMagickEvent_003fa1f8)\n                (0x8000,PTR_LAB_003f98e0 + 0x4aac,PTR_LAB_003f98e0 + 0x5744,0x1523,\n                 PTR_s_ltiple_images_003f98e8 + -0x2f6c,param_1 + 0x340);\n      iVar3 = *(int *)(param_1 + 0x3348);\n    }" ({ "{") (expression_statement "(*(code *)PTR_LogMagickEvent_003fa1f8)\n                (0x8000,PTR_LAB_003f98e0 + 0x4aac,PTR_LAB_003f98e0 + 0x5744,0x1523,\n                 PTR_s_ltiple_images_003f98e8 + -0x2f6c,param_1 + 0x340);" (call_expression "(*(code *)PTR_LogMagickEvent_003fa1f8)\n                (0x8000,PTR_LAB_003f98e0 + 0x4aac,PTR_LAB_003f98e0 + 0x5744,0x1523,\n                 PTR_s_ltiple_images_003f98e8 + -0x2f6c,param_1 + 0x340)" (parenthesized_expression "(*(code *)PTR_LogMagickEvent_003fa1f8)" (( "(") (pointer_expression "*(code *)PTR_LogMagickEvent_003fa1f8" (* "*") (cast_expression "(code *)PTR_LogMagickEvent_003fa1f8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_LogMagickEvent_003fa1f8"))) () ")")) (argument_list "(0x8000,PTR_LAB_003f98e0 + 0x4aac,PTR_LAB_003f98e0 + 0x5744,0x1523,\n                 PTR_s_ltiple_images_003f98e8 + -0x2f6c,param_1 + 0x340)" (( "(") (number_literal "0x8000") (, ",") (binary_expression "PTR_LAB_003f98e0 + 0x4aac" (identifier "PTR_LAB_003f98e0") (+ "+") (number_literal "0x4aac")) (, ",") (binary_expression "PTR_LAB_003f98e0 + 0x5744" (identifier "PTR_LAB_003f98e0") (+ "+") (number_literal "0x5744")) (, ",") (number_literal "0x1523") (, ",") (binary_expression "PTR_s_ltiple_images_003f98e8 + -0x2f6c" (identifier "PTR_s_ltiple_images_003f98e8") (+ "+") (number_literal "-0x2f6c")) (, ",") (binary_expression "param_1 + 0x340" (identifier "param_1") (+ "+") (number_literal "0x340")) () ")"))) (; ";")) (expression_statement "iVar3 = *(int *)(param_1 + 0x3348);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x3348)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(param_1 + 0x3348)" (* "*") (cast_expression "(int *)(param_1 + 0x3348)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3348)" (( "(") (binary_expression "param_1 + 0x3348" (identifier "param_1") (+ "+") (number_literal "0x3348")) () ")"))))) (; ";")) (} "}")))) (if_statement "if (iVar3 != 0) {\n      iVar1 = *(int *)(iVar3 + 0x40);\n      if (iVar1 != 0) {\n        if ((iVar1 == 1) || (iVar1 == 3)) {\n          uVar2 = (*(code *)PTR_fflush_003fa4a4)(*(undefined4 *)(iVar3 + 0x44));\n        }\n        else {\n          uVar2 = 0;\n        }\n        return uVar2;\n      }\n      uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                        (PTR_LAB_003f98e0 + 0x4ae4,PTR_LAB_003f98e0 + 0x4aac,0x1525,\n                         PTR_LAB_003f98e0 + 0x5750);\n      return uVar2;\n    }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      iVar1 = *(int *)(iVar3 + 0x40);\n      if (iVar1 != 0) {\n        if ((iVar1 == 1) || (iVar1 == 3)) {\n          uVar2 = (*(code *)PTR_fflush_003fa4a4)(*(undefined4 *)(iVar3 + 0x44));\n        }\n        else {\n          uVar2 = 0;\n        }\n        return uVar2;\n      }\n      uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                        (PTR_LAB_003f98e0 + 0x4ae4,PTR_LAB_003f98e0 + 0x4aac,0x1525,\n                         PTR_LAB_003f98e0 + 0x5750);\n      return uVar2;\n    }" ({ "{") (expression_statement "iVar1 = *(int *)(iVar3 + 0x40);" (assignment_expression "iVar1 = *(int *)(iVar3 + 0x40)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(iVar3 + 0x40)" (* "*") (cast_expression "(int *)(iVar3 + 0x40)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x40)" (( "(") (binary_expression "iVar3 + 0x40" (identifier "iVar3") (+ "+") (number_literal "0x40")) () ")"))))) (; ";")) (if_statement "if (iVar1 != 0) {\n        if ((iVar1 == 1) || (iVar1 == 3)) {\n          uVar2 = (*(code *)PTR_fflush_003fa4a4)(*(undefined4 *)(iVar3 + 0x44));\n        }\n        else {\n          uVar2 = 0;\n        }\n        return uVar2;\n      }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        if ((iVar1 == 1) || (iVar1 == 3)) {\n          uVar2 = (*(code *)PTR_fflush_003fa4a4)(*(undefined4 *)(iVar3 + 0x44));\n        }\n        else {\n          uVar2 = 0;\n        }\n        return uVar2;\n      }" ({ "{") (if_statement "if ((iVar1 == 1) || (iVar1 == 3)) {\n          uVar2 = (*(code *)PTR_fflush_003fa4a4)(*(undefined4 *)(iVar3 + 0x44));\n        }\n        else {\n          uVar2 = 0;\n        }" (if "if") (parenthesized_expression "((iVar1 == 1) || (iVar1 == 3))" (( "(") (binary_expression "(iVar1 == 1) || (iVar1 == 3)" (parenthesized_expression "(iVar1 == 1)" (( "(") (binary_expression "iVar1 == 1" (identifier "iVar1") (== "==") (number_literal "1")) () ")")) (|| "||") (parenthesized_expression "(iVar1 == 3)" (( "(") (binary_expression "iVar1 == 3" (identifier "iVar1") (== "==") (number_literal "3")) () ")"))) () ")")) (compound_statement "{\n          uVar2 = (*(code *)PTR_fflush_003fa4a4)(*(undefined4 *)(iVar3 + 0x44));\n        }" ({ "{") (expression_statement "uVar2 = (*(code *)PTR_fflush_003fa4a4)(*(undefined4 *)(iVar3 + 0x44));" (assignment_expression "uVar2 = (*(code *)PTR_fflush_003fa4a4)(*(undefined4 *)(iVar3 + 0x44))" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR_fflush_003fa4a4)(*(undefined4 *)(iVar3 + 0x44))" (parenthesized_expression "(*(code *)PTR_fflush_003fa4a4)" (( "(") (pointer_expression "*(code *)PTR_fflush_003fa4a4" (* "*") (cast_expression "(code *)PTR_fflush_003fa4a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fflush_003fa4a4"))) () ")")) (argument_list "(*(undefined4 *)(iVar3 + 0x44))" (( "(") (pointer_expression "*(undefined4 *)(iVar3 + 0x44)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0x44)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x44)" (( "(") (binary_expression "iVar3 + 0x44" (identifier "iVar3") (+ "+") (number_literal "0x44")) () ")")))) () ")")))) (; ";")) (} "}")) (else_clause "else {\n          uVar2 = 0;\n        }" (else "else") (compound_statement "{\n          uVar2 = 0;\n        }" ({ "{") (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (} "}")))) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))) (expression_statement "uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                        (PTR_LAB_003f98e0 + 0x4ae4,PTR_LAB_003f98e0 + 0x4aac,0x1525,\n                         PTR_LAB_003f98e0 + 0x5750);" (assignment_expression "uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                        (PTR_LAB_003f98e0 + 0x4ae4,PTR_LAB_003f98e0 + 0x4aac,0x1525,\n                         PTR_LAB_003f98e0 + 0x5750)" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR___assert_fail_003fa620)\n                        (PTR_LAB_003f98e0 + 0x4ae4,PTR_LAB_003f98e0 + 0x4aac,0x1525,\n                         PTR_LAB_003f98e0 + 0x5750)" (parenthesized_expression "(*(code *)PTR___assert_fail_003fa620)" (( "(") (pointer_expression "*(code *)PTR___assert_fail_003fa620" (* "*") (cast_expression "(code *)PTR___assert_fail_003fa620" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_003fa620"))) () ")")) (argument_list "(PTR_LAB_003f98e0 + 0x4ae4,PTR_LAB_003f98e0 + 0x4aac,0x1525,\n                         PTR_LAB_003f98e0 + 0x5750)" (( "(") (binary_expression "PTR_LAB_003f98e0 + 0x4ae4" (identifier "PTR_LAB_003f98e0") (+ "+") (number_literal "0x4ae4")) (, ",") (binary_expression "PTR_LAB_003f98e0 + 0x4aac" (identifier "PTR_LAB_003f98e0") (+ "+") (number_literal "0x4aac")) (, ",") (number_literal "0x1525") (, ",") (binary_expression "PTR_LAB_003f98e0 + 0x5750" (identifier "PTR_LAB_003f98e0") (+ "+") (number_literal "0x5750")) () ")")))) (; ";")) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))) (expression_statement "uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x4ac0,PTR_LAB_003f98e0 + 0x4aac,0x1524,\n                       PTR_LAB_003f98e0 + 0x5750);" (assignment_expression "uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x4ac0,PTR_LAB_003f98e0 + 0x4aac,0x1524,\n                       PTR_LAB_003f98e0 + 0x5750)" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR___assert_fail_003fa620)\n                      (PTR_LAB_003f98e0 + 0x4ac0,PTR_LAB_003f98e0 + 0x4aac,0x1524,\n                       PTR_LAB_003f98e0 + 0x5750)" (parenthesized_expression "(*(code *)PTR___assert_fail_003fa620)" (( "(") (pointer_expression "*(code *)PTR___assert_fail_003fa620" (* "*") (cast_expression "(code *)PTR___assert_fail_003fa620" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_003fa620"))) () ")")) (argument_list "(PTR_LAB_003f98e0 + 0x4ac0,PTR_LAB_003f98e0 + 0x4aac,0x1524,\n                       PTR_LAB_003f98e0 + 0x5750)" (( "(") (binary_expression "PTR_LAB_003f98e0 + 0x4ac0" (identifier "PTR_LAB_003f98e0") (+ "+") (number_literal "0x4ac0")) (, ",") (binary_expression "PTR_LAB_003f98e0 + 0x4aac" (identifier "PTR_LAB_003f98e0") (+ "+") (number_literal "0x4aac")) (, ",") (number_literal "0x1524") (, ",") (binary_expression "PTR_LAB_003f98e0 + 0x5750" (identifier "PTR_LAB_003f98e0") (+ "+") (number_literal "0x5750")) () ")")))) (; ";")) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))) (expression_statement "uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                    (PTR_UINT_003f98e4 + -0x784,PTR_LAB_003f98e0 + 0x4aac,0x1521,\n                     PTR_LAB_003f98e0 + 0x5750);" (assignment_expression "uVar2 = (*(code *)PTR___assert_fail_003fa620)\n                    (PTR_UINT_003f98e4 + -0x784,PTR_LAB_003f98e0 + 0x4aac,0x1521,\n                     PTR_LAB_003f98e0 + 0x5750)" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR___assert_fail_003fa620)\n                    (PTR_UINT_003f98e4 + -0x784,PTR_LAB_003f98e0 + 0x4aac,0x1521,\n                     PTR_LAB_003f98e0 + 0x5750)" (parenthesized_expression "(*(code *)PTR___assert_fail_003fa620)" (( "(") (pointer_expression "*(code *)PTR___assert_fail_003fa620" (* "*") (cast_expression "(code *)PTR___assert_fail_003fa620" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_003fa620"))) () ")")) (argument_list "(PTR_UINT_003f98e4 + -0x784,PTR_LAB_003f98e0 + 0x4aac,0x1521,\n                     PTR_LAB_003f98e0 + 0x5750)" (( "(") (binary_expression "PTR_UINT_003f98e4 + -0x784" (identifier "PTR_UINT_003f98e4") (+ "+") (number_literal "-0x784")) (, ",") (binary_expression "PTR_LAB_003f98e0 + 0x4aac" (identifier "PTR_LAB_003f98e0") (+ "+") (number_literal "0x4aac")) (, ",") (number_literal "0x1521") (, ",") (binary_expression "PTR_LAB_003f98e0 + 0x5750" (identifier "PTR_LAB_003f98e0") (+ "+") (number_literal "0x5750")) () ")")))) (; ";")) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}")))

/* 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 */

int function_1(type_1 *var_1)

{
  type_2 var_6;
  int iVar2;
  type_3 *var_5;
  
  if (var_1 == (type_1 *)0x0) {
    iVar2 = (*(type_4 *)PTR___assert_fail_003fa620)
                      (var_2 + 0x3da0,var_2 + 0x4aac,0x1520,
                       var_2 + 0x5750);
    return iVar2;
  }
  if (var_1->signature == 0xabacadab) {
    if (var_1->debug == var_3) {
      var_5 = var_1->blob;
    }
    else {
      (*(type_4 *)PTR_LogMagickEvent_003fa1f8)
                (0x8000,var_2 + 0x4aac,var_2 + 0x5744,0x1523,
                 var_4 + -0x2f6c,var_1->filename);
      var_5 = var_1->blob;
    }
    if (var_5 != (type_3 *)0x0) {
      var_6 = var_5->type;
      if (var_6 != var_7) {
        if ((var_6 == var_8) || (var_6 == var_9)) {
          iVar2 = (*(type_4 *)PTR_fflush_003fa4a4)((var_5->file_info).file);
        }
        else {
          iVar2 = 0;
        }
        return iVar2;
      }
      iVar2 = (*(type_4 *)PTR___assert_fail_003fa620)
                        (var_2 + 0x4ae4,var_2 + 0x4aac,0x1525,
                         var_2 + 0x5750);
      return iVar2;
    }
    iVar2 = (*(type_4 *)PTR___assert_fail_003fa620)
                      (var_2 + 0x4ac0,var_2 + 0x4aac,0x1524,
                       var_2 + 0x5750);
    return iVar2;
  }
  iVar2 = (*(type_4 *)PTR___assert_fail_003fa620)
                    (var_10 + -0x784,var_2 + 0x4aac,0x1521,
                     var_2 + 0x5750);
  return iVar2;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal)))))) (return_statement (identifier)))) (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 (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (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)))))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal)))))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal)))))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal)))))) (return_statement (identifier)))))

undefined4 MASKED(int param_1)

{
  int iVar1;
  undefined4 uVar2;
  int iVar3;
  
  if (param_1 == 0) {
    uVar2 = (*(code *)PTR___assert_fail_003fa620)
                      (PTR_LAB_003f98e0 + 0x3da0,PTR_LAB_003f98e0 + 0x4aac,0x1520,
                       PTR_LAB_003f98e0 + 0x5750);
    return uVar2;
  }
  if (*(int *)(param_1 + 0x336c) == -0x54535255) {
    if (*(int *)(param_1 + 0x3350) == 0) {
      iVar3 = *(int *)(param_1 + 0x3348);
    }
    else {
      (*(code *)PTR_LogMagickEvent_003fa1f8)
                (0x8000,PTR_LAB_003f98e0 + 0x4aac,PTR_LAB_003f98e0 + 0x5744,0x1523,
                 PTR_s_ltiple_images_003f98e8 + -0x2f6c,param_1 + 0x340);
      iVar3 = *(int *)(param_1 + 0x3348);
    }
    if (iVar3 != 0) {
      iVar1 = *(int *)(iVar3 + 0x40);
      if (iVar1 != 0) {
        if ((iVar1 == 1) || (iVar1 == 3)) {
          uVar2 = (*(code *)PTR_fflush_003fa4a4)(*(undefined4 *)(iVar3 + 0x44));
        }
        else {
          uVar2 = 0;
        }
        return uVar2;
      }
      uVar2 = (*(code *)PTR___assert_fail_003fa620)
                        (PTR_LAB_003f98e0 + 0x4ae4,PTR_LAB_003f98e0 + 0x4aac,0x1525,
                         PTR_LAB_003f98e0 + 0x5750);
      return uVar2;
    }
    uVar2 = (*(code *)PTR___assert_fail_003fa620)
                      (PTR_LAB_003f98e0 + 0x4ac0,PTR_LAB_003f98e0 + 0x4aac,0x1524,
                       PTR_LAB_003f98e0 + 0x5750);
    return uVar2;
  }
  uVar2 = (*(code *)PTR___assert_fail_003fa620)
                    (PTR_UINT_003f98e4 + -0x784,PTR_LAB_003f98e0 + 0x4aac,0x1521,
                     PTR_LAB_003f98e0 + 0x5750);
  return uVar2;
}

