#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, ...);
scalar_t__ malloc(int);
int /*<<< orphan*/ stderr;
int /*<<< orphan*/ strcpy(char *, char *);
int strlen(char *);
char *strsep(char **, char *);
int /*<<< orphan*/ zero_string(char *, int);
int break_str(char *X, char *delim, char ***ptr_Y, int *ptr_nY) {
  int status = 0;
  char **Y = NULL;
  int nY = 0;
  char *bak_X = X;
  char *cptr = NULL;
  if (X == NULL) {
    {
      {
        fprintf(stderr, "Line %3d of File %s \n", 228,
                "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
                "outputs/2022-01-22/02-19-57/repos/NerdWalletOSS/Q/refs/heads/"
                "master/DEPRECATED_Q2/BAK.4.23.2015.PARSER/auxil.c");
      };
      status = -1;
      goto BYE;
    };
  }
  if (*X == '\0') {
    goto BYE;
  }
  nY = 1;
  for (; *bak_X != '\0'; bak_X++) {
    if (*bak_X == ':') {
      nY++;
    }
  }
  Y = (char **)malloc(nY * sizeof(char *));
  {
    if (Y == NULL) {
      fprintf(stderr, "Unable to allocate memory\n");
      {
        {
          fprintf(stderr, "Line %3d of File %s \n", 237,
                  "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
                  "outputs/2022-01-22/02-19-57/repos/NerdWalletOSS/Q/refs/"
                  "heads/master/DEPRECATED_Q2/BAK.4.23.2015.PARSER/auxil.c");
        };
        status = -1;
        goto BYE;
      };
    }
  };
  for (int i = 0; i < nY; i++) {
    Y[i] = NULL;
  }
  bak_X = X;
  for (int i = 0; i < nY; i++) {
    cptr = strsep(&bak_X, delim);
    if ((cptr == NULL) || (*cptr == '\0')) {
      {
        {
          fprintf(stderr, "Line %3d of File %s \n", 244,
                  "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
                  "outputs/2022-01-22/02-19-57/repos/NerdWalletOSS/Q/refs/"
                  "heads/master/DEPRECATED_Q2/BAK.4.23.2015.PARSER/auxil.c");
        };
        status = -1;
        goto BYE;
      };
    }
    Y[i] = (char *)malloc(strlen(cptr) + 1);
    {
      if (Y[i] == NULL) {
        fprintf(stderr, "Unable to allocate memory\n");
        {
          {
            fprintf(stderr, "Line %3d of File %s \n", 246,
                    "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
                    "outputs/2022-01-22/02-19-57/repos/NerdWalletOSS/Q/refs/"
                    "heads/master/DEPRECATED_Q2/BAK.4.23.2015.PARSER/auxil.c");
          };
          status = -1;
          goto BYE;
        };
      }
    };
    zero_string(Y[i], strlen(cptr) + 1);
    strcpy(Y[i], cptr);
  }
  *ptr_nY = nY;
  *ptr_Y = Y;
BYE:
  return status;
}


