#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 */
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
int /*<<< orphan*/ abort();
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, char *, ...);
int /*<<< orphan*/ free(char *);
scalar_t__ getline(char **, size_t *, int /*<<< orphan*/ *);
scalar_t__ startswith(char *, char *);
int /*<<< orphan*/ stderr;
int /*<<< orphan*/ strcmp(char *, char *);
int strlen(char *);
int strtol(char *, char **, int);
int process_output(FILE *fd) {
  char *line = NULL;
  size_t nline = 0;
  int result = 0;
  if (getline(&line, &nline, fd) < 0)
    do {
      fprintf(stderr, "[%s:%d] Wrong input!!\n",
              "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
              "2022-01-22/02-19-57/repos/garetxe/line-bundle-cohomology/refs/"
              "heads/master/chomp.c",
              54);
      fprintf(stderr, "<<%s>>\n", line);
      abort();
    } while (0);
  if (!startswith(line, "HOMCHAIN"))
    do {
      fprintf(stderr, "[%s:%d] Wrong input!!\n",
              "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
              "2022-01-22/02-19-57/repos/garetxe/line-bundle-cohomology/refs/"
              "heads/master/chomp.c",
              57);
      fprintf(stderr, "<<%s>>\n", line);
      abort();
    } while (0);
  while (1) {
    char *p;
    if (getline(&line, &nline, fd) < 0)
      break;
    if (!startswith(line, "H_1 = "))
      continue;
    p = line + strlen("H_1 = ");
    if (startswith(p, "Z^")) {
      char *p2;
      p += strlen("Z^");
      result = strtol(p, &p2, 10);
      if (p == p2)
        do {
          fprintf(stderr, "[%s:%d] Wrong input!!\n",
                  "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
                  "outputs/2022-01-22/02-19-57/repos/garetxe/"
                  "line-bundle-cohomology/refs/heads/master/chomp.c",
                  77);
          fprintf(stderr, "<<%s>>\n", line);
          abort();
        } while (0);
      break;
    } else if (!strcmp(p, "Z\n")) {
      result = 1;
      break;
    } else if (startswith(p, "0")) {
      result = 0;
      break;
    } else
      do {
        fprintf(stderr, "[%s:%d] Wrong input!!\n",
                "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
                "outputs/2022-01-22/02-19-57/repos/garetxe/"
                "line-bundle-cohomology/refs/heads/master/chomp.c",
                87);
        fprintf(stderr, "<<%s>>\n", line);
        abort();
      } while (0);
  }
  free(line);
  return result;
}


