#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*/ printf(char *);
int /*<<< orphan*/ pthread_exit(int /*<<< orphan*/);
void __VERIFIER_assume_internal(int expr, int print) {
  if (expr)
    return;
  if (print) {
    printf("dpu: __VERIFIER_assume: impossible to assume a false "
           "expression, dpu has no support for assumptions.\n");
    printf("dpu: calling pthread_exit() instead, you might experience "
           "unexpected errors from this point on.\n");
  }
  pthread_exit(0);
}


x86 assembly (clang, -O0):
<__VERIFIER_assume_internal>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
cmpl   $0x0,-0x4(%rbp)
je     113d <__VERIFIER_assume_internal+0x1d>
jmp    1166 <__VERIFIER_assume_internal+0x46>
cmpl   $0x0,-0x8(%rbp)
je     115f <__VERIFIER_assume_internal+0x3f>
lea    0xeb2(%rip),%rdi
call   1030 <printf@plt>
lea    0xf0c(%rip),%rdi
call   1030 <printf@plt>
xor    %edi,%edi
call   1040 <pthread_exit@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<__VERIFIER_assume_internal>:
test   %edi,%edi
je     1125 <__VERIFIER_assume_internal+0x5>
ret
test   %esi,%esi
je     1146 <__VERIFIER_assume_internal+0x26>
push   %rax
lea    0xecf(%rip),%rdi
call   1030 <puts@plt>
lea    0xf28(%rip),%rdi
call   1030 <puts@plt>
add    $0x8,%rsp
xor    %edi,%edi
jmp    1040 <pthread_exit@plt>

LLVM IR (-O0):
@.str = [102 x i8] c"dpu: __VERIFIER_assume: impossible to assume a false expression, dpu has no support for assumptions.\0A\00"
@.str.1 = [97 x i8] c"dpu: calling pthread_exit() instead, you might experience unexpected errors from this point on.\0A\00"
define void @__VERIFIER_assume_internal(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 = icmp ne i32 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %2
br label %16
8: ; preds = %2
%9 = load i32, i32* %4
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %8
%12 = call i32 @printf(i8* getelementptr inbounds ([102 x i8], [102 x i8]* @.str, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([97 x i8], [97 x i8]* @.str.1, i64 0, i64 0))
br label %14
14: ; preds = %11, %8
%15 = call i32 @pthread_exit(i32 0)
br label %16
16: ; preds = %14, %7
ret void
}

LLVM IR (-O2):
@str = [101 x i8] c"dpu: __VERIFIER_assume: impossible to assume a false expression, dpu has no support for assumptions.\00"
@str.2 = [96 x i8] c"dpu: calling pthread_exit() instead, you might experience unexpected errors from this point on.\00"
define void @__VERIFIER_assume_internal(i32 %0, i32 %1) {
%3 = icmp eq i32 %0, 0
br i1 %3, label %4, label %11
4: ; preds = %2
%5 = icmp eq i32 %1, 0
br i1 %5, label %9, label %6
6: ; preds = %4
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([101 x i8], [101 x i8]* @str, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([96 x i8], [96 x i8]* @str.2, i64 0, i64 0))
br label %9
9: ; preds = %6, %4
%10 = tail call i32 @pthread_exit(i32 0)
br label %11
11: ; preds = %2, %9
ret void
}