#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*/ fclose(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, char *, ...);
int /*<<< orphan*/ free(char *);
scalar_t__ getline(char **, size_t *, int /*<<< orphan*/ *);
int /*<<< orphan*/ perror(char *);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ scan_box_info(int /*<<< orphan*/ *, int, int);
int sscanf(char *, char *, int *);
int /*<<< orphan*/ stderr;
int strtol(char *, char **, int);
int main(int argc, char *argv[]) {
  FILE *fd;
  char *line = NULL, *p;
  size_t nline = 0;
  int dim;
  int k;
  if (argc != 3) {
    printf("Usage: %s box_info k\n", argv[0]);
    printf("\twhere box_info is the path to a file holding the information\n");
    printf("\tabout the box and the divisors, and k tells the program to\n");
    printf("\tcompute the chain complex relevant for H^k.\n");
    return -1;
  }
  fd = fopen(argv[1], "r");
  if (fd == NULL) {
    perror("fopen");
    printf("ERROR: could not open input file '%s'.\n", argv[1]);
    return -1;
  }
  k = strtol(argv[2], &p, 10);
  if (p == argv[2])
    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/scanbox.c",
              361);
      fprintf(stderr, "<<%s>>\n", argv[2]);
      abort();
    } while (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/scanbox.c",
              364);
      fprintf(stderr, "<<%s>>\n", line);
      abort();
    } while (0);
  if (sscanf(line, "%d", &dim) != 1)
    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/scanbox.c",
              367);
      fprintf(stderr, "<<%s>>\n", line);
      abort();
    } while (0);
  scan_box_info(fd, dim, k);
  free(line);
  fclose(fd);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movq   $0x0,-0x20(%rbp)
