#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 */
struct sched_param {
  int sched_priority;
};

/* Variables and functions */
scalar_t__ EINVAL;
scalar_t__ ESRCH;
scalar_t__ errno;
int /*<<< orphan*/ fflush(int /*<<< orphan*/);
int getpid();
int /*<<< orphan*/ perror(char *);
int /*<<< orphan*/ printf(char *);
int sched_getparam(int, struct sched_param *);
int sched_setparam(int, struct sched_param *);
int /*<<< orphan*/ stdout;
int test_schedparam(void) {
  int err;
  struct sched_param param;
  printf("Test sched_getparam()...");
  err = sched_getparam(getpid(), &param);
  if (err < 0) {
    fflush(stdout);
    perror("failed");
    return -1;
  }
  if (param.sched_priority == 0) {
    printf("passed\n");
  } else {
    printf("unexpected sched priority\n");
  }
  printf("Test sched_getparam() (ESRCH)...");
  err = sched_getparam(-1, &param);
  if ((err == 0) || (errno != ESRCH)) {
    fflush(stdout);
    perror("should have failed with ESRCH");
    return -1;
  } else {
    errno = 0;
    printf("passed\n");
  }
  printf("Test sched_setparam()...");
  param.sched_priority = 0;
  err = sched_setparam(getpid(), &param);
  if (err < 0) {
    fflush(stdout);
    perror("failed");
    return -1;
  }
  if (param.sched_priority == 0) {
    printf("passed\n");
  } else {
    printf("unexpected sched priority\n");
  }
  printf("Test sched_setparam() (EINVAL)...");
  param.sched_priority = 100;
  err = sched_setparam(getpid(), &param);
  if ((err == 0) || (errno != EINVAL)) {
    fflush(stdout);
    perror("should have failed with EINVAL");
    return -1;
  } else {
    errno = 0;
    printf("passed\n");
  }
  printf("Test sched_setparam() (ESRCH)...");
  err = sched_setparam(-1, &param);
  if ((err == 0) || (errno != ESRCH)) {
    fflush(stdout);
    perror("should have failed with ESRCH");
    return -1;
  } else {
    errno = 0;
    printf("passed\n");
  }
  return 0;
}


