#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*/ czpuf2filter(float *, float *, int, float *, float *, int,
                                int, double, float *, float *, float *);
int /*<<< orphan*/ printtf(float *, int, float *, int);
void main() {
  float rezeros[] = {-2};
  float imzeros[] = {0};
  float repoles[] = {-1, 3};
  float impoles[] = {0, 4};
  float b[5], a[5];
  float buf[5];
  czpuf2filter(rezeros, imzeros, 1, repoles, impoles, 2, 20000, 1.0 / 44100,
               buf, b, a);
  printtf(b, 2, a, 4);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x90,%rsp
mov    0xed7(%rip),%eax
mov    %eax,-0x4(%rbp)
lea    -0x8(%rbp),%rdi
xor    %esi,%esi
mov    $0x4,%edx
call   1040 <memset@plt>
mov    0xead(%rip),%rax
mov    %rax,-0x10(%rbp)
mov    0xeaa(%rip),%rax
mov    %rax,-0x18(%rbp)
lea    -0x4(%rbp),%rdi
lea    -0x8(%rbp),%rsi
lea    -0x10(%rbp),%rcx
lea    -0x18(%rbp),%r8
lea    -0x70(%rbp),%r11
lea    -0x30(%rbp),%r10
lea    -0x50(%rbp),%rax
mov    $0x1,%edx
mov    $0x2,%r9d
movsd  0xe67(%rip),%xmm0
movl   $0x4e20,(%rsp)
mov    %r11,0x8(%rsp)
mov    %r10,0x10(%rsp)
mov    %rax,0x18(%rsp)
call   1030 <czpuf2filter@plt>
lea    -0x30(%rbp),%rdi
lea    -0x50(%rbp),%rdx
mov    $0x2,%esi
mov    $0x4,%ecx
call   1050 <printtf@plt>
add    $0x90,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r14
push   %rbx
sub    $0x78,%rsp
movl   $0xc0000000,0xc(%rsp)
c0
movl   $0x0,0x8(%rsp)
movabs $0x40400000bf800000,%rax
mov    %rax,0x18(%rsp)
movabs $0x4080000000000000,%rax
mov    %rax,0x10(%rsp)
lea    0x40(%rsp),%r14
lea    0x60(%rsp),%rbx
lea    0x20(%rsp),%rax
lea    0xc(%rsp),%rdi
lea    0x8(%rsp),%rsi
lea    0x18(%rsp),%rcx
lea    0x10(%rsp),%r8
movsd  0xe80(%rip),%xmm0
mov    $0x1,%edx
mov    $0x2,%r9d
push   %r14
push   %rbx
push   %rax
push   $0x4e20
call   1030 <czpuf2filter@plt>
add    $0x20,%rsp
mov    %rbx,%rdi
mov    $0x2,%esi
mov    %r14,%rdx
mov    $0x4,%ecx
call   1040 <printtf@plt>
add    $0x78,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
@__const.main.rezeros = [1 x float] [float -2.000000e+00]
@__const.main.repoles = [2 x float] [float -1.000000e+00, float 3.000000e+00]
@__const.main.impoles = [2 x float] [float 0.000000e+00, float 4.000000e+00]
define void @main() {
%1 = alloca [1 x float]
%2 = alloca [1 x float]
%3 = alloca [2 x float]
%4 = alloca [2 x float]
%5 = alloca [5 x float]
%6 = alloca [5 x float]
%7 = alloca [5 x float]
%8 = bitcast [1 x float]* %1 to i8*
%9 = bitcast [1 x float]* %2 to i8*
%10 = bitcast [2 x float]* %3 to i8*
%11 = bitcast [2 x float]* %4 to i8*
%12 = getelementptr inbounds [1 x float], [1 x float]* %1, i64 0, i64 0
%13 = getelementptr inbounds [1 x float], [1 x float]* %2, i64 0, i64 0
%14 = getelementptr inbounds [2 x float], [2 x float]* %3, i64 0, i64 0
%15 = getelementptr inbounds [2 x float], [2 x float]* %4, i64 0, i64 0
%16 = getelementptr inbounds [5 x float], [5 x float]* %7, i64 0, i64 0
%17 = getelementptr inbounds [5 x float], [5 x float]* %5, i64 0, i64 0
%18 = getelementptr inbounds [5 x float], [5 x float]* %6, i64 0, i64 0
%19 = call i32 @czpuf2filter(float* %12, float* %13, i32 1, float* %14, float* %15, i32 2, i32 20000, double 0x3EF7C6F8C751F177, float* %16, float* %17, float* %18)
%20 = getelementptr inbounds [5 x float], [5 x float]* %5, i64 0, i64 0
%21 = getelementptr inbounds [5 x float], [5 x float]* %6, i64 0, i64 0
%22 = call i32 @printtf(float* %20, i32 2, float* %21, i32 4)
ret void
}

LLVM IR (-O2):
define void @main() {
%1 = alloca [1 x float]
%2 = alloca [1 x float]
%3 = alloca i64
%4 = alloca i64
%5 = alloca [5 x float]
%6 = alloca [5 x float]
%7 = alloca [5 x float]
%8 = bitcast [1 x float]* %1 to i8*
%9 = bitcast [1 x float]* %1 to i32*
store i32 -1073741824, i32* %9
%10 = bitcast [1 x float]* %2 to i8*
%11 = bitcast [1 x float]* %2 to i32*
store i32 0, i32* %11
%12 = bitcast i64* %3 to i8*
store i64 4629700420149706752, i64* %3
%13 = bitcast i64* %4 to i8*
store i64 4647714815446351872, i64* %4
%14 = bitcast [5 x float]* %5 to i8*
%15 = bitcast [5 x float]* %6 to i8*
%16 = bitcast [5 x float]* %7 to i8*
%17 = getelementptr inbounds [1 x float], [1 x float]* %1, i64 0, i64 0
%18 = getelementptr inbounds [1 x float], [1 x float]* %2, i64 0, i64 0
%19 = bitcast i64* %3 to float*
%20 = bitcast i64* %4 to float*
%21 = getelementptr inbounds [5 x float], [5 x float]* %7, i64 0, i64 0
%22 = getelementptr inbounds [5 x float], [5 x float]* %5, i64 0, i64 0
%23 = getelementptr inbounds [5 x float], [5 x float]* %6, i64 0, i64 0
%24 = call i32 @czpuf2filter(float* %17, float* %18, i32 1, float* %19, float* %20, i32 2, i32 20000, double 0x3EF7C6F8C751F177, float* %21, float* %22, float* %23)
%25 = call i32 @printtf(float* %22, i32 2, float* %23, i32 4)
ret void
}