#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 atoi(char *);
int /*<<< orphan*/ execvp(char *, char **);
int /*<<< orphan*/ exit(int /*<<< orphan*/);
int getpid();
int getppid();
unsigned long long half(char *);
scalar_t__ malloc(int);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ sprintf(char *, char *, int);
int /*<<< orphan*/ strcmp(char *, char *);
int /*<<< orphan*/ strcpy(char *, char *);
scalar_t__ strlen(char *);
int main(int argc, char *argv[]) {
  char *arglist[6], process_name[100], string[100];
  int p = 0, i;
  unsigned long long int res = 0;
  printf("Child id = %d ,Parent id= %d", getpid(), getppid());
  if (argc >= 2) {
    res = half(argv[1]);
    printf(",Process Name= half\n");
  } else {
    printf("Insufficient Arguments");
    exit(0);
  }
  int start = atoi(argv[2]);
  int end = atoi(argv[3]);
  strcpy(string, argv[4]);
  for (i = start; i <= end; i++) {
    if (string[i] == ' ') {
      process_name[p] = '\0';
      if (!strcmp(process_name, "twice")) {
        arglist[0] = (char *)malloc(8 * sizeof(char));
        strcpy(arglist[0], "./twice");
        arglist[1] = (char *)malloc(100 * sizeof(char));
        sprintf(arglist[1], "%llu", res);
        arglist[2] = (char *)malloc(10 * sizeof(char));
        sprintf(arglist[2], "%d", i);
        arglist[3] = (char *)malloc(10 * sizeof(char));
        sprintf(arglist[3], "%d", end);
        arglist[4] = (char *)malloc(end * sizeof(char));
        strcpy(arglist[4], string);
        arglist[5] = NULL;
        execvp("./twice", arglist);
        printf("\nThis statement is not executed if execvp succeeds.\n");
      } else if (!strcmp(process_name, "square")) {
        arglist[0] = (char *)malloc(8 * sizeof(char));
        strcpy(arglist[0], "./square");
        arglist[1] = (char *)malloc(100 * sizeof(char));
        sprintf(arglist[1], "%llu", res);
        arglist[2] = (char *)malloc(10 * sizeof(char));
        sprintf(arglist[2], "%d", i);
        arglist[3] = (char *)malloc(10 * sizeof(char));
        sprintf(arglist[3], "%d", end);
        arglist[4] = (char *)malloc(end * sizeof(char));
        strcpy(arglist[4], string);
        arglist[5] = NULL;
        execvp("./square", arglist);
        printf("\nThis statement is not executed if execvp succeeds.\n");
      } else if (!strcmp(process_name, "half")) {
        arglist[0] = (char *)malloc(8 * sizeof(char));
        strcpy(arglist[0], "./half");
        arglist[1] = (char *)malloc(100 * sizeof(char));
        sprintf(arglist[1], "%llu", res);
        arglist[2] = (char *)malloc(10 * sizeof(char));
        sprintf(arglist[2], "%d", i);
        arglist[3] = (char *)malloc(10 * sizeof(char));
        sprintf(arglist[3], "%d", end);
        arglist[4] = (char *)malloc(end * sizeof(char));
        strcpy(arglist[4], string);
        arglist[5] = NULL;
        execvp("./half", arglist);
        printf("\nThis statement is not executed if execvp succeeds.\n");
      } else if (strlen(process_name)) {
        printf("Error! No such %s Process Exist", process_name);
        exit(0);
      }
    } else {
      process_name[p] = string[i];
      p++;
    }
  }
  printf("\nFinal Result is %llu", res);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x140,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0x124(%rbp)
movq   $0x0,-0x130(%rbp)
mov    $0x0,%al
call   1040 <getpid@plt>
mov    %eax,-0x13c(%rbp)
mov    $0x0,%al
call   10d0 <getppid@plt>
mov    -0x13c(%rbp),%esi
mov    %eax,%edx
lea    0xdef(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
cmpl   $0x2,-0x8(%rbp)
jl     1249 <main+0x89>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   1090 <half@plt>
mov    %rax,-0x130(%rbp)
lea    0xde0(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    125e <main+0x9e>
lea    0xde2(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
xor    %edi,%edi
call   10e0 <exit@plt>
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdi
call   10b0 <atoi@plt>
mov    %eax,-0x134(%rbp)
mov    -0x10(%rbp),%rax
mov    0x18(%rax),%rdi
call   10b0 <atoi@plt>
mov    %eax,-0x138(%rbp)
lea    -0x120(%rbp),%rdi
mov    -0x10(%rbp),%rax
mov    0x20(%rax),%rsi
call   1030 <strcpy@plt>
mov    -0x134(%rbp),%eax
mov    %eax,-0x128(%rbp)
mov    -0x128(%rbp),%eax
cmp    -0x138(%rbp),%eax
jg     1655 <main+0x495>
movslq -0x128(%rbp),%rax
movsbl -0x120(%rbp,%rax,1),%eax
ff
cmp    $0x20,%eax
jne    1611 <main+0x451>
movslq -0x124(%rbp),%rax
movb   $0x0,-0xb0(%rbp,%rax,1)
lea    -0xb0(%rbp),%rdi
lea    0xd60(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%eax
jne    13d7 <main+0x217>
mov    $0x8,%edi
call   1080 <malloc@plt>
mov    %rax,-0x40(%rbp)
mov    -0x40(%rbp),%rdi
lea    0xd37(%rip),%rsi
call   1030 <strcpy@plt>
mov    $0x64,%edi
call   1080 <malloc@plt>
mov    %rax,-0x38(%rbp)
mov    -0x38(%rbp),%rdi
mov    -0x130(%rbp),%rax
mov    %eax,%edx
lea    0xd8e(%rip),%rsi
call   10c0 <sprintf@plt>
mov    $0xa,%edi
call   1080 <malloc@plt>
mov    %rax,-0x30(%rbp)
mov    -0x30(%rbp),%rdi
mov    -0x128(%rbp),%edx
lea    0xcbd(%rip),%rsi
call   10c0 <sprintf@plt>
mov    $0xa,%edi
call   1080 <malloc@plt>
mov    %rax,-0x28(%rbp)
mov    -0x28(%rbp),%rdi
mov    -0x138(%rbp),%edx
lea    0xc99(%rip),%rsi
call   10c0 <sprintf@plt>
movslq -0x138(%rbp),%rax
shl    $0x0,%rax
mov    %eax,%edi
call   1080 <malloc@plt>
mov    %rax,-0x20(%rbp)
mov    -0x20(%rbp),%rdi
lea    -0x120(%rbp),%rsi
call   1030 <strcpy@plt>
movq   $0x0,-0x18(%rbp)
lea    -0x40(%rbp),%rsi
lea    0xc8a(%rip),%rdi
call   10a0 <execvp@plt>
lea    0xc86(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    160c <main+0x44c>
lea    -0xb0(%rbp),%rdi
lea    0xca3(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%eax
jne    14d1 <main+0x311>
mov    $0x8,%edi
call   1080 <malloc@plt>
mov    %rax,-0x40(%rbp)
mov    -0x40(%rbp),%rdi
lea    0xc7a(%rip),%rsi
call   1030 <strcpy@plt>
mov    $0x64,%edi
call   1080 <malloc@plt>
mov    %rax,-0x38(%rbp)
mov    -0x38(%rbp),%rdi
mov    -0x130(%rbp),%rax
mov    %eax,%edx
lea    0xc94(%rip),%rsi
call   10c0 <sprintf@plt>
mov    $0xa,%edi
call   1080 <malloc@plt>
mov    %rax,-0x30(%rbp)
mov    -0x30(%rbp),%rdi
mov    -0x128(%rbp),%edx
lea    0xbc3(%rip),%rsi
call   10c0 <sprintf@plt>
mov    $0xa,%edi
call   1080 <malloc@plt>
mov    %rax,-0x28(%rbp)
mov    -0x28(%rbp),%rdi
mov    -0x138(%rbp),%edx
lea    0xb9f(%rip),%rsi
call   10c0 <sprintf@plt>
movslq -0x138(%rbp),%rax
shl    $0x0,%rax
mov    %eax,%edi
call   1080 <malloc@plt>
mov    %rax,-0x20(%rbp)
mov    -0x20(%rbp),%rdi
lea    -0x120(%rbp),%rsi
call   1030 <strcpy@plt>
movq   $0x0,-0x18(%rbp)
lea    -0x40(%rbp),%rsi
lea    0xbcd(%rip),%rdi
call   10a0 <execvp@plt>
lea    0xb8c(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    1607 <main+0x447>
lea    -0xb0(%rbp),%rdi
lea    0xbb2(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%eax
jne    15cb <main+0x40b>
mov    $0x8,%edi
call   1080 <malloc@plt>
mov    %rax,-0x40(%rbp)
mov    -0x40(%rbp),%rdi
lea    0xb89(%rip),%rsi
call   1030 <strcpy@plt>
mov    $0x64,%edi
call   1080 <malloc@plt>
mov    %rax,-0x38(%rbp)
mov    -0x38(%rbp),%rdi
mov    -0x130(%rbp),%rax
mov    %eax,%edx
lea    0xb9a(%rip),%rsi
call   10c0 <sprintf@plt>
mov    $0xa,%edi
call   1080 <malloc@plt>
mov    %rax,-0x30(%rbp)
mov    -0x30(%rbp),%rdi
mov    -0x128(%rbp),%edx
lea    0xac9(%rip),%rsi
call   10c0 <sprintf@plt>
mov    $0xa,%edi
call   1080 <malloc@plt>
mov    %rax,-0x28(%rbp)
mov    -0x28(%rbp),%rdi
mov    -0x138(%rbp),%edx
lea    0xaa5(%rip),%rsi
call   10c0 <sprintf@plt>
movslq -0x138(%rbp),%rax
shl    $0x0,%rax
mov    %eax,%edi
call   1080 <malloc@plt>
mov    %rax,-0x20(%rbp)
mov    -0x20(%rbp),%rdi
lea    -0x120(%rbp),%rsi
call   1030 <strcpy@plt>
movq   $0x0,-0x18(%rbp)
lea    -0x40(%rbp),%rsi
lea    0xadc(%rip),%rdi
call   10a0 <execvp@plt>
lea    0xa92(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    1602 <main+0x442>
lea    -0xb0(%rbp),%rdi
call   1050 <strlen@plt>
cmp    $0x0,%rax
je     15fd <main+0x43d>
lea    -0xb0(%rbp),%rsi
lea    0xaa7(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
xor    %edi,%edi
call   10e0 <exit@plt>
jmp    1602 <main+0x442>
jmp    1607 <main+0x447>
jmp    160c <main+0x44c>
jmp    163c <main+0x47c>
movslq -0x128(%rbp),%rax
mov    -0x120(%rbp,%rax,1),%cl
movslq -0x124(%rbp),%rax
mov    %cl,-0xb0(%rbp,%rax,1)
mov    -0x124(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x124(%rbp)
jmp    1641 <main+0x481>
mov    -0x128(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x128(%rbp)
jmp    12a4 <main+0xe4>
mov    -0x130(%rbp),%rsi
lea    0xa53(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
xor    %eax,%eax
add    $0x140,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x118,%rsp
mov    %rsi,%rbx
mov    %edi,%r14d
xor    %eax,%eax
call   1050 <getpid@plt>
mov    %eax,%ebp
xor    %eax,%eax
call   10c0 <getppid@plt>
lea    0xe22(%rip),%rdi
mov    %ebp,%esi
mov    %eax,%edx
xor    %eax,%eax
call   1060 <printf@plt>
cmp    $0x2,%r14d
jl     1555 <main+0x3a5>
mov    0x8(%rbx),%rdi
call   1080 <half@plt>
mov    %rax,0x8(%rsp)
lea    0xe7a(%rip),%rdi
call   1040 <puts@plt>
mov    0x10(%rbx),%rdi
call   10a0 <atoi@plt>
mov    %eax,%ebp
mov    0x18(%rbx),%rdi
call   10a0 <atoi@plt>
mov    %eax,%r15d
mov    0x20(%rbx),%rsi
lea    0xb0(%rsp),%rdi
call   1030 <strcpy@plt>
cmp    %r15d,%ebp
jle    1261 <main+0xb1>
lea    0xe2b(%rip),%rdi
mov    0x8(%rsp),%rsi
xor    %eax,%eax
call   1060 <printf@plt>
xor    %eax,%eax
add    $0x118,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
movslq %ebp,%rax
mov    %r15d,%r12d
add    $0x1,%r12d
lea    (%rsp,%rax,1),%rbx
add    $0xb0,%rbx
xor    %r13d,%r13d
jmp    1296 <main+0xe6>
nopl   0x0(%rax,%rax,1)
mov    %cl,0x40(%rsp,%rax,1)
add    $0x1,%eax
mov    %eax,%r13d
add    $0x1,%ebp
add    $0x1,%rbx
cmp    %ebp,%r12d
je     123a <main+0x8a>
movzbl (%rbx),%ecx
movslq %r13d,%rax
cmp    $0x20,%cl
jne    1280 <main+0xd0>
movb   $0x0,0x40(%rsp,%rax,1)
mov    0x40(%rsp),%eax
mov    $0x63697774,%ecx
xor    %ecx,%eax
movzwl 0x44(%rsp),%ecx
xor    $0x65,%ecx
or     %eax,%ecx
je     12ff <main+0x14f>
mov    0x40(%rsp),%eax
mov    $0x61757173,%ecx
xor    %ecx,%eax
mov    0x43(%rsp),%ecx
mov    $0x657261,%edx
xor    %edx,%ecx
or     %eax,%ecx
je     13be <main+0x20e>
mov    0x40(%rsp),%eax
mov    $0x666c6168,%ecx
xor    %ecx,%eax
movzbl 0x44(%rsp),%ecx
or     %eax,%ecx
je     1471 <main+0x2c1>
cmpb   $0x0,0x40(%rsp)
je     128a <main+0xda>
jmp    153b <main+0x38b>
mov    $0x8,%edi
call   1070 <malloc@plt>
mov    %rax,0x10(%rsp)
mov    %rax,%rdi
lea    0xd1c(%rip),%rsi
call   1030 <strcpy@plt>
mov    $0x64,%edi
call   1070 <malloc@plt>
mov    %rax,0x18(%rsp)
mov    %rax,%rdi
lea    0xd47(%rip),%rsi
mov    0x8(%rsp),%rdx
call   10b0 <sprintf@plt>
mov    $0xa,%edi
call   1070 <malloc@plt>
mov    %rax,0x20(%rsp)
mov    %rax,%rdi
mov    %r12d,%r14d
mov    %r15d,%r12d
lea    0xcbb(%rip),%r15
mov    %r15,%rsi
mov    %ebp,%edx
call   10b0 <sprintf@plt>
mov    $0xa,%edi
call   1070 <malloc@plt>
mov    %rax,0x28(%rsp)
mov    %rax,%rdi
mov    %r15,%rsi
mov    %r12d,%r15d
mov    %r14d,%r12d
mov    %r15d,%edx
call   10b0 <sprintf@plt>
mov    %r15d,%edi
call   1070 <malloc@plt>
mov    %rax,0x30(%rsp)
mov    %rax,%rdi
lea    0xb0(%rsp),%rsi
call   1030 <strcpy@plt>
movq   $0x0,0x38(%rsp)
lea    0xc7b(%rip),%rdi
jmp    1520 <main+0x370>
mov    $0x8,%edi
call   1070 <malloc@plt>
mov    %rax,0x10(%rsp)
mov    %rax,%rdi
lea    0xc65(%rip),%rsi
call   1030 <strcpy@plt>
mov    $0x64,%edi
call   1070 <malloc@plt>
mov    %rax,0x18(%rsp)
mov    %rax,%rdi
lea    0xc88(%rip),%rsi
mov    0x8(%rsp),%rdx
call   10b0 <sprintf@plt>
mov    $0xa,%edi
call   1070 <malloc@plt>
mov    %rax,0x20(%rsp)
mov    %rax,%rdi
lea    0xc02(%rip),%r14
mov    %r14,%rsi
mov    %ebp,%edx
call   10b0 <sprintf@plt>
mov    $0xa,%edi
call   1070 <malloc@plt>
mov    %rax,0x28(%rsp)
mov    %rax,%rdi
mov    %r14,%rsi
mov    %r15d,%edx
call   10b0 <sprintf@plt>
mov    %r15d,%edi
call   1070 <malloc@plt>
mov    %rax,0x30(%rsp)
mov    %rax,%rdi
lea    0xb0(%rsp),%rsi
call   1030 <strcpy@plt>
movq   $0x0,0x38(%rsp)
lea    0xbd0(%rip),%rdi
jmp    1520 <main+0x370>
mov    $0x8,%edi
call   1070 <malloc@plt>
mov    %rax,0x10(%rsp)
mov    %rax,%rdi
lea    0xbbb(%rip),%rsi
call   1030 <strcpy@plt>
mov    $0x64,%edi
call   1070 <malloc@plt>
mov    %rax,0x18(%rsp)
mov    %rax,%rdi
lea    0xbd5(%rip),%rsi
mov    0x8(%rsp),%rdx
call   10b0 <sprintf@plt>
mov    $0xa,%edi
call   1070 <malloc@plt>
mov    %rax,0x20(%rsp)
mov    %rax,%rdi
lea    0xb4f(%rip),%r14
mov    %r14,%rsi
mov    %ebp,%edx
call   10b0 <sprintf@plt>
mov    $0xa,%edi
call   1070 <malloc@plt>
mov    %rax,0x28(%rsp)
mov    %rax,%rdi
mov    %r14,%rsi
mov    %r15d,%edx
call   10b0 <sprintf@plt>
mov    %r15d,%edi
call   1070 <malloc@plt>
mov    %rax,0x30(%rsp)
mov    %rax,%rdi
lea    0xb0(%rsp),%rsi
call   1030 <strcpy@plt>
movq   $0x0,0x38(%rsp)
lea    0xb26(%rip),%rdi
nop
lea    0x10(%rsp),%rsi
call   1090 <execvp@plt>
lea    0xb65(%rip),%rdi
call   1040 <puts@plt>
jmp    128a <main+0xda>
lea    0xb0a(%rip),%rdi
lea    0x40(%rsp),%rsi
xor    %eax,%eax
call   1060 <printf@plt>
xor    %edi,%edi
call   10d0 <exit@plt>
lea    0xac1(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
xor    %edi,%edi
call   10d0 <exit@plt>

LLVM IR (-O0):
@.str = [29 x i8] c"Child id = %d ,Parent id= %d\00"
@.str.1 = [21 x i8] c",Process Name= half\0A\00"
@.str.2 = [23 x i8] c"Insufficient Arguments\00"
@.str.3 = [6 x i8] c"twice\00"
@.str.4 = [8 x i8] c"./twice\00"
@.str.5 = [5 x i8] c"%llu\00"
@.str.6 = [3 x i8] c"%d\00"
@.str.7 = [53 x i8] c"\0AThis statement is not executed if execvp succeeds.\0A\00"
@.str.8 = [7 x i8] c"square\00"
@.str.9 = [9 x i8] c"./square\00"
@.str.10 = [5 x i8] c"half\00"
@.str.11 = [7 x i8] c"./half\00"
@.str.12 = [32 x i8] c"Error! No such %s Process Exist\00"
@.str.13 = [22 x i8] c"\0AFinal Result is %llu\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca [6 x i8*]
%7 = alloca [100 x i8]
%8 = alloca [100 x i8]
%9 = alloca i32
%10 = alloca i32
%11 = alloca i64
%12 = alloca i32
%13 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 0, i32* %9
store i64 0, i64* %11
%14 = call i32 (...) @getpid()
%15 = call i32 (...) @getppid()
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str, i64 0, i64 0), i32 %14, i32 %15)
%17 = load i32, i32* %4
%18 = icmp sge i32 %17, 2
br i1 %18, label %19, label %25
19: ; preds = %2
%20 = load i8**, i8*** %5
%21 = getelementptr inbounds i8*, i8** %20, i64 1
%22 = load i8*, i8** %21
%23 = call i64 @half(i8* %22)
store i64 %23, i64* %11
%24 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.1, i64 0, i64 0))
br label %28
25: ; preds = %2
%26 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.2, i64 0, i64 0))
%27 = call i32 @exit(i32 0)
unreachable
28: ; preds = %19
%29 = load i8**, i8*** %5
%30 = getelementptr inbounds i8*, i8** %29, i64 2
%31 = load i8*, i8** %30
%32 = call i32 @atoi(i8* %31)
store i32 %32, i32* %12
%33 = load i8**, i8*** %5
%34 = getelementptr inbounds i8*, i8** %33, i64 3
%35 = load i8*, i8** %34
%36 = call i32 @atoi(i8* %35)
store i32 %36, i32* %13
%37 = getelementptr inbounds [100 x i8], [100 x i8]* %8, i64 0, i64 0
%38 = load i8**, i8*** %5
%39 = getelementptr inbounds i8*, i8** %38, i64 4
%40 = load i8*, i8** %39
%41 = call i32 @strcpy(i8* %37, i8* %40)
%42 = load i32, i32* %12
store i32 %42, i32* %10
br label %43
43: ; preds = %224, %28
%44 = load i32, i32* %10
%45 = load i32, i32* %13
%46 = icmp sle i32 %44, %45
br i1 %46, label %47, label %227
47: ; preds = %43
%48 = load i32, i32* %10
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [100 x i8], [100 x i8]* %8, i64 0, i64 %49
%51 = load i8, i8* %50
%52 = sext i8 %51 to i32
%53 = icmp eq i32 %52, 32
br i1 %53, label %54, label %213
54: ; preds = %47
%55 = load i32, i32* %9
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [100 x i8], [100 x i8]* %7, i64 0, i64 %56
store i8 0, i8* %57
%58 = getelementptr inbounds [100 x i8], [100 x i8]* %7, i64 0, i64 0
%59 = call i32 @strcmp(i8* %58, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%60 = icmp ne i32 %59, 0
br i1 %60, label %105, label %61
61: ; preds = %54
%62 = call i64 @malloc(i32 8)
%63 = inttoptr i64 %62 to i8*
%64 = getelementptr inbounds [6 x i8*], [6 x i8*]* %6, i64 0, i64 0
store i8* %63, i8** %64
%65 = getelementptr inbounds [6 x i8*], [6 x i8*]* %6, i64 0, i64 0
%66 = load i8*, i8** %65
%67 = call i32 @strcpy(i8* %66, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0))
%68 = call i64 @malloc(i32 100)
%69 = inttoptr i64 %68 to i8*
%70 = getelementptr inbounds [6 x i8*], [6 x i8*]* %6, i64 0, i64 1
store i8* %69, i8** %70
%71 = getelementptr inbounds [6 x i8*], [6 x i8*]* %6, i64 0, i64 1
%72 = load i8*, i8** %71
%73 = load i64, i64* %11
%74 = trunc i64 %73 to i32
%75 = call i32 @sprintf(i8* %72, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i32 %74)
%76 = call i64 @malloc(i32 10)
%77 = inttoptr i64 %76 to i8*
%78 = getelementptr inbounds [6 x i8*], [6 x i8*]* %6, i64 0, i64 2
store i8* %77, i8** %78
%79 = getelementptr inbounds [6 x i8*], [6 x i8*]* %6, i64 0, i64 2
%80 = load i8*, i8** %79
%81 = load i32, i32* %10
%82 = call i32 @sprintf(i8* %80, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32 %81)
%83 = call i64 @malloc(i32 10)
%84 = inttoptr i64 %83 to i8*
%85 = getelementptr inbounds [6 x i8*], [6 x i8*]* %6, i64 0, i64 3
store i8* %84, i8** %85
%86 = getelementptr inbounds [6 x i8*], [6 x i8*]* %6, i64 0, i64 3
%87 = load i8*, i8** %86
%88 = load i32, i32* %13
%89 = call i32 @sprintf(i8* %87, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32 %88)
%90 = load i32, i32* %13
%91 = sext i32 %90 to i64
%92 = mul i64 %91, 1
%93 = trunc i64 %92 to i32
%94 = call i64 @malloc(i32 %93)
%95 = inttoptr i64 %94 to i8*
%96 = getelementptr inbounds [6 x i8*], [6 x i8*]* %6, i64 0, i64 4
store i8* %95, i8** %96
%97 = getelementptr inbounds [6 x i8*], [6 x i8*]* %6, i64 0, i64 4
%98 = load i8*, i8** %97
%99 = getelementptr inbounds [100 x i8], [100 x i8]* %8, i64 0, i64 0
%100 = call i32 @strcpy(i8* %98, i8* %99)
%101 = getelementptr inbounds [6 x i8*], [6 x i8*]* %6, i64 0, i64 5
store i8* null, i8** %101
%102 = getelementptr inbounds [6 x i8*], [6 x i8*]* %6, i64 0, i64 0
%103 = call i32 @execvp(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0), i8** %102)
%104 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.7, i64 0, i64 0))
br label %212
105: ; preds = %54
%106 = getelementptr inbounds [100 x i8], [100 x i8]* %7, i64 0, i64 0
%107 = call i32 @strcmp(i8* %106, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.8, i64 0, i64 0))
%108 = icmp ne i32 %107, 0
br i1 %108, label %153, label %109
109: ; preds = %105
%110 = call i64 @malloc(i32 8)
%111 = inttoptr i64 %110 to i8*
%112 = getelementptr inbounds [6 x i8*], [6 x i8*]* %6, i64 0, i64 0
store i8* %111, i8** %112
%113 = getelementptr inbounds [6 x i8*], [6 x i8*]* %6, i64 0, i64 0
%114 = load i8*, i8** %113
%115 = call i32 @strcpy(i8* %114, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.9, i64 0, i64 0))
%116 = call i64 @malloc(i32 100)
%117 = inttoptr i64 %116 to i8*
%118 = getelementptr inbounds [6 x i8*], [6 x i8*]* %6, i64 0, i64 1
store i8* %117, i8** %118
%119 = getelementptr inbounds [6 x i8*], [6 x i8*]* %6, i64 0, i64 1
%120 = load i8*, i8** %119
%121 = load i64, i64* %11
%122 = trunc i64 %121 to i32
%123 = call i32 @sprintf(i8* %120, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i32 %122)
%124 = call i64 @malloc(i32 10)
%125 = inttoptr i64 %124 to i8*
%126 = getelementptr inbounds [6 x i8*], [6 x i8*]* %6, i64 0, i64 2
store i8* %125, i8** %126
%127 = getelementptr inbounds [6 x i8*], [6 x i8*]* %6, i64 0, i64 2
%128 = load i8*, i8** %127
%129 = load i32, i32* %10
%130 = call i32 @sprintf(i8* %128, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32 %129)
%131 = call i64 @malloc(i32 10)
%132 = inttoptr i64 %131 to i8*
%133 = getelementptr inbounds [6 x i8*], [6 x i8*]* %6, i64 0, i64 3
store i8* %132, i8** %133
%134 = getelementptr inbounds [6 x i8*], [6 x i8*]* %6, i64 0, i64 3
%135 = load i8*, i8** %134
%136 = load i32, i32* %13
%137 = call i32 @sprintf(i8* %135, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32 %136)
%138 = load i32, i32* %13
%139 = sext i32 %138 to i64
%140 = mul i64 %139, 1
%141 = trunc i64 %140 to i32
%142 = call i64 @malloc(i32 %141)
%143 = inttoptr i64 %142 to i8*
%144 = getelementptr inbounds [6 x i8*], [6 x i8*]* %6, i64 0, i64 4
store i8* %143, i8** %144
%145 = getelementptr inbounds [6 x i8*], [6 x i8*]* %6, i64 0, i64 4
%146 = load i8*, i8** %145
%147 = getelementptr inbounds [100 x i8], [100 x i8]* %8, i64 0, i64 0
%148 = call i32 @strcpy(i8* %146, i8* %147)
%149 = getelementptr inbounds [6 x i8*], [6 x i8*]* %6, i64 0, i64 5
store i8* null, i8** %149
%150 = getelementptr inbounds [6 x i8*], [6 x i8*]* %6, i64 0, i64 0
%151 = call i32 @execvp(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.9, i64 0, i64 0), i8** %150)
%152 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.7, i64 0, i64 0))
br label %211
153: ; preds = %105
%154 = getelementptr inbounds [100 x i8], [100 x i8]* %7, i64 0, i64 0
%155 = call i32 @strcmp(i8* %154, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0))
%156 = icmp ne i32 %155, 0
br i1 %156, label %201, label %157
157: ; preds = %153
%158 = call i64 @malloc(i32 8)
%159 = inttoptr i64 %158 to i8*
%160 = getelementptr inbounds [6 x i8*], [6 x i8*]* %6, i64 0, i64 0
store i8* %159, i8** %160
%161 = getelementptr inbounds [6 x i8*], [6 x i8*]* %6, i64 0, i64 0
%162 = load i8*, i8** %161
%163 = call i32 @strcpy(i8* %162, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.11, i64 0, i64 0))
%164 = call i64 @malloc(i32 100)
%165 = inttoptr i64 %164 to i8*
%166 = getelementptr inbounds [6 x i8*], [6 x i8*]* %6, i64 0, i64 1
store i8* %165, i8** %166
%167 = getelementptr inbounds [6 x i8*], [6 x i8*]* %6, i64 0, i64 1
%168 = load i8*, i8** %167
%169 = load i64, i64* %11
%170 = trunc i64 %169 to i32
%171 = call i32 @sprintf(i8* %168, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i32 %170)
%172 = call i64 @malloc(i32 10)
%173 = inttoptr i64 %172 to i8*
%174 = getelementptr inbounds [6 x i8*], [6 x i8*]* %6, i64 0, i64 2
store i8* %173, i8** %174
%175 = getelementptr inbounds [6 x i8*], [6 x i8*]* %6, i64 0, i64 2
%176 = load i8*, i8** %175
%177 = load i32, i32* %10
%178 = call i32 @sprintf(i8* %176, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32 %177)
%179 = call i64 @malloc(i32 10)
%180 = inttoptr i64 %179 to i8*
%181 = getelementptr inbounds [6 x i8*], [6 x i8*]* %6, i64 0, i64 3
store i8* %180, i8** %181
%182 = getelementptr inbounds [6 x i8*], [6 x i8*]* %6, i64 0, i64 3
%183 = load i8*, i8** %182
%184 = load i32, i32* %13
%185 = call i32 @sprintf(i8* %183, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32 %184)
%186 = load i32, i32* %13
%187 = sext i32 %186 to i64
%188 = mul i64 %187, 1
%189 = trunc i64 %188 to i32
%190 = call i64 @malloc(i32 %189)
%191 = inttoptr i64 %190 to i8*
%192 = getelementptr inbounds [6 x i8*], [6 x i8*]* %6, i64 0, i64 4
store i8* %191, i8** %192
%193 = getelementptr inbounds [6 x i8*], [6 x i8*]* %6, i64 0, i64 4
%194 = load i8*, i8** %193
%195 = getelementptr inbounds [100 x i8], [100 x i8]* %8, i64 0, i64 0
%196 = call i32 @strcpy(i8* %194, i8* %195)
%197 = getelementptr inbounds [6 x i8*], [6 x i8*]* %6, i64 0, i64 5
store i8* null, i8** %197
%198 = getelementptr inbounds [6 x i8*], [6 x i8*]* %6, i64 0, i64 0
%199 = call i32 @execvp(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.11, i64 0, i64 0), i8** %198)
%200 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.7, i64 0, i64 0))
br label %210
201: ; preds = %153
%202 = getelementptr inbounds [100 x i8], [100 x i8]* %7, i64 0, i64 0
%203 = call i64 @strlen(i8* %202)
%204 = icmp ne i64 %203, 0
br i1 %204, label %205, label %209
205: ; preds = %201
%206 = getelementptr inbounds [100 x i8], [100 x i8]* %7, i64 0, i64 0
%207 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.12, i64 0, i64 0), i8* %206)
%208 = call i32 @exit(i32 0)
unreachable
209: ; preds = %201
br label %210
210: ; preds = %209, %157
br label %211
211: ; preds = %210, %109
br label %212
212: ; preds = %211, %61
br label %223
213: ; preds = %47
%214 = load i32, i32* %10
%215 = sext i32 %214 to i64
%216 = getelementptr inbounds [100 x i8], [100 x i8]* %8, i64 0, i64 %215
%217 = load i8, i8* %216
%218 = load i32, i32* %9
%219 = sext i32 %218 to i64
%220 = getelementptr inbounds [100 x i8], [100 x i8]* %7, i64 0, i64 %219
store i8 %217, i8* %220
%221 = load i32, i32* %9
%222 = add nsw i32 %221, 1
store i32 %222, i32* %9
br label %223
223: ; preds = %213, %212
br label %224
224: ; preds = %223
%225 = load i32, i32* %10
%226 = add nsw i32 %225, 1
store i32 %226, i32* %10
br label %43
227: ; preds = %43
%228 = load i64, i64* %11
%229 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.13, i64 0, i64 0), i64 %228)
ret i32 0
}

