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
  %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
  %v1_16 = add i32 %v3_f, -68
  %v2_16 = inttoptr i32 %v1_16 to i8*
  %v3_16 = load i8, i8* %v2_16, align 1
  %v4_16 = zext i8 %v3_16 to i32
  %v6_16 = and i32 %v0_12, -256
  %v7_16 = or i32 %v6_16, %v4_16
  store i32 %v7_16, i32* @eax, align 8
  %v3_1b = inttoptr i32 %v3_f to double*
  %v3_1f = add i32 %v3_f, 8
  %v4_1f = inttoptr i32 %v3_1f to double*
  %v3_26 = add i32 %v3_f, 16
  %v4_26 = inttoptr i32 %v3_26 to double*
  %v4_58 = inttoptr i32 %v0_12 to double*
  %v3_97 = add i32 %v3_f, -16
  %v4_97 = inttoptr i32 %v3_97 to double*
  %v3_9a = add i32 %v3_f, -24
  %v4_9a = inttoptr i32 %v3_9a to double*
  %fpu_stat_TOP.promoted = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  br label %dec_label_pc_19

dec_label_pc_19:                                  ; preds = %dec_label_pc_19, %dec_label_pc_0
  %v5_ab5 = phi i3 [ %v5_92, %dec_label_pc_19 ], [ %fpu_stat_TOP.promoted, %dec_label_pc_0 ]
  %v3_19 = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_19 = fpext double %v3_19 to x86_fp80
  store x86_fp80 %v4_19, x86_fp80* %st7.global-to-local, align 4
  %v4_1b = load double, double* %v3_1b, align 4
  %v5_1b = fpext double %v4_1b to x86_fp80
  %v6_1b = fmul x86_fp80 %v4_19, %v5_1b
  store x86_fp80 %v6_1b, x86_fp80* %st7.global-to-local, align 4
  %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* %st6.global-to-local, align 4
  %v5_1f = load double, double* %v4_1f, align 4
  %v6_1f = fpext double %v5_1f to x86_fp80
  %v7_1f = fmul x86_fp80 %v4_1d, %v6_1f
  %v2_22 = fsub x86_fp80 0xK80000000000000000000, %v7_1f
  store x86_fp80 %v2_22, x86_fp80* %st6.global-to-local, align 4
  %v4_24 = fsub x86_fp80 %v6_1b, %v7_1f
  store x86_fp80 %v4_24, x86_fp80* %st7.global-to-local, align 4
  %v5_26 = load double, double* %v4_26, align 4
  %v6_26 = fpext double %v5_26 to x86_fp80
  %v7_26 = fmul x86_fp80 %v4_24, %v6_26
  store x86_fp80 %v4_19, x86_fp80* %st7.global-to-local, align 4
  %v5_2e = load double, double* %v4_1f, align 4
  %v6_2e = fpext double %v5_2e to x86_fp80
  %v7_2e = fmul x86_fp80 %v4_19, %v6_2e
  store x86_fp80 %v7_2e, x86_fp80* %st7.global-to-local, align 4
  store x86_fp80 %v4_1d, x86_fp80* %st6.global-to-local, align 4
  %v4_33 = load double, double* %v3_1b, align 4
  %v5_33 = fpext double %v4_33 to x86_fp80
  %v6_33 = fmul x86_fp80 %v4_1d, %v5_33
  %v4_35 = fadd x86_fp80 %v7_2e, %v6_33
  %v2_37 = call x86_fp80 @llvm.fabs.f80(x86_fp80 %v4_35)
  store x86_fp80 %v2_37, x86_fp80* %st7.global-to-local, align 4
  store x86_fp80 %v7_26, x86_fp80* %st6.global-to-local, align 4
  %v3_3d = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_3d = fpext double %v3_3d to x86_fp80
  %v5_3f = load double, double* %v4_26, align 4
  %v6_3f = fpext double %v5_3f to x86_fp80
  %v7_3f = fmul x86_fp80 %v4_3d, %v6_3f
  %v4_44 = fsub x86_fp80 %v7_26, %v7_3f
  %v2_46 = call x86_fp80 @llvm.fabs.f80(x86_fp80 %v4_44)
  store x86_fp80 %v2_46, x86_fp80* %st6.global-to-local, align 4
  %v5_4e = load double, double* %v4_26, align 4
  %v6_4e = fpext double %v5_4e to x86_fp80
  %v7_4e = fmul x86_fp80 %v4_3d, %v6_4e
  %v4_51 = fadd x86_fp80 %v7_4e, %v7_26
  %tmp264 = bitcast double %v3_3d to i64
  %tmp265 = trunc i64 %tmp264 to i32
  %tmp266 = fptrunc x86_fp80 %v4_51 to double
  %v3_56 = call double @llvm.fabs.f64(double %tmp266)
  %v4_56 = inttoptr i32 %tmp265 to double*
  store double %v3_56, double* %v4_56, align 4
  %v1_58 = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v3_58 = fptrunc x86_fp80 %v1_58 to double
  store double %v3_58, double* %v4_58, align 4
  %v1_5a = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v2_5a = load i32, i32* @ecx, align 8
  %v3_5a = fptrunc x86_fp80 %v1_5a to double
  %v4_5a = inttoptr i32 %v2_5a to double*
  store double %v3_5a, double* %v4_5a, align 4
  %v3_5d = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_5d = fpext double %v3_5d to x86_fp80
  %v4_5f = load double, double* bitcast (i32* @edx to double*), align 8
  %v5_5f = fpext double %v4_5f to x86_fp80
  %v6_5f = fadd x86_fp80 %v4_5d, %v5_5f
  store x86_fp80 %v6_5f, x86_fp80* %st7.global-to-local, align 4
  %v5_61 = load double, double* %v4_26, align 4
  %v6_61 = fpext double %v5_61 to x86_fp80
  %v7_61 = fmul x86_fp80 %v6_5f, %v6_61
  %v6_6c = fsub x86_fp80 %v5_5f, %v4_5d
  store x86_fp80 %v6_6c, x86_fp80* %st7.global-to-local, align 4
  %v5_6e = load double, double* %v4_26, align 4
  %v6_6e = fpext double %v5_6e to x86_fp80
  %v7_6e = fmul x86_fp80 %v6_6c, %v6_6e
  store x86_fp80 %v7_6e, x86_fp80* %st7.global-to-local, align 4
  store x86_fp80 %v7_61, x86_fp80* %st6.global-to-local, align 4
  %v4_75 = load double, double* %v3_1b, align 4
  %v5_75 = fpext double %v4_75 to x86_fp80
  %v6_75 = fmul x86_fp80 %v7_61, %v5_75
  store x86_fp80 %v6_75, x86_fp80* %st6.global-to-local, align 4
  %v3_77 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_77 = fpext double %v3_77 to x86_fp80
  %v5_79 = load double, double* %v4_1f, align 4
  %v6_79 = fpext double %v5_79 to x86_fp80
  %v7_79 = fmul x86_fp80 %v4_77, %v6_79
  %v4_7c = fadd x86_fp80 %v6_75, %v7_79
  store x86_fp80 %v4_7c, x86_fp80* %st6.global-to-local, align 4
  %v5_82 = load double, double* %v4_1f, align 4
  %v6_82 = fpext double %v5_82 to x86_fp80
  %v7_82 = fmul x86_fp80 %v7_61, %v6_82
  %v4_89 = load double, double* %v3_1b, align 4
  %v5_89 = fpext double %v4_89 to x86_fp80
  %v6_89 = fmul x86_fp80 %v4_77, %v5_89
  %v4_8b = fsub x86_fp80 %v6_89, %v7_82
  %tmp267 = bitcast double %v3_77 to i64
  %tmp268 = trunc i64 %tmp267 to i32
  %v3_8e = fptrunc x86_fp80 %v4_8b to double
  %v4_8e = inttoptr i32 %tmp268 to double*
  store double %v3_8e, double* %v4_8e, align 4
  %v1_90 = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v3_90 = fptrunc x86_fp80 %v1_90 to double
  store double %v3_90, double* %v4_58, align 4
  %v1_92 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v2_92 = load i32, i32* @edx, align 8
  %v3_92 = fptrunc x86_fp80 %v1_92 to double
  %v4_92 = inttoptr i32 %v2_92 to double*
  store double %v3_92, double* %v4_92, align 4
  %v5_92 = add i3 %v5_ab5, add (i3 add (i3 ptrtoint (i8* @global_var_1.1 to i3), i3 3), i3 add (i3 add (i3 ptrtoint (i8* @global_var_1.1 to i3), i3 3), 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 add (i3 add (i3 ptrtoint (i8* @global_var_1.1 to i3), i3 -1), i3 xor (i3 ptrtoint (i8* @global_var_1.1 to i3), i3 -1))))))))))
  %v3_95 = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_95 = fpext double %v3_95 to x86_fp80
  store x86_fp80 %v4_95, x86_fp80* %st7.global-to-local, align 4
  %v5_97 = load double, double* %v4_97, align 4
  %v6_97 = fpext double %v5_97 to x86_fp80
  %v7_97 = fmul x86_fp80 %v4_95, %v6_97
  store x86_fp80 %v7_97, x86_fp80* %st7.global-to-local, align 4
  %v5_9a = load double, double* %v4_9a, align 4
  %v6_9a = fpext double %v5_9a to x86_fp80
  %v7_9a = fsub x86_fp80 %v7_97, %v6_9a
  %v3_9d = fptrunc x86_fp80 %v7_9a to double
  store double %v3_9d, double* %v4_58, align 4
  %v3_9f = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_9f = fpext double %v3_9f to x86_fp80
  store x86_fp80 %v4_9f, x86_fp80* %st7.global-to-local, align 4
  %v5_a1 = load double, double* %v4_97, align 4
  %v6_a1 = fpext double %v5_a1 to x86_fp80
  %v7_a1 = fmul x86_fp80 %v4_9f, %v6_a1
  %tmp269 = bitcast double %v3_9f to i64
  %tmp270 = trunc i64 %tmp269 to i32
  %v3_a4 = fptrunc x86_fp80 %v7_a1 to double
  %v4_a4 = inttoptr i32 %tmp270 to double*
  store double %v3_a4, double* %v4_a4, align 4
  %v3_a6 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_a6 = fpext double %v3_a6 to x86_fp80
  store x86_fp80 %v4_a6, x86_fp80* %st7.global-to-local, align 4
  %v5_a8 = load double, double* %v4_97, align 4
  %v6_a8 = fpext double %v5_a8 to x86_fp80
  %v7_a8 = fmul x86_fp80 %v4_a6, %v6_a8
  store x86_fp80 %v7_a8, x86_fp80* %st7.global-to-local, align 4
  %tmp271 = bitcast double %v3_a6 to i64
  %tmp272 = trunc i64 %tmp271 to i32
  %v3_ab = fptrunc x86_fp80 %v7_a8 to double
  %v4_ab = inttoptr i32 %tmp272 to double*
  store double %v3_ab, double* %v4_ab, align 4
  %v0_ae = load i32, i32* @eax, align 8
  %v1_ae = trunc i32 %v0_ae to i8
  %v2_ae = sub i8 %v1_ae, ptrtoint (i8* @global_var_1.1 to i8)
  %v10_ae = icmp eq i8 %v2_ae, 0
  %v15_ae = zext i8 %v2_ae to i32
  %v17_ae = and i32 %v0_ae, -256
  %v18_ae = or i32 %v17_ae, %v15_ae
  store i32 %v18_ae, i32* @eax, align 8
  %v1_b0 = icmp eq i1 %v10_ae, false
  br i1 %v1_b0, label %dec_label_pc_19, label %dec_label_pc_b6

