
char ** GetPathComponents(char *path,size_t *number_components)

{
  char *fatal_message;
  char cVar8;
  size_t sVar1;
  char **ppcVar2;
  char *pcVar3;
  char **ppcVar4;
  undefined4 uVar5;
  undefined4 *puVar6;
  undefined4 uVar7;
  char *pcVar9;
  size_t sVar10;
  int iVar11;
  size_t sVar12;
  undefined4 uVar13;
  int iVar14;
  int iVar15;
  
  if (path == (char *)0x0) {
    ppcVar2 = (char **)0x0;
  }
  else {
    *number_components = 1;
    cVar8 = *path;
    if (cVar8 == '\0') {
      sVar1 = 2;
    }
    else {
      sVar12 = 1;
      pcVar9 = path;
      do {
        sVar10 = sVar12 + 1;
        sVar1 = sVar10;
        if (cVar8 == '/') {
          sVar1 = sVar12 + 2;
          *number_components = sVar10;
          sVar12 = sVar10;
        }
        pcVar9 = pcVar9 + 1;
        cVar8 = *pcVar9;
      } while (cVar8 != '\0');
    }
    ppcVar2 = (char **)(*(code *)PTR_AcquireQuantumMemory_003a950c)(sVar1,4);
    if (ppcVar2 == (char **)0x0) goto LAB_001d5e40;
    iVar14 = 0;
    ppcVar4 = ppcVar2;
    if (0 < (int)*number_components) {
      do {
        cVar8 = *path;
        iVar11 = 0x1000;
        pcVar9 = path;
        if (cVar8 == '\0') {
          iVar15 = 0;
        }
        else {
          iVar15 = 0;
          while (cVar8 != '/') {
            pcVar9 = pcVar9 + 1;
            cVar8 = *pcVar9;
            iVar15 = (int)pcVar9 - (int)path;
            if (cVar8 == '\0') {
              iVar11 = iVar15 + 0x1000;
              break;
            }
            iVar11 = iVar15 + 0x1000;
          }
        }
        pcVar3 = (char *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar11,1);
        *ppcVar4 = pcVar3;
        if (pcVar3 == (char *)0x0) {
          uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();
          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();
          uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);
          uVar13 = 0x5a6;
          do {
            (*(code *)PTR_ThrowMagickException_003a8f20)
                      (uVar5,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,
                       uVar13,700,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,uVar7);
            (*(code *)PTR_DestroyString_003a9074)(uVar7);
            (*(code *)PTR_CatchException_003a92b0)(uVar5);
            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);
            (*(code *)PTR_MagickCoreTerminus_003a98ec)();
            (*(code *)PTR__exit_003a9660)(1);
LAB_001d5e40:
            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();
            puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();
            uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);
            uVar13 = 0x59c;
          } while( true );
        }
        (*(code *)PTR_CopyMagickString_003a983c)(pcVar3,path,iVar15 + 1);
        iVar14 = iVar14 + 1;
        path = pcVar9 + 1;
        ppcVar4 = ppcVar4 + 1;
      } while (iVar14 < (int)*number_components);
      ppcVar4 = ppcVar2 + iVar14;
    }
    *ppcVar4 = (char *)0x0;
  }
  return ppcVar2;
}



int * FUN_001d5bdc(char *param_1,int *param_2)

{
  char cVar7;
  int iVar1;
  int *piVar2;
  int *piVar3;
  undefined4 uVar4;
  undefined4 *puVar5;
  undefined4 uVar6;
  char *pcVar8;
  int iVar9;
  int iVar10;
  undefined4 uVar11;
  
  if (param_1 == (char *)0x0) {
    piVar2 = (int *)0x0;
  }
  else {
    *param_2 = 1;
    cVar7 = *param_1;
    if (cVar7 == '\0') {
      iVar1 = 2;
    }
    else {
      iVar10 = 1;
      pcVar8 = param_1;
      do {
        iVar9 = iVar10 + 1;
        iVar1 = iVar9;
        if (cVar7 == '/') {
          iVar1 = iVar10 + 2;
          *param_2 = iVar9;
          iVar10 = iVar9;
        }
        pcVar8 = pcVar8 + 1;
        cVar7 = *pcVar8;
      } while (cVar7 != '\0');
    }
    piVar2 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1,4);
    if (piVar2 == (int *)0x0) goto LAB_001d5e40;
    iVar1 = 0;
    piVar3 = piVar2;
    if (0 < *param_2) {
      do {
        cVar7 = *param_1;
        iVar10 = 0x1000;
        pcVar8 = param_1;
        if (cVar7 == '\0') {
          iVar9 = 0;
        }
        else {
          iVar9 = 0;
          while (cVar7 != '/') {
            pcVar8 = pcVar8 + 1;
            cVar7 = *pcVar8;
            iVar9 = (int)pcVar8 - (int)param_1;
            if (cVar7 == '\0') {
              iVar10 = iVar9 + 0x1000;
              break;
            }
            iVar10 = iVar9 + 0x1000;
          }
        }
        iVar10 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar10,1);
        *piVar3 = iVar10;
        if (iVar10 == 0) {
          uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();
          puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();
          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);
          uVar11 = 0x5a6;
          do {
            (*(code *)PTR_ThrowMagickException_003a8f20)
                      (uVar4,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,
                       uVar11,700,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,uVar6);
            (*(code *)PTR_DestroyString_003a9074)(uVar6);
            (*(code *)PTR_CatchException_003a92b0)(uVar4);
            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar4);
            (*(code *)PTR_MagickCoreTerminus_003a98ec)();
            (*(code *)PTR__exit_003a9660)(1);
LAB_001d5e40:
            uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();
            puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();
            uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);
            uVar11 = 0x59c;
          } while( true );
        }
        (*(code *)PTR_CopyMagickString_003a983c)(iVar10,param_1,iVar9 + 1);
        iVar1 = iVar1 + 1;
        param_1 = pcVar8 + 1;
        piVar3 = piVar3 + 1;
      } while (iVar1 < *param_2);
      piVar3 = piVar2 + iVar1;
    }
    *piVar3 = 0;
  }
  return piVar2;
}


