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

/* Variables and functions */
int eslib_rtnetlink_linkaddr(char *, char *, int);
int eslib_rtnetlink_linkdel(char *);
int eslib_rtnetlink_linknew(char *, char *, int /*<<< orphan*/ *);
int eslib_rtnetlink_linksetup(char *);
int /*<<< orphan*/ printf(char *);
int /*<<< orphan*/ usleep(int);
int test_veth() {
  int r;
  printf("creating \"blarg\" veth device\n");
  r = eslib_rtnetlink_linknew("blarg", "veth", NULL);
  if (r == -1) {
    printf("netlink error\n");
    return -1;
  } else if (r == 1) {
    printf("netlink NACK\n");
    return -1;
  };
  printf("blarg1 set up\n");
  usleep(100000);
  r = eslib_rtnetlink_linksetup("blarg1");
  if (r == -1) {
    printf("netlink error\n");
    return -1;
  } else if (r == 1) {
    printf("netlink NACK\n");
    return -1;
  };
  printf("blarg2 set up\n");
  usleep(50000);
  r = eslib_rtnetlink_linksetup("blarg2");
  if (r == -1) {
    printf("netlink error\n");
    return -1;
  } else if (r == 1) {
    printf("netlink NACK\n");
    return -1;
  };
  printf("setting blarg1 ip addr 10.0.0.1/24\n");
  usleep(50000);
  r = eslib_rtnetlink_linkaddr("blarg1", "10.0.0.1", 24);
  if (r == -1) {
    printf("netlink error\n");
    return -1;
  } else if (r == 1) {
    printf("netlink NACK\n");
    return -1;
  };
  printf("setting blarg2 ip addr 10.0.0.2/24\n");
  usleep(50000);
  r = eslib_rtnetlink_linkaddr("blarg2", "10.0.0.2", 24);
  if (r == -1) {
    printf("netlink error\n");
    return -1;
  } else if (r == 1) {
    printf("netlink NACK\n");
    return -1;
  };
  printf("deleteing \"blarg1\" veth device\n");
  usleep(50000);
  r = eslib_rtnetlink_linkdel("blarg1");
  if (r == -1) {
    printf("netlink error\n");
    return -1;
  } else if (r == 1) {
    printf("netlink NACK\n");
    return -1;
  };
  printf("[pass] veth\n");
  return 0;
}


