#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*/ abort();
unsigned int test10u(unsigned int);
unsigned int test11u(unsigned int);
unsigned int test12u(unsigned int);
unsigned int test1u(unsigned int);
unsigned int test2u(unsigned int);
unsigned int test3u(unsigned int);
unsigned int test4u(unsigned int);
unsigned int test5u(unsigned int);
unsigned int test6u(unsigned int);
unsigned int test7u(unsigned int);
unsigned int test8u(unsigned int);
unsigned int test9u(unsigned int);
void testu(unsigned int a, unsigned int b) {
  if (test1u(a) != b)
    abort();
  if (test2u(a) != b)
    abort();
  if (test3u(a) != b)
    abort();
  if (test4u(a) != b)
    abort();
  if (test5u(a) != b)
    abort();
  if (test6u(a) != b)
    abort();
  if (test7u(a) != b)
    abort();
  if (test8u(a) != b)
    abort();
  if (test9u(a) != b)
    abort();
  if (test10u(a) != b)
    abort();
  if (test11u(a) != b)
    abort();
  if (test12u(a) != b)
    abort();
}


x86 assembly (clang, -O0):
<testu>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    -0x4(%rbp),%edi
call   10d0 <test1u@plt>
cmp    -0x8(%rbp),%eax
je     11f6 <testu+0x26>
mov    $0x0,%al
call   1030 <abort@plt>
mov    -0x4(%rbp),%edi
call   1080 <test2u@plt>
cmp    -0x8(%rbp),%eax
je     120e <testu+0x3e>
mov    $0x0,%al
call   1030 <abort@plt>
mov    -0x4(%rbp),%edi
call   1040 <test3u@plt>
cmp    -0x8(%rbp),%eax
je     1226 <testu+0x56>
mov    $0x0,%al
call   1030 <abort@plt>
mov    -0x4(%rbp),%edi
call   10c0 <test4u@plt>
cmp    -0x8(%rbp),%eax
je     123e <testu+0x6e>
mov    $0x0,%al
call   1030 <abort@plt>
mov    -0x4(%rbp),%edi
call   1070 <test5u@plt>
cmp    -0x8(%rbp),%eax
je     1256 <testu+0x86>
mov    $0x0,%al
call   1030 <abort@plt>
mov    -0x4(%rbp),%edi
call   10f0 <test6u@plt>
cmp    -0x8(%rbp),%eax
je     126e <testu+0x9e>
mov    $0x0,%al
call   1030 <abort@plt>
mov    -0x4(%rbp),%edi
call   1090 <test7u@plt>
cmp    -0x8(%rbp),%eax
je     1286 <testu+0xb6>
mov    $0x0,%al
call   1030 <abort@plt>
mov    -0x4(%rbp),%edi
call   10a0 <test8u@plt>
cmp    -0x8(%rbp),%eax
je     129e <testu+0xce>
mov    $0x0,%al
call   1030 <abort@plt>
mov    -0x4(%rbp),%edi
call   1050 <test9u@plt>
cmp    -0x8(%rbp),%eax
je     12b6 <testu+0xe6>
mov    $0x0,%al
call   1030 <abort@plt>
mov    -0x4(%rbp),%edi
call   10e0 <test10u@plt>
cmp    -0x8(%rbp),%eax
je     12ce <testu+0xfe>
mov    $0x0,%al
call   1030 <abort@plt>
mov    -0x4(%rbp),%edi
call   1060 <test11u@plt>
cmp    -0x8(%rbp),%eax
je     12e6 <testu+0x116>
mov    $0x0,%al
call   1030 <abort@plt>
mov    -0x4(%rbp),%edi
call   10b0 <test12u@plt>
cmp    -0x8(%rbp),%eax
je     12fe <testu+0x12e>
mov    $0x0,%al
call   1030 <abort@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<testu>:
push   %rbp
push   %rbx
push   %rax
mov    %esi,%ebx
mov    %edi,%ebp
call   10d0 <test1u@plt>
cmp    %ebx,%eax
jne    1264 <testu+0x94>
mov    %ebp,%edi
call   1080 <test2u@plt>
cmp    %ebx,%eax
jne    1264 <testu+0x94>
mov    %ebp,%edi
call   1040 <test3u@plt>
cmp    %ebx,%eax
jne    1264 <testu+0x94>
mov    %ebp,%edi
call   10c0 <test4u@plt>
cmp    %ebx,%eax
jne    1264 <testu+0x94>
mov    %ebp,%edi
call   1070 <test5u@plt>
cmp    %ebx,%eax
jne    1264 <testu+0x94>
mov    %ebp,%edi
call   10f0 <test6u@plt>
cmp    %ebx,%eax
jne    1264 <testu+0x94>
mov    %ebp,%edi
call   1090 <test7u@plt>
cmp    %ebx,%eax
jne    1264 <testu+0x94>
mov    %ebp,%edi
call   10a0 <test8u@plt>
cmp    %ebx,%eax
jne    1264 <testu+0x94>
mov    %ebp,%edi
call   1050 <test9u@plt>
cmp    %ebx,%eax
jne    1264 <testu+0x94>
mov    %ebp,%edi
call   10e0 <test10u@plt>
cmp    %ebx,%eax
jne    1264 <testu+0x94>
mov    %ebp,%edi
call   1060 <test11u@plt>
cmp    %ebx,%eax
jne    1264 <testu+0x94>
mov    %ebp,%edi
call   10b0 <test12u@plt>
cmp    %ebx,%eax
jne    1264 <testu+0x94>
add    $0x8,%rsp
pop    %rbx
pop    %rbp
ret
xor    %eax,%eax
call   1030 <abort@plt>

