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:
  %st6.global-to-local = alloca x86_fp80, align 4
  %st7.global-to-local = alloca x86_fp80, align 4
  %v0_c = load i32, i32* @eax, align 8
  %v3_e = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_e = fpext double %v3_e to x86_fp80
  %v3_10 = fmul x86_fp80 %v4_e, %v4_e
  %v3_12 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_12 = fpext double %v3_12 to x86_fp80
  %v4_14 = load double, double* bitcast (i32* @edx to double*), align 8
  %v5_14 = fpext double %v4_14 to x86_fp80
  %v6_14 = fmul x86_fp80 %v4_12, %v5_14
  %v3_16 = fadd x86_fp80 %v6_14, %v6_14
  %v4_18 = fadd x86_fp80 %v3_10, %v3_16
  store x86_fp80 %v4_18, x86_fp80* %st7.global-to-local, align 4
  %v3_1e = fmul x86_fp80 %v5_14, %v5_14
  %v6_22 = fmul x86_fp80 %v4_e, %v4_12
  %v3_24 = fadd x86_fp80 %v6_22, %v6_22
  %v4_26 = fadd x86_fp80 %v3_1e, %v3_24
  %v2_28 = fsub x86_fp80 0xK80000000000000000000, %v4_26
  store x86_fp80 %v2_28, x86_fp80* %st6.global-to-local, align 4
  %v3_2e = fmul x86_fp80 %v4_12, %v4_12
  %v6_34 = fmul x86_fp80 %v4_e, %v5_14
  %v3_36 = fadd x86_fp80 %v6_34, %v6_34
  %v4_38 = fsub x86_fp80 %v3_36, %v3_2e
  %v3_3c = add i32 %arg1, 40
  %v4_3c = inttoptr i32 %v3_3c to double*
  %v5_3c = load double, double* %v4_3c, align 4
  %v6_3c = fpext double %v5_3c to x86_fp80
  %v7_3c = fadd x86_fp80 %v4_38, %v6_3c
  %tmp232 = bitcast double %v3_12 to i64
  %tmp233 = trunc i64 %tmp232 to i32
  %v3_3f = fptrunc x86_fp80 %v7_3c to double
  %v4_3f = inttoptr i32 %tmp233 to double*
  store double %v3_3f, double* %v4_3f, align 4
  %v1_41 = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v3_41 = add i32 %arg1, 32
  %v4_41 = inttoptr i32 %v3_41 to double*
  %v5_41 = load double, double* %v4_41, align 4
  %v6_41 = fpext double %v5_41 to x86_fp80
  %v7_41 = fadd x86_fp80 %v1_41, %v6_41
  store x86_fp80 %v7_41, x86_fp80* %st6.global-to-local, align 4
  %v2_44 = load i32, i32* @edx, align 8
  %v3_44 = fptrunc x86_fp80 %v7_41 to double
  %v4_44 = inttoptr i32 %v2_44 to double*
  store double %v3_44, double* %v4_44, align 4
  %v1_46 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v3_46 = add i32 %arg1, 24
  %v4_46 = inttoptr i32 %v3_46 to double*
  %v5_46 = load double, double* %v4_46, align 4
  %v6_46 = fpext double %v5_46 to x86_fp80
  %v7_46 = fadd x86_fp80 %v1_46, %v6_46
  store x86_fp80 %v7_46, x86_fp80* %st7.global-to-local, align 4
  %v3_49 = fptrunc x86_fp80 %v7_46 to double
  %v4_49 = inttoptr i32 %v0_c to double*
  store double %v3_49, double* %v4_49, align 4
  store i32 %v0_c, i32* @eax, align 8
  ret i32 %v0_c
}