LLVM IR (-O2):
@.str = [29 x i8] c"Child id = %d ,Parent id= %d\00"
@.str.2 = [23 x i8] c"Insufficient Arguments\00"
@.str.3 = [6 x i8] c"twice\00"
@.str.4 = [8 x i8] c"./twice\00"
@.str.5 = [5 x i8] c"%llu\00"
@.str.6 = [3 x i8] c"%d\00"
@.str.8 = [7 x i8] c"square\00"
@.str.9 = [9 x i8] c"./square\00"
@.str.10 = [5 x i8] c"half\00"
@.str.11 = [7 x i8] c"./half\00"
@.str.12 = [32 x i8] c"Error! No such %s Process Exist\00"
@.str.13 = [22 x i8] c"\0AFinal Result is %llu\00"
@str = [20 x i8] c",Process Name= half\00"
@str.16 = [52 x i8] c"\0AThis statement is not executed if execvp succeeds.\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca [6 x i8*]
%4 = alloca [100 x i8]
%5 = alloca [100 x i8]
%6 = bitcast [6 x i8*]* %3 to i8*
%7 = getelementptr inbounds [100 x i8], [100 x i8]* %4, i64 0, i64 0
%8 = getelementptr inbounds [100 x i8], [100 x i8]* %5, i64 0, i64 0
%9 = tail call i32 (...) @getpid()
%10 = tail call i32 (...) @getppid()
%11 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @.str, i64 0, i64 0), i32 %9, i32 %10)
%12 = icmp sgt i32 %0, 1
br i1 %12, label %13, label %38
13: ; preds = %2
%14 = getelementptr inbounds i8*, i8** %1, i64 1
%15 = load i8*, i8** %14
%16 = tail call i64 @half(i8* %15)
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @str, i64 0, i64 0))
%18 = getelementptr inbounds i8*, i8** %1, i64 2
%19 = load i8*, i8** %18
%20 = tail call i32 @atoi(i8* %19)
%21 = getelementptr inbounds i8*, i8** %1, i64 3
%22 = load i8*, i8** %21
%23 = tail call i32 @atoi(i8* %22)
%24 = getelementptr inbounds i8*, i8** %1, i64 4
%25 = load i8*, i8** %24
%26 = call i32 @strcpy(i8* %8, i8* %25)
%27 = icmp sgt i32 %20, %23
br i1 %27, label %128, label %28
28: ; preds = %13
%29 = getelementptr inbounds [6 x i8*], [6 x i8*]* %3, i64 0, i64 0
%30 = getelementptr inbounds [6 x i8*], [6 x i8*]* %3, i64 0, i64 1
%31 = trunc i64 %16 to i32
%32 = getelementptr inbounds [6 x i8*], [6 x i8*]* %3, i64 0, i64 2
%33 = getelementptr inbounds [6 x i8*], [6 x i8*]* %3, i64 0, i64 3
%34 = getelementptr inbounds [6 x i8*], [6 x i8*]* %3, i64 0, i64 4
%35 = getelementptr inbounds [6 x i8*], [6 x i8*]* %3, i64 0, i64 5
%36 = sext i32 %20 to i64
%37 = add i32 %23, 1
br label %41
38: ; preds = %2
%39 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.2, i64 0, i64 0))
%40 = tail call i32 @exit(i32 0)
unreachable
41: ; preds = %28, %123
%42 = phi i64 [ %36, %28 ], [ %125, %123 ]
%43 = phi i32 [ 0, %28 ], [ %124, %123 ]
%44 = getelementptr inbounds [100 x i8], [100 x i8]* %5, i64 0, i64 %42
%45 = load i8, i8* %44
%46 = icmp eq i8 %45, 32
%47 = sext i32 %43 to i64
%48 = getelementptr inbounds [100 x i8], [100 x i8]* %4, i64 0, i64 %47
br i1 %46, label %49, label %121
49: ; preds = %41
store i8 0, i8* %48
%50 = call i32 @bcmp(i8* dereferenceable(6) %7, i8* dereferenceable(6) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i64 6)
%51 = icmp eq i32 %50, 0
br i1 %51, label %52, label %71
52: ; preds = %49
%53 = call i64 @malloc(i32 8)
%54 = inttoptr i64 %53 to i8*
store i8* %54, i8** %29
%55 = call i32 @strcpy(i8* %54, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0))
%56 = call i64 @malloc(i32 100)
%57 = inttoptr i64 %56 to i8*
store i8* %57, i8** %30
%58 = call i32 @sprintf(i8* dereferenceable(1) %57, i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i32 %31)
%59 = call i64 @malloc(i32 10)
%60 = inttoptr i64 %59 to i8*
store i8* %60, i8** %32
%61 = trunc i64 %42 to i32
%62 = call i32 @sprintf(i8* dereferenceable(1) %60, i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32 %61)
%63 = call i64 @malloc(i32 10)
%64 = inttoptr i64 %63 to i8*
store i8* %64, i8** %33
%65 = call i32 @sprintf(i8* dereferenceable(1) %64, i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32 %23)
%66 = call i64 @malloc(i32 %23)
%67 = inttoptr i64 %66 to i8*
store i8* %67, i8** %34
%68 = call i32 @strcpy(i8* %67, i8* %8)
store i8* null, i8** %35
%69 = call i32 @execvp(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0), i8** %29)
%70 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @str.16, i64 0, i64 0))
br label %123
71: ; preds = %49
%72 = call i32 @bcmp(i8* dereferenceable(7) %7, i8* dereferenceable(7) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.8, i64 0, i64 0), i64 7)
%73 = icmp eq i32 %72, 0
br i1 %73, label %74, label %93
74: ; preds = %71
%75 = call i64 @malloc(i32 8)
%76 = inttoptr i64 %75 to i8*
store i8* %76, i8** %29
%77 = call i32 @strcpy(i8* %76, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.9, i64 0, i64 0))
%78 = call i64 @malloc(i32 100)
%79 = inttoptr i64 %78 to i8*
store i8* %79, i8** %30
%80 = call i32 @sprintf(i8* dereferenceable(1) %79, i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i32 %31)
%81 = call i64 @malloc(i32 10)
%82 = inttoptr i64 %81 to i8*
store i8* %82, i8** %32
%83 = trunc i64 %42 to i32
%84 = call i32 @sprintf(i8* dereferenceable(1) %82, i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32 %83)
%85 = call i64 @malloc(i32 10)
%86 = inttoptr i64 %85 to i8*
store i8* %86, i8** %33
%87 = call i32 @sprintf(i8* dereferenceable(1) %86, i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32 %23)
%88 = call i64 @malloc(i32 %23)
%89 = inttoptr i64 %88 to i8*
store i8* %89, i8** %34
%90 = call i32 @strcpy(i8* %89, i8* %8)
store i8* null, i8** %35
%91 = call i32 @execvp(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.9, i64 0, i64 0), i8** %29)
%92 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @str.16, i64 0, i64 0))
br label %123
93: ; preds = %71
%94 = call i32 @bcmp(i8* dereferenceable(5) %7, i8* dereferenceable(5) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0), i64 5)
%95 = icmp eq i32 %94, 0
br i1 %95, label %96, label %115
96: ; preds = %93
%97 = call i64 @malloc(i32 8)
%98 = inttoptr i64 %97 to i8*
store i8* %98, i8** %29
%99 = call i32 @strcpy(i8* %98, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.11, i64 0, i64 0))
%100 = call i64 @malloc(i32 100)
%101 = inttoptr i64 %100 to i8*
store i8* %101, i8** %30
%102 = call i32 @sprintf(i8* dereferenceable(1) %101, i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i32 %31)
%103 = call i64 @malloc(i32 10)
%104 = inttoptr i64 %103 to i8*
store i8* %104, i8** %32
%105 = trunc i64 %42 to i32
%106 = call i32 @sprintf(i8* dereferenceable(1) %104, i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32 %105)
%107 = call i64 @malloc(i32 10)
%108 = inttoptr i64 %107 to i8*
store i8* %108, i8** %33
%109 = call i32 @sprintf(i8* dereferenceable(1) %108, i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32 %23)
%110 = call i64 @malloc(i32 %23)
%111 = inttoptr i64 %110 to i8*
store i8* %111, i8** %34
%112 = call i32 @strcpy(i8* %111, i8* %8)
store i8* null, i8** %35
%113 = call i32 @execvp(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.11, i64 0, i64 0), i8** %29)
%114 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @str.16, i64 0, i64 0))
br label %123
115: ; preds = %93
%116 = load i8, i8* %7
%117 = icmp eq i8 %116, 0
br i1 %117, label %123, label %118
118: ; preds = %115
%119 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.12, i64 0, i64 0), i8* %7)
%120 = call i32 @exit(i32 0)
unreachable
121: ; preds = %41
store i8 %45, i8* %48
%122 = add nsw i32 %43, 1
br label %123
123: ; preds = %121, %74, %115, %96, %52
%124 = phi i32 [ %43, %115 ], [ %43, %96 ], [ %43, %74 ], [ %43, %52 ], [ %122, %121 ]
%125 = add nsw i64 %42, 1
%126 = trunc i64 %125 to i32
%127 = icmp eq i32 %37, %126
br i1 %127, label %128, label %41
128: ; preds = %123, %13
%129 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.13, i64 0, i64 0), i64 %16)
ret i32 0
}