LLVM IR (-O0):
define void @testu(i32 %0, i32 %1) {
%3 = alloca i32
%4 = alloca i32
store i32 %0, i32* %3
store i32 %1, i32* %4
%5 = load i32, i32* %3
%6 = call i32 @test1u(i32 %5)
%7 = load i32, i32* %4
%8 = icmp ne i32 %6, %7
br i1 %8, label %9, label %11
9: ; preds = %2
%10 = call i32 (...) @abort()
unreachable
11: ; preds = %2
%12 = load i32, i32* %3
%13 = call i32 @test2u(i32 %12)
%14 = load i32, i32* %4
%15 = icmp ne i32 %13, %14
br i1 %15, label %16, label %18
16: ; preds = %11
%17 = call i32 (...) @abort()
unreachable
18: ; preds = %11
%19 = load i32, i32* %3
%20 = call i32 @test3u(i32 %19)
%21 = load i32, i32* %4
%22 = icmp ne i32 %20, %21
br i1 %22, label %23, label %25
23: ; preds = %18
%24 = call i32 (...) @abort()
unreachable
25: ; preds = %18
%26 = load i32, i32* %3
%27 = call i32 @test4u(i32 %26)
%28 = load i32, i32* %4
%29 = icmp ne i32 %27, %28
br i1 %29, label %30, label %32
30: ; preds = %25
%31 = call i32 (...) @abort()
unreachable
32: ; preds = %25
%33 = load i32, i32* %3
%34 = call i32 @test5u(i32 %33)
%35 = load i32, i32* %4
%36 = icmp ne i32 %34, %35
br i1 %36, label %37, label %39
37: ; preds = %32
%38 = call i32 (...) @abort()
unreachable
39: ; preds = %32
%40 = load i32, i32* %3
%41 = call i32 @test6u(i32 %40)
%42 = load i32, i32* %4
%43 = icmp ne i32 %41, %42
br i1 %43, label %44, label %46
44: ; preds = %39
%45 = call i32 (...) @abort()
unreachable
46: ; preds = %39
%47 = load i32, i32* %3
%48 = call i32 @test7u(i32 %47)
%49 = load i32, i32* %4
%50 = icmp ne i32 %48, %49
br i1 %50, label %51, label %53
51: ; preds = %46
%52 = call i32 (...) @abort()
unreachable
53: ; preds = %46
%54 = load i32, i32* %3
%55 = call i32 @test8u(i32 %54)
%56 = load i32, i32* %4
%57 = icmp ne i32 %55, %56
br i1 %57, label %58, label %60
58: ; preds = %53
%59 = call i32 (...) @abort()
unreachable
60: ; preds = %53
%61 = load i32, i32* %3
%62 = call i32 @test9u(i32 %61)
%63 = load i32, i32* %4
%64 = icmp ne i32 %62, %63
br i1 %64, label %65, label %67
65: ; preds = %60
%66 = call i32 (...) @abort()
unreachable
67: ; preds = %60
%68 = load i32, i32* %3
%69 = call i32 @test10u(i32 %68)
%70 = load i32, i32* %4
%71 = icmp ne i32 %69, %70
br i1 %71, label %72, label %74
72: ; preds = %67
%73 = call i32 (...) @abort()
unreachable
74: ; preds = %67
%75 = load i32, i32* %3
%76 = call i32 @test11u(i32 %75)
%77 = load i32, i32* %4
%78 = icmp ne i32 %76, %77
br i1 %78, label %79, label %81
79: ; preds = %74
%80 = call i32 (...) @abort()
unreachable
81: ; preds = %74
%82 = load i32, i32* %3
%83 = call i32 @test12u(i32 %82)
%84 = load i32, i32* %4
%85 = icmp ne i32 %83, %84
br i1 %85, label %86, label %88
86: ; preds = %81
%87 = call i32 (...) @abort()
unreachable
88: ; preds = %81
ret void
}

