#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*/ myblock;

/* Variables and functions */
int /*<<< orphan*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, ...);
int /*<<< orphan*/ free(void *);
void *malloc(int);
int /*<<< orphan*/ memset(void *, int, int);
int /*<<< orphan*/ stderr;
int main(int argc, char *argv[]) {
  void *myblock[(440 * 16)];
  void *bigarea;
  int count = 0;
  int i;
  memset(myblock, 0, sizeof(myblock));
  while (count < (440 * 16)) {
    myblock[count] = malloc((1024 * 128 - 16));
    if (!myblock[count]) {
      fprintf(stderr, "Failed to allocate at %d\n", count + 1);
      break;
    }
    fprintf(stderr, "Currently allocating %d MB, address:%p\n",
            (count + 1) * (1024 * 128 - 16) / (1024 * 1024), myblock[count]);
    memset(myblock[count], 1, (1024 * 128 - 16));
    count++;
  }
  fprintf(stderr, "free through one block...\n");
  for (i = 0; i < count; i += 2) {
    free(myblock[i]);
    fprintf(stderr, "block #%d(%p) freed\n", i, myblock[i]);
  }
  fprintf(stderr, "try to alloc 1 MB...\n");
  bigarea = (void *)malloc((1024 * 1024));
  if (bigarea) {
    memset(bigarea, 1, (1024 * 128 - 16));
    free(bigarea);
  }
  fprintf(stderr, "result: %p\n", bigarea);
  fprintf(stderr, "try to alloc big area... %d MB\n",
          (count - 1) / 2 * (1024 * 128 - 16) / (1024 * 1024));
  bigarea = malloc((count - 1) / 2 * (1024 * 128 - 16));
  fprintf(stderr, "result: %p\n", bigarea);
  if (bigarea) {
    memset(bigarea, 1, (count - 1) / 2 * (1024 * 128 - 16));
  }
  fprintf(stderr, "\nDone!..\n\n");
  exit(0);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0xdc20,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0xdc1c(%rbp)
lea    -0xdc10(%rbp),%rdi
xor    %esi,%esi
mov    $0xdc00,%edx
call   1040 <memset@plt>
cmpl   $0x1b80,-0xdc1c(%rbp)
jge    125e <main+0x10e>
mov    $0x1fff0,%edi
call   1060 <malloc@plt>
mov    %rax,%rcx
movslq -0xdc1c(%rbp),%rax
mov    %rcx,-0xdc10(%rbp,%rax,8)
ff
movslq -0xdc1c(%rbp),%rax
cmpq   $0x0,-0xdc10(%rbp,%rax,8)
jne    11ed <main+0x9d>
mov    0x2e11(%rip),%rax
mov    (%rax),%edi
mov    -0xdc1c(%rbp),%edx
add    $0x1,%edx
lea    0xe1f(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
jmp    125e <main+0x10e>
mov    0x2dec(%rip),%rax
mov    (%rax),%edi
mov    -0xdc1c(%rbp),%eax
add    $0x1,%eax
imul   $0x1fff0,%eax,%eax
mov    $0x100000,%ecx
cltd
idiv   %ecx
mov    %eax,%edx
movslq -0xdc1c(%rbp),%rax
mov    -0xdc10(%rbp,%rax,8),%rcx
ff
lea    0xdf5(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
movslq -0xdc1c(%rbp),%rax
mov    -0xdc10(%rbp,%rax,8),%rdi
ff
mov    $0x1,%esi
mov    $0x1fff0,%edx
call   1040 <memset@plt>
mov    -0xdc1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xdc1c(%rbp)
jmp    1186 <main+0x36>
mov    0x2d7b(%rip),%rax
mov    (%rax),%edi
lea    0xdd4(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
movl   $0x0,-0xdc20(%rbp)
mov    -0xdc20(%rbp),%eax
cmp    -0xdc1c(%rbp),%eax
jge    12e5 <main+0x195>
movslq -0xdc20(%rbp),%rax
mov    -0xdc10(%rbp,%rax,8),%rdi
ff
call   1030 <free@plt>
mov    0x2d34(%rip),%rax
mov    (%rax),%edi
mov    -0xdc20(%rbp),%edx
movslq -0xdc20(%rbp),%rax
mov    -0xdc10(%rbp,%rax,8),%rcx
ff
lea    0xd93(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    -0xdc20(%rbp),%eax
add    $0x2,%eax
mov    %eax,-0xdc20(%rbp)
jmp    127f <main+0x12f>
mov    0x2cf4(%rip),%rax
mov    (%rax),%edi
lea    0xd7d(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    $0x100000,%edi
call   1060 <malloc@plt>
mov    %rax,-0xdc18(%rbp)
cmpq   $0x0,-0xdc18(%rbp)
je     133d <main+0x1ed>
mov    -0xdc18(%rbp),%rdi
mov    $0x1,%esi
mov    $0x1fff0,%edx
call   1040 <memset@plt>
mov    -0xdc18(%rbp),%rdi
call   1030 <free@plt>
mov    0x2c9c(%rip),%rax
mov    (%rax),%edi
mov    -0xdc18(%rbp),%rdx
lea    0xd34(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    0x2c7e(%rip),%rax
mov    (%rax),%edi
mov    -0xdc1c(%rbp),%eax
sub    $0x1,%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
imul   $0x1fff0,%eax,%eax
mov    $0x100000,%ecx
cltd
idiv   %ecx
mov    %eax,%edx
lea    0xd08(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    -0xdc1c(%rbp),%eax
sub    $0x1,%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
imul   $0x1fff0,%eax,%edi
call   1060 <malloc@plt>
mov    %rax,-0xdc18(%rbp)
mov    0x2c23(%rip),%rax
mov    (%rax),%edi
mov    -0xdc18(%rbp),%rdx
lea    0xcbb(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
cmpq   $0x0,-0xdc18(%rbp)
je     140a <main+0x2ba>
mov    -0xdc18(%rbp),%rdi
mov    -0xdc1c(%rbp),%eax
sub    $0x1,%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
imul   $0x1fff0,%eax,%edx
mov    $0x1,%esi
call   1040 <memset@plt>
mov    0x2bcf(%rip),%rax
mov    (%rax),%edi
lea    0xc9a(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
xor    %edi,%edi
call   1070 <exit@plt>

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0xdc00,%rsp
mov    %rsp,%rdi
xor    %esi,%esi
mov    $0xdc00,%edx
call   1040 <memset@plt>
mov    $0x1fff0,%ebp
mov    0x2e66(%rip),%r12
lea    0xe99(%rip),%r14
xor    %ebx,%ebx
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    $0x1fff0,%edi
call   1060 <malloc@plt>
mov    %rax,(%rsp,%rbx,8)
test   %rax,%rax
je     11fc <main+0xac>
mov    (%r12),%edi
lea    0x1(%rbx),%r15
mov    %ebp,%edx
shr    $0x14,%edx
mov    %r14,%rsi
mov    %rax,%rcx
xor    %eax,%eax
call   1050 <fprintf@plt>
mov    (%rsp,%rbx,8),%rdi
mov    $0x1,%esi
mov    $0x1fff0,%edx
call   1040 <memset@plt>
add    $0x1fff0,%ebp
mov    %r15,%rbx
cmp    $0x1b80,%r15
jne    1190 <main+0x40>
mov    (%r12),%edi
lea    0xe55(%rip),%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
mov    $0x1b80,%r15d
jmp    122d <main+0xdd>
mov    (%r12),%edi
lea    0x1(%rbx),%edx
lea    0xdf6(%rip),%rsi
xor    %r15d,%r15d
xor    %eax,%eax
call   1050 <fprintf@plt>
mov    (%r12),%edi
lea    0xe23(%rip),%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
test   %ebx,%ebx
je     1266 <main+0x116>
mov    %ebx,%r15d
mov    %r15d,%ebp
lea    0xe26(%rip),%r14
xor    %ebx,%ebx
nopl   0x0(%rax)
mov    (%rsp,%rbx,8),%rdi
call   1030 <free@plt>
mov    (%r12),%edi
mov    (%rsp,%rbx,8),%rcx
mov    %r14,%rsi
mov    %ebx,%edx
xor    %eax,%eax
call   1050 <fprintf@plt>
add    $0x2,%rbx
cmp    %rbp,%rbx
jb     1240 <main+0xf0>
mov    (%r12),%edi
lea    0xe01(%rip),%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
mov    $0x100000,%edi
call   1060 <malloc@plt>
mov    %rax,%rbx
test   %rax,%rax
je     12a4 <main+0x154>
mov    %rbx,%rdi
mov    $0x1,%esi
mov    $0x1fff0,%edx
call   1040 <memset@plt>
mov    %rbx,%rdi
call   1030 <free@plt>
mov    (%r12),%edi
lea    0xdd9(%rip),%r14
mov    %r14,%rsi
mov    %rbx,%rdx
xor    %eax,%eax
call   1050 <fprintf@plt>
mov    (%r12),%edi
mov    %r15d,%eax
add    $0xffffffff,%eax
shr    $0x1f,%eax
add    %r15d,%eax
add    $0xffffffff,%eax
sar    %eax
imul   $0x1fff0,%eax,%ebx
lea    0xfffff(%rbx),%edx
test   %ebx,%ebx
cmovns %ebx,%edx
sar    $0x14,%edx
lea    0xda8(%rip),%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
mov    %ebx,%edi
call   1060 <malloc@plt>
mov    %rax,%r15
mov    (%r12),%edi
mov    %r14,%rsi
mov    %rax,%rdx
xor    %eax,%eax
call   1050 <fprintf@plt>
test   %r15,%r15
je     1322 <main+0x1d2>
mov    %r15,%rdi
mov    $0x1,%esi
mov    %ebx,%edx
call   1040 <memset@plt>
mov    (%r12),%edi
lea    0xd87(%rip),%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
xor    %edi,%edi
call   1070 <exit@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [26 x i8] c"Failed to allocate at %d\0A\00"
@.str.1 = [40 x i8] c"Currently allocating %d MB, address:%p\0A\00"
@.str.2 = [27 x i8] c"free through one block...\0A\00"
@.str.3 = [21 x i8] c"block #%d(%p) freed\0A\00"
@.str.4 = [22 x i8] c"try to alloc 1 MB...\0A\00"
@.str.5 = [12 x i8] c"result: %p\0A\00"
@.str.6 = [32 x i8] c"try to alloc big area... %d MB\0A\00"
@.str.7 = [11 x i8] c"\0ADone!..\0A\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca [7040 x i8*]
%7 = alloca i8*
%8 = alloca i32
%9 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 0, i32* %8
%10 = getelementptr inbounds [7040 x i8*], [7040 x i8*]* %6, i64 0, i64 0
%11 = bitcast i8** %10 to i8*
%12 = call i32 @memset(i8* %11, i32 0, i32 56320)
br label %13
13: ; preds = %31, %2
%14 = load i32, i32* %8
%15 = icmp slt i32 %14, 7040
br i1 %15, label %16, label %49
16: ; preds = %13
%17 = call i8* @malloc(i32 131056)
%18 = load i32, i32* %8
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [7040 x i8*], [7040 x i8*]* %6, i64 0, i64 %19
store i8* %17, i8** %20
%21 = load i32, i32* %8
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [7040 x i8*], [7040 x i8*]* %6, i64 0, i64 %22
%24 = load i8*, i8** %23
%25 = icmp ne i8* %24, null
br i1 %25, label %31, label %26
26: ; preds = %16
%27 = load i32, i32* @stderr
%28 = load i32, i32* %8
%29 = add nsw i32 %28, 1
%30 = call i32 (i32, i8*, ...) @fprintf(i32 %27, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str, i64 0, i64 0), i32 %29)
br label %49
31: ; preds = %16
%32 = load i32, i32* @stderr
%33 = load i32, i32* %8
%34 = add nsw i32 %33, 1
%35 = mul nsw i32 %34, 131056
%36 = sdiv i32 %35, 1048576
%37 = load i32, i32* %8
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [7040 x i8*], [7040 x i8*]* %6, i64 0, i64 %38
%40 = load i8*, i8** %39
%41 = call i32 (i32, i8*, ...) @fprintf(i32 %32, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.1, i64 0, i64 0), i32 %36, i8* %40)
%42 = load i32, i32* %8
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [7040 x i8*], [7040 x i8*]* %6, i64 0, i64 %43
%45 = load i8*, i8** %44
%46 = call i32 @memset(i8* %45, i32 1, i32 131056)
%47 = load i32, i32* %8
%48 = add nsw i32 %47, 1
store i32 %48, i32* %8
br label %13
49: ; preds = %26, %13
%50 = load i32, i32* @stderr
%51 = call i32 (i32, i8*, ...) @fprintf(i32 %50, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.2, i64 0, i64 0))
store i32 0, i32* %9
br label %52
52: ; preds = %69, %49
%53 = load i32, i32* %9
%54 = load i32, i32* %8
%55 = icmp slt i32 %53, %54
br i1 %55, label %56, label %72
56: ; preds = %52
%57 = load i32, i32* %9
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds [7040 x i8*], [7040 x i8*]* %6, i64 0, i64 %58
%60 = load i8*, i8** %59
%61 = call i32 @free(i8* %60)
%62 = load i32, i32* @stderr
%63 = load i32, i32* %9
%64 = load i32, i32* %9
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds [7040 x i8*], [7040 x i8*]* %6, i64 0, i64 %65
%67 = load i8*, i8** %66
%68 = call i32 (i32, i8*, ...) @fprintf(i32 %62, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.3, i64 0, i64 0), i32 %63, i8* %67)
br label %69
69: ; preds = %56
%70 = load i32, i32* %9
%71 = add nsw i32 %70, 2
store i32 %71, i32* %9
br label %52
72: ; preds = %52
%73 = load i32, i32* @stderr
%74 = call i32 (i32, i8*, ...) @fprintf(i32 %73, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.4, i64 0, i64 0))
%75 = call i8* @malloc(i32 1048576)
store i8* %75, i8** %7
%76 = load i8*, i8** %7
%77 = icmp ne i8* %76, null
br i1 %77, label %78, label %83
78: ; preds = %72
%79 = load i8*, i8** %7
%80 = call i32 @memset(i8* %79, i32 1, i32 131056)
%81 = load i8*, i8** %7
%82 = call i32 @free(i8* %81)
br label %83
83: ; preds = %78, %72
%84 = load i32, i32* @stderr
%85 = load i8*, i8** %7
%86 = call i32 (i32, i8*, ...) @fprintf(i32 %84, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0), i8* %85)
%87 = load i32, i32* @stderr
%88 = load i32, i32* %8
%89 = sub nsw i32 %88, 1
%90 = sdiv i32 %89, 2
%91 = mul nsw i32 %90, 131056
%92 = sdiv i32 %91, 1048576
%93 = call i32 (i32, i8*, ...) @fprintf(i32 %87, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.6, i64 0, i64 0), i32 %92)
%94 = load i32, i32* %8
%95 = sub nsw i32 %94, 1
%96 = sdiv i32 %95, 2
%97 = mul nsw i32 %96, 131056
%98 = call i8* @malloc(i32 %97)
store i8* %98, i8** %7
%99 = load i32, i32* @stderr
%100 = load i8*, i8** %7
%101 = call i32 (i32, i8*, ...) @fprintf(i32 %99, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0), i8* %100)
%102 = load i8*, i8** %7
%103 = icmp ne i8* %102, null
br i1 %103, label %104, label %111
104: ; preds = %83
%105 = load i8*, i8** %7
%106 = load i32, i32* %8
%107 = sub nsw i32 %106, 1
%108 = sdiv i32 %107, 2
%109 = mul nsw i32 %108, 131056
%110 = call i32 @memset(i8* %105, i32 1, i32 %109)
br label %111
111: ; preds = %104, %83
%112 = load i32, i32* @stderr
%113 = call i32 (i32, i8*, ...) @fprintf(i32 %112, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0))
%114 = call i32 @exit(i32 0)
unreachable
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [26 x i8] c"Failed to allocate at %d\0A\00"
@.str.1 = [40 x i8] c"Currently allocating %d MB, address:%p\0A\00"
@.str.2 = [27 x i8] c"free through one block...\0A\00"
@.str.3 = [21 x i8] c"block #%d(%p) freed\0A\00"
@.str.4 = [22 x i8] c"try to alloc 1 MB...\0A\00"
@.str.5 = [12 x i8] c"result: %p\0A\00"
@.str.6 = [32 x i8] c"try to alloc big area... %d MB\0A\00"
@.str.7 = [11 x i8] c"\0ADone!..\0A\0A\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca [7040 x i8*]
%4 = bitcast [7040 x i8*]* %3 to i8*
%5 = call i32 @memset(i8* %4, i32 0, i32 56320)
br label %6
6: ; preds = %2, %11
%7 = phi i64 [ 0, %2 ], [ %13, %11 ]
%8 = call dereferenceable_or_null(131056) i8* @malloc(i32 131056)
%9 = getelementptr inbounds [7040 x i8*], [7040 x i8*]* %3, i64 0, i64 %7
store i8* %8, i8** %9
%10 = icmp eq i8* %8, null
br i1 %10, label %24, label %11
11: ; preds = %6
%12 = load i32, i32* @stderr
%13 = add nuw nsw i64 %7, 1
%14 = trunc i64 %13 to i32
%15 = mul i32 %14, 131056
%16 = lshr i32 %15, 20
%17 = call i32 (i32, i8*, ...) @fprintf(i32 %12, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.1, i64 0, i64 0), i32 %16, i8* %8)
%18 = load i8*, i8** %9
%19 = call i32 @memset(i8* %18, i32 1, i32 131056)
%20 = icmp eq i64 %13, 7040
br i1 %20, label %21, label %6
21: ; preds = %11
%22 = load i32, i32* @stderr
%23 = call i32 (i32, i8*, ...) @fprintf(i32 %22, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.2, i64 0, i64 0))
br label %32
24: ; preds = %6
%25 = trunc i64 %7 to i32
%26 = load i32, i32* @stderr
%27 = add nuw nsw i32 %25, 1
%28 = call i32 (i32, i8*, ...) @fprintf(i32 %26, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str, i64 0, i64 0), i32 %27)
%29 = load i32, i32* @stderr
%30 = call i32 (i32, i8*, ...) @fprintf(i32 %29, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.2, i64 0, i64 0))
%31 = icmp eq i32 %25, 0
br i1 %31, label %46, label %32
32: ; preds = %21, %24
%33 = phi i32 [ 7040, %21 ], [ %25, %24 ]
%34 = zext i32 %33 to i64
br label %35
35: ; preds = %32, %35
%36 = phi i64 [ 0, %32 ], [ %44, %35 ]
%37 = getelementptr inbounds [7040 x i8*], [7040 x i8*]* %3, i64 0, i64 %36
%38 = load i8*, i8** %37
%39 = call i32 @free(i8* %38)
%40 = load i32, i32* @stderr
%41 = load i8*, i8** %37
%42 = trunc i64 %36 to i32
%43 = call i32 (i32, i8*, ...) @fprintf(i32 %40, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.3, i64 0, i64 0), i32 %42, i8* %41)
%44 = add nuw nsw i64 %36, 2
%45 = icmp ult i64 %44, %34
br i1 %45, label %35, label %46
46: ; preds = %35, %24
%47 = phi i32 [ 0, %24 ], [ %33, %35 ]
%48 = load i32, i32* @stderr
%49 = call i32 (i32, i8*, ...) @fprintf(i32 %48, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.4, i64 0, i64 0))
%50 = call dereferenceable_or_null(1048576) i8* @malloc(i32 1048576)
%51 = icmp eq i8* %50, null
br i1 %51, label %55, label %52
52: ; preds = %46
%53 = call i32 @memset(i8* %50, i32 1, i32 131056)
%54 = call i32 @free(i8* %50)
br label %55
55: ; preds = %52, %46
%56 = load i32, i32* @stderr
%57 = call i32 (i32, i8*, ...) @fprintf(i32 %56, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0), i8* %50)
%58 = load i32, i32* @stderr
%59 = add nsw i32 %47, -1
%60 = sdiv i32 %59, 2
%61 = mul nsw i32 %60, 131056
%62 = sdiv i32 %61, 1048576
%63 = call i32 (i32, i8*, ...) @fprintf(i32 %58, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.6, i64 0, i64 0), i32 %62)
%64 = call i8* @malloc(i32 %61)
%65 = load i32, i32* @stderr
%66 = call i32 (i32, i8*, ...) @fprintf(i32 %65, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0), i8* %64)
%67 = icmp eq i8* %64, null
br i1 %67, label %70, label %68
68: ; preds = %55
%69 = call i32 @memset(i8* %64, i32 1, i32 %61)
br label %70
70: ; preds = %68, %55
%71 = load i32, i32* @stderr
%72 = call i32 (i32, i8*, ...) @fprintf(i32 %71, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0))
%73 = call i32 @exit(i32 0)
unreachable
}