dec_label_pc_b6:                                  ; preds = %dec_label_pc_19
  store i3 %v5_92, i3* %fpu_stat_TOP.global-to-local, align 1
  %v0_b8 = load i32, i32* %edi.global-to-local, align 4
  %v1_b8 = add i32 %v0_b8, -60
  %v2_b8 = inttoptr i32 %v1_b8 to i8*
  %v3_b8 = load i8, i8* %v2_b8, align 1
  %v4_b8 = zext i8 %v3_b8 to i32
  %v7_b8 = or i32 %v17_ae, %v4_b8
  store i32 %v7_b8, i32* @eax, align 8
  %v2_bb = load i32, i32* %esi.global-to-local, align 4
  %v3_bb = add i32 %v2_bb, 64
  %v4_bb = inttoptr i32 %v3_bb to i8*
  %v5_bb = load i8, i8* %v4_bb, align 1
  %v16_bb = icmp eq i8 %v3_b8, %v5_bb
  br i1 %v16_bb, label %dec_label_pc_c8, label %dec_label_pc_c0

dec_label_pc_c0:                                  ; preds = %dec_label_pc_b6
  %v1_c0 = add i32 %v0_b8, -64
  %v2_c0 = inttoptr i32 %v1_c0 to i8*
  %v3_c0 = load i8, i8* %v2_c0, align 1
  %v4_c0 = zext i8 %v3_c0 to i32
  %v7_c0 = or i32 %v17_ae, %v4_c0
  store i32 %v7_c0, i32* @eax, align 8
  %v5_c3 = load i8, i8* %v4_bb, align 1
  %v10_c6 = icmp sgt i8 %v3_c0, %v5_c3
  br i1 %v10_c6, label %dec_label_pc_f3, label %dec_label_pc_c8

