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

/* Variables and functions */
int /*<<< orphan*/ printf(char *, char *, ...);
int /*<<< orphan*/ sleep(int);
int /*<<< orphan*/ snprintf(char *, int, char *, ...);
int system(char *);
int connect_wireless(char *essid, char *this_ip, char *ping_ip) {
  char cmd[100];
  int retval;
  int n = 0;
  snprintf(cmd, sizeof(cmd), "ifconfig wlan0 up");
  printf("%s\n", cmd);
  while (1) {
    retval = system(cmd);
    if (retval == 0) {
      break;
    }
    printf("Can't bring wlan0 up, will try again (%d)\n", n++);
    sleep(2);
  }
  snprintf(cmd, sizeof(cmd), "iwconfig wlan0 essid %s", essid);
  printf("%s\n", cmd);
  n = 0;
  while (1) {
    retval = system(cmd);
    if (retval == 0) {
      break;
    }
    printf("Can't set essid \"%s\", will try again (%d)\n", essid, n++);
    sleep(2);
  }
  snprintf(cmd, sizeof(cmd), "ifconfig wlan0 %s", this_ip);
  printf("%s\n", cmd);
  n = 0;
  while (1) {
    retval = system(cmd);
    if (retval == 0) {
      break;
    }
    printf("Can't configure wlan0 for %s (%d)\n", this_ip, n++);
    sleep(2);
  }
  snprintf(cmd, sizeof(cmd), "ping -c 1 %s", ping_ip, n++);
  printf("%s\n", cmd);
  n = 0;
  while (1) {
    retval = system(cmd);
    if (retval == 0) {
      break;
    }
    printf("Can't can' ping %s (%d)\n", ping_ip, n++);
    sleep(2);
  }
  printf("Connected!!!!!!!!!\n", ping_ip, n++);
  return 0;
}


