#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 pow(double, double);
double death_female_raw(int b_AF, int b_ra, int b_renal, int b_treatedhyp,
                        int b_type2, double bmi, int ethrisk, int fh_cvd,
                        double rati, double sbp, int smoke_cat, double town) {
  double a;
  double bmi_1;
  double Iethrisk[10] = {0,
                         0,
                         -0.7691412217114335100000000,
                         -0.4813884489809012200000000,
                         -0.6649693187337454300000000,
                         -0.9806514018090445300000000,
                         -0.7665687475367323200000000,
                         -0.3079908452168220200000000,
                         -1.1084520766868413000000000,
                         -0.9729355194482460800000000};
  double Ismoke[5] = {0, 0.2343310901409800500000000,
                      0.5870690502658261200000000, 0.7964460203072020200000000,
                      1.0533145224303277000000000};
  double dbmi = bmi;
  dbmi = dbmi / 10;
  bmi_1 = pow(dbmi, .5);
  bmi_1 = bmi_1 - 1.605074524879456;
  rati = rati - 3.705839872360230;
  sbp = sbp - 129.823593139648440;
  town = town - -0.301369071006775;
  a = 0;
  a += Iethrisk[ethrisk];
  a += Ismoke[smoke_cat];
  a += bmi_1 * -0.1081416642130314200000000;
  a += rati * 0.0273178320909109660000000;
  a += sbp * -0.0008337937584279265700000;
  a += town * 0.0366304184773099120000000;
  a += b_AF * 0.5484061247122409300000000;
  a += b_ra * 0.4667078978482423500000000;
  a += b_renal * 1.0288138959180866000000000;
  a += b_treatedhyp * -0.0500562994738190240000000;
  a += b_type2 * 0.6543819525425483800000000;
  a += fh_cvd * -0.4629154246984292800000000;
  return a;
}


