lv(double *in, double *out, int nin, int nout, double *var, double *con) {
  double x = in[0], y = in[1];
  double a = in[2], b = in[3], c = in[4], d = in[5];
  double t = in[6];
  out[0] = a * x * (b - y);
  out[1] = c * y * (-d + x);
}


x86 assembly (clang, -O0):
<lv>:
push   %rbp
mov    %rsp,%rbp
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
mov    %edx,-0x1c(%rbp)
mov    %ecx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
mov    %r9,-0x30(%rbp)
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x38(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x10(%rax),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x18(%rax),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x20(%rax),%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x28(%rax),%xmm0
movsd  %xmm0,-0x60(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x30(%rax),%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x48(%rbp),%xmm0
mulsd  -0x38(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm1
subsd  -0x40(%rbp),%xmm1
mulsd  %xmm1,%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0x58(%rbp),%xmm0
mulsd  -0x40(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
addsd  -0x38(%rbp),%xmm1
mulsd  %xmm1,%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,0x8(%rax)
mov    -0x4(%rbp),%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<lv>:
movupd (%rdi),%xmm0
movsd  0x10(%rdi),%xmm1
movhpd 0x20(%rdi),%xmm1
mulpd  %xmm0,%xmm1
movsd  0x18(%rdi),%xmm2
movsd  0x28(%rdi),%xmm3
unpcklpd %xmm0,%xmm2
shufpd $0x1,%xmm3,%xmm0
subpd  %xmm0,%xmm2
mulpd  %xmm1,%xmm2
movupd %xmm2,(%rsi)
ret

LLVM IR (-O0):
define i32 @lv(double* %0, double* %1, i32 %2, i32 %3, double* %4, double* %5) {
%7 = alloca i32
%8 = alloca double*
%9 = alloca double*
%10 = alloca i32
%11 = alloca i32
%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** %8
store double* %1, double** %9
store i32 %2, i32* %10
store i32 %3, i32* %11
store double* %4, double** %12
store double* %5, double** %13
%21 = load double*, double** %8
%22 = getelementptr inbounds double, double* %21, i64 0
%23 = load double, double* %22
store double %23, double* %14
%24 = load double*, double** %8
%25 = getelementptr inbounds double, double* %24, i64 1
%26 = load double, double* %25
store double %26, double* %15
%27 = load double*, double** %8
%28 = getelementptr inbounds double, double* %27, i64 2
%29 = load double, double* %28
store double %29, double* %16
%30 = load double*, double** %8
%31 = getelementptr inbounds double, double* %30, i64 3
%32 = load double, double* %31
store double %32, double* %17
%33 = load double*, double** %8
%34 = getelementptr inbounds double, double* %33, i64 4
%35 = load double, double* %34
store double %35, double* %18
%36 = load double*, double** %8
%37 = getelementptr inbounds double, double* %36, i64 5
%38 = load double, double* %37
store double %38, double* %19
%39 = load double*, double** %8
%40 = getelementptr inbounds double, double* %39, i64 6
%41 = load double, double* %40
store double %41, double* %20
%42 = load double, double* %16
%43 = load double, double* %14
%44 = fmul double %42, %43
%45 = load double, double* %17
%46 = load double, double* %15
%47 = fsub double %45, %46
%48 = fmul double %44, %47
%49 = load double*, double** %9
%50 = getelementptr inbounds double, double* %49, i64 0
store double %48, double* %50
%51 = load double, double* %18
%52 = load double, double* %15
%53 = fmul double %51, %52
%54 = load double, double* %19
%55 = fneg double %54
%56 = load double, double* %14
%57 = fadd double %55, %56
%58 = fmul double %53, %57
%59 = load double*, double** %9
%60 = getelementptr inbounds double, double* %59, i64 1
store double %58, double* %60
%61 = load i32, i32* %7
ret i32 %61
}

LLVM IR (-O2):
define i32 @lv(double* nocapture %0, double* nocapture writeonly %1, i32 %2, i32 %3, double* nocapture readnone %4, double* nocapture readnone %5) {
%7 = bitcast double* %0 to <2 x double>*
%8 = load <2 x double>, <2 x double>* %7
%9 = getelementptr inbounds double, double* %0, i64 2
%10 = load double, double* %9
%11 = getelementptr inbounds double, double* %0, i64 3
%12 = load double, double* %11
%13 = getelementptr inbounds double, double* %0, i64 4
%14 = load double, double* %13
%15 = getelementptr inbounds double, double* %0, i64 5
%16 = load double, double* %15
%17 = insertelement <2 x double> poison, double %10, i64 0
%18 = insertelement <2 x double> %17, double %14, i64 1
%19 = fmul <2 x double> %8, %18
%20 = insertelement <2 x double> %8, double %12, i64 1
%21 = insertelement <2 x double> %8, double %16, i64 0
%22 = fsub <2 x double> %20, %21
%23 = shufflevector <2 x double> %22, <2 x double> poison, <2 x i32> <i32 1, i32 0>
%24 = fmul <2 x double> %19, %23
%25 = bitcast double* %1 to <2 x double>*
store <2 x double> %24, <2 x double>* %25
ret i32 undef
}