#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*/ setup_calc_noise_long(int);
int /*<<< orphan*/ setup_choose_table(int);
int /*<<< orphan*/ setup_convolute_energy(int);
int /*<<< orphan*/ setup_dist_mfbuf(int);
int /*<<< orphan*/ setup_fft(int);
int /*<<< orphan*/ setup_inner_psy_ch4(int);
int /*<<< orphan*/ setup_mdct(int);
int /*<<< orphan*/ setup_ms_convert(int);
int /*<<< orphan*/ setup_pow075(int);
int /*<<< orphan*/ setup_quantize_xrpow_ISO(int);
int /*<<< orphan*/ setup_shiftoutpfb(int);
void setupUNIT(int unit) {
  setup_shiftoutpfb(unit);
  setup_dist_mfbuf(unit);
  setup_convolute_energy(unit);
  setup_choose_table(unit);
  setup_inner_psy_ch4(unit);
  setup_fft(unit);
  setup_mdct(unit);
  setup_quantize_xrpow_ISO(unit);
  setup_pow075(unit);
  setup_calc_noise_long(unit);
  setup_ms_convert(unit);
}


x86 assembly (clang, -O0):
<setupUNIT>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %edi,-0x4(%rbp)
mov    -0x4(%rbp),%edi
call   1060 <setup_shiftoutpfb@plt>
mov    -0x4(%rbp),%edi
call   1070 <setup_dist_mfbuf@plt>
mov    -0x4(%rbp),%edi
call   10d0 <setup_convolute_energy@plt>
mov    -0x4(%rbp),%edi
call   1040 <setup_choose_table@plt>
mov    -0x4(%rbp),%edi
call   1030 <setup_inner_psy_ch4@plt>
mov    -0x4(%rbp),%edi
call   1080 <setup_fft@plt>
mov    -0x4(%rbp),%edi
call   1090 <setup_mdct@plt>
mov    -0x4(%rbp),%edi
call   10b0 <setup_quantize_xrpow_ISO@plt>
mov    -0x4(%rbp),%edi
call   10a0 <setup_pow075@plt>
mov    -0x4(%rbp),%edi
call   1050 <setup_calc_noise_long@plt>
mov    -0x4(%rbp),%edi
call   10c0 <setup_ms_convert@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<setupUNIT>:
push   %rbx
mov    %edi,%ebx
call   1060 <setup_shiftoutpfb@plt>
mov    %ebx,%edi
call   1070 <setup_dist_mfbuf@plt>
mov    %ebx,%edi
call   10d0 <setup_convolute_energy@plt>
mov    %ebx,%edi
call   1040 <setup_choose_table@plt>
mov    %ebx,%edi
call   1030 <setup_inner_psy_ch4@plt>
mov    %ebx,%edi
call   1080 <setup_fft@plt>
mov    %ebx,%edi
call   1090 <setup_mdct@plt>
mov    %ebx,%edi
call   10b0 <setup_quantize_xrpow_ISO@plt>
mov    %ebx,%edi
call   10a0 <setup_pow075@plt>
mov    %ebx,%edi
call   1050 <setup_calc_noise_long@plt>
mov    %ebx,%edi
pop    %rbx
jmp    10c0 <setup_ms_convert@plt>

LLVM IR (-O0):
define void @setupUNIT(i32 %0) {
%2 = alloca i32
store i32 %0, i32* %2
%3 = load i32, i32* %2
%4 = call i32 @setup_shiftoutpfb(i32 %3)
%5 = load i32, i32* %2
%6 = call i32 @setup_dist_mfbuf(i32 %5)
%7 = load i32, i32* %2
%8 = call i32 @setup_convolute_energy(i32 %7)
%9 = load i32, i32* %2
%10 = call i32 @setup_choose_table(i32 %9)
%11 = load i32, i32* %2
%12 = call i32 @setup_inner_psy_ch4(i32 %11)
%13 = load i32, i32* %2
%14 = call i32 @setup_fft(i32 %13)
%15 = load i32, i32* %2
%16 = call i32 @setup_mdct(i32 %15)
%17 = load i32, i32* %2
%18 = call i32 @setup_quantize_xrpow_ISO(i32 %17)
%19 = load i32, i32* %2
%20 = call i32 @setup_pow075(i32 %19)
%21 = load i32, i32* %2
%22 = call i32 @setup_calc_noise_long(i32 %21)
%23 = load i32, i32* %2
%24 = call i32 @setup_ms_convert(i32 %23)
ret void
}

LLVM IR (-O2):
define void @setupUNIT(i32 %0) {
%2 = tail call i32 @setup_shiftoutpfb(i32 %0)
%3 = tail call i32 @setup_dist_mfbuf(i32 %0)
%4 = tail call i32 @setup_convolute_energy(i32 %0)
%5 = tail call i32 @setup_choose_table(i32 %0)
%6 = tail call i32 @setup_inner_psy_ch4(i32 %0)
%7 = tail call i32 @setup_fft(i32 %0)
%8 = tail call i32 @setup_mdct(i32 %0)
%9 = tail call i32 @setup_quantize_xrpow_ISO(i32 %0)
%10 = tail call i32 @setup_pow075(i32 %0)
%11 = tail call i32 @setup_calc_noise_long(i32 %0)
%12 = tail call i32 @setup_ms_convert(i32 %0)
ret void
}