#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*/ buf;
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
int check_udpget_memory();
int /*<<< orphan*/ fread(char *, int, int, int /*<<< orphan*/ *);
int /*<<< orphan*/ memset(char *, int /*<<< orphan*/, int);
int /*<<< orphan*/ pclose(int /*<<< orphan*/ *);
int /*<<< orphan*/ *popen(char *, char *);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ sleep(int);
int /*<<< orphan*/ sscanf(char *, char *, int *);
int /*<<< orphan*/ sys_log(char *);
int /*<<< orphan*/ system(char *);
main() {
  FILE *stream = NULL;
  char buf[1024] = {0};
  int cnt_udp_get;
  int loop = 0;
  printf("**********************************\n");
  printf("udp_daemon : start\n");
  printf("**********************************\n");
  while (1) {
    sleep(180);
    loop++;
    printf("**********loop : %d**************\n", loop);
    printf("---------check udp_get-----------\n");
    stream = NULL;
    if ((stream = popen("ps -ef | grep 'udp_get' | grep -v 'grep' | grep -v "
                        "'sh -c' | awk '{print $2}' | wc -l",
                        "r")) == NULL)
      printf("popen failed\n");
    memset(buf, 0, sizeof(buf));
    fread(buf, sizeof(char), sizeof(buf), stream);
    buf[1023] = '\0';
    sscanf(buf, "%d", &cnt_udp_get);
    pclose(stream);
    printf("udp_get process : %d\n", cnt_udp_get);
    if (cnt_udp_get == 0) {
      printf("udp_get : down, restart again...\n");
      sys_log("udp_get : down!");
    }
    if (cnt_udp_get >= 1) {
      printf("loop : %d\n", loop % 60);
      printf("udp_get : ok!\n");
      printf("udp_get : check memory usage...\n");
      if (check_udpget_memory() == 1) {
        printf("udp_get : memory alert!!!!!!\n");
        sys_log("udp_get memory alert! restart immediately!");
        system("killall udp_get");
        cnt_udp_get = 0;
      } else
        printf("udp_get memory : ok!\n");
    }
    if (cnt_udp_get == 0) {
      sleep(2);
      printf("udp_get start...\n");
      system("/ailvgo/system/traffic/udp_get &");
      loop = 0;
    }
  }
  printf("------------udp_daemon : over------------\n");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x420,%rsp
movl   $0x0,-0x4(%rbp)
movq   $0x0,-0x10(%rbp)
lea    -0x410(%rbp),%rdi
xor    %esi,%esi
mov    $0x400,%edx
call   1070 <memset@plt>
movl   $0x0,-0x418(%rbp)
lea    0xe22(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xe38(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xe06(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0xb4,%edi
call   10c0 <sleep@plt>
mov    -0x418(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x418(%rbp)
mov    -0x418(%rbp),%esi
lea    0xe11(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xe26(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movq   $0x0,-0x10(%rbp)
lea    0xe33(%rip),%rdi
lea    0xe82(%rip),%rsi
call   1090 <popen@plt>
mov    %rax,-0x10(%rbp)
cmp    $0x0,%rax
jne    1273 <main+0xd3>
lea    0xe6a(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x410(%rbp),%rdi
xor    %esi,%esi
mov    $0x400,%edx
call   1070 <memset@plt>
lea    -0x410(%rbp),%rdi
mov    -0x10(%rbp),%rcx
mov    $0x1,%esi
mov    $0x400,%edx
call   1030 <fread@plt>
movb   $0x0,-0x11(%rbp)
lea    -0x410(%rbp),%rdi
lea    0xe32(%rip),%rsi
lea    -0x414(%rbp),%rdx
call   1080 <sscanf@plt>
mov    -0x10(%rbp),%rdi
call   1060 <pclose@plt>
mov    -0x414(%rbp),%esi
lea    0xe13(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
cmpl   $0x0,-0x414(%rbp)
jne    1302 <main+0x162>
lea    0xe0e(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xe22(%rip),%rdi
call   10a0 <sys_log@plt>
cmpl   $0x1,-0x414(%rbp)
jl     13a1 <main+0x201>
mov    -0x418(%rbp),%eax
mov    $0x3c,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
lea    0xe09(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xe06(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xe07(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0x0,%al
call   10b0 <check_udpget_memory@plt>
cmp    $0x1,%eax
jne    138e <main+0x1ee>
lea    0xe0a(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xe1a(%rip),%rdi
call   10a0 <sys_log@plt>
lea    0xe39(%rip),%rdi
call   1040 <system@plt>
movl   $0x0,-0x414(%rbp)
jmp    139c <main+0x1fc>
lea    0xe2e(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    13a1 <main+0x201>
cmpl   $0x0,-0x414(%rbp)
jne    13dc <main+0x23c>
mov    $0x2,%edi
call   10c0 <sleep@plt>
lea    0xe1a(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xe1e(%rip),%rdi
call   1040 <system@plt>
movl   $0x0,-0x418(%rbp)
jmp    1201 <main+0x61>

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x418,%rsp
lea    0x10(%rsp),%rbx
mov    $0x400,%edx
mov    %rbx,%rdi
xor    %esi,%esi
call   1080 <memset@plt>
lea    0xf42(%rip),%rbp
mov    %rbp,%rdi
call   1030 <puts@plt>
lea    0xf20(%rip),%rdi
call   1030 <puts@plt>
mov    %rbp,%rdi
call   1030 <puts@plt>
lea    0xe7c(%rip),%rbp
lea    0xc(%rsp),%r14
lea    0xe73(%rip),%r15
jmp    125e <main+0xae>
nopl   (%rax)
lea    0xfa0(%rip),%rdi
call   1030 <puts@plt>
lea    0xe8c(%rip),%rdi
call   10b0 <sys_log@plt>
lea    0xeab(%rip),%rdi
call   1050 <system@plt>
movl   $0x0,0xc(%rsp)
mov    $0x2,%edi
call   10d0 <sleep@plt>
lea    0xf16(%rip),%rdi
call   1030 <puts@plt>
lea    0xe91(%rip),%rdi
call   1050 <system@plt>
xor    %r12d,%r12d
mov    $0xb4,%edi
call   10d0 <sleep@plt>
add    $0x1,%r12d
lea    0xd8a(%rip),%rdi
mov    %r12d,%esi
xor    %eax,%eax
call   1060 <printf@plt>
lea    0xeba(%rip),%rdi
call   1030 <puts@plt>
lea    0xd90(%rip),%rdi
lea    0xddf(%rip),%rsi
call   10a0 <popen@plt>
mov    %rax,%r13
test   %rax,%rax
jne    12b3 <main+0x103>
lea    0xf47(%rip),%rdi
call   1030 <puts@plt>
mov    %rbx,%rdi
xor    %esi,%esi
mov    $0x400,%edx
call   1080 <memset@plt>
mov    %rbx,%rdi
mov    $0x1,%esi
mov    $0x400,%edx
mov    %r13,%rcx
call   1040 <fread@plt>
movb   $0x0,0x40f(%rsp)
mov    %rbx,%rdi
mov    %rbp,%rsi
mov    %r14,%rdx
call   1090 <sscanf@plt>
mov    %r13,%rdi
call   1070 <pclose@plt>
mov    0xc(%rsp),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0xc(%rsp),%eax
test   %eax,%eax
je     1320 <main+0x170>
test   %eax,%eax
jg     1340 <main+0x190>
test   %eax,%eax
jne    1261 <main+0xb1>
jmp    123c <main+0x8c>
nopl   0x0(%rax)
lea    0xead(%rip),%rdi
call   1030 <puts@plt>
lea    0xd61(%rip),%rdi
call   10b0 <sys_log@plt>
mov    0xc(%rsp),%eax
test   %eax,%eax
jle    130f <main+0x15f>
movslq %r12d,%rax
imul   $0xffffffff88888889,%rax,%rax
shr    $0x20,%rax
add    %r12d,%eax
mov    %eax,%ecx
shr    $0x1f,%ecx
sar    $0x5,%eax
add    %ecx,%eax
imul   $0x3c,%eax,%eax
mov    %r12d,%esi
sub    %eax,%esi
lea    0xd3a(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
lea    0xdfc(%rip),%rdi
call   1030 <puts@plt>
lea    0xdfe(%rip),%rdi
call   1030 <puts@plt>
xor    %eax,%eax
call   10c0 <check_udpget_memory@plt>
cmp    $0x1,%eax
je     1210 <main+0x60>
lea    0xe02(%rip),%rdi
call   1030 <puts@plt>
mov    0xc(%rsp),%eax
test   %eax,%eax
jne    1261 <main+0xb1>
jmp    123c <main+0x8c>

LLVM IR (-O0):
@.str = [36 x i8] c"**********************************\0A\00"
@.str.1 = [20 x i8] c"udp_daemon : start\0A\00"
@.str.2 = [35 x i8] c"**********loop : %d**************\0A\00"
@.str.3 = [35 x i8] c"---------check udp_get-----------\0A\00"
@.str.4 = [86 x i8] c"ps -ef | grep 'udp_get' | grep -v 'grep' | grep -v 'sh -c' | awk '{print $2}' | wc -l\00"
@.str.5 = [2 x i8] c"r\00"
@.str.6 = [14 x i8] c"popen failed\0A\00"
@.str.7 = [3 x i8] c"%d\00"
@.str.8 = [22 x i8] c"udp_get process : %d\0A\00"
@.str.9 = [34 x i8] c"udp_get : down, restart again...\0A\00"
@.str.10 = [16 x i8] c"udp_get : down!\00"
@.str.11 = [11 x i8] c"loop : %d\0A\00"
@.str.12 = [15 x i8] c"udp_get : ok!\0A\00"
@.str.13 = [33 x i8] c"udp_get : check memory usage...\0A\00"
@.str.14 = [30 x i8] c"udp_get : memory alert!!!!!!\0A\00"
@.str.15 = [43 x i8] c"udp_get memory alert! restart immediately!\00"
@.str.16 = [16 x i8] c"killall udp_get\00"
@.str.17 = [22 x i8] c"udp_get memory : ok!\0A\00"
@.str.18 = [18 x i8] c"udp_get start...\0A\00"
@.str.19 = [33 x i8] c"/ailvgo/system/traffic/udp_get &\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32*
%3 = alloca [1024 x i8]
%4 = alloca i32
%5 = alloca i32
store i32 0, i32* %1
store i32* null, i32** %2
%6 = bitcast [1024 x i8]* %3 to i8*
store i32 0, i32* %5
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str, i64 0, i64 0))
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.1, i64 0, i64 0))
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str, i64 0, i64 0))
br label %10
10: ; preds = %0, %64
%11 = call i32 @sleep(i32 180)
%12 = load i32, i32* %5
%13 = add nsw i32 %12, 1
store i32 %13, i32* %5
%14 = load i32, i32* %5
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.2, i64 0, i64 0), i32 %14)
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.3, i64 0, i64 0))
store i32* null, i32** %2
%17 = call i32* @popen(i8* getelementptr inbounds ([86 x i8], [86 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
store i32* %17, i32** %2
%18 = icmp eq i32* %17, null
br i1 %18, label %19, label %21
19: ; preds = %10
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0))
br label %21
21: ; preds = %19, %10
%22 = getelementptr inbounds [1024 x i8], [1024 x i8]* %3, i64 0, i64 0
%23 = call i32 @memset(i8* %22, i32 0, i32 1024)
%24 = getelementptr inbounds [1024 x i8], [1024 x i8]* %3, i64 0, i64 0
%25 = load i32*, i32** %2
%26 = call i32 @fread(i8* %24, i32 1, i32 1024, i32* %25)
%27 = getelementptr inbounds [1024 x i8], [1024 x i8]* %3, i64 0, i64 1023
store i8 0, i8* %27
%28 = getelementptr inbounds [1024 x i8], [1024 x i8]* %3, i64 0, i64 0
%29 = call i32 @sscanf(i8* %28, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i32* %4)
%30 = load i32*, i32** %2
%31 = call i32 @pclose(i32* %30)
%32 = load i32, i32* %4
%33 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.8, i64 0, i64 0), i32 %32)
%34 = load i32, i32* %4
%35 = icmp eq i32 %34, 0
br i1 %35, label %36, label %39
36: ; preds = %21
%37 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.9, i64 0, i64 0))
%38 = call i32 @sys_log(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.10, i64 0, i64 0))
br label %39
39: ; preds = %36, %21
%40 = load i32, i32* %4
%41 = icmp sge i32 %40, 1
br i1 %41, label %42, label %57
42: ; preds = %39
%43 = load i32, i32* %5
%44 = srem i32 %43, 60
%45 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.11, i64 0, i64 0), i32 %44)
%46 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.12, i64 0, i64 0))
%47 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.13, i64 0, i64 0))
%48 = call i32 (...) @check_udpget_memory()
%49 = icmp eq i32 %48, 1
br i1 %49, label %50, label %54
50: ; preds = %42
%51 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.14, i64 0, i64 0))
%52 = call i32 @sys_log(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.15, i64 0, i64 0))
%53 = call i32 @system(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.16, i64 0, i64 0))
store i32 0, i32* %4
br label %56
54: ; preds = %42
%55 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.17, i64 0, i64 0))
br label %56
56: ; preds = %54, %50
br label %57
57: ; preds = %56, %39
%58 = load i32, i32* %4
%59 = icmp eq i32 %58, 0
br i1 %59, label %60, label %64
60: ; preds = %57
%61 = call i32 @sleep(i32 2)
%62 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.18, i64 0, i64 0))
%63 = call i32 @system(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.19, i64 0, i64 0))
store i32 0, i32* %5
br label %64
64: ; preds = %60, %57
br label %10
}

