#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, float *);
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, float *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    $0x40,%rsp
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%rax
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
mov    %r9,-0x30(%rbp)
movsd  %xmm0,-0x38(%rbp)
movsd  %xmm1,-0x40(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rsi
mov    -0x18(%rbp),%rdx
movsd  -0x38(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm1
call   1030 <prewarp@plt>
mov    -0x20(%rbp),%rdi
mov    -0x28(%rbp),%rsi
mov    -0x30(%rbp),%rdx
movsd  -0x38(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm1
call   1030 <prewarp@plt>
mov    -0x8(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm1
mov    -0x18(%rbp),%rax
movsd  (%rax),%xmm2
mov    -0x20(%rbp),%rax
movsd  (%rax),%xmm3
mov    -0x28(%rbp),%rax
movsd  (%rax),%xmm4
mov    -0x30(%rbp),%rax
movsd  (%rax),%xmm5
mov    0x10(%rbp),%rdi
movsd  -0x40(%rbp),%xmm6
mov    0x18(%rbp),%rsi
call   1040 <bilinear@plt>
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<szxform>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x28,%rsp
movsd  %xmm1,0x8(%rsp)
movsd  %xmm0,0x10(%rsp)
mov    %r9,%r15
mov    %r8,%r12
mov    %rcx,%r13
mov    %rdx,%rbx
mov    %rsi,%rbp
mov    %rdi,%r14
mov    0x60(%rsp),%rax
mov    %rax,0x18(%rsp)
mov    0x68(%rsp),%rax
mov    %rax,0x20(%rsp)
call   1030 <prewarp@plt>
mov    %r13,%rdi
mov    %r12,%rsi
mov    %r15,%rdx
movsd  0x10(%rsp),%xmm0
movsd  0x8(%rsp),%xmm1
call   1030 <prewarp@plt>
movsd  (%r14),%xmm0
movsd  0x0(%rbp),%xmm1
movsd  (%rbx),%xmm2
movsd  0x0(%r13),%xmm3
movsd  (%r12),%xmm4
movsd  (%r15),%xmm5
mov    0x18(%rsp),%rdi
movsd  0x8(%rsp),%xmm6
mov    0x20(%rsp),%rsi
add    $0x28,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1040 <bilinear@plt>

LLVM IR (-O0):
define void @szxform(double* %0, double* %1, double* %2, double* %3, double* %4, double* %5, double %6, double %7, double* %8, float* %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 float*
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 float* %9, float** %20
%21 = load double*, double** %11
%22 = load double*, double** %12
%23 = load double*, double** %13
%24 = load double, double* %17
%25 = load double, double* %18
%26 = call i32 @prewarp(double* %21, double* %22, double* %23, double %24, double %25)
%27 = load double*, double** %14
%28 = load double*, double** %15
%29 = load double*, double** %16
%30 = load double, double* %17
%31 = load double, double* %18
%32 = call i32 @prewarp(double* %27, double* %28, double* %29, double %30, double %31)
%33 = load double*, double** %11
%34 = load double, double* %33
%35 = load double*, double** %12
%36 = load double, double* %35
%37 = load double*, double** %13
%38 = load double, double* %37
%39 = load double*, double** %14
%40 = load double, double* %39
%41 = load double*, double** %15
%42 = load double, double* %41
%43 = load double*, double** %16
%44 = load double, double* %43
%45 = load double*, double** %19
%46 = load double, double* %18
%47 = load float*, float** %20
%48 = call i32 @bilinear(double %34, double %36, double %38, double %40, double %42, double %44, double* %45, double %46, float* %47)
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, float* %9) {
%11 = tail call i32 @prewarp(double* %0, double* %1, double* %2, double %6, double %7)
%12 = tail call i32 @prewarp(double* %3, double* %4, double* %5, double %6, double %7)
%13 = load double, double* %0
%14 = load double, double* %1
%15 = load double, double* %2
%16 = load double, double* %3
%17 = load double, double* %4
%18 = load double, double* %5
%19 = tail call i32 @bilinear(double %13, double %14, double %15, double %16, double %17, double %18, double* %8, double %7, float* %9)
ret void
}