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
  %fpu_stat_TOP.global-to-local = alloca i3, align 1
  %st4.global-to-local = alloca x86_fp80, align 4
  %st5.global-to-local = alloca x86_fp80, align 4
  %st6.global-to-local = alloca x86_fp80, align 4
  %st7.global-to-local = alloca x86_fp80, align 4
  %v0_3 = load i32, i32* %esi.global-to-local, align 4
  %v0_4 = load i32, i32* %edi.global-to-local, align 4
  %v0_5 = load i32, i32* %ebx.global-to-local, align 4
  store i32 %arg1, i32* %esi.global-to-local, align 4
  %v0_9 = load i32, i32* @eax, align 8
  store i32 %v0_9, i32* %ebx.global-to-local, align 4
  %v1_b = add i32 %arg1, 48
  %v2_b = inttoptr i32 %v1_b to i32*
  %v3_b = load i32, i32* %v2_b, align 4
  store i32 %v3_b, i32* %edi.global-to-local, align 4
  %v0_e = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  %v3_e = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_e = fpext double %v3_e to x86_fp80
  store x86_fp80 %v4_e, x86_fp80* %st7.global-to-local, align 4
  %v3_10 = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_10 = fpext double %v3_10 to x86_fp80
  store x86_fp80 %v4_10, x86_fp80* %st6.global-to-local, align 4
  %v3_12 = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_12 = fpext double %v3_12 to x86_fp80
  store x86_fp80 %v4_12, x86_fp80* %st5.global-to-local, align 4
  %v2_14 = xor i3 %v0_e, -4
  store x86_fp80 %v4_12, x86_fp80* %st4.global-to-local, align 4
  %v3_16 = add i32 %v3_b, -36
  %v4_16 = inttoptr i32 %v3_16 to float*
  %v5_16 = load float, float* %v4_16, align 4
  %v6_16 = fpext float %v5_16 to x86_fp80
  %v7_16 = fmul x86_fp80 %v4_12, %v6_16
  store x86_fp80 %v7_16, x86_fp80* %st4.global-to-local, align 4
  %v3_1b = add i32 %v3_b, -40
  %v4_1b = inttoptr i32 %v3_1b to float*
  %v5_1b = load float, float* %v4_1b, align 4
  %v6_1b = fpext float %v5_1b to x86_fp80
  %v7_1b = fmul x86_fp80 %v4_10, %v6_1b
  %v4_1e = fadd x86_fp80 %v7_16, %v7_1b
  store x86_fp80 %v4_1e, x86_fp80* %st4.global-to-local, align 4
  %v3_22 = add i32 %v3_b, -44
  %v4_22 = inttoptr i32 %v3_22 to float*
  %v5_22 = load float, float* %v4_22, align 4
  %v6_22 = fpext float %v5_22 to x86_fp80
  %v7_22 = fmul x86_fp80 %v4_e, %v6_22
  %v4_25 = fadd x86_fp80 %v4_1e, %v7_22
  store x86_fp80 %v4_25, x86_fp80* %st4.global-to-local, align 4
  %v3_29 = add i32 %v3_b, -12
  %v4_29 = inttoptr i32 %v3_29 to float*
  %v5_29 = load float, float* %v4_29, align 4
  %v6_29 = fpext float %v5_29 to x86_fp80
  %v7_29 = fmul x86_fp80 %v4_12, %v6_29
  %v3_2e = add i32 %v3_b, -16
  %v4_2e = inttoptr i32 %v3_2e to float*
  %v5_2e = load float, float* %v4_2e, align 4
  %v6_2e = fpext float %v5_2e to x86_fp80
  %v7_2e = fmul x86_fp80 %v4_10, %v6_2e
  %v4_31 = fadd x86_fp80 %v7_29, %v7_2e
  %v3_35 = add i32 %v3_b, -20
  %v4_35 = inttoptr i32 %v3_35 to float*
  %v5_35 = load float, float* %v4_35, align 4
  %v6_35 = fpext float %v5_35 to x86_fp80
  %v7_35 = fmul x86_fp80 %v4_e, %v6_35
  %v4_38 = fadd x86_fp80 %v4_31, %v7_35
  store x86_fp80 %v4_38, x86_fp80* %st5.global-to-local, align 4
  %v3_3c = add i32 %v3_b, -24
  %v4_3c = inttoptr i32 %v3_3c to float*
  %v5_3c = load float, float* %v4_3c, align 4
  %v6_3c = fpext float %v5_3c to x86_fp80
  %v7_3c = fmul x86_fp80 %v4_12, %v6_3c
  store x86_fp80 %v7_3c, x86_fp80* %st6.global-to-local, align 4
  %v3_41 = add i32 %v3_b, -28
  %v4_41 = inttoptr i32 %v3_41 to float*
  %v5_41 = load float, float* %v4_41, align 4
  %v6_41 = fpext float %v5_41 to x86_fp80
  %v7_41 = fmul x86_fp80 %v4_10, %v6_41
  %v4_44 = fadd x86_fp80 %v7_3c, %v7_41
  store x86_fp80 %v4_44, x86_fp80* %st6.global-to-local, align 4
  store x86_fp80 %v4_e, x86_fp80* %st4.global-to-local, align 4
  store x86_fp80 %v4_25, x86_fp80* %st7.global-to-local, align 4
  %v3_48 = add i32 %v3_b, -32
  %v4_48 = inttoptr i32 %v3_48 to float*
  %v5_48 = load float, float* %v4_48, align 4
  %v6_48 = fpext float %v5_48 to x86_fp80
  %v7_48 = fmul x86_fp80 %v4_e, %v6_48
  store x86_fp80 %v7_48, x86_fp80* %st4.global-to-local, align 4
  %v4_4b = fadd x86_fp80 %v4_44, %v7_48
  store x86_fp80 %v4_4b, x86_fp80* %st6.global-to-local, align 4
  %v3_4d = fptrunc x86_fp80 %v4_38 to double
  %v4_4d = inttoptr i32 %v0_9 to double*
  store double %v3_4d, double* %v4_4d, align 4
  %v1_4f = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v2_4f = load i32, i32* @edx, align 8
  %v3_4f = fptrunc x86_fp80 %v1_4f to double
  %v4_4f = inttoptr i32 %v2_4f to double*
  store double %v3_4f, double* %v4_4f, align 4
  %v1_51 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v2_51 = load i32, i32* @ecx, align 8
  %v3_51 = fptrunc x86_fp80 %v1_51 to double
  %v4_51 = inttoptr i32 %v2_51 to double*
  store double %v3_51, double* %v4_51, align 4
  %v3_55 = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_55 = fpext double %v3_55 to x86_fp80
  store x86_fp80 %v4_55, x86_fp80* %st7.global-to-local, align 4
  %v3_57 = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_57 = fpext double %v3_57 to x86_fp80
  store x86_fp80 %v4_57, x86_fp80* %st6.global-to-local, align 4
  %v1_59 = add i32 %arg1, 208
  %v2_59 = inttoptr i32 %v1_59 to i32*
  %v3_59 = load i32, i32* %v2_59, align 4
  %v4_59 = add i32 %v3_59, 1
  store i32 %v4_59, i32* %v2_59, align 4
  %v1_5f = load i32, i32* %esi.global-to-local, align 4
  %v2_5f = add i32 %v1_5f, 208
  %v3_5f = inttoptr i32 %v2_5f to i32*
  %v4_5f = load i32, i32* %v3_5f, align 4
  %v5_5f = sitofp i32 %v4_5f to x86_fp80
  %v6_5f = add i3 %v0_e, -3
  store i3 %v6_5f, i3* %fpu_stat_TOP.global-to-local, align 1
  store x86_fp80 %v5_5f, x86_fp80* %st5.global-to-local, align 4
  %v2_65 = load i32, i32* %edi.global-to-local, align 4
  %v3_65 = add i32 %v2_65, -52
  %v4_65 = inttoptr i32 %v3_65 to double*
  %v5_65 = load double, double* %v4_65, align 4
  %v6_65 = fpext double %v5_65 to x86_fp80
  %v7_65 = fmul x86_fp80 %v5_5f, %v6_65
  store x86_fp80 %v7_65, x86_fp80* %st5.global-to-local, align 4
  %v3_68 = inttoptr i32 %v2_65 to double*
  %v4_68 = load double, double* %v3_68, align 4
  %v5_68 = fpext double %v4_68 to x86_fp80
  %v6_68 = fmul x86_fp80 %v7_65, %v5_68
  store x86_fp80 %v6_68, x86_fp80* %st5.global-to-local, align 4
  %v2_6a = call x86_fp80 @llvm.fabs.f80(x86_fp80 %v6_68)
  %v3_6a = fcmp olt x86_fp80 %v2_6a, 0xK403E8000000000000000
  br i1 %v3_6a, label %bb, label %dec_label_pc_0._crit_edge

