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
  %fpu_stat_TOP.global-to-local = alloca i3, align 1
  %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
  %v0_10 = load i32, i32* @eax, align 8
  store i32 %v0_10, i32* %ebx.global-to-local, align 4
  %v1_12 = add i32 %arg1, 48
  %v2_12 = inttoptr i32 %v1_12 to i32*
  %v3_12 = load i32, i32* %v2_12, align 4
  store i32 %v3_12, i32* %edi.global-to-local, align 4
  %v0_15 = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  %v3_15 = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_15 = fpext double %v3_15 to x86_fp80
  %v3_1b = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_1b = fpext double %v3_1b to x86_fp80
  %v3_21 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_21 = fpext double %v3_21 to x86_fp80
  %v2_26 = add i32 %arg1, 40
  %v3_26 = inttoptr i32 %v2_26 to double*
  %v4_26 = load double, double* %v3_26, align 4
  %v5_26 = fpext double %v4_26 to x86_fp80
  %v3_29 = add i32 %v3_12, -16
  %v4_29 = inttoptr i32 %v3_29 to double*
  %v5_29 = load double, double* %v4_29, align 4
  %v6_29 = fpext double %v5_29 to x86_fp80
  %v7_29 = fmul x86_fp80 %v5_26, %v6_29
  %v3_2f = add i32 %v3_12, -24
  %v4_2f = inttoptr i32 %v3_2f to double*
  %v5_2f = load double, double* %v4_2f, align 4
  %v6_2f = fpext double %v5_2f to x86_fp80
  %v7_2f = fmul x86_fp80 %v4_21, %v6_2f
  %v4_32 = fadd x86_fp80 %v7_29, %v7_2f
  %v2_36 = add i32 %arg1, 32
  %v3_36 = inttoptr i32 %v2_36 to double*
  %v4_36 = load double, double* %v3_36, align 4
  %v5_36 = fpext double %v4_36 to x86_fp80
  %v5_39 = load double, double* %v4_29, align 4
  %v6_39 = fpext double %v5_39 to x86_fp80
  %v7_39 = fmul x86_fp80 %v5_36, %v6_39
  %v5_3f = load double, double* %v4_2f, align 4
  %v6_3f = fpext double %v5_3f to x86_fp80
  %v7_3f = fmul x86_fp80 %v4_1b, %v6_3f
  %v4_42 = fadd x86_fp80 %v7_39, %v7_3f
  %v2_46 = add i32 %arg1, 24
  %v3_46 = inttoptr i32 %v2_46 to double*
  %v4_46 = load double, double* %v3_46, align 4
  %v5_46 = fpext double %v4_46 to x86_fp80
  %v7_49 = fmul x86_fp80 %v6_39, %v5_46
  %v7_4f = fmul x86_fp80 %v4_15, %v6_3f
  %v4_52 = fadd x86_fp80 %v7_4f, %v7_49
  %v3_58 = add i32 %v3_12, -76
  %v4_58 = inttoptr i32 %v3_58 to float*
  %v5_58 = load float, float* %v4_58, align 4
  %v6_58 = fpext float %v5_58 to x86_fp80
  %v7_58 = fmul x86_fp80 %v4_52, %v6_58
  %v3_5d = add i32 %v3_12, -80
  %v4_5d = inttoptr i32 %v3_5d to float*
  %v5_5d = load float, float* %v4_5d, align 4
  %v6_5d = fpext float %v5_5d to x86_fp80
  %v7_5d = fmul x86_fp80 %v4_42, %v6_5d
  %v4_60 = fadd x86_fp80 %v7_5d, %v7_58
  %v3_64 = add i32 %v3_12, -84
  %v4_64 = inttoptr i32 %v3_64 to float*
  %v5_64 = load float, float* %v4_64, align 4
  %v6_64 = fpext float %v5_64 to x86_fp80
  %v7_64 = fmul x86_fp80 %v4_32, %v6_64
  %v4_67 = fadd x86_fp80 %v4_60, %v7_64
  %v3_6b = add i32 %v3_12, -52
  %v4_6b = inttoptr i32 %v3_6b to float*
  %v5_6b = load float, float* %v4_6b, align 4
  %v6_6b = fpext float %v5_6b to x86_fp80
  %v7_6b = fmul x86_fp80 %v4_52, %v6_6b
  %v3_70 = add i32 %v3_12, -56
  %v4_70 = inttoptr i32 %v3_70 to float*
  %v5_70 = load float, float* %v4_70, align 4
  %v6_70 = fpext float %v5_70 to x86_fp80
  %v7_70 = fmul x86_fp80 %v4_42, %v6_70
  %v4_73 = fadd x86_fp80 %v7_6b, %v7_70
  %v3_77 = add i32 %v3_12, -60
  %v4_77 = inttoptr i32 %v3_77 to float*
  %v5_77 = load float, float* %v4_77, align 4
  %v6_77 = fpext float %v5_77 to x86_fp80
  %v7_77 = fmul x86_fp80 %v4_32, %v6_77
  %v4_7a = fadd x86_fp80 %v4_73, %v7_77
  %v3_7e = add i32 %v3_12, -64
  %v4_7e = inttoptr i32 %v3_7e to float*
  %v5_7e = load float, float* %v4_7e, align 4
  %v6_7e = fpext float %v5_7e to x86_fp80
  %v7_7e = fmul x86_fp80 %v4_52, %v6_7e
  %v3_83 = add i32 %v3_12, -68
  %v4_83 = inttoptr i32 %v3_83 to float*
  %v5_83 = load float, float* %v4_83, align 4
  %v6_83 = fpext float %v5_83 to x86_fp80
  %v7_83 = fmul x86_fp80 %v4_42, %v6_83
  %v4_86 = fadd x86_fp80 %v7_7e, %v7_83
  %v3_8a = add i32 %v3_12, -72
  %v4_8a = inttoptr i32 %v3_8a to float*
  %v5_8a = load float, float* %v4_8a, align 4
  %v6_8a = fpext float %v5_8a to x86_fp80
  %v7_8a = fmul x86_fp80 %v4_32, %v6_8a
  %v4_8d = fadd x86_fp80 %v4_86, %v7_8a
  %v3_8f = add i32 %v3_12, -32
  %v4_8f = inttoptr i32 %v3_8f to double*
  %v5_8f = load double, double* %v4_8f, align 4
  %v6_8f = fpext double %v5_8f to x86_fp80
  %v7_8f = fadd x86_fp80 %v4_7a, %v6_8f
  %v3_95 = add i32 %v3_12, -40
  %v4_95 = inttoptr i32 %v3_95 to double*
  %v5_95 = load double, double* %v4_95, align 4
  %v6_95 = fpext double %v5_95 to x86_fp80
  %v7_95 = fadd x86_fp80 %v4_8d, %v6_95
  %v3_9b = add i32 %v3_12, -48
  %v4_9b = inttoptr i32 %v3_9b to double*
  %v5_9b = load double, double* %v4_9b, align 4
  %v6_9b = fpext double %v5_9b to x86_fp80
  %v7_9b = fadd x86_fp80 %v4_67, %v6_9b
  %v3_a3 = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_a3 = fpext double %v3_a3 to x86_fp80
  %v3_a5 = fmul x86_fp80 %v4_a3, %v4_a3
  %v3_a7 = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_a7 = fpext double %v3_a7 to x86_fp80
  %v3_a9 = fmul x86_fp80 %v4_a7, %v4_a7
  %v4_ab = fadd x86_fp80 %v3_a5, %v3_a9
  %v2_ad = call x86_fp80 @llvm.sqrt.f80(x86_fp80 %v4_ab)
  %v3_b6 = fmul x86_fp80 %v7_8f, %v7_8f
  %v3_bb = fmul x86_fp80 %v7_95, %v7_95
  %v4_bd = fadd x86_fp80 %v3_b6, %v3_bb
  %v2_bf = call x86_fp80 @llvm.sqrt.f80(x86_fp80 %v4_bd)
  %v11_c8 = fmul x86_fp80 %v7_9b, %v2_ad
  %v7_ce = fmul x86_fp80 %v2_bf, %v4_21
  %v4_d1 = fadd x86_fp80 %v7_ce, %v11_c8
  %v2_d3 = load i32, i32* %edi.global-to-local, align 4
  %v3_d3 = add i32 %v2_d3, -92
  %v4_d3 = inttoptr i32 %v3_d3 to double*
  %v5_d3 = load double, double* %v4_d3, align 4
  %v6_d3 = fpext double %v5_d3 to x86_fp80
  %v7_d3 = fmul x86_fp80 %v4_d1, %v6_d3
  %v2_d6 = load i32, i32* @ecx, align 8
  %v3_d6 = fptrunc x86_fp80 %v7_d3 to double
  %v4_d6 = inttoptr i32 %v2_d6 to double*
  store double %v3_d6, double* %v4_d6, align 4
  %v11_dc = fmul x86_fp80 %v7_9b, %v4_21
  %v7_df = fdiv x86_fp80 %v11_dc, %v2_ad
  %v7_e2 = fdiv x86_fp80 %v7_df, %v2_bf
  %v4_e9 = fsub x86_fp80 0xK3FFF8000000000000000, %v7_e2
  %v7_f1 = fmul x86_fp80 %v7_8f, %v4_15
  %v7_f7 = fmul x86_fp80 %v7_95, %v4_1b
  %v4_fa = fsub x86_fp80 %v7_f1, %v7_f7
  %v4_fc = fmul x86_fp80 %v4_fa, %v4_e9
  %v2_101 = load i32, i32* %ebx.global-to-local, align 4
  %v3_101 = fptrunc x86_fp80 %v4_fc to double
  %v4_101 = inttoptr i32 %v2_101 to double*
  store double %v3_101, double* %v4_101, align 4
  %v5_101 = add i3 %v0_15, 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 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 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))), 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))))))))))
  %v7_107 = fmul x86_fp80 %v7_8f, %v4_1b
  %v7_10d = fmul x86_fp80 %v7_95, %v4_15
  %v4_110 = fadd x86_fp80 %v7_107, %v7_10d
  %v7_112 = fmul x86_fp80 %v4_110, %v4_e9
  %v2_118 = load i32, i32* @edx, align 8
  %v3_118 = fptrunc x86_fp80 %v7_112 to double
  %v4_118 = inttoptr i32 %v2_118 to double*
  store double %v3_118, double* %v4_118, align 4
  store i3 %v5_101, i3* %fpu_stat_TOP.global-to-local, align 1
  store i32 %v2_101, 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_101
}

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

attributes #0 = { nounwind readnone speculatable }
