#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*/ fclose(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, char *, char *, char *,
                           char *);
int /*<<< orphan*/ free(char *);
int getline(char **, size_t *, int /*<<< orphan*/ *);
char *malloc(int);
int /*<<< orphan*/ stderr;
char *strdup(char *);
size_t strlen(char *);
int /*<<< orphan*/ strncmp(char *, char *, int);
int main_loop(char *pidstatus) {
  char *line;
  char *vmsize;
  char *vmpeak;
  char *vmrss;
  char *vmhwm;
  size_t len;
  FILE *f;
  vmsize = NULL;
  vmpeak = NULL;
  vmrss = NULL;
  vmhwm = NULL;
  line = malloc(128);
  len = 128;
  f = fopen(pidstatus, "r");
  if (!f)
    return 1;
  while (!vmsize || !vmpeak || !vmrss || !vmhwm) {
    if (getline(&line, &len, f) == -1) {
      return 1;
    }
    if (!strncmp(line, "VmPeak:", 7)) {
      vmpeak = strdup(&line[7]);
    } else if (!strncmp(line, "VmSize:", 7)) {
      vmsize = strdup(&line[7]);
    } else if (!strncmp(line, "VmRSS:", 6)) {
      vmrss = strdup(&line[7]);
    } else if (!strncmp(line, "VmHWM:", 6)) {
      vmhwm = strdup(&line[7]);
    }
  }
  free(line);
  fclose(f);
  len = strlen(vmsize);
  vmsize[len - 4] = 0;
  len = strlen(vmpeak);
  vmpeak[len - 4] = 0;
  len = strlen(vmrss);
  vmrss[len - 4] = 0;
  len = strlen(vmhwm);
  vmhwm[len - 4] = 0;
  fprintf(stderr, "%s\t%s\t%s\t%s\n", vmsize, vmpeak, vmrss, vmhwm);
  free(vmpeak);
  free(vmsize);
  free(vmrss);
  free(vmhwm);
  return 0;
}


