#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*/ AsserT0(char *, int, int);
int /*<<< orphan*/ assert(int);
void AsserT(char *sContexte, int bAssertion1, int bAssertion2, int bAssertion3,
            int bAssertion4, int bAssertion5, int bAssertion6) {
  int bAssertion = bAssertion1 && bAssertion2 && bAssertion3 && bAssertion4 &&
                   bAssertion5 && bAssertion6;
  if (!bAssertion) {
    AsserT0(sContexte, bAssertion1, 1);
    AsserT0(sContexte, bAssertion2, 2);
    AsserT0(sContexte, bAssertion3, 3);
    AsserT0(sContexte, bAssertion4, 4);
    AsserT0(sContexte, bAssertion5, 5);
    AsserT0(sContexte, bAssertion6, 6);
  }
  assert(bAssertion);
}


x86 assembly (clang, -O0):
<AsserT>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    0x10(%rbp),%eax
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    %edx,-0x10(%rbp)
mov    %ecx,-0x14(%rbp)
mov    %r8d,-0x18(%rbp)
mov    %r9d,-0x1c(%rbp)
xor    %eax,%eax
cmpl   $0x0,-0xc(%rbp)
mov    %al,-0x21(%rbp)
je     1195 <AsserT+0x75>
xor    %eax,%eax
cmpl   $0x0,-0x10(%rbp)
mov    %al,-0x21(%rbp)
je     1195 <AsserT+0x75>
xor    %eax,%eax
cmpl   $0x0,-0x14(%rbp)
mov    %al,-0x21(%rbp)
je     1195 <AsserT+0x75>
xor    %eax,%eax
cmpl   $0x0,-0x18(%rbp)
mov    %al,-0x21(%rbp)
je     1195 <AsserT+0x75>
xor    %eax,%eax
cmpl   $0x0,-0x1c(%rbp)
mov    %al,-0x21(%rbp)
je     1195 <AsserT+0x75>
cmpl   $0x0,0x10(%rbp)
setne  %al
mov    %al,-0x21(%rbp)
mov    -0x21(%rbp),%al
and    $0x1,%al
movzbl %al,%eax
mov    %eax,-0x20(%rbp)
cmpl   $0x0,-0x20(%rbp)
jne    1210 <AsserT+0xf0>
mov    -0x8(%rbp),%rdi
mov    -0xc(%rbp),%esi
mov    $0x1,%edx
call   1030 <AsserT0@plt>
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%esi
mov    $0x2,%edx
call   1030 <AsserT0@plt>
mov    -0x8(%rbp),%rdi
mov    -0x14(%rbp),%esi
mov    $0x3,%edx
call   1030 <AsserT0@plt>
mov    -0x8(%rbp),%rdi
mov    -0x18(%rbp),%esi
mov    $0x4,%edx
call   1030 <AsserT0@plt>
mov    -0x8(%rbp),%rdi
mov    -0x1c(%rbp),%esi
mov    $0x5,%edx
call   1030 <AsserT0@plt>
mov    -0x8(%rbp),%rdi
mov    0x10(%rbp),%esi
mov    $0x6,%edx
call   1030 <AsserT0@plt>
mov    -0x20(%rbp),%edi
call   1040 <assert@plt>
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<AsserT>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %ecx,%r13d
mov    %edx,%ebp
mov    %rdi,%rbx
mov    0x40(%rsp),%edi
test   %esi,%esi
setne  %al
test   %edx,%edx
setne  %cl
and    %al,%cl
test   %r13d,%r13d
setne  %al
test   %r8d,%r8d
setne  %dl
and    %al,%dl
and    %cl,%dl
test   %r9d,%r9d
setne  %al
and    %dl,%al
test   %edi,%edi
setne  %r14b
and    %al,%r14b
jne    11cd <AsserT+0xad>
mov    %r9d,%r15d
mov    %r8d,%r12d
mov    %edi,0x4(%rsp)
mov    %rbx,%rdi
mov    $0x1,%edx
call   1030 <AsserT0@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
mov    $0x2,%edx
call   1030 <AsserT0@plt>
mov    %rbx,%rdi
mov    %r13d,%esi
mov    $0x3,%edx
call   1030 <AsserT0@plt>
mov    %rbx,%rdi
mov    %r12d,%esi
mov    $0x4,%edx
call   1030 <AsserT0@plt>
mov    %rbx,%rdi
mov    %r15d,%esi
mov    $0x5,%edx
call   1030 <AsserT0@plt>
mov    %rbx,%rdi
mov    0x4(%rsp),%esi
mov    $0x6,%edx
call   1030 <AsserT0@plt>
movzbl %r14b,%edi
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1040 <assert@plt>

