#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*/ opt_set_int(char *, int);
int /*<<< orphan*/ opt_set_str(char *, int /*<<< orphan*/ *);
void set_default_opts(void) {
  opt_set_int("rt-stats", 0);
  opt_set_int("rt_trace_en", 0);
  opt_set_int("vhpi_trace_en", 0);
  opt_set_int("dump-llvm", 0);
  opt_set_int("optimise", 2);
  opt_set_int("bootstrap", 0);
  opt_set_str("dump-json", NULL);
  opt_set_int("cover", 0);
  opt_set_int("stop-delta", 1000);
  opt_set_int("unit-test", 0);
  opt_set_int("make-deps-only", 0);
  opt_set_int("make-posix", 0);
  opt_set_str("dump-vcode", NULL);
  opt_set_int("relax", 0);
  opt_set_int("ignore-time", 0);
  opt_set_int("force-init", 0);
  opt_set_int("verbose", 0);
  opt_set_int("rt_profile", 0);
  opt_set_int("synthesis", 0);
  opt_set_int("missing-body", 1);
  opt_set_int("assembly", 0);
  opt_set_int("error-limit", -1);
}


x86 assembly (clang, -O0):
<set_default_opts>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
xor    %esi,%esi
call   1030 <opt_set_int@plt>
lea    0xed0(%rip),%rdi
xor    %esi,%esi
call   1030 <opt_set_int@plt>
lea    0xece(%rip),%rdi
xor    %esi,%esi
call   1030 <opt_set_int@plt>
lea    0xece(%rip),%rdi
xor    %esi,%esi
call   1030 <opt_set_int@plt>
lea    0xeca(%rip),%rdi
mov    $0x2,%esi
call   1030 <opt_set_int@plt>
lea    0xec2(%rip),%rdi
xor    %esi,%esi
call   1030 <opt_set_int@plt>
lea    0xebe(%rip),%rdi
xor    %eax,%eax
mov    %eax,%esi
call   1040 <opt_set_str@plt>
lea    0xeb8(%rip),%rdi
xor    %esi,%esi
call   1030 <opt_set_int@plt>
lea    0xeb0(%rip),%rdi
mov    $0x3e8,%esi
call   1030 <opt_set_int@plt>
lea    0xeaa(%rip),%rdi
xor    %esi,%esi
call   1030 <opt_set_int@plt>
lea    0xea6(%rip),%rdi
xor    %esi,%esi
call   1030 <opt_set_int@plt>
lea    0xea7(%rip),%rdi
xor    %esi,%esi
call   1030 <opt_set_int@plt>
lea    0xea4(%rip),%rdi
xor    %eax,%eax
mov    %eax,%esi
call   1040 <opt_set_str@plt>
lea    0xe9f(%rip),%rdi
xor    %esi,%esi
call   1030 <opt_set_int@plt>
lea    0xe97(%rip),%rdi
xor    %esi,%esi
call   1030 <opt_set_int@plt>
lea    0xe95(%rip),%rdi
xor    %esi,%esi
call   1030 <opt_set_int@plt>
lea    0xe92(%rip),%rdi
xor    %esi,%esi
call   1030 <opt_set_int@plt>
lea    0xe8c(%rip),%rdi
xor    %esi,%esi
call   1030 <opt_set_int@plt>
lea    0xe89(%rip),%rdi
xor    %esi,%esi
call   1030 <opt_set_int@plt>
lea    0xe85(%rip),%rdi
mov    $0x1,%esi
call   1030 <opt_set_int@plt>
lea    0xe81(%rip),%rdi
xor    %esi,%esi
call   1030 <opt_set_int@plt>
lea    0xe7c(%rip),%rdi
mov    $0xffffffff,%esi
call   1030 <opt_set_int@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<set_default_opts>:
push   %rax
lea    0xed8(%rip),%rdi
xor    %esi,%esi
call   1030 <opt_set_int@plt>
lea    0xed3(%rip),%rdi
xor    %esi,%esi
call   1030 <opt_set_int@plt>
lea    0xed1(%rip),%rdi
xor    %esi,%esi
call   1030 <opt_set_int@plt>
lea    0xed1(%rip),%rdi
xor    %esi,%esi
call   1030 <opt_set_int@plt>
lea    0xecd(%rip),%rdi
mov    $0x2,%esi
call   1030 <opt_set_int@plt>
lea    0xec5(%rip),%rdi
xor    %esi,%esi
call   1030 <opt_set_int@plt>
lea    0xec1(%rip),%rdi
xor    %esi,%esi
call   1040 <opt_set_str@plt>
lea    0xebd(%rip),%rdi
xor    %esi,%esi
call   1030 <opt_set_int@plt>
lea    0xeb5(%rip),%rdi
mov    $0x3e8,%esi
call   1030 <opt_set_int@plt>
lea    0xeaf(%rip),%rdi
xor    %esi,%esi
call   1030 <opt_set_int@plt>
lea    0xeab(%rip),%rdi
xor    %esi,%esi
call   1030 <opt_set_int@plt>
lea    0xeac(%rip),%rdi
xor    %esi,%esi
call   1030 <opt_set_int@plt>
lea    0xea9(%rip),%rdi
xor    %esi,%esi
call   1040 <opt_set_str@plt>
lea    0xea6(%rip),%rdi
xor    %esi,%esi
call   1030 <opt_set_int@plt>
lea    0xe9e(%rip),%rdi
xor    %esi,%esi
call   1030 <opt_set_int@plt>
lea    0xe9c(%rip),%rdi
xor    %esi,%esi
call   1030 <opt_set_int@plt>
lea    0xe99(%rip),%rdi
xor    %esi,%esi
call   1030 <opt_set_int@plt>
lea    0xe93(%rip),%rdi
xor    %esi,%esi
call   1030 <opt_set_int@plt>
lea    0xe90(%rip),%rdi
xor    %esi,%esi
call   1030 <opt_set_int@plt>
lea    0xe8c(%rip),%rdi
mov    $0x1,%esi
call   1030 <opt_set_int@plt>
lea    0xe88(%rip),%rdi
xor    %esi,%esi
call   1030 <opt_set_int@plt>
lea    0xe83(%rip),%rdi
mov    $0xffffffff,%esi
pop    %rax
jmp    1030 <opt_set_int@plt>