x86 assembly (clang, -O0):
<main_loop>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
mov    %rdi,-0x10(%rbp)
movq   $0x0,-0x20(%rbp)
movq   $0x0,-0x28(%rbp)
movq   $0x0,-0x30(%rbp)
movq   $0x0,-0x38(%rbp)
mov    $0x80,%edi
call   1080 <malloc@plt>
mov    %rax,-0x18(%rbp)
movq   $0x80,-0x40(%rbp)
mov    -0x10(%rbp),%rdi
lea    0xe23(%rip),%rsi
call   1090 <fopen@plt>
mov    %rax,-0x48(%rbp)
cmpq   $0x0,-0x48(%rbp)
jne    11fd <main_loop+0x6d>
movl   $0x1,-0x4(%rbp)
jmp    142a <main_loop+0x29a>
jmp    1202 <main_loop+0x72>
mov    $0x1,%al
cmpq   $0x0,-0x20(%rbp)
mov    %al,-0x49(%rbp)
je     123f <main_loop+0xaf>
mov    $0x1,%al
cmpq   $0x0,-0x28(%rbp)
mov    %al,-0x49(%rbp)
je     123f <main_loop+0xaf>
mov    $0x1,%al
cmpq   $0x0,-0x30(%rbp)
mov    %al,-0x49(%rbp)
je     123f <main_loop+0xaf>
cmpq   $0x0,-0x38(%rbp)
setne  %al
xor    $0xff,%al
mov    %al,-0x49(%rbp)
mov    -0x49(%rbp),%al
test   $0x1,%al
jne    124f <main_loop+0xbf>
jmp    1354 <main_loop+0x1c4>
mov    -0x48(%rbp),%rdx
lea    -0x18(%rbp),%rdi
lea    -0x40(%rbp),%rsi
call   10a0 <getline@plt>
cmp    $0xffffffff,%eax
jne    1275 <main_loop+0xe5>
movl   $0x1,-0x4(%rbp)
jmp    142a <main_loop+0x29a>
mov    -0x18(%rbp),%rdi
lea    0xd82(%rip),%rsi
mov    $0x7,%edx
call   1040 <strncmp@plt>
cmp    $0x0,%eax
jne    12a9 <main_loop+0x119>
mov    -0x18(%rbp),%rdi
add    $0x7,%rdi
call   10b0 <strdup@plt>
mov    %rax,-0x28(%rbp)
jmp    134f <main_loop+0x1bf>
mov    -0x18(%rbp),%rdi
lea    0xd56(%rip),%rsi
mov    $0x7,%edx
call   1040 <strncmp@plt>
cmp    $0x0,%eax
jne    12dd <main_loop+0x14d>
mov    -0x18(%rbp),%rdi
add    $0x7,%rdi
call   10b0 <strdup@plt>
mov    %rax,-0x20(%rbp)
jmp    134a <main_loop+0x1ba>
mov    -0x18(%rbp),%rdi
lea    0xd2a(%rip),%rsi
mov    $0x6,%edx
call   1040 <strncmp@plt>
cmp    $0x0,%eax
jne    1311 <main_loop+0x181>
mov    -0x18(%rbp),%rdi
add    $0x7,%rdi
call   10b0 <strdup@plt>
mov    %rax,-0x30(%rbp)
jmp    1345 <main_loop+0x1b5>
mov    -0x18(%rbp),%rdi
lea    0xcfd(%rip),%rsi
mov    $0x6,%edx
call   1040 <strncmp@plt>
cmp    $0x0,%eax
jne    1340 <main_loop+0x1b0>
mov    -0x18(%rbp),%rdi
add    $0x7,%rdi
call   10b0 <strdup@plt>
mov    %rax,-0x38(%rbp)
jmp    1345 <main_loop+0x1b5>
jmp    134a <main_loop+0x1ba>
jmp    134f <main_loop+0x1bf>
jmp    1202 <main_loop+0x72>
mov    -0x18(%rbp),%rdi
call   1030 <free@plt>
mov    -0x48(%rbp),%rdi
call   1050 <fclose@plt>
mov    -0x20(%rbp),%rdi
call   1060 <strlen@plt>
mov    %rax,-0x40(%rbp)
mov    -0x20(%rbp),%rax
mov    -0x40(%rbp),%rcx
sub    $0x4,%rcx
movb   $0x0,(%rax,%rcx,1)
mov    -0x28(%rbp),%rdi
call   1060 <strlen@plt>
mov    %rax,-0x40(%rbp)
mov    -0x28(%rbp),%rax
mov    -0x40(%rbp),%rcx
sub    $0x4,%rcx
movb   $0x0,(%rax,%rcx,1)
mov    -0x30(%rbp),%rdi
call   1060 <strlen@plt>
mov    %rax,-0x40(%rbp)
mov    -0x30(%rbp),%rax
mov    -0x40(%rbp),%rcx
sub    $0x4,%rcx
movb   $0x0,(%rax,%rcx,1)
mov    -0x38(%rbp),%rdi
call   1060 <strlen@plt>
mov    %rax,-0x40(%rbp)
mov    -0x38(%rbp),%rax
mov    -0x40(%rbp),%rcx
sub    $0x4,%rcx
movb   $0x0,(%rax,%rcx,1)
mov    0x2bff(%rip),%rax
mov    (%rax),%edi
mov    -0x20(%rbp),%rdx
mov    -0x28(%rbp),%rcx
mov    -0x30(%rbp),%r8
mov    -0x38(%rbp),%r9
lea    0xc26(%rip),%rsi
call   1070 <fprintf@plt>
mov    -0x28(%rbp),%rdi
call   1030 <free@plt>
mov    -0x20(%rbp),%rdi
call   1030 <free@plt>
mov    -0x30(%rbp),%rdi
call   1030 <free@plt>
mov    -0x38(%rbp),%rdi
call   1030 <free@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main_loop>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
mov    %rdi,%rbx
mov    $0x80,%edi
call   1080 <malloc@plt>
mov    %rax,0x8(%rsp)
movq   $0x80,0x10(%rsp)
lea    0xe40(%rip),%rsi
mov    %rbx,%rdi
call   1090 <fopen@plt>
mov    %rax,%rbp
mov    $0x1,%eax
test   %rbp,%rbp
je     13a2 <main_loop+0x212>
xor    %r14d,%r14d
lea    0x10(%rsp),%r13
xor    %r15d,%r15d
xor    %ebx,%ebx
xor    %r12d,%r12d
nopl   0x0(%rax)
lea    0x8(%rsp),%rdi
mov    %r13,%rsi
mov    %rbp,%rdx
call   10a0 <getline@plt>
cmp    $0xffffffff,%eax
je     12f8 <main_loop+0x168>
mov    0x8(%rsp),%rdi
lea    0xded(%rip),%rsi
mov    $0x7,%edx
call   1040 <strncmp@plt>
mov    0x8(%rsp),%rdi
test   %eax,%eax
je     1290 <main_loop+0x100>
lea    0xddb(%rip),%rsi
mov    $0x7,%edx
call   1040 <strncmp@plt>
mov    0x8(%rsp),%rdi
test   %eax,%eax
je     12b0 <main_loop+0x120>
lea    0xdc9(%rip),%rsi
mov    $0x6,%edx
call   1040 <strncmp@plt>
mov    0x8(%rsp),%rdi
test   %eax,%eax
je     12e2 <main_loop+0x152>
lea    0xdb2(%rip),%rsi
mov    $0x6,%edx
call   1040 <strncmp@plt>
test   %eax,%eax
jne    12bc <main_loop+0x12c>
mov    0x8(%rsp),%rdi
add    $0x7,%rdi
call   10b0 <strdup@plt>
mov    %rax,%r14
test   %r12,%r12
jne    12c5 <main_loop+0x135>
jmp    11f0 <main_loop+0x60>
add    $0x7,%rdi
call   10b0 <strdup@plt>
mov    %rax,%rbx
test   %r12,%r12
jne    12c5 <main_loop+0x135>
jmp    11f0 <main_loop+0x60>
cs nopw 0x0(%rax,%rax,1)
add    $0x7,%rdi
call   10b0 <strdup@plt>
mov    %rax,%r12
test   %r12,%r12
je     11f0 <main_loop+0x60>
test   %rbx,%rbx
je     11f0 <main_loop+0x60>
test   %r15,%r15
je     11f0 <main_loop+0x60>
test   %r14,%r14
je     11f0 <main_loop+0x60>
jmp    1302 <main_loop+0x172>
add    $0x7,%rdi
call   10b0 <strdup@plt>
mov    %rax,%r15
test   %r12,%r12
jne    12c5 <main_loop+0x135>
jmp    11f0 <main_loop+0x60>
mov    $0x1,%eax
jmp    13a2 <main_loop+0x212>
mov    0x8(%rsp),%rdi
call   1030 <free@plt>
mov    %rbp,%rdi
call   1050 <fclose@plt>
mov    %r12,%rdi
call   1060 <strlen@plt>
mov    %rax,0x10(%rsp)
movb   $0x0,-0x4(%rax,%r12,1)
mov    %rbx,%rdi
call   1060 <strlen@plt>
mov    %rax,0x10(%rsp)
movb   $0x0,-0x4(%rax,%rbx,1)
mov    %r15,%rdi
call   1060 <strlen@plt>
mov    %rax,0x10(%rsp)
movb   $0x0,-0x4(%rax,%r15,1)
mov    %r14,%rdi
call   1060 <strlen@plt>
mov    %rax,0x10(%rsp)
movb   $0x0,-0x4(%rax,%r14,1)
mov    0x2c7a(%rip),%rax
mov    (%rax),%edi
lea    0xcb1(%rip),%rsi
mov    %r12,%rdx
mov    %rbx,%rcx
mov    %r15,%r8
mov    %r14,%r9
call   1070 <fprintf@plt>
mov    %rbx,%rdi
call   1030 <free@plt>
mov    %r12,%rdi
call   1030 <free@plt>
mov    %r15,%rdi
call   1030 <free@plt>
mov    %r14,%rdi
call   1030 <free@plt>
xor    %eax,%eax
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [2 x i8] c"r\00"
@.str.1 = [8 x i8] c"VmPeak:\00"
@.str.2 = [8 x i8] c"VmSize:\00"
@.str.3 = [7 x i8] c"VmRSS:\00"
@.str.4 = [7 x i8] c"VmHWM:\00"
@stderr = global i32 0
@.str.5 = [13 x i8] c"%s\09%s\09%s\09%s\0A\00"
define i32 @main_loop(i8* %0) {
%2 = alloca i32
%3 = alloca i8*
%4 = alloca i8*
%5 = alloca i8*
%6 = alloca i8*
%7 = alloca i8*
%8 = alloca i8*
%9 = alloca i64
%10 = alloca i32*
store i8* %0, i8** %3
store i8* null, i8** %5
store i8* null, i8** %6
store i8* null, i8** %7
store i8* null, i8** %8
%11 = call i8* @malloc(i32 128)
store i8* %11, i8** %4
store i64 128, i64* %9
%12 = load i8*, i8** %3
%13 = call i32* @fopen(i8* %12, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
store i32* %13, i32** %10
%14 = load i32*, i32** %10
%15 = icmp ne i32* %14, null
br i1 %15, label %17, label %16
16: ; preds = %1
store i32 1, i32* %2
br label %117
17: ; preds = %1
br label %18
18: ; preds = %73, %17
%19 = load i8*, i8** %5
%20 = icmp ne i8* %19, null
br i1 %20, label %21, label %31
21: ; preds = %18
%22 = load i8*, i8** %6
%23 = icmp ne i8* %22, null
br i1 %23, label %24, label %31
24: ; preds = %21
%25 = load i8*, i8** %7
%26 = icmp ne i8* %25, null
br i1 %26, label %27, label %31
27: ; preds = %24
%28 = load i8*, i8** %8
%29 = icmp ne i8* %28, null
%30 = xor i1 %29, true
br label %31
31: ; preds = %27, %24, %21, %18
%32 = phi i1 [ true, %24 ], [ true, %21 ], [ true, %18 ], [ %30, %27 ]
br i1 %32, label %33, label %74
33: ; preds = %31
%34 = load i32*, i32** %10
%35 = call i32 @getline(i8** %4, i64* %9, i32* %34)
%36 = icmp eq i32 %35, -1
br i1 %36, label %37, label %38
37: ; preds = %33
store i32 1, i32* %2
br label %117
38: ; preds = %33
%39 = load i8*, i8** %4
%40 = call i32 @strncmp(i8* %39, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0), i32 7)
%41 = icmp ne i32 %40, 0
br i1 %41, label %46, label %42
42: ; preds = %38
%43 = load i8*, i8** %4
%44 = getelementptr inbounds i8, i8* %43, i64 7
%45 = call i8* @strdup(i8* %44)
store i8* %45, i8** %6
br label %73
46: ; preds = %38
%47 = load i8*, i8** %4
%48 = call i32 @strncmp(i8* %47, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i32 7)
%49 = icmp ne i32 %48, 0
br i1 %49, label %54, label %50
50: ; preds = %46
%51 = load i8*, i8** %4
%52 = getelementptr inbounds i8, i8* %51, i64 7
%53 = call i8* @strdup(i8* %52)
store i8* %53, i8** %5
br label %72
54: ; preds = %46
%55 = load i8*, i8** %4
%56 = call i32 @strncmp(i8* %55, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 6)
%57 = icmp ne i32 %56, 0
br i1 %57, label %62, label %58
58: ; preds = %54
%59 = load i8*, i8** %4
%60 = getelementptr inbounds i8, i8* %59, i64 7
%61 = call i8* @strdup(i8* %60)
store i8* %61, i8** %7
br label %71
62: ; preds = %54
%63 = load i8*, i8** %4
%64 = call i32 @strncmp(i8* %63, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0), i32 6)
%65 = icmp ne i32 %64, 0
br i1 %65, label %70, label %66
66: ; preds = %62
%67 = load i8*, i8** %4
%68 = getelementptr inbounds i8, i8* %67, i64 7
%69 = call i8* @strdup(i8* %68)
store i8* %69, i8** %8
br label %70
70: ; preds = %66, %62
br label %71
71: ; preds = %70, %58
br label %72
72: ; preds = %71, %50
br label %73
73: ; preds = %72, %42
br label %18
74: ; preds = %31
%75 = load i8*, i8** %4
%76 = call i32 @free(i8* %75)
%77 = load i32*, i32** %10
%78 = call i32 @fclose(i32* %77)
%79 = load i8*, i8** %5
%80 = call i64 @strlen(i8* %79)
store i64 %80, i64* %9
%81 = load i8*, i8** %5
%82 = load i64, i64* %9
%83 = sub i64 %82, 4
%84 = getelementptr inbounds i8, i8* %81, i64 %83
store i8 0, i8* %84
%85 = load i8*, i8** %6
%86 = call i64 @strlen(i8* %85)
store i64 %86, i64* %9
%87 = load i8*, i8** %6
%88 = load i64, i64* %9
%89 = sub i64 %88, 4
%90 = getelementptr inbounds i8, i8* %87, i64 %89
store i8 0, i8* %90
%91 = load i8*, i8** %7
%92 = call i64 @strlen(i8* %91)
store i64 %92, i64* %9
%93 = load i8*, i8** %7
%94 = load i64, i64* %9
%95 = sub i64 %94, 4
%96 = getelementptr inbounds i8, i8* %93, i64 %95
store i8 0, i8* %96
%97 = load i8*, i8** %8
%98 = call i64 @strlen(i8* %97)
store i64 %98, i64* %9
%99 = load i8*, i8** %8
%100 = load i64, i64* %9
%101 = sub i64 %100, 4
%102 = getelementptr inbounds i8, i8* %99, i64 %101
store i8 0, i8* %102
%103 = load i32, i32* @stderr
%104 = load i8*, i8** %5
%105 = load i8*, i8** %6
%106 = load i8*, i8** %7
%107 = load i8*, i8** %8
%108 = call i32 @fprintf(i32 %103, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.5, i64 0, i64 0), i8* %104, i8* %105, i8* %106, i8* %107)
%109 = load i8*, i8** %6
%110 = call i32 @free(i8* %109)
%111 = load i8*, i8** %5
%112 = call i32 @free(i8* %111)
%113 = load i8*, i8** %7
%114 = call i32 @free(i8* %113)
%115 = load i8*, i8** %8
%116 = call i32 @free(i8* %115)
store i32 0, i32* %2
br label %117
117: ; preds = %74, %37, %16
%118 = load i32, i32* %2
ret i32 %118
}