x86 assembly (clang, -O0):
<process_output>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    %rdi,-0x8(%rbp)
movq   $0x0,-0x10(%rbp)
movq   $0x0,-0x18(%rbp)
movl   $0x0,-0x1c(%rbp)
mov    -0x8(%rbp),%rdx
lea    -0x10(%rbp),%rdi
lea    -0x18(%rbp),%rsi
call   10a0 <getline@plt>
cmp    $0x0,%rax
jge    1208 <process_output+0x88>
jmp    11c3 <process_output+0x43>
mov    0x2e16(%rip),%rax
mov    (%rax),%edi
lea    0xe2d(%rip),%rsi
lea    0xe3d(%rip),%rdx
mov    $0x36,%ecx
mov    $0x0,%al
call   1080 <fprintf@plt>
mov    0x2df3(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rdx
lea    0xeb0(%rip),%rsi
mov    $0x0,%al
call   1080 <fprintf@plt>
mov    $0x0,%al
call   1040 <abort@plt>
mov    -0x10(%rbp),%rdi
lea    0xe9f(%rip),%rsi
call   1070 <startswith@plt>
cmp    $0x0,%rax
jne    126c <process_output+0xec>
jmp    1227 <process_output+0xa7>
mov    0x2db2(%rip),%rax
mov    (%rax),%edi
lea    0xdc9(%rip),%rsi
lea    0xdd9(%rip),%rdx
mov    $0x39,%ecx
mov    $0x0,%al
call   1080 <fprintf@plt>
mov    0x2d8f(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rdx
lea    0xe4c(%rip),%rsi
mov    $0x0,%al
call   1080 <fprintf@plt>
mov    $0x0,%al
call   1040 <abort@plt>
jmp    1271 <process_output+0xf1>
mov    -0x8(%rbp),%rdx
lea    -0x10(%rbp),%rdi
lea    -0x18(%rbp),%rsi
call   10a0 <getline@plt>
cmp    $0x0,%rax
jge    1291 <process_output+0x111>
jmp    1411 <process_output+0x291>
mov    -0x10(%rbp),%rdi
lea    0xe1f(%rip),%rsi
call   1070 <startswith@plt>
cmp    $0x0,%rax
jne    12b0 <process_output+0x130>
jmp    1271 <process_output+0xf1>
mov    -0x10(%rbp),%rax
mov    %rax,-0x38(%rbp)
lea    0xdfc(%rip),%rdi
call   1050 <strlen@plt>
mov    %eax,%ecx
mov    -0x38(%rbp),%rax
movslq %ecx,%rcx
add    %rcx,%rax
mov    %rax,-0x28(%rbp)
mov    -0x28(%rbp),%rdi
lea    0xde3(%rip),%rsi
call   1070 <startswith@plt>
cmp    $0x0,%rax
je     137c <process_output+0x1fc>
lea    0xdcd(%rip),%rdi
call   1050 <strlen@plt>
mov    %eax,%ecx
mov    -0x28(%rbp),%rax
movslq %ecx,%rcx
add    %rcx,%rax
mov    %rax,-0x28(%rbp)
mov    -0x28(%rbp),%rdi
lea    -0x30(%rbp),%rsi
mov    $0xa,%edx
call   1090 <strtol@plt>
mov    %eax,-0x1c(%rbp)
mov    -0x28(%rbp),%rax
cmp    -0x30(%rbp),%rax
jne    1377 <process_output+0x1f7>
jmp    1332 <process_output+0x1b2>
mov    0x2ca7(%rip),%rax
mov    (%rax),%edi
lea    0xcbe(%rip),%rsi
lea    0xcce(%rip),%rdx
mov    $0x4d,%ecx
mov    $0x0,%al
call   1080 <fprintf@plt>
mov    0x2c84(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rdx
lea    0xd41(%rip),%rsi
mov    $0x0,%al
call   1080 <fprintf@plt>
mov    $0x0,%al
call   1040 <abort@plt>
jmp    1411 <process_output+0x291>
mov    -0x28(%rbp),%rdi
lea    0xd3e(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%eax
jne    13a1 <process_output+0x221>
movl   $0x1,-0x1c(%rbp)
jmp    1411 <process_output+0x291>
mov    -0x28(%rbp),%rdi
lea    0xd1c(%rip),%rsi
call   1070 <startswith@plt>
cmp    $0x0,%rax
je     13c7 <process_output+0x247>
movl   $0x0,-0x1c(%rbp)
jmp    1411 <process_output+0x291>
jmp    13cc <process_output+0x24c>
mov    0x2c0d(%rip),%rax
mov    (%rax),%edi
lea    0xc24(%rip),%rsi
lea    0xc34(%rip),%rdx
mov    $0x57,%ecx
mov    $0x0,%al
call   1080 <fprintf@plt>
mov    0x2bea(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rdx
lea    0xca7(%rip),%rsi
mov    $0x0,%al
call   1080 <fprintf@plt>
mov    $0x0,%al
call   1040 <abort@plt>
mov    -0x10(%rbp),%rdi
call   1030 <free@plt>
mov    -0x1c(%rbp),%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<process_output>:
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x20,%rsp
mov    %rdi,%r14
movq   $0x0,0x8(%rsp)
movq   $0x0,0x10(%rsp)
lea    0x8(%rsp),%rdi
lea    0x10(%rsp),%rsi
mov    %r14,%rdx
call   10a0 <getline@plt>
test   %rax,%rax
js     12da <process_output+0x15a>
mov    0x8(%rsp),%rdi
lea    0xee9(%rip),%rsi
call   1070 <startswith@plt>
test   %rax,%rax
je     12f8 <process_output+0x178>
lea    0x8(%rsp),%r15
lea    0x10(%rsp),%r12
lea    0xed3(%rip),%r13
xor    %ebx,%ebx
nopw   0x0(%rax,%rax,1)
mov    %r15,%rdi
mov    %r12,%rsi
mov    %r14,%rdx
call   10a0 <getline@plt>
test   %rax,%rax
js     12c0 <process_output+0x140>
mov    0x8(%rsp),%rdi
mov    %r13,%rsi
call   1070 <startswith@plt>
test   %rax,%rax
je     11f0 <process_output+0x70>
mov    0x8(%rsp),%r15
lea    0xe96(%rip),%rdi
call   1050 <strlen@plt>
movslq %eax,%r14
add    %r15,%r14
lea    0xe8b(%rip),%rsi
mov    %r14,%rdi
call   1070 <startswith@plt>
test   %rax,%rax
je     1276 <process_output+0xf6>
lea    0xe77(%rip),%rdi
call   1050 <strlen@plt>
cltq
add    %rax,%r14
lea    0x18(%rsp),%rsi
mov    %r14,%rdi
mov    $0xa,%edx
call   1090 <strtol@plt>
cmp    0x18(%rsp),%r14
je     1316 <process_output+0x196>
mov    %eax,%ebx
jmp    12c0 <process_output+0x140>
lea    0xe48(%rip),%rsi
mov    %r14,%rdi
call   1060 <strcmp@plt>
test   %eax,%eax
je     12bb <process_output+0x13b>
lea    0xe38(%rip),%rsi
mov    %r14,%rdi
call   1070 <startswith@plt>
test   %rax,%rax
jne    12c0 <process_output+0x140>
mov    0x2d3c(%rip),%rbx
mov    (%rbx),%edi
lea    0xd53(%rip),%rsi
lea    0xd63(%rip),%rdx
mov    $0x57,%ecx
jmp    1332 <process_output+0x1b2>
mov    $0x1,%ebx
mov    0x8(%rsp),%rdi
call   1030 <free@plt>
mov    %ebx,%eax
add    $0x20,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
ret
mov    0x2cff(%rip),%rbx
mov    (%rbx),%edi
lea    0xd16(%rip),%rsi
lea    0xd26(%rip),%rdx
mov    $0x36,%ecx
jmp    1332 <process_output+0x1b2>
mov    0x2ce1(%rip),%rbx
mov    (%rbx),%edi
lea    0xcf8(%rip),%rsi
lea    0xd08(%rip),%rdx
mov    $0x39,%ecx
jmp    1332 <process_output+0x1b2>
mov    0x2cc3(%rip),%rbx
mov    (%rbx),%edi
lea    0xcda(%rip),%rsi
lea    0xcea(%rip),%rdx
mov    $0x4d,%ecx
xor    %eax,%eax
call   1080 <fprintf@plt>
mov    (%rbx),%edi
mov    0x8(%rsp),%rdx
lea    0xd63(%rip),%rsi
xor    %eax,%eax
call   1080 <fprintf@plt>
xor    %eax,%eax
call   1040 <abort@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [23 x i8] c"[%s:%d] Wrong input!!\0A\00"
@.str.1 = [147 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/garetxe/line-bundle-cohomology/refs/heads/master/chomp.c\00"
@.str.2 = [8 x i8] c"<<%s>>\0A\00"
@.str.3 = [9 x i8] c"HOMCHAIN\00"
@.str.4 = [7 x i8] c"H_1 = \00"
@.str.5 = [3 x i8] c"Z^\00"
@.str.6 = [3 x i8] c"Z\0A\00"
@.str.7 = [2 x i8] c"0\00"
define i32 @process_output(i32* %0) {
%2 = alloca i32*
%3 = alloca i8*
%4 = alloca i64
%5 = alloca i32
%6 = alloca i8*
%7 = alloca i8*
store i32* %0, i32** %2
store i8* null, i8** %3
store i64 0, i64* %4
store i32 0, i32* %5
%8 = load i32*, i32** %2
%9 = call i64 @getline(i8** %3, i64* %4, i32* %8)
%10 = icmp slt i64 %9, 0
br i1 %10, label %11, label %20
11: ; preds = %1
br label %12
12: ; preds = %11
%13 = load i32, i32* @stderr
%14 = call i32 (i32, i8*, i8*, ...) @fprintf(i32 %13, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([147 x i8], [147 x i8]* @.str.1, i64 0, i64 0), i32 54)
%15 = load i32, i32* @stderr
%16 = load i8*, i8** %3
%17 = call i32 (i32, i8*, i8*, ...) @fprintf(i32 %15, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i8* %16)
%18 = call i32 (...) @abort()
unreachable
19: ; No predecessors!
br label %20
20: ; preds = %19, %1
%21 = load i8*, i8** %3
%22 = call i64 @startswith(i8* %21, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0))
%23 = icmp ne i64 %22, 0
br i1 %23, label %33, label %24
24: ; preds = %20
br label %25
25: ; preds = %24
%26 = load i32, i32* @stderr
%27 = call i32 (i32, i8*, i8*, ...) @fprintf(i32 %26, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([147 x i8], [147 x i8]* @.str.1, i64 0, i64 0), i32 57)
%28 = load i32, i32* @stderr
%29 = load i8*, i8** %3
%30 = call i32 (i32, i8*, i8*, ...) @fprintf(i32 %28, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i8* %29)
%31 = call i32 (...) @abort()
unreachable
32: ; No predecessors!
br label %33
33: ; preds = %32, %20
br label %34
34: ; preds = %33, %43, %93
%35 = load i32*, i32** %2
%36 = call i64 @getline(i8** %3, i64* %4, i32* %35)
%37 = icmp slt i64 %36, 0
br i1 %37, label %38, label %39
38: ; preds = %34
br label %94
39: ; preds = %34
%40 = load i8*, i8** %3
%41 = call i64 @startswith(i8* %40, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0))
%42 = icmp ne i64 %41, 0
br i1 %42, label %44, label %43
43: ; preds = %39
br label %34
44: ; preds = %39
%45 = load i8*, i8** %3
%46 = call i32 @strlen(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0))
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i8, i8* %45, i64 %47
store i8* %48, i8** %6
%49 = load i8*, i8** %6
%50 = call i64 @startswith(i8* %49, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0))
%51 = icmp ne i64 %50, 0
br i1 %51, label %52, label %72
52: ; preds = %44
%53 = call i32 @strlen(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0))
%54 = load i8*, i8** %6
%55 = sext i32 %53 to i64
%56 = getelementptr inbounds i8, i8* %54, i64 %55
store i8* %56, i8** %6
%57 = load i8*, i8** %6
%58 = call i32 @strtol(i8* %57, i8** %7, i32 10)
store i32 %58, i32* %5
%59 = load i8*, i8** %6
%60 = load i8*, i8** %7
%61 = icmp eq i8* %59, %60
br i1 %61, label %62, label %71
62: ; preds = %52
br label %63
63: ; preds = %62
%64 = load i32, i32* @stderr
%65 = call i32 (i32, i8*, i8*, ...) @fprintf(i32 %64, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([147 x i8], [147 x i8]* @.str.1, i64 0, i64 0), i32 77)
%66 = load i32, i32* @stderr
%67 = load i8*, i8** %3
%68 = call i32 (i32, i8*, i8*, ...) @fprintf(i32 %66, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i8* %67)
%69 = call i32 (...) @abort()
unreachable
70: ; No predecessors!
br label %71
71: ; preds = %70, %52
br label %94
72: ; preds = %44
%73 = load i8*, i8** %6
%74 = call i32 @strcmp(i8* %73, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0))
%75 = icmp ne i32 %74, 0
br i1 %75, label %77, label %76
76: ; preds = %72
store i32 1, i32* %5
br label %94
77: ; preds = %72
%78 = load i8*, i8** %6
%79 = call i64 @startswith(i8* %78, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
%80 = icmp ne i64 %79, 0
br i1 %80, label %81, label %82
81: ; preds = %77
store i32 0, i32* %5
br label %94
82: ; preds = %77
br label %83
83: ; preds = %82
%84 = load i32, i32* @stderr
%85 = call i32 (i32, i8*, i8*, ...) @fprintf(i32 %84, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([147 x i8], [147 x i8]* @.str.1, i64 0, i64 0), i32 87)
%86 = load i32, i32* @stderr
%87 = load i8*, i8** %3
%88 = call i32 (i32, i8*, i8*, ...) @fprintf(i32 %86, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i8* %87)
%89 = call i32 (...) @abort()
unreachable
90: ; No predecessors!
br label %91
91: ; preds = %90
br label %92
92: ; preds = %91
br label %93
93: ; preds = %92
br label %34
94: ; preds = %81, %76, %71, %38
%95 = load i8*, i8** %3
%96 = call i32 @free(i8* %95)
%97 = load i32, i32* %5
ret i32 %97
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [23 x i8] c"[%s:%d] Wrong input!!\0A\00"
@.str.1 = [147 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/garetxe/line-bundle-cohomology/refs/heads/master/chomp.c\00"
@.str.2 = [8 x i8] c"<<%s>>\0A\00"
@.str.3 = [9 x i8] c"HOMCHAIN\00"
@.str.4 = [7 x i8] c"H_1 = \00"
@.str.5 = [3 x i8] c"Z^\00"
@.str.6 = [3 x i8] c"Z\0A\00"
@.str.7 = [2 x i8] c"0\00"
define i32 @process_output(i32* %0) {
%2 = alloca i8*
%3 = alloca i64
%4 = alloca i8*
%5 = bitcast i8** %2 to i8*
store i8* null, i8** %2
%6 = bitcast i64* %3 to i8*
store i64 0, i64* %3
%7 = call i64 @getline(i8** %2, i64* %3, i32* %0)
%8 = icmp slt i64 %7, 0
br i1 %8, label %9, label %16
9: ; preds = %1
%10 = load i32, i32* @stderr
%11 = call i32 (i32, i8*, i8*, ...) @fprintf(i32 %10, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([147 x i8], [147 x i8]* @.str.1, i64 0, i64 0), i32 54)
%12 = load i32, i32* @stderr
%13 = load i8*, i8** %2
%14 = call i32 (i32, i8*, i8*, ...) @fprintf(i32 %12, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i8* %13)
%15 = call i32 (...) @abort()
unreachable
16: ; preds = %1
%17 = load i8*, i8** %2
%18 = call i64 @startswith(i8* %17, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0))
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %27
20: ; preds = %16
%21 = load i32, i32* @stderr
%22 = call i32 (i32, i8*, i8*, ...) @fprintf(i32 %21, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([147 x i8], [147 x i8]* @.str.1, i64 0, i64 0), i32 57)
%23 = load i32, i32* @stderr
%24 = load i8*, i8** %2
%25 = call i32 (i32, i8*, i8*, ...) @fprintf(i32 %23, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i8* %24)
%26 = call i32 (...) @abort()
unreachable
27: ; preds = %16, %30
%28 = call i64 @getline(i8** %2, i64* %3, i32* %0)
%29 = icmp slt i64 %28, 0
br i1 %29, label %70, label %30
30: ; preds = %27
%31 = load i8*, i8** %2
%32 = call i64 @startswith(i8* %31, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0))
%33 = icmp eq i64 %32, 0
br i1 %33, label %27, label %34
34: ; preds = %30
%35 = load i8*, i8** %2
%36 = call i32 @strlen(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0))
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i8, i8* %35, i64 %37
%39 = call i64 @startswith(i8* %38, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0))
%40 = icmp eq i64 %39, 0
br i1 %40, label %57, label %41
41: ; preds = %34
%42 = bitcast i8** %4 to i8*
%43 = call i32 @strlen(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0))
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, i8* %38, i64 %44
%46 = call i32 @strtol(i8* %45, i8** %4, i32 10)
%47 = load i8*, i8** %4
%48 = icmp eq i8* %45, %47
br i1 %48, label %49, label %56
49: ; preds = %41
%50 = load i32, i32* @stderr
%51 = call i32 (i32, i8*, i8*, ...) @fprintf(i32 %50, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([147 x i8], [147 x i8]* @.str.1, i64 0, i64 0), i32 77)
%52 = load i32, i32* @stderr
%53 = load i8*, i8** %2
%54 = call i32 (i32, i8*, i8*, ...) @fprintf(i32 %52, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i8* %53)
%55 = call i32 (...) @abort()
unreachable
56: ; preds = %41
br label %70
57: ; preds = %34
%58 = call i32 @strcmp(i8* dereferenceable(1) %38, i8* dereferenceable(3) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0))
%59 = icmp eq i32 %58, 0
br i1 %59, label %70, label %60
60: ; preds = %57
%61 = call i64 @startswith(i8* %38, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
%62 = icmp eq i64 %61, 0
br i1 %62, label %63, label %70
63: ; preds = %60
%64 = load i32, i32* @stderr
%65 = call i32 (i32, i8*, i8*, ...) @fprintf(i32 %64, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([147 x i8], [147 x i8]* @.str.1, i64 0, i64 0), i32 87)
%66 = load i32, i32* @stderr
%67 = load i8*, i8** %2
%68 = call i32 (i32, i8*, i8*, ...) @fprintf(i32 %66, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i8* %67)
%69 = call i32 (...) @abort()
unreachable
70: ; preds = %27, %56, %57, %60
%71 = phi i32 [ 0, %60 ], [ 1, %57 ], [ %46, %56 ], [ 0, %27 ]
%72 = load i8*, i8** %2
%73 = call i32 @free(i8* %72)
ret i32 %71
}