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

@ecx = internal unnamed_addr global i32 0, align 8

define i32 @function_0(i32 %arg1) local_unnamed_addr {
dec_label_pc_0:
  %eax.global-to-local = alloca i32, align 4
  %ebp.global-to-local = alloca i32, align 4
  %edi.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
  %st7.global-to-local = alloca x86_fp80, align 4
  %v0_0 = load i32, i32* %ebp.global-to-local, align 4
  %v0_3 = load i32, i32* %esi.global-to-local, align 4
  %v0_4 = load i32, i32* %edi.global-to-local, align 4
  store i32 %arg1, i32* %esi.global-to-local, align 4
  %v1_8 = add i32 %arg1, 48
  %v2_8 = inttoptr i32 %v1_8 to i32*
  %v3_8 = load i32, i32* %v2_8, align 4
  store i32 %v3_8, i32* %edi.global-to-local, align 4
  %v0_b = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  %v3_b = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_b = fpext double %v3_b to x86_fp80
  %v5_b = add i3 %v0_b, -1
  store i3 %v5_b, i3* %fpu_stat_TOP.global-to-local, align 1
  store x86_fp80 %v4_b, x86_fp80* %st7.global-to-local, align 4
  %v1_d = add i32 %v3_8, -28
  %v2_d = inttoptr i32 %v1_d to i32*
  %v3_d = load i32, i32* %v2_d, align 4
  %v10_d = icmp eq i32 %v3_d, 0
  %tmp234 = bitcast double %v3_b to i64
  %tmp235 = trunc i64 %tmp234 to i32
  br i1 %v10_d, label %dec_label_pc_15, label %dec_label_pc_13

dec_label_pc_13:                                  ; preds = %dec_label_pc_0
  %v2_13 = call x86_fp80 @llvm.fabs.f80(x86_fp80 %v4_b)
  store x86_fp80 %v2_13, x86_fp80* %st7.global-to-local, align 4
  br label %dec_label_pc_15

dec_label_pc_15:                                  ; preds = %dec_label_pc_13, %dec_label_pc_0
  %v1_15 = phi x86_fp80 [ %v2_13, %dec_label_pc_13 ], [ %v4_b, %dec_label_pc_0 ]
  %v3_15 = add i32 %v3_8, -40
  %v4_15 = inttoptr i32 %v3_15 to float*
  %v5_15 = load float, float* %v4_15, align 4
  %v6_15 = fpext float %v5_15 to x86_fp80
  %v7_15 = fadd x86_fp80 %v1_15, %v6_15
  store x86_fp80 %v7_15, x86_fp80* %st7.global-to-local, align 4
  %v5_25 = add i3 %v0_b, -3
  store i3 %v5_25, i3* %fpu_stat_TOP.global-to-local, align 1
  %v1_27 = add i32 %v3_8, -20
  %v2_27 = inttoptr i32 %v1_27 to i32*
  %v3_27 = load i32, i32* %v2_27, align 4
  %v10_27 = icmp eq i32 %v3_27, 0
  br i1 %v10_27, label %dec_label_pc_2f, label %dec_label_pc_2d

dec_label_pc_2d:                                  ; preds = %dec_label_pc_15
  %v2_2d = call x86_fp80 @llvm.fabs.f80(x86_fp80 %v7_15)
  store x86_fp80 %v2_2d, x86_fp80* %st7.global-to-local, align 4
  br label %dec_label_pc_2f

dec_label_pc_2f:                                  ; preds = %dec_label_pc_2d, %dec_label_pc_15
  %v1_2f = phi x86_fp80 [ %v2_2d, %dec_label_pc_2d ], [ %v7_15, %dec_label_pc_15 ]
  %v3_2f = add i32 %v3_8, -32
  %v4_2f = inttoptr i32 %v3_2f to float*
  %v5_2f = load float, float* %v4_2f, align 4
  %v6_2f = fpext float %v5_2f to x86_fp80
  %v7_2f = fadd x86_fp80 %v1_2f, %v6_2f
  store x86_fp80 %v7_2f, x86_fp80* %st7.global-to-local, align 4
  %v3_47 = add i32 %v3_8, -44
  %v4_47 = inttoptr i32 %v3_47 to float*
  %v5_47 = load float, float* %v4_47, align 4
  %v6_47 = fpext float %v5_47 to x86_fp80
  %v7_47 = fmul x86_fp80 %v7_2f, %v6_47
  %v3_4c = add i32 %v3_8, -48
  %v4_4c = inttoptr i32 %v3_4c to float*
  %v5_4c = load float, float* %v4_4c, align 4
  %v6_4c = fpext float %v5_4c to x86_fp80
  %v7_4c = fmul x86_fp80 %v7_2f, %v6_4c
  %v4_4f = fadd x86_fp80 %v7_47, %v7_4c
  %v3_53 = add i32 %v3_8, -52
  %v4_53 = inttoptr i32 %v3_53 to float*
  %v5_53 = load float, float* %v4_53, align 4
  %v6_53 = fpext float %v5_53 to x86_fp80
  %v7_53 = fmul x86_fp80 %v7_2f, %v6_53
  %v4_56 = fadd x86_fp80 %v4_4f, %v7_53
  store x86_fp80 %v4_56, x86_fp80* %st7.global-to-local, align 4
  %v3_5a = add i32 %v3_8, -56
  %v4_5a = inttoptr i32 %v3_5a to float*
  %v5_5a = load float, float* %v4_5a, align 4
  %v6_5a = fpext float %v5_5a to x86_fp80
  %v7_5a = fmul x86_fp80 %v7_2f, %v6_5a
  store x86_fp80 %v7_5a, x86_fp80* %st7.global-to-local, align 4
  %v3_5f = add i32 %v3_8, -60
  %v4_5f = inttoptr i32 %v3_5f to float*
  %v5_5f = load float, float* %v4_5f, align 4
  %v6_5f = fpext float %v5_5f to x86_fp80
  %v7_5f = fmul x86_fp80 %v7_5a, %v6_5f
  %v4_62 = fadd x86_fp80 %v7_5f, %v7_5f
  store x86_fp80 %v4_62, x86_fp80* %st7.global-to-local, align 4
  %v3_66 = add i32 %v3_8, -64
  %v4_66 = inttoptr i32 %v3_66 to float*
  %v5_66 = load float, float* %v4_66, align 4
  %v6_66 = fpext float %v5_66 to x86_fp80
  %v7_66 = fmul x86_fp80 %v4_62, %v6_66
  %v4_69 = fadd x86_fp80 %v7_66, %v7_66
  store x86_fp80 %v4_69, x86_fp80* %st7.global-to-local, align 4
  %v2_6b = add i32 %v3_8, -16
  %v3_6b = inttoptr i32 %v2_6b to double*
  %v4_6b = load double, double* %v3_6b, align 4
  %v5_6b = fpext double %v4_6b to x86_fp80
  %v4_6e = fmul x86_fp80 %v5_6b, %v5_6b
  %v4_70 = fmul x86_fp80 %v4_6e, %v4_6e
  %v4_72 = fmul x86_fp80 %v4_70, %v4_70
  store x86_fp80 %v4_72, x86_fp80* %st7.global-to-local, align 4
  %v3_74 = add i32 %tmp235, 8
  %v4_74 = inttoptr i32 %v3_74 to double*
  %v5_74 = load double, double* %v4_74, align 4
  %v6_74 = fpext double %v5_74 to x86_fp80
  %v7_74 = fmul x86_fp80 %v4_72, %v6_74
  store x86_fp80 %v7_74, x86_fp80* %st7.global-to-local, align 4
  %v4_77 = fptrunc x86_fp80 %v7_74 to double
  store double %v4_77, double* %v4_74, align 4
  %v1_7a = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v3_7a = add i32 %arg1, 24
  %v4_7a = inttoptr i32 %v3_7a to double*
  %v5_7a = load double, double* %v4_7a, align 4
  %v6_7a = fpext double %v5_7a to x86_fp80
  %v7_7a = fadd x86_fp80 %v1_7a, %v6_7a
  store x86_fp80 %v7_7a, x86_fp80* %st7.global-to-local, align 4
  %v2_7d = load i32, i32* %eax.global-to-local, align 8
  %v3_7d = fptrunc x86_fp80 %v7_7a to double
  %v4_7d = inttoptr i32 %v2_7d to double*
  store double %v3_7d, double* %v4_7d, align 4
  %v1_7f = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v3_7f = add i32 %arg1, 32
  %v4_7f = inttoptr i32 %v3_7f to double*
  %v5_7f = load double, double* %v4_7f, align 4
  %v6_7f = fpext double %v5_7f to x86_fp80
  %v7_7f = fadd x86_fp80 %v1_7f, %v6_7f
  store x86_fp80 %v7_7f, x86_fp80* %st7.global-to-local, align 4
  %v2_82 = load i32, i32* %edx.global-to-local, align 8
  %v3_82 = fptrunc x86_fp80 %v7_7f to double
  %v4_82 = inttoptr i32 %v2_82 to double*
  store double %v3_82, double* %v4_82, align 4
  %v1_84 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v3_84 = add i32 %arg1, 40
  %v4_84 = inttoptr i32 %v3_84 to double*
  %v5_84 = load double, double* %v4_84, align 4
  %v6_84 = fpext double %v5_84 to x86_fp80
  %v7_84 = fadd x86_fp80 %v1_84, %v6_84
  store x86_fp80 %v7_84, x86_fp80* %st7.global-to-local, align 4
  %v2_87 = load i32, i32* @ecx, align 8
  %v3_87 = fptrunc x86_fp80 %v7_84 to double
  %v4_87 = inttoptr i32 %v2_87 to double*
  store double %v3_87, double* %v4_87, align 4
  store i3 %v0_b, i3* %fpu_stat_TOP.global-to-local, align 1
  store i32 %v0_4, i32* %edi.global-to-local, align 4
  store i32 %v0_3, i32* %esi.global-to-local, align 4
  store i32 %v0_0, i32* %ebp.global-to-local, align 4
  %v0_8c = load i32, i32* %eax.global-to-local, align 8
  ret i32 %v0_8c
}

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

attributes #0 = { nounwind readnone speculatable }