dec_label_pc_c8:                                  ; preds = %dec_label_pc_c0, %dec_label_pc_b6
  %v2_c8 = add i32 %v0_b8, -56
  %v3_c8 = inttoptr i32 %v2_c8 to double*
  %v4_c8 = load double, double* %v3_c8, align 4
  %v5_c8 = fpext double %v4_c8 to x86_fp80
  %v6_c8 = sub i3 %v5_92, ptrtoint (i8* @global_var_1.1 to i3)
  store i3 %v6_c8, i3* %fpu_stat_TOP.global-to-local, align 1
  store x86_fp80 %v5_c8, x86_fp80* %st7.global-to-local, align 4
  %v2_cd = call x86_fp80 @llvm.fabs.f80(x86_fp80 %v5_c8)
  %v3_cd = fcmp olt x86_fp80 %v2_cd, 0xK403E8000000000000000
  br i1 %v3_cd, label %bb, label %bb274

bb:                                               ; preds = %dec_label_pc_c8
  %v4_cd = call x86_fp80 @llvm.sin.f80(x86_fp80 %v5_c8)
  store x86_fp80 %v4_cd, x86_fp80* %st7.global-to-local, align 4
  %v7_cd = call x86_fp80 @llvm.cos.f80(x86_fp80 %v5_c8)
  %v8_cd = sub i3 %v6_c8, ptrtoint (i8* @global_var_1.1 to i3)
  store i3 %v8_cd, i3* %fpu_stat_TOP.global-to-local, align 1
  store x86_fp80 %v7_cd, x86_fp80* %st6.global-to-local, align 4
  br label %bb274