x86 assembly (clang, -O0):
<test_veth>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
lea    0xe91(%rip),%rdi
call   1030 <printf@plt>
lea    0xea3(%rip),%rdi
lea    0xea2(%rip),%rsi
xor    %eax,%eax
mov    %eax,%edx
call   1040 <eslib_rtnetlink_linknew@plt>
mov    %eax,-0x8(%rbp)
cmpl   $0xffffffff,-0x8(%rbp)
jne    11b0 <test_veth+0x50>
lea    0xe8a(%rip),%rdi
call   1030 <printf@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    1428 <test_veth+0x2c8>
cmpl   $0x1,-0x8(%rbp)
jne    11d2 <test_veth+0x72>
lea    0xe77(%rip),%rdi
call   1030 <printf@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    1428 <test_veth+0x2c8>
jmp    11d7 <test_veth+0x77>
lea    0xe68(%rip),%rdi
call   1030 <printf@plt>
mov    $0x186a0,%edi
call   1080 <usleep@plt>
lea    0xe61(%rip),%rdi
call   1070 <eslib_rtnetlink_linksetup@plt>
mov    %eax,-0x8(%rbp)
cmpl   $0xffffffff,-0x8(%rbp)
jne    121e <test_veth+0xbe>
lea    0xe1c(%rip),%rdi
call   1030 <printf@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    1428 <test_veth+0x2c8>
cmpl   $0x1,-0x8(%rbp)
jne    1240 <test_veth+0xe0>
lea    0xe09(%rip),%rdi
call   1030 <printf@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    1428 <test_veth+0x2c8>
jmp    1245 <test_veth+0xe5>
lea    0xe10(%rip),%rdi
call   1030 <printf@plt>
mov    $0xc350,%edi
call   1080 <usleep@plt>
lea    0xe09(%rip),%rdi
call   1070 <eslib_rtnetlink_linksetup@plt>
mov    %eax,-0x8(%rbp)
cmpl   $0xffffffff,-0x8(%rbp)
jne    128c <test_veth+0x12c>
lea    0xdae(%rip),%rdi
call   1030 <printf@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    1428 <test_veth+0x2c8>
cmpl   $0x1,-0x8(%rbp)
jne    12ae <test_veth+0x14e>
lea    0xd9b(%rip),%rdi
call   1030 <printf@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    1428 <test_veth+0x2c8>
jmp    12b3 <test_veth+0x153>
lea    0xdb8(%rip),%rdi
call   1030 <printf@plt>
mov    $0xc350,%edi
call   1080 <usleep@plt>
lea    0xd85(%rip),%rdi
lea    0xdbf(%rip),%rsi
mov    $0x18,%edx
call   1060 <eslib_rtnetlink_linkaddr@plt>
mov    %eax,-0x8(%rbp)
cmpl   $0xffffffff,-0x8(%rbp)
jne    1306 <test_veth+0x1a6>
lea    0xd34(%rip),%rdi
call   1030 <printf@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    1428 <test_veth+0x2c8>
cmpl   $0x1,-0x8(%rbp)
jne    1328 <test_veth+0x1c8>
lea    0xd21(%rip),%rdi
call   1030 <printf@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    1428 <test_veth+0x2c8>
jmp    132d <test_veth+0x1cd>
lea    0xd6b(%rip),%rdi
call   1030 <printf@plt>
mov    $0xc350,%edi
call   1080 <usleep@plt>
lea    0xd21(%rip),%rdi
lea    0xd72(%rip),%rsi
mov    $0x18,%edx
call   1060 <eslib_rtnetlink_linkaddr@plt>
mov    %eax,-0x8(%rbp)
cmpl   $0xffffffff,-0x8(%rbp)
jne    1380 <test_veth+0x220>
lea    0xcba(%rip),%rdi
call   1030 <printf@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    1428 <test_veth+0x2c8>
cmpl   $0x1,-0x8(%rbp)
jne    13a2 <test_veth+0x242>
lea    0xca7(%rip),%rdi
call   1030 <printf@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    1428 <test_veth+0x2c8>
jmp    13a7 <test_veth+0x247>
lea    0xd1e(%rip),%rdi
call   1030 <printf@plt>
mov    $0xc350,%edi
call   1080 <usleep@plt>
lea    0xc91(%rip),%rdi
call   1050 <eslib_rtnetlink_linkdel@plt>
mov    %eax,-0x8(%rbp)
cmpl   $0xffffffff,-0x8(%rbp)
jne    13ee <test_veth+0x28e>
lea    0xc4c(%rip),%rdi
call   1030 <printf@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    1428 <test_veth+0x2c8>
cmpl   $0x1,-0x8(%rbp)
jne    1410 <test_veth+0x2b0>
lea    0xc39(%rip),%rdi
call   1030 <printf@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    1428 <test_veth+0x2c8>
jmp    1415 <test_veth+0x2b5>
lea    0xcd0(%rip),%rdi
call   1030 <printf@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<test_veth>:
push   %rbp
push   %rbx
push   %rax
lea    0xebc(%rip),%rdi
call   1030 <puts@plt>
lea    0xe8a(%rip),%rdi
lea    0xf4e(%rip),%rsi
xor    %edx,%edx
call   1040 <eslib_rtnetlink_linknew@plt>
mov    %eax,%ebp
lea    0xf50(%rip),%rbx
cmp    $0xffffffff,%eax
je     12b9 <test_veth+0x159>
cmp    $0x1,%ebp
je     12ad <test_veth+0x14d>
lea    0xe9d(%rip),%rdi
call   1030 <puts@plt>
mov    $0x186a0,%edi
call   1080 <usleep@plt>
lea    0xe4a(%rip),%rdi
call   1070 <eslib_rtnetlink_linksetup@plt>
mov    %eax,%ebp
cmp    $0xffffffff,%eax
je     12b9 <test_veth+0x159>
cmp    $0x1,%ebp
je     12ad <test_veth+0x14d>
lea    0xe75(%rip),%rdi
call   1030 <puts@plt>
mov    $0xc350,%edi
call   1080 <usleep@plt>
lea    0xe1b(%rip),%rdi
call   1070 <eslib_rtnetlink_linksetup@plt>
mov    %eax,%ebp
cmp    $0xffffffff,%eax
je     12b9 <test_veth+0x159>
cmp    $0x1,%ebp
je     12ad <test_veth+0x14d>
lea    0xe4d(%rip),%rdi
call   1030 <puts@plt>
mov    $0xc350,%edi
call   1080 <usleep@plt>
lea    0xdde(%rip),%rdi
lea    0xde5(%rip),%rsi
mov    $0x18,%edx
call   1060 <eslib_rtnetlink_linkaddr@plt>
mov    %eax,%ebp
cmp    $0xffffffff,%eax
je     12b9 <test_veth+0x159>
cmp    $0x1,%ebp
je     12ad <test_veth+0x14d>
lea    0xe36(%rip),%rdi
call   1030 <puts@plt>
mov    $0xc350,%edi
call   1080 <usleep@plt>
lea    0xdab(%rip),%rdi
lea    0xdb4(%rip),%rsi
mov    $0x18,%edx
call   1060 <eslib_rtnetlink_linkaddr@plt>
mov    %eax,%ebp
cmp    $0xffffffff,%eax
je     12b9 <test_veth+0x159>
cmp    $0x1,%ebp
je     12ad <test_veth+0x14d>
lea    0xe1f(%rip),%rdi
call   1030 <puts@plt>
mov    $0xc350,%edi
call   1080 <usleep@plt>
lea    0xd6a(%rip),%rdi
call   1050 <eslib_rtnetlink_linkdel@plt>
mov    %eax,%ebp
cmp    $0xffffffff,%eax
je     12b9 <test_veth+0x159>
cmp    $0x1,%ebp
jne    12ca <test_veth+0x16a>
mov    $0xffffffff,%ebp
lea    0xe17(%rip),%rbx
mov    %rbx,%rdi
call   1030 <puts@plt>
mov    %ebp,%eax
add    $0x8,%rsp
pop    %rbx
pop    %rbp
ret
xor    %ebp,%ebp
lea    0xdf1(%rip),%rbx
jmp    12b9 <test_veth+0x159>

