#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*/ m68ki_push_16(unsigned int);
int /*<<< orphan*/ m68ki_push_32(unsigned int);
void m68ki_stack_frame_1011(unsigned int sr, unsigned int vector,
                            unsigned int pc) {
  m68ki_push_32(0);
  m68ki_push_32(0);
  m68ki_push_32(0);
  m68ki_push_32(0);
  m68ki_push_32(0);
  m68ki_push_32(0);
  m68ki_push_32(0);
  m68ki_push_32(0);
  m68ki_push_32(0);
  m68ki_push_16(0);
  m68ki_push_32(0);
  m68ki_push_16(0);
  m68ki_push_32(0);
  m68ki_push_32(0);
  m68ki_push_32(0);
  m68ki_push_32(0);
  m68ki_push_32(0);
  m68ki_push_32(0);
  m68ki_push_16(0);
  m68ki_push_16(0);
  m68ki_push_32(0);
  m68ki_push_16(0);
  m68ki_push_16(0);
  m68ki_push_16(0);
  m68ki_push_16(0);
  m68ki_push_16(0xb000 | (vector << 2));
  m68ki_push_32(pc);
  m68ki_push_16(sr);
}


x86 assembly (clang, -O0):
<m68ki_stack_frame_1011>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    %edx,-0xc(%rbp)
xor    %edi,%edi
call   1030 <m68ki_push_32@plt>
xor    %edi,%edi
call   1030 <m68ki_push_32@plt>
xor    %edi,%edi
call   1030 <m68ki_push_32@plt>
xor    %edi,%edi
call   1030 <m68ki_push_32@plt>
xor    %edi,%edi
call   1030 <m68ki_push_32@plt>
xor    %edi,%edi
call   1030 <m68ki_push_32@plt>
xor    %edi,%edi
call   1030 <m68ki_push_32@plt>
xor    %edi,%edi
call   1030 <m68ki_push_32@plt>
xor    %edi,%edi
call   1030 <m68ki_push_32@plt>
xor    %edi,%edi
call   1040 <m68ki_push_16@plt>
xor    %edi,%edi
call   1030 <m68ki_push_32@plt>
xor    %edi,%edi
call   1040 <m68ki_push_16@plt>
xor    %edi,%edi
call   1030 <m68ki_push_32@plt>
xor    %edi,%edi
call   1030 <m68ki_push_32@plt>
xor    %edi,%edi
call   1030 <m68ki_push_32@plt>
xor    %edi,%edi
call   1030 <m68ki_push_32@plt>
xor    %edi,%edi
call   1030 <m68ki_push_32@plt>
xor    %edi,%edi
call   1030 <m68ki_push_32@plt>
xor    %edi,%edi
call   1040 <m68ki_push_16@plt>
xor    %edi,%edi
call   1040 <m68ki_push_16@plt>
xor    %edi,%edi
call   1030 <m68ki_push_32@plt>
xor    %edi,%edi
call   1040 <m68ki_push_16@plt>
xor    %edi,%edi
call   1040 <m68ki_push_16@plt>
xor    %edi,%edi
call   1040 <m68ki_push_16@plt>
xor    %edi,%edi
call   1040 <m68ki_push_16@plt>
mov    -0x8(%rbp),%edi
shl    $0x2,%edi
or     $0xb000,%edi
call   1040 <m68ki_push_16@plt>
mov    -0xc(%rbp),%edi
call   1030 <m68ki_push_32@plt>
mov    -0x4(%rbp),%edi
call   1040 <m68ki_push_16@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<m68ki_stack_frame_1011>:
push   %rbp
push   %r14
push   %rbx
mov    %edx,%ebp
mov    %esi,%ebx
mov    %edi,%r14d
xor    %edi,%edi
call   1030 <m68ki_push_32@plt>
xor    %edi,%edi
call   1030 <m68ki_push_32@plt>
xor    %edi,%edi
call   1030 <m68ki_push_32@plt>
xor    %edi,%edi
call   1030 <m68ki_push_32@plt>
xor    %edi,%edi
call   1030 <m68ki_push_32@plt>
xor    %edi,%edi
call   1030 <m68ki_push_32@plt>
xor    %edi,%edi
call   1030 <m68ki_push_32@plt>
xor    %edi,%edi
call   1030 <m68ki_push_32@plt>
xor    %edi,%edi
call   1030 <m68ki_push_32@plt>
xor    %edi,%edi
call   1040 <m68ki_push_16@plt>
xor    %edi,%edi
call   1030 <m68ki_push_32@plt>
xor    %edi,%edi
call   1040 <m68ki_push_16@plt>
xor    %edi,%edi
call   1030 <m68ki_push_32@plt>
xor    %edi,%edi
call   1030 <m68ki_push_32@plt>
xor    %edi,%edi
call   1030 <m68ki_push_32@plt>
xor    %edi,%edi
call   1030 <m68ki_push_32@plt>
xor    %edi,%edi
call   1030 <m68ki_push_32@plt>
xor    %edi,%edi
call   1030 <m68ki_push_32@plt>
xor    %edi,%edi
call   1040 <m68ki_push_16@plt>
xor    %edi,%edi
call   1040 <m68ki_push_16@plt>
xor    %edi,%edi
call   1030 <m68ki_push_32@plt>
xor    %edi,%edi
call   1040 <m68ki_push_16@plt>
xor    %edi,%edi
call   1040 <m68ki_push_16@plt>
xor    %edi,%edi
call   1040 <m68ki_push_16@plt>
xor    %edi,%edi
call   1040 <m68ki_push_16@plt>
shl    $0x2,%ebx
or     $0xb000,%ebx
mov    %ebx,%edi
call   1040 <m68ki_push_16@plt>
mov    %ebp,%edi
call   1030 <m68ki_push_32@plt>
mov    %r14d,%edi
pop    %rbx
pop    %r14
pop    %rbp
jmp    1040 <m68ki_push_16@plt>

