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* @edx to double*), align 8
  %v4_12 = fpext double %v3_12 to x86_fp80
  %v3_14 = fmul x86_fp80 %v4_12, %v4_12
  %v4_16 = fsub x86_fp80 %v3_10, %v3_14
  %v3_18 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_18 = fpext double %v3_18 to x86_fp80
  %v3_1a = fmul x86_fp80 %v4_18, %v4_18
  %v4_1c = fsub x86_fp80 %v4_16, %v3_1a
  store x86_fp80 %v4_1c, x86_fp80* %st7.global-to-local, align 4
  %v6_22 = fmul x86_fp80 %v4_e, %v4_12
  %v3_24 = fadd x86_fp80 %v6_22, %v6_22
  store x86_fp80 %v3_24, x86_fp80* %st6.global-to-local, align 4
  %v3_2a = fadd x86_fp80 %v4_18, %v4_18
  %v6_2e = fsub x86_fp80 %v4_e, %v4_12
  %v4_30 = fmul x86_fp80 %v6_2e, %v3_2a
  %v3_34 = add i32 %arg1, 40
  %v4_34 = inttoptr i32 %v3_34 to double*
  %v5_34 = load double, double* %v4_34, align 4
  %v6_34 = fpext double %v5_34 to x86_fp80
  %v7_34 = fadd x86_fp80 %v4_30, %v6_34
  %tmp232 = bitcast double %v3_18 to i64
  %tmp233 = trunc i64 %tmp232 to i32
  %v3_37 = fptrunc x86_fp80 %v7_34 to double
  %v4_37 = inttoptr i32 %tmp233 to double*
  store double %v3_37, double* %v4_37, align 4
  %v1_39 = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v3_39 = add i32 %arg1, 32
  %v4_39 = inttoptr i32 %v3_39 to double*
  %v5_39 = load double, double* %v4_39, align 4
  %v6_39 = fpext double %v5_39 to x86_fp80
  %v7_39 = fadd x86_fp80 %v1_39, %v6_39
  store x86_fp80 %v7_39, x86_fp80* %st6.global-to-local, align 4
  %v2_3c = load i32, i32* @edx, align 8
  %v3_3c = fptrunc x86_fp80 %v7_39 to double
  %v4_3c = inttoptr i32 %v2_3c to double*
  store double %v3_3c, double* %v4_3c, align 4
  %v1_3e = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v3_3e = add i32 %arg1, 24
  %v4_3e = inttoptr i32 %v3_3e to double*
  %v5_3e = load double, double* %v4_3e, align 4
  %v6_3e = fpext double %v5_3e to x86_fp80
  %v7_3e = fadd x86_fp80 %v1_3e, %v6_3e
  store x86_fp80 %v7_3e, x86_fp80* %st7.global-to-local, align 4
  %v3_41 = fptrunc x86_fp80 %v7_3e to double
  %v4_41 = inttoptr i32 %v0_c to double*
  store double %v3_41, double* %v4_41, align 4
  store i32 %v0_c, i32* @eax, align 8
  ret i32 %v0_c
}
