#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 */
double exp(double);
double sqrt(int);
double fz(double *y, double t, double *par) {
  return -(y[0] * exp(y[0]) * exp(-t)) / (sqrt(1. - y[0] * y[0]));
}


x86 assembly (clang, -O0):
<fz>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %rdi,-0x8(%rbp)
movsd  %xmm0,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
mov    -0x8(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    -0x8(%rbp),%rax
movsd  (%rax),%xmm0
call   1030 <exp@plt>
movaps %xmm0,%xmm1
movsd  -0x30(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x10(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
call   1030 <exp@plt>
movaps %xmm0,%xmm1
movsd  -0x28(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0x20(%rbp)
mov    -0x8(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x8(%rbp),%rax
movsd  (%rax),%xmm1
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm1,%xmm0
movsd  0xe24(%rip),%xmm1
addsd  %xmm1,%xmm0
cvttsd2si %xmm0,%edi
call   1040 <sqrt@plt>
movaps %xmm0,%xmm1
movsd  -0x20(%rbp),%xmm0
divsd  %xmm1,%xmm0
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<fz>:
push   %rbx
sub    $0x30,%rsp
movaps %xmm0,0x10(%rsp)
mov    %rdi,%rbx
movsd  (%rdi),%xmm0
movaps %xmm0,0x20(%rsp)
call   1030 <exp@plt>
movsd  %xmm0,0x8(%rsp)
movapd 0x10(%rsp),%xmm0
xorpd  0xeb1(%rip),%xmm0
call   1030 <exp@plt>
movapd %xmm0,%xmm1
movapd 0x20(%rsp),%xmm0
xorpd  0xe9a(%rip),%xmm0
mulsd  0x8(%rsp),%xmm0
mulsd  %xmm0,%xmm1
movsd  %xmm1,0x8(%rsp)
movsd  (%rbx),%xmm0
mulsd  %xmm0,%xmm0
movsd  0xe8a(%rip),%xmm1
subsd  %xmm0,%xmm1
cvttsd2si %xmm1,%edi
call   1040 <sqrt@plt>
movsd  0x8(%rsp),%xmm1
divsd  %xmm0,%xmm1
movapd %xmm1,%xmm0
add    $0x30,%rsp
pop    %rbx
ret

LLVM IR (-O0):
define double @fz(double* %0, double %1, double* %2) {
%4 = alloca double*
%5 = alloca double
%6 = alloca double*
store double* %0, double** %4
store double %1, double* %5
store double* %2, double** %6
%7 = load double*, double** %4
%8 = getelementptr inbounds double, double* %7, i64 0
%9 = load double, double* %8
%10 = load double*, double** %4
%11 = getelementptr inbounds double, double* %10, i64 0
%12 = load double, double* %11
%13 = call double @exp(double %12)
%14 = fmul double %9, %13
%15 = load double, double* %5
%16 = fneg double %15
%17 = call double @exp(double %16)
%18 = fmul double %14, %17
%19 = fneg double %18
%20 = load double*, double** %4
%21 = getelementptr inbounds double, double* %20, i64 0
%22 = load double, double* %21
%23 = load double*, double** %4
%24 = getelementptr inbounds double, double* %23, i64 0
%25 = load double, double* %24
%26 = fneg double %22
%27 = call double @llvm.fmuladd.f64(double %26, double %25, double 1.000000e+00)
%28 = fptosi double %27 to i32
%29 = call double @sqrt(i32 %28)
%30 = fdiv double %19, %29
ret double %30
}

LLVM IR (-O2):
define double @fz(double* nocapture %0, double %1, double* nocapture readnone %2) {
%4 = load double, double* %0
%5 = tail call double @exp(double %4)
%6 = fneg double %1
%7 = tail call double @exp(double %6)
%8 = fneg double %4
%9 = fmul double %5, %8
%10 = fmul double %9, %7
%11 = load double, double* %0
%12 = fneg double %11
%13 = tail call double @llvm.fmuladd.f64(double %12, double %11, double 1.000000e+00)
%14 = fptosi double %13 to i32
%15 = tail call double @sqrt(i32 %14)
%16 = fdiv double %10, %15
ret double %16
}