movq   $0x0,-0x30(%rbp)
cmpl   $0x3,-0x8(%rbp)
je     122b <main+0x7b>
mov    -0x10(%rbp),%rax
mov    (%rax),%rsi
lea    0xe12(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
lea    0xe1a(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
lea    0xe4b(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
lea    0xe7a(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    13e9 <main+0x239>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xe86(%rip),%rsi
call   10b0 <fopen@plt>
mov    %rax,-0x18(%rbp)
cmpq   $0x0,-0x18(%rbp)
jne    127c <main+0xcc>
lea    0xe6d(%rip),%rdi
call   10c0 <perror@plt>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rsi
lea    0xe5f(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    13e9 <main+0x239>
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdi
lea    -0x28(%rbp),%rsi
mov    $0xa,%edx
call   1090 <strtol@plt>
mov    %eax,-0x38(%rbp)
mov    -0x28(%rbp),%rax
mov    -0x10(%rbp),%rcx
cmp    0x10(%rcx),%rax
jne    12f5 <main+0x145>
jmp    12ac <main+0xfc>
mov    0x2d2d(%rip),%rax
mov    (%rax),%edi
lea    0xe34(%rip),%rsi
lea    0xe44(%rip),%rdx
mov    $0x169,%ecx
mov    $0x0,%al
call   1080 <fprintf@plt>
mov    0x2d0a(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdx
lea    0xeb5(%rip),%rsi
mov    $0x0,%al
call   1080 <fprintf@plt>
mov    $0x0,%al
call   1040 <abort@plt>
mov    -0x18(%rbp),%rdx
lea    -0x20(%rbp),%rdi
lea    -0x30(%rbp),%rsi
call   10d0 <getline@plt>
cmp    $0x0,%rax
jge    135a <main+0x1aa>
jmp    1315 <main+0x165>
mov    0x2cc4(%rip),%rax
mov    (%rax),%edi
lea    0xdcb(%rip),%rsi
lea    0xddb(%rip),%rdx
mov    $0x16c,%ecx
mov    $0x0,%al
call   1080 <fprintf@plt>
mov    0x2ca1(%rip),%rax
mov    (%rax),%edi
mov    -0x20(%rbp),%rdx
lea    0xe50(%rip),%rsi
mov    $0x0,%al
call   1080 <fprintf@plt>
mov    $0x0,%al
call   1040 <abort@plt>
mov    -0x20(%rbp),%rdi
lea    0xe3f(%rip),%rsi
lea    -0x34(%rbp),%rdx
call   10a0 <sscanf@plt>
cmp    $0x1,%eax
je     13c1 <main+0x211>
jmp    137c <main+0x1cc>
mov    0x2c5d(%rip),%rax
mov    (%rax),%edi
lea    0xd64(%rip),%rsi
lea    0xd74(%rip),%rdx
mov    $0x16f,%ecx
mov    $0x0,%al
call   1080 <fprintf@plt>
mov    0x2c3a(%rip),%rax
mov    (%rax),%edi
mov    -0x20(%rbp),%rdx
lea    0xde9(%rip),%rsi
mov    $0x0,%al
call   1080 <fprintf@plt>
mov    $0x0,%al
call   1040 <abort@plt>
mov    -0x18(%rbp),%rdi
mov    -0x34(%rbp),%esi
mov    -0x38(%rbp),%edx
call   1070 <scan_box_info@plt>
mov    -0x20(%rbp),%rdi
call   1030 <free@plt>
mov    -0x18(%rbp),%rdi
call   1050 <fclose@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r14
push   %rbx
sub    $0x20,%rsp
mov    %rsi,%rbx
movq   $0x0,(%rsp)
movq   $0x0,0x10(%rsp)
cmp    $0x3,%edi
jne    127f <main+0xbf>
mov    0x8(%rbx),%rdi
lea    0xe26(%rip),%rsi
call   10c0 <fopen@plt>
test   %rax,%rax
je     12c2 <main+0x102>
mov    %rax,%r14
mov    0x10(%rbx),%rdi
lea    0x18(%rsp),%rsi
mov    $0xa,%edx
call   10a0 <strtol@plt>
mov    %eax,%ebp
mov    0x18(%rsp),%rax
cmp    0x10(%rbx),%rax
je     12e2 <main+0x122>
mov    %rsp,%rdi
lea    0x10(%rsp),%rsi
mov    %r14,%rdx
call   10e0 <getline@plt>
test   %rax,%rax
js     130f <main+0x14f>
mov    (%rsp),%rdi
lea    0xeb1(%rip),%rsi
lea    0xc(%rsp),%rdx
call   10b0 <sscanf@plt>
cmp    $0x1,%eax
jne    132d <main+0x16d>
mov    0xc(%rsp),%esi
mov    %r14,%rdi
mov    %ebp,%edx
call   1080 <scan_box_info@plt>
mov    (%rsp),%rdi
call   1030 <free@plt>
mov    %r14,%rdi
call   1060 <fclose@plt>
xor    %eax,%eax
jmp    12b9 <main+0xf9>
mov    (%rbx),%rsi
lea    0xd77(%rip),%rdi
xor    %eax,%eax
call   1070 <printf@plt>
lea    0xe66(%rip),%rdi
call   1050 <puts@plt>
lea    0xe98(%rip),%rdi
call   1050 <puts@plt>
lea    0xec8(%rip),%rdi
call   1050 <puts@plt>
mov    $0xffffffff,%eax
add    $0x20,%rsp
pop    %rbx
pop    %r14
pop    %rbp
ret
lea    0xd4f(%rip),%rdi
call   10d0 <perror@plt>
mov    0x8(%rbx),%rsi
lea    0xd45(%rip),%rdi
xor    %eax,%eax
call   1070 <printf@plt>
jmp    12b4 <main+0xf4>
mov    0x2cf7(%rip),%rbp
mov    0x0(%rbp),%edi
lea    0xd53(%rip),%rsi
lea    0xd63(%rip),%rdx
mov    $0x169,%ecx
xor    %eax,%eax
call   1090 <fprintf@plt>
mov    0x0(%rbp),%edi
mov    0x10(%rbx),%rdx
jmp    1356 <main+0x196>
mov    0x2cca(%rip),%rbx
mov    (%rbx),%edi
lea    0xd27(%rip),%rsi
lea    0xd37(%rip),%rdx
mov    $0x16c,%ecx
jmp    1349 <main+0x189>
mov    0x2cac(%rip),%rbx
mov    (%rbx),%edi
lea    0xd09(%rip),%rsi
lea    0xd19(%rip),%rdx
mov    $0x16f,%ecx
xor    %eax,%eax
call   1090 <fprintf@plt>
mov    (%rbx),%edi
mov    (%rsp),%rdx
lea    0xd95(%rip),%rsi
xor    %eax,%eax
call   1090 <fprintf@plt>
xor    %eax,%eax
call   1040 <abort@plt>

LLVM IR (-O0):
@.str = [22 x i8] c"Usage: %s box_info k\0A\00"
@.str.1 = [63 x i8] c"\09where box_info is the path to a file holding the information\0A\00"
@.str.2 = [61 x i8] c"\09about the box and the divisors, and k tells the program to\0A\00"
@.str.3 = [46 x i8] c"\09compute the chain complex relevant for H^k.\0A\00"
@.str.4 = [2 x i8] c"r\00"
@.str.5 = [6 x i8] c"fopen\00"
@.str.6 = [40 x i8] c"ERROR: could not open input file '%s'.\0A\00"
@stderr = global i32 0
@.str.7 = [23 x i8] c"[%s:%d] Wrong input!!\0A\00"
@.str.8 = [149 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/scanbox.c\00"
@.str.9 = [8 x i8] c"<<%s>>\0A\00"
@.str.10 = [3 x i8] c"%d\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32*
%7 = alloca i8*
%8 = alloca i8*
%9 = alloca i64
%10 = alloca i32
%11 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i8* null, i8** %7
store i64 0, i64* %9
%12 = load i32, i32* %4
%13 = icmp ne i32 %12, 3
br i1 %13, label %14, label %22
14: ; preds = %2
%15 = load i8**, i8*** %5
%16 = getelementptr inbounds i8*, i8** %15, i64 0
%17 = load i8*, i8** %16
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str, i64 0, i64 0), i8* %17)
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.1, i64 0, i64 0))
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.2, i64 0, i64 0))
%21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.3, i64 0, i64 0))
store i32 -1, i32* %3
br label %91
22: ; preds = %2
%23 = load i8**, i8*** %5
%24 = getelementptr inbounds i8*, i8** %23, i64 1
%25 = load i8*, i8** %24
%26 = call i32* @fopen(i8* %25, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
store i32* %26, i32** %6
%27 = load i32*, i32** %6
%28 = icmp eq i32* %27, null
br i1 %28, label %29, label %35
29: ; preds = %22
%30 = call i32 @perror(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0))
%31 = load i8**, i8*** %5
%32 = getelementptr inbounds i8*, i8** %31, i64 1
%33 = load i8*, i8** %32
%34 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.6, i64 0, i64 0), i8* %33)
store i32 -1, i32* %3
br label %91
35: ; preds = %22
%36 = load i8**, i8*** %5
%37 = getelementptr inbounds i8*, i8** %36, i64 2
%38 = load i8*, i8** %37
%39 = call i32 @strtol(i8* %38, i8** %8, i32 10)
store i32 %39, i32* %11
%40 = load i8*, i8** %8
%41 = load i8**, i8*** %5
%42 = getelementptr inbounds i8*, i8** %41, i64 2
%43 = load i8*, i8** %42
%44 = icmp eq i8* %40, %43
br i1 %44, label %45, label %56
45: ; preds = %35
br label %46
46: ; preds = %45
%47 = load i32, i32* @stderr
%48 = call i32 (i32, i8*, i8*, ...) @fprintf(i32 %47, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([149 x i8], [149 x i8]* @.str.8, i64 0, i64 0), i32 361)
%49 = load i32, i32* @stderr
%50 = load i8**, i8*** %5
%51 = getelementptr inbounds i8*, i8** %50, i64 2
%52 = load i8*, i8** %51
%53 = call i32 (i32, i8*, i8*, ...) @fprintf(i32 %49, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i64 0, i64 0), i8* %52)
%54 = call i32 (...) @abort()
unreachable
55: ; No predecessors!
br label %56
56: ; preds = %55, %35
%57 = load i32*, i32** %6
%58 = call i64 @getline(i8** %7, i64* %9, i32* %57)
%59 = icmp slt i64 %58, 0
br i1 %59, label %60, label %69
60: ; preds = %56
br label %61
61: ; preds = %60
%62 = load i32, i32* @stderr
%63 = call i32 (i32, i8*, i8*, ...) @fprintf(i32 %62, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([149 x i8], [149 x i8]* @.str.8, i64 0, i64 0), i32 364)
%64 = load i32, i32* @stderr
%65 = load i8*, i8** %7
%66 = call i32 (i32, i8*, i8*, ...) @fprintf(i32 %64, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i64 0, i64 0), i8* %65)
%67 = call i32 (...) @abort()
unreachable
68: ; No predecessors!
br label %69
69: ; preds = %68, %56
%70 = load i8*, i8** %7
%71 = call i32 @sscanf(i8* %70, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.10, i64 0, i64 0), i32* %10)
%72 = icmp ne i32 %71, 1
br i1 %72, label %73, label %82
73: ; preds = %69
br label %74
74: ; preds = %73
%75 = load i32, i32* @stderr
%76 = call i32 (i32, i8*, i8*, ...) @fprintf(i32 %75, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([149 x i8], [149 x i8]* @.str.8, i64 0, i64 0), i32 367)
%77 = load i32, i32* @stderr
%78 = load i8*, i8** %7
%79 = call i32 (i32, i8*, i8*, ...) @fprintf(i32 %77, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i64 0, i64 0), i8* %78)
%80 = call i32 (...) @abort()
unreachable
81: ; No predecessors!
br label %82
82: ; preds = %81, %69
%83 = load i32*, i32** %6
%84 = load i32, i32* %10
%85 = load i32, i32* %11
%86 = call i32 @scan_box_info(i32* %83, i32 %84, i32 %85)
%87 = load i8*, i8** %7
%88 = call i32 @free(i8* %87)
%89 = load i32*, i32** %6
%90 = call i32 @fclose(i32* %89)
store i32 0, i32* %3
br label %91
91: ; preds = %82, %29, %14
%92 = load i32, i32* %3
ret i32 %92
}

