
char * ConstantString(char *source)

{
  int iVar1;
  int iVar2;
  char *pcVar3;
  undefined4 uVar4;
  undefined4 *puVar5;
  undefined4 uVar6;
  
  if (source == (char *)0x0) {
    pcVar3 = (char *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(1,1);
    if (pcVar3 != (char *)0x0) {
      *pcVar3 = '\0';
      return pcVar3;
    }
  }
  else {
    iVar1 = (*(code *)PTR_strlen_003a9338)();
    iVar2 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,1);
    if (iVar2 != 0) {
      pcVar3 = (char *)(*(code *)PTR_memcpy_003a9358)(iVar2,source,iVar1);
      pcVar3[iVar1] = '\0';
      return pcVar3;
    }
  }
  uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();
  puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();
  uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);
  (*(code *)PTR_ThrowMagickException_003a8f20)
            (uVar4,PTR_s_courses_003a88ec + -0x32f0,PTR_s_courses_003a88ec + -0x2cf0,0x2a9,700,
             PTR_s_t_to_left_003a88e4 + 0x3aa4,PTR_LAB_003a88e0 + 0x3e28,uVar6);
  (*(code *)PTR_DestroyString_003a9074)(uVar6);
  (*(code *)PTR_CatchException_003a92b0)(uVar4);
  (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar4);
  (*(code *)PTR_MagickCoreTerminus_003a98ec)();
  pcVar3 = (char *)(*(code *)PTR__exit_003a9660)(1);
  return pcVar3;
}



undefined1 * ConstantString(int param_1)

{
  int iVar1;
  int iVar2;
  undefined1 *puVar3;
  undefined4 uVar4;
  undefined4 *puVar5;
  undefined4 uVar6;
  
  if (param_1 == 0) {
    puVar3 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(1,1);
    if (puVar3 != (undefined1 *)0x0) {
      *puVar3 = 0;
      return puVar3;
    }
  }
  else {
    iVar1 = (*(code *)PTR_strlen_003a9338)();
    iVar2 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,1);
    if (iVar2 != 0) {
      puVar3 = (undefined1 *)(*(code *)PTR_memcpy_003a9358)(iVar2,param_1,iVar1);
      puVar3[iVar1] = 0;
      return puVar3;
    }
  }
  uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();
  puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();
  uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);
  (*(code *)PTR_ThrowMagickException_003a8f20)
            (uVar4,PTR_s_courses_003a88ec + -0x32f0,PTR_s_courses_003a88ec + -0x2cf0,0x2a9,700,
             PTR_s_t_to_left_003a88e4 + 0x3aa4,PTR_LAB_003a88e0 + 0x3e28,uVar6);
  (*(code *)PTR_DestroyString_003a9074)(uVar6);
  (*(code *)PTR_CatchException_003a92b0)(uVar4);
  (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar4);
  (*(code *)PTR_MagickCoreTerminus_003a98ec)();
  puVar3 = (undefined1 *)(*(code *)PTR__exit_003a9660)(1);
  return puVar3;
}