bb274:                                            ; preds = %dec_label_pc_c8, %bb
  %v3_d8 = phi x86_fp80 [ %v5_c8, %dec_label_pc_c8 ], [ %v4_cd, %bb ]
  %v0_cf = phi i3 [ %v6_c8, %dec_label_pc_c8 ], [ %v8_cd, %bb ]
  %v3_d6 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_d6 = fpext double %v3_d6 to x86_fp80
  %v4_d8 = fmul x86_fp80 %v3_d8, %v4_d6
  %v3_da = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_da = fpext double %v3_da to x86_fp80
  %v7_dc = fmul x86_fp80 %v3_d8, %v4_da
  %v4_df = fadd x86_fp80 %v4_d8, %v7_dc
  store x86_fp80 %v4_df, x86_fp80* %st7.global-to-local, align 4
  %v5_e6 = sub i3 %v0_cf, ptrtoint (i8* @global_var_1.1 to i3)
  %v7_e8 = fmul x86_fp80 %v3_d8, %v4_d6
  %v4_ed = fsub x86_fp80 %v7_dc, %v7_e8
  store x86_fp80 %v4_ed, x86_fp80* %st6.global-to-local, align 4
  %tmp275 = bitcast double %v3_da to i64
  %tmp276 = trunc i64 %tmp275 to i32
  %v3_ef = fptrunc x86_fp80 %v4_ed to double
  %v4_ef = inttoptr i32 %tmp276 to double*
  store double %v3_ef, double* %v4_ef, align 4
  %v1_f1 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v2_f1 = load i32, i32* @ecx, align 8
  %v3_f1 = fptrunc x86_fp80 %v1_f1 to double
  %v4_f1 = inttoptr i32 %v2_f1 to double*
  store double %v3_f1, double* %v4_f1, align 4
  %v5_f1 = add i3 %v5_e6, add (i3 add (i3 ptrtoint (i8* @global_var_1.1 to i3), i3 ptrtoint (i8* @global_var_1.1 to i3)), i3 ptrtoint (i8* @global_var_1.1 to i3))
  store i3 %v5_f1, i3* %fpu_stat_TOP.global-to-local, align 1
  %v5_f5.pre = load i32, i32* @eax, align 8
  br label %dec_label_pc_f3

