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
  %v2_7 = add i32 %arg1, 24
  %v3_7 = inttoptr i32 %v2_7 to double*
  %v4_7 = load double, double* %v3_7, align 4
  %v5_7 = fpext double %v4_7 to x86_fp80
  store x86_fp80 %v5_7, x86_fp80* %st7.global-to-local, align 4
  %v2_a = add i32 %arg1, 32
  %v3_a = inttoptr i32 %v2_a to double*
  %v4_a = load double, double* %v3_a, align 4
  %v5_a = fpext double %v4_a to x86_fp80
  store x86_fp80 %v5_a, x86_fp80* %st6.global-to-local, align 4
  %v2_d = add i32 %arg1, 40
  %v3_d = inttoptr i32 %v2_d to double*
  %v4_d = load double, double* %v3_d, align 4
  %v5_d = fpext double %v4_d to x86_fp80
  %v3_12 = fmul x86_fp80 %v5_7, %v5_7
  %v3_16 = fmul x86_fp80 %v5_a, %v5_a
  %v3_1a = fmul x86_fp80 %v5_d, %v5_d
  %v4_1c = fadd x86_fp80 %v3_16, %v3_1a
  %v4_1e = fadd x86_fp80 %v3_12, %v4_1c
  %v4_22 = fdiv x86_fp80 0xK3FFF8000000000000000, %v4_1e
  %v4_24 = fmul x86_fp80 %v4_22, %v5_7
  store x86_fp80 %v4_24, x86_fp80* %st7.global-to-local, align 4
  %v4_26 = fmul x86_fp80 %v4_22, %v5_a
  store x86_fp80 %v4_26, x86_fp80* %st6.global-to-local, align 4
  %v4_28 = fmul x86_fp80 %v4_22, %v5_d
  %v4_2a = fptrunc x86_fp80 %v4_28 to double
  store double %v4_2a, double* %v3_d, align 4
  %v1_2d = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v4_2d = fptrunc x86_fp80 %v1_2d to double
  store double %v4_2d, double* %v3_a, align 4
  %v1_30 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v4_30 = fptrunc x86_fp80 %v1_30 to double
  store double %v4_30, double* %v3_7, align 4
  %v3_33 = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_33 = fpext double %v3_33 to x86_fp80
  %v3_35 = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_35 = fpext double %v3_35 to x86_fp80
  %v3_37 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_37 = fpext double %v3_37 to x86_fp80
  %v3_3b = fmul x86_fp80 %v4_33, %v4_33
  %v3_3f = fmul x86_fp80 %v4_35, %v4_35
  %v3_43 = fmul x86_fp80 %v4_37, %v4_37
  %v4_45 = fadd x86_fp80 %v3_3f, %v3_43
  %v4_47 = fadd x86_fp80 %v3_3b, %v4_45
  %v4_4b = fdiv x86_fp80 0xK3FFF8000000000000000, %v4_47
  %v4_4d = fmul x86_fp80 %v4_4b, %v4_33
  store x86_fp80 %v4_4d, x86_fp80* %st7.global-to-local, align 4
  %v4_4f = fmul x86_fp80 %v4_4b, %v4_35
  store x86_fp80 %v4_4f, x86_fp80* %st6.global-to-local, align 4
  %v4_51 = fmul x86_fp80 %v4_4b, %v4_37
  %tmp230 = bitcast double %v3_37 to i64
  %tmp231 = trunc i64 %tmp230 to i32
  %v3_53 = fptrunc x86_fp80 %v4_51 to double
  %v4_53 = inttoptr i32 %tmp231 to double*
  store double %v3_53, double* %v4_53, align 4
  %v1_55 = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v2_55 = load i32, i32* @edx, 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* %st7.global-to-local, align 4
  %v2_57 = load i32, i32* @eax, 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
  %v0_5b = load i32, i32* @eax, align 8
  ret i32 %v0_5b
}
