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

@eax = internal unnamed_addr global i32 0, align 8
@ecx = internal unnamed_addr global i32 0, align 8
@edx = internal unnamed_addr global i32 0, align 8

define i32 @function_0(i32 %arg1) local_unnamed_addr {
dec_label_pc_0:
  %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
  %st0.global-to-local = alloca x86_fp80, align 4
  %st3.global-to-local = alloca x86_fp80, align 4
  %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_3 = load i32, i32* %ebx.global-to-local, align 4
  %v0_4 = load i32, i32* @eax, align 8
  %v0_5 = load i32, i32* %esi.global-to-local, align 4
  %v0_6 = load i32, i32* %edi.global-to-local, align 4
  store i32 %arg1, i32* %esi.global-to-local, align 4
  store i32 %v0_4, i32* %ebx.global-to-local, align 4
  %v1_d = add i32 %arg1, 48
  %v2_d = inttoptr i32 %v1_d to i32*
  %v3_d = load i32, i32* %v2_d, align 4
  store i32 %v3_d, i32* %edi.global-to-local, align 4
  %v0_10 = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  %v1_10 = load i32, i32* @ecx, align 8
  %v2_10 = add i32 %v1_10, 8
  %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
  %v3_13 = fmul x86_fp80 %v5_10, %v5_10
  %v3_15 = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_15 = fpext double %v3_15 to x86_fp80
  %v5_15 = add i3 %v0_10, -2
  %v3_17 = fmul x86_fp80 %v4_15, %v4_15
  %v4_19 = fadd x86_fp80 %v3_13, %v3_17
  %v3_1b = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_1b = fpext double %v3_1b to x86_fp80
  %v3_1d = fmul x86_fp80 %v4_1b, %v4_1b
  %v4_1f = fadd x86_fp80 %v3_1d, %v4_19
  %v2_21 = call x86_fp80 @llvm.sqrt.f80(x86_fp80 %v4_1f)
  store x86_fp80 %v2_21, x86_fp80* %st7.global-to-local, align 4
  store i3 %v5_15, i3* %fpu_stat_TOP.global-to-local, align 1
  store x86_fp80 %v2_21, x86_fp80* %st6.global-to-local, align 4
  %v0_27 = load i32, i32* %fpsw.global-to-local, align 4
  %v1_27 = call i16 @__asm_fnstsw(i32 %v0_27)
  %v2_27 = sext i16 %v1_27 to i32
  %v3_27 = load i32, i32* @eax, align 8
  %v4_27 = and i32 %v3_27, -65536
  %v5_27 = or i32 %v4_27, %v2_27
  store i32 %v5_27, i32* @eax, align 8
  %v9_2b11 = and i32 %v2_27, 16384
  %v10_2b = icmp eq i32 %v9_2b11, 0
  %v0_2c = load x86_fp80, x86_fp80* %st0.global-to-local, align 4
  call void @__asm_ffree(x86_fp80 %v0_2c)
  %v0_2e = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  %v1_2e = add i3 %v0_2e, 1
  store i3 %v1_2e, i3* %fpu_stat_TOP.global-to-local, align 1
  br i1 %v10_2b, label %dec_label_pc_32, label %dec_label_pc_83

dec_label_pc_32:                                  ; preds = %dec_label_pc_0
  %v1_84 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  store x86_fp80 %v1_84, x86_fp80* %st6.global-to-local, align 4
  %v3_34 = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_34 = fpext double %v3_34 to x86_fp80
  %v5_34 = add i3 %v0_2e, -1
  store i3 %v5_34, i3* %fpu_stat_TOP.global-to-local, align 1
  store x86_fp80 %v4_34, x86_fp80* %st5.global-to-local, align 4
  %v0_36 = call i32 @__asm_fpatan()
  store i32 %v0_36, i32* @eax, align 8
  %v0_38 = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  %v2_38 = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v3_38 = add i3 %v0_38, -1
  %v3_3a = load x86_fp80, x86_fp80* %st5.global-to-local, align 4
  %v4_3a = fdiv x86_fp80 %v3_3a, %v2_38
  store x86_fp80 %v4_3a, x86_fp80* %st5.global-to-local, align 4
  %v3_3c = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_3c = fpext double %v3_3c to x86_fp80
  %v3_3e = fmul x86_fp80 %v4_3c, %v4_3c
  %v3_42 = fmul x86_fp80 %v2_38, %v2_38
  %v4_44 = fadd x86_fp80 %v3_42, %v3_3e
  store x86_fp80 %v4_44, x86_fp80* %st4.global-to-local, align 4
  store x86_fp80 %v4_44, x86_fp80* %st3.global-to-local, align 4
  store i3 %v3_38, i3* %fpu_stat_TOP.global-to-local, align 1
  %v0_4c = load i32, i32* %fpsw.global-to-local, align 4
  %v1_4c = call i16 @__asm_fnstsw(i32 %v0_4c)
  %v2_4c = sext i16 %v1_4c to i32
  %v3_4c = load i32, i32* @eax, align 8
  %v4_4c = and i32 %v3_4c, -65536
  %v1_4e = udiv i32 %v2_4c, 256
  %v2_4e = trunc i32 %v1_4e to i8
  %v3_4e = and i8 %v2_4e, 65
  %v4_4e = icmp eq i8 %v3_4e, 0
  %v9_4e = zext i8 %v3_4e to i32
  %v11_4e = mul i32 %v9_4e, 256
  %v2_4c.masked = and i32 %v2_4c, -65281
  %v12_4e = or i32 %v4_4c, %v2_4c.masked
  %v13_4e = or i32 %v12_4e, %v11_4e
  store i32 %v13_4e, i32* @eax, align 8
  %v0_60 = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  br i1 %v4_4e, label %dec_label_pc_60, label %dec_label_pc_53

dec_label_pc_53:                                  ; preds = %dec_label_pc_32
  %v1_55 = add i3 %v0_60, -2
  store i3 %v1_55, i3* %fpu_stat_TOP.global-to-local, align 1
  store x86_fp80 0xK3FFEB17217F7D1CF7800, x86_fp80* %st3.global-to-local, align 4
  %v0_59 = call i32 @__asm_fyl2x()
  store i32 %v0_59, i32* @eax, align 8
  %v2_5b = load i32, i32* %edi.global-to-local, align 4
  %v0_63.pre = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  br label %dec_label_pc_63

dec_label_pc_60:                                  ; preds = %dec_label_pc_32
  %v1_60 = load i32, i32* %edi.global-to-local, align 4
  %v2_60 = add i32 %v1_60, 16
  %v3_60 = inttoptr i32 %v2_60 to double*
  %v4_60 = load double, double* %v3_60, align 4
  %v5_60 = fpext double %v4_60 to x86_fp80
  %v6_60 = add i3 %v0_60, -1
  store i3 %v6_60, i3* %fpu_stat_TOP.global-to-local, align 1
  store x86_fp80 %v5_60, x86_fp80* %st3.global-to-local, align 4
  br label %dec_label_pc_63

dec_label_pc_63:                                  ; preds = %dec_label_pc_60, %dec_label_pc_53
  %v1_ad16 = phi i32 [ %v1_60, %dec_label_pc_60 ], [ %v2_5b, %dec_label_pc_53 ]
  %v1_63 = phi double [ %v4_60, %dec_label_pc_60 ], [ 0x3FE62E42FEFA39EF, %dec_label_pc_53 ]
  %v0_63 = phi i3 [ %v6_60, %dec_label_pc_60 ], [ %v0_63.pre, %dec_label_pc_53 ]
  %v2_63 = load i32, i32* %ebx.global-to-local, align 4
  %v4_63 = inttoptr i32 %v2_63 to double*
  store double %v1_63, double* %v4_63, align 4
  %v3_65 = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_65 = fpext double %v3_65 to x86_fp80
  %v3_67 = load x86_fp80, x86_fp80* %st5.global-to-local, align 4
  %v4_67 = fmul x86_fp80 %v3_67, %v4_65
  %tmp254 = bitcast double %v3_65 to i64
  %tmp255 = trunc i64 %tmp254 to i32
  %v3_69 = fptrunc x86_fp80 %v4_67 to double
  %v4_69 = inttoptr i32 %tmp255 to double*
  store double %v3_69, double* %v4_69, align 4
  %v3_6b = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_6b = fpext double %v3_6b to x86_fp80
  %v3_6d = load x86_fp80, x86_fp80* %st5.global-to-local, align 4
  %v4_6d = fmul x86_fp80 %v3_6d, %v4_6b
  store x86_fp80 %v4_6d, x86_fp80* %st3.global-to-local, align 4
  %tmp256 = bitcast double %v3_6b to i64
  %tmp257 = trunc i64 %tmp256 to i32
  %v3_6f = fptrunc x86_fp80 %v4_6d to double
  %v4_6f = inttoptr i32 %tmp257 to double*
  store double %v3_6f, double* %v4_6f, align 4
  %v1_71 = load i32, i32* @ecx, align 8
  %v2_71 = add i32 %v1_71, 8
  %v3_71 = inttoptr i32 %v2_71 to double*
  %v4_71 = load double, double* %v3_71, align 4
  %v5_71 = fpext double %v4_71 to x86_fp80
  %v3_74 = load x86_fp80, x86_fp80* %st5.global-to-local, align 4
  %v4_74 = fmul x86_fp80 %v3_74, %v5_71
  store x86_fp80 %v4_74, x86_fp80* %st3.global-to-local, align 4
  %v4_76 = fptrunc x86_fp80 %v4_74 to double
  store double %v4_76, double* %v3_71, align 4
  %v4_7d = xor i3 %v0_63, -4
  store i3 %v4_7d, i3* %fpu_stat_TOP.global-to-local, align 1
  br label %dec_label_pc_a6

dec_label_pc_83:                                  ; preds = %dec_label_pc_0
  %v4_84 = add i3 %v0_2e, 2
  %v3_86 = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_86 = fpext double %v3_86 to x86_fp80
  store x86_fp80 %v4_86, x86_fp80* %st7.global-to-local, align 4
  %v1_88 = load i32, i32* %edi.global-to-local, align 4
  %v2_88 = inttoptr i32 %v1_88 to double*
  %v3_88 = load double, double* %v2_88, align 4
  %v4_88 = fpext double %v3_88 to x86_fp80
  store x86_fp80 %v4_88, x86_fp80* %st6.global-to-local, align 4
  store i3 %v4_84, i3* %fpu_stat_TOP.global-to-local, align 1
  %v0_8c = load i32, i32* %fpsw.global-to-local, align 4
  %v1_8c = call i16 @__asm_fnstsw(i32 %v0_8c)
  %v2_8c = sext i16 %v1_8c to i32
  %v3_8c = load i32, i32* @eax, align 8
  %v4_8c = and i32 %v3_8c, -65536
  %v1_8e = udiv i32 %v2_8c, 256
  %v2_8e = trunc i32 %v1_8e to i8
  %v3_8e = and i8 %v2_8e, 65
  %v4_8e = icmp eq i8 %v3_8e, 0
  %v9_8e = zext i8 %v3_8e to i32
  %v11_8e = mul i32 %v9_8e, 256
  %v2_8c.masked = and i32 %v2_8c, -65281
  %v12_8e = or i32 %v4_8c, %v2_8c.masked
  %v13_8e = or i32 %v12_8e, %v11_8e
  store i32 %v13_8e, i32* @eax, align 8
  %v0_a1 = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  br i1 %v4_8e, label %dec_label_pc_a1, label %dec_label_pc_93

dec_label_pc_93:                                  ; preds = %dec_label_pc_83
  %v3_93 = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_93 = fpext double %v3_93 to x86_fp80
  %v1_95 = add i3 %v0_a1, -2
  store i3 %v1_95, i3* %fpu_stat_TOP.global-to-local, align 1
  store x86_fp80 %v4_93, x86_fp80* %st6.global-to-local, align 4
  store x86_fp80 0xK3FFEB17217F7D1CF7800, x86_fp80* %st7.global-to-local, align 4
  %v0_99 = call i32 @__asm_fyl2x()
  store i32 %v0_99, i32* @eax, align 8
  %v0_9b = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  %v1_9b = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v2_9b = load i32, i32* %ebx.global-to-local, align 4
  %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
  %v5_9b = add i3 %v0_9b, 1
  store i3 %v5_9b, i3* %fpu_stat_TOP.global-to-local, align 1
  %v1_ad.pre = load i32, i32* %edi.global-to-local, align 4
  br label %dec_label_pc_a6

dec_label_pc_a1:                                  ; preds = %dec_label_pc_83
  %v1_a1 = load i32, i32* %edi.global-to-local, align 4
  %v2_a1 = add i32 %v1_a1, 16
  %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
  %v2_a4 = load i32, i32* %ebx.global-to-local, align 4
  %v4_a4 = inttoptr i32 %v2_a4 to double*
  store double %v4_a1, double* %v4_a4, align 4
  br label %dec_label_pc_a6

dec_label_pc_a6:                                  ; preds = %dec_label_pc_a1, %dec_label_pc_93, %dec_label_pc_63
  %v4_ce.pre-phi = phi double* [ %v4_a4, %dec_label_pc_a1 ], [ %v4_9b, %dec_label_pc_93 ], [ %v4_63, %dec_label_pc_63 ]
  %v2_e9 = phi i32 [ %v1_a1, %dec_label_pc_a1 ], [ %v1_ad.pre, %dec_label_pc_93 ], [ %v1_ad16, %dec_label_pc_63 ]
  %v0_aa = phi i3 [ %v0_a1, %dec_label_pc_a1 ], [ %v5_9b, %dec_label_pc_93 ], [ %v4_7d, %dec_label_pc_63 ]
  %v1_aa = load i32, i32* @ecx, align 8
  %v2_aa = add i32 %v1_aa, 8
  %v3_aa = inttoptr i32 %v2_aa to double*
  %v4_aa = load double, double* %v3_aa, align 4
  %v5_aa = fpext double %v4_aa to x86_fp80
  store x86_fp80 %v5_aa, x86_fp80* %st7.global-to-local, align 4
  %v2_ad = add i32 %v2_e9, -72
  %v3_ad = inttoptr i32 %v2_ad to double*
  %v4_ad = load double, double* %v3_ad, align 4
  %v5_ad = fpext double %v4_ad to x86_fp80
  store x86_fp80 %v5_ad, x86_fp80* %st6.global-to-local, align 4
  %v4_b0 = fmul x86_fp80 %v5_aa, %v5_ad
  %v4_b2 = fptrunc x86_fp80 %v4_b0 to double
  store double %v4_b2, double* %v3_aa, align 4
  %v3_b5 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_b5 = fpext double %v3_b5 to x86_fp80
  store x86_fp80 %v4_b5, x86_fp80* %st7.global-to-local, align 4
  %v2_b7 = add i32 %v2_e9, -64
  %v3_b7 = inttoptr i32 %v2_b7 to double*
  %v4_b7 = load double, double* %v3_b7, align 4
  %v5_b7 = fpext double %v4_b7 to x86_fp80
  store x86_fp80 %v5_b7, x86_fp80* %st6.global-to-local, align 4
  %v4_ba = fmul x86_fp80 %v4_b5, %v5_b7
  %tmp258 = bitcast double %v3_b5 to i64
  %tmp259 = trunc i64 %tmp258 to i32
  %v3_bc = fptrunc x86_fp80 %v4_ba to double
  %v4_bc = inttoptr i32 %tmp259 to double*
  store double %v3_bc, double* %v4_bc, align 4
  %v3_be = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_be = fpext double %v3_be to x86_fp80
  store x86_fp80 %v4_be, x86_fp80* %st7.global-to-local, align 4
  %v2_c0 = add i32 %v2_e9, -56
  %v3_c0 = inttoptr i32 %v2_c0 to double*
  %v4_c0 = load double, double* %v3_c0, align 4
  %v5_c0 = fpext double %v4_c0 to x86_fp80
  store x86_fp80 %v5_c0, x86_fp80* %st6.global-to-local, align 4
  %v4_c3 = fmul x86_fp80 %v4_be, %v5_c0
  %tmp260 = bitcast double %v3_be to i64
  %tmp261 = trunc i64 %tmp260 to i32
  %v3_c5 = fptrunc x86_fp80 %v4_c3 to double
  %v4_c5 = inttoptr i32 %tmp261 to double*
  store double %v3_c5, double* %v4_c5, align 4
  %v3_c7 = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_c7 = fpext double %v3_c7 to x86_fp80
  store x86_fp80 %v4_c7, x86_fp80* %st7.global-to-local, align 4
  %v2_c9 = add i32 %v2_e9, -48
  %v3_c9 = inttoptr i32 %v2_c9 to double*
  %v4_c9 = load double, double* %v3_c9, align 4
  %v5_c9 = fpext double %v4_c9 to x86_fp80
  store x86_fp80 %v5_c9, x86_fp80* %st6.global-to-local, align 4
  %v4_cc = fmul x86_fp80 %v4_c7, %v5_c9
  %v3_ce = fptrunc x86_fp80 %v4_cc to double
  store double %v3_ce, double* %v4_ce.pre-phi, align 4
  %v3_d4 = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_d4 = fpext double %v3_d4 to x86_fp80
  store x86_fp80 %v4_d4, x86_fp80* %st7.global-to-local, align 4
  %v3_d7 = add i32 %v2_e9, -16
  %v4_d7 = inttoptr i32 %v3_d7 to double*
  %v5_d7 = load double, double* %v4_d7, align 4
  %v6_d7 = fpext double %v5_d7 to x86_fp80
  %v7_d7 = fmul x86_fp80 %v4_d4, %v6_d7
  store x86_fp80 %v7_d7, x86_fp80* %st7.global-to-local, align 4
  %v3_dc = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_dc = fpext double %v3_dc to x86_fp80
  %v5_dc = add i3 %v0_aa, -2
  store x86_fp80 %v4_dc, x86_fp80* %st6.global-to-local, align 4
  %v3_df = add i32 %v2_e9, -24
  %v4_df = inttoptr i32 %v3_df to double*
  %v5_df = load double, double* %v4_df, align 4
  %v6_df = fpext double %v5_df to x86_fp80
  %v7_df = fmul x86_fp80 %v4_dc, %v6_df
  %v4_e4 = fsub x86_fp80 %v7_d7, %v7_df
  store x86_fp80 %v4_e4, x86_fp80* %st7.global-to-local, align 4
  %v3_e6 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_e6 = fpext double %v3_e6 to x86_fp80
  store x86_fp80 %v4_e6, x86_fp80* %st6.global-to-local, align 4
  %v3_e9 = add i32 %v2_e9, -32
  %v4_e9 = inttoptr i32 %v3_e9 to double*
  %v5_e9 = load double, double* %v4_e9, align 4
  %v6_e9 = fpext double %v5_e9 to x86_fp80
  %v7_e9 = fmul x86_fp80 %v4_e6, %v6_e9
  %v2_ec = fsub x86_fp80 0xK80000000000000000000, %v7_e9
  store x86_fp80 %v2_ec, x86_fp80* %st6.global-to-local, align 4
  %v4_ee = fsub x86_fp80 %v4_e4, %v7_e9
  store x86_fp80 %v4_ee, x86_fp80* %st7.global-to-local, align 4
  %tmp262 = bitcast double %v3_e6 to i64
  %tmp263 = trunc i64 %tmp262 to i32
  %v2_f0 = add i32 %tmp263, 8
  %v3_f0 = inttoptr i32 %v2_f0 to double*
  %v4_f0 = load double, double* %v3_f0, align 4
  %v5_f0 = fpext double %v4_f0 to x86_fp80
  store x86_fp80 %v5_f0, x86_fp80* %st6.global-to-local, align 4
  %v3_f3 = add i32 %v2_e9, -40
  %v4_f3 = inttoptr i32 %v3_f3 to double*
  %v5_f3 = load double, double* %v4_f3, align 4
  %v6_f3 = fpext double %v5_f3 to x86_fp80
  %v7_f3 = fmul x86_fp80 %v5_f0, %v6_f3
  %v4_f8 = fsub x86_fp80 %v4_ee, %v7_f3
  store x86_fp80 %v4_f8, x86_fp80* %st7.global-to-local, align 4
  store x86_fp80 %v4_d4, x86_fp80* %st6.global-to-local, align 4
  %v5_ff = load double, double* %v4_df, align 4
  %v6_ff = fpext double %v5_ff to x86_fp80
  %v7_ff = fmul x86_fp80 %v4_d4, %v6_ff
  store x86_fp80 %v7_ff, x86_fp80* %st6.global-to-local, align 4
  %v5_104 = add i3 %v0_aa, -3
  store x86_fp80 %v4_dc, x86_fp80* %st5.global-to-local, align 4
  %v5_107 = load double, double* %v4_d7, align 4
  %v6_107 = fpext double %v5_107 to x86_fp80
  %v7_107 = fmul x86_fp80 %v4_dc, %v6_107
  %v4_10c = fadd x86_fp80 %v7_ff, %v7_107
  store x86_fp80 %v4_10c, x86_fp80* %st6.global-to-local, align 4
  store x86_fp80 %v4_e6, x86_fp80* %st5.global-to-local, align 4
  %v5_111 = load double, double* %v4_f3, align 4
  %v6_111 = fpext double %v5_111 to x86_fp80
  %v7_111 = fmul x86_fp80 %v4_e6, %v6_111
  store x86_fp80 %v7_111, x86_fp80* %st5.global-to-local, align 4
  %v4_116 = fadd x86_fp80 %v4_10c, %v7_111
  store x86_fp80 %v4_116, x86_fp80* %st6.global-to-local, align 4
  %v4_118 = load double, double* %v3_f0, align 4
  %v5_118 = fpext double %v4_118 to x86_fp80
  store x86_fp80 %v5_118, x86_fp80* %st5.global-to-local, align 4
  %v5_11b = load double, double* %v4_e9, align 4
  %v6_11b = fpext double %v5_11b to x86_fp80
  %v7_11b = fmul x86_fp80 %v5_118, %v6_11b
  %v4_120 = fsub x86_fp80 %v4_116, %v7_11b
  store x86_fp80 %v4_120, x86_fp80* %st6.global-to-local, align 4
  store x86_fp80 %v4_d4, x86_fp80* %st5.global-to-local, align 4
  %v5_127 = load double, double* %v4_e9, align 4
  %v6_127 = fpext double %v5_127 to x86_fp80
  %v7_127 = fmul x86_fp80 %v4_d4, %v6_127
  store x86_fp80 %v7_127, x86_fp80* %st5.global-to-local, align 4
  store x86_fp80 %v4_dc, x86_fp80* %st4.global-to-local, align 4
  %v5_12f = load double, double* %v4_f3, align 4
  %v6_12f = fpext double %v5_12f to x86_fp80
  %v7_12f = fmul x86_fp80 %v4_dc, %v6_12f
  %v4_134 = fsub x86_fp80 %v7_127, %v7_12f
  store x86_fp80 %v4_134, x86_fp80* %st5.global-to-local, align 4
  store x86_fp80 %v4_e6, x86_fp80* %st4.global-to-local, align 4
  %v5_139 = load double, double* %v4_d7, align 4
  %v6_139 = fpext double %v5_139 to x86_fp80
  %v7_139 = fmul x86_fp80 %v4_e6, %v6_139
  store x86_fp80 %v7_139, x86_fp80* %st4.global-to-local, align 4
  %v4_13e = fadd x86_fp80 %v4_134, %v7_139
  store x86_fp80 %v4_13e, x86_fp80* %st5.global-to-local, align 4
  %v4_140 = load double, double* %v3_f0, align 4
  %v5_140 = fpext double %v4_140 to x86_fp80
  store x86_fp80 %v5_140, x86_fp80* %st4.global-to-local, align 4
  %v2_143 = load i32, i32* %edi.global-to-local, align 4
  %v3_143 = add i32 %v2_143, -24
  %v4_143 = inttoptr i32 %v3_143 to double*
  %v5_143 = load double, double* %v4_143, align 4
  %v6_143 = fpext double %v5_143 to x86_fp80
  %v7_143 = fmul x86_fp80 %v5_140, %v6_143
  %v4_148 = fadd x86_fp80 %v4_13e, %v7_143
  store x86_fp80 %v4_148, x86_fp80* %st5.global-to-local, align 4
  store x86_fp80 %v4_d4, x86_fp80* %st4.global-to-local, align 4
  %v3_14f = add i32 %v2_143, -40
  %v4_14f = inttoptr i32 %v3_14f to double*
  %v5_14f = load double, double* %v4_14f, align 4
  %v6_14f = fpext double %v5_14f to x86_fp80
  %v7_14f = fmul x86_fp80 %v4_d4, %v6_14f
  store x86_fp80 %v7_14f, x86_fp80* %st4.global-to-local, align 4
  %v3_154 = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_154 = fpext double %v3_154 to x86_fp80
  store x86_fp80 %v4_154, x86_fp80* %st3.global-to-local, align 4
  %v3_157 = add i32 %v2_143, -32
  %v4_157 = inttoptr i32 %v3_157 to double*
  %v5_157 = load double, double* %v4_157, align 4
  %v6_157 = fpext double %v5_157 to x86_fp80
  %v7_157 = fmul x86_fp80 %v4_154, %v6_157
  %v4_15c = fadd x86_fp80 %v7_14f, %v7_157
  store x86_fp80 %v4_15c, x86_fp80* %st4.global-to-local, align 4
  %v3_15e = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_15e = fpext double %v3_15e to x86_fp80
  store x86_fp80 %v4_15e, x86_fp80* %st3.global-to-local, align 4
  %v5_161 = load double, double* %v4_143, align 4
  %v6_161 = fpext double %v5_161 to x86_fp80
  %v7_161 = fmul x86_fp80 %v4_15e, %v6_161
  %v2_164 = fsub x86_fp80 0xK80000000000000000000, %v7_161
  store x86_fp80 %v2_164, x86_fp80* %st3.global-to-local, align 4
  %v4_166 = fsub x86_fp80 %v4_15c, %v7_161
  store x86_fp80 %v4_166, x86_fp80* %st4.global-to-local, align 4
  %tmp264 = bitcast double %v3_15e to i64
  %tmp265 = trunc i64 %tmp264 to i32
  %v2_168 = add i32 %tmp265, 8
  %v3_168 = inttoptr i32 %v2_168 to double*
  %v4_168 = load double, double* %v3_168, align 4
  %v5_168 = fpext double %v4_168 to x86_fp80
  store x86_fp80 %v5_168, x86_fp80* %st3.global-to-local, align 4
  %v3_16b = add i32 %v2_143, -16
  %v4_16b = inttoptr i32 %v3_16b to double*
  %v5_16b = load double, double* %v4_16b, align 4
  %v6_16b = fpext double %v5_16b to x86_fp80
  %v7_16b = fmul x86_fp80 %v5_168, %v6_16b
  store x86_fp80 %v7_16b, x86_fp80* %st3.global-to-local, align 4
  %v4_170 = fadd x86_fp80 %v4_166, %v7_16b
  store x86_fp80 %v4_170, x86_fp80* %st4.global-to-local, align 4
  %v4_175 = fptrunc x86_fp80 %v4_170 to double
  store double %v4_175, double* %v3_168, align 4
  %v1_178 = load x86_fp80, x86_fp80* %st5.global-to-local, align 4
  %v2_178 = load i32, i32* @ecx, align 8
  %v3_178 = fptrunc x86_fp80 %v1_178 to double
  %v4_178 = inttoptr i32 %v2_178 to double*
  store double %v3_178, double* %v4_178, align 4
  %v1_17a = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v2_17a = load i32, i32* @edx, align 8
  %v3_17a = fptrunc x86_fp80 %v1_17a to double
  %v4_17a = inttoptr i32 %v2_17a to double*
  store double %v3_17a, double* %v4_17a, align 4
  %v1_17c = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v2_17c = load i32, i32* %ebx.global-to-local, align 4
  %v3_17c = fptrunc x86_fp80 %v1_17c to double
  %v4_17c = inttoptr i32 %v2_17c to double*
  store double %v3_17c, double* %v4_17c, align 4
  %v1_17e = load i32, i32* @ecx, align 8
  %v2_17e = add i32 %v1_17e, 8
  %v3_17e = inttoptr i32 %v2_17e to double*
  %v4_17e = load double, double* %v3_17e, align 4
  %v5_17e = fpext double %v4_17e to x86_fp80
  %v3_181 = fmul x86_fp80 %v5_17e, %v5_17e
  %v3_183 = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_183 = fpext double %v3_183 to x86_fp80
  %v3_185 = fmul x86_fp80 %v4_183, %v4_183
  %v4_187 = fadd x86_fp80 %v3_181, %v3_185
  %v3_189 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_189 = fpext double %v3_189 to x86_fp80
  %v3_18b = fmul x86_fp80 %v4_189, %v4_189
  %v4_18d = fadd x86_fp80 %v3_18b, %v4_187
  %v2_18f = call x86_fp80 @llvm.sqrt.f80(x86_fp80 %v4_18d)
  store x86_fp80 %v2_18f, x86_fp80* %st7.global-to-local, align 4
  store i3 %v5_dc, i3* %fpu_stat_TOP.global-to-local, align 1
  store x86_fp80 %v2_18f, x86_fp80* %st6.global-to-local, align 4
  %v2_193 = call x86_fp80 @llvm.fabs.f80(x86_fp80 %v2_18f)
  %v3_193 = fcmp olt x86_fp80 %v2_193, 0xK403E8000000000000000
  br i1 %v3_193, label %bb, label %bb266

bb:                                               ; preds = %dec_label_pc_a6
  %v4_193 = call x86_fp80 @llvm.sin.f80(x86_fp80 %v2_18f)
  store x86_fp80 %v4_193, x86_fp80* %st6.global-to-local, align 4
  %v7_193 = call x86_fp80 @llvm.cos.f80(x86_fp80 %v2_18f)
  store i3 %v5_104, i3* %fpu_stat_TOP.global-to-local, align 1
  store x86_fp80 %v7_193, x86_fp80* %st5.global-to-local, align 4
  br label %bb266

bb266:                                            ; preds = %dec_label_pc_a6, %bb
  %v0_197 = phi i3 [ %v5_dc, %dec_label_pc_a6 ], [ %v5_104, %bb ]
  %v3_197 = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_197 = fpext double %v3_197 to x86_fp80
  %v4_19b = fmul x86_fp80 %v4_197, 0xK3FFFB8AA3B295C17F000
  store x86_fp80 %v4_19b, x86_fp80* %st4.global-to-local, align 4
  store x86_fp80 0xK3FFF8000000000000000, x86_fp80* %st3.global-to-local, align 4
  %v3_19f = add i3 %v0_197, -3
  store i3 %v3_19f, i3* %fpu_stat_TOP.global-to-local, align 1
  %v0_1a1 = call i32 @__asm_fprem()
  store i32 %v0_1a1, i32* @eax, align 8
  %v0_1a3 = call i32 @__asm_f2xm1()
  store i32 %v0_1a3, i32* @eax, align 8
  %v0_1a5 = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  %v3_1a5 = load x86_fp80, x86_fp80* %st3.global-to-local, align 4
  %v4_1a5 = fadd x86_fp80 %v4_19b, %v3_1a5
  store x86_fp80 %v4_1a5, x86_fp80* %st3.global-to-local, align 4
  %v7_1a5 = add i3 %v0_1a5, 1
  store i3 %v7_1a5, i3* %fpu_stat_TOP.global-to-local, align 1
  %v0_1a7 = call i32 @__asm_fscale()
  store i32 %v0_1a7, i32* @eax, align 8
  store x86_fp80 %v4_1a5, x86_fp80* %st4.global-to-local, align 4
  %v0_1ab = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  %v3_1af = load x86_fp80, x86_fp80* %st5.global-to-local, align 4
  %v4_1af = fmul x86_fp80 %v4_1a5, %v3_1af
  %v2_1b1 = load i32, i32* %ebx.global-to-local, align 4
  %v3_1b1 = fptrunc x86_fp80 %v4_1af to double
  %v4_1b1 = inttoptr i32 %v2_1b1 to double*
  store double %v3_1b1, double* %v4_1b1, align 4
  %v5_1b1 = add i3 %v0_1ab, 1
  %v2_1b3 = load x86_fp80, x86_fp80* %st4.global-to-local, align 4
  %v3_1b3 = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v4_1b3 = fmul x86_fp80 %v2_1b3, %v3_1b3
  store x86_fp80 %v4_1b3, x86_fp80* %st4.global-to-local, align 4
  %v2_1b5 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  store x86_fp80 %v2_1b5, x86_fp80* %st3.global-to-local, align 4
  store i3 %v5_1b1, i3* %fpu_stat_TOP.global-to-local, align 1
  %v0_1bb = load i32, i32* %fpsw.global-to-local, align 4
  %v1_1bb = call i16 @__asm_fnstsw(i32 %v0_1bb)
  %v2_1bb = sext i16 %v1_1bb to i32
  %v3_1bb = load i32, i32* @eax, align 8
  %v4_1bb = and i32 %v3_1bb, -65536
  %v1_1bd = udiv i32 %v2_1bb, 256
  %v2_1bd = trunc i32 %v1_1bd to i8
  %v3_1bd = and i8 %v2_1bd, 65
  %v4_1bd = icmp eq i8 %v3_1bd, 0
  %v9_1bd = zext i8 %v3_1bd to i32
  %v11_1bd = mul i32 %v9_1bd, 256
  %v2_1bb.masked = and i32 %v2_1bb, -65281
  %v12_1bd = or i32 %v4_1bb, %v2_1bb.masked
  %v13_1bd = or i32 %v12_1bd, %v11_1bd
  store i32 %v13_1bd, i32* @eax, align 8
  %v3_1c6.pre = load x86_fp80, x86_fp80* %st4.global-to-local, align 4
  br i1 %v4_1bd, label %dec_label_pc_1c4, label %dec_label_pc_1c2

dec_label_pc_1c2:                                 ; preds = %bb266
  %v3_1c2 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v4_1c2 = fdiv x86_fp80 %v3_1c6.pre, %v3_1c2
  store x86_fp80 %v4_1c2, x86_fp80* %st4.global-to-local, align 4
  br label %dec_label_pc_1c4

dec_label_pc_1c4:                                 ; preds = %bb266, %dec_label_pc_1c2
  %v3_1c6 = phi x86_fp80 [ %v4_1c2, %dec_label_pc_1c2 ], [ %v3_1c6.pre, %bb266 ]
  %v0_1c4 = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  %v3_1c4 = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_1c4 = fpext double %v3_1c4 to x86_fp80
  %v4_1c6 = fmul x86_fp80 %v3_1c6, %v4_1c4
  %tmp267 = bitcast double %v3_1c4 to i64
  %tmp268 = trunc i64 %tmp267 to i32
  %v3_1c8 = fptrunc x86_fp80 %v4_1c6 to double
  %v4_1c8 = inttoptr i32 %tmp268 to double*
  store double %v3_1c8, double* %v4_1c8, align 4
  %v3_1ca = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_1ca = fpext double %v3_1ca to x86_fp80
  %v3_1cc = load x86_fp80, x86_fp80* %st4.global-to-local, align 4
  %v4_1cc = fmul x86_fp80 %v3_1cc, %v4_1ca
  store x86_fp80 %v4_1cc, x86_fp80* %st3.global-to-local, align 4
  %tmp269 = bitcast double %v3_1ca to i64
  %tmp270 = trunc i64 %tmp269 to i32
  %v3_1ce = fptrunc x86_fp80 %v4_1cc to double
  %v4_1ce = inttoptr i32 %tmp270 to double*
  store double %v3_1ce, double* %v4_1ce, align 4
  %v1_1d0 = load i32, i32* @ecx, align 8
  %v2_1d0 = add i32 %v1_1d0, 8
  %v3_1d0 = inttoptr i32 %v2_1d0 to double*
  %v4_1d0 = load double, double* %v3_1d0, align 4
  %v5_1d0 = fpext double %v4_1d0 to x86_fp80
  %v3_1d3 = load x86_fp80, x86_fp80* %st4.global-to-local, align 4
  %v4_1d3 = fmul x86_fp80 %v3_1d3, %v5_1d0
  store x86_fp80 %v4_1d3, x86_fp80* %st3.global-to-local, align 4
  %v4_1d5 = fptrunc x86_fp80 %v4_1d3 to double
  store double %v4_1d5, double* %v3_1d0, align 4
  %v3_1e4 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_1e4 = fpext double %v3_1e4 to x86_fp80
  store x86_fp80 %v4_1e4, x86_fp80* %st7.global-to-local, align 4
  %v3_1e6 = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_1e6 = fpext double %v3_1e6 to x86_fp80
  store x86_fp80 %v4_1e6, x86_fp80* %st6.global-to-local, align 4
  %v3_1e8 = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_1e8 = fpext double %v3_1e8 to x86_fp80
  store x86_fp80 %v4_1e8, x86_fp80* %st5.global-to-local, align 4
  %v1_1ea = load i32, i32* %esi.global-to-local, align 4
  %v2_1ea = add i32 %v1_1ea, 24
  %v3_1ea = inttoptr i32 %v2_1ea to double*
  %v4_1ea = load double, double* %v3_1ea, align 4
  %v5_1ea = fpext double %v4_1ea to x86_fp80
  store x86_fp80 %v5_1ea, x86_fp80* %st4.global-to-local, align 4
  %v2_1ed = load i32, i32* %edi.global-to-local, align 4
  %v3_1ed = add i32 %v2_1ed, -80
  %v4_1ed = inttoptr i32 %v3_1ed to double*
  %v5_1ed = load double, double* %v4_1ed, align 4
  %v6_1ed = fpext double %v5_1ed to x86_fp80
  %v7_1ed = fmul x86_fp80 %v5_1ea, %v6_1ed
  store x86_fp80 %v7_1ed, x86_fp80* %st4.global-to-local, align 4
  %v4_1f0 = fadd x86_fp80 %v7_1ed, %v4_1e8
  store x86_fp80 %v4_1f0, x86_fp80* %st5.global-to-local, align 4
  %v2_1f2 = load i32, i32* %ebx.global-to-local, align 4
  %v3_1f2 = fptrunc x86_fp80 %v4_1f0 to double
  %v4_1f2 = inttoptr i32 %v2_1f2 to double*
  store double %v3_1f2, double* %v4_1f2, align 4
  %v2_1f4 = add i32 %v1_1ea, 32
  %v3_1f4 = inttoptr i32 %v2_1f4 to double*
  %v4_1f4 = load double, double* %v3_1f4, align 4
  %v5_1f4 = fpext double %v4_1f4 to x86_fp80
  store x86_fp80 %v5_1f4, x86_fp80* %st5.global-to-local, align 4
  %v5_1f7 = load double, double* %v4_1ed, align 4
  %v6_1f7 = fpext double %v5_1f7 to x86_fp80
  %v7_1f7 = fmul x86_fp80 %v5_1f4, %v6_1f7
  store x86_fp80 %v7_1f7, x86_fp80* %st5.global-to-local, align 4
  %v3_1fa = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v4_1fa = fadd x86_fp80 %v7_1f7, %v3_1fa
  store x86_fp80 %v4_1fa, x86_fp80* %st6.global-to-local, align 4
  %v2_1fc = load i32, i32* @edx, align 8
  %v3_1fc = fptrunc x86_fp80 %v4_1fa to double
  %v4_1fc = inttoptr i32 %v2_1fc to double*
  store double %v3_1fc, double* %v4_1fc, align 4
  %v2_1fe = add i32 %v1_1ea, 40
  %v3_1fe = inttoptr i32 %v2_1fe to double*
  %v4_1fe = load double, double* %v3_1fe, align 4
  %v5_1fe = fpext double %v4_1fe to x86_fp80
  store x86_fp80 %v5_1fe, x86_fp80* %st6.global-to-local, align 4
  %v5_201 = load double, double* %v4_1ed, align 4
  %v6_201 = fpext double %v5_201 to x86_fp80
  %v7_201 = fmul x86_fp80 %v5_1fe, %v6_201
  store x86_fp80 %v7_201, x86_fp80* %st6.global-to-local, align 4
  %v3_204 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v4_204 = fadd x86_fp80 %v7_201, %v3_204
  store x86_fp80 %v4_204, x86_fp80* %st7.global-to-local, align 4
  %v2_206 = load i32, i32* @ecx, align 8
  %v3_206 = fptrunc x86_fp80 %v4_204 to double
  %v4_206 = inttoptr i32 %v2_206 to double*
  store double %v3_206, double* %v4_206, align 4
  %v5_206 = xor i3 %v0_1c4, -4
  store i3 %v5_206, i3* %fpu_stat_TOP.global-to-local, align 1
  store i32 %v0_6, i32* %edi.global-to-local, align 4
  store i32 %v0_5, i32* %esi.global-to-local, align 4
  store i32 %v0_4, i32* @eax, align 8
  store i32 %v0_3, i32* %ebx.global-to-local, align 4
  ret i32 %v0_4
}

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

declare i16 @__asm_fnstsw(i32) local_unnamed_addr

declare void @__asm_ffree(x86_fp80) local_unnamed_addr

declare i32 @__asm_fpatan() local_unnamed_addr

declare i32 @__asm_fyl2x() local_unnamed_addr

; 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 i32 @__asm_fprem() local_unnamed_addr

declare i32 @__asm_f2xm1() local_unnamed_addr

declare i32 @__asm_fscale() local_unnamed_addr

attributes #0 = { nounwind readnone speculatable }