LLVM IR (-O2):
define void @testu(i32 %0, i32 %1) {
%3 = tail call i32 @test1u(i32 %0)
%4 = icmp eq i32 %3, %1
br i1 %4, label %7, label %5
5: ; preds = %2
%6 = tail call i32 (...) @abort()
unreachable
7: ; preds = %2
%8 = tail call i32 @test2u(i32 %0)
%9 = icmp eq i32 %8, %1
br i1 %9, label %12, label %10
10: ; preds = %7
%11 = tail call i32 (...) @abort()
unreachable
12: ; preds = %7
%13 = tail call i32 @test3u(i32 %0)
%14 = icmp eq i32 %13, %1
br i1 %14, label %17, label %15
15: ; preds = %12
%16 = tail call i32 (...) @abort()
unreachable
17: ; preds = %12
%18 = tail call i32 @test4u(i32 %0)
%19 = icmp eq i32 %18, %1
br i1 %19, label %22, label %20
20: ; preds = %17
%21 = tail call i32 (...) @abort()
unreachable
22: ; preds = %17
%23 = tail call i32 @test5u(i32 %0)
%24 = icmp eq i32 %23, %1
br i1 %24, label %27, label %25
25: ; preds = %22
%26 = tail call i32 (...) @abort()
unreachable
27: ; preds = %22
%28 = tail call i32 @test6u(i32 %0)
%29 = icmp eq i32 %28, %1
br i1 %29, label %32, label %30
30: ; preds = %27
%31 = tail call i32 (...) @abort()
unreachable
32: ; preds = %27
%33 = tail call i32 @test7u(i32 %0)
%34 = icmp eq i32 %33, %1
br i1 %34, label %37, label %35
35: ; preds = %32
%36 = tail call i32 (...) @abort()
unreachable
37: ; preds = %32
%38 = tail call i32 @test8u(i32 %0)
%39 = icmp eq i32 %38, %1
br i1 %39, label %42, label %40
40: ; preds = %37
%41 = tail call i32 (...) @abort()
unreachable
42: ; preds = %37
%43 = tail call i32 @test9u(i32 %0)
%44 = icmp eq i32 %43, %1
br i1 %44, label %47, label %45
45: ; preds = %42
%46 = tail call i32 (...) @abort()
unreachable
47: ; preds = %42
%48 = tail call i32 @test10u(i32 %0)
%49 = icmp eq i32 %48, %1
br i1 %49, label %52, label %50
50: ; preds = %47
%51 = tail call i32 (...) @abort()
unreachable
52: ; preds = %47
%53 = tail call i32 @test11u(i32 %0)
%54 = icmp eq i32 %53, %1
br i1 %54, label %57, label %55
55: ; preds = %52
%56 = tail call i32 (...) @abort()
unreachable
57: ; preds = %52
%58 = tail call i32 @test12u(i32 %0)
%59 = icmp eq i32 %58, %1
br i1 %59, label %62, label %60
60: ; preds = %57
%61 = tail call i32 (...) @abort()
unreachable
62: ; preds = %57
ret void
}