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
@global_var_1.1 = constant i8 -117

define i32 @function_0(i32 %arg1) local_unnamed_addr {
dec_label_pc_0:
  %ebx.global-to-local = alloca i32, align 4
  %edi.global-to-local = alloca i32, align 4
  %esi.global-to-local = alloca i32, align 4
  %fpsw.global-to-local = alloca i32, align 4
  %fpu_stat_TOP.global-to-local = alloca i3, align 1
  %st4.global-to-local = alloca x86_fp80, align 4
  %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
  %v0_9 = load i32, i32* %ebx.global-to-local, align 4
  %v0_a = load i32, i32* %esi.global-to-local, align 4
  %v0_b = load i32, i32* %edi.global-to-local, align 4
  store i32 %arg1, i32* %esi.global-to-local, align 4
  %v1_f = add i32 %arg1, 48
  %v2_f = inttoptr i32 %v1_f to i32*
  %v3_f = load i32, i32* %v2_f, align 4
  store i32 %v3_f, i32* %edi.global-to-local, align 4
  %v0_12 = load i32, i32* @eax, align 8
  store i32 %v0_12, i32* %ebx.global-to-local, align 4
  %v0_16 = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  %v2_16 = add i32 %v3_f, -84
  %v3_16 = inttoptr i32 %v2_16 to double*
  %v4_16 = load double, double* %v3_16, align 4
  %tmp266 = call double @llvm.fabs.f64(double %v4_16)
  %v2_19 = fpext double %tmp266 to x86_fp80
  store x86_fp80 %v2_19, x86_fp80* %st7.global-to-local, align 4
  %v2_1e = add i32 %v3_f, -92
  %v3_1e = inttoptr i32 %v2_1e to double*
  %v4_1e = load double, double* %v3_1e, align 4
  %tmp267 = call double @llvm.fabs.f64(double %v4_1e)
  %v2_21 = fpext double %tmp267 to x86_fp80
  store x86_fp80 %v2_21, x86_fp80* %st7.global-to-local, align 4
  %v4_26 = load double, double* %v3_16, align 4
  %v5_26 = fpext double %v4_26 to x86_fp80
  store x86_fp80 %v5_26, x86_fp80* %st7.global-to-local, align 4
  store x86_fp80 0xK00000000000000000000, x86_fp80* %st6.global-to-local, align 4
  %v8_2b = add i3 %v0_16, add (i3 add (i3 sub (i3 0, i3 ptrtoint (i8* @global_var_1.1 to i3)), i3 2), i3 sub (i3 0, i3 ptrtoint (i8* @global_var_1.1 to i3)))
  store i3 %v8_2b, i3* %fpu_stat_TOP.global-to-local, align 1
  %v0_2d = call i32 @__asm_wait()
  store i32 %v0_2d, i32* @eax, align 8
  %v0_2e = load i32, i32* %fpsw.global-to-local, align 4
  %v1_2e = call i16 @__asm_fnstsw(i32 %v0_2e)
  %v2_2e = sext i16 %v1_2e to i32
  %v3_2e = load i32, i32* @eax, align 8
  %v4_2e = and i32 %v3_2e, -65536
  %v1_30 = udiv i32 %v2_2e, 256
  %v2_30 = trunc i32 %v1_30 to i8
  %v3_30 = and i8 %v2_30, 65
  %v4_30 = icmp eq i8 %v3_30, 0
  %v9_30 = zext i8 %v3_30 to i32
  %v11_30 = mul i32 %v9_30, 256
  %v2_2e.masked = and i32 %v2_2e, -65281
  %v12_30 = or i32 %v4_2e, %v2_2e.masked
  %v13_30 = or i32 %v12_30, %v11_30
  store i32 %v13_30, i32* @eax, align 8
  %v1_33 = icmp eq i1 %v4_30, false
  %v0_7e = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  %v3_7e = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_7e = fpext double %v3_7e to x86_fp80
  br i1 %v1_33, label %dec_label_pc_7e, label %dec_label_pc_39

dec_label_pc_39:                                  ; preds = %dec_label_pc_0
  %v2_3b = call x86_fp80 @llvm.fabs.f80(x86_fp80 %v4_7e)
  %v3_3f = fmul x86_fp80 %v4_7e, %v4_7e
  %v4_44 = fmul x86_fp80 %v2_3b, %v3_3f
  %v7_49 = fadd x86_fp80 %v3_3f, %v2_19
  %v4_4c = fdiv x86_fp80 %v4_44, %v7_49
  store x86_fp80 %v4_4c, x86_fp80* %st7.global-to-local, align 4
  %v3_4e = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_4e = fpext double %v3_4e to x86_fp80
  %v2_50 = call x86_fp80 @llvm.fabs.f80(x86_fp80 %v4_4e)
  %v2_52 = add i3 %v0_7e, add (i3 sub (i3 0, i3 ptrtoint (i8* @global_var_1.1 to i3)), i3 add (i3 sub (i3 0, i3 ptrtoint (i8* @global_var_1.1 to i3)), i3 sub (i3 0, i3 ptrtoint (i8* @global_var_1.1 to i3))))
  %v3_54 = fmul x86_fp80 %v4_4e, %v4_4e
  %v4_59 = fmul x86_fp80 %v2_50, %v3_54
  %v7_5e = fadd x86_fp80 %v3_54, %v2_19
  %v4_61 = fdiv x86_fp80 %v4_59, %v7_5e
  store x86_fp80 %v4_61, x86_fp80* %st6.global-to-local, align 4
  %v3_63 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_63 = fpext double %v3_63 to x86_fp80
  %v2_65 = call x86_fp80 @llvm.fabs.f80(x86_fp80 %v4_63)
  %v3_69 = fmul x86_fp80 %v4_63, %v4_63
  %v4_6e = fmul x86_fp80 %v2_65, %v3_69
  %v7_73 = fadd x86_fp80 %v3_69, %v2_19
  store x86_fp80 %v7_73, x86_fp80* %st4.global-to-local, align 4
  %v4_76 = fdiv x86_fp80 %v4_6e, %v7_73
  store x86_fp80 %v4_76, x86_fp80* %st5.global-to-local, align 4
  store i3 %v2_52, i3* %fpu_stat_TOP.global-to-local, align 1
  %tmp268 = bitcast double %v3_63 to i64
  %tmp269 = trunc i64 %tmp268 to i32
  br label %dec_label_pc_99

dec_label_pc_7e:                                  ; preds = %dec_label_pc_0
  %v3_80 = fmul x86_fp80 %v4_7e, %v4_7e
  %v7_82 = fadd x86_fp80 %v3_80, %v2_19
  %v2_85 = call x86_fp80 @llvm.sqrt.f80(x86_fp80 %v7_82)
  store x86_fp80 %v2_85, x86_fp80* %st7.global-to-local, align 4
  %v3_87 = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_87 = fpext double %v3_87 to x86_fp80
  %v3_89 = fmul x86_fp80 %v4_87, %v4_87
  %v7_8b = fadd x86_fp80 %v3_89, %v2_19
  %v2_8e = call x86_fp80 @llvm.sqrt.f80(x86_fp80 %v7_8b)
  store x86_fp80 %v2_8e, x86_fp80* %st6.global-to-local, align 4
  %v3_90 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_90 = fpext double %v3_90 to x86_fp80
  %v5_90 = add i3 %v0_7e, -3
  store i3 %v5_90, i3* %fpu_stat_TOP.global-to-local, align 1
  %v3_92 = fmul x86_fp80 %v4_90, %v4_90
  %v7_94 = fadd x86_fp80 %v3_92, %v2_19
  %v2_97 = call x86_fp80 @llvm.sqrt.f80(x86_fp80 %v7_94)
  store x86_fp80 %v2_97, x86_fp80* %st5.global-to-local, align 4
  %tmp270 = bitcast double %v3_90 to i64
  %tmp271 = trunc i64 %tmp270 to i32
  br label %dec_label_pc_99

dec_label_pc_99:                                  ; preds = %dec_label_pc_7e, %dec_label_pc_39
  %v2_99 = phi i32 [ %tmp271, %dec_label_pc_7e ], [ %tmp269, %dec_label_pc_39 ]
  %v1_99 = phi x86_fp80 [ %v2_97, %dec_label_pc_7e ], [ %v4_76, %dec_label_pc_39 ]
  %v0_99 = phi i3 [ %v5_90, %dec_label_pc_7e ], [ %v2_52, %dec_label_pc_39 ]
  %v3_99 = fptrunc x86_fp80 %v1_99 to double
  %v4_99 = inttoptr i32 %v2_99 to double*
  store double %v3_99, double* %v4_99, align 4
  %v1_9b = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v2_9b = load i32, i32* @edx, align 8
  %v3_9b = fptrunc x86_fp80 %v1_9b to double
  %v4_9b = inttoptr i32 %v2_9b to double*
  store double %v3_9b, double* %v4_9b, align 4
  %v1_9d = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v2_9d = load i32, i32* %ebx.global-to-local, align 4
  %v3_9d = fptrunc x86_fp80 %v1_9d to double
  %v4_9d = inttoptr i32 %v2_9d to double*
  store double %v3_9d, double* %v4_9d, align 4
  %v5_9d = add i3 %v0_99, 3
  %v1_a1 = load i32, i32* %edi.global-to-local, align 4
  %v2_a1 = add i32 %v1_a1, -92
  %v3_a1 = inttoptr i32 %v2_a1 to double*
  %v4_a1 = load double, double* %v3_a1, align 4
  %v5_a1 = fpext double %v4_a1 to x86_fp80
  store x86_fp80 %v5_a1, x86_fp80* %st7.global-to-local, align 4
  store x86_fp80 0xK00000000000000000000, x86_fp80* %st6.global-to-local, align 4
  store i3 %v5_9d, i3* %fpu_stat_TOP.global-to-local, align 1
  %v0_a8 = call i32 @__asm_wait()
  store i32 %v0_a8, i32* @eax, align 8
  %v0_a9 = load i32, i32* %fpsw.global-to-local, align 4
  %v1_a9 = call i16 @__asm_fnstsw(i32 %v0_a9)
  %v2_a9 = sext i16 %v1_a9 to i32
  %v3_a9 = load i32, i32* @eax, align 8
  %v4_a9 = and i32 %v3_a9, -65536
  %v1_ab = udiv i32 %v2_a9, 256
  %v2_ab = trunc i32 %v1_ab to i8
  %v3_ab = and i8 %v2_ab, 65
  %v4_ab = icmp eq i8 %v3_ab, 0
  %v9_ab = zext i8 %v3_ab to i32
  %v11_ab = mul i32 %v9_ab, 256
  %v2_a9.masked = and i32 %v2_a9, -65281
  %v12_ab = or i32 %v4_a9, %v2_a9.masked
  %v13_ab = or i32 %v12_ab, %v11_ab
  store i32 %v13_ab, i32* @eax, align 8
  %v1_ae = icmp eq i1 %v4_ab, false
  %v0_156 = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  %v3_156 = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_156 = fpext double %v3_156 to x86_fp80
  br i1 %v1_ae, label %dec_label_pc_156, label %dec_label_pc_b4

dec_label_pc_b4:                                  ; preds = %dec_label_pc_99
  %v4_b6 = load double, double* bitcast (i32* @edx to double*), align 8
  %v5_b6 = fpext double %v4_b6 to x86_fp80
  %v6_b6 = fsub x86_fp80 %v4_156, %v5_b6
  %v2_ba = call x86_fp80 @llvm.fabs.f80(x86_fp80 %v6_b6)
  %v3_be = fmul x86_fp80 %v6_b6, %v6_b6
  %v4_c3 = fmul x86_fp80 %v2_ba, %v3_be
  %v7_c8 = fadd x86_fp80 %v3_be, %v2_21
  store x86_fp80 %v7_c8, x86_fp80* %st5.global-to-local, align 4
  %v4_cb = fdiv x86_fp80 %v4_c3, %v7_c8
  %v2_cd = fsub x86_fp80 0xK80000000000000000000, %v4_cb
  store x86_fp80 %v2_cd, x86_fp80* %st6.global-to-local, align 4
  %v4_cf = fsub x86_fp80 %v6_b6, %v4_cb
  store x86_fp80 %v4_cf, x86_fp80* %st7.global-to-local, align 4
  %v2_d1 = load i32, i32* %edi.global-to-local, align 4
  %v3_d1 = inttoptr i32 %v2_d1 to double*
  %v4_d1 = load double, double* %v3_d1, align 4
  %v5_d1 = fpext double %v4_d1 to x86_fp80
  %v6_d1 = fmul x86_fp80 %v4_cf, %v5_d1
  %v7_d9 = fsub x86_fp80 %v4_156, %v6_d1
  store x86_fp80 %v7_d9, x86_fp80* %st7.global-to-local, align 4
  %v7_df = fadd x86_fp80 %v6_d1, %v5_b6
  %tmp272 = bitcast double %v4_b6 to i64
  %tmp273 = trunc i64 %tmp272 to i32
  %v3_e3 = fptrunc x86_fp80 %v7_df to double
  %v4_e3 = inttoptr i32 %tmp273 to double*
  store double %v3_e3, double* %v4_e3, align 4
  %v1_e5 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v2_e5 = load i32, i32* %ebx.global-to-local, align 4
  %v3_e5 = fptrunc x86_fp80 %v1_e5 to double
  %v4_e5 = inttoptr i32 %v2_e5 to double*
  store double %v3_e5, double* %v4_e5, align 4
  %v3_e9 = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_e9 = fpext double %v3_e9 to x86_fp80
  %v4_eb = load double, double* bitcast (i32* @ecx to double*), align 8
  %v5_eb = fpext double %v4_eb to x86_fp80
  %v6_eb = fsub x86_fp80 %v4_e9, %v5_eb
  %v2_ef = call x86_fp80 @llvm.fabs.f80(x86_fp80 %v6_eb)
  %v3_f3 = fmul x86_fp80 %v6_eb, %v6_eb
  %v4_f8 = fmul x86_fp80 %v2_ef, %v3_f3
  %v7_fd = fadd x86_fp80 %v3_f3, %v2_21
  store x86_fp80 %v7_fd, x86_fp80* %st5.global-to-local, align 4
  %v4_100 = fdiv x86_fp80 %v4_f8, %v7_fd
  %v2_102 = fsub x86_fp80 0xK80000000000000000000, %v4_100
  store x86_fp80 %v2_102, x86_fp80* %st6.global-to-local, align 4
  %v4_104 = fsub x86_fp80 %v6_eb, %v4_100
  store x86_fp80 %v4_104, x86_fp80* %st7.global-to-local, align 4
  %v4_106 = load double, double* %v3_d1, align 4
  %v5_106 = fpext double %v4_106 to x86_fp80
  %v6_106 = fmul x86_fp80 %v4_104, %v5_106
  %v7_10e = fsub x86_fp80 %v4_e9, %v6_106
  store x86_fp80 %v7_10e, x86_fp80* %st7.global-to-local, align 4
  %v7_114 = fadd x86_fp80 %v6_106, %v5_eb
  %tmp274 = bitcast double %v4_eb to i64
  %tmp275 = trunc i64 %tmp274 to i32
  %v3_118 = fptrunc x86_fp80 %v7_114 to double
  %v4_118 = inttoptr i32 %tmp275 to double*
  store double %v3_118, double* %v4_118, align 4
  %v1_11a = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v3_11a = fptrunc x86_fp80 %v1_11a to double
  store double %v3_11a, double* %v4_e5, align 4
  %v3_11e = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_11e = fpext double %v3_11e to x86_fp80
  %v4_120 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v5_120 = fpext double %v4_120 to x86_fp80
  %v6_120 = fsub x86_fp80 %v4_11e, %v5_120
  %v2_124 = call x86_fp80 @llvm.fabs.f80(x86_fp80 %v6_120)
  %v3_128 = fmul x86_fp80 %v6_120, %v6_120
  %v4_12d = fmul x86_fp80 %v2_124, %v3_128
  %v7_132 = fadd x86_fp80 %v3_128, %v2_21
  store x86_fp80 %v7_132, x86_fp80* %st5.global-to-local, align 4
  %v4_135 = fdiv x86_fp80 %v4_12d, %v7_132
  %v2_137 = fsub x86_fp80 0xK80000000000000000000, %v4_135
  store x86_fp80 %v2_137, x86_fp80* %st6.global-to-local, align 4
  %v4_139 = fsub x86_fp80 %v6_120, %v4_135
  store x86_fp80 %v4_139, x86_fp80* %st7.global-to-local, align 4
  %v7_139 = add i3 %v0_156, add (i3 add (i3 sub (i3 0, i3 ptrtoint (i8* @global_var_1.1 to i3)), i3 add (i3 sub (i3 0, i3 ptrtoint (i8* @global_var_1.1 to i3)), i3 add (i3 sub (i3 0, i3 ptrtoint (i8* @global_var_1.1 to i3)), i3 add (i3 sub (i3 0, i3 ptrtoint (i8* @global_var_1.1 to i3)), i3 2)))), i3 1)
  %v4_13b = load double, double* %v3_d1, align 4
  %v5_13b = fpext double %v4_13b to x86_fp80
  %v6_13b = fmul x86_fp80 %v4_139, %v5_13b
  %v6_13d = add i3 %v0_156, add (i3 add (i3 sub (i3 0, i3 ptrtoint (i8* @global_var_1.1 to i3)), i3 add (i3 sub (i3 0, i3 ptrtoint (i8* @global_var_1.1 to i3)), i3 add (i3 sub (i3 0, i3 ptrtoint (i8* @global_var_1.1 to i3)), i3 add (i3 sub (i3 0, i3 ptrtoint (i8* @global_var_1.1 to i3)), i3 2)))), i3 2)
  %v7_143 = fsub x86_fp80 %v4_11e, %v6_13b
  store x86_fp80 %v7_143, x86_fp80* %st7.global-to-local, align 4
  %v7_149 = fadd x86_fp80 %v6_13b, %v5_120
  store x86_fp80 %v7_149, x86_fp80* %st6.global-to-local, align 4
  %tmp276 = bitcast double %v4_120 to i64
  %tmp277 = trunc i64 %tmp276 to i32
  %v3_14d = fptrunc x86_fp80 %v7_149 to double
  %v4_14d = inttoptr i32 %tmp277 to double*
  store double %v3_14d, double* %v4_14d, align 4
  store i3 %v7_139, i3* %fpu_stat_TOP.global-to-local, align 1
  %v1_14f = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v2_14f = load i32, i32* @edx, align 8
  %v3_14f = fptrunc x86_fp80 %v1_14f to double
  %v4_14f = inttoptr i32 %v2_14f to double*
  store double %v3_14f, double* %v4_14f, align 4
  br label %dec_label_pc_1d1

dec_label_pc_156:                                 ; preds = %dec_label_pc_99
  %v5_156 = add i3 %v0_156, -1
  %v4_158 = load double, double* bitcast (i32* @edx to double*), align 8
  %v5_158 = fpext double %v4_158 to x86_fp80
  %v6_158 = fsub x86_fp80 %v4_156, %v5_158
  %v3_15c = fmul x86_fp80 %v6_158, %v6_158
  %v7_15e = fadd x86_fp80 %v3_15c, %v2_21
  %v2_161 = call x86_fp80 @llvm.sqrt.f80(x86_fp80 %v7_15e)
  %v2_163 = fsub x86_fp80 0xK80000000000000000000, %v2_161
  store x86_fp80 %v2_163, x86_fp80* %st6.global-to-local, align 4
  %v4_165 = fsub x86_fp80 %v6_158, %v2_161
  store x86_fp80 %v4_165, x86_fp80* %st7.global-to-local, align 4
  %v2_167 = load i32, i32* %edi.global-to-local, align 4
  %v3_167 = inttoptr i32 %v2_167 to double*
  %v4_167 = load double, double* %v3_167, align 4
  %v5_167 = fpext double %v4_167 to x86_fp80
  %v6_167 = fmul x86_fp80 %v4_165, %v5_167
  %v7_16f = fsub x86_fp80 %v4_156, %v6_167
  store x86_fp80 %v7_16f, x86_fp80* %st7.global-to-local, align 4
  %v7_175 = fadd x86_fp80 %v6_167, %v5_158
  %tmp278 = bitcast double %v4_158 to i64
  %tmp279 = trunc i64 %tmp278 to i32
  %v3_179 = fptrunc x86_fp80 %v7_175 to double
  %v4_179 = inttoptr i32 %tmp279 to double*
  store double %v3_179, double* %v4_179, align 4
  %v1_17b = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v2_17b = load i32, i32* %ebx.global-to-local, align 4
  %v3_17b = fptrunc x86_fp80 %v1_17b to double
  %v4_17b = inttoptr i32 %v2_17b to double*
  store double %v3_17b, double* %v4_17b, align 4
  %v3_17f = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_17f = fpext double %v3_17f to x86_fp80
  %v4_181 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v5_181 = fpext double %v4_181 to x86_fp80
  %v6_181 = fsub x86_fp80 %v4_17f, %v5_181
  %v3_185 = fmul x86_fp80 %v6_181, %v6_181
  %v7_187 = fadd x86_fp80 %v3_185, %v2_21
  %v2_18a = call x86_fp80 @llvm.sqrt.f80(x86_fp80 %v7_187)
  %v2_18c = fsub x86_fp80 0xK80000000000000000000, %v2_18a
  store x86_fp80 %v2_18c, x86_fp80* %st6.global-to-local, align 4
  %v4_18e = fsub x86_fp80 %v6_181, %v2_18a
  store x86_fp80 %v4_18e, x86_fp80* %st7.global-to-local, align 4
  %v4_190 = load double, double* %v3_167, align 4
  %v5_190 = fpext double %v4_190 to x86_fp80
  %v6_190 = fmul x86_fp80 %v4_18e, %v5_190
  %v7_198 = fsub x86_fp80 %v4_17f, %v6_190
  store x86_fp80 %v7_198, x86_fp80* %st7.global-to-local, align 4
  %v7_19e = fadd x86_fp80 %v6_190, %v5_181
  %tmp280 = bitcast double %v4_181 to i64
  %tmp281 = trunc i64 %tmp280 to i32
  %v3_1a2 = fptrunc x86_fp80 %v7_19e to double
  %v4_1a2 = inttoptr i32 %tmp281 to double*
  store double %v3_1a2, double* %v4_1a2, align 4
  %v1_1a4 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v3_1a4 = fptrunc x86_fp80 %v1_1a4 to double
  store double %v3_1a4, double* %v4_17b, align 4
  %v3_1a8 = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_1a8 = fpext double %v3_1a8 to x86_fp80
  %v4_1aa = load double, double* bitcast (i32* @ecx to double*), align 8
  %v5_1aa = fpext double %v4_1aa to x86_fp80
  %v6_1aa = fsub x86_fp80 %v4_1a8, %v5_1aa
  %v3_1ae = fmul x86_fp80 %v6_1aa, %v6_1aa
  %v7_1b0 = fadd x86_fp80 %v3_1ae, %v2_21
  %v2_1b3 = call x86_fp80 @llvm.sqrt.f80(x86_fp80 %v7_1b0)
  %v2_1b5 = fsub x86_fp80 0xK80000000000000000000, %v2_1b3
  store x86_fp80 %v2_1b5, x86_fp80* %st6.global-to-local, align 4
  %v4_1b7 = fsub x86_fp80 %v6_1aa, %v2_1b3
  store x86_fp80 %v4_1b7, x86_fp80* %st7.global-to-local, align 4
  %v4_1b9 = load double, double* %v3_167, align 4
  %v5_1b9 = fpext double %v4_1b9 to x86_fp80
  %v6_1b9 = fmul x86_fp80 %v4_1b7, %v5_1b9
  %v7_1c1 = fsub x86_fp80 %v4_1a8, %v6_1b9
  store x86_fp80 %v7_1c1, x86_fp80* %st7.global-to-local, align 4
  %v7_1c7 = fadd x86_fp80 %v6_1b9, %v5_1aa
  store x86_fp80 %v7_1c7, x86_fp80* %st6.global-to-local, align 4
  %tmp282 = bitcast double %v4_1aa to i64
  %tmp283 = trunc i64 %tmp282 to i32
  %v3_1cb = fptrunc x86_fp80 %v7_1c7 to double
  %v4_1cb = inttoptr i32 %tmp283 to double*
  store double %v3_1cb, double* %v4_1cb, align 4
  store i3 %v5_156, i3* %fpu_stat_TOP.global-to-local, align 1
  %v1_1cd = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v2_1cd = load i32, i32* @edx, align 8
  %v3_1cd = fptrunc x86_fp80 %v1_1cd to double
  %v4_1cd = inttoptr i32 %v2_1cd to double*
  store double %v3_1cd, double* %v4_1cd, align 4
  %v5_1cd = add i3 %v0_156, add (i3 ptrtoint (i8* @global_var_1.1 to i3), i3 -1)
  br label %dec_label_pc_1d1

dec_label_pc_1d1:                                 ; preds = %dec_label_pc_156, %dec_label_pc_b4
  %v2_20b = phi i32 [ %v2_167, %dec_label_pc_156 ], [ %v2_d1, %dec_label_pc_b4 ]
  %storemerge1 = phi i3 [ %v5_1cd, %dec_label_pc_156 ], [ %v6_13d, %dec_label_pc_b4 ]
  %v3_1d1 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_1d1 = fpext double %v3_1d1 to x86_fp80
  store x86_fp80 %v4_1d1, x86_fp80* %st7.global-to-local, align 4
  %v3_1d3 = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_1d3 = fpext double %v3_1d3 to x86_fp80
  store x86_fp80 %v4_1d3, x86_fp80* %st6.global-to-local, align 4
  %v3_1d5 = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_1d5 = fpext double %v3_1d5 to x86_fp80
  store x86_fp80 %v4_1d5, x86_fp80* %st5.global-to-local, align 4
  store x86_fp80 %v4_1d3, x86_fp80* %st4.global-to-local, align 4
  %v3_1d9 = add i32 %v2_20b, -68
  %v4_1d9 = inttoptr i32 %v3_1d9 to float*
  %v5_1d9 = load float, float* %v4_1d9, align 4
  %v6_1d9 = fpext float %v5_1d9 to x86_fp80
  %v7_1d9 = fmul x86_fp80 %v4_1d3, %v6_1d9
  store x86_fp80 %v7_1d9, x86_fp80* %st4.global-to-local, align 4
  %v3_1de = add i32 %v2_20b, -72
  %v4_1de = inttoptr i32 %v3_1de to float*
  %v5_1de = load float, float* %v4_1de, align 4
  %v6_1de = fpext float %v5_1de to x86_fp80
  %v7_1de = fmul x86_fp80 %v4_1d5, %v6_1de
  %v4_1e1 = fadd x86_fp80 %v7_1d9, %v7_1de
  store x86_fp80 %v4_1e1, x86_fp80* %st4.global-to-local, align 4
  %v3_1e5 = add i32 %v2_20b, -76
  %v4_1e5 = inttoptr i32 %v3_1e5 to float*
  %v5_1e5 = load float, float* %v4_1e5, align 4
  %v6_1e5 = fpext float %v5_1e5 to x86_fp80
  %v7_1e5 = fmul x86_fp80 %v4_1d1, %v6_1e5
  %v4_1e8 = fadd x86_fp80 %v4_1e1, %v7_1e5
  store x86_fp80 %v4_1e8, x86_fp80* %st4.global-to-local, align 4
  %v3_1ec = add i32 %v2_20b, -44
  %v4_1ec = inttoptr i32 %v3_1ec to float*
  %v5_1ec = load float, float* %v4_1ec, align 4
  %v6_1ec = fpext float %v5_1ec to x86_fp80
  %v7_1ec = fmul x86_fp80 %v4_1d3, %v6_1ec
  %v3_1f1 = add i32 %v2_20b, -48
  %v4_1f1 = inttoptr i32 %v3_1f1 to float*
  %v5_1f1 = load float, float* %v4_1f1, align 4
  %v6_1f1 = fpext float %v5_1f1 to x86_fp80
  %v7_1f1 = fmul x86_fp80 %v4_1d5, %v6_1f1
  %v4_1f4 = fadd x86_fp80 %v7_1ec, %v7_1f1
  %v3_1f8 = add i32 %v2_20b, -52
  %v4_1f8 = inttoptr i32 %v3_1f8 to float*
  %v5_1f8 = load float, float* %v4_1f8, align 4
  %v6_1f8 = fpext float %v5_1f8 to x86_fp80
  %v7_1f8 = fmul x86_fp80 %v4_1d1, %v6_1f8
  %v4_1fb = fadd x86_fp80 %v7_1f8, %v4_1f4
  store x86_fp80 %v4_1fb, x86_fp80* %st6.global-to-local, align 4
  %v3_1ff = add i32 %v2_20b, -56
  %v4_1ff = inttoptr i32 %v3_1ff to float*
  %v5_1ff = load float, float* %v4_1ff, align 4
  %v6_1ff = fpext float %v5_1ff to x86_fp80
  %v7_1ff = fmul x86_fp80 %v4_1d3, %v6_1ff
  store x86_fp80 %v7_1ff, x86_fp80* %st5.global-to-local, align 4
  %v3_204 = add i32 %v2_20b, -60
  %v4_204 = inttoptr i32 %v3_204 to float*
  %v5_204 = load float, float* %v4_204, align 4
  %v6_204 = fpext float %v5_204 to x86_fp80
  %v7_204 = fmul x86_fp80 %v4_1d5, %v6_204
  %v4_207 = fadd x86_fp80 %v7_1ff, %v7_204
  store x86_fp80 %v4_207, x86_fp80* %st5.global-to-local, align 4
  store x86_fp80 %v4_1d1, x86_fp80* %st4.global-to-local, align 4
  store x86_fp80 %v4_1e8, x86_fp80* %st7.global-to-local, align 4
  %v3_20b = add i32 %v2_20b, -64
  %v4_20b = inttoptr i32 %v3_20b to float*
  %v5_20b = load float, float* %v4_20b, align 4
  %v6_20b = fpext float %v5_20b to x86_fp80
  %v7_20b = fmul x86_fp80 %v4_1d1, %v6_20b
  store x86_fp80 %v7_20b, x86_fp80* %st4.global-to-local, align 4
  %v4_20e = fadd x86_fp80 %v4_207, %v7_20b
  store x86_fp80 %v4_20e, x86_fp80* %st5.global-to-local, align 4
  %v2_210 = add i32 %v2_20b, -16
  %v3_210 = inttoptr i32 %v2_210 to double*
  %v4_210 = load double, double* %v3_210, align 4
  %v5_210 = fpext double %v4_210 to x86_fp80
  store x86_fp80 %v5_210, x86_fp80* %st4.global-to-local, align 4
  %tmp284 = bitcast double %v3_1d1 to i64
  %tmp285 = trunc i64 %tmp284 to i32
  %v2_213 = add i32 %tmp285, 8
  %v3_213 = inttoptr i32 %v2_213 to double*
  %v4_213 = load double, double* %v3_213, align 4
  %v5_213 = fpext double %v4_213 to x86_fp80
  %v4_216 = fmul x86_fp80 %v5_210, %v5_213
  %v4_218 = fptrunc x86_fp80 %v4_216 to double
  store double %v4_218, double* %v3_213, align 4
  %v2_21b = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v3_21b = load x86_fp80, x86_fp80* %st4.global-to-local, align 4
  %v4_21b = fmul x86_fp80 %v2_21b, %v3_21b
  store x86_fp80 %v4_21b, x86_fp80* %st6.global-to-local, align 4
  %v2_21d = load x86_fp80, x86_fp80* %st5.global-to-local, align 4
  %v4_21d = fmul x86_fp80 %v3_21b, %v2_21d
  store x86_fp80 %v4_21d, x86_fp80* %st5.global-to-local, align 4
  %v4_223 = fadd x86_fp80 %v3_21b, 0xKBFFF8000000000000000
  %v3_229 = add i32 %v2_20b, -24
  %v4_229 = inttoptr i32 %v3_229 to double*
  %v5_229 = load double, double* %v4_229, align 4
  %v6_229 = fpext double %v5_229 to x86_fp80
  %v7_229 = fmul x86_fp80 %v4_223, %v6_229
  %v4_22c = fsub x86_fp80 %v4_21b, %v7_229
  store x86_fp80 %v4_22c, x86_fp80* %st6.global-to-local, align 4
  %v3_22e = add i32 %v2_20b, -32
  %v4_22e = inttoptr i32 %v3_22e to double*
  %v5_22e = load double, double* %v4_22e, align 4
  %v6_22e = fpext double %v5_22e to x86_fp80
  %v7_22e = fmul x86_fp80 %v4_223, %v6_22e
  %v4_231 = fsub x86_fp80 %v4_21d, %v7_22e
  store x86_fp80 %v4_231, x86_fp80* %st5.global-to-local, align 4
  %v7_231 = add i3 %storemerge1, add (i3 add (i3 sub (i3 0, i3 ptrtoint (i8* @global_var_1.1 to i3)), i3 add (i3 sub (i3 0, i3 ptrtoint (i8* @global_var_1.1 to i3)), i3 add (i3 sub (i3 0, i3 ptrtoint (i8* @global_var_1.1 to i3)), i3 add (i3 sub (i3 0, i3 ptrtoint (i8* @global_var_1.1 to i3)), i3 add (i3 sub (i3 0, i3 ptrtoint (i8* @global_var_1.1 to i3)), i3 add (i3 sub (i3 0, i3 ptrtoint (i8* @global_var_1.1 to i3)), i3 sub (i3 0, i3 ptrtoint (i8* @global_var_1.1 to i3)))))))), i3 2)
  %v4_233 = fdiv x86_fp80 %v4_223, %v3_21b
  %v3_235 = add i32 %v2_20b, -40
  %v4_235 = inttoptr i32 %v3_235 to double*
  %v5_235 = load double, double* %v4_235, align 4
  %v6_235 = fpext double %v5_235 to x86_fp80
  %v7_235 = fmul x86_fp80 %v4_233, %v6_235
  %v2_238 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v4_238 = fsub x86_fp80 %v2_238, %v7_235
  store x86_fp80 %v7_235, x86_fp80* %st7.global-to-local, align 4
  store i3 %v7_231, i3* %fpu_stat_TOP.global-to-local, align 1
  %v0_243 = call i32 @__asm_wait()
  store i32 %v0_243, i32* @eax, align 8
  %v0_244 = load i32, i32* %fpsw.global-to-local, align 4
  %v1_244 = call i16 @__asm_fnstsw(i32 %v0_244)
  %v2_244 = sext i16 %v1_244 to i32
  %v3_244 = load i32, i32* @eax, align 8
  %v4_244 = and i32 %v3_244, -65536
  %v1_246 = udiv i32 %v2_244, 256
  %v2_246 = trunc i32 %v1_246 to i8
  %v3_246 = and i8 %v2_246, 65
  %v4_246 = icmp eq i8 %v3_246, 0
  %v9_246 = zext i8 %v3_246 to i32
  %v11_246 = mul i32 %v9_246, 256
  %v2_244.masked = and i32 %v2_244, -65281
  %v12_246 = or i32 %v4_244, %v2_244.masked
  %v13_246 = or i32 %v12_246, %v11_246
  store i32 %v13_246, i32* @eax, align 8
  %v1_249 = icmp eq i1 %v4_246, false
  br i1 %v1_249, label %dec_label_pc_268, label %dec_label_pc_24f

dec_label_pc_24f:                                 ; preds = %dec_label_pc_1d1
  %v2_24f = call x86_fp80 @llvm.fabs.f80(x86_fp80 %v4_238)
  %v3_253 = fmul x86_fp80 %v4_238, %v4_238
  %v4_258 = fmul x86_fp80 %v3_253, %v2_24f
  %v7_25d = fadd x86_fp80 %v3_253, %v2_19
  %v4_260 = fdiv x86_fp80 %v4_258, %v7_25d
  br label %dec_label_pc_26f

dec_label_pc_268:                                 ; preds = %dec_label_pc_1d1
  %v3_268 = fmul x86_fp80 %v4_238, %v4_238
  %v7_26a = fadd x86_fp80 %v3_268, %v2_19
  %v2_26d = call x86_fp80 @llvm.sqrt.f80(x86_fp80 %v7_26a)
  br label %dec_label_pc_26f

dec_label_pc_26f:                                 ; preds = %dec_label_pc_268, %dec_label_pc_24f
  %v2_26f = phi x86_fp80 [ %v2_26d, %dec_label_pc_268 ], [ %v4_260, %dec_label_pc_24f ]
  %v0_26f = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  %v3_26f = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v4_26f = fsub x86_fp80 %v3_26f, %v2_26f
  %v2_271 = load x86_fp80, x86_fp80* %st4.global-to-local, align 4
  %v4_271 = fmul x86_fp80 %v4_26f, %v2_271
  store x86_fp80 %v4_271, x86_fp80* %st7.global-to-local, align 4
  %v1_273 = load x86_fp80, x86_fp80* %st5.global-to-local, align 4
  %v2_273 = load i32, i32* @edx, align 8
  %v3_273 = fptrunc x86_fp80 %v1_273 to double
  %v4_273 = inttoptr i32 %v2_273 to double*
  store double %v3_273, double* %v4_273, align 4
  %v1_275 = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v2_275 = load i32, i32* %ebx.global-to-local, align 4
  %v3_275 = fptrunc x86_fp80 %v1_275 to double
  %v4_275 = inttoptr i32 %v2_275 to double*
  store double %v3_275, double* %v4_275, align 4
  %v1_277 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v2_277 = load i32, i32* @ecx, align 8
  %v3_277 = fptrunc x86_fp80 %v1_277 to double
  %v4_277 = inttoptr i32 %v2_277 to double*
  store double %v3_277, double* %v4_277, align 4
  %v5_277 = add i3 %v0_26f, -3
  store i3 %v5_277, i3* %fpu_stat_TOP.global-to-local, align 1
  store i32 %v2_275, i32* @eax, align 8
  store i32 %v0_b, i32* %edi.global-to-local, align 4
  store i32 %v0_a, i32* %esi.global-to-local, align 4
  store i32 %v0_9, i32* %ebx.global-to-local, align 4
  ret i32 %v2_275
}

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

declare i32 @__asm_wait() local_unnamed_addr

declare i16 @__asm_fnstsw(i32) local_unnamed_addr

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

; Function Attrs: nounwind readnone speculatable
declare double @llvm.fabs.f64(double) #0

attributes #0 = { nounwind readnone speculatable }