x86 assembly (clang, -O0):
<test_schedparam>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
lea    0xe91(%rip),%rdi
call   1040 <printf@plt>
mov    $0x0,%al
call   1030 <getpid@plt>
mov    %eax,%edi
lea    -0x10(%rbp),%rsi
call   1050 <sched_getparam@plt>
mov    %eax,-0x8(%rbp)
cmpl   $0x0,-0x8(%rbp)
jge    11b9 <test_schedparam+0x59>
mov    0x2e36(%rip),%rax
mov    (%rax),%edi
call   1060 <fflush@plt>
lea    0xe71(%rip),%rdi
call   1070 <perror@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    13f4 <test_schedparam+0x294>
cmpl   $0x0,-0x10(%rbp)
jne    11d4 <test_schedparam+0x74>
lea    0xe56(%rip),%rdi
call   1040 <printf@plt>
jmp    11e0 <test_schedparam+0x80>
lea    0xe4d(%rip),%rdi
call   1040 <printf@plt>
lea    0xe5c(%rip),%rdi
call   1040 <printf@plt>
mov    $0xffffffff,%edi
lea    -0x10(%rbp),%rsi
call   1050 <sched_getparam@plt>
mov    %eax,-0x8(%rbp)
cmpl   $0x0,-0x8(%rbp)
je     1221 <test_schedparam+0xc1>
mov    0x2dd2(%rip),%rax
mov    (%rax),%rax
mov    0x2da8(%rip),%rcx
cmp    (%rcx),%rax
je     1247 <test_schedparam+0xe7>
mov    0x2da8(%rip),%rax
mov    (%rax),%edi
call   1060 <fflush@plt>
lea    0xe2e(%rip),%rdi
call   1070 <perror@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    13f4 <test_schedparam+0x294>
mov    0x2d92(%rip),%rax
movq   $0x0,(%rax)
lea    0xdc4(%rip),%rdi
call   1040 <printf@plt>
lea    0xe1a(%rip),%rdi
call   1040 <printf@plt>
movl   $0x0,-0x10(%rbp)
mov    $0x0,%al
call   1030 <getpid@plt>
mov    %eax,%edi
lea    -0x10(%rbp),%rsi
call   1080 <sched_setparam@plt>
mov    %eax,-0x8(%rbp)
cmpl   $0x0,-0x8(%rbp)
jge    12b9 <test_schedparam+0x159>
mov    0x2d36(%rip),%rax
mov    (%rax),%edi
call   1060 <fflush@plt>
lea    0xd71(%rip),%rdi
call   1070 <perror@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    13f4 <test_schedparam+0x294>
cmpl   $0x0,-0x10(%rbp)
jne    12d4 <test_schedparam+0x174>
lea    0xd56(%rip),%rdi
call   1040 <printf@plt>
jmp    12e0 <test_schedparam+0x180>
lea    0xd4d(%rip),%rdi
call   1040 <printf@plt>
lea    0xdb4(%rip),%rdi
call   1040 <printf@plt>
movl   $0x64,-0x10(%rbp)
mov    $0x0,%al
call   1030 <getpid@plt>
mov    %eax,%edi
lea    -0x10(%rbp),%rsi
call   1080 <sched_setparam@plt>
mov    %eax,-0x8(%rbp)
cmpl   $0x0,-0x8(%rbp)
je     132c <test_schedparam+0x1cc>
mov    0x2cc7(%rip),%rax
mov    (%rax),%rax
mov    0x2cb5(%rip),%rcx
cmp    (%rcx),%rax
je     1352 <test_schedparam+0x1f2>
mov    0x2c9d(%rip),%rax
mov    (%rax),%edi
call   1060 <fflush@plt>
lea    0xd7c(%rip),%rdi
call   1070 <perror@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    13f4 <test_schedparam+0x294>
mov    0x2c87(%rip),%rax
movq   $0x0,(%rax)
lea    0xcb9(%rip),%rdi
call   1040 <printf@plt>
lea    0xd69(%rip),%rdi
call   1040 <printf@plt>
mov    $0xffffffff,%edi
lea    -0x10(%rbp),%rsi
call   1080 <sched_setparam@plt>
mov    %eax,-0x8(%rbp)
cmpl   $0x0,-0x8(%rbp)
je     13ad <test_schedparam+0x24d>
mov    0x2c46(%rip),%rax
mov    (%rax),%rax
mov    0x2c1c(%rip),%rcx
cmp    (%rcx),%rax
je     13d3 <test_schedparam+0x273>
mov    0x2c1c(%rip),%rax
mov    (%rax),%edi
call   1060 <fflush@plt>
lea    0xca2(%rip),%rdi
call   1070 <perror@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    13f4 <test_schedparam+0x294>
mov    0x2c06(%rip),%rax
movq   $0x0,(%rax)
lea    0xc38(%rip),%rdi
call   1040 <printf@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<test_schedparam>:
push   %rbp
push   %r15
push   %r14
push   %rbx
push   %rax
lea    0xe82(%rip),%rdi
call   1050 <printf@plt>
xor    %eax,%eax
call   1040 <getpid@plt>
mov    %rsp,%rsi
mov    %eax,%edi
call   1060 <sched_getparam@plt>
test   %eax,%eax
js     12f8 <test_schedparam+0x188>
cmpl   $0x0,(%rsp)
lea    0xf4d(%rip),%rdi
lea    0xf2c(%rip),%rbx
cmovne %rbx,%rdi
call   1030 <puts@plt>
lea    0xe62(%rip),%rdi
call   1050 <printf@plt>
mov    $0xffffffff,%ebp
mov    %rsp,%rsi
mov    $0xffffffff,%edi
call   1060 <sched_getparam@plt>
test   %eax,%eax
je     12dc <test_schedparam+0x16c>
mov    0x2dfc(%rip),%r14
mov    (%r14),%rax
mov    0x2dd2(%rip),%r15
cmp    (%r15),%rax
jne    12dc <test_schedparam+0x16c>
movq   $0x0,(%r14)
lea    0xeef(%rip),%rbp
mov    %rbp,%rdi
call   1030 <puts@plt>
lea    0xe4b(%rip),%rdi
call   1050 <printf@plt>
movl   $0x0,(%rsp)
xor    %eax,%eax
call   1040 <getpid@plt>
mov    %rsp,%rsi
mov    %eax,%edi
call   1090 <sched_setparam@plt>
test   %eax,%eax
js     12f8 <test_schedparam+0x188>
cmpl   $0x0,(%rsp)
cmove  %rbp,%rbx
mov    %rbx,%rdi
call   1030 <puts@plt>
lea    0xe28(%rip),%rdi
call   1050 <printf@plt>
movl   $0x64,(%rsp)
xor    %eax,%eax
call   1040 <getpid@plt>
mov    %rsp,%rsi
mov    %eax,%edi
call   1090 <sched_setparam@plt>
test   %eax,%eax
je     130f <test_schedparam+0x19f>
mov    (%r14),%rax
mov    0x2d59(%rip),%rcx
cmp    (%rcx),%rax
jne    130f <test_schedparam+0x19f>
movq   $0x0,(%r14)
lea    0xe5e(%rip),%rdi
call   1030 <puts@plt>
lea    0xe17(%rip),%rdi
call   1050 <printf@plt>
mov    $0xffffffff,%ebp
mov    %rsp,%rsi
mov    $0xffffffff,%edi
call   1090 <sched_setparam@plt>
test   %eax,%eax
je     12dc <test_schedparam+0x16c>
mov    (%r14),%rax
cmp    (%r15),%rax
jne    12dc <test_schedparam+0x16c>
movq   $0x0,(%r14)
lea    0xe21(%rip),%rdi
call   1030 <puts@plt>
xor    %ebp,%ebp
jmp    132e <test_schedparam+0x1be>
mov    0x2ced(%rip),%rax
mov    (%rax),%edi
call   1070 <fflush@plt>
lea    0xd50(%rip),%rdi
call   1080 <perror@plt>
jmp    132e <test_schedparam+0x1be>
mov    0x2cd1(%rip),%rax
mov    (%rax),%edi
call   1070 <fflush@plt>
lea    0xd0c(%rip),%rdi
jmp    1324 <test_schedparam+0x1b4>
mov    0x2cba(%rip),%rax
mov    (%rax),%edi
call   1070 <fflush@plt>
lea    0xd76(%rip),%rdi
call   1080 <perror@plt>
mov    $0xffffffff,%ebp
mov    %ebp,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
%struct.sched_param = type { i32 }
@.str = [25 x i8] c"Test sched_getparam()...\00"
@stdout = global i32 0
@.str.1 = [7 x i8] c"failed\00"
@.str.2 = [8 x i8] c"passed\0A\00"
@.str.3 = [27 x i8] c"unexpected sched priority\0A\00"
@.str.4 = [33 x i8] c"Test sched_getparam() (ESRCH)...\00"
@errno = global i64 0
@ESRCH = global i64 0
@.str.5 = [30 x i8] c"should have failed with ESRCH\00"
@.str.6 = [25 x i8] c"Test sched_setparam()...\00"
@.str.7 = [34 x i8] c"Test sched_setparam() (EINVAL)...\00"
@EINVAL = global i64 0
@.str.8 = [31 x i8] c"should have failed with EINVAL\00"
@.str.9 = [33 x i8] c"Test sched_setparam() (ESRCH)...\00"
define i32 @test_schedparam() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca %struct.sched_param
%4 = call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str, i64 0, i64 0))
%5 = call i32 (...) @getpid()
%6 = call i32 @sched_getparam(i32 %5, %struct.sched_param* %3)
store i32 %6, i32* %2
%7 = load i32, i32* %2
%8 = icmp slt i32 %7, 0
br i1 %8, label %9, label %13
9: ; preds = %0
%10 = load i32, i32* @stdout
%11 = call i32 @fflush(i32 %10)
%12 = call i32 @perror(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0))
store i32 -1, i32* %1
br label %88
13: ; preds = %0
%14 = getelementptr inbounds %struct.sched_param, %struct.sched_param* %3, i32 0, i32 0
%15 = load i32, i32* %14
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %13
%18 = call i32 @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0))
br label %21
19: ; preds = %13
%20 = call i32 @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.3, i64 0, i64 0))
br label %21
21: ; preds = %19, %17
%22 = call i32 @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.4, i64 0, i64 0))
%23 = call i32 @sched_getparam(i32 -1, %struct.sched_param* %3)
store i32 %23, i32* %2
%24 = load i32, i32* %2
%25 = icmp eq i32 %24, 0
br i1 %25, label %30, label %26
26: ; preds = %21
%27 = load i64, i64* @errno
%28 = load i64, i64* @ESRCH
%29 = icmp ne i64 %27, %28
br i1 %29, label %30, label %34
30: ; preds = %26, %21
%31 = load i32, i32* @stdout
%32 = call i32 @fflush(i32 %31)
%33 = call i32 @perror(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.5, i64 0, i64 0))
store i32 -1, i32* %1
br label %88
34: ; preds = %26
store i64 0, i64* @errno
%35 = call i32 @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0))
br label %36
36: ; preds = %34
%37 = call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.6, i64 0, i64 0))
%38 = getelementptr inbounds %struct.sched_param, %struct.sched_param* %3, i32 0, i32 0
store i32 0, i32* %38
%39 = call i32 (...) @getpid()
%40 = call i32 @sched_setparam(i32 %39, %struct.sched_param* %3)
store i32 %40, i32* %2
%41 = load i32, i32* %2
%42 = icmp slt i32 %41, 0
br i1 %42, label %43, label %47
43: ; preds = %36
%44 = load i32, i32* @stdout
%45 = call i32 @fflush(i32 %44)
%46 = call i32 @perror(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0))
store i32 -1, i32* %1
br label %88
47: ; preds = %36
%48 = getelementptr inbounds %struct.sched_param, %struct.sched_param* %3, i32 0, i32 0
%49 = load i32, i32* %48
%50 = icmp eq i32 %49, 0
br i1 %50, label %51, label %53
51: ; preds = %47
%52 = call i32 @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0))
br label %55
53: ; preds = %47
%54 = call i32 @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.3, i64 0, i64 0))
br label %55
55: ; preds = %53, %51
%56 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.7, i64 0, i64 0))
%57 = getelementptr inbounds %struct.sched_param, %struct.sched_param* %3, i32 0, i32 0
store i32 100, i32* %57
%58 = call i32 (...) @getpid()
%59 = call i32 @sched_setparam(i32 %58, %struct.sched_param* %3)
store i32 %59, i32* %2
%60 = load i32, i32* %2
%61 = icmp eq i32 %60, 0
br i1 %61, label %66, label %62
62: ; preds = %55
%63 = load i64, i64* @errno
%64 = load i64, i64* @EINVAL
%65 = icmp ne i64 %63, %64
br i1 %65, label %66, label %70
66: ; preds = %62, %55
%67 = load i32, i32* @stdout
%68 = call i32 @fflush(i32 %67)
%69 = call i32 @perror(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.8, i64 0, i64 0))
store i32 -1, i32* %1
br label %88
70: ; preds = %62
store i64 0, i64* @errno
%71 = call i32 @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0))
br label %72
72: ; preds = %70
%73 = call i32 @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.9, i64 0, i64 0))
%74 = call i32 @sched_setparam(i32 -1, %struct.sched_param* %3)
store i32 %74, i32* %2
%75 = load i32, i32* %2
%76 = icmp eq i32 %75, 0
br i1 %76, label %81, label %77
77: ; preds = %72
%78 = load i64, i64* @errno
%79 = load i64, i64* @ESRCH
%80 = icmp ne i64 %78, %79
br i1 %80, label %81, label %85
81: ; preds = %77, %72
%82 = load i32, i32* @stdout
%83 = call i32 @fflush(i32 %82)
%84 = call i32 @perror(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.5, i64 0, i64 0))
store i32 -1, i32* %1
br label %88
85: ; preds = %77
store i64 0, i64* @errno
%86 = call i32 @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0))
br label %87
87: ; preds = %85
store i32 0, i32* %1
br label %88
88: ; preds = %87, %81, %66, %43, %30, %9
%89 = load i32, i32* %1
ret i32 %89
}

