#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*/ fn_WTconformAndUpsemplerBy2(float *, float *,
                                               unsigned int const, float *,
                                               unsigned int const);
void fn_invUniversalFWToneStage(float *a_da, float *p_ka,
                                const unsigned int const cuci_N,
                                float *p2tf_HPF, float *p2tf_LPF,
                                const unsigned int const cuic_ord) {
  fn_WTconformAndUpsemplerBy2(a_da, p_ka, cuci_N, p2tf_HPF, cuic_ord);
  fn_WTconformAndUpsemplerBy2(a_da, &p_ka[cuci_N >> 1], cuci_N, p2tf_LPF,
                              cuic_ord);
  return;
}


x86 assembly (clang, -O0):
<fn_invUniversalFWToneStage>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
mov    %r9d,-0x2c(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rsi
mov    -0x14(%rbp),%edx
mov    -0x20(%rbp),%rcx
mov    -0x2c(%rbp),%r8d
call   1030 <fn_WTconformAndUpsemplerBy2@plt>
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rsi
mov    -0x14(%rbp),%eax
shr    $0x1,%eax
mov    %eax,%eax
shl    $0x2,%rax
add    %rax,%rsi
mov    -0x14(%rbp),%edx
mov    -0x28(%rbp),%rcx
mov    -0x2c(%rbp),%r8d
call   1030 <fn_WTconformAndUpsemplerBy2@plt>
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<fn_invUniversalFWToneStage>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
mov    %r9d,%r15d
mov    %r8,%r14
mov    %edx,%ebp
mov    %rsi,%rbx
mov    %rdi,%r12
mov    %r9d,%r8d
call   1030 <fn_WTconformAndUpsemplerBy2@plt>
mov    %ebp,%eax
shr    %eax
lea    (%rbx,%rax,4),%rsi
mov    %r12,%rdi
mov    %ebp,%edx
mov    %r14,%rcx
mov    %r15d,%r8d
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <fn_WTconformAndUpsemplerBy2@plt>

LLVM IR (-O0):
define void @fn_invUniversalFWToneStage(float* %0, float* %1, i32 %2, float* %3, float* %4, i32 %5) {
%7 = alloca float*
%8 = alloca float*
%9 = alloca i32
%10 = alloca float*
%11 = alloca float*
%12 = alloca i32
store float* %0, float** %7
store float* %1, float** %8
store i32 %2, i32* %9
store float* %3, float** %10
store float* %4, float** %11
store i32 %5, i32* %12
%13 = load float*, float** %7
%14 = load float*, float** %8
%15 = load i32, i32* %9
%16 = load float*, float** %10
%17 = load i32, i32* %12
%18 = call i32 @fn_WTconformAndUpsemplerBy2(float* %13, float* %14, i32 %15, float* %16, i32 %17)
%19 = load float*, float** %7
%20 = load float*, float** %8
%21 = load i32, i32* %9
%22 = lshr i32 %21, 1
%23 = zext i32 %22 to i64
%24 = getelementptr inbounds float, float* %20, i64 %23
%25 = load i32, i32* %9
%26 = load float*, float** %11
%27 = load i32, i32* %12
%28 = call i32 @fn_WTconformAndUpsemplerBy2(float* %19, float* %24, i32 %25, float* %26, i32 %27)
ret void
}

LLVM IR (-O2):
define void @fn_invUniversalFWToneStage(float* %0, float* %1, i32 %2, float* %3, float* %4, i32 %5) {
%7 = tail call i32 @fn_WTconformAndUpsemplerBy2(float* %0, float* %1, i32 %2, float* %3, i32 %5)
%8 = lshr i32 %2, 1
%9 = zext i32 %8 to i64
%10 = getelementptr inbounds float, float* %1, i64 %9
%11 = tail call i32 @fn_WTconformAndUpsemplerBy2(float* %0, float* %10, i32 %2, float* %4, i32 %5)
ret void
}