#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 */
struct timeval {
  int tv_sec;
  scalar_t__ tv_usec;
};

/* Variables and functions */
int ConnexOpen(char *, int);
int ConnexRead(int, int *, unsigned char **, int *, int *, struct timeval *);
int atoi(char *);
int /*<<< orphan*/ exit(int);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, ...);
int /*<<< orphan*/ stderr;
int main(int argc, char *argv[]) {
  int n, num;
  int sock[10];
  int port[10];
  char *host[10];
  int flag[10], status, size[10];
  unsigned char *buffer[10];
  struct timeval tout;
  if (argc < 3) {
    fprintf(stderr, "host and port must be specified.\n");
    exit(-1);
  }
  num = 0;
  for (n = 1; n < argc; n += 2) {
    host[num] = argv[n];
    port[num] = atoi(argv[n + 1]);
    flag[num] = 0;
    size[num] = 0;
    buffer[num] = 0;
    num++;
  }
  for (n = 0; n < num; n++) {
    sock[n] = ConnexOpen(host[n], port[n]);
    if (sock[n] < 0)
      fprintf(stderr, "Could not connect to host.\n");
  }
  do {
    tout.tv_sec = 5;
    tout.tv_usec = 0;
    status = ConnexRead(num, sock, buffer, size, flag, &tout);
    if (status == -1)
      break;
    for (n = 0; n < num; n++)
      if (flag[n] == 1)
        fprintf(stderr, "Server %s:%d Size:%d\n", host[n], port[n], size[n]);
  } while (1);
  fprintf(stderr, "Connection failed.\n");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x180,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
cmpl   $0x3,-0x8(%rbp)
jge    1194 <main+0x44>
mov    0x2e66(%rip),%rax
mov    (%rax),%edi
lea    0xe7d(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    $0xffffffff,%edi
call   1070 <exit@plt>
movl   $0x0,-0x18(%rbp)
movl   $0x1,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    122b <main+0xdb>
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rcx
movslq -0x18(%rbp),%rax
mov    %rcx,-0xc0(%rbp,%rax,8)
ff
mov    -0x10(%rbp),%rax
mov    -0x14(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,8),%rdi
call   1060 <atoi@plt>
mov    %eax,%ecx
movslq -0x18(%rbp),%rax
mov    %ecx,-0x70(%rbp,%rax,4)
movslq -0x18(%rbp),%rax
movl   $0x0,-0xf0(%rbp,%rax,4)
movslq -0x18(%rbp),%rax
movl   $0x0,-0x120(%rbp,%rax,4)
movslq -0x18(%rbp),%rax
movq   $0x0,-0x170(%rbp,%rax,8)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
mov    -0x14(%rbp),%eax
add    $0x2,%eax
mov    %eax,-0x14(%rbp)
jmp    11a2 <main+0x52>
movl   $0x0,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x18(%rbp),%eax
jge    129a <main+0x14a>
movslq -0x14(%rbp),%rax
mov    -0xc0(%rbp,%rax,8),%rdi
ff
movslq -0x14(%rbp),%rax
mov    -0x70(%rbp,%rax,4),%esi
call   1030 <ConnexOpen@plt>
mov    %eax,%ecx
movslq -0x14(%rbp),%rax
mov    %ecx,-0x40(%rbp,%rax,4)
movslq -0x14(%rbp),%rax
cmpl   $0x0,-0x40(%rbp,%rax,4)
jge    1287 <main+0x137>
mov    0x2d69(%rip),%rax
mov    (%rax),%edi
lea    0xda2(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
jmp    128c <main+0x13c>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1232 <main+0xe2>
jmp    129f <main+0x14f>
movl   $0x5,-0x180(%rbp)
movq   $0x0,-0x178(%rbp)
mov    -0x18(%rbp),%edi
lea    -0x40(%rbp),%rsi
lea    -0x170(%rbp),%rdx
lea    -0x120(%rbp),%rcx
lea    -0xf0(%rbp),%r8
lea    -0x180(%rbp),%r9
call   1050 <ConnexRead@plt>
mov    %eax,-0xf4(%rbp)
cmpl   $0xffffffff,-0xf4(%rbp)
jne    12f4 <main+0x1a4>
jmp    1377 <main+0x227>
movl   $0x0,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x18(%rbp),%eax
jge    1363 <main+0x213>
movslq -0x14(%rbp),%rax
cmpl   $0x1,-0xf0(%rbp,%rax,4)
01
jne    1350 <main+0x200>
mov    0x2cc0(%rip),%rax
mov    (%rax),%edi
movslq -0x14(%rbp),%rax
mov    -0xc0(%rbp,%rax,8),%rdx
ff
movslq -0x14(%rbp),%rax
mov    -0x70(%rbp,%rax,4),%ecx
movslq -0x14(%rbp),%rax
mov    -0x120(%rbp,%rax,4),%r8d
ff
lea    0xcf5(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
jmp    1355 <main+0x205>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    12fb <main+0x1ab>
jmp    1368 <main+0x218>
mov    $0x1,%al
test   $0x1,%al
jne    129f <main+0x14f>
jmp    1377 <main+0x227>
mov    0x2c62(%rip),%rax
mov    (%rax),%edi
lea    0xccd(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
xor    %eax,%eax
add    $0x180,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x178,%rsp
cmp    $0x3,%edi
jl     1341 <main+0x1e1>
mov    %rsi,%rbx
mov    %edi,%r14d
add    $0xfffffffe,%r14d
shr    %r14d
lea    0x4(,%r14,4),%r15
lea    0x40(%rsp),%rdi
xor    %ebp,%ebp
xor    %esi,%esi
mov    %r15,%rdx
call   1040 <memset@plt>
lea    0x10(%rsp),%rdi
xor    %esi,%esi
mov    %r15,%rdx
call   1040 <memset@plt>
lea    0x8(,%r14,8),%rdx
lea    0xd0(%rsp),%rdi
xor    %esi,%esi
call   1040 <memset@plt>
add    $0x1,%r14d
nopw   0x0(%rax,%rax,1)
mov    0x8(%rbx,%rbp,4),%rax
mov    %rax,0x120(%rsp,%rbp,2)
mov    0x10(%rbx,%rbp,4),%rdi
call   1070 <atoi@plt>
mov    %eax,0x70(%rsp,%rbp,1)
add    $0x4,%rbp
cmp    %rbp,%r15
jne    11d0 <main+0x70>
mov    %r14d,%r12d
lea    0xe24(%rip),%rbx
xor    %ebp,%ebp
jmp    1219 <main+0xb9>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
add    $0x1,%rbp
cmp    %rbp,%r12
je     124a <main+0xea>
mov    0x120(%rsp,%rbp,8),%rdi
mov    0x70(%rsp,%rbp,4),%esi
call   1030 <ConnexOpen@plt>
mov    %eax,0xa0(%rsp,%rbp,4)
test   %eax,%eax
jns    1210 <main+0xb0>
mov    0x2da4(%rip),%rax
mov    (%rax),%edi
mov    %rbx,%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
jmp    1210 <main+0xb0>
movl   $0x5,(%rsp)
movq   $0x0,0x8(%rsp)
lea    0xa0(%rsp),%rsi
lea    0xd0(%rsp),%rdx
lea    0x10(%rsp),%rcx
lea    0x40(%rsp),%r8
mov    %rsp,%r9
mov    %r14d,%edi
call   1060 <ConnexRead@plt>
cmp    $0xffffffff,%eax
je     1316 <main+0x1b6>
lea    0x10(%rsp),%rbx
lea    0x40(%rsp),%rbp
mov    %rsp,%r15
xor    %r13d,%r13d
nopl   0x0(%rax,%rax,1)
cmpl   $0x1,0x40(%rsp,%r13,4)
jne    12d1 <main+0x171>
mov    0x2d31(%rip),%rax
mov    (%rax),%edi
mov    0x120(%rsp,%r13,8),%rdx
mov    0x70(%rsp,%r13,4),%ecx
mov    0x10(%rsp,%r13,4),%r8d
lea    0xd74(%rip),%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
add    $0x1,%r13
cmp    %r12,%r13
jne    12a0 <main+0x140>
movl   $0x5,(%rsp)
movq   $0x0,0x8(%rsp)
mov    %r14d,%edi
lea    0xa0(%rsp),%rsi
lea    0xd0(%rsp),%rdx
mov    %rbx,%rcx
mov    %rbp,%r8
mov    %r15,%r9
call   1060 <ConnexRead@plt>
mov    $0x0,%r13d
cmp    $0xffffffff,%eax
jne    12a0 <main+0x140>
mov    0x2cc3(%rip),%rax
mov    (%rax),%edi
lea    0xd2e(%rip),%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
xor    %eax,%eax
add    $0x178,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
mov    0x2c98(%rip),%rax
mov    (%rax),%edi
lea    0xcaf(%rip),%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
mov    $0xffffffff,%edi
call   1080 <exit@plt>

LLVM IR (-O0):
%struct.timeval = type { i32, i64 }
@stderr = global i32 0
@.str = [34 x i8] c"host and port must be specified.\0A\00"
@.str.1 = [28 x i8] c"Could not connect to host.\0A\00"
@.str.2 = [22 x i8] c"Server %s:%d Size:%d\0A\00"
@.str.3 = [20 x i8] c"Connection failed.\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i32
%8 = alloca [10 x i32]
%9 = alloca [10 x i32]
%10 = alloca [10 x i8*]
%11 = alloca [10 x i32]
%12 = alloca i32
%13 = alloca [10 x i32]
%14 = alloca [10 x i8*]
%15 = alloca %struct.timeval
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%16 = load i32, i32* %4
%17 = icmp slt i32 %16, 3
br i1 %17, label %18, label %22
18: ; preds = %2
%19 = load i32, i32* @stderr
%20 = call i32 (i32, i8*, ...) @fprintf(i32 %19, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str, i64 0, i64 0))
%21 = call i32 @exit(i32 -1)
unreachable
22: ; preds = %2
store i32 0, i32* %7
store i32 1, i32* %6
br label %23
23: ; preds = %57, %22
%24 = load i32, i32* %6
%25 = load i32, i32* %4
%26 = icmp slt i32 %24, %25
br i1 %26, label %27, label %60
27: ; preds = %23
%28 = load i8**, i8*** %5
%29 = load i32, i32* %6
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8*, i8** %28, i64 %30
%32 = load i8*, i8** %31
%33 = load i32, i32* %7
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [10 x i8*], [10 x i8*]* %10, i64 0, i64 %34
store i8* %32, i8** %35
%36 = load i8**, i8*** %5
%37 = load i32, i32* %6
%38 = add nsw i32 %37, 1
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8*, i8** %36, i64 %39
%41 = load i8*, i8** %40
%42 = call i32 @atoi(i8* %41)
%43 = load i32, i32* %7
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [10 x i32], [10 x i32]* %9, i64 0, i64 %44
store i32 %42, i32* %45
%46 = load i32, i32* %7
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [10 x i32], [10 x i32]* %11, i64 0, i64 %47
store i32 0, i32* %48
%49 = load i32, i32* %7
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [10 x i32], [10 x i32]* %13, i64 0, i64 %50
store i32 0, i32* %51
%52 = load i32, i32* %7
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [10 x i8*], [10 x i8*]* %14, i64 0, i64 %53
store i8* null, i8** %54
%55 = load i32, i32* %7
%56 = add nsw i32 %55, 1
store i32 %56, i32* %7
br label %57
57: ; preds = %27
%58 = load i32, i32* %6
%59 = add nsw i32 %58, 2
store i32 %59, i32* %6
br label %23
60: ; preds = %23
store i32 0, i32* %6
br label %61
61: ; preds = %87, %60
%62 = load i32, i32* %6
%63 = load i32, i32* %7
%64 = icmp slt i32 %62, %63
br i1 %64, label %65, label %90
65: ; preds = %61
%66 = load i32, i32* %6
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds [10 x i8*], [10 x i8*]* %10, i64 0, i64 %67
%69 = load i8*, i8** %68
%70 = load i32, i32* %6
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds [10 x i32], [10 x i32]* %9, i64 0, i64 %71
%73 = load i32, i32* %72
%74 = call i32 @ConnexOpen(i8* %69, i32 %73)
%75 = load i32, i32* %6
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds [10 x i32], [10 x i32]* %8, i64 0, i64 %76
store i32 %74, i32* %77
%78 = load i32, i32* %6
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds [10 x i32], [10 x i32]* %8, i64 0, i64 %79
%81 = load i32, i32* %80
%82 = icmp slt i32 %81, 0
br i1 %82, label %83, label %86
83: ; preds = %65
%84 = load i32, i32* @stderr
%85 = call i32 (i32, i8*, ...) @fprintf(i32 %84, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.1, i64 0, i64 0))
br label %86
86: ; preds = %83, %65
br label %87
87: ; preds = %86
%88 = load i32, i32* %6
%89 = add nsw i32 %88, 1
store i32 %89, i32* %6
br label %61
90: ; preds = %61
br label %91
91: ; preds = %134, %90
%92 = getelementptr inbounds %struct.timeval, %struct.timeval* %15, i32 0, i32 0
store i32 5, i32* %92
%93 = getelementptr inbounds %struct.timeval, %struct.timeval* %15, i32 0, i32 1
store i64 0, i64* %93
%94 = load i32, i32* %7
%95 = getelementptr inbounds [10 x i32], [10 x i32]* %8, i64 0, i64 0
%96 = getelementptr inbounds [10 x i8*], [10 x i8*]* %14, i64 0, i64 0
%97 = getelementptr inbounds [10 x i32], [10 x i32]* %13, i64 0, i64 0
%98 = getelementptr inbounds [10 x i32], [10 x i32]* %11, i64 0, i64 0
%99 = call i32 @ConnexRead(i32 %94, i32* %95, i8** %96, i32* %97, i32* %98, %struct.timeval* %15)
store i32 %99, i32* %12
%100 = load i32, i32* %12
%101 = icmp eq i32 %100, -1
br i1 %101, label %102, label %103
102: ; preds = %91
br label %135
103: ; preds = %91
store i32 0, i32* %6
br label %104
104: ; preds = %130, %103
%105 = load i32, i32* %6
%106 = load i32, i32* %7
%107 = icmp slt i32 %105, %106
br i1 %107, label %108, label %133
108: ; preds = %104
%109 = load i32, i32* %6
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds [10 x i32], [10 x i32]* %11, i64 0, i64 %110
%112 = load i32, i32* %111
%113 = icmp eq i32 %112, 1
br i1 %113, label %114, label %129
114: ; preds = %108
%115 = load i32, i32* @stderr
%116 = load i32, i32* %6
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds [10 x i8*], [10 x i8*]* %10, i64 0, i64 %117
%119 = load i8*, i8** %118
%120 = load i32, i32* %6
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds [10 x i32], [10 x i32]* %9, i64 0, i64 %121
%123 = load i32, i32* %122
%124 = load i32, i32* %6
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds [10 x i32], [10 x i32]* %13, i64 0, i64 %125
%127 = load i32, i32* %126
%128 = call i32 (i32, i8*, ...) @fprintf(i32 %115, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.2, i64 0, i64 0), i8* %119, i32 %123, i32 %127)
br label %129
129: ; preds = %114, %108
br label %130
130: ; preds = %129
%131 = load i32, i32* %6
%132 = add nsw i32 %131, 1
store i32 %132, i32* %6
br label %104
133: ; preds = %104
br label %134
134: ; preds = %133
br i1 true, label %91, label %135
135: ; preds = %134, %102
%136 = load i32, i32* @stderr
%137 = call i32 (i32, i8*, ...) @fprintf(i32 %136, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
%struct.timeval = type { i32, i64 }
@stderr = global i32 0
@.str = [34 x i8] c"host and port must be specified.\0A\00"
@.str.1 = [28 x i8] c"Could not connect to host.\0A\00"
@.str.2 = [22 x i8] c"Server %s:%d Size:%d\0A\00"
@.str.3 = [20 x i8] c"Connection failed.\0A\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca [10 x i32]
%4 = alloca [10 x i32]
%5 = alloca [10 x i8*]
%6 = alloca [10 x i32]
%7 = bitcast [10 x i32]* %6 to i8*
%8 = alloca [10 x i32]
%9 = bitcast [10 x i32]* %8 to i8*
%10 = alloca [10 x i8*]
%11 = bitcast [10 x i8*]* %10 to i8*
%12 = alloca %struct.timeval
%13 = bitcast [10 x i32]* %3 to i8*
%14 = bitcast [10 x i32]* %4 to i8*
%15 = bitcast [10 x i8*]* %5 to i8*
%16 = bitcast %struct.timeval* %12 to i8*
%17 = icmp slt i32 %0, 3
br i1 %17, label %29, label %18
18: ; preds = %2
%19 = add nsw i32 %0, -2
%20 = lshr i32 %19, 1
%21 = zext i32 %20 to i64
%22 = shl nuw nsw i64 %21, 2
%23 = add nuw nsw i64 %22, 4
%24 = shl nuw nsw i64 %21, 3
%25 = add nuw nsw i64 %24, 8
%26 = lshr i32 %19, 1
%27 = add nuw nsw i32 %26, 1
%28 = zext i32 %27 to i64
br label %35
29: ; preds = %2
%30 = load i32, i32* @stderr
%31 = tail call i32 (i32, i8*, ...) @fprintf(i32 %30, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str, i64 0, i64 0))
%32 = tail call i32 @exit(i32 -1)
unreachable
33: ; preds = %35
%34 = zext i32 %27 to i64
br label %60
35: ; preds = %18, %35
%36 = phi i64 [ 0, %18 ], [ %46, %35 ]
%37 = phi i64 [ 1, %18 ], [ %47, %35 ]
%38 = getelementptr inbounds i8*, i8** %1, i64 %37
%39 = load i8*, i8** %38
%40 = getelementptr inbounds [10 x i8*], [10 x i8*]* %5, i64 0, i64 %36
store i8* %39, i8** %40
%41 = add nuw nsw i64 %37, 1
%42 = getelementptr inbounds i8*, i8** %1, i64 %41
%43 = load i8*, i8** %42
%44 = tail call i32 @atoi(i8* %43)
%45 = getelementptr inbounds [10 x i32], [10 x i32]* %4, i64 0, i64 %36
store i32 %44, i32* %45
%46 = add nuw nsw i64 %36, 1
%47 = add nuw nsw i64 %37, 2
%48 = icmp eq i64 %46, %28
br i1 %48, label %33, label %35
49: ; preds = %72
%50 = getelementptr inbounds %struct.timeval, %struct.timeval* %12, i64 0, i32 0
%51 = getelementptr inbounds %struct.timeval, %struct.timeval* %12, i64 0, i32 1
%52 = getelementptr inbounds [10 x i32], [10 x i32]* %3, i64 0, i64 0
%53 = getelementptr inbounds [10 x i8*], [10 x i8*]* %10, i64 0, i64 0
%54 = getelementptr inbounds [10 x i32], [10 x i32]* %8, i64 0, i64 0
%55 = getelementptr inbounds [10 x i32], [10 x i32]* %6, i64 0, i64 0
store i32 5, i32* %50
store i64 0, i64* %51
%56 = call i32 @ConnexRead(i32 %27, i32* %52, i8** %53, i32* %54, i32* %55, %struct.timeval* %12)
%57 = icmp eq i32 %56, -1
br i1 %57, label %97, label %58
58: ; preds = %49
%59 = zext i32 %27 to i64
br label %78
60: ; preds = %33, %72
%61 = phi i64 [ 0, %33 ], [ %73, %72 ]
%62 = getelementptr inbounds [10 x i8*], [10 x i8*]* %5, i64 0, i64 %61
%63 = load i8*, i8** %62
%64 = getelementptr inbounds [10 x i32], [10 x i32]* %4, i64 0, i64 %61
%65 = load i32, i32* %64
%66 = tail call i32 @ConnexOpen(i8* %63, i32 %65)
%67 = getelementptr inbounds [10 x i32], [10 x i32]* %3, i64 0, i64 %61
store i32 %66, i32* %67
%68 = icmp slt i32 %66, 0
br i1 %68, label %69, label %72
69: ; preds = %60
%70 = load i32, i32* @stderr
%71 = tail call i32 (i32, i8*, ...) @fprintf(i32 %70, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.1, i64 0, i64 0))
br label %72
72: ; preds = %60, %69
%73 = add nuw nsw i64 %61, 1
%74 = icmp eq i64 %73, %34
br i1 %74, label %49, label %60
75: ; preds = %92
store i32 5, i32* %50
store i64 0, i64* %51
%76 = call i32 @ConnexRead(i32 %27, i32* %52, i8** %53, i32* %54, i32* %55, %struct.timeval* %12)
%77 = icmp eq i32 %76, -1
br i1 %77, label %97, label %95
78: ; preds = %95, %58
%79 = phi i64 [ 0, %58 ], [ %96, %95 ]
%80 = getelementptr inbounds [10 x i32], [10 x i32]* %6, i64 0, i64 %79
%81 = load i32, i32* %80
%82 = icmp eq i32 %81, 1
br i1 %82, label %83, label %92
83: ; preds = %78
%84 = load i32, i32* @stderr
%85 = getelementptr inbounds [10 x i8*], [10 x i8*]* %5, i64 0, i64 %79
%86 = load i8*, i8** %85
%87 = getelementptr inbounds [10 x i32], [10 x i32]* %4, i64 0, i64 %79
%88 = load i32, i32* %87
%89 = getelementptr inbounds [10 x i32], [10 x i32]* %8, i64 0, i64 %79
%90 = load i32, i32* %89
%91 = call i32 (i32, i8*, ...) @fprintf(i32 %84, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.2, i64 0, i64 0), i8* %86, i32 %88, i32 %90)
br label %92
92: ; preds = %78, %83
%93 = add nuw nsw i64 %79, 1
%94 = icmp eq i64 %93, %59
br i1 %94, label %75, label %95
95: ; preds = %92, %75
%96 = phi i64 [ %93, %92 ], [ 0, %75 ]
br label %78
97: ; preds = %75, %49
%98 = load i32, i32* @stderr
%99 = call i32 (i32, i8*, ...) @fprintf(i32 %98, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0))
ret i32 0
}