x86 assembly (clang, -O0):
<death_female_raw>:
push   %rbp
mov    %rsp,%rbp
sub    $0xe0,%rsp
mov    0x18(%rbp),%eax
mov    0x10(%rbp),%eax
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    %edx,-0xc(%rbp)
mov    %ecx,-0x10(%rbp)
mov    %r8d,-0x14(%rbp)
movsd  %xmm0,-0x20(%rbp)
mov    %r9d,-0x24(%rbp)
movsd  %xmm1,-0x30(%rbp)
movsd  %xmm2,-0x38(%rbp)
movsd  %xmm3,-0x40(%rbp)
lea    -0xa0(%rbp),%rdi
lea    0xf29(%rip),%rsi
mov    $0x50,%edx
call   1040 <memcpy@plt>
lea    -0xd0(%rbp),%rdi
xor    %esi,%esi
mov    $0x28,%edx
call   1030 <memset@plt>
movsd  0xefc(%rip),%xmm0
movsd  %xmm0,-0xc8(%rbp)
ff
movsd  0xee4(%rip),%xmm0
movsd  %xmm0,-0xc0(%rbp)
ff
movsd  0xecc(%rip),%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
movsd  0xeb4(%rip),%xmm0
movsd  %xmm0,-0xb0(%rbp)
ff
movsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0xd8(%rbp)
ff
movsd  -0xd8(%rbp),%xmm0
ff
movsd  0xe87(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0xd8(%rbp)
ff
movsd  -0xd8(%rbp),%xmm0
ff
movsd  0xe63(%rip),%xmm1
call   1050 <pow@plt>
movsd  %xmm0,-0x50(%rbp)
movsd  -0x50(%rbp),%xmm0
movsd  0xe44(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x30(%rbp),%xmm0
movsd  0xe26(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  0xe08(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  0xdea(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x48(%rbp)
movslq -0x24(%rbp),%rax
movsd  -0xa0(%rbp,%rax,8),%xmm0
ff ff
addsd  -0x48(%rbp),%xmm0
movsd  %xmm0,-0x48(%rbp)
movslq 0x18(%rbp),%rax
movsd  -0xd0(%rbp,%rax,8),%xmm0
ff ff
addsd  -0x48(%rbp),%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x50(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm1
movsd  0xd91(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x30(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm1
movsd  0xd6a(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm1
movsd  0xd43(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm1
movsd  0xd1c(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
cvtsi2sdl -0x4(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm1
movsd  0xcf5(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
cvtsi2sdl -0x8(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm1
movsd  0xcce(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
cvtsi2sdl -0xc(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm1
movsd  0xca7(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
cvtsi2sdl -0x10(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm1
movsd  0xc80(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
cvtsi2sdl -0x14(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm1
movsd  0xc59(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
cvtsi2sdl 0x10(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm1
movsd  0xc32(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x48(%rbp),%xmm0
add    $0xe0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<death_female_raw>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x48,%rsp
movsd  %xmm3,0x18(%rsp)
movsd  %xmm2,0x10(%rsp)
movsd  %xmm1,0x8(%rsp)
mov    %r9d,%ebp
mov    %r8d,0x4(%rsp)
mov    %ecx,%r15d
mov    %edx,%r12d
mov    %esi,%r13d
mov    %edi,%ebx
movslq 0x88(%rsp),%r14
xorps  %xmm1,%xmm1
movaps %xmm1,0x20(%rsp)
movaps 0xea6(%rip),%xmm1
movups %xmm1,0x28(%rsp)
movaps 0xeaa(%rip),%xmm1
movups %xmm1,0x38(%rsp)
divsd  0xead(%rip),%xmm0
movsd  0xead(%rip),%xmm1
call   1030 <pow@plt>
addsd  0xea8(%rip),%xmm0
movsd  0x8(%rsp),%xmm4
addsd  0xea2(%rip),%xmm4
movsd  0x10(%rsp),%xmm2
addsd  0xe9c(%rip),%xmm2
movsd  0x18(%rsp),%xmm3
addsd  0xe96(%rip),%xmm3
movslq %ebp,%rax
lea    0xee4(%rip),%rcx
xorpd  %xmm1,%xmm1
addsd  (%rcx,%rax,8),%xmm1
addsd  0x20(%rsp,%r14,8),%xmm1
mulsd  0xe7c(%rip),%xmm0
addsd  %xmm1,%xmm0
movapd %xmm4,%xmm1
mulsd  0xe74(%rip),%xmm1
addsd  %xmm1,%xmm0
mulsd  0xe70(%rip),%xmm2
movapd %xmm3,%xmm1
mulsd  0xe6c(%rip),%xmm1
addsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
xorps  %xmm1,%xmm1
cvtsi2sd %ebx,%xmm1
mulsd  0xe5d(%rip),%xmm1
xorps  %xmm2,%xmm2
cvtsi2sd %r13d,%xmm2
addsd  %xmm1,%xmm0
mulsd  0xe51(%rip),%xmm2
addsd  %xmm2,%xmm0
xorps  %xmm1,%xmm1
cvtsi2sd %r12d,%xmm1
mulsd  0xe45(%rip),%xmm1
xorps  %xmm2,%xmm2
cvtsi2sd %r15d,%xmm2
mulsd  0xe3d(%rip),%xmm2
addsd  %xmm1,%xmm0
addsd  %xmm2,%xmm0
xorps  %xmm1,%xmm1
cvtsi2sdl 0x4(%rsp),%xmm1
mulsd  0xe2c(%rip),%xmm1
xorps  %xmm2,%xmm2
cvtsi2sdl 0x80(%rsp),%xmm2
addsd  %xmm1,%xmm0
mulsd  0xe1c(%rip),%xmm2
addsd  %xmm2,%xmm0
add    $0x48,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@__const.death_female_raw.Iethrisk = [10 x double] [double 0.000000e+00, double 0.000000e+00, double 0xBFE89CCE0D2831E8, double 0xBFDECF117F42E37F, double 0xBFE5476DBC99C139, double 0xBFEF617F0C717C1F, double 0xBFE887BB2E99CA4F, double 0xBFD3B61F3BEB1D0F, double 0xBFF1BC383EA8DA2F, double 0xBFEF2249ABA4B422]
define double @death_female_raw(i32 %0, i32 %1, i32 %2, i32 %3, i32 %4, double %5, i32 %6, i32 %7, double %8, double %9, i32 %10, double %11) {
%13 = alloca i32
%14 = alloca i32
%15 = alloca i32
%16 = alloca i32
%17 = alloca i32
%18 = alloca double
%19 = alloca i32
%20 = alloca i32
%21 = alloca double
%22 = alloca double
%23 = alloca i32
%24 = alloca double
%25 = alloca double
%26 = alloca double
%27 = alloca [10 x double]
%28 = alloca [5 x double]
%29 = alloca double
store i32 %0, i32* %13
store i32 %1, i32* %14
store i32 %2, i32* %15
store i32 %3, i32* %16
store i32 %4, i32* %17
store double %5, double* %18
store i32 %6, i32* %19
store i32 %7, i32* %20
store double %8, double* %21
store double %9, double* %22
store i32 %10, i32* %23
store double %11, double* %24
%30 = bitcast [10 x double]* %27 to i8*
%31 = bitcast [5 x double]* %28 to i8*
%32 = bitcast i8* %31 to [5 x double]*
%33 = getelementptr inbounds [5 x double], [5 x double]* %32, i32 0, i32 1
store double 0x3FCDFE8FA84BB77F, double* %33
%34 = getelementptr inbounds [5 x double], [5 x double]* %32, i32 0, i32 2
store double 0x3FE2C945086C560B, double* %34
%35 = getelementptr inbounds [5 x double], [5 x double]* %32, i32 0, i32 3
store double 0x3FE97C7C5D47F60B, double* %35
%36 = getelementptr inbounds [5 x double], [5 x double]* %32, i32 0, i32 4
store double 0x3FF0DA605423D784, double* %36
%37 = load double, double* %18
store double %37, double* %29
%38 = load double, double* %29
%39 = fdiv double %38, 1.000000e+01
store double %39, double* %29
%40 = load double, double* %29
%41 = call double @pow(double %40, double 5.000000e-01)
store double %41, double* %26
%42 = load double, double* %26
%43 = fsub double %42, 0x3FF9AE62A0000002
store double %43, double* %26
%44 = load double, double* %21
%45 = fsub double %44, 0x400DA58F60000001
store double %45, double* %21
%46 = load double, double* %22
%47 = fsub double %46, 0x40603A5AE0000000
store double %47, double* %22
%48 = load double, double* %24
%49 = fsub double %48, 0xBFD349A180000002
store double %49, double* %24
store double 0.000000e+00, double* %25
%50 = load i32, i32* %19
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [10 x double], [10 x double]* %27, i64 0, i64 %51
%53 = load double, double* %52
%54 = load double, double* %25
%55 = fadd double %54, %53
store double %55, double* %25
%56 = load i32, i32* %23
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [5 x double], [5 x double]* %28, i64 0, i64 %57
%59 = load double, double* %58
%60 = load double, double* %25
%61 = fadd double %60, %59
store double %61, double* %25
%62 = load double, double* %26
%63 = load double, double* %25
%64 = call double @llvm.fmuladd.f64(double %62, double 0xBFBBAF2C0F21469A, double %63)
store double %64, double* %25
%65 = load double, double* %21
%66 = load double, double* %25
%67 = call double @llvm.fmuladd.f64(double %65, double 0x3F9BF934ADB65B1A, double %66)
store double %67, double* %25
%68 = load double, double* %22
%69 = load double, double* %25
%70 = call double @llvm.fmuladd.f64(double %68, double 0xBF4B525E76477ED8, double %69)
store double %70, double* %25
%71 = load double, double* %24
%72 = load double, double* %25
%73 = call double @llvm.fmuladd.f64(double %71, double 0x3FA2C138E2CC34C8, double %72)
store double %73, double* %25
%74 = load i32, i32* %13
%75 = sitofp i32 %74 to double
%76 = load double, double* %25
%77 = call double @llvm.fmuladd.f64(double %75, double 0x3FE18C8B005215E4, double %76)
store double %77, double* %25
%78 = load i32, i32* %14
%79 = sitofp i32 %78 to double
%80 = load double, double* %25
%81 = call double @llvm.fmuladd.f64(double %79, double 0x3FDDDE8ACD82C24F, double %80)
store double %81, double* %25
%82 = load i32, i32* %15
%83 = sitofp i32 %82 to double
%84 = load double, double* %25
%85 = call double @llvm.fmuladd.f64(double %83, double 0x3FF076058F4A376B, double %84)
store double %85, double* %25
%86 = load i32, i32* %16
%87 = sitofp i32 %86 to double
%88 = load double, double* %25
%89 = call double @llvm.fmuladd.f64(double %87, double 0xBFA9A0FAB265CDAA, double %88)
store double %89, double* %25
%90 = load i32, i32* %17
%91 = sitofp i32 %90 to double
%92 = load double, double* %25
%93 = call double @llvm.fmuladd.f64(double %91, double 0x3FE4F0B26BA8696D, double %92)
store double %93, double* %25
%94 = load i32, i32* %20
%95 = sitofp i32 %94 to double
%96 = load double, double* %25
%97 = call double @llvm.fmuladd.f64(double %95, double 0xBFDDA06804793274, double %96)
store double %97, double* %25
%98 = load double, double* %25
ret double %98
}

LLVM IR (-O2):
@__const.death_female_raw.Iethrisk = [10 x double] [double 0.000000e+00, double 0.000000e+00, double 0xBFE89CCE0D2831E8, double 0xBFDECF117F42E37F, double 0xBFE5476DBC99C139, double 0xBFEF617F0C717C1F, double 0xBFE887BB2E99CA4F, double 0xBFD3B61F3BEB1D0F, double 0xBFF1BC383EA8DA2F, double 0xBFEF2249ABA4B422]
define double @death_female_raw(i32 %0, i32 %1, i32 %2, i32 %3, i32 %4, double %5, i32 %6, i32 %7, double %8, double %9, i32 %10, double %11) {
%13 = alloca [5 x double]
%14 = bitcast [5 x double]* %13 to i8*
%15 = getelementptr inbounds [5 x double], [5 x double]* %13, i64 0, i64 1
%16 = bitcast double* %15 to <2 x double>*
store <2 x double> <double 0x3FCDFE8FA84BB77F, double 0x3FE2C945086C560B>, <2 x double>* %16
%17 = getelementptr inbounds [5 x double], [5 x double]* %13, i64 0, i64 3
%18 = bitcast double* %17 to <2 x double>*
store <2 x double> <double 0x3FE97C7C5D47F60B, double 0x3FF0DA605423D784>, <2 x double>* %18
%19 = fdiv double %5, 1.000000e+01
%20 = tail call double @pow(double %19, double 5.000000e-01)
%21 = fadd double %20, 0xBFF9AE62A0000002
%22 = fadd double %8, 0xC00DA58F60000001
%23 = fadd double %9, 0xC0603A5AE0000000
%24 = fadd double %11, 0x3FD349A180000002
%25 = sext i32 %6 to i64
%26 = getelementptr inbounds [10 x double], [10 x double]* @__const.death_female_raw.Iethrisk, i64 0, i64 %25
%27 = load double, double* %26
%28 = fadd double %27, 0.000000e+00
%29 = sext i32 %10 to i64
%30 = getelementptr inbounds [5 x double], [5 x double]* %13, i64 0, i64 %29
%31 = load double, double* %30
%32 = fadd double %28, %31
%33 = tail call double @llvm.fmuladd.f64(double %21, double 0xBFBBAF2C0F21469A, double %32)
%34 = tail call double @llvm.fmuladd.f64(double %22, double 0x3F9BF934ADB65B1A, double %33)
%35 = tail call double @llvm.fmuladd.f64(double %23, double 0xBF4B525E76477ED8, double %34)
%36 = tail call double @llvm.fmuladd.f64(double %24, double 0x3FA2C138E2CC34C8, double %35)
%37 = sitofp i32 %0 to double
%38 = tail call double @llvm.fmuladd.f64(double %37, double 0x3FE18C8B005215E4, double %36)
%39 = sitofp i32 %1 to double
%40 = tail call double @llvm.fmuladd.f64(double %39, double 0x3FDDDE8ACD82C24F, double %38)
%41 = sitofp i32 %2 to double
%42 = tail call double @llvm.fmuladd.f64(double %41, double 0x3FF076058F4A376B, double %40)
%43 = sitofp i32 %3 to double
%44 = tail call double @llvm.fmuladd.f64(double %43, double 0xBFA9A0FAB265CDAA, double %42)
%45 = sitofp i32 %4 to double
%46 = tail call double @llvm.fmuladd.f64(double %45, double 0x3FE4F0B26BA8696D, double %44)
%47 = sitofp i32 %7 to double
%48 = tail call double @llvm.fmuladd.f64(double %47, double 0xBFDDA06804793274, double %46)
ret double %48
}