#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 exp(int);
double const pow(int, int);
void derivs_one(const double *y, double *dxdt, const double *p) {
  dxdt[0] = (-p[5] * pow(1. / (1. + exp(-150. * (y[0] - -0.0305))), 3.) * y[1] *
                 (y[0] - p[2]) -
             p[4] * y[2] * y[2] * (y[0] - p[1]) - p[3] * (y[0] - p[0]) - p[9]) /
            p[6];
  dxdt[1] = (1. / (1. + exp(500. * (y[0] - -0.0325))) - y[1]) / p[7];
  dxdt[2] = (1. / (1. + exp(-83. * (y[0] - -0.018 + p[10]))) - y[2]) / p[8];
}


x86 assembly (clang, -O0):
<derivs_one>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    -0x18(%rbp),%rax
movsd  0x28(%rax),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0x20(%rbp)
mov    -0x8(%rbp),%rax
movsd  (%rax),%xmm1
movsd  0xec7(%rip),%xmm0
subsd  %xmm0,%xmm1
movsd  0xeb3(%rip),%xmm0
mulsd  %xmm1,%xmm0
cvttsd2si %xmm0,%edi
call   1030 <exp@plt>
cvtsi2sd %eax,%xmm0
movsd  0xe72(%rip),%xmm1
addsd  %xmm0,%xmm1
movsd  0xe66(%rip),%xmm0
divsd  %xmm1,%xmm0
cvttsd2si %xmm0,%edi
mov    $0x3,%esi
call   1040 <pow@plt>
movsd  -0x20(%rbp),%xmm1
mulsd  %xmm0,%xmm1
mov    -0x8(%rbp),%rax
mulsd  0x8(%rax),%xmm1
mov    -0x8(%rbp),%rax
movsd  (%rax),%xmm2
mov    -0x18(%rbp),%rax
subsd  0x10(%rax),%xmm2
mov    -0x18(%rbp),%rax
movsd  0x20(%rax),%xmm0
mov    -0x8(%rbp),%rax
mulsd  0x10(%rax),%xmm0
mov    -0x8(%rbp),%rax
mulsd  0x10(%rax),%xmm0
mov    -0x8(%rbp),%rax
movsd  (%rax),%xmm3
mov    -0x18(%rbp),%rax
subsd  0x8(%rax),%xmm3
mulsd  %xmm3,%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
mov    -0x18(%rbp),%rax
movsd  0x18(%rax),%xmm0
mov    -0x8(%rbp),%rax
movsd  (%rax),%xmm2
mov    -0x18(%rbp),%rax
subsd  (%rax),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x18(%rbp),%rax
subsd  0x48(%rax),%xmm0
mov    -0x18(%rbp),%rax
divsd  0x30(%rax),%xmm0
mov    -0x10(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x8(%rbp),%rax
movsd  (%rax),%xmm1
movsd  0xda0(%rip),%xmm0
subsd  %xmm0,%xmm1
movsd  0xd8c(%rip),%xmm0
mulsd  %xmm1,%xmm0
cvttsd2si %xmm0,%edi
call   1030 <exp@plt>
cvtsi2sd %eax,%xmm0
movsd  0xd5b(%rip),%xmm1
addsd  %xmm0,%xmm1
movsd  0xd4f(%rip),%xmm0
divsd  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
subsd  0x8(%rax),%xmm0
mov    -0x18(%rbp),%rax
divsd  0x38(%rax),%xmm0
mov    -0x10(%rbp),%rax
movsd  %xmm0,0x8(%rax)
mov    -0x8(%rbp),%rax
movsd  (%rax),%xmm1
movsd  0xd30(%rip),%xmm0
subsd  %xmm0,%xmm1
mov    -0x18(%rbp),%rax
addsd  0x50(%rax),%xmm1
movsd  0xd13(%rip),%xmm0
mulsd  %xmm1,%xmm0
cvttsd2si %xmm0,%edi
call   1030 <exp@plt>
cvtsi2sd %eax,%xmm0
movsd  0xcf2(%rip),%xmm1
addsd  %xmm0,%xmm1
movsd  0xce6(%rip),%xmm0
divsd  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
subsd  0x10(%rax),%xmm0
mov    -0x18(%rbp),%rax
divsd  0x40(%rax),%xmm0
mov    -0x10(%rbp),%rax
movsd  %xmm0,0x10(%rax)
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<derivs_one>:
push   %r15
push   %r14
push   %rbx
sub    $0x10,%rsp
mov    %rdx,%rbx
movsd  0x28(%rdx),%xmm0
xorps  0xec8(%rip),%xmm0
movaps %xmm0,(%rsp)
mov    %rsi,%r14
mov    %rdi,%r15
movsd  (%rdi),%xmm0
addsd  0xec2(%rip),%xmm0
mulsd  0xec2(%rip),%xmm0
cvttsd2si %xmm0,%edi
call   1030 <exp@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movsd  0xeb2(%rip),%xmm1
addsd  %xmm1,%xmm0
divsd  %xmm0,%xmm1
cvttsd2si %xmm1,%edi
mov    $0x3,%esi
call   1040 <pow@plt>
mulsd  (%rsp),%xmm0
mulsd  0x8(%r15),%xmm0
movsd  (%r15),%xmm1
movsd  0x10(%r15),%xmm2
movapd %xmm1,%xmm3
subsd  0x10(%rbx),%xmm3
mulsd  %xmm0,%xmm3
movapd %xmm1,%xmm0
subsd  0x8(%rbx),%xmm0
movsd  0x20(%rbx),%xmm4
mulsd  %xmm2,%xmm4
mulsd  %xmm2,%xmm4
mulsd  %xmm0,%xmm4
subsd  (%rbx),%xmm1
subsd  %xmm4,%xmm3
mulsd  0x18(%rbx),%xmm1
subsd  %xmm1,%xmm3
subsd  0x48(%rbx),%xmm3
divsd  0x30(%rbx),%xmm3
movsd  %xmm3,(%r14)
movsd  (%r15),%xmm0
addsd  0xe3a(%rip),%xmm0
mulsd  0xe3a(%rip),%xmm0
cvttsd2si %xmm0,%edi
call   1030 <exp@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movsd  0xe12(%rip),%xmm1
addsd  %xmm1,%xmm0
divsd  %xmm0,%xmm1
subsd  0x8(%r15),%xmm1
divsd  0x38(%rbx),%xmm1
movsd  %xmm1,0x8(%r14)
movsd  (%r15),%xmm0
addsd  0xe04(%rip),%xmm0
addsd  0x50(%rbx),%xmm0
mulsd  0xdff(%rip),%xmm0
cvttsd2si %xmm0,%edi
call   1030 <exp@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movsd  0xdc7(%rip),%xmm1
addsd  %xmm1,%xmm0
divsd  %xmm0,%xmm1
subsd  0x10(%r15),%xmm1
divsd  0x40(%rbx),%xmm1
movsd  %xmm1,0x10(%r14)
add    $0x10,%rsp
pop    %rbx
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
define void @derivs_one(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** %6
%8 = getelementptr inbounds double, double* %7, i64 5
%9 = load double, double* %8
%10 = fneg double %9
%11 = load double*, double** %4
%12 = getelementptr inbounds double, double* %11, i64 0
%13 = load double, double* %12
%14 = fsub double %13, -3.050000e-02
%15 = fmul double -1.500000e+02, %14
%16 = fptosi double %15 to i32
%17 = call i32 @exp(i32 %16)
%18 = sitofp i32 %17 to double
%19 = fadd double 1.000000e+00, %18
%20 = fdiv double 1.000000e+00, %19
%21 = fptosi double %20 to i32
%22 = call double @pow(i32 %21, i32 3)
%23 = fmul double %10, %22
%24 = load double*, double** %4
%25 = getelementptr inbounds double, double* %24, i64 1
%26 = load double, double* %25
%27 = fmul double %23, %26
%28 = load double*, double** %4
%29 = getelementptr inbounds double, double* %28, i64 0
%30 = load double, double* %29
%31 = load double*, double** %6
%32 = getelementptr inbounds double, double* %31, i64 2
%33 = load double, double* %32
%34 = fsub double %30, %33
%35 = load double*, double** %6
%36 = getelementptr inbounds double, double* %35, i64 4
%37 = load double, double* %36
%38 = load double*, double** %4
%39 = getelementptr inbounds double, double* %38, i64 2
%40 = load double, double* %39
%41 = fmul double %37, %40
%42 = load double*, double** %4
%43 = getelementptr inbounds double, double* %42, i64 2
%44 = load double, double* %43
%45 = fmul double %41, %44
%46 = load double*, double** %4
%47 = getelementptr inbounds double, double* %46, i64 0
%48 = load double, double* %47
%49 = load double*, double** %6
%50 = getelementptr inbounds double, double* %49, i64 1
%51 = load double, double* %50
%52 = fsub double %48, %51
%53 = fmul double %45, %52
%54 = fneg double %53
%55 = call double @llvm.fmuladd.f64(double %27, double %34, double %54)
%56 = load double*, double** %6
%57 = getelementptr inbounds double, double* %56, i64 3
%58 = load double, double* %57
%59 = load double*, double** %4
%60 = getelementptr inbounds double, double* %59, i64 0
%61 = load double, double* %60
%62 = load double*, double** %6
%63 = getelementptr inbounds double, double* %62, i64 0
%64 = load double, double* %63
%65 = fsub double %61, %64
%66 = fneg double %58
%67 = call double @llvm.fmuladd.f64(double %66, double %65, double %55)
%68 = load double*, double** %6
%69 = getelementptr inbounds double, double* %68, i64 9
%70 = load double, double* %69
%71 = fsub double %67, %70
%72 = load double*, double** %6
%73 = getelementptr inbounds double, double* %72, i64 6
%74 = load double, double* %73
%75 = fdiv double %71, %74
%76 = load double*, double** %5
%77 = getelementptr inbounds double, double* %76, i64 0
store double %75, double* %77
%78 = load double*, double** %4
%79 = getelementptr inbounds double, double* %78, i64 0
%80 = load double, double* %79
%81 = fsub double %80, -3.250000e-02
%82 = fmul double 5.000000e+02, %81
%83 = fptosi double %82 to i32
%84 = call i32 @exp(i32 %83)
%85 = sitofp i32 %84 to double
%86 = fadd double 1.000000e+00, %85
%87 = fdiv double 1.000000e+00, %86
%88 = load double*, double** %4
%89 = getelementptr inbounds double, double* %88, i64 1
%90 = load double, double* %89
%91 = fsub double %87, %90
%92 = load double*, double** %6
%93 = getelementptr inbounds double, double* %92, i64 7
%94 = load double, double* %93
%95 = fdiv double %91, %94
%96 = load double*, double** %5
%97 = getelementptr inbounds double, double* %96, i64 1
store double %95, double* %97
%98 = load double*, double** %4
%99 = getelementptr inbounds double, double* %98, i64 0
%100 = load double, double* %99
%101 = fsub double %100, -1.800000e-02
%102 = load double*, double** %6
%103 = getelementptr inbounds double, double* %102, i64 10
%104 = load double, double* %103
%105 = fadd double %101, %104
%106 = fmul double -8.300000e+01, %105
%107 = fptosi double %106 to i32
%108 = call i32 @exp(i32 %107)
%109 = sitofp i32 %108 to double
%110 = fadd double 1.000000e+00, %109
%111 = fdiv double 1.000000e+00, %110
%112 = load double*, double** %4
%113 = getelementptr inbounds double, double* %112, i64 2
%114 = load double, double* %113
%115 = fsub double %111, %114
%116 = load double*, double** %6
%117 = getelementptr inbounds double, double* %116, i64 8
%118 = load double, double* %117
%119 = fdiv double %115, %118
%120 = load double*, double** %5
%121 = getelementptr inbounds double, double* %120, i64 2
store double %119, double* %121
ret void
}

LLVM IR (-O2):
define void @derivs_one(double* nocapture %0, double* nocapture writeonly %1, double* nocapture %2) {
%4 = getelementptr inbounds double, double* %2, i64 5
%5 = load double, double* %4
%6 = fneg double %5
%7 = load double, double* %0
%8 = fadd double %7, 3.050000e-02
%9 = fmul double %8, -1.500000e+02
%10 = fptosi double %9 to i32
%11 = tail call i32 @exp(i32 %10)
%12 = sitofp i32 %11 to double
%13 = fadd double %12, 1.000000e+00
%14 = fdiv double 1.000000e+00, %13
%15 = fptosi double %14 to i32
%16 = tail call double @pow(i32 %15, i32 3)
%17 = fmul double %16, %6
%18 = getelementptr inbounds double, double* %0, i64 1
%19 = load double, double* %18
%20 = fmul double %17, %19
%21 = load double, double* %0
%22 = getelementptr inbounds double, double* %2, i64 2
%23 = load double, double* %22
%24 = fsub double %21, %23
%25 = getelementptr inbounds double, double* %2, i64 4
%26 = load double, double* %25
%27 = getelementptr inbounds double, double* %0, i64 2
%28 = load double, double* %27
%29 = getelementptr inbounds double, double* %2, i64 1
%30 = load double, double* %29
%31 = fsub double %21, %30
%32 = fneg double %26
%33 = fmul double %28, %32
%34 = fmul double %28, %33
%35 = fmul double %34, %31
%36 = tail call double @llvm.fmuladd.f64(double %20, double %24, double %35)
%37 = getelementptr inbounds double, double* %2, i64 3
%38 = load double, double* %37
%39 = load double, double* %2
%40 = fsub double %21, %39
%41 = fneg double %38
%42 = tail call double @llvm.fmuladd.f64(double %41, double %40, double %36)
%43 = getelementptr inbounds double, double* %2, i64 9
%44 = load double, double* %43
%45 = fsub double %42, %44
%46 = getelementptr inbounds double, double* %2, i64 6
%47 = load double, double* %46
%48 = fdiv double %45, %47
store double %48, double* %1
%49 = load double, double* %0
%50 = fadd double %49, 3.250000e-02
%51 = fmul double %50, 5.000000e+02
%52 = fptosi double %51 to i32
%53 = tail call i32 @exp(i32 %52)
%54 = sitofp i32 %53 to double
%55 = fadd double %54, 1.000000e+00
%56 = fdiv double 1.000000e+00, %55
%57 = load double, double* %18
%58 = fsub double %56, %57
%59 = getelementptr inbounds double, double* %2, i64 7
%60 = load double, double* %59
%61 = fdiv double %58, %60
%62 = getelementptr inbounds double, double* %1, i64 1
store double %61, double* %62
%63 = load double, double* %0
%64 = fadd double %63, 1.800000e-02
%65 = getelementptr inbounds double, double* %2, i64 10
%66 = load double, double* %65
%67 = fadd double %64, %66
%68 = fmul double %67, -8.300000e+01
%69 = fptosi double %68 to i32
%70 = tail call i32 @exp(i32 %69)
%71 = sitofp i32 %70 to double
%72 = fadd double %71, 1.000000e+00
%73 = fdiv double 1.000000e+00, %72
%74 = load double, double* %27
%75 = fsub double %73, %74
%76 = getelementptr inbounds double, double* %2, i64 8
%77 = load double, double* %76
%78 = fdiv double %75, %77
%79 = getelementptr inbounds double, double* %1, i64 2
store double %78, double* %79
ret void
}