dec_label_pc_f3:                                  ; preds = %bb274, %dec_label_pc_c0
  %v0_fd = phi i3 [ %v5_f1, %bb274 ], [ %v5_92, %dec_label_pc_c0 ]
  %v5_f5 = phi i32 [ %v5_f5.pre, %bb274 ], [ %v7_c0, %dec_label_pc_c0 ]
  %v1_f5 = add i32 %v0_b8, -72
  %v2_f5 = inttoptr i32 %v1_f5 to i8*
  %v3_f5 = load i8, i8* %v2_f5, align 1
  %v4_f5 = zext i8 %v3_f5 to i32
  %v6_f5 = and i32 %v5_f5, -256
  %v7_f5 = or i32 %v6_f5, %v4_f5
  store i32 %v7_f5, i32* @eax, align 8
  %v5_f8 = load i8, i8* %v4_bb, align 1
  %v16_f8 = icmp eq i8 %v3_f5, %v5_f8
  %v1_fb = icmp eq i1 %v16_f8, false
  br i1 %v1_fb, label %dec_label_pc_f3.dec_label_pc_177_crit_edge, label %dec_label_pc_fd

dec_label_pc_f3.dec_label_pc_177_crit_edge:       ; preds = %dec_label_pc_f3
  %v2_1de.pre = load i32, i32* %ebx.global-to-local, align 4
  %.pre = inttoptr i32 %v2_1de.pre to double*
  br label %dec_label_pc_177

dec_label_pc_fd:                                  ; preds = %dec_label_pc_f3
  %v3_fd = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_fd = fpext double %v3_fd to x86_fp80
  %v5_fd = sub i3 %v0_fd, ptrtoint (i8* @global_var_1.1 to i3)
  %v3_ff = fmul x86_fp80 %v4_fd, %v4_fd
  %v3_104 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_104 = fpext double %v3_104 to x86_fp80
  %v3_106 = fmul x86_fp80 %v4_104, %v4_104
  %v4_10b = fdiv x86_fp80 %v3_ff, %v3_106
  store x86_fp80 %v4_10b, x86_fp80* %st7.global-to-local, align 4
  store x86_fp80 0xK3FFF8000000000000000, x86_fp80* %st6.global-to-local, align 4
  store i3 %v5_fd, i3* %fpu_stat_TOP.global-to-local, align 1
  %v0_111 = load i32, i32* %fpsw.global-to-local, align 4
  %v1_111 = call i16 @__asm_fnstsw(i32 %v0_111)
  %v2_111 = sext i16 %v1_111 to i32
  %v3_111 = load i32, i32* @eax, align 8
  %v4_111 = and i32 %v3_111, -65536
  %v1_113 = udiv i32 %v2_111, 256
  %v2_113 = trunc i32 %v1_113 to i8
  %v3_113 = and i8 %v2_113, 65
  %v4_113 = icmp eq i8 %v3_113, 0
  %v9_113 = zext i8 %v3_113 to i32
  %v11_113 = mul i32 %v9_113, 256
  %v2_111.masked = and i32 %v2_111, -65281
  %v12_113 = or i32 %v4_111, %v2_111.masked
  %v13_113 = or i32 %v12_113, %v11_113
  store i32 %v13_113, i32* @eax, align 8
  br i1 %v4_113, label %dec_label_pc_fd.dec_label_pc_11c_crit_edge, label %dec_label_pc_118

dec_label_pc_fd.dec_label_pc_11c_crit_edge:       ; preds = %dec_label_pc_fd
  %v3_11e.pre = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  br label %dec_label_pc_11c

dec_label_pc_118:                                 ; preds = %dec_label_pc_fd
  store x86_fp80 0xK3FFF8000000000000000, x86_fp80* %st6.global-to-local, align 4
  %v3_11a = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v4_11a = fdiv x86_fp80 0xK3FFF8000000000000000, %v3_11a
  store x86_fp80 %v4_11a, x86_fp80* %st7.global-to-local, align 4
  br label %dec_label_pc_11c

