#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*/ test4_Core_wait__E(int);
int /*<<< orphan*/ test4_GlobalInterrupts_disable__E();
int /*<<< orphan*/ test4_GlobalInterrupts_enable__E();
int /*<<< orphan*/ test4_OtherInterrupts_disable__E();
int /*<<< orphan*/ test4_OtherInterrupts_other_disable__E();
int /*<<< orphan*/ test4_OtherInterrupts_other_enable__E();
int /*<<< orphan*/ test4_TestExports_enable__I();
void test4_TestExports_foo__I() {
  test4_GlobalInterrupts_enable__E();
  test4_GlobalInterrupts_enable__E();
  test4_GlobalInterrupts_disable__E();
  test4_OtherInterrupts_other_enable__E();
  test4_OtherInterrupts_other_disable__E();
  test4_TestExports_enable__I();
  test4_OtherInterrupts_disable__E();
  test4_TestExports_enable__I();
  test4_Core_wait__E(3);
}


x86 assembly (clang, -O0):
<test4_TestExports_foo__I>:
push   %rbp
mov    %rsp,%rbp
mov    $0x0,%al
call   1080 <test4_GlobalInterrupts_enable__E@plt>
mov    $0x0,%al
call   1080 <test4_GlobalInterrupts_enable__E@plt>
mov    $0x0,%al
call   1060 <test4_GlobalInterrupts_disable__E@plt>
mov    $0x0,%al
call   1030 <test4_OtherInterrupts_other_enable__E@plt>
mov    $0x0,%al
call   1070 <test4_OtherInterrupts_other_disable__E@plt>
mov    $0x0,%al
call   1050 <test4_TestExports_enable__I@plt>
mov    $0x0,%al
call   1040 <test4_OtherInterrupts_disable__E@plt>
mov    $0x0,%al
call   1050 <test4_TestExports_enable__I@plt>
mov    $0x3,%edi
call   1090 <test4_Core_wait__E@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<test4_TestExports_foo__I>:
push   %rax
xor    %eax,%eax
call   1080 <test4_GlobalInterrupts_enable__E@plt>
xor    %eax,%eax
call   1080 <test4_GlobalInterrupts_enable__E@plt>
xor    %eax,%eax
call   1060 <test4_GlobalInterrupts_disable__E@plt>
xor    %eax,%eax
call   1030 <test4_OtherInterrupts_other_enable__E@plt>
xor    %eax,%eax
call   1070 <test4_OtherInterrupts_other_disable__E@plt>
xor    %eax,%eax
call   1050 <test4_TestExports_enable__I@plt>
xor    %eax,%eax
call   1040 <test4_OtherInterrupts_disable__E@plt>
xor    %eax,%eax
call   1050 <test4_TestExports_enable__I@plt>
mov    $0x3,%edi
pop    %rax
jmp    1090 <test4_Core_wait__E@plt>

LLVM IR (-O0):
define void @test4_TestExports_foo__I() {
%1 = call i32 (...) @test4_GlobalInterrupts_enable__E()
%2 = call i32 (...) @test4_GlobalInterrupts_enable__E()
%3 = call i32 (...) @test4_GlobalInterrupts_disable__E()
%4 = call i32 (...) @test4_OtherInterrupts_other_enable__E()
%5 = call i32 (...) @test4_OtherInterrupts_other_disable__E()
%6 = call i32 (...) @test4_TestExports_enable__I()
%7 = call i32 (...) @test4_OtherInterrupts_disable__E()
%8 = call i32 (...) @test4_TestExports_enable__I()
%9 = call i32 @test4_Core_wait__E(i32 3)
ret void
}

LLVM IR (-O2):
define void @test4_TestExports_foo__I() {
%1 = tail call i32 (...) @test4_GlobalInterrupts_enable__E()
%2 = tail call i32 (...) @test4_GlobalInterrupts_enable__E()
%3 = tail call i32 (...) @test4_GlobalInterrupts_disable__E()
%4 = tail call i32 (...) @test4_OtherInterrupts_other_enable__E()
%5 = tail call i32 (...) @test4_OtherInterrupts_other_disable__E()
%6 = tail call i32 (...) @test4_TestExports_enable__I()
%7 = tail call i32 (...) @test4_OtherInterrupts_disable__E()
%8 = tail call i32 (...) @test4_TestExports_enable__I()
%9 = tail call i32 @test4_Core_wait__E(i32 3)
ret void
}