dec_label_pc_0._crit_edge:                        ; preds = %dec_label_pc_0
  %v1_6c.pre = load x86_fp80, x86_fp80* %st4.global-to-local, align 4
  br label %bb239

bb:                                               ; preds = %dec_label_pc_0
  %v4_6a = call x86_fp80 @llvm.sin.f80(x86_fp80 %v6_68)
  store x86_fp80 %v4_6a, x86_fp80* %st5.global-to-local, align 4
  %v7_6a = call x86_fp80 @llvm.cos.f80(x86_fp80 %v6_68)
  store i3 %v2_14, i3* %fpu_stat_TOP.global-to-local, align 1
  store x86_fp80 %v7_6a, x86_fp80* %st4.global-to-local, align 4
  br label %bb239

bb239:                                            ; preds = %dec_label_pc_0._crit_edge, %bb
  %v2_70 = phi x86_fp80 [ %v6_68, %dec_label_pc_0._crit_edge ], [ %v4_6a, %bb ]
  %v1_6c = phi x86_fp80 [ %v1_6c.pre, %dec_label_pc_0._crit_edge ], [ %v7_6a, %bb ]
  %v0_6c = phi i3 [ %v6_5f, %dec_label_pc_0._crit_edge ], [ %v2_14, %bb ]
  %v3_6e = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v4_6e = fmul x86_fp80 %v1_6c, %v3_6e
  %v3_72 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v4_72 = fmul x86_fp80 %v2_70, %v3_72
  %v4_74 = fadd x86_fp80 %v4_6e, %v4_72
  %v2_76 = load i32, i32* %ebx.global-to-local, align 4
  %v3_76 = fptrunc x86_fp80 %v4_74 to double
  %v4_76 = inttoptr i32 %v2_76 to double*
  store double %v3_76, double* %v4_76, align 4
  %v2_78 = load x86_fp80, x86_fp80* %st4.global-to-local, align 4
  %v3_78 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v4_78 = fmul x86_fp80 %v2_78, %v3_78
  %v2_7a = load x86_fp80, x86_fp80* %st5.global-to-local, align 4
  %v3_7a = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v4_7a = fmul x86_fp80 %v2_7a, %v3_7a
  %v4_7c = fsub x86_fp80 %v4_78, %v4_7a
  %v2_7e = load i32, i32* @edx, align 8
  %v3_7e = fptrunc x86_fp80 %v4_7c to double
  %v4_7e = inttoptr i32 %v2_7e to double*
  store double %v3_7e, double* %v4_7e, align 4
  %v5_7e = xor i3 %v0_6c, -4
  %v3_83 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_83 = fpext double %v3_83 to x86_fp80
  store x86_fp80 %v4_83, x86_fp80* %st7.global-to-local, align 4
  %v3_85 = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_85 = fpext double %v3_85 to x86_fp80
  store x86_fp80 %v4_85, x86_fp80* %st6.global-to-local, align 4
  %v3_87 = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_87 = fpext double %v3_87 to x86_fp80
  store x86_fp80 %v4_87, x86_fp80* %st5.global-to-local, align 4
  store x86_fp80 %v4_87, x86_fp80* %st4.global-to-local, align 4
  %v3_8b = add i32 %v2_65, -20
  %v4_8b = inttoptr i32 %v3_8b to float*
  %v5_8b = load float, float* %v4_8b, align 4
  %v6_8b = fpext float %v5_8b to x86_fp80
  %v7_8b = fmul x86_fp80 %v4_87, %v6_8b
  store x86_fp80 %v7_8b, x86_fp80* %st4.global-to-local, align 4
  %v3_90 = add i32 %v2_65, -32
  %v4_90 = inttoptr i32 %v3_90 to float*
  %v5_90 = load float, float* %v4_90, align 4
  %v6_90 = fpext float %v5_90 to x86_fp80
  %v7_90 = fmul x86_fp80 %v4_85, %v6_90
  %v4_93 = fadd x86_fp80 %v7_8b, %v7_90
  store x86_fp80 %v4_93, x86_fp80* %st4.global-to-local, align 4
  %v3_97 = add i32 %v2_65, -44
  %v4_97 = inttoptr i32 %v3_97 to float*
  %v5_97 = load float, float* %v4_97, align 4
  %v6_97 = fpext float %v5_97 to x86_fp80
  %v7_97 = fmul x86_fp80 %v4_83, %v6_97
  %v4_9a = fadd x86_fp80 %v4_93, %v7_97
  store x86_fp80 %v4_9a, x86_fp80* %st4.global-to-local, align 4
  %v3_9e = add i32 %v2_65, -12
  %v4_9e = inttoptr i32 %v3_9e to float*
  %v5_9e = load float, float* %v4_9e, align 4
  %v6_9e = fpext float %v5_9e to x86_fp80
  %v7_9e = fmul x86_fp80 %v4_87, %v6_9e
  %v3_a3 = add i32 %v2_65, -24
  %v4_a3 = inttoptr i32 %v3_a3 to float*
  %v5_a3 = load float, float* %v4_a3, align 4
  %v6_a3 = fpext float %v5_a3 to x86_fp80
  %v7_a3 = fmul x86_fp80 %v4_85, %v6_a3
  %v4_a6 = fadd x86_fp80 %v7_9e, %v7_a3
  %v3_aa = add i32 %v2_65, -36
  %v4_aa = inttoptr i32 %v3_aa to float*
  %v5_aa = load float, float* %v4_aa, align 4
  %v6_aa = fpext float %v5_aa to x86_fp80
  %v7_aa = fmul x86_fp80 %v4_83, %v6_aa
  %v4_ad = fadd x86_fp80 %v4_a6, %v7_aa
  store x86_fp80 %v4_ad, x86_fp80* %st5.global-to-local, align 4
  %v3_b1 = add i32 %v2_65, -16
  %v4_b1 = inttoptr i32 %v3_b1 to float*
  %v5_b1 = load float, float* %v4_b1, align 4
  %v6_b1 = fpext float %v5_b1 to x86_fp80
  %v7_b1 = fmul x86_fp80 %v4_87, %v6_b1
  store x86_fp80 %v7_b1, x86_fp80* %st6.global-to-local, align 4
  %v3_b6 = add i32 %v2_65, -28
  %v4_b6 = inttoptr i32 %v3_b6 to float*
  %v5_b6 = load float, float* %v4_b6, align 4
  %v6_b6 = fpext float %v5_b6 to x86_fp80
  %v7_b6 = fmul x86_fp80 %v4_85, %v6_b6
  %v4_b9 = fadd x86_fp80 %v7_b1, %v7_b6
  store x86_fp80 %v4_b9, x86_fp80* %st6.global-to-local, align 4
  store x86_fp80 %v4_83, x86_fp80* %st4.global-to-local, align 4
  store x86_fp80 %v4_9a, x86_fp80* %st7.global-to-local, align 4
  %v3_bd = add i32 %v2_65, -40
  %v4_bd = inttoptr i32 %v3_bd to float*
  %v5_bd = load float, float* %v4_bd, align 4
  %v6_bd = fpext float %v5_bd to x86_fp80
  %v7_bd = fmul x86_fp80 %v4_83, %v6_bd
  store x86_fp80 %v7_bd, x86_fp80* %st4.global-to-local, align 4
  %v4_c0 = fadd x86_fp80 %v4_b9, %v7_bd
  store x86_fp80 %v4_c0, x86_fp80* %st6.global-to-local, align 4
  %v3_c2 = fptrunc x86_fp80 %v4_ad to double
  store double %v3_c2, double* %v4_76, align 4
  %v1_c4 = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v2_c4 = load i32, i32* @edx, align 8
  %v3_c4 = fptrunc x86_fp80 %v1_c4 to double
  %v4_c4 = inttoptr i32 %v2_c4 to double*
  store double %v3_c4, double* %v4_c4, align 4
  %v1_c6 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v2_c6 = load i32, i32* @ecx, align 8
  %v3_c6 = fptrunc x86_fp80 %v1_c6 to double
  %v4_c6 = inttoptr i32 %v2_c6 to double*
  store double %v3_c6, double* %v4_c6, align 4
  store i3 %v5_7e, i3* %fpu_stat_TOP.global-to-local, align 1
  store i32 %v2_76, i32* @eax, align 8
  store i32 %v0_5, i32* %ebx.global-to-local, align 4
  store i32 %v0_4, i32* %edi.global-to-local, align 4
  store i32 %v0_3, i32* %esi.global-to-local, align 4
  ret i32 %v2_76
}

; 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

attributes #0 = { nounwind readnone speculatable }
