#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*/ qmf_even(double *, int, double *, int);
int /*<<< orphan*/ qmf_wrev(double *, int, double *, int);
int /*<<< orphan*/ verbatim_copy(double *, int, double *, int);
int /*<<< orphan*/ wrev(double *, int, double *, int);
void bior_filt_group(double *f1, int sigInLength1, double *f2, int sigInLength2,
                     double *lowDecom, int sigOutLength1, double *hiDecom,
                     int sigOutLength2, double *lowRecon, int sigOutLength3,
                     double *hiRecon, int sigOutLength4) {
  verbatim_copy(f2, sigInLength2, lowRecon, sigOutLength3);
  wrev(f1, sigInLength1, lowDecom, sigOutLength1);
  qmf_even(f1, sigInLength1, hiRecon, sigOutLength4);
  qmf_wrev(f2, sigInLength2, hiDecom, sigOutLength2);
  return;
}


x86 assembly (clang, -O0):
<bior_filt_group>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    0x38(%rbp),%eax
mov    0x30(%rbp),%rax
mov    0x28(%rbp),%eax
mov    0x20(%rbp),%rax
mov    0x18(%rbp),%eax
mov    0x10(%rbp),%rax
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %ecx,-0x1c(%rbp)
mov    %r8,-0x28(%rbp)
mov    %r9d,-0x2c(%rbp)
mov    -0x18(%rbp),%rdi
mov    -0x1c(%rbp),%esi
mov    0x20(%rbp),%rdx
mov    0x28(%rbp),%ecx
call   1050 <verbatim_copy@plt>
mov    -0x8(%rbp),%rdi
mov    -0xc(%rbp),%esi
mov    -0x28(%rbp),%rdx
mov    -0x2c(%rbp),%ecx
call   1040 <wrev@plt>
mov    -0x8(%rbp),%rdi
mov    -0xc(%rbp),%esi
mov    0x30(%rbp),%rdx
mov    0x38(%rbp),%ecx
call   1060 <qmf_even@plt>
mov    -0x18(%rbp),%rdi
mov    -0x1c(%rbp),%esi
mov    0x10(%rbp),%rdx
mov    0x18(%rbp),%ecx
call   1030 <qmf_wrev@plt>
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<bior_filt_group>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
mov    %r9d,0x8(%rsp)
mov    %r8,%r15
mov    %ecx,%r12d
mov    %rdx,%r13
mov    %esi,%ebx
mov    %rdi,%rbp
mov    0x50(%rsp),%rax
mov    %rax,0x10(%rsp)
mov    0x58(%rsp),%eax
mov    %eax,0xc(%rsp)
mov    0x70(%rsp),%r14
mov    0x78(%rsp),%eax
mov    %eax,0x4(%rsp)
mov    0x60(%rsp),%rdx
mov    0x68(%rsp),%ecx
mov    %r13,%rdi
mov    %r12d,%esi
call   1050 <verbatim_copy@plt>
mov    %rbp,%rdi
mov    %ebx,%esi
mov    %r15,%rdx
mov    0x8(%rsp),%ecx
call   1040 <wrev@plt>
mov    %rbp,%rdi
mov    %ebx,%esi
mov    %r14,%rdx
mov    0x4(%rsp),%ecx
call   1060 <qmf_even@plt>
mov    %r13,%rdi
mov    %r12d,%esi
mov    0x10(%rsp),%rdx
mov    0xc(%rsp),%ecx
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <qmf_wrev@plt>

LLVM IR (-O0):
define void @bior_filt_group(double* %0, i32 %1, double* %2, i32 %3, double* %4, i32 %5, double* %6, i32 %7, double* %8, i32 %9, double* %10, i32 %11) {
%13 = alloca double*
%14 = alloca i32
%15 = alloca double*
%16 = alloca i32
%17 = alloca double*
%18 = alloca i32
%19 = alloca double*
%20 = alloca i32
%21 = alloca double*
%22 = alloca i32
%23 = alloca double*
%24 = alloca i32
store double* %0, double** %13
store i32 %1, i32* %14
store double* %2, double** %15
store i32 %3, i32* %16
store double* %4, double** %17
store i32 %5, i32* %18
store double* %6, double** %19
store i32 %7, i32* %20
store double* %8, double** %21
store i32 %9, i32* %22
store double* %10, double** %23
store i32 %11, i32* %24
%25 = load double*, double** %15
%26 = load i32, i32* %16
%27 = load double*, double** %21
%28 = load i32, i32* %22
%29 = call i32 @verbatim_copy(double* %25, i32 %26, double* %27, i32 %28)
%30 = load double*, double** %13
%31 = load i32, i32* %14
%32 = load double*, double** %17
%33 = load i32, i32* %18
%34 = call i32 @wrev(double* %30, i32 %31, double* %32, i32 %33)
%35 = load double*, double** %13
%36 = load i32, i32* %14
%37 = load double*, double** %23
%38 = load i32, i32* %24
%39 = call i32 @qmf_even(double* %35, i32 %36, double* %37, i32 %38)
%40 = load double*, double** %15
%41 = load i32, i32* %16
%42 = load double*, double** %19
%43 = load i32, i32* %20
%44 = call i32 @qmf_wrev(double* %40, i32 %41, double* %42, i32 %43)
ret void
}

LLVM IR (-O2):
define void @bior_filt_group(double* %0, i32 %1, double* %2, i32 %3, double* %4, i32 %5, double* %6, i32 %7, double* %8, i32 %9, double* %10, i32 %11) {
%13 = tail call i32 @verbatim_copy(double* %2, i32 %3, double* %8, i32 %9)
%14 = tail call i32 @wrev(double* %0, i32 %1, double* %4, i32 %5)
%15 = tail call i32 @qmf_even(double* %0, i32 %1, double* %10, i32 %11)
%16 = tail call i32 @qmf_wrev(double* %2, i32 %3, double* %6, i32 %7)
ret void
}