dec_label_pc_11c:                                 ; preds = %dec_label_pc_fd.dec_label_pc_11c_crit_edge, %dec_label_pc_118
  %v3_11e = phi x86_fp80 [ %v3_11e.pre, %dec_label_pc_fd.dec_label_pc_11c_crit_edge ], [ %v4_11a, %dec_label_pc_118 ]
  %v4_11e = fadd x86_fp80 %v3_11e, 0xK3FFF8000000000000000
  %v2_120 = call x86_fp80 @llvm.sqrt.f80(x86_fp80 %v4_11e)
  %v4_124 = fdiv x86_fp80 0xK3FFF8000000000000000, %v2_120
  %v4_128 = load double, double* bitcast (i32* @edx to double*), align 8
  %v5_128 = fpext double %v4_128 to x86_fp80
  %v6_128 = fmul x86_fp80 %v4_124, %v5_128
  %v3_12d = fmul x86_fp80 %v6_128, %v6_128
  %v4_133 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v5_133 = fpext double %v4_133 to x86_fp80
  %v6_133 = fmul x86_fp80 %v4_124, %v5_133
  %v3_138 = fmul x86_fp80 %v6_133, %v6_133
  %v7_13a = fadd x86_fp80 %v3_138, %v3_12d
  %v3_13d = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_13d = fpext double %v3_13d to x86_fp80
  %v3_13f = fmul x86_fp80 %v4_13d, %v4_13d
  %v4_141 = fdiv x86_fp80 %v7_13a, %v3_13f
  store x86_fp80 %v4_141, x86_fp80* %st7.global-to-local, align 4
  store x86_fp80 0xK3FFF8000000000000000, x86_fp80* %st6.global-to-local, align 4
  %v0_147 = load i32, i32* %fpsw.global-to-local, align 4
  %v1_147 = call i16 @__asm_fnstsw(i32 %v0_147)
  %v2_147 = sext i16 %v1_147 to i32
  %v3_147 = load i32, i32* @eax, align 8
  %v4_147 = and i32 %v3_147, -65536
  %v1_149 = udiv i32 %v2_147, 256
  %v2_149 = trunc i32 %v1_149 to i8
  %v3_149 = and i8 %v2_149, 65
  %v4_149 = icmp eq i8 %v3_149, 0
  %v9_149 = zext i8 %v3_149 to i32
  %v11_149 = mul i32 %v9_149, 256
  %v2_147.masked = and i32 %v2_147, -65281
  %v12_149 = or i32 %v4_147, %v2_147.masked
  %v13_149 = or i32 %v12_149, %v11_149
  store i32 %v13_149, i32* @eax, align 8
  %v0_152.pre = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  br i1 %v4_149, label %dec_label_pc_11c.dec_label_pc_152_crit_edge, label %dec_label_pc_14e

dec_label_pc_11c.dec_label_pc_152_crit_edge:      ; preds = %dec_label_pc_11c
  %v3_154.pre = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  br label %dec_label_pc_152

dec_label_pc_14e:                                 ; preds = %dec_label_pc_11c
  store x86_fp80 0xK3FFF8000000000000000, x86_fp80* %st6.global-to-local, align 4
  %v3_150 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v4_150 = fdiv x86_fp80 0xK3FFF8000000000000000, %v3_150
  store x86_fp80 %v4_150, x86_fp80* %st7.global-to-local, align 4
  br label %dec_label_pc_152