LLVM IR (-O0):
@.str = [9 x i8] c"rt-stats\00"
@.str.1 = [12 x i8] c"rt_trace_en\00"
@.str.2 = [14 x i8] c"vhpi_trace_en\00"
@.str.3 = [10 x i8] c"dump-llvm\00"
@.str.4 = [9 x i8] c"optimise\00"
@.str.5 = [10 x i8] c"bootstrap\00"
@.str.6 = [10 x i8] c"dump-json\00"
@.str.7 = [6 x i8] c"cover\00"
@.str.8 = [11 x i8] c"stop-delta\00"
@.str.9 = [10 x i8] c"unit-test\00"
@.str.10 = [15 x i8] c"make-deps-only\00"
@.str.11 = [11 x i8] c"make-posix\00"
@.str.12 = [11 x i8] c"dump-vcode\00"
@.str.13 = [6 x i8] c"relax\00"
@.str.14 = [12 x i8] c"ignore-time\00"
@.str.15 = [11 x i8] c"force-init\00"
@.str.16 = [8 x i8] c"verbose\00"
@.str.17 = [11 x i8] c"rt_profile\00"
@.str.18 = [10 x i8] c"synthesis\00"
@.str.19 = [13 x i8] c"missing-body\00"
@.str.20 = [9 x i8] c"assembly\00"
@.str.21 = [12 x i8] c"error-limit\00"
define void @set_default_opts() {
%1 = call i32 @opt_set_int(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 0)
%2 = call i32 @opt_set_int(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i32 0)
%3 = call i32 @opt_set_int(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.2, i64 0, i64 0), i32 0)
%4 = call i32 @opt_set_int(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0), i32 0)
%5 = call i32 @opt_set_int(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 2)
%6 = call i32 @opt_set_int(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 0)
%7 = call i32 @opt_set_str(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0), i32* null)
%8 = call i32 @opt_set_int(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 0)
%9 = call i32 @opt_set_int(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i64 0, i64 0), i32 1000)
%10 = call i32 @opt_set_int(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.9, i64 0, i64 0), i32 0)
%11 = call i32 @opt_set_int(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.10, i64 0, i64 0), i32 0)
%12 = call i32 @opt_set_int(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.11, i64 0, i64 0), i32 0)
%13 = call i32 @opt_set_str(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.12, i64 0, i64 0), i32* null)
%14 = call i32 @opt_set_int(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.13, i64 0, i64 0), i32 0)
%15 = call i32 @opt_set_int(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.14, i64 0, i64 0), i32 0)
%16 = call i32 @opt_set_int(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.15, i64 0, i64 0), i32 0)
%17 = call i32 @opt_set_int(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.16, i64 0, i64 0), i32 0)
%18 = call i32 @opt_set_int(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.17, i64 0, i64 0), i32 0)
%19 = call i32 @opt_set_int(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.18, i64 0, i64 0), i32 0)
%20 = call i32 @opt_set_int(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.19, i64 0, i64 0), i32 1)
%21 = call i32 @opt_set_int(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.20, i64 0, i64 0), i32 0)
%22 = call i32 @opt_set_int(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.21, i64 0, i64 0), i32 -1)
ret void
}

