#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*/ d20(double, double, double, double, double, double, double,
                       double, double, double, double, double, double, double,
                       double, double, double, double, double, double);
void t(double *x) {
  d20(x[0], x[1], x[2], x[3], x[4], x[5], x[6], x[7], x[8], x[9], x[10], x[11],
      x[12], x[13], x[14], x[15], x[16], x[17], x[18], x[19]);
}


x86 assembly (clang, -O0):
<t>:
push   %rbp
mov    %rsp,%rbp
sub    $0x90,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    -0x8(%rbp),%rax
movsd  0x8(%rax),%xmm1
mov    -0x8(%rbp),%rax
movsd  0x10(%rax),%xmm2
mov    -0x8(%rbp),%rax
movsd  0x18(%rax),%xmm3
mov    -0x8(%rbp),%rax
movsd  0x20(%rax),%xmm4
mov    -0x8(%rbp),%rax
movsd  0x28(%rax),%xmm5
mov    -0x8(%rbp),%rax
movsd  0x30(%rax),%xmm6
mov    -0x8(%rbp),%rax
movsd  0x38(%rax),%xmm7
mov    -0x8(%rbp),%rax
movsd  0x40(%rax),%xmm8
mov    -0x8(%rbp),%rax
movsd  0x48(%rax),%xmm0
movsd  %xmm0,-0x28(%rbp)
mov    -0x8(%rbp),%rax
movsd  0x50(%rax),%xmm0
movsd  %xmm0,-0x20(%rbp)
mov    -0x8(%rbp),%rax
movsd  0x58(%rax),%xmm0
movsd  %xmm0,-0x18(%rbp)
mov    -0x8(%rbp),%rax
movsd  0x60(%rax),%xmm15
mov    -0x8(%rbp),%rax
movsd  0x68(%rax),%xmm14
mov    -0x8(%rbp),%rax
movsd  0x70(%rax),%xmm13
mov    -0x8(%rbp),%rax
movsd  0x78(%rax),%xmm12
mov    -0x8(%rbp),%rax
movsd  0x80(%rax),%xmm11
mov    -0x8(%rbp),%rax
movsd  0x88(%rax),%xmm10
mov    -0x8(%rbp),%rax
movsd  0x90(%rax),%xmm9
mov    -0x8(%rbp),%rax
movsd  0x98(%rax),%xmm0
movsd  %xmm0,-0x10(%rbp)
movsd  -0x30(%rbp),%xmm0
movsd  %xmm8,(%rsp)
movsd  -0x28(%rbp),%xmm8
movsd  %xmm8,0x8(%rsp)
movsd  -0x20(%rbp),%xmm8
movsd  %xmm8,0x10(%rsp)
movsd  -0x18(%rbp),%xmm8
movsd  %xmm8,0x18(%rsp)
movsd  -0x10(%rbp),%xmm8
movsd  %xmm15,0x20(%rsp)
movsd  %xmm14,0x28(%rsp)
movsd  %xmm13,0x30(%rsp)
movsd  %xmm12,0x38(%rsp)
movsd  %xmm11,0x40(%rsp)
movsd  %xmm10,0x48(%rsp)
movsd  %xmm9,0x50(%rsp)
movsd  %xmm8,0x58(%rsp)
call   1030 <d20@plt>
add    $0x90,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<t>:
sub    $0x68,%rsp
movsd  (%rdi),%xmm0
movsd  0x8(%rdi),%xmm1
movsd  0x10(%rdi),%xmm2
movsd  0x18(%rdi),%xmm3
movsd  0x20(%rdi),%xmm4
movsd  0x28(%rdi),%xmm5
movsd  0x30(%rdi),%xmm6
movsd  0x38(%rdi),%xmm7
movups 0x40(%rdi),%xmm8
movups 0x50(%rdi),%xmm9
movups 0x60(%rdi),%xmm10
movups 0x70(%rdi),%xmm11
movups 0x80(%rdi),%xmm12
movups 0x90(%rdi),%xmm13
movups %xmm13,0x50(%rsp)
movups %xmm12,0x40(%rsp)
movups %xmm11,0x30(%rsp)
movups %xmm10,0x20(%rsp)
movups %xmm9,0x10(%rsp)
movups %xmm8,(%rsp)
call   1030 <d20@plt>
add    $0x68,%rsp
ret

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

LLVM IR (-O2):
define void @t(double* nocapture %0) {
%2 = load double, double* %0
%3 = getelementptr inbounds double, double* %0, i64 1
%4 = load double, double* %3
%5 = getelementptr inbounds double, double* %0, i64 2
%6 = load double, double* %5
%7 = getelementptr inbounds double, double* %0, i64 3
%8 = load double, double* %7
%9 = getelementptr inbounds double, double* %0, i64 4
%10 = load double, double* %9
%11 = getelementptr inbounds double, double* %0, i64 5
%12 = load double, double* %11
%13 = getelementptr inbounds double, double* %0, i64 6
%14 = load double, double* %13
%15 = getelementptr inbounds double, double* %0, i64 7
%16 = load double, double* %15
%17 = getelementptr inbounds double, double* %0, i64 8
%18 = load double, double* %17
%19 = getelementptr inbounds double, double* %0, i64 9
%20 = load double, double* %19
%21 = getelementptr inbounds double, double* %0, i64 10
%22 = load double, double* %21
%23 = getelementptr inbounds double, double* %0, i64 11
%24 = load double, double* %23
%25 = getelementptr inbounds double, double* %0, i64 12
%26 = load double, double* %25
%27 = getelementptr inbounds double, double* %0, i64 13
%28 = load double, double* %27
%29 = getelementptr inbounds double, double* %0, i64 14
%30 = load double, double* %29
%31 = getelementptr inbounds double, double* %0, i64 15
%32 = load double, double* %31
%33 = getelementptr inbounds double, double* %0, i64 16
%34 = load double, double* %33
%35 = getelementptr inbounds double, double* %0, i64 17
%36 = load double, double* %35
%37 = getelementptr inbounds double, double* %0, i64 18
%38 = load double, double* %37
%39 = getelementptr inbounds double, double* %0, i64 19
%40 = load double, double* %39
%41 = tail call i32 @d20(double %2, double %4, double %6, double %8, double %10, double %12, double %14, double %16, double %18, double %20, double %22, double %24, double %26, double %28, double %30, double %32, double %34, double %36, double %38, double %40)
ret void
}