dec_label_pc_152:                                 ; preds = %dec_label_pc_11c.dec_label_pc_152_crit_edge, %dec_label_pc_14e
  %v3_154 = phi x86_fp80 [ %v3_154.pre, %dec_label_pc_11c.dec_label_pc_152_crit_edge ], [ %v4_150, %dec_label_pc_14e ]
  %v4_154 = fadd x86_fp80 %v3_154, 0xK3FFF8000000000000000
  %v2_156 = call x86_fp80 @llvm.sqrt.f80(x86_fp80 %v4_154)
  %v4_15a = fdiv x86_fp80 0xK3FFF8000000000000000, %v2_156
  %v3_160 = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_160 = fpext double %v3_160 to x86_fp80
  %v7_162 = fmul x86_fp80 %v4_15a, %v4_160
  store x86_fp80 %v7_162, x86_fp80* %st7.global-to-local, align 4
  %v7_168 = fmul x86_fp80 %v6_128, %v4_15a
  store x86_fp80 %v7_168, x86_fp80* %st6.global-to-local, align 4
  %v7_16e = fmul x86_fp80 %v6_133, %v4_15a
  %v2_171 = load i32, i32* @ecx, align 8
  %v3_171 = fptrunc x86_fp80 %v7_16e to double
  %v4_171 = inttoptr i32 %v2_171 to double*
  store double %v3_171, double* %v4_171, align 4
  %v1_173 = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v2_173 = load i32, i32* @edx, align 8
  %v3_173 = fptrunc x86_fp80 %v1_173 to double
  %v4_173 = inttoptr i32 %v2_173 to double*
  store double %v3_173, double* %v4_173, align 4
  %v1_175 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v2_175 = load i32, i32* %ebx.global-to-local, align 4
  %v3_175 = fptrunc x86_fp80 %v1_175 to double
  %v4_175 = inttoptr i32 %v2_175 to double*
  store double %v3_175, double* %v4_175, align 4
  %v5_175 = add i3 %v0_152.pre, add (i3 add (i3 add (i3 ptrtoint (i8* @global_var_1.1 to i3), i3 ptrtoint (i8* @global_var_1.1 to i3)), 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))))
  store i3 %v5_175, i3* %fpu_stat_TOP.global-to-local, align 1
  %v1_1c0.pre = load i32, i32* %esi.global-to-local, align 4
  %v2_1c3.pre = load i32, i32* %edi.global-to-local, align 4
  br label %dec_label_pc_177

