#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*/ PinSetPIN__BUSRQ(int);
int /*<<< orphan*/ PinSetPIN__CLK(int);
int /*<<< orphan*/ PinSetPIN__INT(int);
int /*<<< orphan*/ PinSetPIN__NMI(int);
int /*<<< orphan*/ PinSetPIN__RESET(int);
int /*<<< orphan*/ PinSetPIN__WAIT(int);
void CPU_RESET() {
  PinSetPIN__WAIT(1);
  PinSetPIN__INT(1);
  PinSetPIN__NMI(1);
  PinSetPIN__RESET(1);
  PinSetPIN__BUSRQ(1);
  PinSetPIN__RESET(0);
  PinSetPIN__CLK(1);
  PinSetPIN__CLK(0);
  PinSetPIN__CLK(1);
  PinSetPIN__CLK(0);
  PinSetPIN__CLK(1);
  PinSetPIN__CLK(0);
  PinSetPIN__RESET(1);
}


x86 assembly (clang, -O0):
<CPU_RESET>:
push   %rbp
mov    %rsp,%rbp
mov    $0x1,%edi
call   1040 <PinSetPIN__WAIT@plt>
mov    $0x1,%edi
call   1080 <PinSetPIN__INT@plt>
mov    $0x1,%edi
call   1060 <PinSetPIN__NMI@plt>
mov    $0x1,%edi
call   1030 <PinSetPIN__RESET@plt>
mov    $0x1,%edi
call   1050 <PinSetPIN__BUSRQ@plt>
xor    %edi,%edi
call   1030 <PinSetPIN__RESET@plt>
mov    $0x1,%edi
call   1070 <PinSetPIN__CLK@plt>
xor    %edi,%edi
call   1070 <PinSetPIN__CLK@plt>
mov    $0x1,%edi
call   1070 <PinSetPIN__CLK@plt>
xor    %edi,%edi
call   1070 <PinSetPIN__CLK@plt>
mov    $0x1,%edi
call   1070 <PinSetPIN__CLK@plt>
xor    %edi,%edi
call   1070 <PinSetPIN__CLK@plt>
mov    $0x1,%edi
call   1030 <PinSetPIN__RESET@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<CPU_RESET>:
push   %rax
mov    $0x1,%edi
call   1040 <PinSetPIN__WAIT@plt>
mov    $0x1,%edi
call   1080 <PinSetPIN__INT@plt>
mov    $0x1,%edi
call   1060 <PinSetPIN__NMI@plt>
mov    $0x1,%edi
call   1030 <PinSetPIN__RESET@plt>
mov    $0x1,%edi
call   1050 <PinSetPIN__BUSRQ@plt>
xor    %edi,%edi
call   1030 <PinSetPIN__RESET@plt>
mov    $0x1,%edi
call   1070 <PinSetPIN__CLK@plt>
xor    %edi,%edi
call   1070 <PinSetPIN__CLK@plt>
mov    $0x1,%edi
call   1070 <PinSetPIN__CLK@plt>
xor    %edi,%edi
call   1070 <PinSetPIN__CLK@plt>
mov    $0x1,%edi
call   1070 <PinSetPIN__CLK@plt>
xor    %edi,%edi
call   1070 <PinSetPIN__CLK@plt>
mov    $0x1,%edi
pop    %rax
jmp    1030 <PinSetPIN__RESET@plt>

LLVM IR (-O0):
define void @CPU_RESET() {
%1 = call i32 @PinSetPIN__WAIT(i32 1)
%2 = call i32 @PinSetPIN__INT(i32 1)
%3 = call i32 @PinSetPIN__NMI(i32 1)
%4 = call i32 @PinSetPIN__RESET(i32 1)
%5 = call i32 @PinSetPIN__BUSRQ(i32 1)
%6 = call i32 @PinSetPIN__RESET(i32 0)
%7 = call i32 @PinSetPIN__CLK(i32 1)
%8 = call i32 @PinSetPIN__CLK(i32 0)
%9 = call i32 @PinSetPIN__CLK(i32 1)
%10 = call i32 @PinSetPIN__CLK(i32 0)
%11 = call i32 @PinSetPIN__CLK(i32 1)
%12 = call i32 @PinSetPIN__CLK(i32 0)
%13 = call i32 @PinSetPIN__RESET(i32 1)
ret void
}

LLVM IR (-O2):
define void @CPU_RESET() {
%1 = tail call i32 @PinSetPIN__WAIT(i32 1)
%2 = tail call i32 @PinSetPIN__INT(i32 1)
%3 = tail call i32 @PinSetPIN__NMI(i32 1)
%4 = tail call i32 @PinSetPIN__RESET(i32 1)
%5 = tail call i32 @PinSetPIN__BUSRQ(i32 1)
%6 = tail call i32 @PinSetPIN__RESET(i32 0)
%7 = tail call i32 @PinSetPIN__CLK(i32 1)
%8 = tail call i32 @PinSetPIN__CLK(i32 0)
%9 = tail call i32 @PinSetPIN__CLK(i32 1)
%10 = tail call i32 @PinSetPIN__CLK(i32 0)
%11 = tail call i32 @PinSetPIN__CLK(i32 1)
%12 = tail call i32 @PinSetPIN__CLK(i32 0)
%13 = tail call i32 @PinSetPIN__RESET(i32 1)
ret void
}