x86 assembly (clang, -O0):
<connect_wireless>:
push   %rbp
mov    %rsp,%rbp
sub    $0x90,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
movl   $0x0,-0x88(%rbp)
lea    -0x80(%rbp),%rdi
mov    $0x64,%esi
lea    0xe8f(%rip),%rdx
mov    $0x0,%al
call   1050 <snprintf@plt>
lea    -0x80(%rbp),%rsi
lea    0xe8f(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    -0x80(%rbp),%rdi
call   1030 <system@plt>
mov    %eax,-0x84(%rbp)
cmpl   $0x0,-0x84(%rbp)
jne    11ab <connect_wireless+0x6b>
jmp    11dc <connect_wireless+0x9c>
mov    -0x88(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0x88(%rbp)
movslq %eax,%rsi
lea    0xe50(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0x2,%edi
call   1060 <sleep@plt>
jmp    118a <connect_wireless+0x4a>
lea    -0x80(%rbp),%rdi
mov    -0x8(%rbp),%rcx
mov    $0x64,%esi
lea    0xe51(%rip),%rdx
mov    $0x0,%al
call   1050 <snprintf@plt>
lea    -0x80(%rbp),%rsi
lea    0xe10(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x88(%rbp)
lea    -0x80(%rbp),%rdi
call   1030 <system@plt>
mov    %eax,-0x84(%rbp)
cmpl   $0x0,-0x84(%rbp)
jne    1234 <connect_wireless+0xf4>
jmp    1266 <connect_wireless+0x126>
mov    -0x8(%rbp),%rsi
mov    -0x88(%rbp),%edx
mov    %edx,%eax
add    $0x1,%eax
mov    %eax,-0x88(%rbp)
lea    0xe09(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0x2,%edi
call   1060 <sleep@plt>
jmp    1213 <connect_wireless+0xd3>
lea    -0x80(%rbp),%rdi
mov    -0x10(%rbp),%rcx
mov    $0x64,%esi
lea    0xe0a(%rip),%rdx
mov    $0x0,%al
call   1050 <snprintf@plt>
lea    -0x80(%rbp),%rsi
lea    0xd86(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x88(%rbp)
lea    -0x80(%rbp),%rdi
call   1030 <system@plt>
mov    %eax,-0x84(%rbp)
cmpl   $0x0,-0x84(%rbp)
jne    12be <connect_wireless+0x17e>
jmp    12f0 <connect_wireless+0x1b0>
mov    -0x10(%rbp),%rsi
mov    -0x88(%rbp),%edx
mov    %edx,%eax
add    $0x1,%eax
mov    %eax,-0x88(%rbp)
lea    0xdbc(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0x2,%edi
call   1060 <sleep@plt>
jmp    129d <connect_wireless+0x15d>
lea    -0x80(%rbp),%rdi
mov    -0x18(%rbp),%rcx
mov    -0x88(%rbp),%r8d
mov    %r8d,%eax
add    $0x1,%eax
mov    %eax,-0x88(%rbp)
mov    $0x64,%esi
lea    0xda2(%rip),%rdx
mov    $0x0,%al
call   1050 <snprintf@plt>
lea    -0x80(%rbp),%rsi
lea    0xce9(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x88(%rbp)
lea    -0x80(%rbp),%rdi
call   1030 <system@plt>
mov    %eax,-0x84(%rbp)
cmpl   $0x0,-0x84(%rbp)
jne    135b <connect_wireless+0x21b>
jmp    138d <connect_wireless+0x24d>
mov    -0x18(%rbp),%rsi
mov    -0x88(%rbp),%edx
mov    %edx,%eax
add    $0x1,%eax
mov    %eax,-0x88(%rbp)
lea    0xd4f(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0x2,%edi
call   1060 <sleep@plt>
jmp    133a <connect_wireless+0x1fa>
mov    -0x18(%rbp),%rsi
mov    -0x88(%rbp),%edx
mov    %edx,%eax
add    $0x1,%eax
mov    %eax,-0x88(%rbp)
lea    0xd36(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x90,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<connect_wireless>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x68,%rsp
mov    %rdx,%r14
mov    %rsi,%r15
mov    %rdi,%r12
lea    0xea2(%rip),%rdx
mov    %rsp,%rbx
mov    %rbx,%rdi
mov    $0x64,%esi
xor    %eax,%eax
call   1050 <snprintf@plt>
lea    0xe9b(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
call   1030 <system@plt>
test   %eax,%eax
je     11c7 <connect_wireless+0x87>
lea    0xe82(%rip),%r13
mov    %rsp,%rbp
xor    %esi,%esi
nopl   0x0(%rax)
lea    0x1(%rsi),%rbx
mov    %r13,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x2,%edi
call   1060 <sleep@plt>
mov    %rbp,%rdi
call   1030 <system@plt>
mov    %rbx,%rsi
test   %eax,%eax
jne    11a0 <connect_wireless+0x60>
lea    0xe73(%rip),%rdx
mov    %rsp,%rbx
mov    %rbx,%rdi
mov    $0x64,%esi
mov    %r12,%rcx
xor    %eax,%eax
call   1050 <snprintf@plt>
lea    0xe28(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
call   1030 <system@plt>
test   %eax,%eax
je     1238 <connect_wireless+0xf8>
lea    0xe52(%rip),%r13
mov    %rsp,%rbp
xor    %edx,%edx
nopl   0x0(%rax)
lea    0x1(%rdx),%ebx
mov    %r13,%rdi
mov    %r12,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x2,%edi
call   1060 <sleep@plt>
mov    %rbp,%rdi
call   1030 <system@plt>
mov    %ebx,%edx
test   %eax,%eax
jne    1210 <connect_wireless+0xd0>
lea    0xe45(%rip),%rdx
xor    %ebp,%ebp
mov    %rsp,%rbx
mov    %rbx,%rdi
mov    $0x64,%esi
mov    %r15,%rcx
xor    %eax,%eax
call   1050 <snprintf@plt>
lea    0xdb5(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
call   1030 <system@plt>
mov    $0x0,%ebx
test   %eax,%eax
je     12b8 <connect_wireless+0x178>
lea    0xe17(%rip),%r12
mov    %rsp,%r13
xor    %edx,%edx
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
lea    0x1(%rdx),%ebx
mov    %r12,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x2,%edi
call   1060 <sleep@plt>
mov    %r13,%rdi
call   1030 <system@plt>
mov    %ebx,%edx
test   %eax,%eax
jne    1290 <connect_wireless+0x150>
lea    0xdfa(%rip),%rdx
mov    %rsp,%r15
mov    %r15,%rdi
mov    $0x64,%esi
mov    %r14,%rcx
mov    %ebx,%r8d
xor    %eax,%eax
call   1050 <snprintf@plt>
lea    0xd34(%rip),%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
call   1030 <system@plt>
test   %eax,%eax
je     1328 <connect_wireless+0x1e8>
lea    0xdcb(%rip),%r15
mov    %rsp,%rbx
xor    %edx,%edx
lea    0x1(%rdx),%ebp
mov    %r15,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x2,%edi
call   1060 <sleep@plt>
mov    %rbx,%rdi
call   1030 <system@plt>
mov    %ebp,%edx
test   %eax,%eax
jne    1300 <connect_wireless+0x1c0>
lea    0xdb0(%rip),%rdi
mov    %r14,%rsi
mov    %ebp,%edx
xor    %eax,%eax
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x68,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [18 x i8] c"ifconfig wlan0 up\00"
@.str.1 = [4 x i8] c"%s\0A\00"
@.str.2 = [43 x i8] c"Can't bring wlan0 up, will try again (%d)\0A\00"
@.str.3 = [24 x i8] c"iwconfig wlan0 essid %s\00"
@.str.4 = [43 x i8] c"Can't set essid \22%s\22, will try again (%d)\0A\00"
@.str.5 = [18 x i8] c"ifconfig wlan0 %s\00"
@.str.6 = [35 x i8] c"Can't configure wlan0 for %s (%d)\0A\00"
@.str.7 = [13 x i8] c"ping -c 1 %s\00"
@.str.8 = [25 x i8] c"Can't can' ping %s (%d)\0A\00"
@.str.9 = [20 x i8] c"Connected!!!!!!!!!\0A\00"
define i32 @connect_wireless(i8* %0, i8* %1, i8* %2) {
%4 = alloca i8*
%5 = alloca i8*
%6 = alloca i8*
%7 = alloca [100 x i8]
%8 = alloca i32
%9 = alloca i32
store i8* %0, i8** %4
store i8* %1, i8** %5
store i8* %2, i8** %6
store i32 0, i32* %9
%10 = getelementptr inbounds [100 x i8], [100 x i8]* %7, i64 0, i64 0
%11 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %10, i32 100, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str, i64 0, i64 0))
%12 = getelementptr inbounds [100 x i8], [100 x i8]* %7, i64 0, i64 0
%13 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* %12)
br label %14
14: ; preds = %3, %20
%15 = getelementptr inbounds [100 x i8], [100 x i8]* %7, i64 0, i64 0
%16 = call i32 @system(i8* %15)
store i32 %16, i32* %8
%17 = load i32, i32* %8
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %20
19: ; preds = %14
br label %27
20: ; preds = %14
%21 = load i32, i32* %9
%22 = add nsw i32 %21, 1
store i32 %22, i32* %9
%23 = sext i32 %21 to i64
%24 = inttoptr i64 %23 to i8*
%25 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.2, i64 0, i64 0), i8* %24)
%26 = call i32 @sleep(i32 2)
br label %14
27: ; preds = %19
%28 = getelementptr inbounds [100 x i8], [100 x i8]* %7, i64 0, i64 0
%29 = load i8*, i8** %4
%30 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %28, i32 100, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.3, i64 0, i64 0), i8* %29)
%31 = getelementptr inbounds [100 x i8], [100 x i8]* %7, i64 0, i64 0
%32 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* %31)
store i32 0, i32* %9
br label %33
33: ; preds = %27, %39
%34 = getelementptr inbounds [100 x i8], [100 x i8]* %7, i64 0, i64 0
%35 = call i32 @system(i8* %34)
store i32 %35, i32* %8
%36 = load i32, i32* %8
%37 = icmp eq i32 %36, 0
br i1 %37, label %38, label %39
38: ; preds = %33
br label %45
39: ; preds = %33
%40 = load i8*, i8** %4
%41 = load i32, i32* %9
%42 = add nsw i32 %41, 1
store i32 %42, i32* %9
%43 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.4, i64 0, i64 0), i8* %40, i32 %41)
%44 = call i32 @sleep(i32 2)
br label %33
45: ; preds = %38
%46 = getelementptr inbounds [100 x i8], [100 x i8]* %7, i64 0, i64 0
%47 = load i8*, i8** %5
%48 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %46, i32 100, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.5, i64 0, i64 0), i8* %47)
%49 = getelementptr inbounds [100 x i8], [100 x i8]* %7, i64 0, i64 0
%50 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* %49)
store i32 0, i32* %9
br label %51
51: ; preds = %45, %57
%52 = getelementptr inbounds [100 x i8], [100 x i8]* %7, i64 0, i64 0
%53 = call i32 @system(i8* %52)
store i32 %53, i32* %8
%54 = load i32, i32* %8
%55 = icmp eq i32 %54, 0
br i1 %55, label %56, label %57
56: ; preds = %51
br label %63
57: ; preds = %51
%58 = load i8*, i8** %5
%59 = load i32, i32* %9
%60 = add nsw i32 %59, 1
store i32 %60, i32* %9
%61 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.6, i64 0, i64 0), i8* %58, i32 %59)
%62 = call i32 @sleep(i32 2)
br label %51
63: ; preds = %56
%64 = getelementptr inbounds [100 x i8], [100 x i8]* %7, i64 0, i64 0
%65 = load i8*, i8** %6
%66 = load i32, i32* %9
%67 = add nsw i32 %66, 1
store i32 %67, i32* %9
%68 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %64, i32 100, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.7, i64 0, i64 0), i8* %65, i32 %66)
%69 = getelementptr inbounds [100 x i8], [100 x i8]* %7, i64 0, i64 0
%70 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* %69)
store i32 0, i32* %9
br label %71
71: ; preds = %63, %77
%72 = getelementptr inbounds [100 x i8], [100 x i8]* %7, i64 0, i64 0
%73 = call i32 @system(i8* %72)
store i32 %73, i32* %8
%74 = load i32, i32* %8
%75 = icmp eq i32 %74, 0
br i1 %75, label %76, label %77
76: ; preds = %71
br label %83
77: ; preds = %71
%78 = load i8*, i8** %6
%79 = load i32, i32* %9
%80 = add nsw i32 %79, 1
store i32 %80, i32* %9
%81 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.8, i64 0, i64 0), i8* %78, i32 %79)
%82 = call i32 @sleep(i32 2)
br label %71
83: ; preds = %76
%84 = load i8*, i8** %6
%85 = load i32, i32* %9
%86 = add nsw i32 %85, 1
store i32 %86, i32* %9
%87 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.9, i64 0, i64 0), i8* %84, i32 %85)
ret i32 0
}

