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
  %edi.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
  %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
  %stack_var_-4 = alloca i32, align 4
  %v0_0 = load i32, i32* %ebp.global-to-local, align 4
  store i32 %v0_0, i32* %stack_var_-4, align 4
  %v4_0 = ptrtoint i32* %stack_var_-4 to i32
  store i32 %v4_0, i32* %ebp.global-to-local, align 4
  %v0_3 = load i32, i32* %esi.global-to-local, align 4
  %v0_4 = load i32, i32* %edi.global-to-local, align 4
  %v0_5 = load i32, i32* %ebx.global-to-local, align 4
  store i32 %arg1, i32* %esi.global-to-local, align 4
  %v0_9 = load i32, i32* @eax, align 8
  store i32 %v0_9, i32* %ebx.global-to-local, align 4
  %v1_b = add i32 %arg1, 48
  %v2_b = inttoptr i32 %v1_b to i32*
  %v3_b = load i32, i32* %v2_b, align 4
  store i32 %v3_b, i32* %edi.global-to-local, align 4
  %v1_e = add i32 %arg1, 208
  %v2_e = inttoptr i32 %v1_e to i32*
  %v3_e = load i32, i32* %v2_e, align 4
  %v10_e = icmp eq i32 %v3_e, 0
  %v1_15 = icmp eq i1 %v10_e, false
  br i1 %v1_15, label %dec_label_pc_6d, label %dec_label_pc_17

dec_label_pc_17:                                  ; preds = %dec_label_pc_0
  %v4_17 = add i32 %v3_e, 1
  store i32 %v4_17, i32* %v2_e, align 4
  %v0_1d = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  %v3_1d = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_1d = fpext double %v3_1d to x86_fp80
  store x86_fp80 %v4_1d, x86_fp80* %st7.global-to-local, align 4
  %v3_1f = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_1f = fpext double %v3_1f to x86_fp80
  store x86_fp80 %v4_1f, x86_fp80* %st6.global-to-local, align 4
  %v3_21 = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_21 = fpext double %v3_21 to x86_fp80
  store x86_fp80 %v4_21, x86_fp80* %st5.global-to-local, align 4
  %v2_23 = load i32, i32* %edi.global-to-local, align 4
  %v3_23 = add i32 %v2_23, -48
  %v4_23 = inttoptr i32 %v3_23 to double*
  %v5_23 = load double, double* %v4_23, align 4
  %v6_23 = fpext double %v5_23 to x86_fp80
  %v7_23 = fsub x86_fp80 %v4_21, %v6_23
  store x86_fp80 %v4_1f, x86_fp80* %st5.global-to-local, align 4
  store x86_fp80 %v7_23, x86_fp80* %st6.global-to-local, align 4
  %v3_28 = add i32 %v2_23, -56
  %v4_28 = inttoptr i32 %v3_28 to double*
  %v5_28 = load double, double* %v4_28, align 4
  %v6_28 = fpext double %v5_28 to x86_fp80
  %v7_28 = fsub x86_fp80 %v4_1f, %v6_28
  store x86_fp80 %v4_1d, x86_fp80* %st5.global-to-local, align 4
  store x86_fp80 %v7_28, x86_fp80* %st7.global-to-local, align 4
  %v3_2d = add i32 %v2_23, -64
  %v4_2d = inttoptr i32 %v3_2d to double*
  %v5_2d = load double, double* %v4_2d, align 4
  %v6_2d = fpext double %v5_2d to x86_fp80
  %v7_2d = fsub x86_fp80 %v4_1d, %v6_2d
  store x86_fp80 %v7_23, x86_fp80* %st5.global-to-local, align 4
  %v3_34 = fmul x86_fp80 %v7_23, %v7_23
  %v3_3a = fmul x86_fp80 %v7_28, %v7_28
  %v4_3c = fadd x86_fp80 %v3_34, %v3_3a
  store x86_fp80 %v7_28, x86_fp80* %st6.global-to-local, align 4
  %v3_42 = fmul x86_fp80 %v7_2d, %v7_2d
  %v4_44 = fadd x86_fp80 %v4_3c, %v3_42
  store x86_fp80 %v7_2d, x86_fp80* %st7.global-to-local, align 4
  %v2_48 = add i32 %v2_23, -40
  %v3_48 = inttoptr i32 %v2_48 to double*
  %v4_48 = load double, double* %v3_48, align 4
  %v5_48 = fpext double %v4_48 to x86_fp80
  %v4_4b = fdiv x86_fp80 %v5_48, %v4_44
  store x86_fp80 %v4_4b, x86_fp80* %st5.global-to-local, align 4
  %v4_4f = fmul x86_fp80 %v7_23, %v4_4b
  %v3_51 = add i32 %v2_23, -16
  %v4_51 = inttoptr i32 %v3_51 to double*
  %v5_51 = load double, double* %v4_51, align 4
  %v6_51 = fpext double %v5_51 to x86_fp80
  %v7_51 = fsub x86_fp80 %v4_4f, %v6_51
  %v2_54 = load i32, i32* %ebx.global-to-local, align 4
  %v3_54 = fptrunc x86_fp80 %v7_51 to double
  %v4_54 = inttoptr i32 %v2_54 to double*
  store double %v3_54, double* %v4_54, align 4
  %v2_56 = load x86_fp80, x86_fp80* %st5.global-to-local, align 4
  %v3_56 = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  store x86_fp80 %v2_56, x86_fp80* %st6.global-to-local, align 4
  %v4_58 = fmul x86_fp80 %v2_56, %v3_56
  store x86_fp80 %v4_58, x86_fp80* %st5.global-to-local, align 4
  %v3_5a = add i32 %v2_23, -24
  %v4_5a = inttoptr i32 %v3_5a to double*
  %v5_5a = load double, double* %v4_5a, align 4
  %v6_5a = fpext double %v5_5a to x86_fp80
  %v7_5a = fsub x86_fp80 %v4_58, %v6_5a
  store x86_fp80 %v7_5a, x86_fp80* %st5.global-to-local, align 4
  %v2_5d = load i32, i32* @edx, align 8
  %v3_5d = fptrunc x86_fp80 %v7_5a to double
  %v4_5d = inttoptr i32 %v2_5d to double*
  store double %v3_5d, double* %v4_5d, align 4
  %v2_5f = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v3_5f = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v4_5f = fmul x86_fp80 %v2_5f, %v3_5f
  store x86_fp80 %v4_5f, x86_fp80* %st7.global-to-local, align 4
  %v7_5f = add i3 %v0_1d, -1
  store i3 %v7_5f, i3* %fpu_stat_TOP.global-to-local, align 1
  %v3_61 = add i32 %v2_23, -32
  %v4_61 = inttoptr i32 %v3_61 to double*
  %v5_61 = load double, double* %v4_61, align 4
  %v6_61 = fpext double %v5_61 to x86_fp80
  %v7_61 = fsub x86_fp80 %v4_5f, %v6_61
  store x86_fp80 %v7_61, x86_fp80* %st7.global-to-local, align 4
  %v2_64 = load i32, i32* @ecx, align 8
  %v3_64 = fptrunc x86_fp80 %v7_61 to double
  %v4_64 = inttoptr i32 %v2_64 to double*
  store double %v3_64, double* %v4_64, align 4
  %v2_89.pre = load i32, i32* %stack_var_-4, align 4
  br label %dec_label_pc_84