LLVM IR (-O0):
define void @m68ki_stack_frame_1011(i32 %0, i32 %1, i32 %2) {
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
store i32 %0, i32* %4
store i32 %1, i32* %5
store i32 %2, i32* %6
%7 = call i32 @m68ki_push_32(i32 0)
%8 = call i32 @m68ki_push_32(i32 0)
%9 = call i32 @m68ki_push_32(i32 0)
%10 = call i32 @m68ki_push_32(i32 0)
%11 = call i32 @m68ki_push_32(i32 0)
%12 = call i32 @m68ki_push_32(i32 0)
%13 = call i32 @m68ki_push_32(i32 0)
%14 = call i32 @m68ki_push_32(i32 0)
%15 = call i32 @m68ki_push_32(i32 0)
%16 = call i32 @m68ki_push_16(i32 0)
%17 = call i32 @m68ki_push_32(i32 0)
%18 = call i32 @m68ki_push_16(i32 0)
%19 = call i32 @m68ki_push_32(i32 0)
%20 = call i32 @m68ki_push_32(i32 0)
%21 = call i32 @m68ki_push_32(i32 0)
%22 = call i32 @m68ki_push_32(i32 0)
%23 = call i32 @m68ki_push_32(i32 0)
%24 = call i32 @m68ki_push_32(i32 0)
%25 = call i32 @m68ki_push_16(i32 0)
%26 = call i32 @m68ki_push_16(i32 0)
%27 = call i32 @m68ki_push_32(i32 0)
%28 = call i32 @m68ki_push_16(i32 0)
%29 = call i32 @m68ki_push_16(i32 0)
%30 = call i32 @m68ki_push_16(i32 0)
%31 = call i32 @m68ki_push_16(i32 0)
%32 = load i32, i32* %5
%33 = shl i32 %32, 2
%34 = or i32 45056, %33
%35 = call i32 @m68ki_push_16(i32 %34)
%36 = load i32, i32* %6
%37 = call i32 @m68ki_push_32(i32 %36)
%38 = load i32, i32* %4
%39 = call i32 @m68ki_push_16(i32 %38)
ret void
}

LLVM IR (-O2):
define void @m68ki_stack_frame_1011(i32 %0, i32 %1, i32 %2) {
%4 = tail call i32 @m68ki_push_32(i32 0)
%5 = tail call i32 @m68ki_push_32(i32 0)
%6 = tail call i32 @m68ki_push_32(i32 0)
%7 = tail call i32 @m68ki_push_32(i32 0)
%8 = tail call i32 @m68ki_push_32(i32 0)
%9 = tail call i32 @m68ki_push_32(i32 0)
%10 = tail call i32 @m68ki_push_32(i32 0)
%11 = tail call i32 @m68ki_push_32(i32 0)
%12 = tail call i32 @m68ki_push_32(i32 0)
%13 = tail call i32 @m68ki_push_16(i32 0)
%14 = tail call i32 @m68ki_push_32(i32 0)
%15 = tail call i32 @m68ki_push_16(i32 0)
%16 = tail call i32 @m68ki_push_32(i32 0)
%17 = tail call i32 @m68ki_push_32(i32 0)
%18 = tail call i32 @m68ki_push_32(i32 0)
%19 = tail call i32 @m68ki_push_32(i32 0)
%20 = tail call i32 @m68ki_push_32(i32 0)
%21 = tail call i32 @m68ki_push_32(i32 0)
%22 = tail call i32 @m68ki_push_16(i32 0)
%23 = tail call i32 @m68ki_push_16(i32 0)
%24 = tail call i32 @m68ki_push_32(i32 0)
%25 = tail call i32 @m68ki_push_16(i32 0)
%26 = tail call i32 @m68ki_push_16(i32 0)
%27 = tail call i32 @m68ki_push_16(i32 0)
%28 = tail call i32 @m68ki_push_16(i32 0)
%29 = shl i32 %1, 2
%30 = or i32 %29, 45056
%31 = tail call i32 @m68ki_push_16(i32 %30)
%32 = tail call i32 @m68ki_push_32(i32 %2)
%33 = tail call i32 @m68ki_push_16(i32 %0)
ret void
}