#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*/ gint2_nai_P_cF(double *, double, double *, double, double *,
                                  double *);
void gint2_nai_cF_P(double *a, double a_a, double *b, double b_a, double *c,
                    double *out) {
  double tmp;
  gint2_nai_P_cF(b, b_a, a, a_a, c, out);
  tmp = out[1];
  out[1] = out[10];
  out[10] = out[13];
  out[13] = out[14];
  out[14] = out[24];
  out[24] = out[8];
  out[8] = out[22];
  out[22] = out[17];
  out[17] = out[25];
  out[25] = out[18];
  out[18] = out[6];
  out[6] = out[2];
  out[2] = out[20];
  out[20] = out[26];
  out[26] = out[28];
  out[28] = out[19];
  out[19] = out[16];
  out[16] = out[15];
  out[15] = out[5];
  out[5] = out[21];
  out[21] = out[7];
  out[7] = out[12];
  out[12] = out[4];
  out[4] = out[11];
  out[11] = out[23];
  out[23] = out[27];
  out[27] = out[9];
  out[9] = out[3];
  out[3] = tmp;
}


x86 assembly (clang, -O0):
<gint2_nai_cF_P>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    %rdi,-0x8(%rbp)
movsd  %xmm0,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
movsd  %xmm1,-0x20(%rbp)
mov    %rdx,-0x28(%rbp)
mov    %rcx,-0x30(%rbp)
mov    -0x18(%rbp),%rdi
movsd  -0x20(%rbp),%xmm0
mov    -0x8(%rbp),%rsi
movsd  -0x10(%rbp),%xmm1
mov    -0x28(%rbp),%rdx
mov    -0x30(%rbp),%rcx
call   1030 <gint2_nai_P_cF@plt>
mov    -0x30(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x38(%rbp)
mov    -0x30(%rbp),%rax
movsd  0x50(%rax),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0x8(%rax)
mov    -0x30(%rbp),%rax
movsd  0x68(%rax),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0x50(%rax)
mov    -0x30(%rbp),%rax
movsd  0x70(%rax),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0x68(%rax)
mov    -0x30(%rbp),%rax
movsd  0xc0(%rax),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0x70(%rax)
mov    -0x30(%rbp),%rax
movsd  0x40(%rax),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0xc0(%rax)
mov    -0x30(%rbp),%rax
movsd  0xb0(%rax),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0x40(%rax)
mov    -0x30(%rbp),%rax
movsd  0x88(%rax),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0xb0(%rax)
mov    -0x30(%rbp),%rax
movsd  0xc8(%rax),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0x88(%rax)
mov    -0x30(%rbp),%rax
movsd  0x90(%rax),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0xc8(%rax)
mov    -0x30(%rbp),%rax
movsd  0x30(%rax),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0x90(%rax)
mov    -0x30(%rbp),%rax
movsd  0x10(%rax),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0x30(%rax)
mov    -0x30(%rbp),%rax
movsd  0xa0(%rax),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0x10(%rax)
mov    -0x30(%rbp),%rax
movsd  0xd0(%rax),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0xa0(%rax)
mov    -0x30(%rbp),%rax
movsd  0xe0(%rax),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0xd0(%rax)
mov    -0x30(%rbp),%rax
movsd  0x98(%rax),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0xe0(%rax)
mov    -0x30(%rbp),%rax
movsd  0x80(%rax),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0x98(%rax)
mov    -0x30(%rbp),%rax
movsd  0x78(%rax),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0x80(%rax)
mov    -0x30(%rbp),%rax
movsd  0x28(%rax),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0x78(%rax)
mov    -0x30(%rbp),%rax
movsd  0xa8(%rax),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0x28(%rax)
mov    -0x30(%rbp),%rax
movsd  0x38(%rax),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0xa8(%rax)
mov    -0x30(%rbp),%rax
movsd  0x60(%rax),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0x38(%rax)
mov    -0x30(%rbp),%rax
movsd  0x20(%rax),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0x60(%rax)
mov    -0x30(%rbp),%rax
movsd  0x58(%rax),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0x20(%rax)
mov    -0x30(%rbp),%rax
movsd  0xb8(%rax),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0x58(%rax)
mov    -0x30(%rbp),%rax
movsd  0xd8(%rax),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0xb8(%rax)
mov    -0x30(%rbp),%rax
movsd  0x48(%rax),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0xd8(%rax)
mov    -0x30(%rbp),%rax
movsd  0x18(%rax),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0x48(%rax)
movsd  -0x38(%rbp),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0x18(%rax)
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<gint2_nai_cF_P>:
push   %rbx
mov    %rcx,%rbx
movaps %xmm0,%xmm2
mov    %rdi,%rax
mov    %rsi,%rdi
movaps %xmm1,%xmm0
mov    %rax,%rsi
movaps %xmm2,%xmm1
call   1030 <gint2_nai_P_cF@plt>
movsd  0x50(%rbx),%xmm1
movsd  0x8(%rbx),%xmm0
movsd  0x40(%rbx),%xmm2
movsd  %xmm1,0x8(%rbx)
movsd  0x68(%rbx),%xmm1
movsd  %xmm1,0x50(%rbx)
movsd  0x70(%rbx),%xmm1
movsd  %xmm1,0x68(%rbx)
movsd  0xc0(%rbx),%xmm1
movsd  %xmm1,0x70(%rbx)
movsd  %xmm2,0xc0(%rbx)
movsd  0xb0(%rbx),%xmm1
movsd  %xmm1,0x40(%rbx)
movsd  0x88(%rbx),%xmm1
movsd  %xmm1,0xb0(%rbx)
movsd  0xc8(%rbx),%xmm1
movsd  %xmm1,0x88(%rbx)
movsd  0x90(%rbx),%xmm1
movsd  %xmm1,0xc8(%rbx)
movsd  0x30(%rbx),%xmm1
movsd  %xmm1,0x90(%rbx)
movsd  0x10(%rbx),%xmm1
movsd  %xmm1,0x30(%rbx)
movsd  0xa0(%rbx),%xmm1
movsd  %xmm1,0x10(%rbx)
movsd  0xd0(%rbx),%xmm1
movsd  %xmm1,0xa0(%rbx)
movsd  0xe0(%rbx),%xmm1
movsd  %xmm1,0xd0(%rbx)
movsd  0x98(%rbx),%xmm1
movsd  %xmm1,0xe0(%rbx)
movsd  0x80(%rbx),%xmm1
movsd  %xmm1,0x98(%rbx)
movsd  0x78(%rbx),%xmm1
movsd  %xmm1,0x80(%rbx)
movsd  0x28(%rbx),%xmm1
movsd  %xmm1,0x78(%rbx)
movsd  0xa8(%rbx),%xmm1
movsd  %xmm1,0x28(%rbx)
movsd  0x38(%rbx),%xmm1
movsd  %xmm1,0xa8(%rbx)
movsd  0x60(%rbx),%xmm1
movsd  %xmm1,0x38(%rbx)
movsd  0x20(%rbx),%xmm1
movsd  %xmm1,0x60(%rbx)
movsd  0x58(%rbx),%xmm1
movsd  %xmm1,0x20(%rbx)
movsd  0xb8(%rbx),%xmm1
movsd  %xmm1,0x58(%rbx)
movsd  0xd8(%rbx),%xmm1
movsd  %xmm1,0xb8(%rbx)
movsd  0x48(%rbx),%xmm1
movsd  %xmm1,0xd8(%rbx)
movsd  0x18(%rbx),%xmm1
movsd  %xmm1,0x48(%rbx)
movsd  %xmm0,0x18(%rbx)
pop    %rbx
ret

LLVM IR (-O0):
define void @gint2_nai_cF_P(double* %0, double %1, double* %2, double %3, double* %4, double* %5) {
%7 = alloca double*
%8 = alloca double
%9 = alloca double*
%10 = alloca double
%11 = alloca double*
%12 = alloca double*
%13 = alloca double
store double* %0, double** %7
store double %1, double* %8
store double* %2, double** %9
store double %3, double* %10
store double* %4, double** %11
store double* %5, double** %12
%14 = load double*, double** %9
%15 = load double, double* %10
%16 = load double*, double** %7
%17 = load double, double* %8
%18 = load double*, double** %11
%19 = load double*, double** %12
%20 = call i32 @gint2_nai_P_cF(double* %14, double %15, double* %16, double %17, double* %18, double* %19)
%21 = load double*, double** %12
%22 = getelementptr inbounds double, double* %21, i64 1
%23 = load double, double* %22
store double %23, double* %13
%24 = load double*, double** %12
%25 = getelementptr inbounds double, double* %24, i64 10
%26 = load double, double* %25
%27 = load double*, double** %12
%28 = getelementptr inbounds double, double* %27, i64 1
store double %26, double* %28
%29 = load double*, double** %12
%30 = getelementptr inbounds double, double* %29, i64 13
%31 = load double, double* %30
%32 = load double*, double** %12
%33 = getelementptr inbounds double, double* %32, i64 10
store double %31, double* %33
%34 = load double*, double** %12
%35 = getelementptr inbounds double, double* %34, i64 14
%36 = load double, double* %35
%37 = load double*, double** %12
%38 = getelementptr inbounds double, double* %37, i64 13
store double %36, double* %38
%39 = load double*, double** %12
%40 = getelementptr inbounds double, double* %39, i64 24
%41 = load double, double* %40
%42 = load double*, double** %12
%43 = getelementptr inbounds double, double* %42, i64 14
store double %41, double* %43
%44 = load double*, double** %12
%45 = getelementptr inbounds double, double* %44, i64 8
%46 = load double, double* %45
%47 = load double*, double** %12
%48 = getelementptr inbounds double, double* %47, i64 24
store double %46, double* %48
%49 = load double*, double** %12
%50 = getelementptr inbounds double, double* %49, i64 22
%51 = load double, double* %50
%52 = load double*, double** %12
%53 = getelementptr inbounds double, double* %52, i64 8
store double %51, double* %53
%54 = load double*, double** %12
%55 = getelementptr inbounds double, double* %54, i64 17
%56 = load double, double* %55
%57 = load double*, double** %12
%58 = getelementptr inbounds double, double* %57, i64 22
store double %56, double* %58
%59 = load double*, double** %12
%60 = getelementptr inbounds double, double* %59, i64 25
%61 = load double, double* %60
%62 = load double*, double** %12
%63 = getelementptr inbounds double, double* %62, i64 17
store double %61, double* %63
%64 = load double*, double** %12
%65 = getelementptr inbounds double, double* %64, i64 18
%66 = load double, double* %65
%67 = load double*, double** %12
%68 = getelementptr inbounds double, double* %67, i64 25
store double %66, double* %68
%69 = load double*, double** %12
%70 = getelementptr inbounds double, double* %69, i64 6
%71 = load double, double* %70
%72 = load double*, double** %12
%73 = getelementptr inbounds double, double* %72, i64 18
store double %71, double* %73
%74 = load double*, double** %12
%75 = getelementptr inbounds double, double* %74, i64 2
%76 = load double, double* %75
%77 = load double*, double** %12
%78 = getelementptr inbounds double, double* %77, i64 6
store double %76, double* %78
%79 = load double*, double** %12
%80 = getelementptr inbounds double, double* %79, i64 20
%81 = load double, double* %80
%82 = load double*, double** %12
%83 = getelementptr inbounds double, double* %82, i64 2
store double %81, double* %83
%84 = load double*, double** %12
%85 = getelementptr inbounds double, double* %84, i64 26
%86 = load double, double* %85
%87 = load double*, double** %12
%88 = getelementptr inbounds double, double* %87, i64 20
store double %86, double* %88
%89 = load double*, double** %12
%90 = getelementptr inbounds double, double* %89, i64 28
%91 = load double, double* %90
%92 = load double*, double** %12
%93 = getelementptr inbounds double, double* %92, i64 26
store double %91, double* %93
%94 = load double*, double** %12
%95 = getelementptr inbounds double, double* %94, i64 19
%96 = load double, double* %95
%97 = load double*, double** %12
%98 = getelementptr inbounds double, double* %97, i64 28
store double %96, double* %98
%99 = load double*, double** %12
%100 = getelementptr inbounds double, double* %99, i64 16
%101 = load double, double* %100
%102 = load double*, double** %12
%103 = getelementptr inbounds double, double* %102, i64 19
store double %101, double* %103
%104 = load double*, double** %12
%105 = getelementptr inbounds double, double* %104, i64 15
%106 = load double, double* %105
%107 = load double*, double** %12
%108 = getelementptr inbounds double, double* %107, i64 16
store double %106, double* %108
%109 = load double*, double** %12
%110 = getelementptr inbounds double, double* %109, i64 5
%111 = load double, double* %110
%112 = load double*, double** %12
%113 = getelementptr inbounds double, double* %112, i64 15
store double %111, double* %113
%114 = load double*, double** %12
%115 = getelementptr inbounds double, double* %114, i64 21
%116 = load double, double* %115
%117 = load double*, double** %12
%118 = getelementptr inbounds double, double* %117, i64 5
store double %116, double* %118
%119 = load double*, double** %12
%120 = getelementptr inbounds double, double* %119, i64 7
%121 = load double, double* %120
%122 = load double*, double** %12
%123 = getelementptr inbounds double, double* %122, i64 21
store double %121, double* %123
%124 = load double*, double** %12
%125 = getelementptr inbounds double, double* %124, i64 12
%126 = load double, double* %125
%127 = load double*, double** %12
%128 = getelementptr inbounds double, double* %127, i64 7
store double %126, double* %128
%129 = load double*, double** %12
%130 = getelementptr inbounds double, double* %129, i64 4
%131 = load double, double* %130
%132 = load double*, double** %12
%133 = getelementptr inbounds double, double* %132, i64 12
store double %131, double* %133
%134 = load double*, double** %12
%135 = getelementptr inbounds double, double* %134, i64 11
%136 = load double, double* %135
%137 = load double*, double** %12
%138 = getelementptr inbounds double, double* %137, i64 4
store double %136, double* %138
%139 = load double*, double** %12
%140 = getelementptr inbounds double, double* %139, i64 23
%141 = load double, double* %140
%142 = load double*, double** %12
%143 = getelementptr inbounds double, double* %142, i64 11
store double %141, double* %143
%144 = load double*, double** %12
%145 = getelementptr inbounds double, double* %144, i64 27
%146 = load double, double* %145
%147 = load double*, double** %12
%148 = getelementptr inbounds double, double* %147, i64 23
store double %146, double* %148
%149 = load double*, double** %12
%150 = getelementptr inbounds double, double* %149, i64 9
%151 = load double, double* %150
%152 = load double*, double** %12
%153 = getelementptr inbounds double, double* %152, i64 27
store double %151, double* %153
%154 = load double*, double** %12
%155 = getelementptr inbounds double, double* %154, i64 3
%156 = load double, double* %155
%157 = load double*, double** %12
%158 = getelementptr inbounds double, double* %157, i64 9
store double %156, double* %158
%159 = load double, double* %13
%160 = load double*, double** %12
%161 = getelementptr inbounds double, double* %160, i64 3
store double %159, double* %161
ret void
}

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