#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*/ solve_gasmix_c(int *, int *, int *, double *, double *,
                                  double *, double *, double *, double *,
                                  double *, double *, int *);
void solve_gasmix(int fd, int inr_itr_max, int out_itr_max,
                  double diffusion_coeff, double dt, double initial_volume,
                  double inlet_concentration, double inlet_flow,
                  double solve_tolerance, double time_end, double time_start,
                  int inspiration) {
  solve_gasmix_c(&fd, &inr_itr_max, &out_itr_max, &diffusion_coeff, &dt,
                 &initial_volume, &inlet_concentration, &inlet_flow,
                 &solve_tolerance, &time_end, &time_start, &inspiration);
}


x86 assembly (clang, -O0):
<solve_gasmix>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %rbx
sub    $0x88,%rsp
mov    %edi,-0x1c(%rbp)
mov    %esi,-0x20(%rbp)
mov    %edx,-0x24(%rbp)
movsd  %xmm0,-0x30(%rbp)
movsd  %xmm1,-0x38(%rbp)
movsd  %xmm2,-0x40(%rbp)
movsd  %xmm3,-0x48(%rbp)
movsd  %xmm4,-0x50(%rbp)
movsd  %xmm5,-0x58(%rbp)
movsd  %xmm6,-0x60(%rbp)
movsd  %xmm7,-0x68(%rbp)
mov    %ecx,-0x6c(%rbp)
lea    -0x1c(%rbp),%rdi
lea    -0x20(%rbp),%rsi
lea    -0x24(%rbp),%rdx
lea    -0x30(%rbp),%rcx
lea    -0x38(%rbp),%r8
lea    -0x40(%rbp),%r9
lea    -0x48(%rbp),%r15
lea    -0x50(%rbp),%r14
lea    -0x58(%rbp),%rbx
lea    -0x60(%rbp),%r11
lea    -0x68(%rbp),%r10
lea    -0x6c(%rbp),%rax
mov    %r15,(%rsp)
mov    %r14,0x8(%rsp)
mov    %rbx,0x10(%rsp)
mov    %r11,0x18(%rsp)
mov    %r10,0x20(%rsp)
mov    %rax,0x28(%rsp)
call   1030 <solve_gasmix_c@plt>
add    $0x88,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret

x86 assembly (clang, -O2):
<solve_gasmix>:
push   %r15
push   %r14
push   %rbx
sub    $0x50,%rsp
mov    %edi,0xc(%rsp)
mov    %esi,0x8(%rsp)
mov    %edx,0x4(%rsp)
movsd  %xmm0,0x48(%rsp)
movsd  %xmm1,0x40(%rsp)
movsd  %xmm2,0x38(%rsp)
movsd  %xmm3,0x30(%rsp)
movsd  %xmm4,0x28(%rsp)
movsd  %xmm5,0x20(%rsp)
movsd  %xmm6,0x18(%rsp)
movsd  %xmm7,0x10(%rsp)
mov    %ecx,(%rsp)
mov    %rsp,%rax
lea    0x10(%rsp),%r10
lea    0x18(%rsp),%r11
lea    0x20(%rsp),%rbx
lea    0x28(%rsp),%r14
lea    0x30(%rsp),%r15
lea    0xc(%rsp),%rdi
lea    0x8(%rsp),%rsi
lea    0x4(%rsp),%rdx
lea    0x48(%rsp),%rcx
lea    0x40(%rsp),%r8
lea    0x38(%rsp),%r9
push   %rax
push   %r10
push   %r11
push   %rbx
push   %r14
push   %r15
call   1030 <solve_gasmix_c@plt>
add    $0x80,%rsp
pop    %rbx
pop    %r14
pop    %r15
ret

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

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