#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 int32_t;

/* Variables and functions */
int /*<<< orphan*/ assert_or_panic(int);
void c_five_integers(int32_t a, int32_t b, int32_t c, int32_t d, int32_t e) {
  assert_or_panic(a == 12);
  assert_or_panic(b == 34);
  assert_or_panic(c == 56);
  assert_or_panic(d == 78);
  assert_or_panic(e == 90);
}


x86 assembly (clang, -O0):
<c_five_integers>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    %edx,-0xc(%rbp)
mov    %ecx,-0x10(%rbp)
mov    %r8d,-0x14(%rbp)
cmpl   $0xc,-0x4(%rbp)
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert_or_panic@plt>
cmpl   $0x22,-0x8(%rbp)
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert_or_panic@plt>
cmpl   $0x38,-0xc(%rbp)
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert_or_panic@plt>
cmpl   $0x4e,-0x10(%rbp)
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert_or_panic@plt>
cmpl   $0x5a,-0x14(%rbp)
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert_or_panic@plt>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<c_five_integers>:
push   %rbp
push   %r15
push   %r14
push   %rbx
push   %rax
mov    %r8d,%r14d
mov    %ecx,%r15d
mov    %edx,%ebx
mov    %esi,%ebp
xor    %eax,%eax
cmp    $0xc,%edi
sete   %al
mov    %eax,%edi
call   1030 <assert_or_panic@plt>
xor    %edi,%edi
cmp    $0x22,%ebp
sete   %dil
call   1030 <assert_or_panic@plt>
xor    %edi,%edi
cmp    $0x38,%ebx
sete   %dil
call   1030 <assert_or_panic@plt>
xor    %edi,%edi
cmp    $0x4e,%r15d
sete   %dil
call   1030 <assert_or_panic@plt>
xor    %edi,%edi
cmp    $0x5a,%r14d
sete   %dil
add    $0x8,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <assert_or_panic@plt>

LLVM IR (-O0):
define void @c_five_integers(i32 %0, i32 %1, i32 %2, i32 %3, i32 %4) {
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
store i32 %0, i32* %6
store i32 %1, i32* %7
store i32 %2, i32* %8
store i32 %3, i32* %9
store i32 %4, i32* %10
%11 = load i32, i32* %6
%12 = icmp eq i32 %11, 12
%13 = zext i1 %12 to i32
%14 = call i32 @assert_or_panic(i32 %13)
%15 = load i32, i32* %7
%16 = icmp eq i32 %15, 34
%17 = zext i1 %16 to i32
%18 = call i32 @assert_or_panic(i32 %17)
%19 = load i32, i32* %8
%20 = icmp eq i32 %19, 56
%21 = zext i1 %20 to i32
%22 = call i32 @assert_or_panic(i32 %21)
%23 = load i32, i32* %9
%24 = icmp eq i32 %23, 78
%25 = zext i1 %24 to i32
%26 = call i32 @assert_or_panic(i32 %25)
%27 = load i32, i32* %10
%28 = icmp eq i32 %27, 90
%29 = zext i1 %28 to i32
%30 = call i32 @assert_or_panic(i32 %29)
ret void
}

LLVM IR (-O2):
define void @c_five_integers(i32 %0, i32 %1, i32 %2, i32 %3, i32 %4) {
%6 = icmp eq i32 %0, 12
%7 = zext i1 %6 to i32
%8 = tail call i32 @assert_or_panic(i32 %7)
%9 = icmp eq i32 %1, 34
%10 = zext i1 %9 to i32
%11 = tail call i32 @assert_or_panic(i32 %10)
%12 = icmp eq i32 %2, 56
%13 = zext i1 %12 to i32
%14 = tail call i32 @assert_or_panic(i32 %13)
%15 = icmp eq i32 %3, 78
%16 = zext i1 %15 to i32
%17 = tail call i32 @assert_or_panic(i32 %16)
%18 = icmp eq i32 %4, 90
%19 = zext i1 %18 to i32
%20 = tail call i32 @assert_or_panic(i32 %19)
ret void
}