dec_label_pc_177:                                 ; preds = %dec_label_pc_f3.dec_label_pc_177_crit_edge, %dec_label_pc_152
  %v4_1de.pre-phi = phi double* [ %.pre, %dec_label_pc_f3.dec_label_pc_177_crit_edge ], [ %v4_175, %dec_label_pc_152 ]
  %v2_1de = phi i32 [ %v2_1de.pre, %dec_label_pc_f3.dec_label_pc_177_crit_edge ], [ %v2_175, %dec_label_pc_152 ]
  %v2_1d9 = phi i32 [ %v0_b8, %dec_label_pc_f3.dec_label_pc_177_crit_edge ], [ %v2_1c3.pre, %dec_label_pc_152 ]
  %v1_1d6 = phi i32 [ %v2_bb, %dec_label_pc_f3.dec_label_pc_177_crit_edge ], [ %v1_1c0.pre, %dec_label_pc_152 ]
  %v0_179 = phi i3 [ %v0_fd, %dec_label_pc_f3.dec_label_pc_177_crit_edge ], [ %v5_175, %dec_label_pc_152 ]
  %v3_179 = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_179 = fpext double %v3_179 to x86_fp80
  %v3_17b = fmul x86_fp80 %v4_179, %v4_179
  %v3_180 = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_180 = fpext double %v3_180 to x86_fp80
  %v3_182 = fmul x86_fp80 %v4_180, %v4_180
  %v3_187 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_187 = fpext double %v3_187 to x86_fp80
  %v3_189 = fmul x86_fp80 %v4_187, %v4_187
  %v3_190 = fadd x86_fp80 %v4_179, %v4_179
  %v7_195 = fadd x86_fp80 %v3_182, %v3_189
  %v2_198 = call x86_fp80 @llvm.sqrt.f80(x86_fp80 %v7_195)
  %v4_19a = fdiv x86_fp80 %v3_190, %v2_198
  %v7_1a3 = fsub x86_fp80 %v3_17b, %v3_182
  %v7_1a6 = fsub x86_fp80 %v7_1a3, %v3_189
  store x86_fp80 %v7_1a6, x86_fp80* %st7.global-to-local, align 4
  %v7_1b0 = fsub x86_fp80 %v3_182, %v3_189
  %v4_1b3 = fmul x86_fp80 %v7_1b0, %v4_19a
  store x86_fp80 %v4_1b3, x86_fp80* %st6.global-to-local, align 4
  %v3_1b9 = fadd x86_fp80 %v4_19a, %v4_19a
  %v6_1bb = fmul x86_fp80 %v3_1b9, %v4_187
  %v6_1bd = fmul x86_fp80 %v6_1bb, %v4_180
  %v2_1c0 = add i32 %v1_1d6, 32
  %v3_1c0 = inttoptr i32 %v2_1c0 to double*
  %v4_1c0 = load double, double* %v3_1c0, align 4
  %v5_1c0 = fpext double %v4_1c0 to x86_fp80
  %v3_1c3 = add i32 %v2_1d9, -48
  %v4_1c3 = inttoptr i32 %v3_1c3 to double*
  %v5_1c3 = load double, double* %v4_1c3, align 4
  %v6_1c3 = fpext double %v5_1c3 to x86_fp80
  %v7_1c3 = fmul x86_fp80 %v5_1c0, %v6_1c3
  %v4_1c6 = fadd x86_fp80 %v7_1c3, %v6_1bd
  %tmp277 = bitcast double %v3_180 to i64
  %tmp278 = trunc i64 %tmp277 to i32
  %v3_1c8 = fptrunc x86_fp80 %v4_1c6 to double
  %v4_1c8 = inttoptr i32 %tmp278 to double*
  store double %v3_1c8, double* %v4_1c8, align 4
  %v2_1cb = add i32 %v1_1d6, 40
  %v3_1cb = inttoptr i32 %v2_1cb to double*
  %v4_1cb = load double, double* %v3_1cb, align 4
  %v5_1cb = fpext double %v4_1cb to x86_fp80
  %v3_1ce = add i32 %v2_1d9, -40
  %v4_1ce = inttoptr i32 %v3_1ce to double*
  %v5_1ce = load double, double* %v4_1ce, align 4
  %v6_1ce = fpext double %v5_1ce to x86_fp80
  %v7_1ce = fmul x86_fp80 %v5_1cb, %v6_1ce
  %v3_1d1 = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v4_1d1 = fadd x86_fp80 %v3_1d1, %v7_1ce
  store x86_fp80 %v4_1d1, x86_fp80* %st6.global-to-local, align 4
  %v2_1d3 = load i32, i32* @ecx, align 8
  %v3_1d3 = fptrunc x86_fp80 %v4_1d1 to double
  %v4_1d3 = inttoptr i32 %v2_1d3 to double*
  store double %v3_1d3, double* %v4_1d3, align 4
  %v2_1d6 = add i32 %v1_1d6, 24
  %v3_1d6 = inttoptr i32 %v2_1d6 to double*
  %v4_1d6 = load double, double* %v3_1d6, align 4
  %v5_1d6 = fpext double %v4_1d6 to x86_fp80
  store x86_fp80 %v5_1d6, x86_fp80* %st6.global-to-local, align 4
  %v3_1d9 = add i32 %v2_1d9, -32
  %v4_1d9 = inttoptr i32 %v3_1d9 to double*
  %v5_1d9 = load double, double* %v4_1d9, align 4
  %v6_1d9 = fpext double %v5_1d9 to x86_fp80
  %v7_1d9 = fmul x86_fp80 %v5_1d6, %v6_1d9
  store x86_fp80 %v7_1d9, x86_fp80* %st6.global-to-local, align 4
  %v3_1dc = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v4_1dc = fadd x86_fp80 %v7_1d9, %v3_1dc
  store x86_fp80 %v4_1dc, x86_fp80* %st7.global-to-local, align 4
  %v3_1de = fptrunc x86_fp80 %v4_1dc to double
  store double %v3_1de, double* %v4_1de.pre-phi, align 4
  %v5_1de = add i3 %v0_179, add (i3 add (i3 ptrtoint (i8* @global_var_1.1 to i3), i3 ptrtoint (i8* @global_var_1.1 to i3)), i3 add (i3 add (i3 ptrtoint (i8* @global_var_1.1 to i3), i3 ptrtoint (i8* @global_var_1.1 to i3)), i3 add (i3 add (i3 ptrtoint (i8* @global_var_1.1 to i3), 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 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 ptrtoint (i8* @global_var_1.1 to i3), i3 ptrtoint (i8* @global_var_1.1 to i3)))))))))))))
  store i3 %v5_1de, i3* %fpu_stat_TOP.global-to-local, align 1
  store i32 %v2_1de, 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_1de
}

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

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

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

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 }
