#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*/ get_cpus;
typedef int /*<<< orphan*/ cpus;
typedef int /*<<< orphan*/ cpu_set_t;

/* Variables and functions */
int /*<<< orphan*/ CPU_EQUAL_S(int, int /*<<< orphan*/ *, int /*<<< orphan*/ *);
int /*<<< orphan*/ CPU_SET(int, int /*<<< orphan*/ *);
int /*<<< orphan*/ CPU_ZERO(int /*<<< orphan*/ *);
int /*<<< orphan*/ EXIT_FAILURE;
int /*<<< orphan*/ _SC_NPROCESSORS_ONLN;
int /*<<< orphan*/ err(int /*<<< orphan*/, char *);
int /*<<< orphan*/ errx(int /*<<< orphan*/, char *, ...);
int /*<<< orphan*/ printf(char *, ...);
int sched_getaffinity(int /*<<< orphan*/, int, int /*<<< orphan*/ *);
int sched_setaffinity(int /*<<< orphan*/, int, int /*<<< orphan*/ *);
long sysconf(int /*<<< orphan*/);
int main(int argc, const char **argv) {
  int ret;
  cpu_set_t cpus, get_cpus;
  long numprocs = sysconf(_SC_NPROCESSORS_ONLN);
  if (numprocs < 0) {
    err(EXIT_FAILURE, "Failed to retrieve the number of logical processors!");
  }
  for (long i = 0; i < numprocs; i++) {
    printf("Testing processor id: %ld\n", i);
    CPU_ZERO(&cpus);
    CPU_ZERO(&get_cpus);
    CPU_SET(i, &cpus);
    ret = sched_setaffinity(0, sizeof(cpus), &cpus);
    if (ret < 0) {
      errx(EXIT_FAILURE,
           "Failed to set affinity for current thread, core id: %ld", i);
    }
    ret = sched_getaffinity(0, sizeof(get_cpus), &get_cpus);
    if (ret < 0) {
      errx(EXIT_FAILURE,
           "Failed to get affinity for current thread, core id: %ld", i);
    }
    if (!CPU_EQUAL_S(sizeof(cpus), &cpus, &get_cpus)) {
      errx(EXIT_FAILURE, "The get cpu set is not equal to set on core id: %ld",
           i);
    }
  }
  if (numprocs >= 2) {
    CPU_ZERO(&cpus);
    CPU_ZERO(&get_cpus);
    CPU_SET(0, &cpus);
    CPU_SET(1, &cpus);
    ret = sched_setaffinity(0, sizeof(cpus), &cpus);
    if (ret < 0) {
      err(EXIT_FAILURE, "Failed to set multiple affinity for current thread");
    }
    ret = sched_getaffinity(0, sizeof(get_cpus), &get_cpus);
    if (ret < 0) {
      err(EXIT_FAILURE, "Failed to get multiple affinity for current thread");
    }
    if (!CPU_EQUAL_S(sizeof(cpus), &cpus, &get_cpus)) {
      errx(EXIT_FAILURE,
           "The get cpu set is not equal to set on core id: 0 & 1");
    }
  } else {
    printf("Multiple CPU affinity test skipped since only one core was "
           "identified\n");
  }
  printf("TEST OK\n");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    0x2e3b(%rip),%rax
mov    (%rax),%edi
call   1090 <sysconf@plt>
mov    %rax,-0x28(%rbp)
cmpq   $0x0,-0x28(%rbp)
jge    11d8 <main+0x48>
mov    0x2e0e(%rip),%rax
mov    (%rax),%edi
lea    0xe2d(%rip),%rsi
call   1070 <err@plt>
movq   $0x0,-0x30(%rbp)
mov    -0x30(%rbp),%rax
cmp    -0x28(%rbp),%rax
jge    12dd <main+0x14d>
mov    -0x30(%rbp),%rsi
lea    0xe3c(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    -0x18(%rbp),%rdi
call   1080 <CPU_ZERO@plt>
lea    -0x1c(%rbp),%rdi
call   1080 <CPU_ZERO@plt>
mov    -0x30(%rbp),%rax
mov    %eax,%edi
lea    -0x18(%rbp),%rsi
call   10b0 <CPU_SET@plt>
xor    %edi,%edi
mov    $0x4,%esi
lea    -0x18(%rbp),%rdx
call   1050 <sched_setaffinity@plt>
mov    %eax,-0x14(%rbp)
cmpl   $0x0,-0x14(%rbp)
jge    1259 <main+0xc9>
mov    0x2d93(%rip),%rax
mov    (%rax),%edi
mov    -0x30(%rbp),%rdx
lea    0xdfe(%rip),%rsi
mov    $0x0,%al
call   1030 <errx@plt>
xor    %edi,%edi
mov    $0x4,%esi
lea    -0x1c(%rbp),%rdx
call   10a0 <sched_getaffinity@plt>
mov    %eax,-0x14(%rbp)
cmpl   $0x0,-0x14(%rbp)
jge    1291 <main+0x101>
mov    0x2d5b(%rip),%rax
mov    (%rax),%edi
mov    -0x30(%rbp),%rdx
lea    0xdfe(%rip),%rsi
mov    $0x0,%al
call   1030 <errx@plt>
mov    $0x4,%edi
lea    -0x18(%rbp),%rsi
lea    -0x1c(%rbp),%rdx
call   1060 <CPU_EQUAL_S@plt>
cmp    $0x0,%eax
jne    12c7 <main+0x137>
mov    0x2d25(%rip),%rax
mov    (%rax),%edi
mov    -0x30(%rbp),%rdx
lea    0xe00(%rip),%rsi
mov    $0x0,%al
call   1030 <errx@plt>
jmp    12cc <main+0x13c>
mov    -0x30(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x30(%rbp)
jmp    11e0 <main+0x50>
cmpq   $0x2,-0x28(%rbp)
jl     13ae <main+0x21e>
lea    -0x18(%rbp),%rdi
call   1080 <CPU_ZERO@plt>
lea    -0x1c(%rbp),%rdi
call   1080 <CPU_ZERO@plt>
xor    %edi,%edi
lea    -0x18(%rbp),%rsi
call   10b0 <CPU_SET@plt>
mov    $0x1,%edi
lea    -0x18(%rbp),%rsi
call   10b0 <CPU_SET@plt>
xor    %edi,%edi
mov    $0x4,%esi
lea    -0x18(%rbp),%rdx
call   1050 <sched_setaffinity@plt>
mov    %eax,-0x14(%rbp)
cmpl   $0x0,-0x14(%rbp)
jge    1345 <main+0x1b5>
mov    0x2ca1(%rip),%rax
mov    (%rax),%edi
lea    0xdb4(%rip),%rsi
call   1070 <err@plt>
xor    %edi,%edi
mov    $0x4,%esi
lea    -0x1c(%rbp),%rdx
call   10a0 <sched_getaffinity@plt>
mov    %eax,-0x14(%rbp)
cmpl   $0x0,-0x14(%rbp)
jge    1377 <main+0x1e7>
mov    0x2c6f(%rip),%rax
mov    (%rax),%edi
lea    0xdb5(%rip),%rsi
call   1070 <err@plt>
mov    $0x4,%edi
lea    -0x18(%rbp),%rsi
lea    -0x1c(%rbp),%rdx
call   1060 <CPU_EQUAL_S@plt>
cmp    $0x0,%eax
jne    13a9 <main+0x219>
mov    0x2c3f(%rip),%rax
mov    (%rax),%edi
lea    0xdb8(%rip),%rsi
mov    $0x0,%al
call   1030 <errx@plt>
jmp    13bc <main+0x22c>
lea    0xddb(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xe14(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    0x2e36(%rip),%rax
mov    (%rax),%edi
call   10a0 <sysconf@plt>
test   %rax,%rax
js     134c <main+0x1ac>
je     1361 <main+0x1c1>
mov    %rax,%r15
lea    0xe63(%rip),%r14
lea    0x4(%rsp),%rbx
mov    %rsp,%r12
mov    0x2df7(%rip),%r13
xor    %ebp,%ebp
jmp    11fd <main+0x5d>
cs nopw 0x0(%rax,%rax,1)
nop
add    $0x1,%rbp
cmp    %rbp,%r15
je     12a6 <main+0x106>
mov    %r14,%rdi
mov    %rbp,%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
call   1090 <CPU_ZERO@plt>
mov    %r12,%rdi
call   1090 <CPU_ZERO@plt>
mov    %ebp,%edi
mov    %rbx,%rsi
call   10c0 <CPU_SET@plt>
xor    %edi,%edi
mov    $0x4,%esi
mov    %rbx,%rdx
call   1060 <sched_setaffinity@plt>
test   %eax,%eax
jns    124c <main+0xac>
mov    0x0(%r13),%edi
lea    0xe0e(%rip),%rsi
mov    %rbp,%rdx
xor    %eax,%eax
call   1040 <errx@plt>
xor    %edi,%edi
mov    $0x4,%esi
mov    %r12,%rdx
call   10b0 <sched_getaffinity@plt>
test   %eax,%eax
jns    1274 <main+0xd4>
mov    0x0(%r13),%edi
lea    0xe1e(%rip),%rsi
mov    %rbp,%rdx
xor    %eax,%eax
call   1040 <errx@plt>
mov    $0x4,%edi
mov    %rbx,%rsi
mov    %r12,%rdx
call   1070 <CPU_EQUAL_S@plt>
test   %eax,%eax
jne    11f0 <main+0x50>
mov    0x0(%r13),%edi
lea    0xe29(%rip),%rsi
mov    %rbp,%rdx
xor    %eax,%eax
call   1040 <errx@plt>
jmp    11f0 <main+0x50>
cmp    $0x1,%r15
jle    1361 <main+0x1c1>
lea    0x4(%rsp),%rbx
mov    %rbx,%rdi
call   1090 <CPU_ZERO@plt>
mov    %rsp,%rdi
call   1090 <CPU_ZERO@plt>
xor    %edi,%edi
mov    %rbx,%rsi
call   10c0 <CPU_SET@plt>
mov    $0x1,%edi
mov    %rbx,%rsi
call   10c0 <CPU_SET@plt>
xor    %edi,%edi
mov    $0x4,%esi
mov    %rbx,%rdx
call   1060 <sched_setaffinity@plt>
test   %eax,%eax
jns    12ff <main+0x15f>
mov    0x0(%r13),%edi
lea    0xdfa(%rip),%rsi
call   1080 <err@plt>
mov    %rsp,%rdx
xor    %edi,%edi
mov    $0x4,%esi
call   10b0 <sched_getaffinity@plt>
test   %eax,%eax
jns    1322 <main+0x182>
mov    0x0(%r13),%edi
lea    0xe0a(%rip),%rsi
call   1080 <err@plt>
lea    0x4(%rsp),%rsi
mov    %rsp,%rdx
mov    $0x4,%edi
call   1070 <CPU_EQUAL_S@plt>
test   %eax,%eax
jne    136d <main+0x1cd>
mov    0x0(%r13),%edi
lea    0xe17(%rip),%rsi
xor    %eax,%eax
call   1040 <errx@plt>
jmp    136d <main+0x1cd>
mov    0x2c85(%rip),%rax
mov    (%rax),%edi
lea    0xca4(%rip),%rsi
call   1080 <err@plt>
lea    0xe28(%rip),%rdi
call   1030 <puts@plt>
lea    0xe62(%rip),%rdi
call   1030 <puts@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@_SC_NPROCESSORS_ONLN = global i32 0
@EXIT_FAILURE = global i32 0
@.str = [53 x i8] c"Failed to retrieve the number of logical processors!\00"
@.str.1 = [27 x i8] c"Testing processor id: %ld\0A\00"
@.str.2 = [56 x i8] c"Failed to set affinity for current thread, core id: %ld\00"
@.str.3 = [56 x i8] c"Failed to get affinity for current thread, core id: %ld\00"
@.str.4 = [52 x i8] c"The get cpu set is not equal to set on core id: %ld\00"
@.str.5 = [51 x i8] c"Failed to set multiple affinity for current thread\00"
@.str.6 = [51 x i8] c"Failed to get multiple affinity for current thread\00"
@.str.7 = [54 x i8] c"The get cpu set is not equal to set on core id: 0 & 1\00"
@.str.8 = [71 x i8] c"Multiple CPU affinity test skipped since only one core was identified\0A\00"
@.str.9 = [9 x i8] c"TEST OK\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i64
%10 = alloca i64
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%11 = load i32, i32* @_SC_NPROCESSORS_ONLN
%12 = call i64 @sysconf(i32 %11)
store i64 %12, i64* %9
%13 = load i64, i64* %9
%14 = icmp slt i64 %13, 0
br i1 %14, label %15, label %18
15: ; preds = %2
%16 = load i32, i32* @EXIT_FAILURE
%17 = call i32 @err(i32 %16, i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str, i64 0, i64 0))
br label %18
18: ; preds = %15, %2
store i64 0, i64* %10
br label %19
19: ; preds = %54, %18
%20 = load i64, i64* %10
%21 = load i64, i64* %9
%22 = icmp slt i64 %20, %21
br i1 %22, label %23, label %57
23: ; preds = %19
%24 = load i64, i64* %10
%25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.1, i64 0, i64 0), i64 %24)
%26 = call i32 @CPU_ZERO(i32* %7)
%27 = call i32 @CPU_ZERO(i32* %8)
%28 = load i64, i64* %10
%29 = trunc i64 %28 to i32
%30 = call i32 @CPU_SET(i32 %29, i32* %7)
%31 = call i32 @sched_setaffinity(i32 0, i32 4, i32* %7)
store i32 %31, i32* %6
%32 = load i32, i32* %6
%33 = icmp slt i32 %32, 0
br i1 %33, label %34, label %38
34: ; preds = %23
%35 = load i32, i32* @EXIT_FAILURE
%36 = load i64, i64* %10
%37 = call i32 (i32, i8*, ...) @errx(i32 %35, i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.2, i64 0, i64 0), i64 %36)
br label %38
38: ; preds = %34, %23
%39 = call i32 @sched_getaffinity(i32 0, i32 4, i32* %8)
store i32 %39, i32* %6
%40 = load i32, i32* %6
%41 = icmp slt i32 %40, 0
br i1 %41, label %42, label %46
42: ; preds = %38
%43 = load i32, i32* @EXIT_FAILURE
%44 = load i64, i64* %10
%45 = call i32 (i32, i8*, ...) @errx(i32 %43, i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.3, i64 0, i64 0), i64 %44)
br label %46
46: ; preds = %42, %38
%47 = call i32 @CPU_EQUAL_S(i32 4, i32* %7, i32* %8)
%48 = icmp ne i32 %47, 0
br i1 %48, label %53, label %49
49: ; preds = %46
%50 = load i32, i32* @EXIT_FAILURE
%51 = load i64, i64* %10
%52 = call i32 (i32, i8*, ...) @errx(i32 %50, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.4, i64 0, i64 0), i64 %51)
br label %53
53: ; preds = %49, %46
br label %54
54: ; preds = %53
%55 = load i64, i64* %10
%56 = add nsw i64 %55, 1
store i64 %56, i64* %10
br label %19
57: ; preds = %19
%58 = load i64, i64* %9
%59 = icmp sge i64 %58, 2
br i1 %59, label %60, label %85
60: ; preds = %57
%61 = call i32 @CPU_ZERO(i32* %7)
%62 = call i32 @CPU_ZERO(i32* %8)
%63 = call i32 @CPU_SET(i32 0, i32* %7)
%64 = call i32 @CPU_SET(i32 1, i32* %7)
%65 = call i32 @sched_setaffinity(i32 0, i32 4, i32* %7)
store i32 %65, i32* %6
%66 = load i32, i32* %6
%67 = icmp slt i32 %66, 0
br i1 %67, label %68, label %71
68: ; preds = %60
%69 = load i32, i32* @EXIT_FAILURE
%70 = call i32 @err(i32 %69, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.5, i64 0, i64 0))
br label %71
71: ; preds = %68, %60
%72 = call i32 @sched_getaffinity(i32 0, i32 4, i32* %8)
store i32 %72, i32* %6
%73 = load i32, i32* %6
%74 = icmp slt i32 %73, 0
br i1 %74, label %75, label %78
75: ; preds = %71
%76 = load i32, i32* @EXIT_FAILURE
%77 = call i32 @err(i32 %76, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.6, i64 0, i64 0))
br label %78
78: ; preds = %75, %71
%79 = call i32 @CPU_EQUAL_S(i32 4, i32* %7, i32* %8)
%80 = icmp ne i32 %79, 0
br i1 %80, label %84, label %81
81: ; preds = %78
%82 = load i32, i32* @EXIT_FAILURE
%83 = call i32 (i32, i8*, ...) @errx(i32 %82, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.7, i64 0, i64 0))
br label %84
84: ; preds = %81, %78
br label %87
85: ; preds = %57
%86 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.8, i64 0, i64 0))
br label %87
87: ; preds = %85, %84
%88 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.9, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@_SC_NPROCESSORS_ONLN = global i32 0
@EXIT_FAILURE = global i32 0
@.str = [53 x i8] c"Failed to retrieve the number of logical processors!\00"
@.str.1 = [27 x i8] c"Testing processor id: %ld\0A\00"
@.str.2 = [56 x i8] c"Failed to set affinity for current thread, core id: %ld\00"
@.str.3 = [56 x i8] c"Failed to get affinity for current thread, core id: %ld\00"
@.str.4 = [52 x i8] c"The get cpu set is not equal to set on core id: %ld\00"
@.str.5 = [51 x i8] c"Failed to set multiple affinity for current thread\00"
@.str.6 = [51 x i8] c"Failed to get multiple affinity for current thread\00"
@.str.7 = [54 x i8] c"The get cpu set is not equal to set on core id: 0 & 1\00"
@str = [70 x i8] c"Multiple CPU affinity test skipped since only one core was identified\00"
@str.10 = [8 x i8] c"TEST OK\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca i32
%4 = alloca i32
%5 = bitcast i32* %3 to i8*
%6 = bitcast i32* %4 to i8*
%7 = load i32, i32* @_SC_NPROCESSORS_ONLN
%8 = tail call i64 @sysconf(i32 %7)
%9 = icmp slt i64 %8, 0
br i1 %9, label %10, label %13
10: ; preds = %2
%11 = load i32, i32* @EXIT_FAILURE
%12 = tail call i32 @err(i32 %11, i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str, i64 0, i64 0))
br label %66
13: ; preds = %2
%14 = icmp eq i64 %8, 0
br i1 %14, label %66, label %17
15: ; preds = %41
%16 = icmp sgt i64 %8, 1
br i1 %16, label %44, label %66
17: ; preds = %13, %41
%18 = phi i64 [ %42, %41 ], [ 0, %13 ]
%19 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.1, i64 0, i64 0), i64 %18)
%20 = call i32 @CPU_ZERO(i32* %3)
%21 = call i32 @CPU_ZERO(i32* %4)
%22 = trunc i64 %18 to i32
%23 = call i32 @CPU_SET(i32 %22, i32* %3)
%24 = call i32 @sched_setaffinity(i32 0, i32 4, i32* %3)
%25 = icmp slt i32 %24, 0
br i1 %25, label %26, label %29
26: ; preds = %17
%27 = load i32, i32* @EXIT_FAILURE
%28 = call i32 (i32, i8*, ...) @errx(i32 %27, i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.2, i64 0, i64 0), i64 %18)
br label %29
29: ; preds = %26, %17
%30 = call i32 @sched_getaffinity(i32 0, i32 4, i32* %4)
%31 = icmp slt i32 %30, 0
br i1 %31, label %32, label %35
32: ; preds = %29
%33 = load i32, i32* @EXIT_FAILURE
%34 = call i32 (i32, i8*, ...) @errx(i32 %33, i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.3, i64 0, i64 0), i64 %18)
br label %35
35: ; preds = %32, %29
%36 = call i32 @CPU_EQUAL_S(i32 4, i32* %3, i32* %4)
%37 = icmp eq i32 %36, 0
br i1 %37, label %38, label %41
38: ; preds = %35
%39 = load i32, i32* @EXIT_FAILURE
%40 = call i32 (i32, i8*, ...) @errx(i32 %39, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.4, i64 0, i64 0), i64 %18)
br label %41
41: ; preds = %35, %38
%42 = add nuw nsw i64 %18, 1
%43 = icmp eq i64 %42, %8
br i1 %43, label %15, label %17
44: ; preds = %15
%45 = call i32 @CPU_ZERO(i32* %3)
%46 = call i32 @CPU_ZERO(i32* %4)
%47 = call i32 @CPU_SET(i32 0, i32* %3)
%48 = call i32 @CPU_SET(i32 1, i32* %3)
%49 = call i32 @sched_setaffinity(i32 0, i32 4, i32* %3)
%50 = icmp slt i32 %49, 0
br i1 %50, label %51, label %54
51: ; preds = %44
%52 = load i32, i32* @EXIT_FAILURE
%53 = call i32 @err(i32 %52, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.5, i64 0, i64 0))
br label %54
54: ; preds = %51, %44
%55 = call i32 @sched_getaffinity(i32 0, i32 4, i32* %4)
%56 = icmp slt i32 %55, 0
br i1 %56, label %57, label %60
57: ; preds = %54
%58 = load i32, i32* @EXIT_FAILURE
%59 = call i32 @err(i32 %58, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.6, i64 0, i64 0))
br label %60
60: ; preds = %57, %54
%61 = call i32 @CPU_EQUAL_S(i32 4, i32* %3, i32* %4)
%62 = icmp eq i32 %61, 0
br i1 %62, label %63, label %68
63: ; preds = %60
%64 = load i32, i32* @EXIT_FAILURE
%65 = call i32 (i32, i8*, ...) @errx(i32 %64, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.7, i64 0, i64 0))
br label %68
66: ; preds = %13, %10, %15
%67 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([70 x i8], [70 x i8]* @str, i64 0, i64 0))
br label %68
68: ; preds = %60, %63, %66
%69 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @str.10, i64 0, i64 0))
ret i32 0
}