#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*/ bilinear(double, double, double, double, double, double,
                            double *, double, double *);
int /*<<< orphan*/ prewarp(double *, double *, double *, double, double);
void szxform(double a0, double a1, double a2, double b0, double b1, double b2,
             double fc, double fs, double *k, double *coef) {
  prewarp(&a0, &a1, &a2, fc, fs);
  prewarp(&b0, &b1, &b2, fc, fs);
  bilinear(a0, a1, a2, b0, b1, b2, k, fs, coef);
}


x86 assembly (clang, -O0):
<szxform>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movsd  %xmm0,-0x8(%rbp)
movsd  %xmm1,-0x10(%rbp)
movsd  %xmm2,-0x18(%rbp)
movsd  %xmm3,-0x20(%rbp)
movsd  %xmm4,-0x28(%rbp)
movsd  %xmm5,-0x30(%rbp)
movsd  %xmm6,-0x38(%rbp)
movsd  %xmm7,-0x40(%rbp)
mov    %rdi,-0x48(%rbp)
mov    %rsi,-0x50(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm1
lea    -0x8(%rbp),%rdi
lea    -0x10(%rbp),%rsi
lea    -0x18(%rbp),%rdx
call   1030 <prewarp@plt>
movsd  -0x38(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm1
lea    -0x20(%rbp),%rdi
lea    -0x28(%rbp),%rsi
lea    -0x30(%rbp),%rdx
call   1030 <prewarp@plt>
movsd  -0x8(%rbp),%xmm0
movsd  -0x10(%rbp),%xmm1
movsd  -0x18(%rbp),%xmm2
movsd  -0x20(%rbp),%xmm3
movsd  -0x28(%rbp),%xmm4
movsd  -0x30(%rbp),%xmm5
mov    -0x48(%rbp),%rdi
movsd  -0x40(%rbp),%xmm6
mov    -0x50(%rbp),%rsi
call   1040 <bilinear@plt>
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<szxform>:
push   %r14
push   %rbx
sub    $0x48,%rsp
mov    %rsi,%r14
mov    %rdi,%rbx
movsd  %xmm7,0x8(%rsp)
movsd  %xmm6,0x40(%rsp)
movsd  %xmm0,0x38(%rsp)
movsd  %xmm1,0x30(%rsp)
movsd  %xmm2,0x28(%rsp)
movsd  %xmm3,0x20(%rsp)
movsd  %xmm4,0x18(%rsp)
movsd  %xmm5,0x10(%rsp)
lea    0x38(%rsp),%rdi
lea    0x30(%rsp),%rsi
lea    0x28(%rsp),%rdx
movaps %xmm6,%xmm0
movaps %xmm7,%xmm1
call   1030 <prewarp@plt>
lea    0x20(%rsp),%rdi
lea    0x18(%rsp),%rsi
lea    0x10(%rsp),%rdx
movsd  0x40(%rsp),%xmm0
movsd  0x8(%rsp),%xmm1
call   1030 <prewarp@plt>
movsd  0x38(%rsp),%xmm0
movsd  0x30(%rsp),%xmm1
movsd  0x28(%rsp),%xmm2
movsd  0x20(%rsp),%xmm3
movsd  0x18(%rsp),%xmm4
movsd  0x10(%rsp),%xmm5
mov    %rbx,%rdi
movsd  0x8(%rsp),%xmm6
mov    %r14,%rsi
call   1040 <bilinear@plt>
add    $0x48,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
define void @szxform(double %0, double %1, double %2, double %3, double %4, double %5, double %6, double %7, double* %8, double* %9) {
%11 = alloca double
%12 = alloca double
%13 = alloca double
%14 = alloca double
%15 = alloca double
%16 = alloca double
%17 = alloca double
%18 = alloca double
%19 = alloca double*
%20 = alloca double*
store double %0, double* %11
store double %1, double* %12
store double %2, double* %13
store double %3, double* %14
store double %4, double* %15
store double %5, double* %16
store double %6, double* %17
store double %7, double* %18
store double* %8, double** %19
store double* %9, double** %20
%21 = load double, double* %17
%22 = load double, double* %18
%23 = call i32 @prewarp(double* %11, double* %12, double* %13, double %21, double %22)
%24 = load double, double* %17
%25 = load double, double* %18
%26 = call i32 @prewarp(double* %14, double* %15, double* %16, double %24, double %25)
%27 = load double, double* %11
%28 = load double, double* %12
%29 = load double, double* %13
%30 = load double, double* %14
%31 = load double, double* %15
%32 = load double, double* %16
%33 = load double*, double** %19
%34 = load double, double* %18
%35 = load double*, double** %20
%36 = call i32 @bilinear(double %27, double %28, double %29, double %30, double %31, double %32, double* %33, double %34, double* %35)
ret void
}

LLVM IR (-O2):
define void @szxform(double %0, double %1, double %2, double %3, double %4, double %5, double %6, double %7, double* %8, double* %9) {
%11 = alloca double
%12 = alloca double
%13 = alloca double
%14 = alloca double
%15 = alloca double
%16 = alloca double
store double %0, double* %11
store double %1, double* %12
store double %2, double* %13
store double %3, double* %14
store double %4, double* %15
store double %5, double* %16
%17 = call i32 @prewarp(double* %11, double* %12, double* %13, double %6, double %7)
%18 = call i32 @prewarp(double* %14, double* %15, double* %16, double %6, double %7)
%19 = load double, double* %11
%20 = load double, double* %12
%21 = load double, double* %13
%22 = load double, double* %14
%23 = load double, double* %15
%24 = load double, double* %16
%25 = call i32 @bilinear(double %19, double %20, double %21, double %22, double %23, double %24, double* %8, double %7, double* %9)
ret void
}