LLVM IR (-O2):
@.str = [22 x i8] c"Usage: %s box_info k\0A\00"
@.str.4 = [2 x i8] c"r\00"
@.str.5 = [6 x i8] c"fopen\00"
@.str.6 = [40 x i8] c"ERROR: could not open input file '%s'.\0A\00"
@stderr = global i32 0
@.str.7 = [23 x i8] c"[%s:%d] Wrong input!!\0A\00"
@.str.8 = [149 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/scanbox.c\00"
@.str.9 = [8 x i8] c"<<%s>>\0A\00"
@.str.10 = [3 x i8] c"%d\00"
@str = [62 x i8] c"\09where box_info is the path to a file holding the information\00"
@str.11 = [60 x i8] c"\09about the box and the divisors, and k tells the program to\00"
@str.12 = [45 x i8] c"\09compute the chain complex relevant for H^k.\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca i8*
%4 = alloca i8*
%5 = alloca i64
%6 = alloca i32
%7 = bitcast i8** %3 to i8*
store i8* null, i8** %3
%8 = bitcast i8** %4 to i8*
%9 = bitcast i64* %5 to i8*
store i64 0, i64* %5
%10 = bitcast i32* %6 to i8*
%11 = icmp eq i32 %0, 3
br i1 %11, label %18, label %12
12: ; preds = %2
%13 = load i8*, i8** %1
%14 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str, i64 0, i64 0), i8* %13)
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([62 x i8], [62 x i8]* @str, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([60 x i8], [60 x i8]* @str.11, i64 0, i64 0))
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @str.12, i64 0, i64 0))
br label %68
18: ; preds = %2
%19 = getelementptr inbounds i8*, i8** %1, i64 1
%20 = load i8*, i8** %19
%21 = tail call i32* @fopen(i8* %20, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%22 = icmp eq i32* %21, null
br i1 %22, label %23, label %27
23: ; preds = %18
%24 = tail call i32 @perror(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0))
%25 = load i8*, i8** %19
%26 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @.str.6, i64 0, i64 0), i8* %25)
br label %68
27: ; preds = %18
%28 = getelementptr inbounds i8*, i8** %1, i64 2
%29 = load i8*, i8** %28
%30 = call i32 @strtol(i8* %29, i8** %4, i32 10)
%31 = load i8*, i8** %4
%32 = load i8*, i8** %28
%33 = icmp eq i8* %31, %32
br i1 %33, label %34, label %41
34: ; preds = %27
%35 = load i32, i32* @stderr
%36 = tail call i32 (i32, i8*, i8*, ...) @fprintf(i32 %35, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([149 x i8], [149 x i8]* @.str.8, i64 0, i64 0), i32 361)
%37 = load i32, i32* @stderr
%38 = load i8*, i8** %28
%39 = tail call i32 (i32, i8*, i8*, ...) @fprintf(i32 %37, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i64 0, i64 0), i8* %38)
%40 = tail call i32 (...) @abort()
unreachable
41: ; preds = %27
%42 = call i64 @getline(i8** %3, i64* %5, i32* %21)
%43 = icmp slt i64 %42, 0
br i1 %43, label %44, label %51
44: ; preds = %41
%45 = load i32, i32* @stderr
%46 = call i32 (i32, i8*, i8*, ...) @fprintf(i32 %45, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([149 x i8], [149 x i8]* @.str.8, i64 0, i64 0), i32 364)
%47 = load i32, i32* @stderr
%48 = load i8*, i8** %3
%49 = call i32 (i32, i8*, i8*, ...) @fprintf(i32 %47, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i64 0, i64 0), i8* %48)
%50 = call i32 (...) @abort()
unreachable
51: ; preds = %41
%52 = load i8*, i8** %3
%53 = call i32 @sscanf(i8* %52, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.10, i64 0, i64 0), i32* %6)
%54 = icmp eq i32 %53, 1
br i1 %54, label %62, label %55
55: ; preds = %51
%56 = load i32, i32* @stderr
%57 = call i32 (i32, i8*, i8*, ...) @fprintf(i32 %56, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([149 x i8], [149 x i8]* @.str.8, i64 0, i64 0), i32 367)
%58 = load i32, i32* @stderr
%59 = load i8*, i8** %3
%60 = call i32 (i32, i8*, i8*, ...) @fprintf(i32 %58, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i64 0, i64 0), i8* %59)
%61 = call i32 (...) @abort()
unreachable
62: ; preds = %51
%63 = load i32, i32* %6
%64 = call i32 @scan_box_info(i32* %21, i32 %63, i32 %30)
%65 = load i8*, i8** %3
%66 = call i32 @free(i8* %65)
%67 = call i32 @fclose(i32* %21)
br label %68
68: ; preds = %62, %23, %12
%69 = phi i32 [ -1, %12 ], [ -1, %23 ], [ 0, %62 ]
ret i32 %69
}