LLVM IR (-O2):
@.str.2 = [35 x i8] c"**********loop : %d**************\0A\00"
@.str.4 = [86 x i8] c"ps -ef | grep 'udp_get' | grep -v 'grep' | grep -v 'sh -c' | awk '{print $2}' | wc -l\00"
@.str.5 = [2 x i8] c"r\00"
@.str.7 = [3 x i8] c"%d\00"
@.str.8 = [22 x i8] c"udp_get process : %d\0A\00"
@.str.10 = [16 x i8] c"udp_get : down!\00"
@.str.11 = [11 x i8] c"loop : %d\0A\00"
@.str.15 = [43 x i8] c"udp_get memory alert! restart immediately!\00"
@.str.16 = [16 x i8] c"killall udp_get\00"
@.str.19 = [33 x i8] c"/ailvgo/system/traffic/udp_get &\00"
@str.20 = [19 x i8] c"udp_daemon : start\00"
@str.21 = [35 x i8] c"**********************************\00"
@str.22 = [34 x i8] c"---------check udp_get-----------\00"
@str.23 = [17 x i8] c"udp_get start...\00"
@str.24 = [14 x i8] c"udp_get : ok!\00"
@str.25 = [32 x i8] c"udp_get : check memory usage...\00"
@str.26 = [21 x i8] c"udp_get memory : ok!\00"
@str.27 = [29 x i8] c"udp_get : memory alert!!!!!!\00"
@str.28 = [33 x i8] c"udp_get : down, restart again...\00"
@str.29 = [13 x i8] c"popen failed\00"
define i32 @main() {
%1 = alloca [1024 x i8]
%2 = alloca i32
%3 = getelementptr inbounds [1024 x i8], [1024 x i8]* %1, i64 0, i64 0
%4 = bitcast i32* %2 to i8*
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @str.21, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str.20, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @str.21, i64 0, i64 0))
%8 = getelementptr inbounds [1024 x i8], [1024 x i8]* %1, i64 0, i64 1023
br label %9
9: ; preds = %56, %0
%10 = phi i32 [ 0, %0 ], [ %57, %56 ]
%11 = call i32 @sleep(i32 180)
%12 = add nsw i32 %10, 1
%13 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.2, i64 0, i64 0), i32 %12)
%14 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @str.22, i64 0, i64 0))
%15 = call i32* @popen(i8* getelementptr inbounds ([86 x i8], [86 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
%16 = icmp eq i32* %15, null
br i1 %16, label %17, label %19
17: ; preds = %9
%18 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @str.29, i64 0, i64 0))
br label %19
19: ; preds = %17, %9
%20 = call i32 @memset(i8* %3, i32 0, i32 1024)
%21 = call i32 @fread(i8* %3, i32 1, i32 1024, i32* %15)
store i8 0, i8* %8
%22 = call i32 @sscanf(i8* %3, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i32* %2)
%23 = call i32 @pclose(i32* %15)
%24 = load i32, i32* %2
%25 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.8, i64 0, i64 0), i32 %24)
%26 = load i32, i32* %2
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %32
28: ; preds = %19
%29 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @str.28, i64 0, i64 0))
%30 = call i32 @sys_log(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.10, i64 0, i64 0))
%31 = load i32, i32* %2
br label %32
32: ; preds = %28, %19
%33 = phi i32 [ %31, %28 ], [ %26, %19 ]
%34 = icmp sgt i32 %33, 0
br i1 %34, label %35, label %49
35: ; preds = %32
%36 = srem i32 %12, 60
%37 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.11, i64 0, i64 0), i32 %36)
%38 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @str.24, i64 0, i64 0))
%39 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @str.25, i64 0, i64 0))
%40 = call i32 (...) @check_udpget_memory()
%41 = icmp eq i32 %40, 1
br i1 %41, label %42, label %46
42: ; preds = %35
%43 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str.27, i64 0, i64 0))
%44 = call i32 @sys_log(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.15, i64 0, i64 0))
%45 = call i32 @system(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.16, i64 0, i64 0))
store i32 0, i32* %2
br label %52
46: ; preds = %35
%47 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @str.26, i64 0, i64 0))
%48 = load i32, i32* %2
br label %49
49: ; preds = %46, %32
%50 = phi i32 [ %48, %46 ], [ %33, %32 ]
%51 = icmp eq i32 %50, 0
br i1 %51, label %52, label %56
52: ; preds = %42, %49
%53 = call i32 @sleep(i32 2)
%54 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str.23, i64 0, i64 0))
%55 = call i32 @system(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.19, i64 0, i64 0))
br label %56
56: ; preds = %52, %49
%57 = phi i32 [ 0, %52 ], [ %12, %49 ]
br label %9
}