source_filename = "test"
target datalayout = "e-p:32:32-f64:32:64-f80:32-n8:16:32-S128"

@eax = internal unnamed_addr global i32 0, align 8
@ecx = internal unnamed_addr global i32 0, align 8
@edx = internal unnamed_addr global i32 0, align 8

define i32 @function_0(i32 %arg1) local_unnamed_addr {
dec_label_pc_0:
  %esi.global-to-local = alloca i32, align 4
  %st5.global-to-local = alloca x86_fp80, align 4
  %st6.global-to-local = alloca x86_fp80, align 4
  %st7.global-to-local = alloca x86_fp80, align 4
  %v0_3 = load i32, i32* %esi.global-to-local, align 4
  store i32 %arg1, i32* %esi.global-to-local, align 4
  %v1_7 = add i32 %arg1, 48
  %v2_7 = inttoptr i32 %v1_7 to i32*
  %v3_7 = load i32, i32* %v2_7, align 4
  %v3_a = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_a = fpext double %v3_a to x86_fp80
  %v4_c = load double, double* bitcast (i32* @eax to double*), align 8
  %v5_c = fpext double %v4_c to x86_fp80
  %v6_c = fsub x86_fp80 %v4_a, %v5_c
  store x86_fp80 %v6_c, x86_fp80* %st7.global-to-local, align 4
  %v3_e = add i32 %v3_7, -24
  %v4_e = inttoptr i32 %v3_e to double*
  %v5_e = load double, double* %v4_e, align 4
  %v6_e = fpext double %v5_e to x86_fp80
  %v7_e = fmul x86_fp80 %v6_c, %v6_e
  store x86_fp80 %v7_e, x86_fp80* %st7.global-to-local, align 4
  %v2_11 = load i32, i32* @ecx, align 8
  %v3_11 = add i32 %v2_11, 8
  %v4_11 = inttoptr i32 %v3_11 to double*
  %v5_11 = load double, double* %v4_11, align 4
  %v6_11 = fpext double %v5_11 to x86_fp80
  %v7_11 = fadd x86_fp80 %v7_e, %v6_11
  store x86_fp80 %v7_11, x86_fp80* %st7.global-to-local, align 4
  %v3_14 = add i32 %v3_7, -16
  %v4_14 = inttoptr i32 %v3_14 to double*
  %v5_14 = load double, double* %v4_14, align 4
  %v6_14 = fpext double %v5_14 to x86_fp80
  %v7_14 = fmul x86_fp80 %v7_11, %v6_14
  store x86_fp80 %v7_14, x86_fp80* %st7.global-to-local, align 4
  store x86_fp80 %v5_c, x86_fp80* %st6.global-to-local, align 4
  %v3_1b = add i32 %v3_7, -40
  %v4_1b = inttoptr i32 %v3_1b to double*
  %v5_1b = load double, double* %v4_1b, align 4
  %v6_1b = fpext double %v5_1b to x86_fp80
  %v7_1b = fmul x86_fp80 %v5_c, %v6_1b
  %v6_1e = fsub x86_fp80 %v7_1b, %v4_a
  %v4_22 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v5_22 = fpext double %v4_22 to x86_fp80
  %v6_22 = fmul x86_fp80 %v5_c, %v5_22
  %v2_24 = fsub x86_fp80 0xK80000000000000000000, %v6_22
  store x86_fp80 %v2_24, x86_fp80* %st5.global-to-local, align 4
  %v4_26 = fsub x86_fp80 %v6_1e, %v6_22
  store x86_fp80 %v4_26, x86_fp80* %st6.global-to-local, align 4
  %v5_28 = load double, double* %v4_14, align 4
  %v6_28 = fpext double %v5_28 to x86_fp80
  %v7_28 = fmul x86_fp80 %v4_26, %v6_28
  store x86_fp80 %v7_28, x86_fp80* %st6.global-to-local, align 4
  %v6_2f = fmul x86_fp80 %v4_a, %v5_c
  store x86_fp80 %v6_2f, x86_fp80* %st5.global-to-local, align 4
  %v3_33 = add i32 %v3_7, -32
  %v4_33 = inttoptr i32 %v3_33 to double*
  %v5_33 = load double, double* %v4_33, align 4
  %v6_33 = fpext double %v5_33 to x86_fp80
  %v7_33 = fmul x86_fp80 %v5_22, %v6_33
  %v4_38 = fsub x86_fp80 %v6_2f, %v7_33
  store x86_fp80 %v4_38, x86_fp80* %st5.global-to-local, align 4
  %v5_3a = load double, double* %v4_14, align 4
  %v6_3a = fpext double %v5_3a to x86_fp80
  %v7_3a = fmul x86_fp80 %v4_38, %v6_3a
  store x86_fp80 %v7_3a, x86_fp80* %st5.global-to-local, align 4
  %tmp230 = bitcast double %v4_22 to i64
  %tmp231 = trunc i64 %tmp230 to i32
  %v2_3f = add i32 %tmp231, 8
  %v3_3f = inttoptr i32 %v2_3f to double*
  %v4_3f = load double, double* %v3_3f, align 4
  %v5_3f = fpext double %v4_3f to x86_fp80
  %v3_42 = add i32 %v3_7, -48
  %v4_42 = inttoptr i32 %v3_42 to double*
  %v5_42 = load double, double* %v4_42, align 4
  %v6_42 = fpext double %v5_42 to x86_fp80
  %v7_42 = fmul x86_fp80 %v5_3f, %v6_42
  %v6_47 = fmul x86_fp80 %v4_a, %v5_22
  %v4_4b = fsub x86_fp80 %v7_42, %v6_47
  %v5_4d = load double, double* %v4_14, align 4
  %v6_4d = fpext double %v5_4d to x86_fp80
  %v7_4d = fmul x86_fp80 %v4_4b, %v6_4d
  %v4_52 = fptrunc x86_fp80 %v7_4d to double
  store double %v4_52, double* %v3_3f, align 4
  %v1_55 = load x86_fp80, x86_fp80* %st5.global-to-local, align 4
  %v2_55 = load i32, i32* @ecx, align 8
  %v3_55 = fptrunc x86_fp80 %v1_55 to double
  %v4_55 = inttoptr i32 %v2_55 to double*
  store double %v3_55, double* %v4_55, align 4
  %v1_57 = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v2_57 = load i32, i32* @edx, align 8
  %v3_57 = fptrunc x86_fp80 %v1_57 to double
  %v4_57 = inttoptr i32 %v2_57 to double*
  store double %v3_57, double* %v4_57, align 4
  %v1_59 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v2_59 = load i32, i32* @eax, align 8
  %v3_59 = fptrunc x86_fp80 %v1_59 to double
  %v4_59 = inttoptr i32 %v2_59 to double*
  store double %v3_59, double* %v4_59, align 4
  store i32 %v0_3, i32* %esi.global-to-local, align 4
  %v0_5d = load i32, i32* @eax, align 8
  ret i32 %v0_5d
}