lui gp,0x1e
addiu gp,gp,-0x532c
addu gp,gp,t9
addiu sp,sp,-0x50
sw gp,0x20(sp)
sw ra,0x4c(sp)
sw s7,0x48(sp)
sw s6,0x44(sp)
sw s5,0x40(sp)
sw s4,0x3c(sp)
sw s3,0x38(sp)
sw s2,0x34(sp)
sw s1,0x30(sp)
beq a0,zero,0x001d5d70
_sw s0,0x2c(sp)
li v0,0x1
or s2,a0,zero
sw v0,0x0(a1)
lb v0,0x0(a0)
beq v0,zero,0x001d5d60
_or s5,a1,zero
li a1,0x1
li a2,0x2f
or v1,a0,zero
bne v0,a2,0x001d5c54
_addiu a0,a1,0x1
addiu v0,a1,0x2
sw a0,0x0(s5)
or a1,a0,zero
or a0,v0,zero
addiu v1,v1,0x1
lb v0,0x0(v1)
bne v0,zero,0x001d5c3c
_nop
lw t9,-0x73a4(gp)
jalr t9
_li a1,0x4
lw gp,0x20(sp)
beq v0,zero,0x001d5e40
_or s6,v0,zero
lw v0,0x0(s5)
blez v0,0x001d5d68
_or s3,zero,zero
li s1,0x2f
or s4,s6,zero
lb v0,0x0(s2)
beq v0,zero,0x001d5d4c
_li a0,0x1000
beq v0,s1,0x001d5d58
_or s7,zero,zero
b 0x001d5cb4
_or s0,s2,zero
beq v0,s1,0x001d5cc8
_addiu a0,s7,0x1000
addiu s0,s0,0x1
lb v0,0x0(s0)
bne v0,zero,0x001d5cac
_subu s7,s0,s2
addiu a0,s7,0x1000
lw t9,-0x73a4(gp)
jalr t9
_li a1,0x1
lw gp,0x20(sp)
beq v0,zero,0x001d5d78
_sw v0,0x0(s4)
lw t9,-0x7074(gp)
addiu a2,s7,0x1
or a1,s2,zero
jalr t9
_or a0,v0,zero
addiu s3,s3,0x1
lw v0,0x0(s5)
addiu s2,s0,0x1
lw gp,0x20(sp)
slt v0,s3,v0
bne v0,zero,0x001d5c90
_addiu s4,s4,0x4
sll v0,s3,0x2
addu v0,s6,v0
sw zero,0x0(v0)
lw ra,0x4c(sp)
or v0,s6,zero
lw s7,0x48(sp)
lw s6,0x44(sp)
lw s5,0x40(sp)
lw s4,0x3c(sp)
lw s3,0x38(sp)
lw s2,0x34(sp)
lw s1,0x30(sp)
lw s0,0x2c(sp)
jr ra
_addiu sp,sp,0x50
or s0,s2,zero
b 0x001d5cc8
_or s7,zero,zero
b 0x001d5cc8
_or s0,s2,zero
b 0x001d5c64
_li a0,0x2
b 0x001d5d18
_or v0,s6,zero
b 0x001d5d1c
_or s6,zero,zero
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,0x5a6
lw gp,0x20(sp)
or s1,v0,zero
lw v0,-0x7fd0(gp)
or a0,s0,zero
lw a2,-0x7fc4(gp)
lw a1,-0x7fc4(gp)
addiu v0,v0,0x3e28
lw t9,-0x7990(gp)
addiu a2,a2,-0x171c
sw s1,0x1c(sp)
sw v0,0x18(sp)
addiu a1,a1,-0x1a60
lw v0,-0x7fd0(gp)
addiu v0,v0,0x16f8
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
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,0x59c
lw gp,0x20(sp)
b 0x001d5db0
_or s1,v0,zero
(translation_unit "int * FUN_001d5bdc(char *param_1,int *param_2)\n\n{\n  char cVar7;\n  int iVar1;\n  int *piVar2;\n  int *piVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  undefined4 uVar6;\n  char *pcVar8;\n  int iVar9;\n  int iVar10;\n  undefined4 uVar11;\n  \n  if (param_1 == (char *)0x0) {\n    piVar2 = (int *)0x0;\n  }\n  else {\n    *param_2 = 1;\n    cVar7 = *param_1;\n    if (cVar7 == '\0') {\n      iVar1 = 2;\n    }\n    else {\n      iVar10 = 1;\n      pcVar8 = param_1;\n      do {\n        iVar9 = iVar10 + 1;\n        iVar1 = iVar9;\n        if (cVar7 == '/') {\n          iVar1 = iVar10 + 2;\n          *param_2 = iVar9;\n          iVar10 = iVar9;\n        }\n        pcVar8 = pcVar8 + 1;\n        cVar7 = *pcVar8;\n      } while (cVar7 != '\0');\n    }\n    piVar2 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1,4);\n    if (piVar2 == (int *)0x0) goto LAB_001d5e40;\n    iVar1 = 0;\n    piVar3 = piVar2;\n    if (0 < *param_2) {\n      do {\n        cVar7 = *param_1;\n        iVar10 = 0x1000;\n        pcVar8 = param_1;\n        if (cVar7 == '\0') {\n          iVar9 = 0;\n        }\n        else {\n          iVar9 = 0;\n          while (cVar7 != '/') {\n            pcVar8 = pcVar8 + 1;\n            cVar7 = *pcVar8;\n            iVar9 = (int)pcVar8 - (int)param_1;\n            if (cVar7 == '\0') {\n              iVar10 = iVar9 + 0x1000;\n              break;\n            }\n            iVar10 = iVar9 + 0x1000;\n          }\n        }\n        iVar10 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar10,1);\n        *piVar3 = iVar10;\n        if (iVar10 == 0) {\n          uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n          puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n          uVar11 = 0x5a6;\n          do {\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar4,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar11,700,PTR_LAB_003a88e0 + 0x16f8,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            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n            uVar11 = 0x59c;\n          } while( true );\n        }\n        (*(code *)PTR_CopyMagickString_003a983c)(iVar10,param_1,iVar9 + 1);\n        iVar1 = iVar1 + 1;\n        param_1 = pcVar8 + 1;\n        piVar3 = piVar3 + 1;\n      } while (iVar1 < *param_2);\n      piVar3 = piVar2 + iVar1;\n    }\n    *piVar3 = 0;\n  }\n  return piVar2;\n}\n\n" (function_definition "int * FUN_001d5bdc(char *param_1,int *param_2)\n\n{\n  char cVar7;\n  int iVar1;\n  int *piVar2;\n  int *piVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  undefined4 uVar6;\n  char *pcVar8;\n  int iVar9;\n  int iVar10;\n  undefined4 uVar11;\n  \n  if (param_1 == (char *)0x0) {\n    piVar2 = (int *)0x0;\n  }\n  else {\n    *param_2 = 1;\n    cVar7 = *param_1;\n    if (cVar7 == '\0') {\n      iVar1 = 2;\n    }\n    else {\n      iVar10 = 1;\n      pcVar8 = param_1;\n      do {\n        iVar9 = iVar10 + 1;\n        iVar1 = iVar9;\n        if (cVar7 == '/') {\n          iVar1 = iVar10 + 2;\n          *param_2 = iVar9;\n          iVar10 = iVar9;\n        }\n        pcVar8 = pcVar8 + 1;\n        cVar7 = *pcVar8;\n      } while (cVar7 != '\0');\n    }\n    piVar2 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1,4);\n    if (piVar2 == (int *)0x0) goto LAB_001d5e40;\n    iVar1 = 0;\n    piVar3 = piVar2;\n    if (0 < *param_2) {\n      do {\n        cVar7 = *param_1;\n        iVar10 = 0x1000;\n        pcVar8 = param_1;\n        if (cVar7 == '\0') {\n          iVar9 = 0;\n        }\n        else {\n          iVar9 = 0;\n          while (cVar7 != '/') {\n            pcVar8 = pcVar8 + 1;\n            cVar7 = *pcVar8;\n            iVar9 = (int)pcVar8 - (int)param_1;\n            if (cVar7 == '\0') {\n              iVar10 = iVar9 + 0x1000;\n              break;\n            }\n            iVar10 = iVar9 + 0x1000;\n          }\n        }\n        iVar10 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar10,1);\n        *piVar3 = iVar10;\n        if (iVar10 == 0) {\n          uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n          puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n          uVar11 = 0x5a6;\n          do {\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar4,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar11,700,PTR_LAB_003a88e0 + 0x16f8,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            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n            uVar11 = 0x59c;\n          } while( true );\n        }\n        (*(code *)PTR_CopyMagickString_003a983c)(iVar10,param_1,iVar9 + 1);\n        iVar1 = iVar1 + 1;\n        param_1 = pcVar8 + 1;\n        piVar3 = piVar3 + 1;\n      } while (iVar1 < *param_2);\n      piVar3 = piVar2 + iVar1;\n    }\n    *piVar3 = 0;\n  }\n  return piVar2;\n}" primitive_type (pointer_declarator "* FUN_001d5bdc(char *param_1,int *param_2)" * (function_declarator "FUN_001d5bdc(char *param_1,int *param_2)" identifier (parameter_list "(char *param_1,int *param_2)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) )))) (compound_statement "{\n  char cVar7;\n  int iVar1;\n  int *piVar2;\n  int *piVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  undefined4 uVar6;\n  char *pcVar8;\n  int iVar9;\n  int iVar10;\n  undefined4 uVar11;\n  \n  if (param_1 == (char *)0x0) {\n    piVar2 = (int *)0x0;\n  }\n  else {\n    *param_2 = 1;\n    cVar7 = *param_1;\n    if (cVar7 == '\0') {\n      iVar1 = 2;\n    }\n    else {\n      iVar10 = 1;\n      pcVar8 = param_1;\n      do {\n        iVar9 = iVar10 + 1;\n        iVar1 = iVar9;\n        if (cVar7 == '/') {\n          iVar1 = iVar10 + 2;\n          *param_2 = iVar9;\n          iVar10 = iVar9;\n        }\n        pcVar8 = pcVar8 + 1;\n        cVar7 = *pcVar8;\n      } while (cVar7 != '\0');\n    }\n    piVar2 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1,4);\n    if (piVar2 == (int *)0x0) goto LAB_001d5e40;\n    iVar1 = 0;\n    piVar3 = piVar2;\n    if (0 < *param_2) {\n      do {\n        cVar7 = *param_1;\n        iVar10 = 0x1000;\n        pcVar8 = param_1;\n        if (cVar7 == '\0') {\n          iVar9 = 0;\n        }\n        else {\n          iVar9 = 0;\n          while (cVar7 != '/') {\n            pcVar8 = pcVar8 + 1;\n            cVar7 = *pcVar8;\n            iVar9 = (int)pcVar8 - (int)param_1;\n            if (cVar7 == '\0') {\n              iVar10 = iVar9 + 0x1000;\n              break;\n            }\n            iVar10 = iVar9 + 0x1000;\n          }\n        }\n        iVar10 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar10,1);\n        *piVar3 = iVar10;\n        if (iVar10 == 0) {\n          uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n          puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n          uVar11 = 0x5a6;\n          do {\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar4,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar11,700,PTR_LAB_003a88e0 + 0x16f8,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            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n            uVar11 = 0x59c;\n          } while( true );\n        }\n        (*(code *)PTR_CopyMagickString_003a983c)(iVar10,param_1,iVar9 + 1);\n        iVar1 = iVar1 + 1;\n        param_1 = pcVar8 + 1;\n        piVar3 = piVar3 + 1;\n      } while (iVar1 < *param_2);\n      piVar3 = piVar2 + iVar1;\n    }\n    *piVar3 = 0;\n  }\n  return piVar2;\n}" { (declaration "char cVar7;" primitive_type identifier ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "undefined4 uVar11;" type_identifier identifier ;) (if_statement "if (param_1 == (char *)0x0) {\n    piVar2 = (int *)0x0;\n  }\n  else {\n    *param_2 = 1;\n    cVar7 = *param_1;\n    if (cVar7 == '\0') {\n      iVar1 = 2;\n    }\n    else {\n      iVar10 = 1;\n      pcVar8 = param_1;\n      do {\n        iVar9 = iVar10 + 1;\n        iVar1 = iVar9;\n        if (cVar7 == '/') {\n          iVar1 = iVar10 + 2;\n          *param_2 = iVar9;\n          iVar10 = iVar9;\n        }\n        pcVar8 = pcVar8 + 1;\n        cVar7 = *pcVar8;\n      } while (cVar7 != '\0');\n    }\n    piVar2 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1,4);\n    if (piVar2 == (int *)0x0) goto LAB_001d5e40;\n    iVar1 = 0;\n    piVar3 = piVar2;\n    if (0 < *param_2) {\n      do {\n        cVar7 = *param_1;\n        iVar10 = 0x1000;\n        pcVar8 = param_1;\n        if (cVar7 == '\0') {\n          iVar9 = 0;\n        }\n        else {\n          iVar9 = 0;\n          while (cVar7 != '/') {\n            pcVar8 = pcVar8 + 1;\n            cVar7 = *pcVar8;\n            iVar9 = (int)pcVar8 - (int)param_1;\n            if (cVar7 == '\0') {\n              iVar10 = iVar9 + 0x1000;\n              break;\n            }\n            iVar10 = iVar9 + 0x1000;\n          }\n        }\n        iVar10 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar10,1);\n        *piVar3 = iVar10;\n        if (iVar10 == 0) {\n          uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n          puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n          uVar11 = 0x5a6;\n          do {\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar4,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar11,700,PTR_LAB_003a88e0 + 0x16f8,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            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n            uVar11 = 0x59c;\n          } while( true );\n        }\n        (*(code *)PTR_CopyMagickString_003a983c)(iVar10,param_1,iVar9 + 1);\n        iVar1 = iVar1 + 1;\n        param_1 = pcVar8 + 1;\n        piVar3 = piVar3 + 1;\n      } while (iVar1 < *param_2);\n      piVar3 = piVar2 + iVar1;\n    }\n    *piVar3 = 0;\n  }" if (parenthesized_expression "(param_1 == (char *)0x0)" ( (binary_expression "param_1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    piVar2 = (int *)0x0;\n  }" { (expression_statement "piVar2 = (int *)0x0;" (assignment_expression "piVar2 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    *param_2 = 1;\n    cVar7 = *param_1;\n    if (cVar7 == '\0') {\n      iVar1 = 2;\n    }\n    else {\n      iVar10 = 1;\n      pcVar8 = param_1;\n      do {\n        iVar9 = iVar10 + 1;\n        iVar1 = iVar9;\n        if (cVar7 == '/') {\n          iVar1 = iVar10 + 2;\n          *param_2 = iVar9;\n          iVar10 = iVar9;\n        }\n        pcVar8 = pcVar8 + 1;\n        cVar7 = *pcVar8;\n      } while (cVar7 != '\0');\n    }\n    piVar2 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1,4);\n    if (piVar2 == (int *)0x0) goto LAB_001d5e40;\n    iVar1 = 0;\n    piVar3 = piVar2;\n    if (0 < *param_2) {\n      do {\n        cVar7 = *param_1;\n        iVar10 = 0x1000;\n        pcVar8 = param_1;\n        if (cVar7 == '\0') {\n          iVar9 = 0;\n        }\n        else {\n          iVar9 = 0;\n          while (cVar7 != '/') {\n            pcVar8 = pcVar8 + 1;\n            cVar7 = *pcVar8;\n            iVar9 = (int)pcVar8 - (int)param_1;\n            if (cVar7 == '\0') {\n              iVar10 = iVar9 + 0x1000;\n              break;\n            }\n            iVar10 = iVar9 + 0x1000;\n          }\n        }\n        iVar10 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar10,1);\n        *piVar3 = iVar10;\n        if (iVar10 == 0) {\n          uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n          puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n          uVar11 = 0x5a6;\n          do {\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar4,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar11,700,PTR_LAB_003a88e0 + 0x16f8,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            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n            uVar11 = 0x59c;\n          } while( true );\n        }\n        (*(code *)PTR_CopyMagickString_003a983c)(iVar10,param_1,iVar9 + 1);\n        iVar1 = iVar1 + 1;\n        param_1 = pcVar8 + 1;\n        piVar3 = piVar3 + 1;\n      } while (iVar1 < *param_2);\n      piVar3 = piVar2 + iVar1;\n    }\n    *piVar3 = 0;\n  }" else (compound_statement "{\n    *param_2 = 1;\n    cVar7 = *param_1;\n    if (cVar7 == '\0') {\n      iVar1 = 2;\n    }\n    else {\n      iVar10 = 1;\n      pcVar8 = param_1;\n      do {\n        iVar9 = iVar10 + 1;\n        iVar1 = iVar9;\n        if (cVar7 == '/') {\n          iVar1 = iVar10 + 2;\n          *param_2 = iVar9;\n          iVar10 = iVar9;\n        }\n        pcVar8 = pcVar8 + 1;\n        cVar7 = *pcVar8;\n      } while (cVar7 != '\0');\n    }\n    piVar2 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1,4);\n    if (piVar2 == (int *)0x0) goto LAB_001d5e40;\n    iVar1 = 0;\n    piVar3 = piVar2;\n    if (0 < *param_2) {\n      do {\n        cVar7 = *param_1;\n        iVar10 = 0x1000;\n        pcVar8 = param_1;\n        if (cVar7 == '\0') {\n          iVar9 = 0;\n        }\n        else {\n          iVar9 = 0;\n          while (cVar7 != '/') {\n            pcVar8 = pcVar8 + 1;\n            cVar7 = *pcVar8;\n            iVar9 = (int)pcVar8 - (int)param_1;\n            if (cVar7 == '\0') {\n              iVar10 = iVar9 + 0x1000;\n              break;\n            }\n            iVar10 = iVar9 + 0x1000;\n          }\n        }\n        iVar10 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar10,1);\n        *piVar3 = iVar10;\n        if (iVar10 == 0) {\n          uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n          puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n          uVar11 = 0x5a6;\n          do {\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar4,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar11,700,PTR_LAB_003a88e0 + 0x16f8,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            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n            uVar11 = 0x59c;\n          } while( true );\n        }\n        (*(code *)PTR_CopyMagickString_003a983c)(iVar10,param_1,iVar9 + 1);\n        iVar1 = iVar1 + 1;\n        param_1 = pcVar8 + 1;\n        piVar3 = piVar3 + 1;\n      } while (iVar1 < *param_2);\n      piVar3 = piVar2 + iVar1;\n    }\n    *piVar3 = 0;\n  }" { (expression_statement "*param_2 = 1;" (assignment_expression "*param_2 = 1" (pointer_expression "*param_2" * identifier) = number_literal) ;) (expression_statement "cVar7 = *param_1;" (assignment_expression "cVar7 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (cVar7 == '\0') {\n      iVar1 = 2;\n    }\n    else {\n      iVar10 = 1;\n      pcVar8 = param_1;\n      do {\n        iVar9 = iVar10 + 1;\n        iVar1 = iVar9;\n        if (cVar7 == '/') {\n          iVar1 = iVar10 + 2;\n          *param_2 = iVar9;\n          iVar10 = iVar9;\n        }\n        pcVar8 = pcVar8 + 1;\n        cVar7 = *pcVar8;\n      } while (cVar7 != '\0');\n    }" if (parenthesized_expression "(cVar7 == '\0')" ( (binary_expression "cVar7 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      iVar1 = 2;\n    }" { (expression_statement "iVar1 = 2;" (assignment_expression "iVar1 = 2" identifier = number_literal) ;) }) (else_clause "else {\n      iVar10 = 1;\n      pcVar8 = param_1;\n      do {\n        iVar9 = iVar10 + 1;\n        iVar1 = iVar9;\n        if (cVar7 == '/') {\n          iVar1 = iVar10 + 2;\n          *param_2 = iVar9;\n          iVar10 = iVar9;\n        }\n        pcVar8 = pcVar8 + 1;\n        cVar7 = *pcVar8;\n      } while (cVar7 != '\0');\n    }" else (compound_statement "{\n      iVar10 = 1;\n      pcVar8 = param_1;\n      do {\n        iVar9 = iVar10 + 1;\n        iVar1 = iVar9;\n        if (cVar7 == '/') {\n          iVar1 = iVar10 + 2;\n          *param_2 = iVar9;\n          iVar10 = iVar9;\n        }\n        pcVar8 = pcVar8 + 1;\n        cVar7 = *pcVar8;\n      } while (cVar7 != '\0');\n    }" { (expression_statement "iVar10 = 1;" (assignment_expression "iVar10 = 1" identifier = number_literal) ;) (expression_statement "pcVar8 = param_1;" (assignment_expression "pcVar8 = param_1" identifier = identifier) ;) (do_statement "do {\n        iVar9 = iVar10 + 1;\n        iVar1 = iVar9;\n        if (cVar7 == '/') {\n          iVar1 = iVar10 + 2;\n          *param_2 = iVar9;\n          iVar10 = iVar9;\n        }\n        pcVar8 = pcVar8 + 1;\n        cVar7 = *pcVar8;\n      } while (cVar7 != '\0');" do (compound_statement "{\n        iVar9 = iVar10 + 1;\n        iVar1 = iVar9;\n        if (cVar7 == '/') {\n          iVar1 = iVar10 + 2;\n          *param_2 = iVar9;\n          iVar10 = iVar9;\n        }\n        pcVar8 = pcVar8 + 1;\n        cVar7 = *pcVar8;\n      }" { (expression_statement "iVar9 = iVar10 + 1;" (assignment_expression "iVar9 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (expression_statement "iVar1 = iVar9;" (assignment_expression "iVar1 = iVar9" identifier = identifier) ;) (if_statement "if (cVar7 == '/') {\n          iVar1 = iVar10 + 2;\n          *param_2 = iVar9;\n          iVar10 = iVar9;\n        }" if (parenthesized_expression "(cVar7 == '/')" ( (binary_expression "cVar7 == '/'" identifier == (char_literal "'/'" ' character ')) )) (compound_statement "{\n          iVar1 = iVar10 + 2;\n          *param_2 = iVar9;\n          iVar10 = iVar9;\n        }" { (expression_statement "iVar1 = iVar10 + 2;" (assignment_expression "iVar1 = iVar10 + 2" identifier = (binary_expression "iVar10 + 2" identifier + number_literal)) ;) (expression_statement "*param_2 = iVar9;" (assignment_expression "*param_2 = iVar9" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "iVar10 = iVar9;" (assignment_expression "iVar10 = iVar9" identifier = identifier) ;) })) (expression_statement "pcVar8 = pcVar8 + 1;" (assignment_expression "pcVar8 = pcVar8 + 1" identifier = (binary_expression "pcVar8 + 1" identifier + number_literal)) ;) (expression_statement "cVar7 = *pcVar8;" (assignment_expression "cVar7 = *pcVar8" identifier = (pointer_expression "*pcVar8" * identifier)) ;) }) while (parenthesized_expression "(cVar7 != '\0')" ( (binary_expression "cVar7 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) ;) }))) (expression_statement "piVar2 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1,4);" (assignment_expression "piVar2 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1,4)" identifier = (cast_expression "(int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1,4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1,4)" (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,4)" ( identifier , number_literal ))))) ;) (if_statement "if (piVar2 == (int *)0x0) goto LAB_001d5e40;" if (parenthesized_expression "(piVar2 == (int *)0x0)" ( (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_001d5e40;" goto statement_identifier ;)) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (expression_statement "piVar3 = piVar2;" (assignment_expression "piVar3 = piVar2" identifier = identifier) ;) (if_statement "if (0 < *param_2) {\n      do {\n        cVar7 = *param_1;\n        iVar10 = 0x1000;\n        pcVar8 = param_1;\n        if (cVar7 == '\0') {\n          iVar9 = 0;\n        }\n        else {\n          iVar9 = 0;\n          while (cVar7 != '/') {\n            pcVar8 = pcVar8 + 1;\n            cVar7 = *pcVar8;\n            iVar9 = (int)pcVar8 - (int)param_1;\n            if (cVar7 == '\0') {\n              iVar10 = iVar9 + 0x1000;\n              break;\n            }\n            iVar10 = iVar9 + 0x1000;\n          }\n        }\n        iVar10 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar10,1);\n        *piVar3 = iVar10;\n        if (iVar10 == 0) {\n          uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n          puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n          uVar11 = 0x5a6;\n          do {\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar4,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar11,700,PTR_LAB_003a88e0 + 0x16f8,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            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n            uVar11 = 0x59c;\n          } while( true );\n        }\n        (*(code *)PTR_CopyMagickString_003a983c)(iVar10,param_1,iVar9 + 1);\n        iVar1 = iVar1 + 1;\n        param_1 = pcVar8 + 1;\n        piVar3 = piVar3 + 1;\n      } while (iVar1 < *param_2);\n      piVar3 = piVar2 + iVar1;\n    }" if (parenthesized_expression "(0 < *param_2)" ( (binary_expression "0 < *param_2" number_literal < (pointer_expression "*param_2" * identifier)) )) (compound_statement "{\n      do {\n        cVar7 = *param_1;\n        iVar10 = 0x1000;\n        pcVar8 = param_1;\n        if (cVar7 == '\0') {\n          iVar9 = 0;\n        }\n        else {\n          iVar9 = 0;\n          while (cVar7 != '/') {\n            pcVar8 = pcVar8 + 1;\n            cVar7 = *pcVar8;\n            iVar9 = (int)pcVar8 - (int)param_1;\n            if (cVar7 == '\0') {\n              iVar10 = iVar9 + 0x1000;\n              break;\n            }\n            iVar10 = iVar9 + 0x1000;\n          }\n        }\n        iVar10 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar10,1);\n        *piVar3 = iVar10;\n        if (iVar10 == 0) {\n          uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n          puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n          uVar11 = 0x5a6;\n          do {\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar4,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar11,700,PTR_LAB_003a88e0 + 0x16f8,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            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n            uVar11 = 0x59c;\n          } while( true );\n        }\n        (*(code *)PTR_CopyMagickString_003a983c)(iVar10,param_1,iVar9 + 1);\n        iVar1 = iVar1 + 1;\n        param_1 = pcVar8 + 1;\n        piVar3 = piVar3 + 1;\n      } while (iVar1 < *param_2);\n      piVar3 = piVar2 + iVar1;\n    }" { (do_statement "do {\n        cVar7 = *param_1;\n        iVar10 = 0x1000;\n        pcVar8 = param_1;\n        if (cVar7 == '\0') {\n          iVar9 = 0;\n        }\n        else {\n          iVar9 = 0;\n          while (cVar7 != '/') {\n            pcVar8 = pcVar8 + 1;\n            cVar7 = *pcVar8;\n            iVar9 = (int)pcVar8 - (int)param_1;\n            if (cVar7 == '\0') {\n              iVar10 = iVar9 + 0x1000;\n              break;\n            }\n            iVar10 = iVar9 + 0x1000;\n          }\n        }\n        iVar10 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar10,1);\n        *piVar3 = iVar10;\n        if (iVar10 == 0) {\n          uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n          puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n          uVar11 = 0x5a6;\n          do {\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar4,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar11,700,PTR_LAB_003a88e0 + 0x16f8,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            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n            uVar11 = 0x59c;\n          } while( true );\n        }\n        (*(code *)PTR_CopyMagickString_003a983c)(iVar10,param_1,iVar9 + 1);\n        iVar1 = iVar1 + 1;\n        param_1 = pcVar8 + 1;\n        piVar3 = piVar3 + 1;\n      } while (iVar1 < *param_2);" do (compound_statement "{\n        cVar7 = *param_1;\n        iVar10 = 0x1000;\n        pcVar8 = param_1;\n        if (cVar7 == '\0') {\n          iVar9 = 0;\n        }\n        else {\n          iVar9 = 0;\n          while (cVar7 != '/') {\n            pcVar8 = pcVar8 + 1;\n            cVar7 = *pcVar8;\n            iVar9 = (int)pcVar8 - (int)param_1;\n            if (cVar7 == '\0') {\n              iVar10 = iVar9 + 0x1000;\n              break;\n            }\n            iVar10 = iVar9 + 0x1000;\n          }\n        }\n        iVar10 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar10,1);\n        *piVar3 = iVar10;\n        if (iVar10 == 0) {\n          uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n          puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n          uVar11 = 0x5a6;\n          do {\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar4,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar11,700,PTR_LAB_003a88e0 + 0x16f8,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            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n            uVar11 = 0x59c;\n          } while( true );\n        }\n        (*(code *)PTR_CopyMagickString_003a983c)(iVar10,param_1,iVar9 + 1);\n        iVar1 = iVar1 + 1;\n        param_1 = pcVar8 + 1;\n        piVar3 = piVar3 + 1;\n      }" { (expression_statement "cVar7 = *param_1;" (assignment_expression "cVar7 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar10 = 0x1000;" (assignment_expression "iVar10 = 0x1000" identifier = number_literal) ;) (expression_statement "pcVar8 = param_1;" (assignment_expression "pcVar8 = param_1" identifier = identifier) ;) (if_statement "if (cVar7 == '\0') {\n          iVar9 = 0;\n        }\n        else {\n          iVar9 = 0;\n          while (cVar7 != '/') {\n            pcVar8 = pcVar8 + 1;\n            cVar7 = *pcVar8;\n            iVar9 = (int)pcVar8 - (int)param_1;\n            if (cVar7 == '\0') {\n              iVar10 = iVar9 + 0x1000;\n              break;\n            }\n            iVar10 = iVar9 + 0x1000;\n          }\n        }" if (parenthesized_expression "(cVar7 == '\0')" ( (binary_expression "cVar7 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          iVar9 = 0;\n        }" { (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) }) (else_clause "else {\n          iVar9 = 0;\n          while (cVar7 != '/') {\n            pcVar8 = pcVar8 + 1;\n            cVar7 = *pcVar8;\n            iVar9 = (int)pcVar8 - (int)param_1;\n            if (cVar7 == '\0') {\n              iVar10 = iVar9 + 0x1000;\n              break;\n            }\n            iVar10 = iVar9 + 0x1000;\n          }\n        }" else (compound_statement "{\n          iVar9 = 0;\n          while (cVar7 != '/') {\n            pcVar8 = pcVar8 + 1;\n            cVar7 = *pcVar8;\n            iVar9 = (int)pcVar8 - (int)param_1;\n            if (cVar7 == '\0') {\n              iVar10 = iVar9 + 0x1000;\n              break;\n            }\n            iVar10 = iVar9 + 0x1000;\n          }\n        }" { (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) (while_statement "while (cVar7 != '/') {\n            pcVar8 = pcVar8 + 1;\n            cVar7 = *pcVar8;\n            iVar9 = (int)pcVar8 - (int)param_1;\n            if (cVar7 == '\0') {\n              iVar10 = iVar9 + 0x1000;\n              break;\n            }\n            iVar10 = iVar9 + 0x1000;\n          }" while (parenthesized_expression "(cVar7 != '/')" ( (binary_expression "cVar7 != '/'" identifier != (char_literal "'/'" ' character ')) )) (compound_statement "{\n            pcVar8 = pcVar8 + 1;\n            cVar7 = *pcVar8;\n            iVar9 = (int)pcVar8 - (int)param_1;\n            if (cVar7 == '\0') {\n              iVar10 = iVar9 + 0x1000;\n              break;\n            }\n            iVar10 = iVar9 + 0x1000;\n          }" { (expression_statement "pcVar8 = pcVar8 + 1;" (assignment_expression "pcVar8 = pcVar8 + 1" identifier = (binary_expression "pcVar8 + 1" identifier + number_literal)) ;) (expression_statement "cVar7 = *pcVar8;" (assignment_expression "cVar7 = *pcVar8" identifier = (pointer_expression "*pcVar8" * identifier)) ;) (expression_statement "iVar9 = (int)pcVar8 - (int)param_1;" (assignment_expression "iVar9 = (int)pcVar8 - (int)param_1" identifier = (binary_expression "(int)pcVar8 - (int)param_1" (cast_expression "(int)pcVar8" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if (cVar7 == '\0') {\n              iVar10 = iVar9 + 0x1000;\n              break;\n            }" if (parenthesized_expression "(cVar7 == '\0')" ( (binary_expression "cVar7 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n              iVar10 = iVar9 + 0x1000;\n              break;\n            }" { (expression_statement "iVar10 = iVar9 + 0x1000;" (assignment_expression "iVar10 = iVar9 + 0x1000" identifier = (binary_expression "iVar9 + 0x1000" identifier + number_literal)) ;) (break_statement "break;" break ;) })) (expression_statement "iVar10 = iVar9 + 0x1000;" (assignment_expression "iVar10 = iVar9 + 0x1000" identifier = (binary_expression "iVar9 + 0x1000" identifier + number_literal)) ;) })) }))) (expression_statement "iVar10 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar10,1);" (assignment_expression "iVar10 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar10,1)" identifier = (call_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar10,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 "(iVar10,1)" ( identifier , number_literal )))) ;) (expression_statement "*piVar3 = iVar10;" (assignment_expression "*piVar3 = iVar10" (pointer_expression "*piVar3" * identifier) = identifier) ;) (if_statement "if (iVar10 == 0) {\n          uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n          puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n          uVar11 = 0x5a6;\n          do {\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar4,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar11,700,PTR_LAB_003a88e0 + 0x16f8,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            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n            uVar11 = 0x59c;\n          } while( true );\n        }" if (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) (compound_statement "{\n          uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n          puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n          uVar11 = 0x5a6;\n          do {\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar4,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar11,700,PTR_LAB_003a88e0 + 0x16f8,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            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n            uVar11 = 0x59c;\n          } while( true );\n        }" { (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 "uVar11 = 0x5a6;" (assignment_expression "uVar11 = 0x5a6" identifier = number_literal) ;) (do_statement "do {\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar4,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar11,700,PTR_LAB_003a88e0 + 0x16f8,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            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n            uVar11 = 0x59c;\n          } while( true );" do (compound_statement "{\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar4,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar11,700,PTR_LAB_003a88e0 + 0x16f8,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            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n            uVar11 = 0x59c;\n          }" { (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar4,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar11,700,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,uVar6);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar4,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar11,700,PTR_LAB_003a88e0 + 0x16f8,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 + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar11,700,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,uVar6)" ( identifier , (binary_expression "PTR_s_courses_003a88ec + -0x1a60" identifier + number_literal) , (binary_expression "PTR_s_courses_003a88ec + -0x171c" identifier + number_literal) , identifier , number_literal , (binary_expression "PTR_LAB_003a88e0 + 0x16f8" 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 "(*(code *)PTR__exit_003a9660)(1);" (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 ))) ;) (labeled_statement "LAB_001d5e40:\n            uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();" statement_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 "uVar11 = 0x59c;" (assignment_expression "uVar11 = 0x59c" identifier = number_literal) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) (expression_statement "(*(code *)PTR_CopyMagickString_003a983c)(iVar10,param_1,iVar9 + 1);" (call_expression "(*(code *)PTR_CopyMagickString_003a983c)(iVar10,param_1,iVar9 + 1)" (parenthesized_expression "(*(code *)PTR_CopyMagickString_003a983c)" ( (pointer_expression "*(code *)PTR_CopyMagickString_003a983c" * (cast_expression "(code *)PTR_CopyMagickString_003a983c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar10,param_1,iVar9 + 1)" ( identifier , identifier , (binary_expression "iVar9 + 1" identifier + number_literal) ))) ;) (expression_statement "iVar1 = iVar1 + 1;" (assignment_expression "iVar1 = iVar1 + 1" identifier = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) (expression_statement "param_1 = pcVar8 + 1;" (assignment_expression "param_1 = pcVar8 + 1" identifier = (binary_expression "pcVar8 + 1" identifier + number_literal)) ;) (expression_statement "piVar3 = piVar3 + 1;" (assignment_expression "piVar3 = piVar3 + 1" identifier = (binary_expression "piVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar1 < *param_2)" ( (binary_expression "iVar1 < *param_2" identifier < (pointer_expression "*param_2" * identifier)) )) ;) (expression_statement "piVar3 = piVar2 + iVar1;" (assignment_expression "piVar3 = piVar2 + iVar1" identifier = (binary_expression "piVar2 + iVar1" identifier + identifier)) ;) })) (expression_statement "*piVar3 = 0;" (assignment_expression "*piVar3 = 0" (pointer_expression "*piVar3" * identifier) = number_literal) ;) }))) (return_statement "return piVar2;" return identifier ;) })))
(translation_unit "char ** GetPathComponents(char *path,size_t *number_components)\n\n{\n  char *fatal_message;\n  char cVar8;\n  size_t sVar1;\n  char **ppcVar2;\n  char *pcVar3;\n  char **ppcVar4;\n  undefined4 uVar5;\n  undefined4 *puVar6;\n  undefined4 uVar7;\n  char *pcVar9;\n  size_t sVar10;\n  int iVar11;\n  size_t sVar12;\n  undefined4 uVar13;\n  int iVar14;\n  int iVar15;\n  \n  if (path == (char *)0x0) {\n    ppcVar2 = (char **)0x0;\n  }\n  else {\n    *number_components = 1;\n    cVar8 = *path;\n    if (cVar8 == '\0') {\n      sVar1 = 2;\n    }\n    else {\n      sVar12 = 1;\n      pcVar9 = path;\n      do {\n        sVar10 = sVar12 + 1;\n        sVar1 = sVar10;\n        if (cVar8 == '/') {\n          sVar1 = sVar12 + 2;\n          *number_components = sVar10;\n          sVar12 = sVar10;\n        }\n        pcVar9 = pcVar9 + 1;\n        cVar8 = *pcVar9;\n      } while (cVar8 != '\0');\n    }\n    ppcVar2 = (char **)(*(code *)PTR_AcquireQuantumMemory_003a950c)(sVar1,4);\n    if (ppcVar2 == (char **)0x0) goto LAB_001d5e40;\n    iVar14 = 0;\n    ppcVar4 = ppcVar2;\n    if (0 < (int)*number_components) {\n      do {\n        cVar8 = *path;\n        iVar11 = 0x1000;\n        pcVar9 = path;\n        if (cVar8 == '\0') {\n          iVar15 = 0;\n        }\n        else {\n          iVar15 = 0;\n          while (cVar8 != '/') {\n            pcVar9 = pcVar9 + 1;\n            cVar8 = *pcVar9;\n            iVar15 = (int)pcVar9 - (int)path;\n            if (cVar8 == '\0') {\n              iVar11 = iVar15 + 0x1000;\n              break;\n            }\n            iVar11 = iVar15 + 0x1000;\n          }\n        }\n        pcVar3 = (char *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar11,1);\n        *ppcVar4 = pcVar3;\n        if (pcVar3 == (char *)0x0) {\n          uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n          uVar13 = 0x5a6;\n          do {\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar5,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar13,700,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,uVar7);\n            (*(code *)PTR_DestroyString_003a9074)(uVar7);\n            (*(code *)PTR_CatchException_003a92b0)(uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            (*(code *)PTR_MagickCoreTerminus_003a98ec)();\n            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n            uVar13 = 0x59c;\n          } while( true );\n        }\n        (*(code *)PTR_CopyMagickString_003a983c)(pcVar3,path,iVar15 + 1);\n        iVar14 = iVar14 + 1;\n        path = pcVar9 + 1;\n        ppcVar4 = ppcVar4 + 1;\n      } while (iVar14 < (int)*number_components);\n      ppcVar4 = ppcVar2 + iVar14;\n    }\n    *ppcVar4 = (char *)0x0;\n  }\n  return ppcVar2;\n}\n\n" (function_definition "char ** GetPathComponents(char *path,size_t *number_components)\n\n{\n  char *fatal_message;\n  char cVar8;\n  size_t sVar1;\n  char **ppcVar2;\n  char *pcVar3;\n  char **ppcVar4;\n  undefined4 uVar5;\n  undefined4 *puVar6;\n  undefined4 uVar7;\n  char *pcVar9;\n  size_t sVar10;\n  int iVar11;\n  size_t sVar12;\n  undefined4 uVar13;\n  int iVar14;\n  int iVar15;\n  \n  if (path == (char *)0x0) {\n    ppcVar2 = (char **)0x0;\n  }\n  else {\n    *number_components = 1;\n    cVar8 = *path;\n    if (cVar8 == '\0') {\n      sVar1 = 2;\n    }\n    else {\n      sVar12 = 1;\n      pcVar9 = path;\n      do {\n        sVar10 = sVar12 + 1;\n        sVar1 = sVar10;\n        if (cVar8 == '/') {\n          sVar1 = sVar12 + 2;\n          *number_components = sVar10;\n          sVar12 = sVar10;\n        }\n        pcVar9 = pcVar9 + 1;\n        cVar8 = *pcVar9;\n      } while (cVar8 != '\0');\n    }\n    ppcVar2 = (char **)(*(code *)PTR_AcquireQuantumMemory_003a950c)(sVar1,4);\n    if (ppcVar2 == (char **)0x0) goto LAB_001d5e40;\n    iVar14 = 0;\n    ppcVar4 = ppcVar2;\n    if (0 < (int)*number_components) {\n      do {\n        cVar8 = *path;\n        iVar11 = 0x1000;\n        pcVar9 = path;\n        if (cVar8 == '\0') {\n          iVar15 = 0;\n        }\n        else {\n          iVar15 = 0;\n          while (cVar8 != '/') {\n            pcVar9 = pcVar9 + 1;\n            cVar8 = *pcVar9;\n            iVar15 = (int)pcVar9 - (int)path;\n            if (cVar8 == '\0') {\n              iVar11 = iVar15 + 0x1000;\n              break;\n            }\n            iVar11 = iVar15 + 0x1000;\n          }\n        }\n        pcVar3 = (char *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar11,1);\n        *ppcVar4 = pcVar3;\n        if (pcVar3 == (char *)0x0) {\n          uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n          uVar13 = 0x5a6;\n          do {\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar5,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar13,700,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,uVar7);\n            (*(code *)PTR_DestroyString_003a9074)(uVar7);\n            (*(code *)PTR_CatchException_003a92b0)(uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            (*(code *)PTR_MagickCoreTerminus_003a98ec)();\n            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n            uVar13 = 0x59c;\n          } while( true );\n        }\n        (*(code *)PTR_CopyMagickString_003a983c)(pcVar3,path,iVar15 + 1);\n        iVar14 = iVar14 + 1;\n        path = pcVar9 + 1;\n        ppcVar4 = ppcVar4 + 1;\n      } while (iVar14 < (int)*number_components);\n      ppcVar4 = ppcVar2 + iVar14;\n    }\n    *ppcVar4 = (char *)0x0;\n  }\n  return ppcVar2;\n}" primitive_type (pointer_declarator "** GetPathComponents(char *path,size_t *number_components)" * (pointer_declarator "* GetPathComponents(char *path,size_t *number_components)" * (function_declarator "GetPathComponents(char *path,size_t *number_components)" identifier (parameter_list "(char *path,size_t *number_components)" ( (parameter_declaration "char *path" primitive_type (pointer_declarator "*path" * identifier)) , (parameter_declaration "size_t *number_components" primitive_type (pointer_declarator "*number_components" * identifier)) ))))) (compound_statement "{\n  char *fatal_message;\n  char cVar8;\n  size_t sVar1;\n  char **ppcVar2;\n  char *pcVar3;\n  char **ppcVar4;\n  undefined4 uVar5;\n  undefined4 *puVar6;\n  undefined4 uVar7;\n  char *pcVar9;\n  size_t sVar10;\n  int iVar11;\n  size_t sVar12;\n  undefined4 uVar13;\n  int iVar14;\n  int iVar15;\n  \n  if (path == (char *)0x0) {\n    ppcVar2 = (char **)0x0;\n  }\n  else {\n    *number_components = 1;\n    cVar8 = *path;\n    if (cVar8 == '\0') {\n      sVar1 = 2;\n    }\n    else {\n      sVar12 = 1;\n      pcVar9 = path;\n      do {\n        sVar10 = sVar12 + 1;\n        sVar1 = sVar10;\n        if (cVar8 == '/') {\n          sVar1 = sVar12 + 2;\n          *number_components = sVar10;\n          sVar12 = sVar10;\n        }\n        pcVar9 = pcVar9 + 1;\n        cVar8 = *pcVar9;\n      } while (cVar8 != '\0');\n    }\n    ppcVar2 = (char **)(*(code *)PTR_AcquireQuantumMemory_003a950c)(sVar1,4);\n    if (ppcVar2 == (char **)0x0) goto LAB_001d5e40;\n    iVar14 = 0;\n    ppcVar4 = ppcVar2;\n    if (0 < (int)*number_components) {\n      do {\n        cVar8 = *path;\n        iVar11 = 0x1000;\n        pcVar9 = path;\n        if (cVar8 == '\0') {\n          iVar15 = 0;\n        }\n        else {\n          iVar15 = 0;\n          while (cVar8 != '/') {\n            pcVar9 = pcVar9 + 1;\n            cVar8 = *pcVar9;\n            iVar15 = (int)pcVar9 - (int)path;\n            if (cVar8 == '\0') {\n              iVar11 = iVar15 + 0x1000;\n              break;\n            }\n            iVar11 = iVar15 + 0x1000;\n          }\n        }\n        pcVar3 = (char *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar11,1);\n        *ppcVar4 = pcVar3;\n        if (pcVar3 == (char *)0x0) {\n          uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n          uVar13 = 0x5a6;\n          do {\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar5,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar13,700,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,uVar7);\n            (*(code *)PTR_DestroyString_003a9074)(uVar7);\n            (*(code *)PTR_CatchException_003a92b0)(uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            (*(code *)PTR_MagickCoreTerminus_003a98ec)();\n            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n            uVar13 = 0x59c;\n          } while( true );\n        }\n        (*(code *)PTR_CopyMagickString_003a983c)(pcVar3,path,iVar15 + 1);\n        iVar14 = iVar14 + 1;\n        path = pcVar9 + 1;\n        ppcVar4 = ppcVar4 + 1;\n      } while (iVar14 < (int)*number_components);\n      ppcVar4 = ppcVar2 + iVar14;\n    }\n    *ppcVar4 = (char *)0x0;\n  }\n  return ppcVar2;\n}" { (declaration "char *fatal_message;" primitive_type (pointer_declarator "*fatal_message" * identifier) ;) (declaration "char cVar8;" primitive_type identifier ;) (declaration "size_t sVar1;" primitive_type identifier ;) (declaration "char **ppcVar2;" primitive_type (pointer_declarator "**ppcVar2" * (pointer_declarator "*ppcVar2" * identifier)) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "char **ppcVar4;" primitive_type (pointer_declarator "**ppcVar4" * (pointer_declarator "*ppcVar4" * identifier)) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "size_t sVar10;" primitive_type identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "size_t sVar12;" primitive_type identifier ;) (declaration "undefined4 uVar13;" type_identifier identifier ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "int iVar15;" primitive_type identifier ;) (if_statement "if (path == (char *)0x0) {\n    ppcVar2 = (char **)0x0;\n  }\n  else {\n    *number_components = 1;\n    cVar8 = *path;\n    if (cVar8 == '\0') {\n      sVar1 = 2;\n    }\n    else {\n      sVar12 = 1;\n      pcVar9 = path;\n      do {\n        sVar10 = sVar12 + 1;\n        sVar1 = sVar10;\n        if (cVar8 == '/') {\n          sVar1 = sVar12 + 2;\n          *number_components = sVar10;\n          sVar12 = sVar10;\n        }\n        pcVar9 = pcVar9 + 1;\n        cVar8 = *pcVar9;\n      } while (cVar8 != '\0');\n    }\n    ppcVar2 = (char **)(*(code *)PTR_AcquireQuantumMemory_003a950c)(sVar1,4);\n    if (ppcVar2 == (char **)0x0) goto LAB_001d5e40;\n    iVar14 = 0;\n    ppcVar4 = ppcVar2;\n    if (0 < (int)*number_components) {\n      do {\n        cVar8 = *path;\n        iVar11 = 0x1000;\n        pcVar9 = path;\n        if (cVar8 == '\0') {\n          iVar15 = 0;\n        }\n        else {\n          iVar15 = 0;\n          while (cVar8 != '/') {\n            pcVar9 = pcVar9 + 1;\n            cVar8 = *pcVar9;\n            iVar15 = (int)pcVar9 - (int)path;\n            if (cVar8 == '\0') {\n              iVar11 = iVar15 + 0x1000;\n              break;\n            }\n            iVar11 = iVar15 + 0x1000;\n          }\n        }\n        pcVar3 = (char *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar11,1);\n        *ppcVar4 = pcVar3;\n        if (pcVar3 == (char *)0x0) {\n          uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n          uVar13 = 0x5a6;\n          do {\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar5,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar13,700,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,uVar7);\n            (*(code *)PTR_DestroyString_003a9074)(uVar7);\n            (*(code *)PTR_CatchException_003a92b0)(uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            (*(code *)PTR_MagickCoreTerminus_003a98ec)();\n            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n            uVar13 = 0x59c;\n          } while( true );\n        }\n        (*(code *)PTR_CopyMagickString_003a983c)(pcVar3,path,iVar15 + 1);\n        iVar14 = iVar14 + 1;\n        path = pcVar9 + 1;\n        ppcVar4 = ppcVar4 + 1;\n      } while (iVar14 < (int)*number_components);\n      ppcVar4 = ppcVar2 + iVar14;\n    }\n    *ppcVar4 = (char *)0x0;\n  }" if (parenthesized_expression "(path == (char *)0x0)" ( (binary_expression "path == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    ppcVar2 = (char **)0x0;\n  }" { (expression_statement "ppcVar2 = (char **)0x0;" (assignment_expression "ppcVar2 = (char **)0x0" identifier = (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) ;) }) (else_clause "else {\n    *number_components = 1;\n    cVar8 = *path;\n    if (cVar8 == '\0') {\n      sVar1 = 2;\n    }\n    else {\n      sVar12 = 1;\n      pcVar9 = path;\n      do {\n        sVar10 = sVar12 + 1;\n        sVar1 = sVar10;\n        if (cVar8 == '/') {\n          sVar1 = sVar12 + 2;\n          *number_components = sVar10;\n          sVar12 = sVar10;\n        }\n        pcVar9 = pcVar9 + 1;\n        cVar8 = *pcVar9;\n      } while (cVar8 != '\0');\n    }\n    ppcVar2 = (char **)(*(code *)PTR_AcquireQuantumMemory_003a950c)(sVar1,4);\n    if (ppcVar2 == (char **)0x0) goto LAB_001d5e40;\n    iVar14 = 0;\n    ppcVar4 = ppcVar2;\n    if (0 < (int)*number_components) {\n      do {\n        cVar8 = *path;\n        iVar11 = 0x1000;\n        pcVar9 = path;\n        if (cVar8 == '\0') {\n          iVar15 = 0;\n        }\n        else {\n          iVar15 = 0;\n          while (cVar8 != '/') {\n            pcVar9 = pcVar9 + 1;\n            cVar8 = *pcVar9;\n            iVar15 = (int)pcVar9 - (int)path;\n            if (cVar8 == '\0') {\n              iVar11 = iVar15 + 0x1000;\n              break;\n            }\n            iVar11 = iVar15 + 0x1000;\n          }\n        }\n        pcVar3 = (char *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar11,1);\n        *ppcVar4 = pcVar3;\n        if (pcVar3 == (char *)0x0) {\n          uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n          uVar13 = 0x5a6;\n          do {\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar5,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar13,700,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,uVar7);\n            (*(code *)PTR_DestroyString_003a9074)(uVar7);\n            (*(code *)PTR_CatchException_003a92b0)(uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            (*(code *)PTR_MagickCoreTerminus_003a98ec)();\n            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n            uVar13 = 0x59c;\n          } while( true );\n        }\n        (*(code *)PTR_CopyMagickString_003a983c)(pcVar3,path,iVar15 + 1);\n        iVar14 = iVar14 + 1;\n        path = pcVar9 + 1;\n        ppcVar4 = ppcVar4 + 1;\n      } while (iVar14 < (int)*number_components);\n      ppcVar4 = ppcVar2 + iVar14;\n    }\n    *ppcVar4 = (char *)0x0;\n  }" else (compound_statement "{\n    *number_components = 1;\n    cVar8 = *path;\n    if (cVar8 == '\0') {\n      sVar1 = 2;\n    }\n    else {\n      sVar12 = 1;\n      pcVar9 = path;\n      do {\n        sVar10 = sVar12 + 1;\n        sVar1 = sVar10;\n        if (cVar8 == '/') {\n          sVar1 = sVar12 + 2;\n          *number_components = sVar10;\n          sVar12 = sVar10;\n        }\n        pcVar9 = pcVar9 + 1;\n        cVar8 = *pcVar9;\n      } while (cVar8 != '\0');\n    }\n    ppcVar2 = (char **)(*(code *)PTR_AcquireQuantumMemory_003a950c)(sVar1,4);\n    if (ppcVar2 == (char **)0x0) goto LAB_001d5e40;\n    iVar14 = 0;\n    ppcVar4 = ppcVar2;\n    if (0 < (int)*number_components) {\n      do {\n        cVar8 = *path;\n        iVar11 = 0x1000;\n        pcVar9 = path;\n        if (cVar8 == '\0') {\n          iVar15 = 0;\n        }\n        else {\n          iVar15 = 0;\n          while (cVar8 != '/') {\n            pcVar9 = pcVar9 + 1;\n            cVar8 = *pcVar9;\n            iVar15 = (int)pcVar9 - (int)path;\n            if (cVar8 == '\0') {\n              iVar11 = iVar15 + 0x1000;\n              break;\n            }\n            iVar11 = iVar15 + 0x1000;\n          }\n        }\n        pcVar3 = (char *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar11,1);\n        *ppcVar4 = pcVar3;\n        if (pcVar3 == (char *)0x0) {\n          uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n          uVar13 = 0x5a6;\n          do {\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar5,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar13,700,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,uVar7);\n            (*(code *)PTR_DestroyString_003a9074)(uVar7);\n            (*(code *)PTR_CatchException_003a92b0)(uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            (*(code *)PTR_MagickCoreTerminus_003a98ec)();\n            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n            uVar13 = 0x59c;\n          } while( true );\n        }\n        (*(code *)PTR_CopyMagickString_003a983c)(pcVar3,path,iVar15 + 1);\n        iVar14 = iVar14 + 1;\n        path = pcVar9 + 1;\n        ppcVar4 = ppcVar4 + 1;\n      } while (iVar14 < (int)*number_components);\n      ppcVar4 = ppcVar2 + iVar14;\n    }\n    *ppcVar4 = (char *)0x0;\n  }" { (expression_statement "*number_components = 1;" (assignment_expression "*number_components = 1" (pointer_expression "*number_components" * identifier) = number_literal) ;) (expression_statement "cVar8 = *path;" (assignment_expression "cVar8 = *path" identifier = (pointer_expression "*path" * identifier)) ;) (if_statement "if (cVar8 == '\0') {\n      sVar1 = 2;\n    }\n    else {\n      sVar12 = 1;\n      pcVar9 = path;\n      do {\n        sVar10 = sVar12 + 1;\n        sVar1 = sVar10;\n        if (cVar8 == '/') {\n          sVar1 = sVar12 + 2;\n          *number_components = sVar10;\n          sVar12 = sVar10;\n        }\n        pcVar9 = pcVar9 + 1;\n        cVar8 = *pcVar9;\n      } while (cVar8 != '\0');\n    }" if (parenthesized_expression "(cVar8 == '\0')" ( (binary_expression "cVar8 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      sVar1 = 2;\n    }" { (expression_statement "sVar1 = 2;" (assignment_expression "sVar1 = 2" identifier = number_literal) ;) }) (else_clause "else {\n      sVar12 = 1;\n      pcVar9 = path;\n      do {\n        sVar10 = sVar12 + 1;\n        sVar1 = sVar10;\n        if (cVar8 == '/') {\n          sVar1 = sVar12 + 2;\n          *number_components = sVar10;\n          sVar12 = sVar10;\n        }\n        pcVar9 = pcVar9 + 1;\n        cVar8 = *pcVar9;\n      } while (cVar8 != '\0');\n    }" else (compound_statement "{\n      sVar12 = 1;\n      pcVar9 = path;\n      do {\n        sVar10 = sVar12 + 1;\n        sVar1 = sVar10;\n        if (cVar8 == '/') {\n          sVar1 = sVar12 + 2;\n          *number_components = sVar10;\n          sVar12 = sVar10;\n        }\n        pcVar9 = pcVar9 + 1;\n        cVar8 = *pcVar9;\n      } while (cVar8 != '\0');\n    }" { (expression_statement "sVar12 = 1;" (assignment_expression "sVar12 = 1" identifier = number_literal) ;) (expression_statement "pcVar9 = path;" (assignment_expression "pcVar9 = path" identifier = identifier) ;) (do_statement "do {\n        sVar10 = sVar12 + 1;\n        sVar1 = sVar10;\n        if (cVar8 == '/') {\n          sVar1 = sVar12 + 2;\n          *number_components = sVar10;\n          sVar12 = sVar10;\n        }\n        pcVar9 = pcVar9 + 1;\n        cVar8 = *pcVar9;\n      } while (cVar8 != '\0');" do (compound_statement "{\n        sVar10 = sVar12 + 1;\n        sVar1 = sVar10;\n        if (cVar8 == '/') {\n          sVar1 = sVar12 + 2;\n          *number_components = sVar10;\n          sVar12 = sVar10;\n        }\n        pcVar9 = pcVar9 + 1;\n        cVar8 = *pcVar9;\n      }" { (expression_statement "sVar10 = sVar12 + 1;" (assignment_expression "sVar10 = sVar12 + 1" identifier = (binary_expression "sVar12 + 1" identifier + number_literal)) ;) (expression_statement "sVar1 = sVar10;" (assignment_expression "sVar1 = sVar10" identifier = identifier) ;) (if_statement "if (cVar8 == '/') {\n          sVar1 = sVar12 + 2;\n          *number_components = sVar10;\n          sVar12 = sVar10;\n        }" if (parenthesized_expression "(cVar8 == '/')" ( (binary_expression "cVar8 == '/'" identifier == (char_literal "'/'" ' character ')) )) (compound_statement "{\n          sVar1 = sVar12 + 2;\n          *number_components = sVar10;\n          sVar12 = sVar10;\n        }" { (expression_statement "sVar1 = sVar12 + 2;" (assignment_expression "sVar1 = sVar12 + 2" identifier = (binary_expression "sVar12 + 2" identifier + number_literal)) ;) (expression_statement "*number_components = sVar10;" (assignment_expression "*number_components = sVar10" (pointer_expression "*number_components" * identifier) = identifier) ;) (expression_statement "sVar12 = sVar10;" (assignment_expression "sVar12 = sVar10" identifier = identifier) ;) })) (expression_statement "pcVar9 = pcVar9 + 1;" (assignment_expression "pcVar9 = pcVar9 + 1" identifier = (binary_expression "pcVar9 + 1" identifier + number_literal)) ;) (expression_statement "cVar8 = *pcVar9;" (assignment_expression "cVar8 = *pcVar9" identifier = (pointer_expression "*pcVar9" * identifier)) ;) }) while (parenthesized_expression "(cVar8 != '\0')" ( (binary_expression "cVar8 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) ;) }))) (expression_statement "ppcVar2 = (char **)(*(code *)PTR_AcquireQuantumMemory_003a950c)(sVar1,4);" (assignment_expression "ppcVar2 = (char **)(*(code *)PTR_AcquireQuantumMemory_003a950c)(sVar1,4)" identifier = (cast_expression "(char **)(*(code *)PTR_AcquireQuantumMemory_003a950c)(sVar1,4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (call_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)(sVar1,4)" (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 "(sVar1,4)" ( identifier , number_literal ))))) ;) (if_statement "if (ppcVar2 == (char **)0x0) goto LAB_001d5e40;" if (parenthesized_expression "(ppcVar2 == (char **)0x0)" ( (binary_expression "ppcVar2 == (char **)0x0" identifier == (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (goto_statement "goto LAB_001d5e40;" goto statement_identifier ;)) (expression_statement "iVar14 = 0;" (assignment_expression "iVar14 = 0" identifier = number_literal) ;) (expression_statement "ppcVar4 = ppcVar2;" (assignment_expression "ppcVar4 = ppcVar2" identifier = identifier) ;) (if_statement "if (0 < (int)*number_components) {\n      do {\n        cVar8 = *path;\n        iVar11 = 0x1000;\n        pcVar9 = path;\n        if (cVar8 == '\0') {\n          iVar15 = 0;\n        }\n        else {\n          iVar15 = 0;\n          while (cVar8 != '/') {\n            pcVar9 = pcVar9 + 1;\n            cVar8 = *pcVar9;\n            iVar15 = (int)pcVar9 - (int)path;\n            if (cVar8 == '\0') {\n              iVar11 = iVar15 + 0x1000;\n              break;\n            }\n            iVar11 = iVar15 + 0x1000;\n          }\n        }\n        pcVar3 = (char *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar11,1);\n        *ppcVar4 = pcVar3;\n        if (pcVar3 == (char *)0x0) {\n          uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n          uVar13 = 0x5a6;\n          do {\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar5,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar13,700,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,uVar7);\n            (*(code *)PTR_DestroyString_003a9074)(uVar7);\n            (*(code *)PTR_CatchException_003a92b0)(uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            (*(code *)PTR_MagickCoreTerminus_003a98ec)();\n            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n            uVar13 = 0x59c;\n          } while( true );\n        }\n        (*(code *)PTR_CopyMagickString_003a983c)(pcVar3,path,iVar15 + 1);\n        iVar14 = iVar14 + 1;\n        path = pcVar9 + 1;\n        ppcVar4 = ppcVar4 + 1;\n      } while (iVar14 < (int)*number_components);\n      ppcVar4 = ppcVar2 + iVar14;\n    }" if (parenthesized_expression "(0 < (int)*number_components)" ( (binary_expression "0 < (int)*number_components" number_literal < (cast_expression "(int)*number_components" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*number_components" * identifier))) )) (compound_statement "{\n      do {\n        cVar8 = *path;\n        iVar11 = 0x1000;\n        pcVar9 = path;\n        if (cVar8 == '\0') {\n          iVar15 = 0;\n        }\n        else {\n          iVar15 = 0;\n          while (cVar8 != '/') {\n            pcVar9 = pcVar9 + 1;\n            cVar8 = *pcVar9;\n            iVar15 = (int)pcVar9 - (int)path;\n            if (cVar8 == '\0') {\n              iVar11 = iVar15 + 0x1000;\n              break;\n            }\n            iVar11 = iVar15 + 0x1000;\n          }\n        }\n        pcVar3 = (char *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar11,1);\n        *ppcVar4 = pcVar3;\n        if (pcVar3 == (char *)0x0) {\n          uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n          uVar13 = 0x5a6;\n          do {\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar5,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar13,700,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,uVar7);\n            (*(code *)PTR_DestroyString_003a9074)(uVar7);\n            (*(code *)PTR_CatchException_003a92b0)(uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            (*(code *)PTR_MagickCoreTerminus_003a98ec)();\n            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n            uVar13 = 0x59c;\n          } while( true );\n        }\n        (*(code *)PTR_CopyMagickString_003a983c)(pcVar3,path,iVar15 + 1);\n        iVar14 = iVar14 + 1;\n        path = pcVar9 + 1;\n        ppcVar4 = ppcVar4 + 1;\n      } while (iVar14 < (int)*number_components);\n      ppcVar4 = ppcVar2 + iVar14;\n    }" { (do_statement "do {\n        cVar8 = *path;\n        iVar11 = 0x1000;\n        pcVar9 = path;\n        if (cVar8 == '\0') {\n          iVar15 = 0;\n        }\n        else {\n          iVar15 = 0;\n          while (cVar8 != '/') {\n            pcVar9 = pcVar9 + 1;\n            cVar8 = *pcVar9;\n            iVar15 = (int)pcVar9 - (int)path;\n            if (cVar8 == '\0') {\n              iVar11 = iVar15 + 0x1000;\n              break;\n            }\n            iVar11 = iVar15 + 0x1000;\n          }\n        }\n        pcVar3 = (char *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar11,1);\n        *ppcVar4 = pcVar3;\n        if (pcVar3 == (char *)0x0) {\n          uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n          uVar13 = 0x5a6;\n          do {\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar5,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar13,700,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,uVar7);\n            (*(code *)PTR_DestroyString_003a9074)(uVar7);\n            (*(code *)PTR_CatchException_003a92b0)(uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            (*(code *)PTR_MagickCoreTerminus_003a98ec)();\n            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n            uVar13 = 0x59c;\n          } while( true );\n        }\n        (*(code *)PTR_CopyMagickString_003a983c)(pcVar3,path,iVar15 + 1);\n        iVar14 = iVar14 + 1;\n        path = pcVar9 + 1;\n        ppcVar4 = ppcVar4 + 1;\n      } while (iVar14 < (int)*number_components);" do (compound_statement "{\n        cVar8 = *path;\n        iVar11 = 0x1000;\n        pcVar9 = path;\n        if (cVar8 == '\0') {\n          iVar15 = 0;\n        }\n        else {\n          iVar15 = 0;\n          while (cVar8 != '/') {\n            pcVar9 = pcVar9 + 1;\n            cVar8 = *pcVar9;\n            iVar15 = (int)pcVar9 - (int)path;\n            if (cVar8 == '\0') {\n              iVar11 = iVar15 + 0x1000;\n              break;\n            }\n            iVar11 = iVar15 + 0x1000;\n          }\n        }\n        pcVar3 = (char *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar11,1);\n        *ppcVar4 = pcVar3;\n        if (pcVar3 == (char *)0x0) {\n          uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n          uVar13 = 0x5a6;\n          do {\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar5,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar13,700,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,uVar7);\n            (*(code *)PTR_DestroyString_003a9074)(uVar7);\n            (*(code *)PTR_CatchException_003a92b0)(uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            (*(code *)PTR_MagickCoreTerminus_003a98ec)();\n            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n            uVar13 = 0x59c;\n          } while( true );\n        }\n        (*(code *)PTR_CopyMagickString_003a983c)(pcVar3,path,iVar15 + 1);\n        iVar14 = iVar14 + 1;\n        path = pcVar9 + 1;\n        ppcVar4 = ppcVar4 + 1;\n      }" { (expression_statement "cVar8 = *path;" (assignment_expression "cVar8 = *path" identifier = (pointer_expression "*path" * identifier)) ;) (expression_statement "iVar11 = 0x1000;" (assignment_expression "iVar11 = 0x1000" identifier = number_literal) ;) (expression_statement "pcVar9 = path;" (assignment_expression "pcVar9 = path" identifier = identifier) ;) (if_statement "if (cVar8 == '\0') {\n          iVar15 = 0;\n        }\n        else {\n          iVar15 = 0;\n          while (cVar8 != '/') {\n            pcVar9 = pcVar9 + 1;\n            cVar8 = *pcVar9;\n            iVar15 = (int)pcVar9 - (int)path;\n            if (cVar8 == '\0') {\n              iVar11 = iVar15 + 0x1000;\n              break;\n            }\n            iVar11 = iVar15 + 0x1000;\n          }\n        }" if (parenthesized_expression "(cVar8 == '\0')" ( (binary_expression "cVar8 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          iVar15 = 0;\n        }" { (expression_statement "iVar15 = 0;" (assignment_expression "iVar15 = 0" identifier = number_literal) ;) }) (else_clause "else {\n          iVar15 = 0;\n          while (cVar8 != '/') {\n            pcVar9 = pcVar9 + 1;\n            cVar8 = *pcVar9;\n            iVar15 = (int)pcVar9 - (int)path;\n            if (cVar8 == '\0') {\n              iVar11 = iVar15 + 0x1000;\n              break;\n            }\n            iVar11 = iVar15 + 0x1000;\n          }\n        }" else (compound_statement "{\n          iVar15 = 0;\n          while (cVar8 != '/') {\n            pcVar9 = pcVar9 + 1;\n            cVar8 = *pcVar9;\n            iVar15 = (int)pcVar9 - (int)path;\n            if (cVar8 == '\0') {\n              iVar11 = iVar15 + 0x1000;\n              break;\n            }\n            iVar11 = iVar15 + 0x1000;\n          }\n        }" { (expression_statement "iVar15 = 0;" (assignment_expression "iVar15 = 0" identifier = number_literal) ;) (while_statement "while (cVar8 != '/') {\n            pcVar9 = pcVar9 + 1;\n            cVar8 = *pcVar9;\n            iVar15 = (int)pcVar9 - (int)path;\n            if (cVar8 == '\0') {\n              iVar11 = iVar15 + 0x1000;\n              break;\n            }\n            iVar11 = iVar15 + 0x1000;\n          }" while (parenthesized_expression "(cVar8 != '/')" ( (binary_expression "cVar8 != '/'" identifier != (char_literal "'/'" ' character ')) )) (compound_statement "{\n            pcVar9 = pcVar9 + 1;\n            cVar8 = *pcVar9;\n            iVar15 = (int)pcVar9 - (int)path;\n            if (cVar8 == '\0') {\n              iVar11 = iVar15 + 0x1000;\n              break;\n            }\n            iVar11 = iVar15 + 0x1000;\n          }" { (expression_statement "pcVar9 = pcVar9 + 1;" (assignment_expression "pcVar9 = pcVar9 + 1" identifier = (binary_expression "pcVar9 + 1" identifier + number_literal)) ;) (expression_statement "cVar8 = *pcVar9;" (assignment_expression "cVar8 = *pcVar9" identifier = (pointer_expression "*pcVar9" * identifier)) ;) (expression_statement "iVar15 = (int)pcVar9 - (int)path;" (assignment_expression "iVar15 = (int)pcVar9 - (int)path" identifier = (binary_expression "(int)pcVar9 - (int)path" (cast_expression "(int)pcVar9" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)path" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if (cVar8 == '\0') {\n              iVar11 = iVar15 + 0x1000;\n              break;\n            }" if (parenthesized_expression "(cVar8 == '\0')" ( (binary_expression "cVar8 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n              iVar11 = iVar15 + 0x1000;\n              break;\n            }" { (expression_statement "iVar11 = iVar15 + 0x1000;" (assignment_expression "iVar11 = iVar15 + 0x1000" identifier = (binary_expression "iVar15 + 0x1000" identifier + number_literal)) ;) (break_statement "break;" break ;) })) (expression_statement "iVar11 = iVar15 + 0x1000;" (assignment_expression "iVar11 = iVar15 + 0x1000" identifier = (binary_expression "iVar15 + 0x1000" identifier + number_literal)) ;) })) }))) (expression_statement "pcVar3 = (char *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar11,1);" (assignment_expression "pcVar3 = (char *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar11,1)" identifier = (cast_expression "(char *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar11,1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar11,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 "(iVar11,1)" ( identifier , number_literal ))))) ;) (expression_statement "*ppcVar4 = pcVar3;" (assignment_expression "*ppcVar4 = pcVar3" (pointer_expression "*ppcVar4" * identifier) = identifier) ;) (if_statement "if (pcVar3 == (char *)0x0) {\n          uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n          uVar13 = 0x5a6;\n          do {\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar5,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar13,700,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,uVar7);\n            (*(code *)PTR_DestroyString_003a9074)(uVar7);\n            (*(code *)PTR_CatchException_003a92b0)(uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            (*(code *)PTR_MagickCoreTerminus_003a98ec)();\n            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n            uVar13 = 0x59c;\n          } while( true );\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          uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n          uVar13 = 0x5a6;\n          do {\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar5,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar13,700,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,uVar7);\n            (*(code *)PTR_DestroyString_003a9074)(uVar7);\n            (*(code *)PTR_CatchException_003a92b0)(uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            (*(code *)PTR_MagickCoreTerminus_003a98ec)();\n            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n            uVar13 = 0x59c;\n          } while( true );\n        }" { (expression_statement "uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();" (assignment_expression "uVar5 = (*(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 "puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();" (assignment_expression "puVar6 = (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 "uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);" (assignment_expression "uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6)" identifier = (call_expression "(*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6)" (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 "(*puVar6)" ( (pointer_expression "*puVar6" * identifier) )))) ;) (expression_statement "uVar13 = 0x5a6;" (assignment_expression "uVar13 = 0x5a6" identifier = number_literal) ;) (do_statement "do {\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar5,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar13,700,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,uVar7);\n            (*(code *)PTR_DestroyString_003a9074)(uVar7);\n            (*(code *)PTR_CatchException_003a92b0)(uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            (*(code *)PTR_MagickCoreTerminus_003a98ec)();\n            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n            uVar13 = 0x59c;\n          } while( true );" do (compound_statement "{\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar5,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar13,700,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,uVar7);\n            (*(code *)PTR_DestroyString_003a9074)(uVar7);\n            (*(code *)PTR_CatchException_003a92b0)(uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            (*(code *)PTR_MagickCoreTerminus_003a98ec)();\n            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n            uVar13 = 0x59c;\n          }" { (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar5,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar13,700,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,uVar7);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar5,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar13,700,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,uVar7)" (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 "(uVar5,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar13,700,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,uVar7)" ( identifier , (binary_expression "PTR_s_courses_003a88ec + -0x1a60" identifier + number_literal) , (binary_expression "PTR_s_courses_003a88ec + -0x171c" identifier + number_literal) , identifier , number_literal , (binary_expression "PTR_LAB_003a88e0 + 0x16f8" identifier + number_literal) , (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal) , identifier ))) ;) (expression_statement "(*(code *)PTR_DestroyString_003a9074)(uVar7);" (call_expression "(*(code *)PTR_DestroyString_003a9074)(uVar7)" (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 "(uVar7)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_CatchException_003a92b0)(uVar5);" (call_expression "(*(code *)PTR_CatchException_003a92b0)(uVar5)" (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 "(uVar5)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);" (call_expression "(*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5)" (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 "(uVar5)" ( 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 "(*(code *)PTR__exit_003a9660)(1);" (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 ))) ;) (labeled_statement "LAB_001d5e40:\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();" statement_identifier : (expression_statement "uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();" (assignment_expression "uVar5 = (*(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 "puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();" (assignment_expression "puVar6 = (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 "uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);" (assignment_expression "uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6)" identifier = (call_expression "(*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6)" (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 "(*puVar6)" ( (pointer_expression "*puVar6" * identifier) )))) ;) (expression_statement "uVar13 = 0x59c;" (assignment_expression "uVar13 = 0x59c" identifier = number_literal) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) (expression_statement "(*(code *)PTR_CopyMagickString_003a983c)(pcVar3,path,iVar15 + 1);" (call_expression "(*(code *)PTR_CopyMagickString_003a983c)(pcVar3,path,iVar15 + 1)" (parenthesized_expression "(*(code *)PTR_CopyMagickString_003a983c)" ( (pointer_expression "*(code *)PTR_CopyMagickString_003a983c" * (cast_expression "(code *)PTR_CopyMagickString_003a983c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar3,path,iVar15 + 1)" ( identifier , identifier , (binary_expression "iVar15 + 1" identifier + number_literal) ))) ;) (expression_statement "iVar14 = iVar14 + 1;" (assignment_expression "iVar14 = iVar14 + 1" identifier = (binary_expression "iVar14 + 1" identifier + number_literal)) ;) (expression_statement "path = pcVar9 + 1;" (assignment_expression "path = pcVar9 + 1" identifier = (binary_expression "pcVar9 + 1" identifier + number_literal)) ;) (expression_statement "ppcVar4 = ppcVar4 + 1;" (assignment_expression "ppcVar4 = ppcVar4 + 1" identifier = (binary_expression "ppcVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar14 < (int)*number_components)" ( (binary_expression "iVar14 < (int)*number_components" identifier < (cast_expression "(int)*number_components" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*number_components" * identifier))) )) ;) (expression_statement "ppcVar4 = ppcVar2 + iVar14;" (assignment_expression "ppcVar4 = ppcVar2 + iVar14" identifier = (binary_expression "ppcVar2 + iVar14" identifier + identifier)) ;) })) (expression_statement "*ppcVar4 = (char *)0x0;" (assignment_expression "*ppcVar4 = (char *)0x0" (pointer_expression "*ppcVar4" * identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) (return_statement "return ppcVar2;" return identifier ;) })))
(translation_unit "int * FUN_001d5bdc(char *param_1,int *param_2)\n\n{\n  char cVar7;\n  int iVar1;\n  int *piVar2;\n  int *piVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  undefined4 uVar6;\n  char *pcVar8;\n  int iVar9;\n  int iVar10;\n  undefined4 uVar11;\n  \n  if (param_1 == (char *)0x0) {\n    piVar2 = (int *)0x0;\n  }\n  else {\n    *param_2 = 1;\n    cVar7 = *param_1;\n    if (cVar7 == '\0') {\n      iVar1 = 2;\n    }\n    else {\n      iVar10 = 1;\n      pcVar8 = param_1;\n      do {\n        iVar9 = iVar10 + 1;\n        iVar1 = iVar9;\n        if (cVar7 == '/') {\n          iVar1 = iVar10 + 2;\n          *param_2 = iVar9;\n          iVar10 = iVar9;\n        }\n        pcVar8 = pcVar8 + 1;\n        cVar7 = *pcVar8;\n      } while (cVar7 != '\0');\n    }\n    piVar2 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1,4);\n    if (piVar2 == (int *)0x0) goto LAB_001d5e40;\n    iVar1 = 0;\n    piVar3 = piVar2;\n    if (0 < *param_2) {\n      do {\n        cVar7 = *param_1;\n        iVar10 = 0x1000;\n        pcVar8 = param_1;\n        if (cVar7 == '\0') {\n          iVar9 = 0;\n        }\n        else {\n          iVar9 = 0;\n          while (cVar7 != '/') {\n            pcVar8 = pcVar8 + 1;\n            cVar7 = *pcVar8;\n            iVar9 = (int)pcVar8 - (int)param_1;\n            if (cVar7 == '\0') {\n              iVar10 = iVar9 + 0x1000;\n              break;\n            }\n            iVar10 = iVar9 + 0x1000;\n          }\n        }\n        iVar10 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar10,1);\n        *piVar3 = iVar10;\n        if (iVar10 == 0) {\n          uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n          puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n          uVar11 = 0x5a6;\n          do {\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar4,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar11,700,PTR_LAB_003a88e0 + 0x16f8,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            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n            uVar11 = 0x59c;\n          } while( true );\n        }\n        (*(code *)PTR_CopyMagickString_003a983c)(iVar10,param_1,iVar9 + 1);\n        iVar1 = iVar1 + 1;\n        param_1 = pcVar8 + 1;\n        piVar3 = piVar3 + 1;\n      } while (iVar1 < *param_2);\n      piVar3 = piVar2 + iVar1;\n    }\n    *piVar3 = 0;\n  }\n  return piVar2;\n}\n\n" (function_definition "int * FUN_001d5bdc(char *param_1,int *param_2)\n\n{\n  char cVar7;\n  int iVar1;\n  int *piVar2;\n  int *piVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  undefined4 uVar6;\n  char *pcVar8;\n  int iVar9;\n  int iVar10;\n  undefined4 uVar11;\n  \n  if (param_1 == (char *)0x0) {\n    piVar2 = (int *)0x0;\n  }\n  else {\n    *param_2 = 1;\n    cVar7 = *param_1;\n    if (cVar7 == '\0') {\n      iVar1 = 2;\n    }\n    else {\n      iVar10 = 1;\n      pcVar8 = param_1;\n      do {\n        iVar9 = iVar10 + 1;\n        iVar1 = iVar9;\n        if (cVar7 == '/') {\n          iVar1 = iVar10 + 2;\n          *param_2 = iVar9;\n          iVar10 = iVar9;\n        }\n        pcVar8 = pcVar8 + 1;\n        cVar7 = *pcVar8;\n      } while (cVar7 != '\0');\n    }\n    piVar2 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1,4);\n    if (piVar2 == (int *)0x0) goto LAB_001d5e40;\n    iVar1 = 0;\n    piVar3 = piVar2;\n    if (0 < *param_2) {\n      do {\n        cVar7 = *param_1;\n        iVar10 = 0x1000;\n        pcVar8 = param_1;\n        if (cVar7 == '\0') {\n          iVar9 = 0;\n        }\n        else {\n          iVar9 = 0;\n          while (cVar7 != '/') {\n            pcVar8 = pcVar8 + 1;\n            cVar7 = *pcVar8;\n            iVar9 = (int)pcVar8 - (int)param_1;\n            if (cVar7 == '\0') {\n              iVar10 = iVar9 + 0x1000;\n              break;\n            }\n            iVar10 = iVar9 + 0x1000;\n          }\n        }\n        iVar10 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar10,1);\n        *piVar3 = iVar10;\n        if (iVar10 == 0) {\n          uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n          puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n          uVar11 = 0x5a6;\n          do {\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar4,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar11,700,PTR_LAB_003a88e0 + 0x16f8,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            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n            uVar11 = 0x59c;\n          } while( true );\n        }\n        (*(code *)PTR_CopyMagickString_003a983c)(iVar10,param_1,iVar9 + 1);\n        iVar1 = iVar1 + 1;\n        param_1 = pcVar8 + 1;\n        piVar3 = piVar3 + 1;\n      } while (iVar1 < *param_2);\n      piVar3 = piVar2 + iVar1;\n    }\n    *piVar3 = 0;\n  }\n  return piVar2;\n}" primitive_type (pointer_declarator "* FUN_001d5bdc(char *param_1,int *param_2)" * (function_declarator "FUN_001d5bdc(char *param_1,int *param_2)" identifier (parameter_list "(char *param_1,int *param_2)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) )))) (compound_statement "{\n  char cVar7;\n  int iVar1;\n  int *piVar2;\n  int *piVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  undefined4 uVar6;\n  char *pcVar8;\n  int iVar9;\n  int iVar10;\n  undefined4 uVar11;\n  \n  if (param_1 == (char *)0x0) {\n    piVar2 = (int *)0x0;\n  }\n  else {\n    *param_2 = 1;\n    cVar7 = *param_1;\n    if (cVar7 == '\0') {\n      iVar1 = 2;\n    }\n    else {\n      iVar10 = 1;\n      pcVar8 = param_1;\n      do {\n        iVar9 = iVar10 + 1;\n        iVar1 = iVar9;\n        if (cVar7 == '/') {\n          iVar1 = iVar10 + 2;\n          *param_2 = iVar9;\n          iVar10 = iVar9;\n        }\n        pcVar8 = pcVar8 + 1;\n        cVar7 = *pcVar8;\n      } while (cVar7 != '\0');\n    }\n    piVar2 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1,4);\n    if (piVar2 == (int *)0x0) goto LAB_001d5e40;\n    iVar1 = 0;\n    piVar3 = piVar2;\n    if (0 < *param_2) {\n      do {\n        cVar7 = *param_1;\n        iVar10 = 0x1000;\n        pcVar8 = param_1;\n        if (cVar7 == '\0') {\n          iVar9 = 0;\n        }\n        else {\n          iVar9 = 0;\n          while (cVar7 != '/') {\n            pcVar8 = pcVar8 + 1;\n            cVar7 = *pcVar8;\n            iVar9 = (int)pcVar8 - (int)param_1;\n            if (cVar7 == '\0') {\n              iVar10 = iVar9 + 0x1000;\n              break;\n            }\n            iVar10 = iVar9 + 0x1000;\n          }\n        }\n        iVar10 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar10,1);\n        *piVar3 = iVar10;\n        if (iVar10 == 0) {\n          uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n          puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n          uVar11 = 0x5a6;\n          do {\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar4,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar11,700,PTR_LAB_003a88e0 + 0x16f8,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            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n            uVar11 = 0x59c;\n          } while( true );\n        }\n        (*(code *)PTR_CopyMagickString_003a983c)(iVar10,param_1,iVar9 + 1);\n        iVar1 = iVar1 + 1;\n        param_1 = pcVar8 + 1;\n        piVar3 = piVar3 + 1;\n      } while (iVar1 < *param_2);\n      piVar3 = piVar2 + iVar1;\n    }\n    *piVar3 = 0;\n  }\n  return piVar2;\n}" { (declaration "char cVar7;" primitive_type identifier ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "undefined4 uVar11;" type_identifier identifier ;) (if_statement "if (param_1 == (char *)0x0) {\n    piVar2 = (int *)0x0;\n  }\n  else {\n    *param_2 = 1;\n    cVar7 = *param_1;\n    if (cVar7 == '\0') {\n      iVar1 = 2;\n    }\n    else {\n      iVar10 = 1;\n      pcVar8 = param_1;\n      do {\n        iVar9 = iVar10 + 1;\n        iVar1 = iVar9;\n        if (cVar7 == '/') {\n          iVar1 = iVar10 + 2;\n          *param_2 = iVar9;\n          iVar10 = iVar9;\n        }\n        pcVar8 = pcVar8 + 1;\n        cVar7 = *pcVar8;\n      } while (cVar7 != '\0');\n    }\n    piVar2 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1,4);\n    if (piVar2 == (int *)0x0) goto LAB_001d5e40;\n    iVar1 = 0;\n    piVar3 = piVar2;\n    if (0 < *param_2) {\n      do {\n        cVar7 = *param_1;\n        iVar10 = 0x1000;\n        pcVar8 = param_1;\n        if (cVar7 == '\0') {\n          iVar9 = 0;\n        }\n        else {\n          iVar9 = 0;\n          while (cVar7 != '/') {\n            pcVar8 = pcVar8 + 1;\n            cVar7 = *pcVar8;\n            iVar9 = (int)pcVar8 - (int)param_1;\n            if (cVar7 == '\0') {\n              iVar10 = iVar9 + 0x1000;\n              break;\n            }\n            iVar10 = iVar9 + 0x1000;\n          }\n        }\n        iVar10 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar10,1);\n        *piVar3 = iVar10;\n        if (iVar10 == 0) {\n          uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n          puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n          uVar11 = 0x5a6;\n          do {\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar4,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar11,700,PTR_LAB_003a88e0 + 0x16f8,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            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n            uVar11 = 0x59c;\n          } while( true );\n        }\n        (*(code *)PTR_CopyMagickString_003a983c)(iVar10,param_1,iVar9 + 1);\n        iVar1 = iVar1 + 1;\n        param_1 = pcVar8 + 1;\n        piVar3 = piVar3 + 1;\n      } while (iVar1 < *param_2);\n      piVar3 = piVar2 + iVar1;\n    }\n    *piVar3 = 0;\n  }" if (parenthesized_expression "(param_1 == (char *)0x0)" ( (binary_expression "param_1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    piVar2 = (int *)0x0;\n  }" { (expression_statement "piVar2 = (int *)0x0;" (assignment_expression "piVar2 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    *param_2 = 1;\n    cVar7 = *param_1;\n    if (cVar7 == '\0') {\n      iVar1 = 2;\n    }\n    else {\n      iVar10 = 1;\n      pcVar8 = param_1;\n      do {\n        iVar9 = iVar10 + 1;\n        iVar1 = iVar9;\n        if (cVar7 == '/') {\n          iVar1 = iVar10 + 2;\n          *param_2 = iVar9;\n          iVar10 = iVar9;\n        }\n        pcVar8 = pcVar8 + 1;\n        cVar7 = *pcVar8;\n      } while (cVar7 != '\0');\n    }\n    piVar2 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1,4);\n    if (piVar2 == (int *)0x0) goto LAB_001d5e40;\n    iVar1 = 0;\n    piVar3 = piVar2;\n    if (0 < *param_2) {\n      do {\n        cVar7 = *param_1;\n        iVar10 = 0x1000;\n        pcVar8 = param_1;\n        if (cVar7 == '\0') {\n          iVar9 = 0;\n        }\n        else {\n          iVar9 = 0;\n          while (cVar7 != '/') {\n            pcVar8 = pcVar8 + 1;\n            cVar7 = *pcVar8;\n            iVar9 = (int)pcVar8 - (int)param_1;\n            if (cVar7 == '\0') {\n              iVar10 = iVar9 + 0x1000;\n              break;\n            }\n            iVar10 = iVar9 + 0x1000;\n          }\n        }\n        iVar10 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar10,1);\n        *piVar3 = iVar10;\n        if (iVar10 == 0) {\n          uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n          puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n          uVar11 = 0x5a6;\n          do {\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar4,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar11,700,PTR_LAB_003a88e0 + 0x16f8,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            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n            uVar11 = 0x59c;\n          } while( true );\n        }\n        (*(code *)PTR_CopyMagickString_003a983c)(iVar10,param_1,iVar9 + 1);\n        iVar1 = iVar1 + 1;\n        param_1 = pcVar8 + 1;\n        piVar3 = piVar3 + 1;\n      } while (iVar1 < *param_2);\n      piVar3 = piVar2 + iVar1;\n    }\n    *piVar3 = 0;\n  }" else (compound_statement "{\n    *param_2 = 1;\n    cVar7 = *param_1;\n    if (cVar7 == '\0') {\n      iVar1 = 2;\n    }\n    else {\n      iVar10 = 1;\n      pcVar8 = param_1;\n      do {\n        iVar9 = iVar10 + 1;\n        iVar1 = iVar9;\n        if (cVar7 == '/') {\n          iVar1 = iVar10 + 2;\n          *param_2 = iVar9;\n          iVar10 = iVar9;\n        }\n        pcVar8 = pcVar8 + 1;\n        cVar7 = *pcVar8;\n      } while (cVar7 != '\0');\n    }\n    piVar2 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1,4);\n    if (piVar2 == (int *)0x0) goto LAB_001d5e40;\n    iVar1 = 0;\n    piVar3 = piVar2;\n    if (0 < *param_2) {\n      do {\n        cVar7 = *param_1;\n        iVar10 = 0x1000;\n        pcVar8 = param_1;\n        if (cVar7 == '\0') {\n          iVar9 = 0;\n        }\n        else {\n          iVar9 = 0;\n          while (cVar7 != '/') {\n            pcVar8 = pcVar8 + 1;\n            cVar7 = *pcVar8;\n            iVar9 = (int)pcVar8 - (int)param_1;\n            if (cVar7 == '\0') {\n              iVar10 = iVar9 + 0x1000;\n              break;\n            }\n            iVar10 = iVar9 + 0x1000;\n          }\n        }\n        iVar10 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar10,1);\n        *piVar3 = iVar10;\n        if (iVar10 == 0) {\n          uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n          puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n          uVar11 = 0x5a6;\n          do {\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar4,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar11,700,PTR_LAB_003a88e0 + 0x16f8,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            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n            uVar11 = 0x59c;\n          } while( true );\n        }\n        (*(code *)PTR_CopyMagickString_003a983c)(iVar10,param_1,iVar9 + 1);\n        iVar1 = iVar1 + 1;\n        param_1 = pcVar8 + 1;\n        piVar3 = piVar3 + 1;\n      } while (iVar1 < *param_2);\n      piVar3 = piVar2 + iVar1;\n    }\n    *piVar3 = 0;\n  }" { (expression_statement "*param_2 = 1;" (assignment_expression "*param_2 = 1" (pointer_expression "*param_2" * identifier) = number_literal) ;) (expression_statement "cVar7 = *param_1;" (assignment_expression "cVar7 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (cVar7 == '\0') {\n      iVar1 = 2;\n    }\n    else {\n      iVar10 = 1;\n      pcVar8 = param_1;\n      do {\n        iVar9 = iVar10 + 1;\n        iVar1 = iVar9;\n        if (cVar7 == '/') {\n          iVar1 = iVar10 + 2;\n          *param_2 = iVar9;\n          iVar10 = iVar9;\n        }\n        pcVar8 = pcVar8 + 1;\n        cVar7 = *pcVar8;\n      } while (cVar7 != '\0');\n    }" if (parenthesized_expression "(cVar7 == '\0')" ( (binary_expression "cVar7 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      iVar1 = 2;\n    }" { (expression_statement "iVar1 = 2;" (assignment_expression "iVar1 = 2" identifier = number_literal) ;) }) (else_clause "else {\n      iVar10 = 1;\n      pcVar8 = param_1;\n      do {\n        iVar9 = iVar10 + 1;\n        iVar1 = iVar9;\n        if (cVar7 == '/') {\n          iVar1 = iVar10 + 2;\n          *param_2 = iVar9;\n          iVar10 = iVar9;\n        }\n        pcVar8 = pcVar8 + 1;\n        cVar7 = *pcVar8;\n      } while (cVar7 != '\0');\n    }" else (compound_statement "{\n      iVar10 = 1;\n      pcVar8 = param_1;\n      do {\n        iVar9 = iVar10 + 1;\n        iVar1 = iVar9;\n        if (cVar7 == '/') {\n          iVar1 = iVar10 + 2;\n          *param_2 = iVar9;\n          iVar10 = iVar9;\n        }\n        pcVar8 = pcVar8 + 1;\n        cVar7 = *pcVar8;\n      } while (cVar7 != '\0');\n    }" { (expression_statement "iVar10 = 1;" (assignment_expression "iVar10 = 1" identifier = number_literal) ;) (expression_statement "pcVar8 = param_1;" (assignment_expression "pcVar8 = param_1" identifier = identifier) ;) (do_statement "do {\n        iVar9 = iVar10 + 1;\n        iVar1 = iVar9;\n        if (cVar7 == '/') {\n          iVar1 = iVar10 + 2;\n          *param_2 = iVar9;\n          iVar10 = iVar9;\n        }\n        pcVar8 = pcVar8 + 1;\n        cVar7 = *pcVar8;\n      } while (cVar7 != '\0');" do (compound_statement "{\n        iVar9 = iVar10 + 1;\n        iVar1 = iVar9;\n        if (cVar7 == '/') {\n          iVar1 = iVar10 + 2;\n          *param_2 = iVar9;\n          iVar10 = iVar9;\n        }\n        pcVar8 = pcVar8 + 1;\n        cVar7 = *pcVar8;\n      }" { (expression_statement "iVar9 = iVar10 + 1;" (assignment_expression "iVar9 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (expression_statement "iVar1 = iVar9;" (assignment_expression "iVar1 = iVar9" identifier = identifier) ;) (if_statement "if (cVar7 == '/') {\n          iVar1 = iVar10 + 2;\n          *param_2 = iVar9;\n          iVar10 = iVar9;\n        }" if (parenthesized_expression "(cVar7 == '/')" ( (binary_expression "cVar7 == '/'" identifier == (char_literal "'/'" ' character ')) )) (compound_statement "{\n          iVar1 = iVar10 + 2;\n          *param_2 = iVar9;\n          iVar10 = iVar9;\n        }" { (expression_statement "iVar1 = iVar10 + 2;" (assignment_expression "iVar1 = iVar10 + 2" identifier = (binary_expression "iVar10 + 2" identifier + number_literal)) ;) (expression_statement "*param_2 = iVar9;" (assignment_expression "*param_2 = iVar9" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "iVar10 = iVar9;" (assignment_expression "iVar10 = iVar9" identifier = identifier) ;) })) (expression_statement "pcVar8 = pcVar8 + 1;" (assignment_expression "pcVar8 = pcVar8 + 1" identifier = (binary_expression "pcVar8 + 1" identifier + number_literal)) ;) (expression_statement "cVar7 = *pcVar8;" (assignment_expression "cVar7 = *pcVar8" identifier = (pointer_expression "*pcVar8" * identifier)) ;) }) while (parenthesized_expression "(cVar7 != '\0')" ( (binary_expression "cVar7 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) ;) }))) (expression_statement "piVar2 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1,4);" (assignment_expression "piVar2 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1,4)" identifier = (cast_expression "(int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1,4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1,4)" (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,4)" ( identifier , number_literal ))))) ;) (if_statement "if (piVar2 == (int *)0x0) goto LAB_001d5e40;" if (parenthesized_expression "(piVar2 == (int *)0x0)" ( (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_001d5e40;" goto statement_identifier ;)) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (expression_statement "piVar3 = piVar2;" (assignment_expression "piVar3 = piVar2" identifier = identifier) ;) (if_statement "if (0 < *param_2) {\n      do {\n        cVar7 = *param_1;\n        iVar10 = 0x1000;\n        pcVar8 = param_1;\n        if (cVar7 == '\0') {\n          iVar9 = 0;\n        }\n        else {\n          iVar9 = 0;\n          while (cVar7 != '/') {\n            pcVar8 = pcVar8 + 1;\n            cVar7 = *pcVar8;\n            iVar9 = (int)pcVar8 - (int)param_1;\n            if (cVar7 == '\0') {\n              iVar10 = iVar9 + 0x1000;\n              break;\n            }\n            iVar10 = iVar9 + 0x1000;\n          }\n        }\n        iVar10 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar10,1);\n        *piVar3 = iVar10;\n        if (iVar10 == 0) {\n          uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n          puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n          uVar11 = 0x5a6;\n          do {\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar4,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar11,700,PTR_LAB_003a88e0 + 0x16f8,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            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n            uVar11 = 0x59c;\n          } while( true );\n        }\n        (*(code *)PTR_CopyMagickString_003a983c)(iVar10,param_1,iVar9 + 1);\n        iVar1 = iVar1 + 1;\n        param_1 = pcVar8 + 1;\n        piVar3 = piVar3 + 1;\n      } while (iVar1 < *param_2);\n      piVar3 = piVar2 + iVar1;\n    }" if (parenthesized_expression "(0 < *param_2)" ( (binary_expression "0 < *param_2" number_literal < (pointer_expression "*param_2" * identifier)) )) (compound_statement "{\n      do {\n        cVar7 = *param_1;\n        iVar10 = 0x1000;\n        pcVar8 = param_1;\n        if (cVar7 == '\0') {\n          iVar9 = 0;\n        }\n        else {\n          iVar9 = 0;\n          while (cVar7 != '/') {\n            pcVar8 = pcVar8 + 1;\n            cVar7 = *pcVar8;\n            iVar9 = (int)pcVar8 - (int)param_1;\n            if (cVar7 == '\0') {\n              iVar10 = iVar9 + 0x1000;\n              break;\n            }\n            iVar10 = iVar9 + 0x1000;\n          }\n        }\n        iVar10 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar10,1);\n        *piVar3 = iVar10;\n        if (iVar10 == 0) {\n          uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n          puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n          uVar11 = 0x5a6;\n          do {\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar4,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar11,700,PTR_LAB_003a88e0 + 0x16f8,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            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n            uVar11 = 0x59c;\n          } while( true );\n        }\n        (*(code *)PTR_CopyMagickString_003a983c)(iVar10,param_1,iVar9 + 1);\n        iVar1 = iVar1 + 1;\n        param_1 = pcVar8 + 1;\n        piVar3 = piVar3 + 1;\n      } while (iVar1 < *param_2);\n      piVar3 = piVar2 + iVar1;\n    }" { (do_statement "do {\n        cVar7 = *param_1;\n        iVar10 = 0x1000;\n        pcVar8 = param_1;\n        if (cVar7 == '\0') {\n          iVar9 = 0;\n        }\n        else {\n          iVar9 = 0;\n          while (cVar7 != '/') {\n            pcVar8 = pcVar8 + 1;\n            cVar7 = *pcVar8;\n            iVar9 = (int)pcVar8 - (int)param_1;\n            if (cVar7 == '\0') {\n              iVar10 = iVar9 + 0x1000;\n              break;\n            }\n            iVar10 = iVar9 + 0x1000;\n          }\n        }\n        iVar10 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar10,1);\n        *piVar3 = iVar10;\n        if (iVar10 == 0) {\n          uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n          puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n          uVar11 = 0x5a6;\n          do {\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar4,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar11,700,PTR_LAB_003a88e0 + 0x16f8,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            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n            uVar11 = 0x59c;\n          } while( true );\n        }\n        (*(code *)PTR_CopyMagickString_003a983c)(iVar10,param_1,iVar9 + 1);\n        iVar1 = iVar1 + 1;\n        param_1 = pcVar8 + 1;\n        piVar3 = piVar3 + 1;\n      } while (iVar1 < *param_2);" do (compound_statement "{\n        cVar7 = *param_1;\n        iVar10 = 0x1000;\n        pcVar8 = param_1;\n        if (cVar7 == '\0') {\n          iVar9 = 0;\n        }\n        else {\n          iVar9 = 0;\n          while (cVar7 != '/') {\n            pcVar8 = pcVar8 + 1;\n            cVar7 = *pcVar8;\n            iVar9 = (int)pcVar8 - (int)param_1;\n            if (cVar7 == '\0') {\n              iVar10 = iVar9 + 0x1000;\n              break;\n            }\n            iVar10 = iVar9 + 0x1000;\n          }\n        }\n        iVar10 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar10,1);\n        *piVar3 = iVar10;\n        if (iVar10 == 0) {\n          uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n          puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n          uVar11 = 0x5a6;\n          do {\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar4,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar11,700,PTR_LAB_003a88e0 + 0x16f8,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            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n            uVar11 = 0x59c;\n          } while( true );\n        }\n        (*(code *)PTR_CopyMagickString_003a983c)(iVar10,param_1,iVar9 + 1);\n        iVar1 = iVar1 + 1;\n        param_1 = pcVar8 + 1;\n        piVar3 = piVar3 + 1;\n      }" { (expression_statement "cVar7 = *param_1;" (assignment_expression "cVar7 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar10 = 0x1000;" (assignment_expression "iVar10 = 0x1000" identifier = number_literal) ;) (expression_statement "pcVar8 = param_1;" (assignment_expression "pcVar8 = param_1" identifier = identifier) ;) (if_statement "if (cVar7 == '\0') {\n          iVar9 = 0;\n        }\n        else {\n          iVar9 = 0;\n          while (cVar7 != '/') {\n            pcVar8 = pcVar8 + 1;\n            cVar7 = *pcVar8;\n            iVar9 = (int)pcVar8 - (int)param_1;\n            if (cVar7 == '\0') {\n              iVar10 = iVar9 + 0x1000;\n              break;\n            }\n            iVar10 = iVar9 + 0x1000;\n          }\n        }" if (parenthesized_expression "(cVar7 == '\0')" ( (binary_expression "cVar7 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          iVar9 = 0;\n        }" { (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) }) (else_clause "else {\n          iVar9 = 0;\n          while (cVar7 != '/') {\n            pcVar8 = pcVar8 + 1;\n            cVar7 = *pcVar8;\n            iVar9 = (int)pcVar8 - (int)param_1;\n            if (cVar7 == '\0') {\n              iVar10 = iVar9 + 0x1000;\n              break;\n            }\n            iVar10 = iVar9 + 0x1000;\n          }\n        }" else (compound_statement "{\n          iVar9 = 0;\n          while (cVar7 != '/') {\n            pcVar8 = pcVar8 + 1;\n            cVar7 = *pcVar8;\n            iVar9 = (int)pcVar8 - (int)param_1;\n            if (cVar7 == '\0') {\n              iVar10 = iVar9 + 0x1000;\n              break;\n            }\n            iVar10 = iVar9 + 0x1000;\n          }\n        }" { (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) (while_statement "while (cVar7 != '/') {\n            pcVar8 = pcVar8 + 1;\n            cVar7 = *pcVar8;\n            iVar9 = (int)pcVar8 - (int)param_1;\n            if (cVar7 == '\0') {\n              iVar10 = iVar9 + 0x1000;\n              break;\n            }\n            iVar10 = iVar9 + 0x1000;\n          }" while (parenthesized_expression "(cVar7 != '/')" ( (binary_expression "cVar7 != '/'" identifier != (char_literal "'/'" ' character ')) )) (compound_statement "{\n            pcVar8 = pcVar8 + 1;\n            cVar7 = *pcVar8;\n            iVar9 = (int)pcVar8 - (int)param_1;\n            if (cVar7 == '\0') {\n              iVar10 = iVar9 + 0x1000;\n              break;\n            }\n            iVar10 = iVar9 + 0x1000;\n          }" { (expression_statement "pcVar8 = pcVar8 + 1;" (assignment_expression "pcVar8 = pcVar8 + 1" identifier = (binary_expression "pcVar8 + 1" identifier + number_literal)) ;) (expression_statement "cVar7 = *pcVar8;" (assignment_expression "cVar7 = *pcVar8" identifier = (pointer_expression "*pcVar8" * identifier)) ;) (expression_statement "iVar9 = (int)pcVar8 - (int)param_1;" (assignment_expression "iVar9 = (int)pcVar8 - (int)param_1" identifier = (binary_expression "(int)pcVar8 - (int)param_1" (cast_expression "(int)pcVar8" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if (cVar7 == '\0') {\n              iVar10 = iVar9 + 0x1000;\n              break;\n            }" if (parenthesized_expression "(cVar7 == '\0')" ( (binary_expression "cVar7 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n              iVar10 = iVar9 + 0x1000;\n              break;\n            }" { (expression_statement "iVar10 = iVar9 + 0x1000;" (assignment_expression "iVar10 = iVar9 + 0x1000" identifier = (binary_expression "iVar9 + 0x1000" identifier + number_literal)) ;) (break_statement "break;" break ;) })) (expression_statement "iVar10 = iVar9 + 0x1000;" (assignment_expression "iVar10 = iVar9 + 0x1000" identifier = (binary_expression "iVar9 + 0x1000" identifier + number_literal)) ;) })) }))) (expression_statement "iVar10 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar10,1);" (assignment_expression "iVar10 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar10,1)" identifier = (call_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar10,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 "(iVar10,1)" ( identifier , number_literal )))) ;) (expression_statement "*piVar3 = iVar10;" (assignment_expression "*piVar3 = iVar10" (pointer_expression "*piVar3" * identifier) = identifier) ;) (if_statement "if (iVar10 == 0) {\n          uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n          puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n          uVar11 = 0x5a6;\n          do {\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar4,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar11,700,PTR_LAB_003a88e0 + 0x16f8,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            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n            uVar11 = 0x59c;\n          } while( true );\n        }" if (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) (compound_statement "{\n          uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n          puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n          uVar11 = 0x5a6;\n          do {\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar4,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar11,700,PTR_LAB_003a88e0 + 0x16f8,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            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n            uVar11 = 0x59c;\n          } while( true );\n        }" { (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 "uVar11 = 0x5a6;" (assignment_expression "uVar11 = 0x5a6" identifier = number_literal) ;) (do_statement "do {\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar4,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar11,700,PTR_LAB_003a88e0 + 0x16f8,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            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n            uVar11 = 0x59c;\n          } while( true );" do (compound_statement "{\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar4,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar11,700,PTR_LAB_003a88e0 + 0x16f8,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            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n            uVar11 = 0x59c;\n          }" { (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar4,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar11,700,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,uVar6);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar4,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar11,700,PTR_LAB_003a88e0 + 0x16f8,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 + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar11,700,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,uVar6)" ( identifier , (binary_expression "PTR_s_courses_003a88ec + -0x1a60" identifier + number_literal) , (binary_expression "PTR_s_courses_003a88ec + -0x171c" identifier + number_literal) , identifier , number_literal , (binary_expression "PTR_LAB_003a88e0 + 0x16f8" 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 "(*(code *)PTR__exit_003a9660)(1);" (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 ))) ;) (labeled_statement "LAB_001d5e40:\n            uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();" statement_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 "uVar11 = 0x59c;" (assignment_expression "uVar11 = 0x59c" identifier = number_literal) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) (expression_statement "(*(code *)PTR_CopyMagickString_003a983c)(iVar10,param_1,iVar9 + 1);" (call_expression "(*(code *)PTR_CopyMagickString_003a983c)(iVar10,param_1,iVar9 + 1)" (parenthesized_expression "(*(code *)PTR_CopyMagickString_003a983c)" ( (pointer_expression "*(code *)PTR_CopyMagickString_003a983c" * (cast_expression "(code *)PTR_CopyMagickString_003a983c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar10,param_1,iVar9 + 1)" ( identifier , identifier , (binary_expression "iVar9 + 1" identifier + number_literal) ))) ;) (expression_statement "iVar1 = iVar1 + 1;" (assignment_expression "iVar1 = iVar1 + 1" identifier = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) (expression_statement "param_1 = pcVar8 + 1;" (assignment_expression "param_1 = pcVar8 + 1" identifier = (binary_expression "pcVar8 + 1" identifier + number_literal)) ;) (expression_statement "piVar3 = piVar3 + 1;" (assignment_expression "piVar3 = piVar3 + 1" identifier = (binary_expression "piVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar1 < *param_2)" ( (binary_expression "iVar1 < *param_2" identifier < (pointer_expression "*param_2" * identifier)) )) ;) (expression_statement "piVar3 = piVar2 + iVar1;" (assignment_expression "piVar3 = piVar2 + iVar1" identifier = (binary_expression "piVar2 + iVar1" identifier + identifier)) ;) })) (expression_statement "*piVar3 = 0;" (assignment_expression "*piVar3 = 0" (pointer_expression "*piVar3" * identifier) = number_literal) ;) }))) (return_statement "return piVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) ;) }))) (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 , LIT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * IDENT)) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT != (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (break_statement break ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) }))) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = 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 ( )))) ;) (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 (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (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) , IDENT , 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 (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT ))) ;) (labeled_statement statement_identifier : (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 (assignment_expression IDENT = LIT) ;) }) while (parenthesized_expression ( BOOL )) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * IDENT)) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) }))) (return_statement return IDENT ;) })))
(function_definition "int * FUN_001d5bdc(char *param_1,int *param_2)\n\n{\n  char cVar7;\n  int iVar1;\n  int *piVar2;\n  int *piVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  undefined4 uVar6;\n  char *pcVar8;\n  int iVar9;\n  int iVar10;\n  undefined4 uVar11;\n  \n  if (param_1 == (char *)0x0) {\n    piVar2 = (int *)0x0;\n  }\n  else {\n    *param_2 = 1;\n    cVar7 = *param_1;\n    if (cVar7 == '\0') {\n      iVar1 = 2;\n    }\n    else {\n      iVar10 = 1;\n      pcVar8 = param_1;\n      do {\n        iVar9 = iVar10 + 1;\n        iVar1 = iVar9;\n        if (cVar7 == '/') {\n          iVar1 = iVar10 + 2;\n          *param_2 = iVar9;\n          iVar10 = iVar9;\n        }\n        pcVar8 = pcVar8 + 1;\n        cVar7 = *pcVar8;\n      } while (cVar7 != '\0');\n    }\n    piVar2 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1,4);\n    if (piVar2 == (int *)0x0) goto LAB_001d5e40;\n    iVar1 = 0;\n    piVar3 = piVar2;\n    if (0 < *param_2) {\n      do {\n        cVar7 = *param_1;\n        iVar10 = 0x1000;\n        pcVar8 = param_1;\n        if (cVar7 == '\0') {\n          iVar9 = 0;\n        }\n        else {\n          iVar9 = 0;\n          while (cVar7 != '/') {\n            pcVar8 = pcVar8 + 1;\n            cVar7 = *pcVar8;\n            iVar9 = (int)pcVar8 - (int)param_1;\n            if (cVar7 == '\0') {\n              iVar10 = iVar9 + 0x1000;\n              break;\n            }\n            iVar10 = iVar9 + 0x1000;\n          }\n        }\n        iVar10 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar10,1);\n        *piVar3 = iVar10;\n        if (iVar10 == 0) {\n          uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n          puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n          uVar11 = 0x5a6;\n          do {\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar4,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar11,700,PTR_LAB_003a88e0 + 0x16f8,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            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n            uVar11 = 0x59c;\n          } while( true );\n        }\n        (*(code *)PTR_CopyMagickString_003a983c)(iVar10,param_1,iVar9 + 1);\n        iVar1 = iVar1 + 1;\n        param_1 = pcVar8 + 1;\n        piVar3 = piVar3 + 1;\n      } while (iVar1 < *param_2);\n      piVar3 = piVar2 + iVar1;\n    }\n    *piVar3 = 0;\n  }\n  return piVar2;\n}" (primitive_type "int") (pointer_declarator "* FUN_001d5bdc(char *param_1,int *param_2)" (* "*") (function_declarator "FUN_001d5bdc(char *param_1,int *param_2)" (identifier "FUN_001d5bdc") (parameter_list "(char *param_1,int *param_2)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")")))) (compound_statement "{\n  char cVar7;\n  int iVar1;\n  int *piVar2;\n  int *piVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  undefined4 uVar6;\n  char *pcVar8;\n  int iVar9;\n  int iVar10;\n  undefined4 uVar11;\n  \n  if (param_1 == (char *)0x0) {\n    piVar2 = (int *)0x0;\n  }\n  else {\n    *param_2 = 1;\n    cVar7 = *param_1;\n    if (cVar7 == '\0') {\n      iVar1 = 2;\n    }\n    else {\n      iVar10 = 1;\n      pcVar8 = param_1;\n      do {\n        iVar9 = iVar10 + 1;\n        iVar1 = iVar9;\n        if (cVar7 == '/') {\n          iVar1 = iVar10 + 2;\n          *param_2 = iVar9;\n          iVar10 = iVar9;\n        }\n        pcVar8 = pcVar8 + 1;\n        cVar7 = *pcVar8;\n      } while (cVar7 != '\0');\n    }\n    piVar2 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1,4);\n    if (piVar2 == (int *)0x0) goto LAB_001d5e40;\n    iVar1 = 0;\n    piVar3 = piVar2;\n    if (0 < *param_2) {\n      do {\n        cVar7 = *param_1;\n        iVar10 = 0x1000;\n        pcVar8 = param_1;\n        if (cVar7 == '\0') {\n          iVar9 = 0;\n        }\n        else {\n          iVar9 = 0;\n          while (cVar7 != '/') {\n            pcVar8 = pcVar8 + 1;\n            cVar7 = *pcVar8;\n            iVar9 = (int)pcVar8 - (int)param_1;\n            if (cVar7 == '\0') {\n              iVar10 = iVar9 + 0x1000;\n              break;\n            }\n            iVar10 = iVar9 + 0x1000;\n          }\n        }\n        iVar10 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar10,1);\n        *piVar3 = iVar10;\n        if (iVar10 == 0) {\n          uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n          puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n          uVar11 = 0x5a6;\n          do {\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar4,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar11,700,PTR_LAB_003a88e0 + 0x16f8,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            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n            uVar11 = 0x59c;\n          } while( true );\n        }\n        (*(code *)PTR_CopyMagickString_003a983c)(iVar10,param_1,iVar9 + 1);\n        iVar1 = iVar1 + 1;\n        param_1 = pcVar8 + 1;\n        piVar3 = piVar3 + 1;\n      } while (iVar1 < *param_2);\n      piVar3 = piVar2 + iVar1;\n    }\n    *piVar3 = 0;\n  }\n  return piVar2;\n}" ({ "{") (declaration "char cVar7;" (primitive_type "char") (identifier "cVar7") (; ";")) (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (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") (; ";")) (declaration "char *pcVar8;" (primitive_type "char") (pointer_declarator "*pcVar8" (* "*") (identifier "pcVar8")) (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (declaration "undefined4 uVar11;" (type_identifier "undefined4") (identifier "uVar11") (; ";")) (if_statement "if (param_1 == (char *)0x0) {\n    piVar2 = (int *)0x0;\n  }\n  else {\n    *param_2 = 1;\n    cVar7 = *param_1;\n    if (cVar7 == '\0') {\n      iVar1 = 2;\n    }\n    else {\n      iVar10 = 1;\n      pcVar8 = param_1;\n      do {\n        iVar9 = iVar10 + 1;\n        iVar1 = iVar9;\n        if (cVar7 == '/') {\n          iVar1 = iVar10 + 2;\n          *param_2 = iVar9;\n          iVar10 = iVar9;\n        }\n        pcVar8 = pcVar8 + 1;\n        cVar7 = *pcVar8;\n      } while (cVar7 != '\0');\n    }\n    piVar2 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1,4);\n    if (piVar2 == (int *)0x0) goto LAB_001d5e40;\n    iVar1 = 0;\n    piVar3 = piVar2;\n    if (0 < *param_2) {\n      do {\n        cVar7 = *param_1;\n        iVar10 = 0x1000;\n        pcVar8 = param_1;\n        if (cVar7 == '\0') {\n          iVar9 = 0;\n        }\n        else {\n          iVar9 = 0;\n          while (cVar7 != '/') {\n            pcVar8 = pcVar8 + 1;\n            cVar7 = *pcVar8;\n            iVar9 = (int)pcVar8 - (int)param_1;\n            if (cVar7 == '\0') {\n              iVar10 = iVar9 + 0x1000;\n              break;\n            }\n            iVar10 = iVar9 + 0x1000;\n          }\n        }\n        iVar10 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar10,1);\n        *piVar3 = iVar10;\n        if (iVar10 == 0) {\n          uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n          puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n          uVar11 = 0x5a6;\n          do {\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar4,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar11,700,PTR_LAB_003a88e0 + 0x16f8,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            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n            uVar11 = 0x59c;\n          } while( true );\n        }\n        (*(code *)PTR_CopyMagickString_003a983c)(iVar10,param_1,iVar9 + 1);\n        iVar1 = iVar1 + 1;\n        param_1 = pcVar8 + 1;\n        piVar3 = piVar3 + 1;\n      } while (iVar1 < *param_2);\n      piVar3 = piVar2 + iVar1;\n    }\n    *piVar3 = 0;\n  }" (if "if") (parenthesized_expression "(param_1 == (char *)0x0)" (( "(") (binary_expression "param_1 == (char *)0x0" (identifier "param_1") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    piVar2 = (int *)0x0;\n  }" ({ "{") (expression_statement "piVar2 = (int *)0x0;" (assignment_expression "piVar2 = (int *)0x0" (identifier "piVar2") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}")) (else_clause "else {\n    *param_2 = 1;\n    cVar7 = *param_1;\n    if (cVar7 == '\0') {\n      iVar1 = 2;\n    }\n    else {\n      iVar10 = 1;\n      pcVar8 = param_1;\n      do {\n        iVar9 = iVar10 + 1;\n        iVar1 = iVar9;\n        if (cVar7 == '/') {\n          iVar1 = iVar10 + 2;\n          *param_2 = iVar9;\n          iVar10 = iVar9;\n        }\n        pcVar8 = pcVar8 + 1;\n        cVar7 = *pcVar8;\n      } while (cVar7 != '\0');\n    }\n    piVar2 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1,4);\n    if (piVar2 == (int *)0x0) goto LAB_001d5e40;\n    iVar1 = 0;\n    piVar3 = piVar2;\n    if (0 < *param_2) {\n      do {\n        cVar7 = *param_1;\n        iVar10 = 0x1000;\n        pcVar8 = param_1;\n        if (cVar7 == '\0') {\n          iVar9 = 0;\n        }\n        else {\n          iVar9 = 0;\n          while (cVar7 != '/') {\n            pcVar8 = pcVar8 + 1;\n            cVar7 = *pcVar8;\n            iVar9 = (int)pcVar8 - (int)param_1;\n            if (cVar7 == '\0') {\n              iVar10 = iVar9 + 0x1000;\n              break;\n            }\n            iVar10 = iVar9 + 0x1000;\n          }\n        }\n        iVar10 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar10,1);\n        *piVar3 = iVar10;\n        if (iVar10 == 0) {\n          uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n          puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n          uVar11 = 0x5a6;\n          do {\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar4,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar11,700,PTR_LAB_003a88e0 + 0x16f8,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            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n            uVar11 = 0x59c;\n          } while( true );\n        }\n        (*(code *)PTR_CopyMagickString_003a983c)(iVar10,param_1,iVar9 + 1);\n        iVar1 = iVar1 + 1;\n        param_1 = pcVar8 + 1;\n        piVar3 = piVar3 + 1;\n      } while (iVar1 < *param_2);\n      piVar3 = piVar2 + iVar1;\n    }\n    *piVar3 = 0;\n  }" (else "else") (compound_statement "{\n    *param_2 = 1;\n    cVar7 = *param_1;\n    if (cVar7 == '\0') {\n      iVar1 = 2;\n    }\n    else {\n      iVar10 = 1;\n      pcVar8 = param_1;\n      do {\n        iVar9 = iVar10 + 1;\n        iVar1 = iVar9;\n        if (cVar7 == '/') {\n          iVar1 = iVar10 + 2;\n          *param_2 = iVar9;\n          iVar10 = iVar9;\n        }\n        pcVar8 = pcVar8 + 1;\n        cVar7 = *pcVar8;\n      } while (cVar7 != '\0');\n    }\n    piVar2 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1,4);\n    if (piVar2 == (int *)0x0) goto LAB_001d5e40;\n    iVar1 = 0;\n    piVar3 = piVar2;\n    if (0 < *param_2) {\n      do {\n        cVar7 = *param_1;\n        iVar10 = 0x1000;\n        pcVar8 = param_1;\n        if (cVar7 == '\0') {\n          iVar9 = 0;\n        }\n        else {\n          iVar9 = 0;\n          while (cVar7 != '/') {\n            pcVar8 = pcVar8 + 1;\n            cVar7 = *pcVar8;\n            iVar9 = (int)pcVar8 - (int)param_1;\n            if (cVar7 == '\0') {\n              iVar10 = iVar9 + 0x1000;\n              break;\n            }\n            iVar10 = iVar9 + 0x1000;\n          }\n        }\n        iVar10 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar10,1);\n        *piVar3 = iVar10;\n        if (iVar10 == 0) {\n          uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n          puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n          uVar11 = 0x5a6;\n          do {\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar4,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar11,700,PTR_LAB_003a88e0 + 0x16f8,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            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n            uVar11 = 0x59c;\n          } while( true );\n        }\n        (*(code *)PTR_CopyMagickString_003a983c)(iVar10,param_1,iVar9 + 1);\n        iVar1 = iVar1 + 1;\n        param_1 = pcVar8 + 1;\n        piVar3 = piVar3 + 1;\n      } while (iVar1 < *param_2);\n      piVar3 = piVar2 + iVar1;\n    }\n    *piVar3 = 0;\n  }" ({ "{") (expression_statement "*param_2 = 1;" (assignment_expression "*param_2 = 1" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (number_literal "1")) (; ";")) (expression_statement "cVar7 = *param_1;" (assignment_expression "cVar7 = *param_1" (identifier "cVar7") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if (cVar7 == '\0') {\n      iVar1 = 2;\n    }\n    else {\n      iVar10 = 1;\n      pcVar8 = param_1;\n      do {\n        iVar9 = iVar10 + 1;\n        iVar1 = iVar9;\n        if (cVar7 == '/') {\n          iVar1 = iVar10 + 2;\n          *param_2 = iVar9;\n          iVar10 = iVar9;\n        }\n        pcVar8 = pcVar8 + 1;\n        cVar7 = *pcVar8;\n      } while (cVar7 != '\0');\n    }" (if "if") (parenthesized_expression "(cVar7 == '\0')" (( "(") (binary_expression "cVar7 == '\0'" (identifier "cVar7") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      iVar1 = 2;\n    }" ({ "{") (expression_statement "iVar1 = 2;" (assignment_expression "iVar1 = 2" (identifier "iVar1") (= "=") (number_literal "2")) (; ";")) (} "}")) (else_clause "else {\n      iVar10 = 1;\n      pcVar8 = param_1;\n      do {\n        iVar9 = iVar10 + 1;\n        iVar1 = iVar9;\n        if (cVar7 == '/') {\n          iVar1 = iVar10 + 2;\n          *param_2 = iVar9;\n          iVar10 = iVar9;\n        }\n        pcVar8 = pcVar8 + 1;\n        cVar7 = *pcVar8;\n      } while (cVar7 != '\0');\n    }" (else "else") (compound_statement "{\n      iVar10 = 1;\n      pcVar8 = param_1;\n      do {\n        iVar9 = iVar10 + 1;\n        iVar1 = iVar9;\n        if (cVar7 == '/') {\n          iVar1 = iVar10 + 2;\n          *param_2 = iVar9;\n          iVar10 = iVar9;\n        }\n        pcVar8 = pcVar8 + 1;\n        cVar7 = *pcVar8;\n      } while (cVar7 != '\0');\n    }" ({ "{") (expression_statement "iVar10 = 1;" (assignment_expression "iVar10 = 1" (identifier "iVar10") (= "=") (number_literal "1")) (; ";")) (expression_statement "pcVar8 = param_1;" (assignment_expression "pcVar8 = param_1" (identifier "pcVar8") (= "=") (identifier "param_1")) (; ";")) (do_statement "do {\n        iVar9 = iVar10 + 1;\n        iVar1 = iVar9;\n        if (cVar7 == '/') {\n          iVar1 = iVar10 + 2;\n          *param_2 = iVar9;\n          iVar10 = iVar9;\n        }\n        pcVar8 = pcVar8 + 1;\n        cVar7 = *pcVar8;\n      } while (cVar7 != '\0');" (do "do") (compound_statement "{\n        iVar9 = iVar10 + 1;\n        iVar1 = iVar9;\n        if (cVar7 == '/') {\n          iVar1 = iVar10 + 2;\n          *param_2 = iVar9;\n          iVar10 = iVar9;\n        }\n        pcVar8 = pcVar8 + 1;\n        cVar7 = *pcVar8;\n      }" ({ "{") (expression_statement "iVar9 = iVar10 + 1;" (assignment_expression "iVar9 = iVar10 + 1" (identifier "iVar9") (= "=") (binary_expression "iVar10 + 1" (identifier "iVar10") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar1 = iVar9;" (assignment_expression "iVar1 = iVar9" (identifier "iVar1") (= "=") (identifier "iVar9")) (; ";")) (if_statement "if (cVar7 == '/') {\n          iVar1 = iVar10 + 2;\n          *param_2 = iVar9;\n          iVar10 = iVar9;\n        }" (if "if") (parenthesized_expression "(cVar7 == '/')" (( "(") (binary_expression "cVar7 == '/'" (identifier "cVar7") (== "==") (char_literal "'/'" (' "'") (character "/") (' "'"))) () ")")) (compound_statement "{\n          iVar1 = iVar10 + 2;\n          *param_2 = iVar9;\n          iVar10 = iVar9;\n        }" ({ "{") (expression_statement "iVar1 = iVar10 + 2;" (assignment_expression "iVar1 = iVar10 + 2" (identifier "iVar1") (= "=") (binary_expression "iVar10 + 2" (identifier "iVar10") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "*param_2 = iVar9;" (assignment_expression "*param_2 = iVar9" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "iVar9")) (; ";")) (expression_statement "iVar10 = iVar9;" (assignment_expression "iVar10 = iVar9" (identifier "iVar10") (= "=") (identifier "iVar9")) (; ";")) (} "}"))) (expression_statement "pcVar8 = pcVar8 + 1;" (assignment_expression "pcVar8 = pcVar8 + 1" (identifier "pcVar8") (= "=") (binary_expression "pcVar8 + 1" (identifier "pcVar8") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "cVar7 = *pcVar8;" (assignment_expression "cVar7 = *pcVar8" (identifier "cVar7") (= "=") (pointer_expression "*pcVar8" (* "*") (identifier "pcVar8"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(cVar7 != '\0')" (( "(") (binary_expression "cVar7 != '\0'" (identifier "cVar7") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (; ";")) (} "}")))) (expression_statement "piVar2 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1,4);" (assignment_expression "piVar2 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1,4)" (identifier "piVar2") (= "=") (cast_expression "(int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1,4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1,4)" (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,4)" (( "(") (identifier "iVar1") (, ",") (number_literal "4") () ")"))))) (; ";")) (if_statement "if (piVar2 == (int *)0x0) goto LAB_001d5e40;" (if "if") (parenthesized_expression "(piVar2 == (int *)0x0)" (( "(") (binary_expression "piVar2 == (int *)0x0" (identifier "piVar2") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_001d5e40;" (goto "goto") (statement_identifier "LAB_001d5e40") (; ";"))) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" (identifier "iVar1") (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar3 = piVar2;" (assignment_expression "piVar3 = piVar2" (identifier "piVar3") (= "=") (identifier "piVar2")) (; ";")) (if_statement "if (0 < *param_2) {\n      do {\n        cVar7 = *param_1;\n        iVar10 = 0x1000;\n        pcVar8 = param_1;\n        if (cVar7 == '\0') {\n          iVar9 = 0;\n        }\n        else {\n          iVar9 = 0;\n          while (cVar7 != '/') {\n            pcVar8 = pcVar8 + 1;\n            cVar7 = *pcVar8;\n            iVar9 = (int)pcVar8 - (int)param_1;\n            if (cVar7 == '\0') {\n              iVar10 = iVar9 + 0x1000;\n              break;\n            }\n            iVar10 = iVar9 + 0x1000;\n          }\n        }\n        iVar10 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar10,1);\n        *piVar3 = iVar10;\n        if (iVar10 == 0) {\n          uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n          puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n          uVar11 = 0x5a6;\n          do {\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar4,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar11,700,PTR_LAB_003a88e0 + 0x16f8,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            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n            uVar11 = 0x59c;\n          } while( true );\n        }\n        (*(code *)PTR_CopyMagickString_003a983c)(iVar10,param_1,iVar9 + 1);\n        iVar1 = iVar1 + 1;\n        param_1 = pcVar8 + 1;\n        piVar3 = piVar3 + 1;\n      } while (iVar1 < *param_2);\n      piVar3 = piVar2 + iVar1;\n    }" (if "if") (parenthesized_expression "(0 < *param_2)" (( "(") (binary_expression "0 < *param_2" (number_literal "0") (< "<") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) () ")")) (compound_statement "{\n      do {\n        cVar7 = *param_1;\n        iVar10 = 0x1000;\n        pcVar8 = param_1;\n        if (cVar7 == '\0') {\n          iVar9 = 0;\n        }\n        else {\n          iVar9 = 0;\n          while (cVar7 != '/') {\n            pcVar8 = pcVar8 + 1;\n            cVar7 = *pcVar8;\n            iVar9 = (int)pcVar8 - (int)param_1;\n            if (cVar7 == '\0') {\n              iVar10 = iVar9 + 0x1000;\n              break;\n            }\n            iVar10 = iVar9 + 0x1000;\n          }\n        }\n        iVar10 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar10,1);\n        *piVar3 = iVar10;\n        if (iVar10 == 0) {\n          uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n          puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n          uVar11 = 0x5a6;\n          do {\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar4,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar11,700,PTR_LAB_003a88e0 + 0x16f8,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            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n            uVar11 = 0x59c;\n          } while( true );\n        }\n        (*(code *)PTR_CopyMagickString_003a983c)(iVar10,param_1,iVar9 + 1);\n        iVar1 = iVar1 + 1;\n        param_1 = pcVar8 + 1;\n        piVar3 = piVar3 + 1;\n      } while (iVar1 < *param_2);\n      piVar3 = piVar2 + iVar1;\n    }" ({ "{") (do_statement "do {\n        cVar7 = *param_1;\n        iVar10 = 0x1000;\n        pcVar8 = param_1;\n        if (cVar7 == '\0') {\n          iVar9 = 0;\n        }\n        else {\n          iVar9 = 0;\n          while (cVar7 != '/') {\n            pcVar8 = pcVar8 + 1;\n            cVar7 = *pcVar8;\n            iVar9 = (int)pcVar8 - (int)param_1;\n            if (cVar7 == '\0') {\n              iVar10 = iVar9 + 0x1000;\n              break;\n            }\n            iVar10 = iVar9 + 0x1000;\n          }\n        }\n        iVar10 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar10,1);\n        *piVar3 = iVar10;\n        if (iVar10 == 0) {\n          uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n          puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n          uVar11 = 0x5a6;\n          do {\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar4,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar11,700,PTR_LAB_003a88e0 + 0x16f8,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            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n            uVar11 = 0x59c;\n          } while( true );\n        }\n        (*(code *)PTR_CopyMagickString_003a983c)(iVar10,param_1,iVar9 + 1);\n        iVar1 = iVar1 + 1;\n        param_1 = pcVar8 + 1;\n        piVar3 = piVar3 + 1;\n      } while (iVar1 < *param_2);" (do "do") (compound_statement "{\n        cVar7 = *param_1;\n        iVar10 = 0x1000;\n        pcVar8 = param_1;\n        if (cVar7 == '\0') {\n          iVar9 = 0;\n        }\n        else {\n          iVar9 = 0;\n          while (cVar7 != '/') {\n            pcVar8 = pcVar8 + 1;\n            cVar7 = *pcVar8;\n            iVar9 = (int)pcVar8 - (int)param_1;\n            if (cVar7 == '\0') {\n              iVar10 = iVar9 + 0x1000;\n              break;\n            }\n            iVar10 = iVar9 + 0x1000;\n          }\n        }\n        iVar10 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar10,1);\n        *piVar3 = iVar10;\n        if (iVar10 == 0) {\n          uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n          puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n          uVar11 = 0x5a6;\n          do {\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar4,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar11,700,PTR_LAB_003a88e0 + 0x16f8,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            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n            uVar11 = 0x59c;\n          } while( true );\n        }\n        (*(code *)PTR_CopyMagickString_003a983c)(iVar10,param_1,iVar9 + 1);\n        iVar1 = iVar1 + 1;\n        param_1 = pcVar8 + 1;\n        piVar3 = piVar3 + 1;\n      }" ({ "{") (expression_statement "cVar7 = *param_1;" (assignment_expression "cVar7 = *param_1" (identifier "cVar7") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "iVar10 = 0x1000;" (assignment_expression "iVar10 = 0x1000" (identifier "iVar10") (= "=") (number_literal "0x1000")) (; ";")) (expression_statement "pcVar8 = param_1;" (assignment_expression "pcVar8 = param_1" (identifier "pcVar8") (= "=") (identifier "param_1")) (; ";")) (if_statement "if (cVar7 == '\0') {\n          iVar9 = 0;\n        }\n        else {\n          iVar9 = 0;\n          while (cVar7 != '/') {\n            pcVar8 = pcVar8 + 1;\n            cVar7 = *pcVar8;\n            iVar9 = (int)pcVar8 - (int)param_1;\n            if (cVar7 == '\0') {\n              iVar10 = iVar9 + 0x1000;\n              break;\n            }\n            iVar10 = iVar9 + 0x1000;\n          }\n        }" (if "if") (parenthesized_expression "(cVar7 == '\0')" (( "(") (binary_expression "cVar7 == '\0'" (identifier "cVar7") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n          iVar9 = 0;\n        }" ({ "{") (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" (identifier "iVar9") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n          iVar9 = 0;\n          while (cVar7 != '/') {\n            pcVar8 = pcVar8 + 1;\n            cVar7 = *pcVar8;\n            iVar9 = (int)pcVar8 - (int)param_1;\n            if (cVar7 == '\0') {\n              iVar10 = iVar9 + 0x1000;\n              break;\n            }\n            iVar10 = iVar9 + 0x1000;\n          }\n        }" (else "else") (compound_statement "{\n          iVar9 = 0;\n          while (cVar7 != '/') {\n            pcVar8 = pcVar8 + 1;\n            cVar7 = *pcVar8;\n            iVar9 = (int)pcVar8 - (int)param_1;\n            if (cVar7 == '\0') {\n              iVar10 = iVar9 + 0x1000;\n              break;\n            }\n            iVar10 = iVar9 + 0x1000;\n          }\n        }" ({ "{") (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" (identifier "iVar9") (= "=") (number_literal "0")) (; ";")) (while_statement "while (cVar7 != '/') {\n            pcVar8 = pcVar8 + 1;\n            cVar7 = *pcVar8;\n            iVar9 = (int)pcVar8 - (int)param_1;\n            if (cVar7 == '\0') {\n              iVar10 = iVar9 + 0x1000;\n              break;\n            }\n            iVar10 = iVar9 + 0x1000;\n          }" (while "while") (parenthesized_expression "(cVar7 != '/')" (( "(") (binary_expression "cVar7 != '/'" (identifier "cVar7") (!= "!=") (char_literal "'/'" (' "'") (character "/") (' "'"))) () ")")) (compound_statement "{\n            pcVar8 = pcVar8 + 1;\n            cVar7 = *pcVar8;\n            iVar9 = (int)pcVar8 - (int)param_1;\n            if (cVar7 == '\0') {\n              iVar10 = iVar9 + 0x1000;\n              break;\n            }\n            iVar10 = iVar9 + 0x1000;\n          }" ({ "{") (expression_statement "pcVar8 = pcVar8 + 1;" (assignment_expression "pcVar8 = pcVar8 + 1" (identifier "pcVar8") (= "=") (binary_expression "pcVar8 + 1" (identifier "pcVar8") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "cVar7 = *pcVar8;" (assignment_expression "cVar7 = *pcVar8" (identifier "cVar7") (= "=") (pointer_expression "*pcVar8" (* "*") (identifier "pcVar8"))) (; ";")) (expression_statement "iVar9 = (int)pcVar8 - (int)param_1;" (assignment_expression "iVar9 = (int)pcVar8 - (int)param_1" (identifier "iVar9") (= "=") (binary_expression "(int)pcVar8 - (int)param_1" (cast_expression "(int)pcVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar8")) (- "-") (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")))) (; ";")) (if_statement "if (cVar7 == '\0') {\n              iVar10 = iVar9 + 0x1000;\n              break;\n            }" (if "if") (parenthesized_expression "(cVar7 == '\0')" (( "(") (binary_expression "cVar7 == '\0'" (identifier "cVar7") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n              iVar10 = iVar9 + 0x1000;\n              break;\n            }" ({ "{") (expression_statement "iVar10 = iVar9 + 0x1000;" (assignment_expression "iVar10 = iVar9 + 0x1000" (identifier "iVar10") (= "=") (binary_expression "iVar9 + 0x1000" (identifier "iVar9") (+ "+") (number_literal "0x1000"))) (; ";")) (break_statement "break;" (break "break") (; ";")) (} "}"))) (expression_statement "iVar10 = iVar9 + 0x1000;" (assignment_expression "iVar10 = iVar9 + 0x1000" (identifier "iVar10") (= "=") (binary_expression "iVar9 + 0x1000" (identifier "iVar9") (+ "+") (number_literal "0x1000"))) (; ";")) (} "}"))) (} "}")))) (expression_statement "iVar10 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar10,1);" (assignment_expression "iVar10 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar10,1)" (identifier "iVar10") (= "=") (call_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar10,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 "(iVar10,1)" (( "(") (identifier "iVar10") (, ",") (number_literal "1") () ")")))) (; ";")) (expression_statement "*piVar3 = iVar10;" (assignment_expression "*piVar3 = iVar10" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (= "=") (identifier "iVar10")) (; ";")) (if_statement "if (iVar10 == 0) {\n          uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n          puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n          uVar11 = 0x5a6;\n          do {\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar4,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar11,700,PTR_LAB_003a88e0 + 0x16f8,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            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n            uVar11 = 0x59c;\n          } while( true );\n        }" (if "if") (parenthesized_expression "(iVar10 == 0)" (( "(") (binary_expression "iVar10 == 0" (identifier "iVar10") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n          puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n          uVar11 = 0x5a6;\n          do {\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar4,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar11,700,PTR_LAB_003a88e0 + 0x16f8,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            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n            uVar11 = 0x59c;\n          } while( true );\n        }" ({ "{") (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 "uVar11 = 0x5a6;" (assignment_expression "uVar11 = 0x5a6" (identifier "uVar11") (= "=") (number_literal "0x5a6")) (; ";")) (do_statement "do {\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar4,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar11,700,PTR_LAB_003a88e0 + 0x16f8,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            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n            uVar11 = 0x59c;\n          } while( true );" (do "do") (compound_statement "{\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar4,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar11,700,PTR_LAB_003a88e0 + 0x16f8,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            (*(code *)PTR__exit_003a9660)(1);\nLAB_001d5e40:\n            uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);\n            uVar11 = 0x59c;\n          }" ({ "{") (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar4,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar11,700,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,uVar6);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                      (uVar4,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar11,700,PTR_LAB_003a88e0 + 0x16f8,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 + -0x1a60,PTR_s_courses_003a88ec + -0x171c,\n                       uVar11,700,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,uVar6)" (( "(") (identifier "uVar4") (, ",") (binary_expression "PTR_s_courses_003a88ec + -0x1a60" (identifier "PTR_s_courses_003a88ec") (+ "+") (number_literal "-0x1a60")) (, ",") (binary_expression "PTR_s_courses_003a88ec + -0x171c" (identifier "PTR_s_courses_003a88ec") (+ "+") (number_literal "-0x171c")) (, ",") (identifier "uVar11") (, ",") (number_literal "700") (, ",") (binary_expression "PTR_LAB_003a88e0 + 0x16f8" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x16f8")) (, ",") (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 "(*(code *)PTR__exit_003a9660)(1);" (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") () ")"))) (; ";")) (labeled_statement "LAB_001d5e40:\n            uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();" (statement_identifier "LAB_001d5e40") (: ":") (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 "uVar11 = 0x59c;" (assignment_expression "uVar11 = 0x59c" (identifier "uVar11") (= "=") (number_literal "0x59c")) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_CopyMagickString_003a983c)(iVar10,param_1,iVar9 + 1);" (call_expression "(*(code *)PTR_CopyMagickString_003a983c)(iVar10,param_1,iVar9 + 1)" (parenthesized_expression "(*(code *)PTR_CopyMagickString_003a983c)" (( "(") (pointer_expression "*(code *)PTR_CopyMagickString_003a983c" (* "*") (cast_expression "(code *)PTR_CopyMagickString_003a983c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_CopyMagickString_003a983c"))) () ")")) (argument_list "(iVar10,param_1,iVar9 + 1)" (( "(") (identifier "iVar10") (, ",") (identifier "param_1") (, ",") (binary_expression "iVar9 + 1" (identifier "iVar9") (+ "+") (number_literal "1")) () ")"))) (; ";")) (expression_statement "iVar1 = iVar1 + 1;" (assignment_expression "iVar1 = iVar1 + 1" (identifier "iVar1") (= "=") (binary_expression "iVar1 + 1" (identifier "iVar1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "param_1 = pcVar8 + 1;" (assignment_expression "param_1 = pcVar8 + 1" (identifier "param_1") (= "=") (binary_expression "pcVar8 + 1" (identifier "pcVar8") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "piVar3 = piVar3 + 1;" (assignment_expression "piVar3 = piVar3 + 1" (identifier "piVar3") (= "=") (binary_expression "piVar3 + 1" (identifier "piVar3") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar1 < *param_2)" (( "(") (binary_expression "iVar1 < *param_2" (identifier "iVar1") (< "<") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) () ")")) (; ";")) (expression_statement "piVar3 = piVar2 + iVar1;" (assignment_expression "piVar3 = piVar2 + iVar1" (identifier "piVar3") (= "=") (binary_expression "piVar2 + iVar1" (identifier "piVar2") (+ "+") (identifier "iVar1"))) (; ";")) (} "}"))) (expression_statement "*piVar3 = 0;" (assignment_expression "*piVar3 = 0" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (= "=") (number_literal "0")) (; ";")) (} "}")))) (return_statement "return piVar2;" (return "return") (identifier "piVar2") (; ";")) (} "}")))

char ** function_1(char *var_1,size_t *number_components)

{
  char *fatal_message;
  char var_2;
  size_t sVar1;
  char **var_5;
  char *var_7;
  char **var_11;
  type_1 uVar5;
  type_1 *puVar6;
  type_1 uVar7;
  char *var_4;
  size_t sVar10;
  int iVar11;
  size_t var_3;
  type_1 uVar13;
  int var_10;
  int var_6;
  
  if (var_1 == (char *)0x0) {
    var_5 = (char **)0x0;
  }
  else {
    *number_components = 1;
    var_2 = *var_1;
    if (var_2 == '\0') {
      sVar1 = 2;
    }
    else {
      var_3 = 1;
      var_4 = var_1;
      do {
        sVar10 = var_3 + 1;
        sVar1 = sVar10;
        if (var_2 == '/') {
          sVar1 = var_3 + 2;
          *number_components = sVar10;
          var_3 = sVar10;
        }
        var_4 = var_4 + 1;
        var_2 = *var_4;
      } while (var_2 != '\0');
    }
    var_5 = (char **)(*(type_2 *)PTR_AcquireQuantumMemory_003a950c)(sVar1,4);
    if (var_5 == (char **)0x0) goto LAB_001d5e40;
    var_10 = 0;
    var_11 = var_5;
    if (0 < (int)*number_components) {
      do {
        var_2 = *var_1;
        iVar11 = 0x1000;
        var_4 = var_1;
        if (var_2 == '\0') {
          var_6 = 0;
        }
        else {
          var_6 = 0;
          while (var_2 != '/') {
            var_4 = var_4 + 1;
            var_2 = *var_4;
            var_6 = (int)var_4 - (int)var_1;
            if (var_2 == '\0') {
              iVar11 = var_6 + 0x1000;
              break;
            }
            iVar11 = var_6 + 0x1000;
          }
        }
        var_7 = (char *)(*(type_2 *)PTR_AcquireQuantumMemory_003a950c)(iVar11,1);
        *var_11 = var_7;
        if (var_7 == (char *)0x0) {
          uVar5 = (*(type_2 *)PTR_AcquireExceptionInfo_003a8eec)();
          puVar6 = (type_1 *)(*(type_2 *)PTR___errno_location_003a99b0)();
          uVar7 = (*(type_2 *)PTR_GetExceptionMessage_003a93ec)(*puVar6);
          uVar13 = 0x5a6;
          do {
            (*(type_2 *)PTR_ThrowMagickException_003a8f20)
                      (uVar5,var_8 + -0x1a60,var_8 + -0x171c,
                       uVar13,700,var_9 + 0x16f8,var_9 + 0x3e28,uVar7);
            (*(type_2 *)PTR_DestroyString_003a9074)(uVar7);
            (*(type_2 *)PTR_CatchException_003a92b0)(uVar5);
            (*(type_2 *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);
            (*(type_2 *)PTR_MagickCoreTerminus_003a98ec)();
            (*(type_2 *)PTR__exit_003a9660)(1);
LAB_001d5e40:
            uVar5 = (*(type_2 *)PTR_AcquireExceptionInfo_003a8eec)();
            puVar6 = (type_1 *)(*(type_2 *)PTR___errno_location_003a99b0)();
            uVar7 = (*(type_2 *)PTR_GetExceptionMessage_003a93ec)(*puVar6);
            uVar13 = 0x59c;
          } while( true );
        }
        (*(type_2 *)PTR_CopyMagickString_003a983c)(var_7,var_1,var_6 + 1);
        var_10 = var_10 + 1;
        var_1 = var_4 + 1;
        var_11 = var_11 + 1;
      } while (var_10 < (int)*number_components);
      var_11 = var_5 + var_10;
    }
    *var_11 = (char *)0x0;
  }
  return var_5;
}


(translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) 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)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (character)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) 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) (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (pointer_expression argument: (identifier)))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (while_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (character)))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (break_statement))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))))))) (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 (identifier) (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (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)))) (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 (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (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 (identifier) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (identifier) (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 (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)))) (labeled_statement label: (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 (assignment_expression left: (identifier) right: (number_literal)))) condition: (parenthesized_expression (true))))) (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) (identifier) (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))))) (return_statement (identifier)))))

int * MASKED(char *param_1,int *param_2)

{
  char cVar7;
  int iVar1;
  int *piVar2;
  int *piVar3;
  undefined4 uVar4;
  undefined4 *puVar5;
  undefined4 uVar6;
  char *pcVar8;
  int iVar9;
  int iVar10;
  undefined4 uVar11;
  
  if (param_1 == (char *)0x0) {
    piVar2 = (int *)0x0;
  }
  else {
    *param_2 = 1;
    cVar7 = *param_1;
    if (cVar7 == '\0') {
      iVar1 = 2;
    }
    else {
      iVar10 = 1;
      pcVar8 = param_1;
      do {
        iVar9 = iVar10 + 1;
        iVar1 = iVar9;
        if (cVar7 == '/') {
          iVar1 = iVar10 + 2;
          *param_2 = iVar9;
          iVar10 = iVar9;
        }
        pcVar8 = pcVar8 + 1;
        cVar7 = *pcVar8;
      } while (cVar7 != '\0');
    }
    piVar2 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar1,4);
    if (piVar2 == (int *)0x0) goto LAB_001d5e40;
    iVar1 = 0;
    piVar3 = piVar2;
    if (0 < *param_2) {
      do {
        cVar7 = *param_1;
        iVar10 = 0x1000;
        pcVar8 = param_1;
        if (cVar7 == '\0') {
          iVar9 = 0;
        }
        else {
          iVar9 = 0;
          while (cVar7 != '/') {
            pcVar8 = pcVar8 + 1;
            cVar7 = *pcVar8;
            iVar9 = (int)pcVar8 - (int)param_1;
            if (cVar7 == '\0') {
              iVar10 = iVar9 + 0x1000;
              break;
            }
            iVar10 = iVar9 + 0x1000;
          }
        }
        iVar10 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar10,1);
        *piVar3 = iVar10;
        if (iVar10 == 0) {
          uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();
          puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();
          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);
          uVar11 = 0x5a6;
          do {
            (*(code *)PTR_ThrowMagickException_003a8f20)
                      (uVar4,PTR_s_courses_003a88ec + -0x1a60,PTR_s_courses_003a88ec + -0x171c,
                       uVar11,700,PTR_LAB_003a88e0 + 0x16f8,PTR_LAB_003a88e0 + 0x3e28,uVar6);
            (*(code *)PTR_DestroyString_003a9074)(uVar6);
            (*(code *)PTR_CatchException_003a92b0)(uVar4);
            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar4);
            (*(code *)PTR_MagickCoreTerminus_003a98ec)();
            (*(code *)PTR__exit_003a9660)(1);
LAB_001d5e40:
            uVar4 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();
            puVar5 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();
            uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar5);
            uVar11 = 0x59c;
          } while( true );
        }
        (*(code *)PTR_CopyMagickString_003a983c)(iVar10,param_1,iVar9 + 1);
        iVar1 = iVar1 + 1;
        param_1 = pcVar8 + 1;
        piVar3 = piVar3 + 1;
      } while (iVar1 < *param_2);
      piVar3 = piVar2 + iVar1;
    }
    *piVar3 = 0;
  }
  return piVar2;
}