lui gp,0x1f
addiu gp,gp,0x3f38
addu gp,gp,t9
addiu sp,sp,-0x38
sw gp,0x20(sp)
sw ra,0x34(sp)
sw s1,0x30(sp)
beq a0,zero,0x001bca00
_sw s0,0x2c(sp)
lw t9,-0x7578(gp)
jalr t9
_or s1,a0,zero
li a1,0x1
lw gp,0x20(sp)
addiu a0,v0,0x1
lw t9,-0x73a4(gp)
jalr t9
_or s0,v0,zero
beq v0,zero,0x001bca40
_lw gp,0x20(sp)
lw t9,-0x7558(gp)
or a2,s0,zero
or a1,s1,zero
jalr t9
_or a0,v0,zero
or v1,v0,zero
addu s0,v1,s0
or v0,v1,zero
sb zero,0x0(s0)
lw ra,0x34(sp)
lw s1,0x30(sp)
lw s0,0x2c(sp)
jr ra
_addiu sp,sp,0x38
lw t9,-0x73a4(gp)
li a1,0x1
jalr t9
_li a0,0x1
lw gp,0x20(sp)
beq v0,zero,0x001bca40
_or v1,v0,zero
or s0,zero,zero
or v0,v1,zero
addu s0,v1,s0
sb zero,0x0(s0)
lw ra,0x34(sp)
lw s1,0x30(sp)
lw s0,0x2c(sp)
jr ra
_addiu sp,sp,0x38
lw t9,-0x79c4(gp)
jalr t9
_nop
lw gp,0x20(sp)
lw t9,-0x6f00(gp)
jalr t9
_or s0,v0,zero
lw gp,0x20(sp)
lw t9,-0x74c4(gp)
jalr t9
_lw a0,0x0(v0)
li a3,0x2a9
lw gp,0x20(sp)
or s1,v0,zero
sw v0,0x1c(sp)
or a0,s0,zero
lw v0,-0x7fd0(gp)
lw a2,-0x7fc4(gp)
lw a1,-0x7fc4(gp)
addiu v0,v0,0x3e28
lw t9,-0x7990(gp)
addiu a2,a2,-0x2cf0
sw v0,0x18(sp)
addiu a1,a1,-0x32f0
lw v0,-0x7fcc(gp)
addiu v0,v0,0x3aa4
sw v0,0x14(sp)
li v0,0x2bc
jalr t9
_sw v0,0x10(sp)
lw gp,0x20(sp)
lw t9,-0x783c(gp)
jalr t9
_or a0,s1,zero
lw gp,0x20(sp)
lw t9,-0x7600(gp)
jalr t9
_or a0,s0,zero
lw gp,0x20(sp)
lw t9,-0x7b60(gp)
jalr t9
_or a0,s0,zero
lw gp,0x20(sp)
lw t9,-0x6fc4(gp)
jalr t9
_nop
lw gp,0x20(sp)
lw t9,-0x7250(gp)
jalr t9
_li a0,0x1
(translation_unit "undefined1 * ConstantString(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined1 *puVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  undefined4 uVar6;\n  \n  if (param_1 == 0) {\n    puVar3 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(1,1);\n    if (puVar3 != (undefined1 *)0x0) {\n      *puVar3 = 0;\n      return puVar3;\n    }\n  }\n  else {\n    iVar1 = (*(code *)PTR_strlen_003a9338)();\n    iVar2 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,1);\n    if (iVar2 != 0) {\n      puVar3 = (undefined1 *)(*(code *)PTR_memcpy_003a9358)(iVar2,param_1,iVar1);\n      puVar3[iVar1] = 0;\n      return puVar3;\n    }\n  }\n  uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n  puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n  uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n  (*(code *)PTR_ThrowMagickException_003a8f20)\n            (uVar4,PTR_s_courses_003a88ec + -0x32f0,PTR_s_courses_003a88ec + -0x2cf0,0x2a9,700,\n             PTR_s_t_to_left_003a88e4 + 0x3aa4,PTR_LAB_003a88e0 + 0x3e28,uVar6);\n  (*(code *)PTR_DestroyString_003a9074)(uVar6);\n  (*(code *)PTR_CatchException_003a92b0)(uVar4);\n  (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar4);\n  (*(code *)PTR_MagickCoreTerminus_003a98ec)();\n  puVar3 = (undefined1 *)(*(code *)PTR__exit_003a9660)(1);\n  return puVar3;\n}\n\n" (function_definition "undefined1 * ConstantString(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined1 *puVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  undefined4 uVar6;\n  \n  if (param_1 == 0) {\n    puVar3 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(1,1);\n    if (puVar3 != (undefined1 *)0x0) {\n      *puVar3 = 0;\n      return puVar3;\n    }\n  }\n  else {\n    iVar1 = (*(code *)PTR_strlen_003a9338)();\n    iVar2 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,1);\n    if (iVar2 != 0) {\n      puVar3 = (undefined1 *)(*(code *)PTR_memcpy_003a9358)(iVar2,param_1,iVar1);\n      puVar3[iVar1] = 0;\n      return puVar3;\n    }\n  }\n  uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n  puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n  uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n  (*(code *)PTR_ThrowMagickException_003a8f20)\n            (uVar4,PTR_s_courses_003a88ec + -0x32f0,PTR_s_courses_003a88ec + -0x2cf0,0x2a9,700,\n             PTR_s_t_to_left_003a88e4 + 0x3aa4,PTR_LAB_003a88e0 + 0x3e28,uVar6);\n  (*(code *)PTR_DestroyString_003a9074)(uVar6);\n  (*(code *)PTR_CatchException_003a92b0)(uVar4);\n  (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar4);\n  (*(code *)PTR_MagickCoreTerminus_003a98ec)();\n  puVar3 = (undefined1 *)(*(code *)PTR__exit_003a9660)(1);\n  return puVar3;\n}" type_identifier (pointer_declarator "* ConstantString(int param_1)" * (function_declarator "ConstantString(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) )))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  undefined1 *puVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  undefined4 uVar6;\n  \n  if (param_1 == 0) {\n    puVar3 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(1,1);\n    if (puVar3 != (undefined1 *)0x0) {\n      *puVar3 = 0;\n      return puVar3;\n    }\n  }\n  else {\n    iVar1 = (*(code *)PTR_strlen_003a9338)();\n    iVar2 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,1);\n    if (iVar2 != 0) {\n      puVar3 = (undefined1 *)(*(code *)PTR_memcpy_003a9358)(iVar2,param_1,iVar1);\n      puVar3[iVar1] = 0;\n      return puVar3;\n    }\n  }\n  uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n  puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n  uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n  (*(code *)PTR_ThrowMagickException_003a8f20)\n            (uVar4,PTR_s_courses_003a88ec + -0x32f0,PTR_s_courses_003a88ec + -0x2cf0,0x2a9,700,\n             PTR_s_t_to_left_003a88e4 + 0x3aa4,PTR_LAB_003a88e0 + 0x3e28,uVar6);\n  (*(code *)PTR_DestroyString_003a9074)(uVar6);\n  (*(code *)PTR_CatchException_003a92b0)(uVar4);\n  (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar4);\n  (*(code *)PTR_MagickCoreTerminus_003a98ec)();\n  puVar3 = (undefined1 *)(*(code *)PTR__exit_003a9660)(1);\n  return puVar3;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined1 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (if_statement "if (param_1 == 0) {\n    puVar3 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(1,1);\n    if (puVar3 != (undefined1 *)0x0) {\n      *puVar3 = 0;\n      return puVar3;\n    }\n  }\n  else {\n    iVar1 = (*(code *)PTR_strlen_003a9338)();\n    iVar2 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,1);\n    if (iVar2 != 0) {\n      puVar3 = (undefined1 *)(*(code *)PTR_memcpy_003a9358)(iVar2,param_1,iVar1);\n      puVar3[iVar1] = 0;\n      return puVar3;\n    }\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    puVar3 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(1,1);\n    if (puVar3 != (undefined1 *)0x0) {\n      *puVar3 = 0;\n      return puVar3;\n    }\n  }" { (expression_statement "puVar3 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(1,1);" (assignment_expression "puVar3 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(1,1)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(1,1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)(1,1)" (parenthesized_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)" ( (pointer_expression "*(code *)PTR_AcquireQuantumMemory_003a950c" * (cast_expression "(code *)PTR_AcquireQuantumMemory_003a950c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,1)" ( number_literal , number_literal ))))) ;) (if_statement "if (puVar3 != (undefined1 *)0x0) {\n      *puVar3 = 0;\n      return puVar3;\n    }" if (parenthesized_expression "(puVar3 != (undefined1 *)0x0)" ( (binary_expression "puVar3 != (undefined1 *)0x0" identifier != (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *puVar3 = 0;\n      return puVar3;\n    }" { (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" * identifier) = number_literal) ;) (return_statement "return puVar3;" return identifier ;) })) }) (else_clause "else {\n    iVar1 = (*(code *)PTR_strlen_003a9338)();\n    iVar2 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,1);\n    if (iVar2 != 0) {\n      puVar3 = (undefined1 *)(*(code *)PTR_memcpy_003a9358)(iVar2,param_1,iVar1);\n      puVar3[iVar1] = 0;\n      return puVar3;\n    }\n  }" else (compound_statement "{\n    iVar1 = (*(code *)PTR_strlen_003a9338)();\n    iVar2 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,1);\n    if (iVar2 != 0) {\n      puVar3 = (undefined1 *)(*(code *)PTR_memcpy_003a9358)(iVar2,param_1,iVar1);\n      puVar3[iVar1] = 0;\n      return puVar3;\n    }\n  }" { (expression_statement "iVar1 = (*(code *)PTR_strlen_003a9338)();" (assignment_expression "iVar1 = (*(code *)PTR_strlen_003a9338)()" identifier = (call_expression "(*(code *)PTR_strlen_003a9338)()" (parenthesized_expression "(*(code *)PTR_strlen_003a9338)" ( (pointer_expression "*(code *)PTR_strlen_003a9338" * (cast_expression "(code *)PTR_strlen_003a9338" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "iVar2 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,1);" (assignment_expression "iVar2 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,1)" identifier = (call_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,1)" (parenthesized_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)" ( (pointer_expression "*(code *)PTR_AcquireQuantumMemory_003a950c" * (cast_expression "(code *)PTR_AcquireQuantumMemory_003a950c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1 + 1,1)" ( (binary_expression "iVar1 + 1" identifier + number_literal) , number_literal )))) ;) (if_statement "if (iVar2 != 0) {\n      puVar3 = (undefined1 *)(*(code *)PTR_memcpy_003a9358)(iVar2,param_1,iVar1);\n      puVar3[iVar1] = 0;\n      return puVar3;\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      puVar3 = (undefined1 *)(*(code *)PTR_memcpy_003a9358)(iVar2,param_1,iVar1);\n      puVar3[iVar1] = 0;\n      return puVar3;\n    }" { (expression_statement "puVar3 = (undefined1 *)(*(code *)PTR_memcpy_003a9358)(iVar2,param_1,iVar1);" (assignment_expression "puVar3 = (undefined1 *)(*(code *)PTR_memcpy_003a9358)(iVar2,param_1,iVar1)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_memcpy_003a9358)(iVar2,param_1,iVar1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_memcpy_003a9358)(iVar2,param_1,iVar1)" (parenthesized_expression "(*(code *)PTR_memcpy_003a9358)" ( (pointer_expression "*(code *)PTR_memcpy_003a9358" * (cast_expression "(code *)PTR_memcpy_003a9358" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2,param_1,iVar1)" ( identifier , identifier , identifier ))))) ;) (expression_statement "puVar3[iVar1] = 0;" (assignment_expression "puVar3[iVar1] = 0" (subscript_expression "puVar3[iVar1]" identifier [ identifier ]) = number_literal) ;) (return_statement "return puVar3;" return identifier ;) })) }))) (expression_statement "uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();" (assignment_expression "uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)()" identifier = (call_expression "(*(code *)PTR_AcquireExceptionInfo_003a8eec)()" (parenthesized_expression "(*(code *)PTR_AcquireExceptionInfo_003a8eec)" ( (pointer_expression "*(code *)PTR_AcquireExceptionInfo_003a8eec" * (cast_expression "(code *)PTR_AcquireExceptionInfo_003a8eec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();" (assignment_expression "puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_003a99b0)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_003a99b0)()" (parenthesized_expression "(*(code *)PTR___errno_location_003a99b0)" ( (pointer_expression "*(code *)PTR___errno_location_003a99b0" * (cast_expression "(code *)PTR___errno_location_003a99b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);" (assignment_expression "uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5)" identifier = (call_expression "(*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5)" (parenthesized_expression "(*(code *)PTR_GetExceptionMessage_003a93ec)" ( (pointer_expression "*(code *)PTR_GetExceptionMessage_003a93ec" * (cast_expression "(code *)PTR_GetExceptionMessage_003a93ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*puVar5)" ( (pointer_expression "*puVar5" * identifier) )))) ;) (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n            (uVar4,PTR_s_courses_003a88ec + -0x32f0,PTR_s_courses_003a88ec + -0x2cf0,0x2a9,700,\n             PTR_s_t_to_left_003a88e4 + 0x3aa4,PTR_LAB_003a88e0 + 0x3e28,uVar6);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n            (uVar4,PTR_s_courses_003a88ec + -0x32f0,PTR_s_courses_003a88ec + -0x2cf0,0x2a9,700,\n             PTR_s_t_to_left_003a88e4 + 0x3aa4,PTR_LAB_003a88e0 + 0x3e28,uVar6)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_003a8f20)" ( (pointer_expression "*(code *)PTR_ThrowMagickException_003a8f20" * (cast_expression "(code *)PTR_ThrowMagickException_003a8f20" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4,PTR_s_courses_003a88ec + -0x32f0,PTR_s_courses_003a88ec + -0x2cf0,0x2a9,700,\n             PTR_s_t_to_left_003a88e4 + 0x3aa4,PTR_LAB_003a88e0 + 0x3e28,uVar6)" ( identifier , (binary_expression "PTR_s_courses_003a88ec + -0x32f0" identifier + number_literal) , (binary_expression "PTR_s_courses_003a88ec + -0x2cf0" identifier + number_literal) , number_literal , number_literal , (binary_expression "PTR_s_t_to_left_003a88e4 + 0x3aa4" identifier + number_literal) , (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal) , identifier ))) ;) (expression_statement "(*(code *)PTR_DestroyString_003a9074)(uVar6);" (call_expression "(*(code *)PTR_DestroyString_003a9074)(uVar6)" (parenthesized_expression "(*(code *)PTR_DestroyString_003a9074)" ( (pointer_expression "*(code *)PTR_DestroyString_003a9074" * (cast_expression "(code *)PTR_DestroyString_003a9074" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar6)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_CatchException_003a92b0)(uVar4);" (call_expression "(*(code *)PTR_CatchException_003a92b0)(uVar4)" (parenthesized_expression "(*(code *)PTR_CatchException_003a92b0)" ( (pointer_expression "*(code *)PTR_CatchException_003a92b0" * (cast_expression "(code *)PTR_CatchException_003a92b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar4);" (call_expression "(*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar4)" (parenthesized_expression "(*(code *)PTR_DestroyExceptionInfo_003a8d50)" ( (pointer_expression "*(code *)PTR_DestroyExceptionInfo_003a8d50" * (cast_expression "(code *)PTR_DestroyExceptionInfo_003a8d50" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_MagickCoreTerminus_003a98ec)();" (call_expression "(*(code *)PTR_MagickCoreTerminus_003a98ec)()" (parenthesized_expression "(*(code *)PTR_MagickCoreTerminus_003a98ec)" ( (pointer_expression "*(code *)PTR_MagickCoreTerminus_003a98ec" * (cast_expression "(code *)PTR_MagickCoreTerminus_003a98ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "puVar3 = (undefined1 *)(*(code *)PTR__exit_003a9660)(1);" (assignment_expression "puVar3 = (undefined1 *)(*(code *)PTR__exit_003a9660)(1)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR__exit_003a9660)(1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR__exit_003a9660)(1)" (parenthesized_expression "(*(code *)PTR__exit_003a9660)" ( (pointer_expression "*(code *)PTR__exit_003a9660" * (cast_expression "(code *)PTR__exit_003a9660" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1)" ( number_literal ))))) ;) (return_statement "return puVar3;" return identifier ;) })))
(translation_unit "char * ConstantString(char *source)\n\n{\n  int iVar1;\n  int iVar2;\n  char *pcVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  undefined4 uVar6;\n  \n  if (source == (char *)0x0) {\n    pcVar3 = (char *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(1,1);\n    if (pcVar3 != (char *)0x0) {\n      *pcVar3 = '\0';\n      return pcVar3;\n    }\n  }\n  else {\n    iVar1 = (*(code *)PTR_strlen_003a9338)();\n    iVar2 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,1);\n    if (iVar2 != 0) {\n      pcVar3 = (char *)(*(code *)PTR_memcpy_003a9358)(iVar2,source,iVar1);\n      pcVar3[iVar1] = '\0';\n      return pcVar3;\n    }\n  }\n  uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n  puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n  uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n  (*(code *)PTR_ThrowMagickException_003a8f20)\n            (uVar4,PTR_s_courses_003a88ec + -0x32f0,PTR_s_courses_003a88ec + -0x2cf0,0x2a9,700,\n             PTR_s_t_to_left_003a88e4 + 0x3aa4,PTR_LAB_003a88e0 + 0x3e28,uVar6);\n  (*(code *)PTR_DestroyString_003a9074)(uVar6);\n  (*(code *)PTR_CatchException_003a92b0)(uVar4);\n  (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar4);\n  (*(code *)PTR_MagickCoreTerminus_003a98ec)();\n  pcVar3 = (char *)(*(code *)PTR__exit_003a9660)(1);\n  return pcVar3;\n}\n\n" (function_definition "char * ConstantString(char *source)\n\n{\n  int iVar1;\n  int iVar2;\n  char *pcVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  undefined4 uVar6;\n  \n  if (source == (char *)0x0) {\n    pcVar3 = (char *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(1,1);\n    if (pcVar3 != (char *)0x0) {\n      *pcVar3 = '\0';\n      return pcVar3;\n    }\n  }\n  else {\n    iVar1 = (*(code *)PTR_strlen_003a9338)();\n    iVar2 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,1);\n    if (iVar2 != 0) {\n      pcVar3 = (char *)(*(code *)PTR_memcpy_003a9358)(iVar2,source,iVar1);\n      pcVar3[iVar1] = '\0';\n      return pcVar3;\n    }\n  }\n  uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n  puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n  uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n  (*(code *)PTR_ThrowMagickException_003a8f20)\n            (uVar4,PTR_s_courses_003a88ec + -0x32f0,PTR_s_courses_003a88ec + -0x2cf0,0x2a9,700,\n             PTR_s_t_to_left_003a88e4 + 0x3aa4,PTR_LAB_003a88e0 + 0x3e28,uVar6);\n  (*(code *)PTR_DestroyString_003a9074)(uVar6);\n  (*(code *)PTR_CatchException_003a92b0)(uVar4);\n  (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar4);\n  (*(code *)PTR_MagickCoreTerminus_003a98ec)();\n  pcVar3 = (char *)(*(code *)PTR__exit_003a9660)(1);\n  return pcVar3;\n}" primitive_type (pointer_declarator "* ConstantString(char *source)" * (function_declarator "ConstantString(char *source)" identifier (parameter_list "(char *source)" ( (parameter_declaration "char *source" primitive_type (pointer_declarator "*source" * identifier)) )))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  char *pcVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  undefined4 uVar6;\n  \n  if (source == (char *)0x0) {\n    pcVar3 = (char *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(1,1);\n    if (pcVar3 != (char *)0x0) {\n      *pcVar3 = '\0';\n      return pcVar3;\n    }\n  }\n  else {\n    iVar1 = (*(code *)PTR_strlen_003a9338)();\n    iVar2 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,1);\n    if (iVar2 != 0) {\n      pcVar3 = (char *)(*(code *)PTR_memcpy_003a9358)(iVar2,source,iVar1);\n      pcVar3[iVar1] = '\0';\n      return pcVar3;\n    }\n  }\n  uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n  puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n  uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n  (*(code *)PTR_ThrowMagickException_003a8f20)\n            (uVar4,PTR_s_courses_003a88ec + -0x32f0,PTR_s_courses_003a88ec + -0x2cf0,0x2a9,700,\n             PTR_s_t_to_left_003a88e4 + 0x3aa4,PTR_LAB_003a88e0 + 0x3e28,uVar6);\n  (*(code *)PTR_DestroyString_003a9074)(uVar6);\n  (*(code *)PTR_CatchException_003a92b0)(uVar4);\n  (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar4);\n  (*(code *)PTR_MagickCoreTerminus_003a98ec)();\n  pcVar3 = (char *)(*(code *)PTR__exit_003a9660)(1);\n  return pcVar3;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (if_statement "if (source == (char *)0x0) {\n    pcVar3 = (char *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(1,1);\n    if (pcVar3 != (char *)0x0) {\n      *pcVar3 = '\0';\n      return pcVar3;\n    }\n  }\n  else {\n    iVar1 = (*(code *)PTR_strlen_003a9338)();\n    iVar2 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,1);\n    if (iVar2 != 0) {\n      pcVar3 = (char *)(*(code *)PTR_memcpy_003a9358)(iVar2,source,iVar1);\n      pcVar3[iVar1] = '\0';\n      return pcVar3;\n    }\n  }" if (parenthesized_expression "(source == (char *)0x0)" ( (binary_expression "source == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pcVar3 = (char *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(1,1);\n    if (pcVar3 != (char *)0x0) {\n      *pcVar3 = '\0';\n      return pcVar3;\n    }\n  }" { (expression_statement "pcVar3 = (char *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(1,1);" (assignment_expression "pcVar3 = (char *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(1,1)" identifier = (cast_expression "(char *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(1,1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)(1,1)" (parenthesized_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)" ( (pointer_expression "*(code *)PTR_AcquireQuantumMemory_003a950c" * (cast_expression "(code *)PTR_AcquireQuantumMemory_003a950c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,1)" ( number_literal , number_literal ))))) ;) (if_statement "if (pcVar3 != (char *)0x0) {\n      *pcVar3 = '\0';\n      return pcVar3;\n    }" if (parenthesized_expression "(pcVar3 != (char *)0x0)" ( (binary_expression "pcVar3 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *pcVar3 = '\0';\n      return pcVar3;\n    }" { (expression_statement "*pcVar3 = '\0';" (assignment_expression "*pcVar3 = '\0'" (pointer_expression "*pcVar3" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (return_statement "return pcVar3;" return identifier ;) })) }) (else_clause "else {\n    iVar1 = (*(code *)PTR_strlen_003a9338)();\n    iVar2 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,1);\n    if (iVar2 != 0) {\n      pcVar3 = (char *)(*(code *)PTR_memcpy_003a9358)(iVar2,source,iVar1);\n      pcVar3[iVar1] = '\0';\n      return pcVar3;\n    }\n  }" else (compound_statement "{\n    iVar1 = (*(code *)PTR_strlen_003a9338)();\n    iVar2 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,1);\n    if (iVar2 != 0) {\n      pcVar3 = (char *)(*(code *)PTR_memcpy_003a9358)(iVar2,source,iVar1);\n      pcVar3[iVar1] = '\0';\n      return pcVar3;\n    }\n  }" { (expression_statement "iVar1 = (*(code *)PTR_strlen_003a9338)();" (assignment_expression "iVar1 = (*(code *)PTR_strlen_003a9338)()" identifier = (call_expression "(*(code *)PTR_strlen_003a9338)()" (parenthesized_expression "(*(code *)PTR_strlen_003a9338)" ( (pointer_expression "*(code *)PTR_strlen_003a9338" * (cast_expression "(code *)PTR_strlen_003a9338" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "iVar2 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,1);" (assignment_expression "iVar2 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,1)" identifier = (call_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,1)" (parenthesized_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)" ( (pointer_expression "*(code *)PTR_AcquireQuantumMemory_003a950c" * (cast_expression "(code *)PTR_AcquireQuantumMemory_003a950c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1 + 1,1)" ( (binary_expression "iVar1 + 1" identifier + number_literal) , number_literal )))) ;) (if_statement "if (iVar2 != 0) {\n      pcVar3 = (char *)(*(code *)PTR_memcpy_003a9358)(iVar2,source,iVar1);\n      pcVar3[iVar1] = '\0';\n      return pcVar3;\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      pcVar3 = (char *)(*(code *)PTR_memcpy_003a9358)(iVar2,source,iVar1);\n      pcVar3[iVar1] = '\0';\n      return pcVar3;\n    }" { (expression_statement "pcVar3 = (char *)(*(code *)PTR_memcpy_003a9358)(iVar2,source,iVar1);" (assignment_expression "pcVar3 = (char *)(*(code *)PTR_memcpy_003a9358)(iVar2,source,iVar1)" identifier = (cast_expression "(char *)(*(code *)PTR_memcpy_003a9358)(iVar2,source,iVar1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_memcpy_003a9358)(iVar2,source,iVar1)" (parenthesized_expression "(*(code *)PTR_memcpy_003a9358)" ( (pointer_expression "*(code *)PTR_memcpy_003a9358" * (cast_expression "(code *)PTR_memcpy_003a9358" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2,source,iVar1)" ( identifier , identifier , identifier ))))) ;) (expression_statement "pcVar3[iVar1] = '\0';" (assignment_expression "pcVar3[iVar1] = '\0'" (subscript_expression "pcVar3[iVar1]" identifier [ identifier ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (return_statement "return pcVar3;" return identifier ;) })) }))) (expression_statement "uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();" (assignment_expression "uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)()" identifier = (call_expression "(*(code *)PTR_AcquireExceptionInfo_003a8eec)()" (parenthesized_expression "(*(code *)PTR_AcquireExceptionInfo_003a8eec)" ( (pointer_expression "*(code *)PTR_AcquireExceptionInfo_003a8eec" * (cast_expression "(code *)PTR_AcquireExceptionInfo_003a8eec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();" (assignment_expression "puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_003a99b0)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_003a99b0)()" (parenthesized_expression "(*(code *)PTR___errno_location_003a99b0)" ( (pointer_expression "*(code *)PTR___errno_location_003a99b0" * (cast_expression "(code *)PTR___errno_location_003a99b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);" (assignment_expression "uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5)" identifier = (call_expression "(*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5)" (parenthesized_expression "(*(code *)PTR_GetExceptionMessage_003a93ec)" ( (pointer_expression "*(code *)PTR_GetExceptionMessage_003a93ec" * (cast_expression "(code *)PTR_GetExceptionMessage_003a93ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*puVar5)" ( (pointer_expression "*puVar5" * identifier) )))) ;) (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n            (uVar4,PTR_s_courses_003a88ec + -0x32f0,PTR_s_courses_003a88ec + -0x2cf0,0x2a9,700,\n             PTR_s_t_to_left_003a88e4 + 0x3aa4,PTR_LAB_003a88e0 + 0x3e28,uVar6);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n            (uVar4,PTR_s_courses_003a88ec + -0x32f0,PTR_s_courses_003a88ec + -0x2cf0,0x2a9,700,\n             PTR_s_t_to_left_003a88e4 + 0x3aa4,PTR_LAB_003a88e0 + 0x3e28,uVar6)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_003a8f20)" ( (pointer_expression "*(code *)PTR_ThrowMagickException_003a8f20" * (cast_expression "(code *)PTR_ThrowMagickException_003a8f20" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4,PTR_s_courses_003a88ec + -0x32f0,PTR_s_courses_003a88ec + -0x2cf0,0x2a9,700,\n             PTR_s_t_to_left_003a88e4 + 0x3aa4,PTR_LAB_003a88e0 + 0x3e28,uVar6)" ( identifier , (binary_expression "PTR_s_courses_003a88ec + -0x32f0" identifier + number_literal) , (binary_expression "PTR_s_courses_003a88ec + -0x2cf0" identifier + number_literal) , number_literal , number_literal , (binary_expression "PTR_s_t_to_left_003a88e4 + 0x3aa4" identifier + number_literal) , (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal) , identifier ))) ;) (expression_statement "(*(code *)PTR_DestroyString_003a9074)(uVar6);" (call_expression "(*(code *)PTR_DestroyString_003a9074)(uVar6)" (parenthesized_expression "(*(code *)PTR_DestroyString_003a9074)" ( (pointer_expression "*(code *)PTR_DestroyString_003a9074" * (cast_expression "(code *)PTR_DestroyString_003a9074" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar6)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_CatchException_003a92b0)(uVar4);" (call_expression "(*(code *)PTR_CatchException_003a92b0)(uVar4)" (parenthesized_expression "(*(code *)PTR_CatchException_003a92b0)" ( (pointer_expression "*(code *)PTR_CatchException_003a92b0" * (cast_expression "(code *)PTR_CatchException_003a92b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar4);" (call_expression "(*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar4)" (parenthesized_expression "(*(code *)PTR_DestroyExceptionInfo_003a8d50)" ( (pointer_expression "*(code *)PTR_DestroyExceptionInfo_003a8d50" * (cast_expression "(code *)PTR_DestroyExceptionInfo_003a8d50" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_MagickCoreTerminus_003a98ec)();" (call_expression "(*(code *)PTR_MagickCoreTerminus_003a98ec)()" (parenthesized_expression "(*(code *)PTR_MagickCoreTerminus_003a98ec)" ( (pointer_expression "*(code *)PTR_MagickCoreTerminus_003a98ec" * (cast_expression "(code *)PTR_MagickCoreTerminus_003a98ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "pcVar3 = (char *)(*(code *)PTR__exit_003a9660)(1);" (assignment_expression "pcVar3 = (char *)(*(code *)PTR__exit_003a9660)(1)" identifier = (cast_expression "(char *)(*(code *)PTR__exit_003a9660)(1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR__exit_003a9660)(1)" (parenthesized_expression "(*(code *)PTR__exit_003a9660)" ( (pointer_expression "*(code *)PTR__exit_003a9660" * (cast_expression "(code *)PTR__exit_003a9660" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1)" ( number_literal ))))) ;) (return_statement "return pcVar3;" return identifier ;) })))
(translation_unit "undefined1 * ConstantString(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined1 *puVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  undefined4 uVar6;\n  \n  if (param_1 == 0) {\n    puVar3 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(1,1);\n    if (puVar3 != (undefined1 *)0x0) {\n      *puVar3 = 0;\n      return puVar3;\n    }\n  }\n  else {\n    iVar1 = (*(code *)PTR_strlen_003a9338)();\n    iVar2 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,1);\n    if (iVar2 != 0) {\n      puVar3 = (undefined1 *)(*(code *)PTR_memcpy_003a9358)(iVar2,param_1,iVar1);\n      puVar3[iVar1] = 0;\n      return puVar3;\n    }\n  }\n  uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n  puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n  uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n  (*(code *)PTR_ThrowMagickException_003a8f20)\n            (uVar4,PTR_s_courses_003a88ec + -0x32f0,PTR_s_courses_003a88ec + -0x2cf0,0x2a9,700,\n             PTR_s_t_to_left_003a88e4 + 0x3aa4,PTR_LAB_003a88e0 + 0x3e28,uVar6);\n  (*(code *)PTR_DestroyString_003a9074)(uVar6);\n  (*(code *)PTR_CatchException_003a92b0)(uVar4);\n  (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar4);\n  (*(code *)PTR_MagickCoreTerminus_003a98ec)();\n  puVar3 = (undefined1 *)(*(code *)PTR__exit_003a9660)(1);\n  return puVar3;\n}\n\n" (function_definition "undefined1 * ConstantString(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined1 *puVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  undefined4 uVar6;\n  \n  if (param_1 == 0) {\n    puVar3 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(1,1);\n    if (puVar3 != (undefined1 *)0x0) {\n      *puVar3 = 0;\n      return puVar3;\n    }\n  }\n  else {\n    iVar1 = (*(code *)PTR_strlen_003a9338)();\n    iVar2 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,1);\n    if (iVar2 != 0) {\n      puVar3 = (undefined1 *)(*(code *)PTR_memcpy_003a9358)(iVar2,param_1,iVar1);\n      puVar3[iVar1] = 0;\n      return puVar3;\n    }\n  }\n  uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n  puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n  uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n  (*(code *)PTR_ThrowMagickException_003a8f20)\n            (uVar4,PTR_s_courses_003a88ec + -0x32f0,PTR_s_courses_003a88ec + -0x2cf0,0x2a9,700,\n             PTR_s_t_to_left_003a88e4 + 0x3aa4,PTR_LAB_003a88e0 + 0x3e28,uVar6);\n  (*(code *)PTR_DestroyString_003a9074)(uVar6);\n  (*(code *)PTR_CatchException_003a92b0)(uVar4);\n  (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar4);\n  (*(code *)PTR_MagickCoreTerminus_003a98ec)();\n  puVar3 = (undefined1 *)(*(code *)PTR__exit_003a9660)(1);\n  return puVar3;\n}" type_identifier (pointer_declarator "* ConstantString(int param_1)" * (function_declarator "ConstantString(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) )))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  undefined1 *puVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  undefined4 uVar6;\n  \n  if (param_1 == 0) {\n    puVar3 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(1,1);\n    if (puVar3 != (undefined1 *)0x0) {\n      *puVar3 = 0;\n      return puVar3;\n    }\n  }\n  else {\n    iVar1 = (*(code *)PTR_strlen_003a9338)();\n    iVar2 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,1);\n    if (iVar2 != 0) {\n      puVar3 = (undefined1 *)(*(code *)PTR_memcpy_003a9358)(iVar2,param_1,iVar1);\n      puVar3[iVar1] = 0;\n      return puVar3;\n    }\n  }\n  uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n  puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n  uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n  (*(code *)PTR_ThrowMagickException_003a8f20)\n            (uVar4,PTR_s_courses_003a88ec + -0x32f0,PTR_s_courses_003a88ec + -0x2cf0,0x2a9,700,\n             PTR_s_t_to_left_003a88e4 + 0x3aa4,PTR_LAB_003a88e0 + 0x3e28,uVar6);\n  (*(code *)PTR_DestroyString_003a9074)(uVar6);\n  (*(code *)PTR_CatchException_003a92b0)(uVar4);\n  (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar4);\n  (*(code *)PTR_MagickCoreTerminus_003a98ec)();\n  puVar3 = (undefined1 *)(*(code *)PTR__exit_003a9660)(1);\n  return puVar3;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined1 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (if_statement "if (param_1 == 0) {\n    puVar3 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(1,1);\n    if (puVar3 != (undefined1 *)0x0) {\n      *puVar3 = 0;\n      return puVar3;\n    }\n  }\n  else {\n    iVar1 = (*(code *)PTR_strlen_003a9338)();\n    iVar2 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,1);\n    if (iVar2 != 0) {\n      puVar3 = (undefined1 *)(*(code *)PTR_memcpy_003a9358)(iVar2,param_1,iVar1);\n      puVar3[iVar1] = 0;\n      return puVar3;\n    }\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    puVar3 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(1,1);\n    if (puVar3 != (undefined1 *)0x0) {\n      *puVar3 = 0;\n      return puVar3;\n    }\n  }" { (expression_statement "puVar3 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(1,1);" (assignment_expression "puVar3 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(1,1)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(1,1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)(1,1)" (parenthesized_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)" ( (pointer_expression "*(code *)PTR_AcquireQuantumMemory_003a950c" * (cast_expression "(code *)PTR_AcquireQuantumMemory_003a950c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,1)" ( number_literal , number_literal ))))) ;) (if_statement "if (puVar3 != (undefined1 *)0x0) {\n      *puVar3 = 0;\n      return puVar3;\n    }" if (parenthesized_expression "(puVar3 != (undefined1 *)0x0)" ( (binary_expression "puVar3 != (undefined1 *)0x0" identifier != (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *puVar3 = 0;\n      return puVar3;\n    }" { (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" * identifier) = number_literal) ;) (return_statement "return puVar3;" return identifier ;) })) }) (else_clause "else {\n    iVar1 = (*(code *)PTR_strlen_003a9338)();\n    iVar2 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,1);\n    if (iVar2 != 0) {\n      puVar3 = (undefined1 *)(*(code *)PTR_memcpy_003a9358)(iVar2,param_1,iVar1);\n      puVar3[iVar1] = 0;\n      return puVar3;\n    }\n  }" else (compound_statement "{\n    iVar1 = (*(code *)PTR_strlen_003a9338)();\n    iVar2 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,1);\n    if (iVar2 != 0) {\n      puVar3 = (undefined1 *)(*(code *)PTR_memcpy_003a9358)(iVar2,param_1,iVar1);\n      puVar3[iVar1] = 0;\n      return puVar3;\n    }\n  }" { (expression_statement "iVar1 = (*(code *)PTR_strlen_003a9338)();" (assignment_expression "iVar1 = (*(code *)PTR_strlen_003a9338)()" identifier = (call_expression "(*(code *)PTR_strlen_003a9338)()" (parenthesized_expression "(*(code *)PTR_strlen_003a9338)" ( (pointer_expression "*(code *)PTR_strlen_003a9338" * (cast_expression "(code *)PTR_strlen_003a9338" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "iVar2 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,1);" (assignment_expression "iVar2 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,1)" identifier = (call_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,1)" (parenthesized_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)" ( (pointer_expression "*(code *)PTR_AcquireQuantumMemory_003a950c" * (cast_expression "(code *)PTR_AcquireQuantumMemory_003a950c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1 + 1,1)" ( (binary_expression "iVar1 + 1" identifier + number_literal) , number_literal )))) ;) (if_statement "if (iVar2 != 0) {\n      puVar3 = (undefined1 *)(*(code *)PTR_memcpy_003a9358)(iVar2,param_1,iVar1);\n      puVar3[iVar1] = 0;\n      return puVar3;\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      puVar3 = (undefined1 *)(*(code *)PTR_memcpy_003a9358)(iVar2,param_1,iVar1);\n      puVar3[iVar1] = 0;\n      return puVar3;\n    }" { (expression_statement "puVar3 = (undefined1 *)(*(code *)PTR_memcpy_003a9358)(iVar2,param_1,iVar1);" (assignment_expression "puVar3 = (undefined1 *)(*(code *)PTR_memcpy_003a9358)(iVar2,param_1,iVar1)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_memcpy_003a9358)(iVar2,param_1,iVar1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_memcpy_003a9358)(iVar2,param_1,iVar1)" (parenthesized_expression "(*(code *)PTR_memcpy_003a9358)" ( (pointer_expression "*(code *)PTR_memcpy_003a9358" * (cast_expression "(code *)PTR_memcpy_003a9358" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2,param_1,iVar1)" ( identifier , identifier , identifier ))))) ;) (expression_statement "puVar3[iVar1] = 0;" (assignment_expression "puVar3[iVar1] = 0" (subscript_expression "puVar3[iVar1]" identifier [ identifier ]) = number_literal) ;) (return_statement "return puVar3;" return identifier ;) })) }))) (expression_statement "uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();" (assignment_expression "uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)()" identifier = (call_expression "(*(code *)PTR_AcquireExceptionInfo_003a8eec)()" (parenthesized_expression "(*(code *)PTR_AcquireExceptionInfo_003a8eec)" ( (pointer_expression "*(code *)PTR_AcquireExceptionInfo_003a8eec" * (cast_expression "(code *)PTR_AcquireExceptionInfo_003a8eec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();" (assignment_expression "puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_003a99b0)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_003a99b0)()" (parenthesized_expression "(*(code *)PTR___errno_location_003a99b0)" ( (pointer_expression "*(code *)PTR___errno_location_003a99b0" * (cast_expression "(code *)PTR___errno_location_003a99b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);" (assignment_expression "uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5)" identifier = (call_expression "(*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5)" (parenthesized_expression "(*(code *)PTR_GetExceptionMessage_003a93ec)" ( (pointer_expression "*(code *)PTR_GetExceptionMessage_003a93ec" * (cast_expression "(code *)PTR_GetExceptionMessage_003a93ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*puVar5)" ( (pointer_expression "*puVar5" * identifier) )))) ;) (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n            (uVar4,PTR_s_courses_003a88ec + -0x32f0,PTR_s_courses_003a88ec + -0x2cf0,0x2a9,700,\n             PTR_s_t_to_left_003a88e4 + 0x3aa4,PTR_LAB_003a88e0 + 0x3e28,uVar6);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n            (uVar4,PTR_s_courses_003a88ec + -0x32f0,PTR_s_courses_003a88ec + -0x2cf0,0x2a9,700,\n             PTR_s_t_to_left_003a88e4 + 0x3aa4,PTR_LAB_003a88e0 + 0x3e28,uVar6)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_003a8f20)" ( (pointer_expression "*(code *)PTR_ThrowMagickException_003a8f20" * (cast_expression "(code *)PTR_ThrowMagickException_003a8f20" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4,PTR_s_courses_003a88ec + -0x32f0,PTR_s_courses_003a88ec + -0x2cf0,0x2a9,700,\n             PTR_s_t_to_left_003a88e4 + 0x3aa4,PTR_LAB_003a88e0 + 0x3e28,uVar6)" ( identifier , (binary_expression "PTR_s_courses_003a88ec + -0x32f0" identifier + number_literal) , (binary_expression "PTR_s_courses_003a88ec + -0x2cf0" identifier + number_literal) , number_literal , number_literal , (binary_expression "PTR_s_t_to_left_003a88e4 + 0x3aa4" identifier + number_literal) , (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal) , identifier ))) ;) (expression_statement "(*(code *)PTR_DestroyString_003a9074)(uVar6);" (call_expression "(*(code *)PTR_DestroyString_003a9074)(uVar6)" (parenthesized_expression "(*(code *)PTR_DestroyString_003a9074)" ( (pointer_expression "*(code *)PTR_DestroyString_003a9074" * (cast_expression "(code *)PTR_DestroyString_003a9074" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar6)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_CatchException_003a92b0)(uVar4);" (call_expression "(*(code *)PTR_CatchException_003a92b0)(uVar4)" (parenthesized_expression "(*(code *)PTR_CatchException_003a92b0)" ( (pointer_expression "*(code *)PTR_CatchException_003a92b0" * (cast_expression "(code *)PTR_CatchException_003a92b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar4);" (call_expression "(*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar4)" (parenthesized_expression "(*(code *)PTR_DestroyExceptionInfo_003a8d50)" ( (pointer_expression "*(code *)PTR_DestroyExceptionInfo_003a8d50" * (cast_expression "(code *)PTR_DestroyExceptionInfo_003a8d50" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_MagickCoreTerminus_003a98ec)();" (call_expression "(*(code *)PTR_MagickCoreTerminus_003a98ec)()" (parenthesized_expression "(*(code *)PTR_MagickCoreTerminus_003a98ec)" ( (pointer_expression "*(code *)PTR_MagickCoreTerminus_003a98ec" * (cast_expression "(code *)PTR_MagickCoreTerminus_003a98ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "puVar3 = (undefined1 *)(*(code *)PTR__exit_003a9660)(1);" (assignment_expression "puVar3 = (undefined1 *)(*(code *)PTR__exit_003a9660)(1)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR__exit_003a9660)(1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR__exit_003a9660)(1)" (parenthesized_expression "(*(code *)PTR__exit_003a9660)" ( (pointer_expression "*(code *)PTR__exit_003a9660" * (cast_expression "(code *)PTR__exit_003a9660" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1)" ( number_literal ))))) ;) (return_statement "return puVar3;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , LIT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (return_statement return IDENT ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (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) , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ 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 ( )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * IDENT) )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , LIT , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT ))))) ;) (return_statement return IDENT ;) })))
(function_definition "undefined1 * ConstantString(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined1 *puVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  undefined4 uVar6;\n  \n  if (param_1 == 0) {\n    puVar3 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(1,1);\n    if (puVar3 != (undefined1 *)0x0) {\n      *puVar3 = 0;\n      return puVar3;\n    }\n  }\n  else {\n    iVar1 = (*(code *)PTR_strlen_003a9338)();\n    iVar2 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,1);\n    if (iVar2 != 0) {\n      puVar3 = (undefined1 *)(*(code *)PTR_memcpy_003a9358)(iVar2,param_1,iVar1);\n      puVar3[iVar1] = 0;\n      return puVar3;\n    }\n  }\n  uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n  puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n  uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n  (*(code *)PTR_ThrowMagickException_003a8f20)\n            (uVar4,PTR_s_courses_003a88ec + -0x32f0,PTR_s_courses_003a88ec + -0x2cf0,0x2a9,700,\n             PTR_s_t_to_left_003a88e4 + 0x3aa4,PTR_LAB_003a88e0 + 0x3e28,uVar6);\n  (*(code *)PTR_DestroyString_003a9074)(uVar6);\n  (*(code *)PTR_CatchException_003a92b0)(uVar4);\n  (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar4);\n  (*(code *)PTR_MagickCoreTerminus_003a98ec)();\n  puVar3 = (undefined1 *)(*(code *)PTR__exit_003a9660)(1);\n  return puVar3;\n}" (type_identifier "undefined1") (pointer_declarator "* ConstantString(int param_1)" (* "*") (function_declarator "ConstantString(int param_1)" (identifier "ConstantString") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")")))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  undefined1 *puVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  undefined4 uVar6;\n  \n  if (param_1 == 0) {\n    puVar3 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(1,1);\n    if (puVar3 != (undefined1 *)0x0) {\n      *puVar3 = 0;\n      return puVar3;\n    }\n  }\n  else {\n    iVar1 = (*(code *)PTR_strlen_003a9338)();\n    iVar2 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,1);\n    if (iVar2 != 0) {\n      puVar3 = (undefined1 *)(*(code *)PTR_memcpy_003a9358)(iVar2,param_1,iVar1);\n      puVar3[iVar1] = 0;\n      return puVar3;\n    }\n  }\n  uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n  puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n  uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n  (*(code *)PTR_ThrowMagickException_003a8f20)\n            (uVar4,PTR_s_courses_003a88ec + -0x32f0,PTR_s_courses_003a88ec + -0x2cf0,0x2a9,700,\n             PTR_s_t_to_left_003a88e4 + 0x3aa4,PTR_LAB_003a88e0 + 0x3e28,uVar6);\n  (*(code *)PTR_DestroyString_003a9074)(uVar6);\n  (*(code *)PTR_CatchException_003a92b0)(uVar4);\n  (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar4);\n  (*(code *)PTR_MagickCoreTerminus_003a98ec)();\n  puVar3 = (undefined1 *)(*(code *)PTR__exit_003a9660)(1);\n  return puVar3;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined1 *puVar3;" (type_identifier "undefined1") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "undefined4 *puVar5;" (type_identifier "undefined4") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "undefined4 uVar6;" (type_identifier "undefined4") (identifier "uVar6") (; ";")) (if_statement "if (param_1 == 0) {\n    puVar3 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(1,1);\n    if (puVar3 != (undefined1 *)0x0) {\n      *puVar3 = 0;\n      return puVar3;\n    }\n  }\n  else {\n    iVar1 = (*(code *)PTR_strlen_003a9338)();\n    iVar2 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,1);\n    if (iVar2 != 0) {\n      puVar3 = (undefined1 *)(*(code *)PTR_memcpy_003a9358)(iVar2,param_1,iVar1);\n      puVar3[iVar1] = 0;\n      return puVar3;\n    }\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    puVar3 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(1,1);\n    if (puVar3 != (undefined1 *)0x0) {\n      *puVar3 = 0;\n      return puVar3;\n    }\n  }" ({ "{") (expression_statement "puVar3 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(1,1);" (assignment_expression "puVar3 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(1,1)" (identifier "puVar3") (= "=") (cast_expression "(undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(1,1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)(1,1)" (parenthesized_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)" (( "(") (pointer_expression "*(code *)PTR_AcquireQuantumMemory_003a950c" (* "*") (cast_expression "(code *)PTR_AcquireQuantumMemory_003a950c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_AcquireQuantumMemory_003a950c"))) () ")")) (argument_list "(1,1)" (( "(") (number_literal "1") (, ",") (number_literal "1") () ")"))))) (; ";")) (if_statement "if (puVar3 != (undefined1 *)0x0) {\n      *puVar3 = 0;\n      return puVar3;\n    }" (if "if") (parenthesized_expression "(puVar3 != (undefined1 *)0x0)" (( "(") (binary_expression "puVar3 != (undefined1 *)0x0" (identifier "puVar3") (!= "!=") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      *puVar3 = 0;\n      return puVar3;\n    }" ({ "{") (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (number_literal "0")) (; ";")) (return_statement "return puVar3;" (return "return") (identifier "puVar3") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    iVar1 = (*(code *)PTR_strlen_003a9338)();\n    iVar2 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,1);\n    if (iVar2 != 0) {\n      puVar3 = (undefined1 *)(*(code *)PTR_memcpy_003a9358)(iVar2,param_1,iVar1);\n      puVar3[iVar1] = 0;\n      return puVar3;\n    }\n  }" (else "else") (compound_statement "{\n    iVar1 = (*(code *)PTR_strlen_003a9338)();\n    iVar2 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,1);\n    if (iVar2 != 0) {\n      puVar3 = (undefined1 *)(*(code *)PTR_memcpy_003a9358)(iVar2,param_1,iVar1);\n      puVar3[iVar1] = 0;\n      return puVar3;\n    }\n  }" ({ "{") (expression_statement "iVar1 = (*(code *)PTR_strlen_003a9338)();" (assignment_expression "iVar1 = (*(code *)PTR_strlen_003a9338)()" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_strlen_003a9338)()" (parenthesized_expression "(*(code *)PTR_strlen_003a9338)" (( "(") (pointer_expression "*(code *)PTR_strlen_003a9338" (* "*") (cast_expression "(code *)PTR_strlen_003a9338" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_003a9338"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar2 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,1);" (assignment_expression "iVar2 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,1)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,1)" (parenthesized_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)" (( "(") (pointer_expression "*(code *)PTR_AcquireQuantumMemory_003a950c" (* "*") (cast_expression "(code *)PTR_AcquireQuantumMemory_003a950c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_AcquireQuantumMemory_003a950c"))) () ")")) (argument_list "(iVar1 + 1,1)" (( "(") (binary_expression "iVar1 + 1" (identifier "iVar1") (+ "+") (number_literal "1")) (, ",") (number_literal "1") () ")")))) (; ";")) (if_statement "if (iVar2 != 0) {\n      puVar3 = (undefined1 *)(*(code *)PTR_memcpy_003a9358)(iVar2,param_1,iVar1);\n      puVar3[iVar1] = 0;\n      return puVar3;\n    }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      puVar3 = (undefined1 *)(*(code *)PTR_memcpy_003a9358)(iVar2,param_1,iVar1);\n      puVar3[iVar1] = 0;\n      return puVar3;\n    }" ({ "{") (expression_statement "puVar3 = (undefined1 *)(*(code *)PTR_memcpy_003a9358)(iVar2,param_1,iVar1);" (assignment_expression "puVar3 = (undefined1 *)(*(code *)PTR_memcpy_003a9358)(iVar2,param_1,iVar1)" (identifier "puVar3") (= "=") (cast_expression "(undefined1 *)(*(code *)PTR_memcpy_003a9358)(iVar2,param_1,iVar1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_memcpy_003a9358)(iVar2,param_1,iVar1)" (parenthesized_expression "(*(code *)PTR_memcpy_003a9358)" (( "(") (pointer_expression "*(code *)PTR_memcpy_003a9358" (* "*") (cast_expression "(code *)PTR_memcpy_003a9358" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_memcpy_003a9358"))) () ")")) (argument_list "(iVar2,param_1,iVar1)" (( "(") (identifier "iVar2") (, ",") (identifier "param_1") (, ",") (identifier "iVar1") () ")"))))) (; ";")) (expression_statement "puVar3[iVar1] = 0;" (assignment_expression "puVar3[iVar1] = 0" (subscript_expression "puVar3[iVar1]" (identifier "puVar3") ([ "[") (identifier "iVar1") (] "]")) (= "=") (number_literal "0")) (; ";")) (return_statement "return puVar3;" (return "return") (identifier "puVar3") (; ";")) (} "}"))) (} "}")))) (expression_statement "uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();" (assignment_expression "uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)()" (identifier "uVar4") (= "=") (call_expression "(*(code *)PTR_AcquireExceptionInfo_003a8eec)()" (parenthesized_expression "(*(code *)PTR_AcquireExceptionInfo_003a8eec)" (( "(") (pointer_expression "*(code *)PTR_AcquireExceptionInfo_003a8eec" (* "*") (cast_expression "(code *)PTR_AcquireExceptionInfo_003a8eec" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_AcquireExceptionInfo_003a8eec"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();" (assignment_expression "puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)()" (identifier "puVar5") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_003a99b0)()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___errno_location_003a99b0)()" (parenthesized_expression "(*(code *)PTR___errno_location_003a99b0)" (( "(") (pointer_expression "*(code *)PTR___errno_location_003a99b0" (* "*") (cast_expression "(code *)PTR___errno_location_003a99b0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___errno_location_003a99b0"))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);" (assignment_expression "uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5)" (identifier "uVar6") (= "=") (call_expression "(*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5)" (parenthesized_expression "(*(code *)PTR_GetExceptionMessage_003a93ec)" (( "(") (pointer_expression "*(code *)PTR_GetExceptionMessage_003a93ec" (* "*") (cast_expression "(code *)PTR_GetExceptionMessage_003a93ec" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_GetExceptionMessage_003a93ec"))) () ")")) (argument_list "(*puVar5)" (( "(") (pointer_expression "*puVar5" (* "*") (identifier "puVar5")) () ")")))) (; ";")) (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n            (uVar4,PTR_s_courses_003a88ec + -0x32f0,PTR_s_courses_003a88ec + -0x2cf0,0x2a9,700,\n             PTR_s_t_to_left_003a88e4 + 0x3aa4,PTR_LAB_003a88e0 + 0x3e28,uVar6);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n            (uVar4,PTR_s_courses_003a88ec + -0x32f0,PTR_s_courses_003a88ec + -0x2cf0,0x2a9,700,\n             PTR_s_t_to_left_003a88e4 + 0x3aa4,PTR_LAB_003a88e0 + 0x3e28,uVar6)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_003a8f20)" (( "(") (pointer_expression "*(code *)PTR_ThrowMagickException_003a8f20" (* "*") (cast_expression "(code *)PTR_ThrowMagickException_003a8f20" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ThrowMagickException_003a8f20"))) () ")")) (argument_list "(uVar4,PTR_s_courses_003a88ec + -0x32f0,PTR_s_courses_003a88ec + -0x2cf0,0x2a9,700,\n             PTR_s_t_to_left_003a88e4 + 0x3aa4,PTR_LAB_003a88e0 + 0x3e28,uVar6)" (( "(") (identifier "uVar4") (, ",") (binary_expression "PTR_s_courses_003a88ec + -0x32f0" (identifier "PTR_s_courses_003a88ec") (+ "+") (number_literal "-0x32f0")) (, ",") (binary_expression "PTR_s_courses_003a88ec + -0x2cf0" (identifier "PTR_s_courses_003a88ec") (+ "+") (number_literal "-0x2cf0")) (, ",") (number_literal "0x2a9") (, ",") (number_literal "700") (, ",") (binary_expression "PTR_s_t_to_left_003a88e4 + 0x3aa4" (identifier "PTR_s_t_to_left_003a88e4") (+ "+") (number_literal "0x3aa4")) (, ",") (binary_expression "PTR_LAB_003a88e0 + 0x3e28" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x3e28")) (, ",") (identifier "uVar6") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_DestroyString_003a9074)(uVar6);" (call_expression "(*(code *)PTR_DestroyString_003a9074)(uVar6)" (parenthesized_expression "(*(code *)PTR_DestroyString_003a9074)" (( "(") (pointer_expression "*(code *)PTR_DestroyString_003a9074" (* "*") (cast_expression "(code *)PTR_DestroyString_003a9074" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyString_003a9074"))) () ")")) (argument_list "(uVar6)" (( "(") (identifier "uVar6") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_CatchException_003a92b0)(uVar4);" (call_expression "(*(code *)PTR_CatchException_003a92b0)(uVar4)" (parenthesized_expression "(*(code *)PTR_CatchException_003a92b0)" (( "(") (pointer_expression "*(code *)PTR_CatchException_003a92b0" (* "*") (cast_expression "(code *)PTR_CatchException_003a92b0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_CatchException_003a92b0"))) () ")")) (argument_list "(uVar4)" (( "(") (identifier "uVar4") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar4);" (call_expression "(*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar4)" (parenthesized_expression "(*(code *)PTR_DestroyExceptionInfo_003a8d50)" (( "(") (pointer_expression "*(code *)PTR_DestroyExceptionInfo_003a8d50" (* "*") (cast_expression "(code *)PTR_DestroyExceptionInfo_003a8d50" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyExceptionInfo_003a8d50"))) () ")")) (argument_list "(uVar4)" (( "(") (identifier "uVar4") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_MagickCoreTerminus_003a98ec)();" (call_expression "(*(code *)PTR_MagickCoreTerminus_003a98ec)()" (parenthesized_expression "(*(code *)PTR_MagickCoreTerminus_003a98ec)" (( "(") (pointer_expression "*(code *)PTR_MagickCoreTerminus_003a98ec" (* "*") (cast_expression "(code *)PTR_MagickCoreTerminus_003a98ec" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_MagickCoreTerminus_003a98ec"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "puVar3 = (undefined1 *)(*(code *)PTR__exit_003a9660)(1);" (assignment_expression "puVar3 = (undefined1 *)(*(code *)PTR__exit_003a9660)(1)" (identifier "puVar3") (= "=") (cast_expression "(undefined1 *)(*(code *)PTR__exit_003a9660)(1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR__exit_003a9660)(1)" (parenthesized_expression "(*(code *)PTR__exit_003a9660)" (( "(") (pointer_expression "*(code *)PTR__exit_003a9660" (* "*") (cast_expression "(code *)PTR__exit_003a9660" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR__exit_003a9660"))) () ")")) (argument_list "(1)" (( "(") (number_literal "1") () ")"))))) (; ";")) (return_statement "return puVar3;" (return "return") (identifier "puVar3") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator 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: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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) (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (return_statement (identifier))))) alternative: (else_clause (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)))) (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)) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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 (identifier) (identifier) (identifier)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (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)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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))))) (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: (identifier)))))) (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 (identifier) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (identifier)))) (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 (identifier)))) (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 (identifier)))) (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 (identifier)))) (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))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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)))))) (return_statement (identifier)))))

undefined1 * MASKED(int param_1)

{
  int iVar1;
  int iVar2;
  undefined1 *puVar3;
  undefined4 uVar4;
  undefined4 *puVar5;
  undefined4 uVar6;
  
  if (param_1 == 0) {
    puVar3 = (undefined1 *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(1,1);
    if (puVar3 != (undefined1 *)0x0) {
      *puVar3 = 0;
      return puVar3;
    }
  }
  else {
    iVar1 = (*(code *)PTR_strlen_003a9338)();
    iVar2 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1 + 1,1);
    if (iVar2 != 0) {
      puVar3 = (undefined1 *)(*(code *)PTR_memcpy_003a9358)(iVar2,param_1,iVar1);
      puVar3[iVar1] = 0;
      return puVar3;
    }
  }
  uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();
  puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();
  uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);
  (*(code *)PTR_ThrowMagickException_003a8f20)
            (uVar4,PTR_s_courses_003a88ec + -0x32f0,PTR_s_courses_003a88ec + -0x2cf0,0x2a9,700,
             PTR_s_t_to_left_003a88e4 + 0x3aa4,PTR_LAB_003a88e0 + 0x3e28,uVar6);
  (*(code *)PTR_DestroyString_003a9074)(uVar6);
  (*(code *)PTR_CatchException_003a92b0)(uVar4);
  (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar4);
  (*(code *)PTR_MagickCoreTerminus_003a98ec)();
  puVar3 = (undefined1 *)(*(code *)PTR__exit_003a9660)(1);
  return puVar3;
}

