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:
  %ebp.global-to-local = alloca i32, align 4
  %ebx.global-to-local = alloca i32, align 4
  %esi.global-to-local = alloca i32, align 4
  %fpu_stat_TOP.global-to-local = alloca i3, align 1
  %st6.global-to-local = alloca x86_fp80, align 4
  %st7.global-to-local = alloca x86_fp80, align 4
  %v0_0 = load i32, i32* %ebp.global-to-local, align 4
  %v0_3 = load i32, i32* %ebx.global-to-local, align 4
  %v0_4 = load i32, i32* @eax, align 8
  %v0_5 = load i32, i32* %esi.global-to-local, align 4
  store i32 %arg1, i32* %esi.global-to-local, align 4
  store i32 %v0_4, i32* %ebx.global-to-local, align 4
  %v1_d = add i32 %arg1, 48
  %v2_d = inttoptr i32 %v1_d to i32*
  %v3_d = load i32, i32* %v2_d, align 4
  %v0_12 = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  %v3_12 = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_12 = fpext double %v3_12 to x86_fp80
  %v4_14 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v5_14 = fpext double %v4_14 to x86_fp80
  %v6_14 = fmul x86_fp80 %v4_12, %v5_14
  store x86_fp80 %v6_14, x86_fp80* %st7.global-to-local, align 4
  %v3_16 = add i32 %v3_d, -16
  %v4_16 = inttoptr i32 %v3_16 to double*
  %v5_16 = load double, double* %v4_16, align 4
  %v6_16 = fpext double %v5_16 to x86_fp80
  %v7_16 = fmul x86_fp80 %v6_14, %v6_16
  store x86_fp80 %v7_16, x86_fp80* %st7.global-to-local, align 4
  %v3_19 = add i32 %arg1, 24
  %v4_19 = inttoptr i32 %v3_19 to double*
  %v5_19 = load double, double* %v4_19, align 4
  %v6_19 = fpext double %v5_19 to x86_fp80
  %v7_19 = fadd x86_fp80 %v7_16, %v6_19
  store x86_fp80 %v7_19, x86_fp80* %st7.global-to-local, align 4
  %v3_1f = fmul x86_fp80 %v4_12, %v4_12
  %v3_23 = fmul x86_fp80 %v5_14, %v5_14
  %v4_25 = fsub x86_fp80 %v3_23, %v3_1f
  store x86_fp80 %v4_25, x86_fp80* %st6.global-to-local, align 4
  %v3_27 = add i32 %v3_d, -24
  %v4_27 = inttoptr i32 %v3_27 to double*
  %v5_27 = load double, double* %v4_27, align 4
  %v6_27 = fpext double %v5_27 to x86_fp80
  %v7_27 = fmul x86_fp80 %v4_25, %v6_27
  store x86_fp80 %v7_27, x86_fp80* %st6.global-to-local, align 4
  %v3_2a = add i32 %arg1, 32
  %v4_2a = inttoptr i32 %v3_2a to double*
  %v5_2a = load double, double* %v4_2a, align 4
  %v6_2a = fpext double %v5_2a to x86_fp80
  %v7_2a = fadd x86_fp80 %v7_27, %v6_2a
  store x86_fp80 %v7_2a, x86_fp80* %st6.global-to-local, align 4
  %v3_2e = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_2e = fpext double %v3_2e to x86_fp80
  %v3_30 = add i32 %arg1, 40
  %v4_30 = inttoptr i32 %v3_30 to double*
  %v5_30 = load double, double* %v4_30, align 4
  %v6_30 = fpext double %v5_30 to x86_fp80
  %v7_30 = fadd x86_fp80 %v4_2e, %v6_30
  %tmp233 = bitcast double %v4_14 to i64
  %tmp234 = trunc i64 %tmp233 to i32
  %v3_34 = fptrunc x86_fp80 %v7_30 to double
  %v4_34 = inttoptr i32 %tmp234 to double*
  store double %v3_34, double* %v4_34, align 4
  %v1_36 = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v2_36 = load i32, i32* @edx, align 8
  %v3_36 = fptrunc x86_fp80 %v1_36 to double
  %v4_36 = inttoptr i32 %v2_36 to double*
  store double %v3_36, double* %v4_36, align 4
  %v1_38 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v3_38 = fptrunc x86_fp80 %v1_38 to double
  %v4_38 = inttoptr i32 %v0_4 to double*
  store double %v3_38, double* %v4_38, align 4
  %v4_3a = add i3 %v0_12, 1
  store i3 %v4_3a, i3* %fpu_stat_TOP.global-to-local, align 1
  store i32 %v0_5, i32* %esi.global-to-local, align 4
  store i32 %v0_4, i32* @eax, align 8
  store i32 %v0_3, i32* %ebx.global-to-local, align 4
  store i32 %v0_0, i32* %ebp.global-to-local, align 4
  ret i32 %v0_4
}