LLVM IR (-O2):
%struct.sched_param = type { i32 }
@.str = [25 x i8] c"Test sched_getparam()...\00"
@stdout = global i32 0
@.str.1 = [7 x i8] c"failed\00"
@.str.4 = [33 x i8] c"Test sched_getparam() (ESRCH)...\00"
@errno = global i64 0
@ESRCH = global i64 0
@.str.5 = [30 x i8] c"should have failed with ESRCH\00"
@.str.6 = [25 x i8] c"Test sched_setparam()...\00"
@.str.7 = [34 x i8] c"Test sched_setparam() (EINVAL)...\00"
@EINVAL = global i64 0
@.str.8 = [31 x i8] c"should have failed with EINVAL\00"
@.str.9 = [33 x i8] c"Test sched_setparam() (ESRCH)...\00"
@str.11 = [26 x i8] c"unexpected sched priority\00"
@str.15 = [7 x i8] c"passed\00"
define i32 @test_schedparam() {
%1 = alloca %struct.sched_param
%2 = bitcast %struct.sched_param* %1 to i8*
%3 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str, i64 0, i64 0))
%4 = tail call i32 (...) @getpid()
%5 = call i32 @sched_getparam(i32 %4, %struct.sched_param* %1)
%6 = icmp slt i32 %5, 0
br i1 %6, label %7, label %11
7: ; preds = %0
%8 = load i32, i32* @stdout
%9 = call i32 @fflush(i32 %8)
%10 = call i32 @perror(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0))
br label %70
11: ; preds = %0
%12 = getelementptr inbounds %struct.sched_param, %struct.sched_param* %1, i64 0, i32 0
%13 = load i32, i32* %12
%14 = icmp eq i32 %13, 0
%15 = select i1 %14, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @str.15, i64 0, i64 0), i8* getelementptr inbounds ([26 x i8], [26 x i8]* @str.11, i64 0, i64 0)
%16 = call i32 @puts(i8* dereferenceable(1) %15)
%17 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str.4, i64 0, i64 0))
%18 = call i32 @sched_getparam(i32 -1, %struct.sched_param* %1)
%19 = icmp eq i32 %18, 0
br i1 %19, label %24, label %20
20: ; preds = %11
%21 = load i64, i64* @errno
%22 = load i64, i64* @ESRCH
%23 = icmp eq i64 %21, %22
br i1 %23, label %28, label %24
24: ; preds = %20, %11
%25 = load i32, i32* @stdout
%26 = call i32 @fflush(i32 %25)
%27 = call i32 @perror(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.5, i64 0, i64 0))
br label %70
28: ; preds = %20
store i64 0, i64* @errno
%29 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @str.15, i64 0, i64 0))
%30 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.6, i64 0, i64 0))
store i32 0, i32* %12
%31 = call i32 (...) @getpid()
%32 = call i32 @sched_setparam(i32 %31, %struct.sched_param* %1)
%33 = icmp slt i32 %32, 0
br i1 %33, label %34, label %38
34: ; preds = %28
%35 = load i32, i32* @stdout
%36 = call i32 @fflush(i32 %35)
%37 = call i32 @perror(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0))
br label %70
38: ; preds = %28
%39 = load i32, i32* %12
%40 = icmp eq i32 %39, 0
%41 = select i1 %40, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @str.15, i64 0, i64 0), i8* getelementptr inbounds ([26 x i8], [26 x i8]* @str.11, i64 0, i64 0)
%42 = call i32 @puts(i8* dereferenceable(1) %41)
%43 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @.str.7, i64 0, i64 0))
store i32 100, i32* %12
%44 = call i32 (...) @getpid()
%45 = call i32 @sched_setparam(i32 %44, %struct.sched_param* %1)
%46 = icmp eq i32 %45, 0
br i1 %46, label %51, label %47
47: ; preds = %38
%48 = load i64, i64* @errno
%49 = load i64, i64* @EINVAL
%50 = icmp eq i64 %48, %49
br i1 %50, label %55, label %51
51: ; preds = %47, %38
%52 = load i32, i32* @stdout
%53 = call i32 @fflush(i32 %52)
%54 = call i32 @perror(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.8, i64 0, i64 0))
br label %70
55: ; preds = %47
store i64 0, i64* @errno
%56 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @str.15, i64 0, i64 0))
%57 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str.9, i64 0, i64 0))
%58 = call i32 @sched_setparam(i32 -1, %struct.sched_param* %1)
%59 = icmp eq i32 %58, 0
br i1 %59, label %64, label %60
60: ; preds = %55
%61 = load i64, i64* @errno
%62 = load i64, i64* @ESRCH
%63 = icmp eq i64 %61, %62
br i1 %63, label %68, label %64
64: ; preds = %60, %55
%65 = load i32, i32* @stdout
%66 = call i32 @fflush(i32 %65)
%67 = call i32 @perror(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.5, i64 0, i64 0))
br label %70
68: ; preds = %60
store i64 0, i64* @errno
%69 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @str.15, i64 0, i64 0))
br label %70
70: ; preds = %68, %64, %51, %34, %24, %7
%71 = phi i32 [ -1, %7 ], [ -1, %24 ], [ -1, %34 ], [ -1, %51 ], [ -1, %64 ], [ 0, %68 ]
ret i32 %71
}