#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*/ assert(int);
scalar_t__ ic_set_delete(int /*<<< orphan*/, int /*<<< orphan*/);
scalar_t__ ic_set_destroy(int /*<<< orphan*/, int /*<<< orphan*/);
scalar_t__ ic_set_exists(int /*<<< orphan*/, int /*<<< orphan*/);
scalar_t__ ic_set_init(int /*<<< orphan*/);
scalar_t__ ic_set_insert(int /*<<< orphan*/, int /*<<< orphan*/);
void abnormal(void) {
  assert(0 == ic_set_init(0));
  assert(0 == ic_set_insert(0, 0));
  assert(0 == ic_set_exists(0, 0));
  assert(0 == ic_set_delete(0, 0));
  assert(0 == ic_set_destroy(0, 0));
}


x86 assembly (clang, -O0):
<abnormal>:
push   %rbp
mov    %rsp,%rbp
xor    %edi,%edi
call   1070 <ic_set_init@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1050 <assert@plt>
xor    %esi,%esi
mov    %esi,%edi
call   1080 <ic_set_insert@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1050 <assert@plt>
xor    %esi,%esi
mov    %esi,%edi
call   1040 <ic_set_exists@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1050 <assert@plt>
xor    %esi,%esi
mov    %esi,%edi
call   1030 <ic_set_delete@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1050 <assert@plt>
xor    %esi,%esi
mov    %esi,%edi
call   1060 <ic_set_destroy@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1050 <assert@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<abnormal>:
push   %rax
xor    %edi,%edi
call   1070 <ic_set_init@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1050 <assert@plt>
xor    %edi,%edi
xor    %esi,%esi
call   1080 <ic_set_insert@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1050 <assert@plt>
xor    %edi,%edi
xor    %esi,%esi
call   1040 <ic_set_exists@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1050 <assert@plt>
xor    %edi,%edi
xor    %esi,%esi
call   1030 <ic_set_delete@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1050 <assert@plt>
xor    %edi,%edi
xor    %esi,%esi
call   1060 <ic_set_destroy@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
pop    %rax
jmp    1050 <assert@plt>

LLVM IR (-O0):
define void @abnormal() {
%1 = call i64 @ic_set_init(i32 0)
%2 = icmp eq i64 0, %1
%3 = zext i1 %2 to i32
%4 = call i32 @assert(i32 %3)
%5 = call i64 @ic_set_insert(i32 0, i32 0)
%6 = icmp eq i64 0, %5
%7 = zext i1 %6 to i32
%8 = call i32 @assert(i32 %7)
%9 = call i64 @ic_set_exists(i32 0, i32 0)
%10 = icmp eq i64 0, %9
%11 = zext i1 %10 to i32
%12 = call i32 @assert(i32 %11)
%13 = call i64 @ic_set_delete(i32 0, i32 0)
%14 = icmp eq i64 0, %13
%15 = zext i1 %14 to i32
%16 = call i32 @assert(i32 %15)
%17 = call i64 @ic_set_destroy(i32 0, i32 0)
%18 = icmp eq i64 0, %17
%19 = zext i1 %18 to i32
%20 = call i32 @assert(i32 %19)
ret void
}

LLVM IR (-O2):
define void @abnormal() {
%1 = tail call i64 @ic_set_init(i32 0)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = tail call i32 @assert(i32 %3)
%5 = tail call i64 @ic_set_insert(i32 0, i32 0)
%6 = icmp eq i64 %5, 0
%7 = zext i1 %6 to i32
%8 = tail call i32 @assert(i32 %7)
%9 = tail call i64 @ic_set_exists(i32 0, i32 0)
%10 = icmp eq i64 %9, 0
%11 = zext i1 %10 to i32
%12 = tail call i32 @assert(i32 %11)
%13 = tail call i64 @ic_set_delete(i32 0, i32 0)
%14 = icmp eq i64 %13, 0
%15 = zext i1 %14 to i32
%16 = tail call i32 @assert(i32 %15)
%17 = tail call i64 @ic_set_destroy(i32 0, i32 0)
%18 = icmp eq i64 %17, 0
%19 = zext i1 %18 to i32
%20 = tail call i32 @assert(i32 %19)
ret void
}