LLVM IR (-O0):
@.str = [30 x i8] c"creating \22blarg\22 veth device\0A\00"
@.str.1 = [6 x i8] c"blarg\00"
@.str.2 = [5 x i8] c"veth\00"
@.str.3 = [15 x i8] c"netlink error\0A\00"
@.str.4 = [14 x i8] c"netlink NACK\0A\00"
@.str.5 = [15 x i8] c"blarg1 set up\0A\00"
@.str.6 = [7 x i8] c"blarg1\00"
@.str.7 = [15 x i8] c"blarg2 set up\0A\00"
@.str.8 = [7 x i8] c"blarg2\00"
@.str.9 = [36 x i8] c"setting blarg1 ip addr 10.0.0.1/24\0A\00"
@.str.10 = [9 x i8] c"10.0.0.1\00"
@.str.11 = [36 x i8] c"setting blarg2 ip addr 10.0.0.2/24\0A\00"
@.str.12 = [9 x i8] c"10.0.0.2\00"
@.str.13 = [32 x i8] c"deleteing \22blarg1\22 veth device\0A\00"
@.str.14 = [13 x i8] c"[pass] veth\0A\00"
define i32 @test_veth() {
%1 = alloca i32
%2 = alloca i32
%3 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0))
%4 = call i32 @eslib_rtnetlink_linknew(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i32* null)
store i32 %4, i32* %2
%5 = load i32, i32* %2
%6 = icmp eq i32 %5, -1
br i1 %6, label %7, label %9
7: ; preds = %0
%8 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0))
store i32 -1, i32* %1
br label %87
9: ; preds = %0
%10 = load i32, i32* %2
%11 = icmp eq i32 %10, 1
br i1 %11, label %12, label %14
12: ; preds = %9
%13 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.4, i64 0, i64 0))
store i32 -1, i32* %1
br label %87
14: ; preds = %9
br label %15
15: ; preds = %14
%16 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0))
%17 = call i32 @usleep(i32 100000)
%18 = call i32 @eslib_rtnetlink_linksetup(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0))
store i32 %18, i32* %2
%19 = load i32, i32* %2
%20 = icmp eq i32 %19, -1
br i1 %20, label %21, label %23
21: ; preds = %15
%22 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0))
store i32 -1, i32* %1
br label %87
23: ; preds = %15
%24 = load i32, i32* %2
%25 = icmp eq i32 %24, 1
br i1 %25, label %26, label %28
26: ; preds = %23
%27 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.4, i64 0, i64 0))
store i32 -1, i32* %1
br label %87
28: ; preds = %23
br label %29
29: ; preds = %28
%30 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.7, i64 0, i64 0))
%31 = call i32 @usleep(i32 50000)
%32 = call i32 @eslib_rtnetlink_linksetup(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.8, i64 0, i64 0))
store i32 %32, i32* %2
%33 = load i32, i32* %2
%34 = icmp eq i32 %33, -1
br i1 %34, label %35, label %37
35: ; preds = %29
%36 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0))
store i32 -1, i32* %1
br label %87
37: ; preds = %29
%38 = load i32, i32* %2
%39 = icmp eq i32 %38, 1
br i1 %39, label %40, label %42
40: ; preds = %37
%41 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.4, i64 0, i64 0))
store i32 -1, i32* %1
br label %87
42: ; preds = %37
br label %43
43: ; preds = %42
%44 = call i32 @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.9, i64 0, i64 0))
%45 = call i32 @usleep(i32 50000)
%46 = call i32 @eslib_rtnetlink_linkaddr(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.10, i64 0, i64 0), i32 24)
store i32 %46, i32* %2
%47 = load i32, i32* %2
%48 = icmp eq i32 %47, -1
br i1 %48, label %49, label %51
49: ; preds = %43
%50 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0))
store i32 -1, i32* %1
br label %87
51: ; preds = %43
%52 = load i32, i32* %2
%53 = icmp eq i32 %52, 1
br i1 %53, label %54, label %56
54: ; preds = %51
%55 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.4, i64 0, i64 0))
store i32 -1, i32* %1
br label %87
56: ; preds = %51
br label %57
57: ; preds = %56
%58 = call i32 @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.11, i64 0, i64 0))
%59 = call i32 @usleep(i32 50000)
%60 = call i32 @eslib_rtnetlink_linkaddr(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.12, i64 0, i64 0), i32 24)
store i32 %60, i32* %2
%61 = load i32, i32* %2
%62 = icmp eq i32 %61, -1
br i1 %62, label %63, label %65
63: ; preds = %57
%64 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0))
store i32 -1, i32* %1
br label %87
65: ; preds = %57
%66 = load i32, i32* %2
%67 = icmp eq i32 %66, 1
br i1 %67, label %68, label %70
68: ; preds = %65
%69 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.4, i64 0, i64 0))
store i32 -1, i32* %1
br label %87
70: ; preds = %65
br label %71
71: ; preds = %70
%72 = call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.13, i64 0, i64 0))
%73 = call i32 @usleep(i32 50000)
%74 = call i32 @eslib_rtnetlink_linkdel(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0))
store i32 %74, i32* %2
%75 = load i32, i32* %2
%76 = icmp eq i32 %75, -1
br i1 %76, label %77, label %79
77: ; preds = %71
%78 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0))
store i32 -1, i32* %1
br label %87
79: ; preds = %71
%80 = load i32, i32* %2
%81 = icmp eq i32 %80, 1
br i1 %81, label %82, label %84
82: ; preds = %79
%83 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.4, i64 0, i64 0))
store i32 -1, i32* %1
br label %87
84: ; preds = %79
br label %85
85: ; preds = %84
%86 = call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.14, i64 0, i64 0))
store i32 0, i32* %1
br label %87
87: ; preds = %85, %82, %77, %68, %63, %54, %49, %40, %35, %26, %21, %12, %7
%88 = load i32, i32* %1
ret i32 %88
}

