#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*/ DBG_FUNCC(char *);
int /*<<< orphan*/ mUsbClrAllFIFOSet();
int /*<<< orphan*/ mUsbIdleCnt(int);
int /*<<< orphan*/ mUsbIntBusRstClr();
int /*<<< orphan*/ mUsbIntEP0EndDis();
int /*<<< orphan*/ mUsbIntFIFO0_3OUTDis();
int /*<<< orphan*/ mUsbIntFIFO0_7INDis();
int /*<<< orphan*/ mUsbIntFIFO4_7OUTDis();
int /*<<< orphan*/ mUsbIntFIFO8_9INDis();
int /*<<< orphan*/ mUsbIntFIFO8_9OUTDis();
int /*<<< orphan*/ mUsbIntResmClr();
int /*<<< orphan*/ mUsbIntSuspClr();
int /*<<< orphan*/ mUsbSoftRstClr();
int /*<<< orphan*/ mUsbSoftRstSet();
void vFUSB220Init(void) {
  DBG_FUNCC("+vFUSB220Init()\n");
  mUsbIdleCnt(7);
  mUsbIntBusRstClr();
  mUsbIntSuspClr();
  mUsbIntResmClr();
  mUsbIntFIFO0_3OUTDis();
  mUsbIntFIFO4_7OUTDis();
  mUsbIntFIFO8_9OUTDis();
  mUsbIntFIFO0_7INDis();
  mUsbIntFIFO8_9INDis();
  mUsbSoftRstSet();
  mUsbSoftRstClr();
  mUsbClrAllFIFOSet();
  mUsbIntEP0EndDis();
}


x86 assembly (clang, -O0):
<vFUSB220Init>:
push   %rbp
mov    %rsp,%rbp
lea    0xe15(%rip),%rdi
call   1040 <DBG_FUNCC@plt>
mov    $0x7,%edi
call   10a0 <mUsbIdleCnt@plt>
mov    $0x0,%al
call   1100 <mUsbIntBusRstClr@plt>
mov    $0x0,%al
call   1090 <mUsbIntSuspClr@plt>
mov    $0x0,%al
call   10b0 <mUsbIntResmClr@plt>
mov    $0x0,%al
call   10f0 <mUsbIntFIFO0_3OUTDis@plt>
mov    $0x0,%al
call   10c0 <mUsbIntFIFO4_7OUTDis@plt>
mov    $0x0,%al
call   1080 <mUsbIntFIFO8_9OUTDis@plt>
mov    $0x0,%al
call   1060 <mUsbIntFIFO0_7INDis@plt>
mov    $0x0,%al
call   10d0 <mUsbIntFIFO8_9INDis@plt>
mov    $0x0,%al
call   1030 <mUsbSoftRstSet@plt>
mov    $0x0,%al
call   10e0 <mUsbSoftRstClr@plt>
mov    $0x0,%al
call   1070 <mUsbClrAllFIFOSet@plt>
mov    $0x0,%al
call   1050 <mUsbIntEP0EndDis@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<vFUSB220Init>:
push   %rax
lea    0xe18(%rip),%rdi
call   1040 <DBG_FUNCC@plt>
mov    $0x7,%edi
call   10a0 <mUsbIdleCnt@plt>
xor    %eax,%eax
call   1100 <mUsbIntBusRstClr@plt>
xor    %eax,%eax
call   1090 <mUsbIntSuspClr@plt>
xor    %eax,%eax
call   10b0 <mUsbIntResmClr@plt>
xor    %eax,%eax
call   10f0 <mUsbIntFIFO0_3OUTDis@plt>
xor    %eax,%eax
call   10c0 <mUsbIntFIFO4_7OUTDis@plt>
xor    %eax,%eax
call   1080 <mUsbIntFIFO8_9OUTDis@plt>
xor    %eax,%eax
call   1060 <mUsbIntFIFO0_7INDis@plt>
xor    %eax,%eax
call   10d0 <mUsbIntFIFO8_9INDis@plt>
xor    %eax,%eax
call   1030 <mUsbSoftRstSet@plt>
xor    %eax,%eax
call   10e0 <mUsbSoftRstClr@plt>
xor    %eax,%eax
call   1070 <mUsbClrAllFIFOSet@plt>
xor    %eax,%eax
pop    %rcx
jmp    1050 <mUsbIntEP0EndDis@plt>

LLVM IR (-O0):
@.str = [17 x i8] c"+vFUSB220Init()\0A\00"
define void @vFUSB220Init() {
%1 = call i32 @DBG_FUNCC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @mUsbIdleCnt(i32 7)
%3 = call i32 (...) @mUsbIntBusRstClr()
%4 = call i32 (...) @mUsbIntSuspClr()
%5 = call i32 (...) @mUsbIntResmClr()
%6 = call i32 (...) @mUsbIntFIFO0_3OUTDis()
%7 = call i32 (...) @mUsbIntFIFO4_7OUTDis()
%8 = call i32 (...) @mUsbIntFIFO8_9OUTDis()
%9 = call i32 (...) @mUsbIntFIFO0_7INDis()
%10 = call i32 (...) @mUsbIntFIFO8_9INDis()
%11 = call i32 (...) @mUsbSoftRstSet()
%12 = call i32 (...) @mUsbSoftRstClr()
%13 = call i32 (...) @mUsbClrAllFIFOSet()
%14 = call i32 (...) @mUsbIntEP0EndDis()
ret void
}

LLVM IR (-O2):
@.str = [17 x i8] c"+vFUSB220Init()\0A\00"
define void @vFUSB220Init() {
%1 = tail call i32 @DBG_FUNCC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 @mUsbIdleCnt(i32 7)
%3 = tail call i32 (...) @mUsbIntBusRstClr()
%4 = tail call i32 (...) @mUsbIntSuspClr()
%5 = tail call i32 (...) @mUsbIntResmClr()
%6 = tail call i32 (...) @mUsbIntFIFO0_3OUTDis()
%7 = tail call i32 (...) @mUsbIntFIFO4_7OUTDis()
%8 = tail call i32 (...) @mUsbIntFIFO8_9OUTDis()
%9 = tail call i32 (...) @mUsbIntFIFO0_7INDis()
%10 = tail call i32 (...) @mUsbIntFIFO8_9INDis()
%11 = tail call i32 (...) @mUsbSoftRstSet()
%12 = tail call i32 (...) @mUsbSoftRstClr()
%13 = tail call i32 (...) @mUsbClrAllFIFOSet()
%14 = tail call i32 (...) @mUsbIntEP0EndDis()
ret void
}