source_filename = "test"
target datalayout = "e-p:32:32-f64:32:64-f80:32-n8:16:32-S128"

@edi = internal unnamed_addr global i32 0, align 8
@global_var_4.2 = constant i8 4
@global_var_8.3 = constant double* inttoptr (i32 -1059460903 to double*)

define i32 @function_0() local_unnamed_addr {
dec_label_pc_0:
  %eax.global-to-local = alloca i32, align 4
  %ebp.global-to-local = alloca i32, align 4
  %ebx.global-to-local = alloca i32, align 4
  %ecx.global-to-local = alloca i32, align 4
  %edx.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
  %tmp324 = call i32 @__decompiler_undefined_function_1()
  %tmp344 = call double @__decompiler_undefined_function_2()
  %stack_var_-268 = alloca double, align 8
  %v0_0 = load i32, i32* %ebp.global-to-local, align 4
  %v0_1 = load i32, i32* %ebx.global-to-local, align 4
  %v0_8 = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  store x86_fp80 0xK3FFF8000000000000000, x86_fp80* %st7.global-to-local, align 4
  store x86_fp80 0xK3FFF8000000000000000, x86_fp80* %st6.global-to-local, align 4
  %v1_10 = load i32, i32* %esi.global-to-local, align 4
  %v2_10 = add i32 %v1_10, -120
  %v3_10 = inttoptr i32 %v2_10 to double*
  %v4_10 = load double, double* %v3_10, align 4
  %v5_10 = fpext double %v4_10 to x86_fp80
  store x86_fp80 %v5_10, x86_fp80* %st6.global-to-local, align 4
  store double %v4_10, double* %stack_var_-268, align 8
  %v2_18 = add i32 %v1_10, -112
  %v3_18 = inttoptr i32 %v2_18 to double*
  %v4_18 = load double, double* %v3_18, align 4
  %v5_18 = fpext double %v4_18 to x86_fp80
  %v2_1d = add i32 %v1_10, -104
  %v3_1d = inttoptr i32 %v2_1d to double*
  %v4_1d = load double, double* %v3_1d, align 4
  %v5_1d = fpext double %v4_1d to x86_fp80
  %v6_1d = add i3 %v0_8, 3
  %v4_26 = fadd x86_fp80 %v5_10, 0xK3FFF8000000000000000
  %v4_28 = fptrunc x86_fp80 %v4_26 to double
  %v4_2e = fadd x86_fp80 %v5_18, 0xK3FFF8000000000000000
  %v4_30 = fptrunc x86_fp80 %v4_2e to double
  %v4_36 = fadd x86_fp80 %v5_1d, 0xK3FFF8000000000000000
  %v4_38 = fptrunc x86_fp80 %v4_36 to double
  %v4_3e = fadd x86_fp80 %v5_10, 0xKBFFF8000000000000000
  %v4_40 = fptrunc x86_fp80 %v4_3e to double
  store x86_fp80 %v5_1d, x86_fp80* %st7.global-to-local, align 4
  %v4_4e = fadd x86_fp80 %v5_1d, 0xKBFFF8000000000000000
  %v4_52 = fptrunc x86_fp80 %v4_4e to double
  %v3_56 = load double, double* bitcast (i32* @edi to double*), align 8
  store i3 %v6_1d, i3* %fpu_stat_TOP.global-to-local, align 1
  %tmp382 = bitcast double %v3_56 to i64
  %tmp383 = trunc i64 %tmp382 to i32
  %v1_5f = add i32 %tmp383, -60
  %v2_5f = inttoptr i32 %v1_5f to i32*
  %v3_5f = load i32, i32* %v2_5f, align 4
  store i32 %v3_5f, i32* %eax.global-to-local, align 4
  store i32 %v3_5f, i32* %ebp.global-to-local, align 4
  %v1_70 = add i32 %tmp383, -64
  %v2_70 = inttoptr i32 %v1_70 to i32*
  %v3_70 = load i32, i32* %v2_70, align 4
  store i32 %v3_70, i32* %eax.global-to-local, align 4
  store i32 %v3_70, i32* %ebx.global-to-local, align 4
  %v1_81 = add i32 %tmp383, -68
  %v2_81 = inttoptr i32 %v1_81 to i32*
  %v3_81 = load i32, i32* %v2_81, align 4
  %v1_93 = trunc i32 %v3_81 to i8
  %v2_93 = and i8 %v1_93, ptrtoint (i8* @global_var_4.2 to i8)
  %v3_93 = icmp eq i8 %v2_93, 0
  %v8_93 = zext i8 %v2_93 to i32
  store i32 %v8_93, i32* %eax.global-to-local, align 4
  %v3_9c = load i32, i32* %v2_81, align 4
  %v1_ae = trunc i32 %v3_9c to i8
  %v2_ae = urem i8 %v1_ae, 2
  %v3_ae = icmp eq i8 %v2_ae, 0
  %v8_ae = zext i8 %v2_ae to i32
  store i32 %v8_ae, i32* %eax.global-to-local, align 4
  %v3_b7 = load i32, i32* %v2_81, align 4
  %v2_c9 = and i32 %v3_b7, 2
  store i32 %v2_c9, i32* %eax.global-to-local, align 4
  %v3_d2 = load i32, i32* %v2_81, align 4
  %v1_e4 = trunc i32 %v3_d2 to i8
  %v2_e4 = and i8 %v1_e4, ptrtoint (double** @global_var_8.3 to i8)
  %v3_e4 = icmp eq i8 %v2_e4, 0
  %v8_e4 = zext i8 %v2_e4 to i32
  store i32 %v8_e4, i32* %eax.global-to-local, align 4
  %v3_ed = load i32, i32* %v2_81, align 4
  %v1_ff = trunc i32 %v3_ed to i8
  %v2_ff = and i8 %v1_ff, 16
  %v3_ff = icmp eq i8 %v2_ff, 0
  %v8_ff = zext i8 %v2_ff to i32
  store i32 %v8_ff, i32* %eax.global-to-local, align 4
  %v3_108 = load i32, i32* %v2_81, align 4
  %v1_11a = trunc i32 %v3_108 to i8
  %v2_11a = and i8 %v1_11a, 32
  %v3_11a = icmp eq i8 %v2_11a, 0
  %v8_11a = zext i8 %v2_11a to i32
  store i32 %v8_11a, i32* %eax.global-to-local, align 4
  %v3_123 = load i32, i32* %v2_81, align 4
  %v1_135 = trunc i32 %v3_123 to i8
  %v2_135 = and i8 %v1_135, 64
  %v3_135 = icmp eq i8 %v2_135, 0
  %v8_135 = zext i8 %v2_135 to i32
  store i32 %v8_135, i32* %eax.global-to-local, align 4
  %v3_13e = load i32, i32* %v2_81, align 4
  store i32 %v3_13e, i32* %eax.global-to-local, align 4
  %v6_148 = urem i32 %v3_13e, 256
  store i32 %v6_148, i32* %ecx.global-to-local, align 4
  %v3_150 = load i32, i32* %v2_81, align 4
  %v2_161 = ashr i32 %v3_150, ptrtoint (double** @global_var_8.3 to i32)
  %v5_161 = trunc i32 %v2_161 to i8
  %v2_164 = urem i8 %v5_161, 2
  %v3_164 = icmp eq i8 %v2_164, 0
  %v8_164 = zext i8 %v2_164 to i32
  %v10_164 = and i32 %v2_161, -256
  %v11_164 = or i32 %v10_164, %v8_164
  store i32 %v11_164, i32* %eax.global-to-local, align 4
  %v0_16d = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  %v2_16d = add i32 %tmp383, -100
  %v3_16d = inttoptr i32 %v2_16d to double*
  %v4_16d = load double, double* %v3_16d, align 4
  %tmp384 = call double @llvm.fabs.f64(double %v4_16d)
  %v2_172 = add i32 %tmp383, 24
  %v3_172 = inttoptr i32 %v2_172 to double*
  %v4_172 = load double, double* %v3_172, align 4
  %v6_172 = add i3 %v0_16d, -2
  store i3 %v6_172, i3* %fpu_stat_TOP.global-to-local, align 1
  %v4_175 = fcmp olt double %tmp384, %v4_172
  br i1 %v4_175, label %bb388, label %bb385

bb385:                                            ; preds = %dec_label_pc_0
  %v5_175 = fcmp ogt double %tmp384, %v4_172
  br i1 %v5_175, label %bb388, label %bb387

bb387:                                            ; preds = %bb385
  %v6_175 = fcmp une double %tmp384, %v4_172
  br label %bb388

bb388:                                            ; preds = %bb385, %dec_label_pc_0, %bb387
  %v0_179 = phi i1 [ %v6_175, %bb387 ], [ false, %dec_label_pc_0 ], [ true, %bb385 ]
  %v1_179 = phi i1 [ true, %bb387 ], [ false, %dec_label_pc_0 ], [ false, %bb385 ]
  %v2_179 = or i1 %v1_179, %v0_179
  %v3_179 = icmp ne i1 %v2_179, true
  %v4_179 = zext i1 %v3_179 to i32
  %v5_179 = load i32, i32* %edx.global-to-local, align 4
  %v6_179 = and i32 %v5_179, -256
  %v7_179 = or i32 %v6_179, %v4_179
  store i32 %v7_179, i32* %edx.global-to-local, align 4
  %v1_17c = load i32, i32* @edi, align 8
  %v2_17c = add i32 %v1_17c, -32
  %v3_17c = inttoptr i32 %v2_17c to double*
  %v4_17c = load double, double* %v3_17c, align 4
  %v5_17c = fpext double %v4_17c to x86_fp80
  %v2_185 = add i32 %v1_17c, -40
  %v3_185 = inttoptr i32 %v2_185 to double*
  %v4_185 = load double, double* %v3_185, align 4
  %v5_185 = fpext double %v4_185 to x86_fp80
  %v2_18e = add i32 %v1_17c, 40
  %v3_18e = inttoptr i32 %v2_18e to double*
  %v4_18e = load double, double* %v3_18e, align 4
  %v5_18e = fpext double %v4_18e to x86_fp80
  %v4_191 = fmul x86_fp80 %v5_17c, %v5_18e
  %v5_19c = fpext double %v4_18e to x86_fp80
  %v4_19f = fmul x86_fp80 %v5_185, %v5_19c
  %v0_1a8 = load i32, i32* %ebp.global-to-local, align 4
  %v1_1a8 = add i32 %v0_1a8, -100
  %tmp389 = sub i32 99, %v0_1a8
  %v8_1a8 = and i32 %tmp389, %v0_1a8
  %v9_1a8 = icmp slt i32 %v8_1a8, 0
  %v10_1a8 = icmp eq i32 %v1_1a8, 0
  %v11_1a8 = icmp slt i32 %v1_1a8, 0
  %v3_1b0 = icmp eq i1 %v11_1a8, %v9_1a8
  %v4_1b0 = icmp eq i1 %v10_1a8, false
  %v5_1b0 = icmp eq i1 %v3_1b0, %v4_1b0
  %v8_1b0 = select i1 %v5_1b0, i32 100, i32 %v0_1a8
  store i32 %v8_1b0, i32* %ebp.global-to-local, align 4
  %v0_1b3 = load i32, i32* %ebx.global-to-local, align 4
  %v1_1b3 = add i32 %v0_1b3, -20
  %tmp390 = sub i32 19, %v0_1b3
  %v8_1b3 = and i32 %tmp390, %v0_1b3
  %v9_1b3 = icmp slt i32 %v8_1b3, 0
  %v10_1b3 = icmp eq i32 %v1_1b3, 0
  %v11_1b3 = icmp slt i32 %v1_1b3, 0
  %v3_1bb = icmp ne i1 %v11_1b3, %v9_1b3
  %v4_1bb = or i1 %v10_1b3, %v3_1bb
  %v7_1bb = select i1 %v4_1bb, i32 %v0_1b3, i32 20
  store i32 %v7_1bb, i32* %eax.global-to-local, align 4
  %v2_1c5 = add i32 %v1_17c, -16
  %v3_1c5 = inttoptr i32 %v2_1c5 to double*
  %v4_1c5 = load double, double* %v3_1c5, align 4
  %v5_1c5 = fpext double %v4_1c5 to x86_fp80
  %v2_1cc = add i32 %v1_17c, -24
  %v3_1cc = inttoptr i32 %v2_1cc to double*
  %v4_1cc = load double, double* %v3_1cc, align 4
  %v5_1cc = fpext double %v4_1cc to x86_fp80
  %v2_1d5 = add i32 %v1_17c, -108
  %v3_1d5 = inttoptr i32 %v2_1d5 to double*
  %v4_1d5 = load double, double* %v3_1d5, align 4
  %v5_1d5 = fpext double %v4_1d5 to x86_fp80
  store i3 %v6_172, i3* %fpu_stat_TOP.global-to-local, align 1
  %v0_1de = call i32 @__asm_wait()
  %v6_1e6 = urem i32 %v3_150, 65536
  store i32 %v6_1e6, i32* %eax.global-to-local, align 4
  %v3_212 = fmul x86_fp80 %v5_1cc, %v5_1cc
  %v3_216 = fmul x86_fp80 %v5_1d5, %v5_1d5
  %v0_218 = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  %v4_218 = fadd x86_fp80 %v3_212, %v3_216
  %v7_218 = add i3 %v0_218, 1
  %v2_21a = call x86_fp80 @llvm.sqrt.f80(x86_fp80 %v4_218)
  %v1_225 = load i32, i32* @edi, align 8
  %v2_225 = add i32 %v1_225, 72
  %v3_225 = inttoptr i32 %v2_225 to double*
  %v4_225 = load double, double* %v3_225, align 4
  %v5_225 = fpext double %v4_225 to x86_fp80
  %v4_22a = fcmp ogt x86_fp80 %v2_21a, %v5_225
  br i1 %v4_22a, label %dec_label_pc_230, label %dec_label_pc_23d

dec_label_pc_230:                                 ; preds = %bb388
  store x86_fp80 0xK3FFF8000000000000000, x86_fp80* %st7.global-to-local, align 4
  store i3 %v7_218, i3* %fpu_stat_TOP.global-to-local, align 1
  br label %dec_label_pc_23f

dec_label_pc_23d:                                 ; preds = %bb388
  store i3 %v7_218, i3* %fpu_stat_TOP.global-to-local, align 1
  %v1_2a6.pre = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  br label %dec_label_pc_23f

dec_label_pc_23f:                                 ; preds = %dec_label_pc_23d, %dec_label_pc_230
  %v1_2a6 = phi x86_fp80 [ %v1_2a6.pre, %dec_label_pc_23d ], [ 0xK3FFF8000000000000000, %dec_label_pc_230 ]
  %stack_var_-132.0 = phi x86_fp80 [ %v2_21a, %dec_label_pc_23d ], [ 0xK3FFF8000000000000000, %dec_label_pc_230 ]
  %v4_2a8 = xor i3 %v0_218, -4
  store i3 %v4_2a8, i3* %fpu_stat_TOP.global-to-local, align 1
  store x86_fp80 %v1_2a6, x86_fp80* %st7.global-to-local, align 4
  br i1 %v3_93, label %dec_label_pc_2ac, label %dec_label_pc_249

dec_label_pc_249:                                 ; preds = %dec_label_pc_23f
  store x86_fp80 %v1_2a6, x86_fp80* %st7.global-to-local, align 4
  %v2_251 = add i32 %v1_225, -76
  %v3_251 = inttoptr i32 %v2_251 to double*
  %v4_251 = load double, double* %v3_251, align 4
  %v5_251 = fpext double %v4_251 to x86_fp80
  %v6_251 = add i3 %v0_218, 3
  store x86_fp80 %v5_251, x86_fp80* %st6.global-to-local, align 4
  %v4_254 = fsub x86_fp80 %v1_2a6, %v5_251
  store x86_fp80 %v4_254, x86_fp80* %st7.global-to-local, align 4
  %v2_256 = add i32 %v1_225, -84
  %v3_256 = inttoptr i32 %v2_256 to double*
  %v4_256 = load double, double* %v3_256, align 4
  %v5_256 = fpext double %v4_256 to x86_fp80
  store x86_fp80 %v5_256, x86_fp80* %st6.global-to-local, align 4
  %v4_259 = fsub x86_fp80 %v4_254, %v5_256
  store x86_fp80 %v4_259, x86_fp80* %st7.global-to-local, align 4
  %v2_25b = add i32 %v1_225, -92
  %v3_25b = inttoptr i32 %v2_25b to double*
  %v4_25b = load double, double* %v3_25b, align 4
  %v5_25b = fpext double %v4_25b to x86_fp80
  store x86_fp80 %v5_25b, x86_fp80* %st6.global-to-local, align 4
  %v4_25e = fsub x86_fp80 %v4_259, %v5_25b
  store x86_fp80 %v4_25e, x86_fp80* %st7.global-to-local, align 4
  store i3 %v4_2a8, i3* %fpu_stat_TOP.global-to-local, align 1
  %v0_260 = load i32, i32* %edx.global-to-local, align 4
  %v4_260 = trunc i32 %v0_260 to i8
  %v5_260 = icmp eq i8 %v4_260, 0
  br i1 %v5_260, label %dec_label_pc_268, label %dec_label_pc_264

dec_label_pc_264:                                 ; preds = %dec_label_pc_249
  store x86_fp80 0xK3FFF8000000000000000, x86_fp80* %st6.global-to-local, align 4
  store i3 %v6_251, i3* %fpu_stat_TOP.global-to-local, align 1
  br label %dec_label_pc_26b

dec_label_pc_268:                                 ; preds = %dec_label_pc_249
  %v2_268 = add i32 %v1_225, -100
  %v3_268 = inttoptr i32 %v2_268 to double*
  %v4_268 = load double, double* %v3_268, align 4
  %v5_268 = fpext double %v4_268 to x86_fp80
  store i3 %v6_251, i3* %fpu_stat_TOP.global-to-local, align 1
  store x86_fp80 %v5_268, x86_fp80* %st6.global-to-local, align 4
  br label %dec_label_pc_26b

dec_label_pc_26b:                                 ; preds = %dec_label_pc_268, %dec_label_pc_264
  %v4_26f = fmul x86_fp80 %v4_25e, %v4_25e
  store x86_fp80 %v4_26f, x86_fp80* %st6.global-to-local, align 4
  %v4_275 = fadd x86_fp80 %v4_25e, %v4_25e
  %v4_279 = fmul x86_fp80 %v4_275, %v4_275
  %v4_27b = fadd x86_fp80 %v4_279, %v4_279
  %v4_27f = fptrunc x86_fp80 %v4_27b to double
  %v4_286 = fdiv x86_fp80 %v4_27b, %v4_27b
  %v4_288 = fmul x86_fp80 %v4_286, %v4_286
  store x86_fp80 %v4_288, x86_fp80* %st7.global-to-local, align 4
  %v4_28a = load double, double* %v3_251, align 4
  %v5_28a = fpext double %v4_28a to x86_fp80
  store x86_fp80 %v5_28a, x86_fp80* %st6.global-to-local, align 4
  %v4_28d = fadd x86_fp80 %v4_288, %v5_28a
  store x86_fp80 %v4_28d, x86_fp80* %st7.global-to-local, align 4
  %tmp394 = fptrunc x86_fp80 %v4_28d to double
  store double %tmp394, double* %stack_var_-268, align 8
  %v4_294 = load double, double* %v3_256, align 4
  %v5_294 = fpext double %v4_294 to x86_fp80
  %v4_299 = fmul x86_fp80 %v5_294, %v5_294
  %v4_29b = fadd x86_fp80 %v4_299, %v4_299
  %v4_29d = fmul x86_fp80 %v4_29b, %v4_29b
  store x86_fp80 %v4_29d, x86_fp80* %st7.global-to-local, align 4
  %v4_29f = load double, double* %v3_25b, align 4
  %v5_29f = fpext double %v4_29f to x86_fp80
  store i3 %v4_2a8, i3* %fpu_stat_TOP.global-to-local, align 1
  %v4_2a2 = fadd x86_fp80 %v5_29f, %v5_29f
  store x86_fp80 %v4_2a2, x86_fp80* %st7.global-to-local, align 4
  br label %dec_label_pc_2ac

dec_label_pc_2ac:                                 ; preds = %dec_label_pc_23f, %dec_label_pc_26b
  %stack_var_-68.0 = phi double [ %v4_27f, %dec_label_pc_26b ], [ %tmp344, %dec_label_pc_23f ]
  %v0_2b9 = add i3 %v0_218, -3
  store i3 %v0_2b9, i3* %fpu_stat_TOP.global-to-local, align 1
  %tmp395 = icmp slt i32 %v8_1b0, 1
  store i32 0, i32* %ebx.global-to-local, align 4
  br i1 %tmp395, label %dec_label_pc_5cd, label %dec_label_pc_2b4

dec_label_pc_2b4:                                 ; preds = %dec_label_pc_2ac
  %v4_2bf = fsub double -0.000000e+00, %v4_1c5
  %v2_2ca = fsub x86_fp80 0xK80000000000000000000, %v5_1cc
  store x86_fp80 %v2_2ca, x86_fp80* %st7.global-to-local, align 4
  store i3 %v0_2b9, i3* %fpu_stat_TOP.global-to-local, align 1
  %v0_2d3 = load i32, i32* %ecx.global-to-local, align 4
  %v1_2d3 = trunc i32 %v0_2d3 to i8
  %tmp419 = fptrunc x86_fp80 %v4_191 to float
  %v5_363 = bitcast float %tmp419 to i32
  %v4_381 = fdiv x86_fp80 %v4_19f, %v4_19f
  %tmp420 = fptrunc x86_fp80 %v4_19f to float
  %v5_398 = bitcast float %tmp420 to i32
  %tmp421 = fptrunc x86_fp80 %v4_19f to double
  %v4_3a5 = fmul x86_fp80 %v4_19f, %v4_19f
  %v7_3a7 = fadd x86_fp80 %v4_3a5, %v5_185
  %v4_3ab = fsub x86_fp80 %v7_3a7, %v7_3a7
  %v4_3bb = fdiv x86_fp80 %v5_1c5, %v5_1c5
  %v6_3d9 = fpext double %v4_2bf to x86_fp80
  %v7_3d9 = fmul x86_fp80 %v4_3bb, %v6_3d9
  %v4_3e0 = fadd x86_fp80 %v7_3d9, %v7_3d9
  %v4_41a = fmul x86_fp80 %v5_1d5, %v5_1d5
  %v4_41e = fadd x86_fp80 %v4_41a, %v4_41a
  %v4_420 = fmul x86_fp80 %v4_41e, %v4_41e
  %v4_422 = fsub x86_fp80 %v4_420, %v4_420
  %v7_424 = fmul x86_fp80 %v4_422, %stack_var_-132.0
  %v1_484 = icmp eq i1 %v3_ff, false
  %v11_4be = icmp slt i8 %v1_2d3, 0
  %v1_4c6 = icmp eq i1 %v11_4be, false
  %v1_3ec = urem i32 %v5_363, 2
  %v7_510 = fsub x86_fp80 0xKBFFF8000000000000000, %v5_1cc
  %tmp401 = fptrunc x86_fp80 %v7_510 to double
  %v7_51a = fadd x86_fp80 %v5_1c5, 0xKBFFF8000000000000000
  %v7_520 = fsub x86_fp80 %v5_1d5, %v7_51a
  br label %dec_label_pc_2ed

dec_label_pc_2dc:                                 ; preds = %dec_label_pc_590
  store x86_fp80 %v9_572.pre-phi, x86_fp80* %st6.global-to-local, align 4
  store i3 %v4_58c, i3* %fpu_stat_TOP.global-to-local, align 1
  br label %dec_label_pc_2ed

dec_label_pc_2ed:                                 ; preds = %dec_label_pc_2dc, %dec_label_pc_2b4
  %v2_33b = phi x86_fp80 [ %v2_2ca, %dec_label_pc_2b4 ], [ %v4_36, %dec_label_pc_2dc ]
  %v1_332 = phi i32 [ %v1_225, %dec_label_pc_2b4 ], [ %v1_466, %dec_label_pc_2dc ]
  %v0_310 = phi i3 [ %v0_2b9, %dec_label_pc_2b4 ], [ %v4_58c, %dec_label_pc_2dc ]
  %stack_var_-244.0 = phi double [ 1.000000e+00, %dec_label_pc_2b4 ], [ %v4_52a, %dec_label_pc_2dc ]
  %stack_var_-212.0 = phi double [ %v4_40, %dec_label_pc_2b4 ], [ %stack_var_-188.0, %dec_label_pc_2dc ]
  %stack_var_-188.0 = phi double [ %v4_28, %dec_label_pc_2b4 ], [ %v3_2e6, %dec_label_pc_2dc ]
  %stack_var_-220.0 = phi double [ %v4_30, %dec_label_pc_2b4 ], [ %v4_38, %dec_label_pc_2dc ]
  %stack_var_-196.0 = phi double [ %v4_52, %dec_label_pc_2b4 ], [ %v4_38, %dec_label_pc_2dc ]
  %.0 = phi i32 [ %tmp324, %dec_label_pc_2b4 ], [ %.1, %dec_label_pc_2dc ]
  br i1 %v3_11a, label %dec_label_pc_310, label %dec_label_pc_2f7

dec_label_pc_2f7:                                 ; preds = %dec_label_pc_2ed
  %v2_2f7 = add i32 %v1_332, 16
  %v3_2f7 = inttoptr i32 %v2_2f7 to double*
  %v4_2f7 = load double, double* %v3_2f7, align 4
  %v5_2f7 = fpext double %v4_2f7 to x86_fp80
  %v4_2fe = fmul x86_fp80 %v5_17c, %v5_2f7
  store x86_fp80 %v5_17c, x86_fp80* %st6.global-to-local, align 4
  %v4_302 = load double, double* %stack_var_-268, align 8
  %v9_302 = fpext double %v4_302 to x86_fp80
  %v10_302 = fadd x86_fp80 %v4_2fe, %v9_302
  %v2_305 = call x86_fp80 @llvm.fabs.f80(x86_fp80 %v10_302)
  %v4_307 = load double, double* %v3_2f7, align 4
  %v5_307 = fpext double %v4_307 to x86_fp80
  %v4_30a = fmul x86_fp80 %v5_17c, %v5_307
  %v4_30c = fadd x86_fp80 %v2_305, %v4_30a
  store x86_fp80 %v4_30c, x86_fp80* %st6.global-to-local, align 4
  %v7_30c = add i3 %v0_310, -1
  store i3 %v7_30c, i3* %fpu_stat_TOP.global-to-local, align 1
  br label %dec_label_pc_317

dec_label_pc_310:                                 ; preds = %dec_label_pc_2ed
  %v3_310 = load double, double* %stack_var_-268, align 8
  %v8_310 = fpext double %v3_310 to x86_fp80
  %v9_310 = add i3 %v0_310, -1
  store i3 %v9_310, i3* %fpu_stat_TOP.global-to-local, align 1
  %v7_313 = fadd x86_fp80 %v5_17c, %v8_310
  store x86_fp80 %v7_313, x86_fp80* %st6.global-to-local, align 4
  br label %dec_label_pc_317

dec_label_pc_317:                                 ; preds = %dec_label_pc_310, %dec_label_pc_2f7
  %v0_321 = phi i3 [ %v9_310, %dec_label_pc_310 ], [ %v7_30c, %dec_label_pc_2f7 ]
  br i1 %v3_135, label %dec_label_pc_33b, label %dec_label_pc_321

dec_label_pc_321:                                 ; preds = %dec_label_pc_317
  %v2_321 = add i32 %v1_332, 16
  %v3_321 = inttoptr i32 %v2_321 to double*
  %v4_321 = load double, double* %v3_321, align 4
  %v5_321 = fpext double %v4_321 to x86_fp80
  %v4_328 = fmul x86_fp80 %v5_185, %v5_321
  store x86_fp80 %v4_328, x86_fp80* %st6.global-to-local, align 4
  %v4_32c = fadd x86_fp80 %v4_328, %v5_185
  %v2_330 = call x86_fp80 @llvm.fabs.f80(x86_fp80 %v4_32c)
  store x86_fp80 %v2_330, x86_fp80* %st7.global-to-local, align 4
  %v4_332 = load double, double* %v3_321, align 4
  %v5_332 = fpext double %v4_332 to x86_fp80
  store x86_fp80 %v5_332, x86_fp80* %st6.global-to-local, align 4
  %v4_335 = fmul x86_fp80 %v2_330, %v5_332
  %v4_337 = fadd x86_fp80 %v4_335, %v4_335
  store x86_fp80 %v4_337, x86_fp80* %st7.global-to-local, align 4
  store i3 %v0_321, i3* %fpu_stat_TOP.global-to-local, align 1
  br label %dec_label_pc_343

dec_label_pc_33b:                                 ; preds = %dec_label_pc_317
  %v7_33d = fadd x86_fp80 %v2_33b, %v5_185
  store x86_fp80 %v7_33d, x86_fp80* %st7.global-to-local, align 4
  br label %dec_label_pc_343

dec_label_pc_343:                                 ; preds = %dec_label_pc_33b, %dec_label_pc_321
  %v6_343.pre-phi = add i3 %v0_321, -1
  store i32 %v5_363, i32* %eax.global-to-local, align 4
  store x86_fp80 %v4_381, x86_fp80* %st6.global-to-local, align 4
  store i32 %v5_398, i32* %ecx.global-to-local, align 4
  store double %tmp421, double* %stack_var_-268, align 8
  store x86_fp80 %v4_3ab, x86_fp80* %st7.global-to-local, align 4
  store i3 %v0_321, i3* %fpu_stat_TOP.global-to-local, align 1
  br i1 %v3_ae, label %dec_label_pc_3e2, label %dec_label_pc_3b7

dec_label_pc_3b7:                                 ; preds = %dec_label_pc_343
  store x86_fp80 %v4_3e0, x86_fp80* %st7.global-to-local, align 4
  store i3 %v0_321, i3* %fpu_stat_TOP.global-to-local, align 1
  br label %dec_label_pc_3e2

dec_label_pc_3e2:                                 ; preds = %dec_label_pc_3b7, %dec_label_pc_343
  %v1_3ef = phi x86_fp80 [ %v4_3e0, %dec_label_pc_3b7 ], [ %v4_3ab, %dec_label_pc_343 ]
  br i1 %v3_e4, label %dec_label_pc_404, label %dec_label_pc_3ec

dec_label_pc_3ec:                                 ; preds = %dec_label_pc_3e2
  store i32 %v1_3ec, i32* %eax.global-to-local, align 4
  store i3 %v6_343.pre-phi, i3* %fpu_stat_TOP.global-to-local, align 1
  %v2_3f1 = fsub x86_fp80 0xK80000000000000000000, %v1_3ef
  store x86_fp80 %v2_3f1, x86_fp80* %st7.global-to-local, align 4
  %v1_3f3 = call x86_fp80 @__asm_fcmove(x86_fp80 %v5_18e)
  %v0_3f7 = load i32, i32* %ecx.global-to-local, align 4
  %v1_3f9 = urem i32 %v0_3f7, 2
  store i32 %v1_3f9, i32* %eax.global-to-local, align 4
  %v2_3fc = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v2_3fe = fsub x86_fp80 0xK80000000000000000000, %v2_3fc
  store x86_fp80 %v2_3fe, x86_fp80* %st7.global-to-local, align 4
  %v1_400 = call x86_fp80 @__asm_fcmove(x86_fp80 %v5_18e)
  %v2_400 = fptosi x86_fp80 %v1_400 to i32
  %v0_402 = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  %v5_402 = add i3 %v0_402, 1
  store i3 %v5_402, i3* %fpu_stat_TOP.global-to-local, align 1
  br label %dec_label_pc_404

dec_label_pc_404:                                 ; preds = %dec_label_pc_3ec, %dec_label_pc_3e2
  %v0_404 = phi i3 [ %v5_402, %dec_label_pc_3ec ], [ %v0_321, %dec_label_pc_3e2 ]
  %.1 = phi i32 [ %v2_400, %dec_label_pc_3ec ], [ %.0, %dec_label_pc_3e2 ]
  %v7_420 = add i3 %v0_404, -2
  store x86_fp80 %v7_424, x86_fp80* %st7.global-to-local, align 4
  store i3 %v7_420, i3* %fpu_stat_TOP.global-to-local, align 1
  store x86_fp80 %v7_424, x86_fp80* %st6.global-to-local, align 4
  %v0_42f = call i32 @__asm_wait()
  store i32 %v0_42f, i32* %eax.global-to-local, align 4
  %v1_430 = call i16 @__asm_fnstsw(i32 %.1)
  %v2_430 = sext i16 %v1_430 to i32
  %v3_430 = load i32, i32* %eax.global-to-local, align 4
  %v4_430 = and i32 %v3_430, -65536
  %v5_430 = or i32 %v4_430, %v2_430
  store i32 %v5_430, i32* %eax.global-to-local, align 4
  %v1_432 = lshr i32 %v5_430, ptrtoint (double** @global_var_8.3 to i32)
  %tmp397 = urem i32 %v1_432, 2
  %v4_432 = icmp eq i32 %tmp397, 0
  %v0_43f = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  %v1_43f = add i3 %v0_43f, -1
  br i1 %v4_432, label %dec_label_pc_435, label %dec_label_pc_43f

dec_label_pc_435:                                 ; preds = %dec_label_pc_404
  %v9_432411 = and i32 %v1_432, 64
  %v10_432 = icmp eq i32 %v9_432411, 0
  br i1 %v10_432, label %dec_label_pc_43b, label %dec_label_pc_437

dec_label_pc_437:                                 ; preds = %dec_label_pc_435
  store x86_fp80 0xK00000000000000000000, x86_fp80* %st7.global-to-local, align 4
  store i3 %v1_43f, i3* %fpu_stat_TOP.global-to-local, align 1
  br label %dec_label_pc_443

dec_label_pc_43b:                                 ; preds = %dec_label_pc_435
  store x86_fp80 0xK3FFF8000000000000000, x86_fp80* %st7.global-to-local, align 4
  store i3 %v1_43f, i3* %fpu_stat_TOP.global-to-local, align 1
  br label %dec_label_pc_443

dec_label_pc_43f:                                 ; preds = %dec_label_pc_404
  store i3 %v1_43f, i3* %fpu_stat_TOP.global-to-local, align 1
  store x86_fp80 0xKBFFF8000000000000000, x86_fp80* %st7.global-to-local, align 4
  br label %dec_label_pc_443

dec_label_pc_443:                                 ; preds = %dec_label_pc_43f, %dec_label_pc_43b, %dec_label_pc_437
  store x86_fp80 0xK3FFF8000000000000000, x86_fp80* %st7.global-to-local, align 4
  %v1_447 = load i32, i32* @edi, align 8
  %v2_447 = add i32 %v1_447, 32
  %v3_447 = inttoptr i32 %v2_447 to double*
  %v4_447 = load double, double* %v3_447, align 4
  %v5_447 = fpext double %v4_447 to x86_fp80
  %v4_44e = fmul x86_fp80 %v5_447, %v5_447
  %v4_454 = fmul x86_fp80 %v4_44e, 0xK3FFFB8AA3B295C17F000
  store x86_fp80 %v4_454, x86_fp80* %st7.global-to-local, align 4
  store x86_fp80 0xK3FFF8000000000000000, x86_fp80* %st6.global-to-local, align 4
  %v3_458 = add i3 %v0_43f, -3
  store i3 %v3_458, i3* %fpu_stat_TOP.global-to-local, align 1
  %v0_45a = call i32 @__asm_fprem()
  store i32 %v0_45a, i32* %eax.global-to-local, align 4
  %v0_45c = call i32 @__asm_f2xm1()
  store i32 %v0_45c, i32* %eax.global-to-local, align 4
  %v0_45e = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  %v3_45e = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v4_45e = fadd x86_fp80 %v4_454, %v3_45e
  store x86_fp80 %v4_45e, x86_fp80* %st6.global-to-local, align 4
  %v7_45e = add i3 %v0_45e, 1
  store i3 %v7_45e, i3* %fpu_stat_TOP.global-to-local, align 1
  %v0_460 = call i32 @__asm_fscale()
  store i32 %v0_460, i32* %eax.global-to-local, align 4
  %v2_462 = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v3_462 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  store x86_fp80 %v2_462, x86_fp80* %st7.global-to-local, align 4
  %v0_464 = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  store x86_fp80 %v3_462, x86_fp80* %st6.global-to-local, align 4
  %v1_466 = load i32, i32* @edi, align 8
  %v2_466 = add i32 %v1_466, 16
  %v3_466 = inttoptr i32 %v2_466 to double*
  %v4_466 = load double, double* %v3_466, align 4
  %v5_466 = fpext double %v4_466 to x86_fp80
  store x86_fp80 %v5_466, x86_fp80* %st6.global-to-local, align 4
  %v2_469 = add i32 %v1_466, 24
  %v3_469 = inttoptr i32 %v2_469 to double*
  %v4_469 = load double, double* %v3_469, align 4
  %v5_469 = fpext double %v4_469 to x86_fp80
  %v4_46e = fsub x86_fp80 %v5_469, %v2_462
  store x86_fp80 %v4_46e, x86_fp80* %st6.global-to-local, align 4
  %v4_472 = fmul x86_fp80 %v5_466, %v5_466
  %v4_474 = fmul x86_fp80 %v4_472, %v4_472
  %v4_476 = fadd x86_fp80 %v4_474, %v4_474
  %v7_476 = add i3 %v0_464, 3
  store i3 %v7_476, i3* %fpu_stat_TOP.global-to-local, align 1
  %v7_478 = fmul x86_fp80 %v4_476, %v5_1c5
  store x86_fp80 %v7_478, x86_fp80* %st7.global-to-local, align 4
  br i1 %v1_484, label %dec_label_pc_4a7, label %dec_label_pc_486

dec_label_pc_486:                                 ; preds = %dec_label_pc_443
  store x86_fp80 %v7_478, x86_fp80* %st7.global-to-local, align 4
  br label %dec_label_pc_4be

dec_label_pc_4a7:                                 ; preds = %dec_label_pc_443
  %v4_4a7 = fsub x86_fp80 %v7_478, %v7_478
  store x86_fp80 %v4_4a7, x86_fp80* %st7.global-to-local, align 4
  %v2_4a9 = add i32 %v1_466, ptrtoint (double** @global_var_8.3 to i32)
  %v3_4a9 = inttoptr i32 %v2_4a9 to double*
  %v4_4a9 = load double, double* %v3_4a9, align 4
  %v5_4a9 = fpext double %v4_4a9 to x86_fp80
  %v6_4a9 = add i3 %v0_464, 2
  %v7_4ac = fmul x86_fp80 %v5_1c5, %v5_4a9
  %v4_4b0 = fsub x86_fp80 %v4_4a7, %v7_4ac
  store x86_fp80 %v4_4b0, x86_fp80* %st7.global-to-local, align 4
  store x86_fp80 0xK00000000000000000000, x86_fp80* %st6.global-to-local, align 4
  store i3 %v6_4a9, i3* %fpu_stat_TOP.global-to-local, align 1
  %v4_4b4 = fcmp olt x86_fp80 %v4_4b0, 0xK00000000000000000000
  br i1 %v4_4b4, label %dec_label_pc_5c6, label %dec_label_pc_4be

dec_label_pc_4be:                                 ; preds = %dec_label_pc_4a7, %dec_label_pc_486
  %v1_4c8 = phi x86_fp80 [ %v7_478, %dec_label_pc_486 ], [ %v4_4b0, %dec_label_pc_4a7 ]
  %storemerge89 = xor i3 %v0_464, -4
  store i3 %storemerge89, i3* %fpu_stat_TOP.global-to-local, align 1
  br i1 %v1_4c6, label %dec_label_pc_4ca, label %dec_label_pc_4c8

dec_label_pc_4c8:                                 ; preds = %dec_label_pc_4be
  %v2_4c8 = call x86_fp80 @llvm.fabs.f80(x86_fp80 %v1_4c8)
  store x86_fp80 %v2_4c8, x86_fp80* %st7.global-to-local, align 4
  br label %dec_label_pc_4ca

dec_label_pc_4ca:                                 ; preds = %dec_label_pc_4c8, %dec_label_pc_4be
  %v2_4d4 = phi x86_fp80 [ %v2_4c8, %dec_label_pc_4c8 ], [ %v1_4c8, %dec_label_pc_4be ]
  br i1 %v3_164, label %dec_label_pc_4da, label %dec_label_pc_4d4

dec_label_pc_4d4:                                 ; preds = %dec_label_pc_4ca
  %v2_4d6 = call x86_fp80 @llvm.fabs.f80(x86_fp80 %v2_4d4)
  store x86_fp80 %v2_4d6, x86_fp80* %st7.global-to-local, align 4
  br label %dec_label_pc_4da

dec_label_pc_4da:                                 ; preds = %dec_label_pc_4d4, %dec_label_pc_4ca
  %v2_4f4 = phi x86_fp80 [ %v2_4d6, %dec_label_pc_4d4 ], [ %v2_4d4, %dec_label_pc_4ca ]
  %v4_4dc = fmul x86_fp80 %v2_4f4, %v2_4f4
  store x86_fp80 %v4_4dc, x86_fp80* %st6.global-to-local, align 4
  %v2_4e6 = add i32 %v1_466, -48
  %v3_4e6 = inttoptr i32 %v2_4e6 to double*
  %v4_4e6 = load double, double* %v3_4e6, align 4
  %v5_4e6 = fpext double %v4_4e6 to x86_fp80
  store x86_fp80 %v5_4e6, x86_fp80* %st6.global-to-local, align 4
  %v2_4ed = add i32 %v1_466, -56
  %v3_4ed = inttoptr i32 %v2_4ed to double*
  %v4_4ed = load double, double* %v3_4ed, align 4
  store x86_fp80 %v7_510, x86_fp80* %st6.global-to-local, align 4
  store double %tmp401, double* %stack_var_-268, align 8
  %v6_526 = fpext double %stack_var_-244.0 to x86_fp80
  %v7_526 = fmul x86_fp80 %v7_520, %v6_526
  store x86_fp80 %v7_526, x86_fp80* %st7.global-to-local, align 4
  %v4_52a = fptrunc x86_fp80 %v7_526 to double
  %v6_52a = add i3 %v0_464, 2
  store i3 %v6_52a, i3* %fpu_stat_TOP.global-to-local, align 1
  %v0_52e = load i32, i32* %edx.global-to-local, align 4
  %v4_52e = trunc i32 %v0_52e to i8
  %v5_52e = icmp eq i8 %v4_52e, 0
  br i1 %v5_52e, label %dec_label_pc_590, label %dec_label_pc_532

dec_label_pc_532:                                 ; preds = %dec_label_pc_4da
  %v5_4ed = fpext double %v4_4ed to x86_fp80
  %v4_534 = fmul x86_fp80 %v7_526, %v7_526
  store x86_fp80 %v4_534, x86_fp80* %st7.global-to-local, align 4
  %v2_536 = add i32 %v1_466, -100
  %v3_536 = inttoptr i32 %v2_536 to double*
  %v4_536 = load double, double* %v3_536, align 4
  %v5_536 = fpext double %v4_536 to x86_fp80
  %v7_53b = fsub x86_fp80 %v5_536, %v2_4f4
  %v7_53f = fadd x86_fp80 %v7_53b, %v5_4e6
  %v4_543 = fmul x86_fp80 %v7_53f, %v7_53f
  %v10_545 = fadd x86_fp80 %v4_543, %v7_510
  store x86_fp80 %v10_545, x86_fp80* %st7.global-to-local, align 4
  %tmp402 = fptrunc x86_fp80 %v10_545 to double
  store double %tmp402, double* %stack_var_-268, align 8
  %v4_54b = load double, double* %v3_536, align 4
  %v5_54b = fpext double %v4_54b to x86_fp80
  %v4_552 = fadd x86_fp80 %v5_4ed, %v5_54b
  store x86_fp80 %v4_552, x86_fp80* %st6.global-to-local, align 4
  br label %dec_label_pc_590

dec_label_pc_590:                                 ; preds = %dec_label_pc_4da, %dec_label_pc_532
  %v9_572.pre-phi = phi x86_fp80 [ %v7_510, %dec_label_pc_4da ], [ %v10_545, %dec_label_pc_532 ]
  %v3_2e6 = phi double [ %tmp401, %dec_label_pc_4da ], [ %tmp402, %dec_label_pc_532 ]
  %v5_562 = fpext double %stack_var_-196.0 to x86_fp80
  %v4_566 = fsub x86_fp80 %v5_562, %v5_562
  %v5_56e = fpext double %stack_var_-212.0 to x86_fp80
  %v10_572 = fsub x86_fp80 %v9_572.pre-phi, %v5_56e
  %v3_57a = fmul x86_fp80 %v10_572, %v10_572
  %v3_57e = fmul x86_fp80 %v4_566, %v4_566
  %v4_580 = fadd x86_fp80 %v3_57e, %v3_57a
  store x86_fp80 %v4_580, x86_fp80* %st6.global-to-local, align 4
  %v4_58c = add i3 %v0_464, -3
  %v0_590 = load i32, i32* %ebx.global-to-local, align 4
  %v1_590 = add i32 %v0_590, 1
  store i32 %v1_590, i32* %ebx.global-to-local, align 4
  store x86_fp80 %v4_36, x86_fp80* %st7.global-to-local, align 4
  store i3 %v4_58c, i3* %fpu_stat_TOP.global-to-local, align 1
  %v14_5a9 = icmp eq i32 %v1_590, %v8_1b0
  %v1_5ab = icmp eq i1 %v14_5a9, false
  br i1 %v1_5ab, label %dec_label_pc_2dc, label %dec_label_pc_5b1

dec_label_pc_5b1:                                 ; preds = %dec_label_pc_590
  store i32 %v8_1b0, i32* %ebx.global-to-local, align 4
  store x86_fp80 %v4_36, x86_fp80* %st7.global-to-local, align 4
  br label %dec_label_pc_5cd

dec_label_pc_5c6:                                 ; preds = %dec_label_pc_4a7
  %tmp403 = fptrunc x86_fp80 %v4_4b0 to double
  store double %tmp403, double* %stack_var_-268, align 8
  %v8_5c6 = add i3 %v0_464, -3
  store i3 %v8_5c6, i3* %fpu_stat_TOP.global-to-local, align 1
  store x86_fp80 %v4_4b0, x86_fp80* %st7.global-to-local, align 4
  %v0_5d3.pre = load i32, i32* %ebx.global-to-local, align 4
  br label %dec_label_pc_5cd

dec_label_pc_5cd:                                 ; preds = %dec_label_pc_2ac, %dec_label_pc_5c6, %dec_label_pc_5b1
  %v0_5d3 = phi i32 [ %v8_1b0, %dec_label_pc_5b1 ], [ %v0_5d3.pre, %dec_label_pc_5c6 ], [ 0, %dec_label_pc_2ac ]
  %v1_5dd = phi i32 [ %v1_466, %dec_label_pc_5b1 ], [ %v1_466, %dec_label_pc_5c6 ], [ %v1_225, %dec_label_pc_2ac ]
  %v0_5cd = phi i3 [ %v4_58c, %dec_label_pc_5b1 ], [ %v8_5c6, %dec_label_pc_5c6 ], [ %v0_2b9, %dec_label_pc_2ac ]
  %stack_var_-220.1 = phi double [ %v4_38, %dec_label_pc_5b1 ], [ %stack_var_-220.0, %dec_label_pc_5c6 ], [ %v4_30, %dec_label_pc_2ac ]
  %v2_5cd = add i32 %v1_5dd, -116
  %v3_5cd = inttoptr i32 %v2_5cd to double*
  %v4_5cd = load double, double* %v3_5cd, align 4
  %v5_5cd = fpext double %v4_5cd to x86_fp80
  store x86_fp80 %v5_5cd, x86_fp80* %st7.global-to-local, align 4
  %v2_5d0 = add i32 %v1_5dd, 48
  %v3_5d0 = inttoptr i32 %v2_5d0 to double*
  %v4_5d0 = load double, double* %v3_5d0, align 4
  %v5_5d0 = fpext double %v4_5d0 to x86_fp80
  store x86_fp80 %v5_5d0, x86_fp80* %st6.global-to-local, align 4
  %v4_5d3 = sext i32 %v0_5d3 to i64
  %v5_5d3 = bitcast i64 %v4_5d3 to double
  %v5_5d7 = fpext double %v5_5d3 to x86_fp80
  %v2_5db = call x86_fp80 @llvm.sqrt.f80(x86_fp80 %v5_5d7)
  %v4_5dd = load double, double* %v3_5d0, align 4
  %v5_5dd = fpext double %v4_5dd to x86_fp80
  %v6_5dd = xor i3 %v0_5cd, -4
  %v4_5e2 = fsub x86_fp80 %v5_5d0, %v5_5cd
  %v6_5e4 = fpext double %stack_var_-220.1 to x86_fp80
  %v7_5e4 = fmul x86_fp80 %v4_5e2, %v6_5e4
  %v4_5ea = fmul x86_fp80 %v2_5db, %v5_5cd
  %v4_5ee = fadd x86_fp80 %v4_5ea, %v5_5dd
  %v4_5f0 = fdiv x86_fp80 %v7_5e4, %v4_5ee
  %tmp404 = fptrunc x86_fp80 %v4_5f0 to double
  %v2_600 = load i32, i32* %esi.global-to-local, align 4
  %v3_600 = add i32 %v2_600, 128
  %v5_600 = inttoptr i32 %v3_600 to double*
  store double %tmp404, double* %v5_600, align 4
  store x86_fp80 0xK3FFF8000000000000000, x86_fp80* %st6.global-to-local, align 4
  store i32 0, i32* %eax.global-to-local, align 4
  %v3_60f = load double, double* %stack_var_-268, align 8
  %v8_60f = fpext double %v3_60f to x86_fp80
  store x86_fp80 %v8_60f, x86_fp80* %st7.global-to-local, align 4
  store i32 %v2_c9, i32* %ecx.global-to-local, align 4
  store double 1.000000e+00, double* %stack_var_-268, align 8
  store i3 %v6_5dd, i3* %fpu_stat_TOP.global-to-local, align 1
  store i32 %v7_1bb, i32* %ebx.global-to-local, align 4
  %v4_63d = fsub x86_fp80 %v5_1c5, %v5_1c5
  br label %dec_label_pc_631

dec_label_pc_631:                                 ; preds = %dec_label_pc_662, %dec_label_pc_5cd
  %v0_633 = phi i32 [ %v0_633.pre, %dec_label_pc_662 ], [ %v2_c9, %dec_label_pc_5cd ]
  %v0_631 = phi i3 [ %v5_65c, %dec_label_pc_662 ], [ %v6_5dd, %dec_label_pc_5cd ]
  %v3_631 = add i3 %v0_631, -1
  store i3 %v3_631, i3* %fpu_stat_TOP.global-to-local, align 1
  %v4_633 = trunc i32 %v0_633 to i8
  %v5_633 = icmp eq i8 %v4_633, 0
  %v1_635 = icmp eq i1 %v5_633, false
  br i1 %v1_635, label %dec_label_pc_643, label %dec_label_pc_637

dec_label_pc_637:                                 ; preds = %dec_label_pc_631
  store x86_fp80 %v4_63d, x86_fp80* %st7.global-to-local, align 4
  %v1_641 = call x86_fp80 @__asm_fcmovnbe(x86_fp80 %v5_18e)
  store x86_fp80 %v1_641, x86_fp80* %st6.global-to-local, align 4
  %v0_643.pre = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  br label %dec_label_pc_643

dec_label_pc_643:                                 ; preds = %dec_label_pc_637, %dec_label_pc_631
  %v0_643 = phi i3 [ %v0_643.pre, %dec_label_pc_637 ], [ %v3_631, %dec_label_pc_631 ]
  %v3_643 = load double, double* %stack_var_-268, align 8
  %v8_643 = fpext double %v3_643 to x86_fp80
  %v9_643 = add i3 %v0_643, -1
  store i3 %v9_643, i3* %fpu_stat_TOP.global-to-local, align 1
  store x86_fp80 %v8_643, x86_fp80* %st6.global-to-local, align 4
  %v1_648 = call x86_fp80 @__asm_fcmovnbe(x86_fp80 %v5_18e)
  %v1_64a = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  store x86_fp80 %v1_64a, x86_fp80* %st6.global-to-local, align 4
  %v1_652 = call x86_fp80 @__asm_fcmovnbe(x86_fp80 %v5_18e)
  %v0_654 = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  %v2_654 = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v3_654 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v4_654 = fdiv x86_fp80 %v3_654, %v2_654
  %v7_654 = add i3 %v0_654, 1
  store i3 %v7_654, i3* %fpu_stat_TOP.global-to-local, align 1
  store x86_fp80 %v4_654, x86_fp80* %st7.global-to-local, align 4
  %v1_65a = call x86_fp80 @__asm_fcmovnbe(x86_fp80 %v5_18e)
  %v0_65c = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  %v5_65c = add i3 %v0_65c, 1
  store i3 %v5_65c, i3* %fpu_stat_TOP.global-to-local, align 1
  %v0_65e = load i32, i32* %eax.global-to-local, align 4
  %v1_65e = load i32, i32* %ebx.global-to-local, align 4
  %v5_660 = icmp slt i32 %v0_65e, %v1_65e
  %v2_662 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  br i1 %v5_660, label %dec_label_pc_662, label %dec_label_pc_699

dec_label_pc_662:                                 ; preds = %dec_label_pc_643
  %v7_664 = fadd x86_fp80 %v2_662, %v5_1cc
  %v7_66a = fsub x86_fp80 %v5_1c5, %v7_664
  %v7_670 = fsub x86_fp80 %v7_66a, %v5_1d5
  %v4_676 = fmul x86_fp80 %v7_670, %v7_670
  store x86_fp80 %v4_676, x86_fp80* %st6.global-to-local, align 4
  store i3 %v5_65c, i3* %fpu_stat_TOP.global-to-local, align 1
  store x86_fp80 0xK3FFF8000000000000000, x86_fp80* %st7.global-to-local, align 4
  %v1_696 = add i32 %v0_65e, 1
  store i32 %v1_696, i32* %eax.global-to-local, align 4
  %v0_633.pre = load i32, i32* %ecx.global-to-local, align 4
  br label %dec_label_pc_631

dec_label_pc_699:                                 ; preds = %dec_label_pc_643
  %v5_6a1 = add i3 %v0_65c, -2
  store i3 %v5_6a1, i3* %fpu_stat_TOP.global-to-local, align 1
  br i1 %v3_93, label %dec_label_pc_6df, label %dec_label_pc_6b4

dec_label_pc_6b4:                                 ; preds = %dec_label_pc_699
  %v0_6b4 = load i32, i32* %edx.global-to-local, align 4
  %v4_6b4 = trunc i32 %v0_6b4 to i8
  %v5_6b4 = icmp eq i8 %v4_6b4, 0
  br i1 %v5_6b4, label %dec_label_pc_6bc, label %dec_label_pc_6b8

dec_label_pc_6b8:                                 ; preds = %dec_label_pc_6b4
  %v1_6b8 = add i3 %v0_65c, -3
  store x86_fp80 0xK3FFF8000000000000000, x86_fp80* %st6.global-to-local, align 4
  store i3 %v1_6b8, i3* %fpu_stat_TOP.global-to-local, align 1
  br label %dec_label_pc_6bf

dec_label_pc_6bc:                                 ; preds = %dec_label_pc_6b4
  %v1_6bc = load i32, i32* @edi, align 8
  %v2_6bc = add i32 %v1_6bc, -100
  %v3_6bc = inttoptr i32 %v2_6bc to double*
  %v4_6bc = load double, double* %v3_6bc, align 4
  %v5_6bc = fpext double %v4_6bc to x86_fp80
  %v6_6bc = add i3 %v0_65c, -3
  store i3 %v6_6bc, i3* %fpu_stat_TOP.global-to-local, align 1
  store x86_fp80 %v5_6bc, x86_fp80* %st6.global-to-local, align 4
  br label %dec_label_pc_6bf

dec_label_pc_6bf:                                 ; preds = %dec_label_pc_6bc, %dec_label_pc_6b8
  %v3_6d2 = phi x86_fp80 [ %v5_6bc, %dec_label_pc_6bc ], [ 0xK3FFF8000000000000000, %dec_label_pc_6b8 ]
  %v0_6bf = phi i3 [ %v6_6bc, %dec_label_pc_6bc ], [ %v1_6b8, %dec_label_pc_6b8 ]
  %v5_6bf = fpext double %stack_var_-68.0 to x86_fp80
  %v4_6c8 = fmul x86_fp80 %v2_662, %v5_6bf
  %v2_6cc = call x86_fp80 @llvm.sqrt.f80(x86_fp80 %v5_6bf)
  %v4_6ce = fmul x86_fp80 %v2_6cc, %v2_662
  %v4_6d2 = fadd x86_fp80 %v4_6ce, %v3_6d2
  store x86_fp80 %v4_6d2, x86_fp80* %st6.global-to-local, align 4
  %v4_6d4 = fdiv x86_fp80 %v4_6c8, %v4_6d2
  store x86_fp80 %v4_6d4, x86_fp80* %st7.global-to-local, align 4
  %v7_6d4 = add i3 %v0_6bf, 1
  store i3 %v7_6d4, i3* %fpu_stat_TOP.global-to-local, align 1
  %v6_6d6 = add i3 %v0_6bf, 2
  br label %dec_label_pc_6e1

dec_label_pc_6df:                                 ; preds = %dec_label_pc_699
  %v4_6df = add i3 %v0_65c, -1
  br label %dec_label_pc_6e1

dec_label_pc_6e1:                                 ; preds = %dec_label_pc_6df, %dec_label_pc_6bf
  %stack_var_-92.0.in = phi x86_fp80 [ %v2_662, %dec_label_pc_6df ], [ %v4_6d4, %dec_label_pc_6bf ]
  %storemerge = phi i3 [ %v4_6df, %dec_label_pc_6df ], [ %v6_6d6, %dec_label_pc_6bf ]
  %stack_var_-92.0 = fptrunc x86_fp80 %stack_var_-92.0.in to double
  %sext = mul i32 %v3_150, 65536
  %v4_6e1 = sdiv i32 %sext, 65536
  store i32 %v4_6e1, i32* %eax.global-to-local, align 4
  store x86_fp80 %stack_var_-92.0.in, x86_fp80* %st7.global-to-local, align 4
  %v2_70c = load i32, i32* %esi.global-to-local, align 4
  %v3_70c = add i32 %v2_70c, -32
  %v5_70c = inttoptr i32 %v3_70c to double*
  store double %stack_var_-92.0, double* %v5_70c, align 4
  store i3 %storemerge, i3* %fpu_stat_TOP.global-to-local, align 1
  store i32 %v0_1, i32* %ebx.global-to-local, align 4
  store i32 %v0_0, i32* %ebp.global-to-local, align 4
  ret i32 %v4_6e1
}

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

declare i32 @__asm_wait() local_unnamed_addr

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

declare x86_fp80 @__asm_fcmove(x86_fp80) local_unnamed_addr

declare i16 @__asm_fnstsw(i32) local_unnamed_addr

declare i32 @__asm_fprem() local_unnamed_addr

declare i32 @__asm_f2xm1() local_unnamed_addr

declare i32 @__asm_fscale() local_unnamed_addr

declare x86_fp80 @__asm_fcmovnbe(x86_fp80) local_unnamed_addr

declare i32 @__decompiler_undefined_function_1() local_unnamed_addr

declare double @__decompiler_undefined_function_2() local_unnamed_addr

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

attributes #0 = { nounwind readnone speculatable }