LLVM IR (-O0):
define void @AsserT(i8* %0, i32 %1, i32 %2, i32 %3, i32 %4, i32 %5, i32 %6) {
%8 = alloca i8*
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
%15 = alloca i32
store i8* %0, i8** %8
store i32 %1, i32* %9
store i32 %2, i32* %10
store i32 %3, i32* %11
store i32 %4, i32* %12
store i32 %5, i32* %13
store i32 %6, i32* %14
%16 = load i32, i32* %9
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %33
18: ; preds = %7
%19 = load i32, i32* %10
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %33
21: ; preds = %18
%22 = load i32, i32* %11
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %33
24: ; preds = %21
%25 = load i32, i32* %12
%26 = icmp ne i32 %25, 0
br i1 %26, label %27, label %33
27: ; preds = %24
%28 = load i32, i32* %13
%29 = icmp ne i32 %28, 0
br i1 %29, label %30, label %33
30: ; preds = %27
%31 = load i32, i32* %14
%32 = icmp ne i32 %31, 0
br label %33
33: ; preds = %30, %27, %24, %21, %18, %7
%34 = phi i1 [ false, %27 ], [ false, %24 ], [ false, %21 ], [ false, %18 ], [ false, %7 ], [ %32, %30 ]
%35 = zext i1 %34 to i32
store i32 %35, i32* %15
%36 = load i32, i32* %15
%37 = icmp ne i32 %36, 0
br i1 %37, label %57, label %38
38: ; preds = %33
%39 = load i8*, i8** %8
%40 = load i32, i32* %9
%41 = call i32 @AsserT0(i8* %39, i32 %40, i32 1)
%42 = load i8*, i8** %8
%43 = load i32, i32* %10
%44 = call i32 @AsserT0(i8* %42, i32 %43, i32 2)
%45 = load i8*, i8** %8
%46 = load i32, i32* %11
%47 = call i32 @AsserT0(i8* %45, i32 %46, i32 3)
%48 = load i8*, i8** %8
%49 = load i32, i32* %12
%50 = call i32 @AsserT0(i8* %48, i32 %49, i32 4)
%51 = load i8*, i8** %8
%52 = load i32, i32* %13
%53 = call i32 @AsserT0(i8* %51, i32 %52, i32 5)
%54 = load i8*, i8** %8
%55 = load i32, i32* %14
%56 = call i32 @AsserT0(i8* %54, i32 %55, i32 6)
br label %57
57: ; preds = %38, %33
%58 = load i32, i32* %15
%59 = call i32 @assert(i32 %58)
ret void
}

LLVM IR (-O2):
define void @AsserT(i8* %0, i32 %1, i32 %2, i32 %3, i32 %4, i32 %5, i32 %6) {
%8 = icmp ne i32 %1, 0
%9 = icmp ne i32 %2, 0
%10 = and i1 %8, %9
%11 = icmp ne i32 %3, 0
%12 = and i1 %10, %11
%13 = icmp ne i32 %4, 0
%14 = and i1 %12, %13
%15 = icmp ne i32 %5, 0
%16 = and i1 %14, %15
%17 = icmp ne i32 %6, 0
%18 = and i1 %16, %17
br i1 %18, label %26, label %19
19: ; preds = %7
%20 = tail call i32 @AsserT0(i8* %0, i32 %1, i32 1)
%21 = tail call i32 @AsserT0(i8* %0, i32 %2, i32 2)
%22 = tail call i32 @AsserT0(i8* %0, i32 %3, i32 3)
%23 = tail call i32 @AsserT0(i8* %0, i32 %4, i32 4)
%24 = tail call i32 @AsserT0(i8* %0, i32 %5, i32 5)
%25 = tail call i32 @AsserT0(i8* %0, i32 %6, i32 6)
br label %26
26: ; preds = %19, %7
%27 = zext i1 %18 to i32
%28 = tail call i32 @assert(i32 %27)
ret void
}