x86 assembly (clang, -O0):
<break_str>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
movl   $0x0,-0x24(%rbp)
movq   $0x0,-0x30(%rbp)
movl   $0x0,-0x34(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x40(%rbp)
movq   $0x0,-0x48(%rbp)
cmpq   $0x0,-0x8(%rbp)
jne    11d8 <break_str+0x78>
mov    0x2e30(%rip),%rax
mov    (%rax),%edi
lea    0xe47(%rip),%rsi
mov    $0xe4,%edx
lea    0xe51(%rip),%rcx
mov    $0x0,%al
call   1060 <fprintf@plt>
movl   $0xffffffff,-0x24(%rbp)
jmp    1417 <break_str+0x2b7>
mov    -0x8(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
jne    11ed <break_str+0x8d>
jmp    1417 <break_str+0x2b7>
movl   $0x1,-0x34(%rbp)
mov    -0x40(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
je     1233 <break_str+0xd3>
mov    -0x40(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x3a,%eax
jne    121d <break_str+0xbd>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    1222 <break_str+0xc2>
mov    -0x40(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x40(%rbp)
jmp    11f4 <break_str+0x94>
movslq -0x34(%rbp),%rax
shl    $0x3,%rax
mov    %eax,%edi
call   1070 <malloc@plt>
mov    %rax,-0x30(%rbp)
cmpq   $0x0,-0x30(%rbp)
jne    1297 <break_str+0x137>
mov    0x2d88(%rip),%rax
mov    (%rax),%edi
lea    0xe5c(%rip),%rsi
mov    $0x0,%al
call   1060 <fprintf@plt>
mov    0x2d71(%rip),%rax
mov    (%rax),%edi
lea    0xd88(%rip),%rsi
mov    $0xed,%edx
lea    0xd92(%rip),%rcx
mov    $0x0,%al
call   1060 <fprintf@plt>
movl   $0xffffffff,-0x24(%rbp)
jmp    1417 <break_str+0x2b7>
movl   $0x0,-0x4c(%rbp)
mov    -0x4c(%rbp),%eax
cmp    -0x34(%rbp),%eax
jge    12c8 <break_str+0x168>
mov    -0x30(%rbp),%rax
movslq -0x4c(%rbp),%rcx
movq   $0x0,(%rax,%rcx,8)
mov    -0x4c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4c(%rbp)
jmp    129e <break_str+0x13e>
mov    -0x8(%rbp),%rax
mov    %rax,-0x40(%rbp)
movl   $0x0,-0x50(%rbp)
mov    -0x50(%rbp),%eax
cmp    -0x34(%rbp),%eax
jge    1403 <break_str+0x2a3>
mov    -0x10(%rbp),%rsi
lea    -0x40(%rbp),%rdi
call   1080 <strsep@plt>
mov    %rax,-0x48(%rbp)
cmpq   $0x0,-0x48(%rbp)
je     130f <break_str+0x1af>
mov    -0x48(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
jne    133e <break_str+0x1de>
mov    0x2cca(%rip),%rax
mov    (%rax),%edi
lea    0xce1(%rip),%rsi
mov    $0xf4,%edx
lea    0xceb(%rip),%rcx
mov    $0x0,%al
call   1060 <fprintf@plt>
movl   $0xffffffff,-0x24(%rbp)
jmp    1417 <break_str+0x2b7>
mov    -0x48(%rbp),%rdi
call   1050 <strlen@plt>
mov    %eax,%edi
add    $0x1,%edi
call   1070 <malloc@plt>
mov    %rax,%rdx
mov    -0x30(%rbp),%rax
movslq -0x50(%rbp),%rcx
mov    %rdx,(%rax,%rcx,8)
mov    -0x30(%rbp),%rax
movslq -0x50(%rbp),%rcx
cmpq   $0x0,(%rax,%rcx,8)
jne    13b9 <break_str+0x259>
mov    0x2c66(%rip),%rax
mov    (%rax),%edi
lea    0xd3a(%rip),%rsi
mov    $0x0,%al
call   1060 <fprintf@plt>
mov    0x2c4f(%rip),%rax
mov    (%rax),%edi
lea    0xc66(%rip),%rsi
mov    $0xf6,%edx
lea    0xc70(%rip),%rcx
mov    $0x0,%al
call   1060 <fprintf@plt>
movl   $0xffffffff,-0x24(%rbp)
jmp    1417 <break_str+0x2b7>
mov    -0x30(%rbp),%rax
movslq -0x50(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    %rax,-0x58(%rbp)
mov    -0x48(%rbp),%rdi
call   1050 <strlen@plt>
mov    -0x58(%rbp),%rdi
mov    %eax,%esi
add    $0x1,%esi
call   1040 <zero_string@plt>
mov    -0x30(%rbp),%rax
movslq -0x50(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
mov    -0x48(%rbp),%rsi
call   1030 <strcpy@plt>
mov    -0x50(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x50(%rbp)
jmp    12d7 <break_str+0x177>
mov    -0x34(%rbp),%ecx
mov    -0x20(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x30(%rbp),%rcx
mov    -0x18(%rbp),%rax
mov    %rcx,(%rax)
mov    -0x24(%rbp),%eax
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<break_str>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x28,%rsp
mov    %rsi,0x20(%rsp)
test   %rdi,%rdi
je     12b5 <break_str+0x145>
mov    %rdx,%r14
mov    %rdi,%rbx
mov    (%rdi),%dl
xor    %eax,%eax
test   %dl,%dl
je     1357 <break_str+0x1e7>
mov    %rcx,%r15
mov    (%rsp),%rsi
lea    0x1(%rbx),%rax
mov    $0x1,%r12d
mov    %rbx,%rcx
jmp    11d2 <break_str+0x62>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
add    $0x1,%r12d
add    $0x1,%rcx
movzbl (%rax),%edx
add    $0x1,%rax
mov    %rcx,%rsi
cmp    $0x3a,%dl
je     11c0 <break_str+0x50>
test   %dl,%dl
jne    11c4 <break_str+0x54>
mov    %rsi,(%rsp)
lea    0x0(,%r12,8),%edi
call   1080 <malloc@plt>
test   %rax,%rax
je     12d3 <break_str+0x163>
mov    %rax,%rbp
mov    %r15,0x8(%rsp)
mov    %r14,0x10(%rsp)
test   %r12d,%r12d
jle    129e <break_str+0x12e>
mov    %r12d,%eax
mov    %rax,0x18(%rsp)
lea    0x0(,%rax,8),%rdx
xor    %r13d,%r13d
mov    %rbp,%rdi
xor    %esi,%esi
call   1060 <memset@plt>
mov    %rbx,(%rsp)
mov    %rsp,%rbx
nop
mov    %rbx,%rdi
mov    0x20(%rsp),%rsi
call   1090 <strsep@plt>
test   %rax,%rax
je     1301 <break_str+0x191>
mov    %rax,%r14
cmpb   $0x0,(%rax)
je     1301 <break_str+0x191>
mov    %r14,%rdi
call   1050 <strlen@plt>
lea    0x1(%rax),%edi
call   1080 <malloc@plt>
mov    %rax,0x0(%rbp,%r13,8)
test   %rax,%rax
je     131f <break_str+0x1af>
mov    %rax,%r15
mov    %r14,%rdi
call   1050 <strlen@plt>
lea    0x1(%rax),%esi
mov    %r15,%rdi
call   1040 <zero_string@plt>
mov    0x0(%rbp,%r13,8),%rdi
mov    %r14,%rsi
call   1030 <strcpy@plt>
add    $0x1,%r13
cmp    %r13,0x18(%rsp)
jne    1230 <break_str+0xc0>
mov    0x8(%rsp),%rax
mov    %r12d,(%rax)
mov    0x10(%rsp),%rax
mov    %rbp,(%rax)
xor    %eax,%eax
jmp    1357 <break_str+0x1e7>
mov    0x2d24(%rip),%rax
mov    (%rax),%edi
lea    0xd3b(%rip),%rsi
lea    0xd4a(%rip),%rcx
mov    $0xe4,%edx
jmp    134b <break_str+0x1db>
mov    0x2d06(%rip),%rbx
mov    (%rbx),%edi
lea    0xdda(%rip),%rsi
xor    %eax,%eax
call   1070 <fprintf@plt>
mov    (%rbx),%edi
lea    0xd0d(%rip),%rsi
lea    0xd1c(%rip),%rcx
mov    $0xed,%edx
jmp    134b <break_str+0x1db>
mov    0x2cd8(%rip),%rax
mov    (%rax),%edi
lea    0xcef(%rip),%rsi
lea    0xcfe(%rip),%rcx
mov    $0xf4,%edx
jmp    134b <break_str+0x1db>
mov    0x2cba(%rip),%rbx
mov    (%rbx),%edi
lea    0xd8e(%rip),%rsi
xor    %eax,%eax
call   1070 <fprintf@plt>
mov    (%rbx),%edi
lea    0xcc1(%rip),%rsi
lea    0xcd0(%rip),%rcx
mov    $0xf6,%edx
xor    %eax,%eax
call   1070 <fprintf@plt>
mov    $0xffffffff,%eax
add    $0x28,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@stderr = global i32 0
@.str = [22 x i8] c"Line %3d of File %s \0A\00"
@.str.1 = [167 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/NerdWalletOSS/Q/refs/heads/master/DEPRECATED_Q2/BAK.4.23.2015.PARSER/auxil.c\00"
@.str.2 = [27 x i8] c"Unable to allocate memory\0A\00"
define i32 @break_str(i8* %0, i8* %1, i8*** %2, i32* %3) {
%5 = alloca i8*
%6 = alloca i8*
%7 = alloca i8***
%8 = alloca i32*
%9 = alloca i32
%10 = alloca i8**
%11 = alloca i32
%12 = alloca i8*
%13 = alloca i8*
%14 = alloca i32
%15 = alloca i32
store i8* %0, i8** %5
store i8* %1, i8** %6
store i8*** %2, i8**** %7
store i32* %3, i32** %8
store i32 0, i32* %9
store i8** null, i8*** %10
store i32 0, i32* %11
%16 = load i8*, i8** %5
store i8* %16, i8** %12
store i8* null, i8** %13
%17 = load i8*, i8** %5
%18 = icmp eq i8* %17, null
br i1 %18, label %19, label %22
19: ; preds = %4
%20 = load i32, i32* @stderr
%21 = call i32 (i32, i8*, ...) @fprintf(i32 %20, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str, i64 0, i64 0), i32 228, i8* getelementptr inbounds ([167 x i8], [167 x i8]* @.str.1, i64 0, i64 0))
store i32 -1, i32* %9
br label %138
22: ; preds = %4
%23 = load i8*, i8** %5
%24 = load i8, i8* %23
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %28
27: ; preds = %22
br label %138
28: ; preds = %22
store i32 1, i32* %11
br label %29
29: ; preds = %43, %28
%30 = load i8*, i8** %12
%31 = load i8, i8* %30
%32 = sext i8 %31 to i32
%33 = icmp ne i32 %32, 0
br i1 %33, label %34, label %46
34: ; preds = %29
%35 = load i8*, i8** %12
%36 = load i8, i8* %35
%37 = sext i8 %36 to i32
%38 = icmp eq i32 %37, 58
br i1 %38, label %39, label %42
39: ; preds = %34
%40 = load i32, i32* %11
%41 = add nsw i32 %40, 1
store i32 %41, i32* %11
br label %42
42: ; preds = %39, %34
br label %43
43: ; preds = %42
%44 = load i8*, i8** %12
%45 = getelementptr inbounds i8, i8* %44, i32 1
store i8* %45, i8** %12
br label %29
46: ; preds = %29
%47 = load i32, i32* %11
%48 = sext i32 %47 to i64
%49 = mul i64 %48, 8
%50 = trunc i64 %49 to i32
%51 = call i64 @malloc(i32 %50)
%52 = inttoptr i64 %51 to i8**
store i8** %52, i8*** %10
%53 = load i8**, i8*** %10
%54 = icmp eq i8** %53, null
br i1 %54, label %55, label %60
55: ; preds = %46
%56 = load i32, i32* @stderr
%57 = call i32 (i32, i8*, ...) @fprintf(i32 %56, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.2, i64 0, i64 0))
%58 = load i32, i32* @stderr
%59 = call i32 (i32, i8*, ...) @fprintf(i32 %58, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str, i64 0, i64 0), i32 237, i8* getelementptr inbounds ([167 x i8], [167 x i8]* @.str.1, i64 0, i64 0))
store i32 -1, i32* %9
br label %138
60: ; preds = %46
store i32 0, i32* %14
br label %61
61: ; preds = %70, %60
%62 = load i32, i32* %14
%63 = load i32, i32* %11
%64 = icmp slt i32 %62, %63
br i1 %64, label %65, label %73
65: ; preds = %61
%66 = load i8**, i8*** %10
%67 = load i32, i32* %14
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds i8*, i8** %66, i64 %68
store i8* null, i8** %69
br label %70
70: ; preds = %65
%71 = load i32, i32* %14
%72 = add nsw i32 %71, 1
store i32 %72, i32* %14
br label %61
73: ; preds = %61
%74 = load i8*, i8** %5
store i8* %74, i8** %12
store i32 0, i32* %15
br label %75
75: ; preds = %130, %73
%76 = load i32, i32* %15
%77 = load i32, i32* %11
%78 = icmp slt i32 %76, %77
br i1 %78, label %79, label %133
79: ; preds = %75
%80 = load i8*, i8** %6
%81 = call i8* @strsep(i8** %12, i8* %80)
store i8* %81, i8** %13
%82 = load i8*, i8** %13
%83 = icmp eq i8* %82, null
br i1 %83, label %89, label %84
84: ; preds = %79
%85 = load i8*, i8** %13
%86 = load i8, i8* %85
%87 = sext i8 %86 to i32
%88 = icmp eq i32 %87, 0
br i1 %88, label %89, label %92
89: ; preds = %84, %79
%90 = load i32, i32* @stderr
%91 = call i32 (i32, i8*, ...) @fprintf(i32 %90, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str, i64 0, i64 0), i32 244, i8* getelementptr inbounds ([167 x i8], [167 x i8]* @.str.1, i64 0, i64 0))
store i32 -1, i32* %9
br label %138
92: ; preds = %84
%93 = load i8*, i8** %13
%94 = call i32 @strlen(i8* %93)
%95 = add nsw i32 %94, 1
%96 = call i64 @malloc(i32 %95)
%97 = inttoptr i64 %96 to i8*
%98 = load i8**, i8*** %10
%99 = load i32, i32* %15
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds i8*, i8** %98, i64 %100
store i8* %97, i8** %101
%102 = load i8**, i8*** %10
%103 = load i32, i32* %15
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds i8*, i8** %102, i64 %104
%106 = load i8*, i8** %105
%107 = icmp eq i8* %106, null
br i1 %107, label %108, label %113
108: ; preds = %92
%109 = load i32, i32* @stderr
%110 = call i32 (i32, i8*, ...) @fprintf(i32 %109, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.2, i64 0, i64 0))
%111 = load i32, i32* @stderr
%112 = call i32 (i32, i8*, ...) @fprintf(i32 %111, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str, i64 0, i64 0), i32 246, i8* getelementptr inbounds ([167 x i8], [167 x i8]* @.str.1, i64 0, i64 0))
store i32 -1, i32* %9
br label %138
113: ; preds = %92
%114 = load i8**, i8*** %10
%115 = load i32, i32* %15
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds i8*, i8** %114, i64 %116
%118 = load i8*, i8** %117
%119 = load i8*, i8** %13
%120 = call i32 @strlen(i8* %119)
%121 = add nsw i32 %120, 1
%122 = call i32 @zero_string(i8* %118, i32 %121)
%123 = load i8**, i8*** %10
%124 = load i32, i32* %15
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds i8*, i8** %123, i64 %125
%127 = load i8*, i8** %126
%128 = load i8*, i8** %13
%129 = call i32 @strcpy(i8* %127, i8* %128)
br label %130
130: ; preds = %113
%131 = load i32, i32* %15
%132 = add nsw i32 %131, 1
store i32 %132, i32* %15
br label %75
133: ; preds = %75
%134 = load i32, i32* %11
%135 = load i32*, i32** %8
store i32 %134, i32* %135
%136 = load i8**, i8*** %10
%137 = load i8***, i8**** %7
store i8** %136, i8*** %137
br label %138
138: ; preds = %133, %108, %89, %55, %27, %19
%139 = load i32, i32* %9
ret i32 %139
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [22 x i8] c"Line %3d of File %s \0A\00"
@.str.1 = [167 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/NerdWalletOSS/Q/refs/heads/master/DEPRECATED_Q2/BAK.4.23.2015.PARSER/auxil.c\00"
@.str.2 = [27 x i8] c"Unable to allocate memory\0A\00"
define i32 @break_str(i8* %0, i8* %1, i8*** nocapture writeonly %2, i32* nocapture writeonly %3) {
%5 = alloca i8*
%6 = bitcast i8** %5 to i8*
%7 = icmp eq i8* %0, null
br i1 %7, label %8, label %11
8: ; preds = %4
%9 = load i32, i32* @stderr
%10 = tail call i32 (i32, i8*, ...) @fprintf(i32 %9, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str, i64 0, i64 0), i32 228, i8* getelementptr inbounds ([167 x i8], [167 x i8]* @.str.1, i64 0, i64 0))
br label %75
11: ; preds = %4
%12 = load i8, i8* %0
%13 = icmp eq i8 %12, 0
br i1 %13, label %75, label %14
14: ; preds = %11
%15 = load i8*, i8** %5
br label %16
16: ; preds = %14, %23
%17 = phi i8* [ %25, %23 ], [ %15, %14 ]
%18 = phi i8 [ %26, %23 ], [ %12, %14 ]
%19 = phi i8* [ %25, %23 ], [ %0, %14 ]
%20 = phi i32 [ %24, %23 ], [ 1, %14 ]
switch i8 %18, label %23 [
i8 0, label %27
i8 58, label %21
]
21: ; preds = %16
%22 = add nsw i32 %20, 1
br label %23
23: ; preds = %16, %21
%24 = phi i32 [ %22, %21 ], [ %20, %16 ]
%25 = getelementptr inbounds i8, i8* %19, i64 1
%26 = load i8, i8* %25
br label %16
27: ; preds = %16
store i8* %17, i8** %5
%28 = shl i32 %20, 3
%29 = tail call i64 @malloc(i32 %28)
%30 = inttoptr i64 %29 to i8**
%31 = inttoptr i64 %29 to i8*
%32 = icmp eq i64 %29, 0
br i1 %32, label %35, label %33
33: ; preds = %27
%34 = icmp sgt i32 %20, 0
br i1 %34, label %40, label %74
35: ; preds = %27
%36 = load i32, i32* @stderr
%37 = tail call i32 (i32, i8*, ...) @fprintf(i32 %36, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.2, i64 0, i64 0))
%38 = load i32, i32* @stderr
%39 = tail call i32 (i32, i8*, ...) @fprintf(i32 %38, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str, i64 0, i64 0), i32 237, i8* getelementptr inbounds ([167 x i8], [167 x i8]* @.str.1, i64 0, i64 0))
br label %75
40: ; preds = %33
%41 = zext i32 %20 to i64
%42 = shl nuw nsw i64 %41, 3
store i8* %0, i8** %5
%43 = zext i32 %20 to i64
br label %44
44: ; preds = %40, %66
%45 = phi i64 [ 0, %40 ], [ %72, %66 ]
%46 = call i8* @strsep(i8** %5, i8* %1)
%47 = icmp eq i8* %46, null
br i1 %47, label %51, label %48
48: ; preds = %44
%49 = load i8, i8* %46
%50 = icmp eq i8 %49, 0
br i1 %50, label %51, label %54
51: ; preds = %48, %44
%52 = load i32, i32* @stderr
%53 = call i32 (i32, i8*, ...) @fprintf(i32 %52, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str, i64 0, i64 0), i32 244, i8* getelementptr inbounds ([167 x i8], [167 x i8]* @.str.1, i64 0, i64 0))
br label %75
54: ; preds = %48
%55 = call i32 @strlen(i8* %46)
%56 = add nsw i32 %55, 1
%57 = call i64 @malloc(i32 %56)
%58 = inttoptr i64 %57 to i8*
%59 = getelementptr inbounds i8*, i8** %30, i64 %45
store i8* %58, i8** %59
%60 = icmp eq i64 %57, 0
br i1 %60, label %61, label %66
61: ; preds = %54
%62 = load i32, i32* @stderr
%63 = call i32 (i32, i8*, ...) @fprintf(i32 %62, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.2, i64 0, i64 0))
%64 = load i32, i32* @stderr
%65 = call i32 (i32, i8*, ...) @fprintf(i32 %64, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str, i64 0, i64 0), i32 246, i8* getelementptr inbounds ([167 x i8], [167 x i8]* @.str.1, i64 0, i64 0))
br label %75
66: ; preds = %54
%67 = call i32 @strlen(i8* %46)
%68 = add nsw i32 %67, 1
%69 = call i32 @zero_string(i8* %58, i32 %68)
%70 = load i8*, i8** %59
%71 = call i32 @strcpy(i8* %70, i8* %46)
%72 = add nuw nsw i64 %45, 1
%73 = icmp eq i64 %72, %43
br i1 %73, label %74, label %44
74: ; preds = %66, %33
store i32 %20, i32* %3
store i8** %30, i8*** %2
br label %75
75: ; preds = %61, %51, %8, %35, %74, %11
%76 = phi i32 [ -1, %8 ], [ 0, %11 ], [ -1, %35 ], [ 0, %74 ], [ -1, %51 ], [ -1, %61 ]
ret i32 %76
}