dec_label_pc_6d:                                  ; preds = %dec_label_pc_0
  %v0_6d = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  %v3_6d = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_6d = fpext double %v3_6d to x86_fp80
  store x86_fp80 %v4_6d, x86_fp80* %st7.global-to-local, align 4
  %v3_6f = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_6f = fpext double %v3_6f to x86_fp80
  store x86_fp80 %v4_6f, x86_fp80* %st6.global-to-local, align 4
  %v3_71 = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_71 = fpext double %v3_71 to x86_fp80
  store x86_fp80 %v4_71, x86_fp80* %st5.global-to-local, align 4
  %v2_73 = add i32 %arg1, 56
  %v3_73 = inttoptr i32 %v2_73 to double*
  %v4_73 = load double, double* %v3_73, align 4
  %v5_73 = fpext double %v4_73 to x86_fp80
  %v2_76 = call x86_fp80 @llvm.sqrt.f80(x86_fp80 %v5_73)
  %v4_78 = fmul x86_fp80 %v2_76, %v4_6d
  store x86_fp80 %v4_78, x86_fp80* %st7.global-to-local, align 4
  %v4_7a = fmul x86_fp80 %v2_76, %v4_6f
  store x86_fp80 %v4_7a, x86_fp80* %st6.global-to-local, align 4
  %v4_7c = fmul x86_fp80 %v2_76, %v4_71
  store x86_fp80 %v4_7c, x86_fp80* %st5.global-to-local, align 4
  %v3_7e = fptrunc x86_fp80 %v4_7c to double
  %v4_7e = inttoptr i32 %v0_9 to double*
  store double %v3_7e, double* %v4_7e, align 4
  %v1_80 = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v2_80 = load i32, i32* @edx, align 8
  %v3_80 = fptrunc x86_fp80 %v1_80 to double
  %v4_80 = inttoptr i32 %v2_80 to double*
  store double %v3_80, double* %v4_80, align 4
  %v5_80 = add i3 %v0_6d, -1
  store i3 %v5_80, i3* %fpu_stat_TOP.global-to-local, align 1
  %v1_82 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v2_82 = load i32, i32* @ecx, align 8
  %v3_82 = fptrunc x86_fp80 %v1_82 to double
  %v4_82 = inttoptr i32 %v2_82 to double*
  store double %v3_82, double* %v4_82, align 4
  br label %dec_label_pc_84

dec_label_pc_84:                                  ; preds = %dec_label_pc_6d, %dec_label_pc_17
  %v2_89 = phi i32 [ %v0_0, %dec_label_pc_6d ], [ %v2_89.pre, %dec_label_pc_17 ]
  %v0_84 = phi i32 [ %v0_9, %dec_label_pc_6d ], [ %v2_54, %dec_label_pc_17 ]
  %storemerge = phi i3 [ %v0_6d, %dec_label_pc_6d ], [ %v0_1d, %dec_label_pc_17 ]
  store i3 %storemerge, i3* %fpu_stat_TOP.global-to-local, align 1
  store i32 %v0_84, i32* @eax, align 8
  store i32 %v0_5, i32* %ebx.global-to-local, align 4
  store i32 %v0_4, i32* %edi.global-to-local, align 4
  store i32 %v0_3, i32* %esi.global-to-local, align 4
  store i32 %v2_89, i32* %ebp.global-to-local, align 4
  ret i32 %v0_84
}

; Function Attrs: nounwind readnone speculatable
declare x86_fp80 @llvm.sqrt.f80(x86_fp80) #0

attributes #0 = { nounwind readnone speculatable }
