#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 /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ priorityScheduler(int *, int *, int *);
int /*<<< orphan*/ roundrobin(int *, int *, int *);
int /*<<< orphan*/ scanf(char *, int *);
int main() {
  int process[5];
  int burstTime[5];
  int priority[5];
  int arrival[5] = {0};
  int pr, bu, pri;
  int i;
  for (i = 0; i < 5; i++) {
    printf("Please enter process name, burst time and priority $ ");
    scanf("%d", &pr);
    scanf("%d", &bu);
    scanf("%d", &pri);
    process[i] = pr;
    burstTime[i] = bu;
    priority[i] = pri;
  }
  printf("Original process order.\n");
  for (i = 0; i < 5; i++) {
    printf("P[%d]\t", process[i]);
  }
  priorityScheduler(process, burstTime, priority);
  printf("\n");
  printf("After priority order\n");
  for (i = 0; i < 5; i++) {
    printf("P[%d]\t", process[i]);
  }
  printf("Now roundrobin time \n");
  roundrobin(process, arrival, burstTime);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x90,%rsp
movl   $0x0,-0x4(%rbp)
lea    -0x80(%rbp),%rdi
xor    %esi,%esi
mov    $0x14,%edx
call   1050 <memset@plt>
movl   $0x0,-0x90(%rbp)
cmpl   $0x5,-0x90(%rbp)
jge    1217 <main+0xc7>
lea    0xe70(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xe98(%rip),%rdi
lea    -0x84(%rbp),%rsi
call   1070 <scanf@plt>
lea    0xe85(%rip),%rdi
lea    -0x88(%rbp),%rsi
call   1070 <scanf@plt>
lea    0xe72(%rip),%rdi
lea    -0x8c(%rbp),%rsi
call   1070 <scanf@plt>
mov    -0x84(%rbp),%ecx
movslq -0x90(%rbp),%rax
mov    %ecx,-0x20(%rbp,%rax,4)
mov    -0x88(%rbp),%ecx
movslq -0x90(%rbp),%rax
mov    %ecx,-0x40(%rbp,%rax,4)
mov    -0x8c(%rbp),%ecx
movslq -0x90(%rbp),%rax
mov    %ecx,-0x60(%rbp,%rax,4)
mov    -0x90(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x90(%rbp)
jmp    117c <main+0x2c>
lea    0xe1b(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x90(%rbp)
cmpl   $0x5,-0x90(%rbp)
jge    1269 <main+0x119>
movslq -0x90(%rbp),%rax
mov    -0x20(%rbp,%rax,4),%esi
lea    0xe04(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x90(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x90(%rbp)
jmp    122f <main+0xdf>
lea    -0x20(%rbp),%rdi
lea    -0x40(%rbp),%rsi
lea    -0x60(%rbp),%rdx
call   1030 <priorityScheduler@plt>
lea    0xe02(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xdca(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x90(%rbp)
cmpl   $0x5,-0x90(%rbp)
jge    12da <main+0x18a>
movslq -0x90(%rbp),%rax
mov    -0x20(%rbp,%rax,4),%esi
lea    0xd93(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x90(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x90(%rbp)
jmp    12a0 <main+0x150>
lea    0xd8e(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    -0x20(%rbp),%rdi
lea    -0x80(%rbp),%rsi
lea    -0x40(%rbp),%rdx
call   1060 <roundrobin@plt>
xor    %eax,%eax
add    $0x90,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x88,%rsp
xorps  %xmm0,%xmm0
movaps %xmm0,0x70(%rsp)
movl   $0x0,0x80(%rsp)
lea    0xe75(%rip),%r14
mov    %r14,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
lea    0xe9a(%rip),%rbx
lea    0xc(%rsp),%r15
mov    %rbx,%rdi
mov    %r15,%rsi
call   1080 <scanf@plt>
lea    0x8(%rsp),%r12
mov    %rbx,%rdi
mov    %r12,%rsi
call   1080 <scanf@plt>
lea    0x4(%rsp),%r13
mov    %rbx,%rdi
mov    %r13,%rsi
call   1080 <scanf@plt>
mov    0xc(%rsp),%eax
mov    %eax,0x2c(%rsp)
mov    %eax,0x10(%rsp)
mov    0x8(%rsp),%eax
mov    %eax,0x50(%rsp)
mov    0x4(%rsp),%eax
mov    %eax,0x30(%rsp)
mov    %r14,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
call   1080 <scanf@plt>
mov    %rbx,%rdi
mov    %r12,%rsi
call   1080 <scanf@plt>
mov    %rbx,%rdi
mov    %r13,%rsi
call   1080 <scanf@plt>
mov    0xc(%rsp),%eax
mov    %eax,0x28(%rsp)
mov    %eax,0x14(%rsp)
mov    0x8(%rsp),%eax
mov    %eax,0x54(%rsp)
mov    0x4(%rsp),%eax
mov    %eax,0x34(%rsp)
mov    %r14,%rdi
mov    %r14,%rbp
xor    %eax,%eax
call   1060 <printf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
call   1080 <scanf@plt>
mov    %rbx,%rdi
mov    %r12,%rsi
call   1080 <scanf@plt>
mov    %rbx,%rdi
mov    %r13,%rsi
call   1080 <scanf@plt>
mov    0xc(%rsp),%r14d
mov    %r14d,0x18(%rsp)
mov    0x8(%rsp),%eax
mov    %eax,0x58(%rsp)
mov    0x4(%rsp),%eax
mov    %eax,0x38(%rsp)
mov    %rbp,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
call   1080 <scanf@plt>
mov    %rbx,%rdi
mov    %r12,%rsi
mov    %r12,%rbp
call   1080 <scanf@plt>
mov    %rbx,%rdi
mov    %r13,%rsi
call   1080 <scanf@plt>
mov    0xc(%rsp),%r12d
mov    %r12d,0x1c(%rsp)
mov    0x8(%rsp),%eax
mov    %eax,0x5c(%rsp)
mov    0x4(%rsp),%eax
mov    %eax,0x3c(%rsp)
lea    0xd3a(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
call   1080 <scanf@plt>
mov    %rbx,%rdi
mov    %rbp,%rsi
call   1080 <scanf@plt>
mov    %rbx,%rdi
mov    %r13,%rsi
call   1080 <scanf@plt>
mov    0xc(%rsp),%ebp
mov    %ebp,0x20(%rsp)
mov    0x8(%rsp),%eax
mov    %eax,0x60(%rsp)
mov    0x4(%rsp),%eax
mov    %eax,0x40(%rsp)
lea    0xd33(%rip),%rdi
call   1040 <puts@plt>
lea    0xd20(%rip),%rbx
mov    %rbx,%rdi
mov    0x2c(%rsp),%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %rbx,%rdi
mov    0x28(%rsp),%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %rbx,%rdi
mov    %r14d,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %rbx,%rdi
mov    %r12d,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1060 <printf@plt>
lea    0x10(%rsp),%rbp
lea    0x50(%rsp),%r14
lea    0x30(%rsp),%rdx
mov    %rbp,%rdi
mov    %r14,%rsi
call   1050 <priorityScheduler@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xcd2(%rip),%rdi
call   1040 <puts@plt>
mov    0x10(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x14(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x18(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x1c(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x20(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
lea    0xc95(%rip),%rdi
call   1040 <puts@plt>
lea    0x70(%rsp),%rsi
mov    %rbp,%rdi
mov    %r14,%rdx
call   1070 <roundrobin@plt>
xor    %eax,%eax
add    $0x88,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [54 x i8] c"Please enter process name, burst time and priority $ \00"
@.str.1 = [3 x i8] c"%d\00"
@.str.2 = [25 x i8] c"Original process order.\0A\00"
@.str.3 = [7 x i8] c"P[%d]\09\00"
@.str.4 = [2 x i8] c"\0A\00"
@.str.5 = [22 x i8] c"After priority order\0A\00"
@.str.6 = [22 x i8] c"Now roundrobin time \0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [5 x i32]
%3 = alloca [5 x i32]
%4 = alloca [5 x i32]
%5 = alloca [5 x i32]
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
store i32 0, i32* %1
%10 = bitcast [5 x i32]* %5 to i8*
store i32 0, i32* %9
br label %11
11: ; preds = %31, %0
%12 = load i32, i32* %9
%13 = icmp slt i32 %12, 5
br i1 %13, label %14, label %34
14: ; preds = %11
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str, i64 0, i64 0))
%16 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %6)
%17 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %7)
%18 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %8)
%19 = load i32, i32* %6
%20 = load i32, i32* %9
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [5 x i32], [5 x i32]* %2, i64 0, i64 %21
store i32 %19, i32* %22
%23 = load i32, i32* %7
%24 = load i32, i32* %9
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [5 x i32], [5 x i32]* %3, i64 0, i64 %25
store i32 %23, i32* %26
%27 = load i32, i32* %8
%28 = load i32, i32* %9
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [5 x i32], [5 x i32]* %4, i64 0, i64 %29
store i32 %27, i32* %30
br label %31
31: ; preds = %14
%32 = load i32, i32* %9
%33 = add nsw i32 %32, 1
store i32 %33, i32* %9
br label %11
34: ; preds = %11
%35 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.2, i64 0, i64 0))
store i32 0, i32* %9
br label %36
36: ; preds = %45, %34
%37 = load i32, i32* %9
%38 = icmp slt i32 %37, 5
br i1 %38, label %39, label %48
39: ; preds = %36
%40 = load i32, i32* %9
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [5 x i32], [5 x i32]* %2, i64 0, i64 %41
%43 = load i32, i32* %42
%44 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 %43)
br label %45
45: ; preds = %39
%46 = load i32, i32* %9
%47 = add nsw i32 %46, 1
store i32 %47, i32* %9
br label %36
48: ; preds = %36
%49 = getelementptr inbounds [5 x i32], [5 x i32]* %2, i64 0, i64 0
%50 = getelementptr inbounds [5 x i32], [5 x i32]* %3, i64 0, i64 0
%51 = getelementptr inbounds [5 x i32], [5 x i32]* %4, i64 0, i64 0
%52 = call i32 @priorityScheduler(i32* %49, i32* %50, i32* %51)
%53 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%54 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.5, i64 0, i64 0))
store i32 0, i32* %9
br label %55
55: ; preds = %64, %48
%56 = load i32, i32* %9
%57 = icmp slt i32 %56, 5
br i1 %57, label %58, label %67
58: ; preds = %55
%59 = load i32, i32* %9
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [5 x i32], [5 x i32]* %2, i64 0, i64 %60
%62 = load i32, i32* %61
%63 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 %62)
br label %64
64: ; preds = %58
%65 = load i32, i32* %9
%66 = add nsw i32 %65, 1
store i32 %66, i32* %9
br label %55
67: ; preds = %55
%68 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.6, i64 0, i64 0))
%69 = getelementptr inbounds [5 x i32], [5 x i32]* %2, i64 0, i64 0
%70 = getelementptr inbounds [5 x i32], [5 x i32]* %5, i64 0, i64 0
%71 = getelementptr inbounds [5 x i32], [5 x i32]* %3, i64 0, i64 0
%72 = call i32 @roundrobin(i32* %69, i32* %70, i32* %71)
ret i32 0
}

LLVM IR (-O2):
@.str = [54 x i8] c"Please enter process name, burst time and priority $ \00"
@.str.1 = [3 x i8] c"%d\00"
@.str.3 = [7 x i8] c"P[%d]\09\00"
@str = [24 x i8] c"Original process order.\00"
@str.7 = [21 x i8] c"After priority order\00"
@str.8 = [21 x i8] c"Now roundrobin time \00"
define i32 @main() {
%1 = alloca [5 x i32]
%2 = alloca [5 x i32]
%3 = alloca [5 x i32]
%4 = alloca [5 x i32]
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = bitcast [5 x i32]* %1 to i8*
%9 = bitcast [5 x i32]* %2 to i8*
%10 = bitcast [5 x i32]* %3 to i8*
%11 = bitcast [5 x i32]* %4 to i8*
%12 = bitcast i32* %5 to i8*
%13 = bitcast i32* %6 to i8*
%14 = bitcast i32* %7 to i8*
%15 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @.str, i64 0, i64 0))
%16 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %5)
%17 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %6)
%18 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %7)
%19 = load i32, i32* %5
%20 = getelementptr inbounds [5 x i32], [5 x i32]* %1, i64 0, i64 0
store i32 %19, i32* %20
%21 = load i32, i32* %6
%22 = getelementptr inbounds [5 x i32], [5 x i32]* %2, i64 0, i64 0
store i32 %21, i32* %22
%23 = load i32, i32* %7
%24 = getelementptr inbounds [5 x i32], [5 x i32]* %3, i64 0, i64 0
store i32 %23, i32* %24
%25 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @.str, i64 0, i64 0))
%26 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %5)
%27 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %6)
%28 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %7)
%29 = load i32, i32* %5
%30 = getelementptr inbounds [5 x i32], [5 x i32]* %1, i64 0, i64 1
store i32 %29, i32* %30
%31 = load i32, i32* %6
%32 = getelementptr inbounds [5 x i32], [5 x i32]* %2, i64 0, i64 1
store i32 %31, i32* %32
%33 = load i32, i32* %7
%34 = getelementptr inbounds [5 x i32], [5 x i32]* %3, i64 0, i64 1
store i32 %33, i32* %34
%35 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @.str, i64 0, i64 0))
%36 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %5)
%37 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %6)
%38 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %7)
%39 = load i32, i32* %5
%40 = getelementptr inbounds [5 x i32], [5 x i32]* %1, i64 0, i64 2
store i32 %39, i32* %40
%41 = load i32, i32* %6
%42 = getelementptr inbounds [5 x i32], [5 x i32]* %2, i64 0, i64 2
store i32 %41, i32* %42
%43 = load i32, i32* %7
%44 = getelementptr inbounds [5 x i32], [5 x i32]* %3, i64 0, i64 2
store i32 %43, i32* %44
%45 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @.str, i64 0, i64 0))
%46 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %5)
%47 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %6)
%48 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %7)
%49 = load i32, i32* %5
%50 = getelementptr inbounds [5 x i32], [5 x i32]* %1, i64 0, i64 3
store i32 %49, i32* %50
%51 = load i32, i32* %6
%52 = getelementptr inbounds [5 x i32], [5 x i32]* %2, i64 0, i64 3
store i32 %51, i32* %52
%53 = load i32, i32* %7
%54 = getelementptr inbounds [5 x i32], [5 x i32]* %3, i64 0, i64 3
store i32 %53, i32* %54
%55 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @.str, i64 0, i64 0))
%56 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %5)
%57 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %6)
%58 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %7)
%59 = load i32, i32* %5
%60 = getelementptr inbounds [5 x i32], [5 x i32]* %1, i64 0, i64 4
store i32 %59, i32* %60
%61 = load i32, i32* %6
%62 = getelementptr inbounds [5 x i32], [5 x i32]* %2, i64 0, i64 4
store i32 %61, i32* %62
%63 = load i32, i32* %7
%64 = getelementptr inbounds [5 x i32], [5 x i32]* %3, i64 0, i64 4
store i32 %63, i32* %64
%65 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @str, i64 0, i64 0))
%66 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 %19)
%67 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 %29)
%68 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 %39)
%69 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 %49)
%70 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 %59)
%71 = call i32 @priorityScheduler(i32* %20, i32* %22, i32* %24)
%72 = call i32 @putchar(i32 10)
%73 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @str.7, i64 0, i64 0))
%74 = load i32, i32* %20
%75 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 %74)
%76 = load i32, i32* %30
%77 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 %76)
%78 = load i32, i32* %40
%79 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 %78)
%80 = load i32, i32* %50
%81 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 %80)
%82 = load i32, i32* %60
%83 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 %82)
%84 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @str.8, i64 0, i64 0))
%85 = getelementptr inbounds [5 x i32], [5 x i32]* %4, i64 0, i64 0
%86 = call i32 @roundrobin(i32* %20, i32* %85, i32* %22)
ret i32 0
}