LLVM IR (-O2):
@.str = [9 x i8] c"rt-stats\00"
@.str.1 = [12 x i8] c"rt_trace_en\00"
@.str.2 = [14 x i8] c"vhpi_trace_en\00"
@.str.3 = [10 x i8] c"dump-llvm\00"
@.str.4 = [9 x i8] c"optimise\00"
@.str.5 = [10 x i8] c"bootstrap\00"
@.str.6 = [10 x i8] c"dump-json\00"
@.str.7 = [6 x i8] c"cover\00"
@.str.8 = [11 x i8] c"stop-delta\00"
@.str.9 = [10 x i8] c"unit-test\00"
@.str.10 = [15 x i8] c"make-deps-only\00"
@.str.11 = [11 x i8] c"make-posix\00"
@.str.12 = [11 x i8] c"dump-vcode\00"
@.str.13 = [6 x i8] c"relax\00"
@.str.14 = [12 x i8] c"ignore-time\00"
@.str.15 = [11 x i8] c"force-init\00"
@.str.16 = [8 x i8] c"verbose\00"
@.str.17 = [11 x i8] c"rt_profile\00"
@.str.18 = [10 x i8] c"synthesis\00"
@.str.19 = [13 x i8] c"missing-body\00"
@.str.20 = [9 x i8] c"assembly\00"
@.str.21 = [12 x i8] c"error-limit\00"
define void @set_default_opts() {
%1 = tail call i32 @opt_set_int(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 0)
%2 = tail call i32 @opt_set_int(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i32 0)
%3 = tail call i32 @opt_set_int(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.2, i64 0, i64 0), i32 0)
%4 = tail call i32 @opt_set_int(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0), i32 0)
%5 = tail call i32 @opt_set_int(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 2)
%6 = tail call i32 @opt_set_int(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 0)
%7 = tail call i32 @opt_set_str(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0), i32* null)
%8 = tail call i32 @opt_set_int(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 0)
%9 = tail call i32 @opt_set_int(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i64 0, i64 0), i32 1000)
%10 = tail call i32 @opt_set_int(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.9, i64 0, i64 0), i32 0)
%11 = tail call i32 @opt_set_int(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.10, i64 0, i64 0), i32 0)
%12 = tail call i32 @opt_set_int(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.11, i64 0, i64 0), i32 0)
%13 = tail call i32 @opt_set_str(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.12, i64 0, i64 0), i32* null)
%14 = tail call i32 @opt_set_int(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.13, i64 0, i64 0), i32 0)
%15 = tail call i32 @opt_set_int(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.14, i64 0, i64 0), i32 0)
%16 = tail call i32 @opt_set_int(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.15, i64 0, i64 0), i32 0)
%17 = tail call i32 @opt_set_int(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.16, i64 0, i64 0), i32 0)
%18 = tail call i32 @opt_set_int(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.17, i64 0, i64 0), i32 0)
%19 = tail call i32 @opt_set_int(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.18, i64 0, i64 0), i32 0)
%20 = tail call i32 @opt_set_int(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.19, i64 0, i64 0), i32 1)
%21 = tail call i32 @opt_set_int(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.20, i64 0, i64 0), i32 0)
%22 = tail call i32 @opt_set_int(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.21, i64 0, i64 0), i32 -1)
ret void
}