#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 M_PI;
double cos(double);
double pow(double, int);
double sin(double);
double DMu_Dx(double A_mu, double B_mu, double L, double R, double Rho,
              double T, double a_px, double a_rhox, double p_x, double rho_x,
              double x) {
  return A_mu * pow(T, 0.5) *
             (-1.5 * M_PI * T * a_rhox * rho_x * cos(M_PI * a_rhox * x / L) /
                  (L * Rho) -
              1.5 * M_PI * a_px * p_x * sin(M_PI * a_px * x / L) /
                  (L * R * Rho)) /
             (B_mu + T) +
         A_mu * pow(T, 1.5) *
             (M_PI * T * a_rhox * rho_x * cos(M_PI * a_rhox * x / L) /
                  (L * Rho) +
              M_PI * a_px * p_x * sin(M_PI * a_px * x / L) / (L * R * Rho)) /
             pow((B_mu + T), 2);
}


x86 assembly (clang, -O0):
<DMu_Dx>:
push   %rbp
mov    %rsp,%rbp
sub    $0xa0,%rsp
movsd  0x20(%rbp),%xmm8
movsd  0x18(%rbp),%xmm8
movsd  0x10(%rbp),%xmm8
movsd  %xmm0,-0x8(%rbp)
movsd  %xmm1,-0x10(%rbp)
movsd  %xmm2,-0x18(%rbp)
movsd  %xmm3,-0x20(%rbp)
movsd  %xmm4,-0x28(%rbp)
movsd  %xmm5,-0x30(%rbp)
movsd  %xmm6,-0x38(%rbp)
movsd  %xmm7,-0x40(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  -0x30(%rbp),%xmm0
xor    %edi,%edi
call   1050 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0xa0(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  0xe5e(%rip),%xmm0
mov    0x2e37(%rip),%rax
mulsd  (%rax),%xmm0
mulsd  -0x30(%rbp),%xmm0
mulsd  -0x40(%rbp),%xmm0
mulsd  0x18(%rbp),%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
mov    0x2e15(%rip),%rax
movsd  (%rax),%xmm0
mulsd  -0x40(%rbp),%xmm0
mulsd  0x20(%rbp),%xmm0
divsd  -0x18(%rbp),%xmm0
call   1040 <cos@plt>
movaps %xmm0,%xmm1
movsd  -0x98(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  -0x18(%rbp),%xmm1
mulsd  -0x28(%rbp),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  0xde8(%rip),%xmm0
mov    0x2dc9(%rip),%rax
mulsd  (%rax),%xmm0
mulsd  -0x38(%rbp),%xmm0
mulsd  0x10(%rbp),%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
mov    0x2dac(%rip),%rax
movsd  (%rax),%xmm0
mulsd  -0x38(%rbp),%xmm0
mulsd  0x20(%rbp),%xmm0
divsd  -0x18(%rbp),%xmm0
call   1030 <sin@plt>
movsd  -0x90(%rbp),%xmm2
ff
movsd  -0x88(%rbp),%xmm1
ff
movaps %xmm0,%xmm3
movsd  -0x80(%rbp),%xmm0
mulsd  %xmm3,%xmm2
movsd  -0x18(%rbp),%xmm3
mulsd  -0x20(%rbp),%xmm3
mulsd  -0x28(%rbp),%xmm3
divsd  %xmm3,%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  -0x10(%rbp),%xmm1
addsd  -0x30(%rbp),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x30(%rbp),%xmm0
mov    $0x1,%edi
call   1050 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0x78(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    0x2d19(%rip),%rax
movsd  (%rax),%xmm0
mulsd  -0x30(%rbp),%xmm0
mulsd  -0x40(%rbp),%xmm0
mulsd  0x18(%rbp),%xmm0
movsd  %xmm0,-0x70(%rbp)
mov    0x2cfa(%rip),%rax
movsd  (%rax),%xmm0
mulsd  -0x40(%rbp),%xmm0
mulsd  0x20(%rbp),%xmm0
divsd  -0x18(%rbp),%xmm0
call   1040 <cos@plt>
movaps %xmm0,%xmm1
movsd  -0x70(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  -0x18(%rbp),%xmm1
mulsd  -0x28(%rbp),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
mov    0x2cbc(%rip),%rax
movsd  (%rax),%xmm0
mulsd  -0x38(%rbp),%xmm0
mulsd  0x10(%rbp),%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    0x2ca2(%rip),%rax
movsd  (%rax),%xmm0
mulsd  -0x38(%rbp),%xmm0
mulsd  0x20(%rbp),%xmm0
divsd  -0x18(%rbp),%xmm0
call   1030 <sin@plt>
movsd  -0x68(%rbp),%xmm2
movsd  -0x60(%rbp),%xmm1
movaps %xmm0,%xmm3
movsd  -0x58(%rbp),%xmm0
mulsd  %xmm3,%xmm2
movsd  -0x18(%rbp),%xmm3
mulsd  -0x20(%rbp),%xmm3
mulsd  -0x28(%rbp),%xmm3
divsd  %xmm3,%xmm2
addsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x10(%rbp),%xmm0
addsd  -0x30(%rbp),%xmm0
mov    $0x2,%edi
call   1050 <pow@plt>
movsd  -0x50(%rbp),%xmm1
movaps %xmm0,%xmm2
movsd  -0x48(%rbp),%xmm0
divsd  %xmm2,%xmm1
addsd  %xmm1,%xmm0
add    $0xa0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<DMu_Dx>:
push   %rbx
sub    $0xd0,%rsp
movaps %xmm7,0x10(%rsp)
movaps %xmm6,0x20(%rsp)
movaps %xmm5,0x80(%rsp)
movsd  %xmm4,0x8(%rsp)
movaps %xmm3,0x60(%rsp)
movsd  %xmm2,(%rsp)
movaps %xmm1,0x30(%rsp)
movaps %xmm0,0x50(%rsp)
movaps %xmm5,%xmm0
xor    %edi,%edi
call   1050 <pow@plt>
movaps %xmm0,0x90(%rsp)
mov    0x2e6b(%rip),%rbx
movsd  (%rbx),%xmm0
movsd  0xe77(%rip),%xmm1
mulsd  %xmm0,%xmm1
movapd %xmm1,0xa0(%rsp)
mulsd  0x10(%rsp),%xmm0
mulsd  0xf0(%rsp),%xmm0
divsd  (%rsp),%xmm0
call   1040 <cos@plt>
movapd %xmm0,0x40(%rsp)
movsd  (%rsp),%xmm1
movapd %xmm1,%xmm0
mulsd  0x8(%rsp),%xmm0
movapd %xmm0,0xb0(%rsp)
movsd  (%rbx),%xmm0
movsd  0xe2f(%rip),%xmm2
mulsd  %xmm0,%xmm2
movapd %xmm2,0xc0(%rsp)
mulsd  0x20(%rsp),%xmm0
mulsd  0xf0(%rsp),%xmm0
divsd  %xmm1,%xmm0
call   1030 <sin@plt>
movapd %xmm0,0x70(%rsp)
movapd 0x60(%rsp),%xmm0
mulsd  (%rsp),%xmm0
mulsd  0x8(%rsp),%xmm0
movapd %xmm0,0x60(%rsp)
movapd 0x30(%rsp),%xmm0
movapd 0x80(%rsp),%xmm1
addsd  %xmm1,%xmm0
movapd %xmm0,0x30(%rsp)
movapd %xmm1,%xmm0
mov    $0x1,%edi
call   1050 <pow@plt>
movapd 0x90(%rsp),%xmm1
unpcklpd %xmm0,%xmm1
movapd 0x50(%rsp),%xmm0
unpcklpd %xmm0,%xmm0
mulpd  %xmm1,%xmm0
movapd %xmm0,0x50(%rsp)
movsd  (%rbx),%xmm0
movapd 0xa0(%rsp),%xmm2
unpcklpd %xmm0,%xmm2
movapd 0x80(%rsp),%xmm1
unpcklpd %xmm1,%xmm1
mulpd  %xmm2,%xmm1
movapd %xmm1,%xmm2
movapd 0x10(%rsp),%xmm1
mulsd  %xmm1,%xmm0
unpcklpd %xmm1,%xmm1
mulpd  %xmm2,%xmm1
movsd  0xe8(%rsp),%xmm2
unpcklpd %xmm2,%xmm2
mulpd  %xmm1,%xmm2
movapd %xmm2,0x10(%rsp)
mulsd  0xf0(%rsp),%xmm0
divsd  (%rsp),%xmm0
call   1040 <cos@plt>
movapd 0x40(%rsp),%xmm1
unpcklpd %xmm0,%xmm1
mulpd  0x10(%rsp),%xmm1
movapd 0xb0(%rsp),%xmm0
unpcklpd %xmm0,%xmm0
divpd  %xmm0,%xmm1
movapd %xmm1,0x40(%rsp)
movapd 0xc0(%rsp),%xmm1
movhpd (%rbx),%xmm1
movapd 0x20(%rsp),%xmm0
unpcklpd %xmm0,%xmm0
mulpd  %xmm1,%xmm0
movsd  0xe0(%rsp),%xmm1
unpcklpd %xmm1,%xmm1
mulpd  %xmm0,%xmm1
movapd %xmm1,0x20(%rsp)
unpckhpd %xmm0,%xmm0
mulsd  0xf0(%rsp),%xmm0
divsd  (%rsp),%xmm0
call   1030 <sin@plt>
movapd 0x70(%rsp),%xmm1
unpcklpd %xmm0,%xmm1
mulpd  0x20(%rsp),%xmm1
movapd 0x60(%rsp),%xmm0
unpcklpd %xmm0,%xmm0
divpd  %xmm0,%xmm1
movapd 0x40(%rsp),%xmm2
movapd %xmm2,%xmm0
subpd  %xmm1,%xmm0
addpd  %xmm2,%xmm1
movsd  %xmm0,%xmm1
mulpd  0x50(%rsp),%xmm1
movapd %xmm1,0x70(%rsp)
movapd 0x30(%rsp),%xmm0
mov    $0x2,%edi
call   1050 <pow@plt>
movapd 0x30(%rsp),%xmm1
unpcklpd %xmm0,%xmm1
movapd 0x70(%rsp),%xmm2
divpd  %xmm1,%xmm2
movapd %xmm2,%xmm0
unpckhpd %xmm2,%xmm0
addsd  %xmm2,%xmm0
add    $0xd0,%rsp
pop    %rbx
ret

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

LLVM IR (-O2):
@M_PI = global double 0.000000e+00
define double @DMu_Dx(double %0, double %1, double %2, double %3, double %4, double %5, double %6, double %7, double %8, double %9, double %10) {
%12 = tail call double @pow(double %5, i32 0)
%13 = load double, double* @M_PI
%14 = fmul double %13, -1.500000e+00
%15 = fmul double %13, %7
%16 = fmul double %15, %10
%17 = fdiv double %16, %2
%18 = tail call double @cos(double %17)
%19 = fmul double %2, %4
%20 = load double, double* @M_PI
%21 = fmul double %20, 1.500000e+00
%22 = fmul double %20, %6
%23 = fmul double %22, %10
%24 = fdiv double %23, %2
%25 = tail call double @sin(double %24)
%26 = fmul double %2, %3
%27 = fmul double %26, %4
%28 = fadd double %1, %5
%29 = tail call double @pow(double %5, i32 1)
%30 = insertelement <2 x double> poison, double %12, i64 0
%31 = insertelement <2 x double> %30, double %29, i64 1
%32 = insertelement <2 x double> poison, double %0, i64 0
%33 = shufflevector <2 x double> %32, <2 x double> poison, <2 x i32> zeroinitializer
%34 = fmul <2 x double> %31, %33
%35 = load double, double* @M_PI
%36 = insertelement <2 x double> poison, double %14, i64 0
%37 = insertelement <2 x double> %36, double %35, i64 1
%38 = insertelement <2 x double> poison, double %5, i64 0
%39 = shufflevector <2 x double> %38, <2 x double> poison, <2 x i32> zeroinitializer
%40 = fmul <2 x double> %37, %39
%41 = insertelement <2 x double> poison, double %7, i64 0
%42 = shufflevector <2 x double> %41, <2 x double> poison, <2 x i32> zeroinitializer
%43 = fmul <2 x double> %40, %42
%44 = insertelement <2 x double> poison, double %9, i64 0
%45 = shufflevector <2 x double> %44, <2 x double> poison, <2 x i32> zeroinitializer
%46 = fmul <2 x double> %43, %45
%47 = fmul double %35, %7
%48 = fmul double %47, %10
%49 = fdiv double %48, %2
%50 = tail call double @cos(double %49)
%51 = insertelement <2 x double> poison, double %18, i64 0
%52 = insertelement <2 x double> %51, double %50, i64 1
%53 = fmul <2 x double> %52, %46
%54 = insertelement <2 x double> poison, double %19, i64 0
%55 = shufflevector <2 x double> %54, <2 x double> poison, <2 x i32> zeroinitializer
%56 = fdiv <2 x double> %53, %55
%57 = load double, double* @M_PI
%58 = insertelement <2 x double> poison, double %21, i64 0
%59 = insertelement <2 x double> %58, double %57, i64 1
%60 = insertelement <2 x double> poison, double %6, i64 0
%61 = shufflevector <2 x double> %60, <2 x double> poison, <2 x i32> zeroinitializer
%62 = fmul <2 x double> %59, %61
%63 = insertelement <2 x double> poison, double %8, i64 0
%64 = shufflevector <2 x double> %63, <2 x double> poison, <2 x i32> zeroinitializer
%65 = fmul <2 x double> %62, %64
%66 = extractelement <2 x double> %62, i64 1
%67 = fmul double %66, %10
%68 = fdiv double %67, %2
%69 = tail call double @sin(double %68)
%70 = insertelement <2 x double> poison, double %25, i64 0
%71 = insertelement <2 x double> %70, double %69, i64 1
%72 = fmul <2 x double> %71, %65
%73 = insertelement <2 x double> poison, double %27, i64 0
%74 = shufflevector <2 x double> %73, <2 x double> poison, <2 x i32> zeroinitializer
%75 = fdiv <2 x double> %72, %74
%76 = fsub <2 x double> %56, %75
%77 = fadd <2 x double> %56, %75
%78 = shufflevector <2 x double> %76, <2 x double> %77, <2 x i32> <i32 0, i32 3>
%79 = fmul <2 x double> %34, %78
%80 = tail call double @pow(double %28, i32 2)
%81 = insertelement <2 x double> poison, double %28, i64 0
%82 = insertelement <2 x double> %81, double %80, i64 1
%83 = fdiv <2 x double> %79, %82
%84 = shufflevector <2 x double> %83, <2 x double> poison, <2 x i32> <i32 1, i32 undef>
%85 = fadd <2 x double> %83, %84
%86 = extractelement <2 x double> %85, i64 0
ret double %86
}