LLVM IR (-O2):
@.str = [2 x i8] c"r\00"
@.str.1 = [8 x i8] c"VmPeak:\00"
@.str.2 = [8 x i8] c"VmSize:\00"
@.str.3 = [7 x i8] c"VmRSS:\00"
@.str.4 = [7 x i8] c"VmHWM:\00"
@stderr = global i32 0
@.str.5 = [13 x i8] c"%s\09%s\09%s\09%s\0A\00"
define i32 @main_loop(i8* nocapture %0) {
%2 = alloca i8*
%3 = alloca i64
%4 = bitcast i8** %2 to i8*
%5 = bitcast i64* %3 to i8*
%6 = tail call dereferenceable_or_null(128) i8* @malloc(i32 128)
store i8* %6, i8** %2
store i64 128, i64* %3
%7 = tail call i32* @fopen(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%8 = icmp eq i32* %7, null
br i1 %8, label %79, label %9
9: ; preds = %1, %45
%10 = phi i8* [ %49, %45 ], [ null, %1 ]
%11 = phi i8* [ %48, %45 ], [ null, %1 ]
%12 = phi i8* [ %47, %45 ], [ null, %1 ]
%13 = phi i8* [ %46, %45 ], [ null, %1 ]
%14 = call i32 @getline(i8** %2, i64* %3, i32* %7)
%15 = icmp eq i32 %14, -1
br i1 %15, label %79, label %16
16: ; preds = %9
%17 = load i8*, i8** %2
%18 = call i32 @strncmp(i8* %17, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0), i32 7)
%19 = icmp eq i32 %18, 0
%20 = load i8*, i8** %2
br i1 %19, label %21, label %24
21: ; preds = %16
%22 = getelementptr inbounds i8, i8* %20, i64 7
%23 = call i8* @strdup(i8* %22)
br label %45
24: ; preds = %16
%25 = call i32 @strncmp(i8* %20, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i32 7)
%26 = icmp eq i32 %25, 0
%27 = load i8*, i8** %2
br i1 %26, label %28, label %31
28: ; preds = %24
%29 = getelementptr inbounds i8, i8* %27, i64 7
%30 = call i8* @strdup(i8* %29)
br label %45
31: ; preds = %24
%32 = call i32 @strncmp(i8* %27, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 6)
%33 = icmp eq i32 %32, 0
%34 = load i8*, i8** %2
br i1 %33, label %35, label %38
35: ; preds = %31
%36 = getelementptr inbounds i8, i8* %34, i64 7
%37 = call i8* @strdup(i8* %36)
br label %45
38: ; preds = %31
%39 = call i32 @strncmp(i8* %34, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0), i32 6)
%40 = icmp eq i32 %39, 0
br i1 %40, label %41, label %45
41: ; preds = %38
%42 = load i8*, i8** %2
%43 = getelementptr inbounds i8, i8* %42, i64 7
%44 = call i8* @strdup(i8* %43)
br label %45
45: ; preds = %28, %38, %41, %35, %21
%46 = phi i8* [ %13, %38 ], [ %13, %41 ], [ %13, %35 ], [ %30, %28 ], [ %13, %21 ]
%47 = phi i8* [ %12, %38 ], [ %12, %41 ], [ %12, %35 ], [ %12, %28 ], [ %23, %21 ]
%48 = phi i8* [ %11, %38 ], [ %11, %41 ], [ %37, %35 ], [ %11, %28 ], [ %11, %21 ]
%49 = phi i8* [ %10, %38 ], [ %44, %41 ], [ %10, %35 ], [ %10, %28 ], [ %10, %21 ]
%50 = icmp eq i8* %46, null
%51 = icmp eq i8* %47, null
%52 = select i1 %50, i1 true, i1 %51
%53 = icmp eq i8* %48, null
%54 = select i1 %52, i1 true, i1 %53
%55 = icmp eq i8* %49, null
%56 = select i1 %54, i1 true, i1 %55
br i1 %56, label %9, label %57
57: ; preds = %45
%58 = load i8*, i8** %2
%59 = call i32 @free(i8* %58)
%60 = call i32 @fclose(i32* %7)
%61 = call i64 @strlen(i8* dereferenceable(1) %46)
store i64 %61, i64* %3
%62 = add i64 %61, -4
%63 = getelementptr inbounds i8, i8* %46, i64 %62
store i8 0, i8* %63
%64 = call i64 @strlen(i8* dereferenceable(1) %47)
store i64 %64, i64* %3
%65 = add i64 %64, -4
%66 = getelementptr inbounds i8, i8* %47, i64 %65
store i8 0, i8* %66
%67 = call i64 @strlen(i8* dereferenceable(1) %48)
store i64 %67, i64* %3
%68 = add i64 %67, -4
%69 = getelementptr inbounds i8, i8* %48, i64 %68
store i8 0, i8* %69
%70 = call i64 @strlen(i8* dereferenceable(1) %49)
store i64 %70, i64* %3
%71 = add i64 %70, -4
%72 = getelementptr inbounds i8, i8* %49, i64 %71
store i8 0, i8* %72
%73 = load i32, i32* @stderr
%74 = call i32 @fprintf(i32 %73, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.5, i64 0, i64 0), i8* %46, i8* %47, i8* %48, i8* %49)
%75 = call i32 @free(i8* %47)
%76 = call i32 @free(i8* %46)
%77 = call i32 @free(i8* %48)
%78 = call i32 @free(i8* %49)
br label %79
79: ; preds = %9, %1, %57
%80 = phi i32 [ 0, %57 ], [ 1, %1 ], [ 1, %9 ]
ret i32 %80
}