LLVM IR (-O2):
@.str = [18 x i8] c"ifconfig wlan0 up\00"
@.str.1 = [4 x i8] c"%s\0A\00"
@.str.2 = [43 x i8] c"Can't bring wlan0 up, will try again (%d)\0A\00"
@.str.3 = [24 x i8] c"iwconfig wlan0 essid %s\00"
@.str.4 = [43 x i8] c"Can't set essid \22%s\22, will try again (%d)\0A\00"
@.str.5 = [18 x i8] c"ifconfig wlan0 %s\00"
@.str.6 = [35 x i8] c"Can't configure wlan0 for %s (%d)\0A\00"
@.str.7 = [13 x i8] c"ping -c 1 %s\00"
@.str.8 = [25 x i8] c"Can't can' ping %s (%d)\0A\00"
@.str.9 = [20 x i8] c"Connected!!!!!!!!!\0A\00"
define i32 @connect_wireless(i8* %0, i8* %1, i8* %2) {
%4 = alloca [100 x i8]
%5 = getelementptr inbounds [100 x i8], [100 x i8]* %4, i64 0, i64 0
%6 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %5, i32 100, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str, i64 0, i64 0))
%7 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* %5)
%8 = call i32 @system(i8* %5)
%9 = icmp eq i32 %8, 0
br i1 %9, label %18, label %10
10: ; preds = %3, %10
%11 = phi i64 [ %12, %10 ], [ 0, %3 ]
%12 = add nuw i64 %11, 1
%13 = inttoptr i64 %11 to i8*
%14 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.2, i64 0, i64 0), i8* %13)
%15 = call i32 @sleep(i32 2)
%16 = call i32 @system(i8* %5)
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %10
18: ; preds = %10, %3
%19 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %5, i32 100, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.3, i64 0, i64 0), i8* %0)
%20 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* %5)
%21 = call i32 @system(i8* %5)
%22 = icmp eq i32 %21, 0
br i1 %22, label %30, label %23
23: ; preds = %18, %23
%24 = phi i32 [ %25, %23 ], [ 0, %18 ]
%25 = add nuw nsw i32 %24, 1
%26 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.4, i64 0, i64 0), i8* %0, i32 %24)
%27 = call i32 @sleep(i32 2)
%28 = call i32 @system(i8* %5)
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %23
30: ; preds = %23, %18
%31 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %5, i32 100, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.5, i64 0, i64 0), i8* %1)
%32 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* %5)
%33 = call i32 @system(i8* %5)
%34 = icmp eq i32 %33, 0
br i1 %34, label %42, label %35
35: ; preds = %30, %35
%36 = phi i32 [ %37, %35 ], [ 0, %30 ]
%37 = add nuw nsw i32 %36, 1
%38 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.6, i64 0, i64 0), i8* %1, i32 %36)
%39 = call i32 @sleep(i32 2)
%40 = call i32 @system(i8* %5)
%41 = icmp eq i32 %40, 0
br i1 %41, label %42, label %35
42: ; preds = %35, %30
%43 = phi i32 [ 0, %30 ], [ %37, %35 ]
%44 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %5, i32 100, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.7, i64 0, i64 0), i8* %2, i32 %43)
%45 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* %5)
%46 = call i32 @system(i8* %5)
%47 = icmp eq i32 %46, 0
br i1 %47, label %55, label %48
48: ; preds = %42, %48
%49 = phi i32 [ %50, %48 ], [ 0, %42 ]
%50 = add nuw nsw i32 %49, 1
%51 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.8, i64 0, i64 0), i8* %2, i32 %49)
%52 = call i32 @sleep(i32 2)
%53 = call i32 @system(i8* %5)
%54 = icmp eq i32 %53, 0
br i1 %54, label %55, label %48
55: ; preds = %48, %42
%56 = phi i32 [ 0, %42 ], [ %50, %48 ]
%57 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.9, i64 0, i64 0), i8* %2, i32 %56)
ret i32 0
}