LLVM IR (-O2):
@.str.1 = [6 x i8] c"blarg\00"
@.str.2 = [5 x i8] c"veth\00"
@.str.6 = [7 x i8] c"blarg1\00"
@.str.8 = [7 x i8] c"blarg2\00"
@.str.10 = [9 x i8] c"10.0.0.1\00"
@.str.12 = [9 x i8] c"10.0.0.2\00"
@str = [29 x i8] c"creating \22blarg\22 veth device\00"
@str.15 = [14 x i8] c"blarg1 set up\00"
@str.16 = [14 x i8] c"blarg2 set up\00"
@str.17 = [35 x i8] c"setting blarg1 ip addr 10.0.0.1/24\00"
@str.18 = [35 x i8] c"setting blarg2 ip addr 10.0.0.2/24\00"
@str.19 = [31 x i8] c"deleteing \22blarg1\22 veth device\00"
@str.20 = [12 x i8] c"[pass] veth\00"
@str.31 = [13 x i8] c"netlink NACK\00"
@str.32 = [14 x i8] c"netlink error\00"
define i32 @test_veth() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @eslib_rtnetlink_linknew(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i32* null)
switch i32 %2, label %4 [
i32 -1, label %30
i32 1, label %3
]
3: ; preds = %0
br label %30
4: ; preds = %0
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @str.15, i64 0, i64 0))
%6 = tail call i32 @usleep(i32 100000)
%7 = tail call i32 @eslib_rtnetlink_linksetup(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0))
switch i32 %7, label %9 [
i32 -1, label %30
i32 1, label %8
]
8: ; preds = %4
br label %30
9: ; preds = %4
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @str.16, i64 0, i64 0))
%11 = tail call i32 @usleep(i32 50000)
%12 = tail call i32 @eslib_rtnetlink_linksetup(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.8, i64 0, i64 0))
switch i32 %12, label %14 [
i32 -1, label %30
i32 1, label %13
]
13: ; preds = %9
br label %30
14: ; preds = %9
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @str.17, i64 0, i64 0))
%16 = tail call i32 @usleep(i32 50000)
%17 = tail call i32 @eslib_rtnetlink_linkaddr(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.10, i64 0, i64 0), i32 24)
switch i32 %17, label %19 [
i32 -1, label %30
i32 1, label %18
]
18: ; preds = %14
br label %30
19: ; preds = %14
%20 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @str.18, i64 0, i64 0))
%21 = tail call i32 @usleep(i32 50000)
%22 = tail call i32 @eslib_rtnetlink_linkaddr(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.12, i64 0, i64 0), i32 24)
switch i32 %22, label %24 [
i32 -1, label %30
i32 1, label %23
]
23: ; preds = %19
br label %30
24: ; preds = %19
%25 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str.19, i64 0, i64 0))
%26 = tail call i32 @usleep(i32 50000)
%27 = tail call i32 @eslib_rtnetlink_linkdel(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0))
switch i32 %27, label %29 [
i32 -1, label %30
i32 1, label %28
]
28: ; preds = %24
br label %30
29: ; preds = %24
br label %30
30: ; preds = %24, %19, %14, %9, %4, %0, %29, %28, %23, %18, %13, %8, %3
%31 = phi i8* [ getelementptr inbounds ([12 x i8], [12 x i8]* @str.20, i64 0, i64 0), %29 ], [ getelementptr inbounds ([13 x i8], [13 x i8]* @str.31, i64 0, i64 0), %28 ], [ getelementptr inbounds ([13 x i8], [13 x i8]* @str.31, i64 0, i64 0), %23 ], [ getelementptr inbounds ([13 x i8], [13 x i8]* @str.31, i64 0, i64 0), %18 ], [ getelementptr inbounds ([13 x i8], [13 x i8]* @str.31, i64 0, i64 0), %13 ], [ getelementptr inbounds ([13 x i8], [13 x i8]* @str.31, i64 0, i64 0), %8 ], [ getelementptr inbounds ([13 x i8], [13 x i8]* @str.31, i64 0, i64 0), %3 ], [ getelementptr inbounds ([14 x i8], [14 x i8]* @str.32, i64 0, i64 0), %0 ], [ getelementptr inbounds ([14 x i8], [14 x i8]* @str.32, i64 0, i64 0), %4 ], [ getelementptr inbounds ([14 x i8], [14 x i8]* @str.32, i64 0, i64 0), %9 ], [ getelementptr inbounds ([14 x i8], [14 x i8]* @str.32, i64 0, i64 0), %14 ], [ getelementptr inbounds ([14 x i8], [14 x i8]* @str.32, i64 0, i64 0), %19 ], [ getelementptr inbounds ([14 x i8], [14 x i8]* @str.32, i64 0, i64 0), %24 ]
%32 = phi i32 [ 0, %29 ], [ -1, %28 ], [ -1, %23 ], [ -1, %18 ], [ -1, %13 ], [ -1, %8 ], [ -1, %3 ], [ %2, %0 ], [ %7, %4 ], [ %12, %9 ], [ %17, %14 ], [ %22, %19 ], [ %27, %24 ]
%33 = tail call i32 @puts(i8* dereferenceable(1) %31)
ret i32 %32
}