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
  %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* %esi.global-to-local, align 4
  %v0_5 = load i32, i32* %edi.global-to-local, align 4
  store i32 %arg1, i32* %esi.global-to-local, align 4
  %v1_9 = add i32 %arg1, 48
  %v2_9 = inttoptr i32 %v1_9 to i32*
  %v3_9 = load i32, i32* %v2_9, align 4
  store i32 %v3_9, i32* %edi.global-to-local, align 4
  %v0_c = load i32, i32* @eax, align 8
  store i32 %v0_c, i32* %ebx.global-to-local, align 4
  %v3_e = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_e = fpext double %v3_e to x86_fp80
  %v3_10 = fmul x86_fp80 %v4_e, %v4_e
  %v3_12 = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_12 = fpext double %v3_12 to x86_fp80
  %v3_14 = fmul x86_fp80 %v4_12, %v4_12
  %v4_16 = fadd x86_fp80 %v3_10, %v3_14
  store x86_fp80 %v4_16, x86_fp80* %st7.global-to-local, align 4
  %v3_1a = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_1a = fpext double %v3_1a to x86_fp80
  %v3_1c = fmul x86_fp80 %v4_1a, %v4_1a
  store x86_fp80 %v3_1c, x86_fp80* %st6.global-to-local, align 4
  %tmp234 = bitcast double %v3_1a to i64
  %tmp235 = trunc i64 %tmp234 to i32
  %v2_1e = add i32 %tmp235, 8
  %v3_1e = inttoptr i32 %v2_1e to double*
  %v4_1e = load double, double* %v3_1e, align 4
  %v5_1e = fpext double %v4_1e to x86_fp80
  %v3_21 = fmul x86_fp80 %v5_1e, %v5_1e
  %v4_23 = fadd x86_fp80 %v3_1c, %v3_21
  %v4_27 = fadd x86_fp80 %v4_16, %v4_23
  store x86_fp80 %v4_27, x86_fp80* %st7.global-to-local, align 4
  %v6_2c = fmul x86_fp80 %v4_e, %v4_1a
  store x86_fp80 %v6_2c, x86_fp80* %st6.global-to-local, align 4
  store x86_fp80 %v4_12, x86_fp80* %st5.global-to-local, align 4
  %v5_30 = load double, double* %v3_1e, align 4
  %v6_30 = fpext double %v5_30 to x86_fp80
  %v7_30 = fmul x86_fp80 %v4_12, %v6_30
  %v4_33 = fsub x86_fp80 %v6_2c, %v7_30
  %v3_35 = fadd x86_fp80 %v4_33, %v4_33
  store x86_fp80 %v3_35, x86_fp80* %st6.global-to-local, align 4
  store x86_fp80 %v4_e, x86_fp80* %st5.global-to-local, align 4
  %v5_3a = load double, double* %v3_1e, align 4
  %v6_3a = fpext double %v5_3a to x86_fp80
  %v7_3a = fmul x86_fp80 %v4_e, %v6_3a
  %v6_3f = fmul x86_fp80 %v4_12, %v4_1a
  %v4_41 = fadd x86_fp80 %v6_3f, %v7_3a
  %v3_43 = fadd x86_fp80 %v4_41, %v4_41
  store x86_fp80 %v3_43, x86_fp80* %st5.global-to-local, align 4
  %v4_4e = fsub x86_fp80 %v3_10, %v3_14
  %v3_50 = fadd x86_fp80 %v4_4e, %v4_4e
  store x86_fp80 %v3_50, x86_fp80* %st4.global-to-local, align 4
  %v6_55 = fmul x86_fp80 %v4_e, %v4_12
  %v3_57 = fadd x86_fp80 %v6_55, %v6_55
  %v3_59 = fadd x86_fp80 %v3_57, %v3_57
  %tmp236 = bitcast double %v3_12 to i64
  %tmp237 = trunc i64 %tmp236 to i32
  %v3_5b = fptrunc x86_fp80 %v3_59 to double
  %v4_5b = inttoptr i32 %tmp237 to double*
  store double %v3_5b, double* %v4_5b, align 4
  %v1_5d = load x86_fp80, x86_fp80* %st4.global-to-local, align 4
  %v3_5d = fptrunc x86_fp80 %v1_5d to double
  %v4_5d = inttoptr i32 %v0_c to double*
  store double %v3_5d, double* %v4_5d, align 4
  %v3_5f = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_5f = fpext double %v3_5f to x86_fp80
  %v3_61 = fmul x86_fp80 %v4_5f, %v4_5f
  %v3_63 = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_63 = fpext double %v3_63 to x86_fp80
  %v3_65 = fmul x86_fp80 %v4_63, %v4_63
  %v4_67 = fadd x86_fp80 %v3_61, %v3_65
  %v2_69 = call x86_fp80 @llvm.sqrt.f80(x86_fp80 %v4_67)
  %v3_6b = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v4_6b = fdiv x86_fp80 %v3_6b, %v2_69
  %v4_71 = fsub x86_fp80 0xK3FFF8000000000000000, %v4_6b
  store x86_fp80 %v4_71, x86_fp80* %st4.global-to-local, align 4
  %v4_75 = fmul x86_fp80 %v4_71, %v4_5f
  %v3_77 = fptrunc x86_fp80 %v4_75 to double
  store double %v3_77, double* %v4_5d, align 4
  %v3_79 = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_79 = fpext double %v3_79 to x86_fp80
  %v3_7b = load x86_fp80, x86_fp80* %st4.global-to-local, align 4
  %v4_7b = fmul x86_fp80 %v3_7b, %v4_79
  store x86_fp80 %v4_7b, x86_fp80* %st4.global-to-local, align 4
  %tmp238 = bitcast double %v3_79 to i64
  %tmp239 = trunc i64 %tmp238 to i32
  %v3_7d = fptrunc x86_fp80 %v4_7b to double
  %v4_7d = inttoptr i32 %tmp239 to double*
  store double %v3_7d, double* %v4_7d, align 4
  %v1_7f = load x86_fp80, x86_fp80* %st5.global-to-local, align 4
  %v2_7f = load i32, i32* @ecx, align 8
  %v3_7f = add i32 %v2_7f, 8
  %v4_7f = fptrunc x86_fp80 %v1_7f to double
  %v5_7f = inttoptr i32 %v3_7f to double*
  store double %v4_7f, double* %v5_7f, align 4
  %v1_82 = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v2_82 = load i32, i32* @ecx, align 8
  %v3_82 = fptrunc x86_fp80 %v1_82 to double
  %v4_82 = inttoptr i32 %v2_82 to double*
  store double %v3_82, double* %v4_82, align 4
  %v3_88 = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_88 = fpext double %v3_88 to x86_fp80
  %v3_8a = fmul x86_fp80 %v4_88, %v4_88
  %v3_8c = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_8c = fpext double %v3_8c to x86_fp80
  %v3_8e = fmul x86_fp80 %v4_8c, %v4_8c
  %v4_90 = fadd x86_fp80 %v3_8a, %v3_8e
  store x86_fp80 %v4_90, x86_fp80* %st7.global-to-local, align 4
  %v3_94 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_94 = fpext double %v3_94 to x86_fp80
  %v3_96 = fmul x86_fp80 %v4_94, %v4_94
  store x86_fp80 %v3_96, x86_fp80* %st6.global-to-local, align 4
  %tmp240 = bitcast double %v3_94 to i64
  %tmp241 = trunc i64 %tmp240 to i32
  %v2_98 = add i32 %tmp241, 8
  %v3_98 = inttoptr i32 %v2_98 to double*
  %v4_98 = load double, double* %v3_98, align 4
  %v5_98 = fpext double %v4_98 to x86_fp80
  %v3_9b = fmul x86_fp80 %v5_98, %v5_98
  %v4_9d = fadd x86_fp80 %v3_96, %v3_9b
  %v4_a1 = fadd x86_fp80 %v4_90, %v4_9d
  store x86_fp80 %v4_a1, x86_fp80* %st7.global-to-local, align 4
  %v6_a6 = fmul x86_fp80 %v4_88, %v4_94
  store x86_fp80 %v6_a6, x86_fp80* %st6.global-to-local, align 4
  store x86_fp80 %v4_8c, x86_fp80* %st5.global-to-local, align 4
  %v5_aa = load double, double* %v3_98, align 4
  %v6_aa = fpext double %v5_aa to x86_fp80
  %v7_aa = fmul x86_fp80 %v4_8c, %v6_aa
  %v4_ad = fsub x86_fp80 %v6_a6, %v7_aa
  %v3_af = fadd x86_fp80 %v4_ad, %v4_ad
  store x86_fp80 %v3_af, x86_fp80* %st6.global-to-local, align 4
  store x86_fp80 %v4_88, x86_fp80* %st5.global-to-local, align 4
  %v5_b4 = load double, double* %v3_98, align 4
  %v6_b4 = fpext double %v5_b4 to x86_fp80
  %v7_b4 = fmul x86_fp80 %v4_88, %v6_b4
  %v6_b9 = fmul x86_fp80 %v4_8c, %v4_94
  %v4_bb = fadd x86_fp80 %v6_b9, %v7_b4
  %v3_bd = fadd x86_fp80 %v4_bb, %v4_bb
  store x86_fp80 %v3_bd, x86_fp80* %st5.global-to-local, align 4
  %v4_c8 = fsub x86_fp80 %v3_8a, %v3_8e
  %v3_ca = fadd x86_fp80 %v4_c8, %v4_c8
  store x86_fp80 %v3_ca, x86_fp80* %st4.global-to-local, align 4
  %v6_cf = fmul x86_fp80 %v4_88, %v4_8c
  %v3_d1 = fadd x86_fp80 %v6_cf, %v6_cf
  %v3_d3 = fadd x86_fp80 %v3_d1, %v3_d1
  %tmp242 = bitcast double %v3_8c to i64
  %tmp243 = trunc i64 %tmp242 to i32
  %v3_d5 = fptrunc x86_fp80 %v3_d3 to double
  %v4_d5 = inttoptr i32 %tmp243 to double*
  store double %v3_d5, double* %v4_d5, align 4
  %v1_d7 = load x86_fp80, x86_fp80* %st4.global-to-local, align 4
  %v2_d7 = load i32, i32* %ebx.global-to-local, align 4
  %v3_d7 = fptrunc x86_fp80 %v1_d7 to double
  %v4_d7 = inttoptr i32 %v2_d7 to double*
  store double %v3_d7, double* %v4_d7, align 4
  %v3_d9 = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_d9 = fpext double %v3_d9 to x86_fp80
  %v3_db = fmul x86_fp80 %v4_d9, %v4_d9
  %v3_dd = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_dd = fpext double %v3_dd to x86_fp80
  %v3_df = fmul x86_fp80 %v4_dd, %v4_dd
  %v4_e1 = fadd x86_fp80 %v3_db, %v3_df
  %v2_e3 = call x86_fp80 @llvm.sqrt.f80(x86_fp80 %v4_e1)
  %v3_e5 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v4_e5 = fdiv x86_fp80 %v3_e5, %v2_e3
  %v4_eb = fsub x86_fp80 0xK3FFF8000000000000000, %v4_e5
  store x86_fp80 %v4_eb, x86_fp80* %st4.global-to-local, align 4
  %v4_ef = fmul x86_fp80 %v4_eb, %v4_d9
  %v3_f1 = fptrunc x86_fp80 %v4_ef to double
  store double %v3_f1, double* %v4_d7, align 4
  %v3_f3 = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_f3 = fpext double %v3_f3 to x86_fp80
  %v3_f5 = load x86_fp80, x86_fp80* %st4.global-to-local, align 4
  %v4_f5 = fmul x86_fp80 %v3_f5, %v4_f3
  store x86_fp80 %v4_f5, x86_fp80* %st4.global-to-local, align 4
  %tmp244 = bitcast double %v3_f3 to i64
  %tmp245 = trunc i64 %tmp244 to i32
  %v3_f7 = fptrunc x86_fp80 %v4_f5 to double
  %v4_f7 = inttoptr i32 %tmp245 to double*
  store double %v3_f7, double* %v4_f7, align 4
  %v1_f9 = load x86_fp80, x86_fp80* %st5.global-to-local, align 4
  %v2_f9 = load i32, i32* @ecx, align 8
  %v3_f9 = add i32 %v2_f9, 8
  %v4_f9 = fptrunc x86_fp80 %v1_f9 to double
  %v5_f9 = inttoptr i32 %v3_f9 to double*
  store double %v4_f9, double* %v5_f9, align 4
  %v1_fc = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v2_fc = load i32, i32* @ecx, align 8
  %v3_fc = fptrunc x86_fp80 %v1_fc to double
  %v4_fc = inttoptr i32 %v2_fc to double*
  store double %v3_fc, double* %v4_fc, align 4
  %v1_102 = load i32, i32* %esi.global-to-local, align 4
  %v2_102 = add i32 %v1_102, 24
  %v3_102 = inttoptr i32 %v2_102 to double*
  %v4_102 = load double, double* %v3_102, align 4
  %v5_102 = fpext double %v4_102 to x86_fp80
  %v4_105 = load double, double* bitcast (i32* @eax to double*), align 8
  %v5_105 = fpext double %v4_105 to x86_fp80
  %v6_105 = fadd x86_fp80 %v5_102, %v5_105
  store x86_fp80 %v6_105, x86_fp80* %st7.global-to-local, align 4
  %v3_107 = fptrunc x86_fp80 %v6_105 to double
  store double %v3_107, double* %v4_d7, align 4
  %v2_109 = add i32 %v1_102, 32
  %v3_109 = inttoptr i32 %v2_109 to double*
  %v4_109 = load double, double* %v3_109, align 4
  %v5_109 = fpext double %v4_109 to x86_fp80
  %v4_10c = load double, double* bitcast (i32* @edx to double*), align 8
  %v5_10c = fpext double %v4_10c to x86_fp80
  %v6_10c = fadd x86_fp80 %v5_109, %v5_10c
  store x86_fp80 %v6_10c, x86_fp80* %st7.global-to-local, align 4
  %tmp246 = bitcast double %v4_10c to i64
  %tmp247 = trunc i64 %tmp246 to i32
  %v3_10e = fptrunc x86_fp80 %v6_10c to double
  %v4_10e = inttoptr i32 %tmp247 to double*
  store double %v3_10e, double* %v4_10e, align 4
  %v2_110 = add i32 %v1_102, 40
  %v3_110 = inttoptr i32 %v2_110 to double*
  %v4_110 = load double, double* %v3_110, align 4
  %v5_110 = fpext double %v4_110 to x86_fp80
  %v4_113 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v5_113 = fpext double %v4_113 to x86_fp80
  %v6_113 = fadd x86_fp80 %v5_110, %v5_113
  store x86_fp80 %v6_113, x86_fp80* %st7.global-to-local, align 4
  %tmp248 = bitcast double %v4_113 to i64
  %tmp249 = trunc i64 %tmp248 to i32
  %v3_115 = fptrunc x86_fp80 %v6_113 to double
  %v4_115 = inttoptr i32 %tmp249 to double*
  store double %v3_115, double* %v4_115, align 4
  %v2_117 = add i32 %v1_102, -56
  %v3_117 = inttoptr i32 %v2_117 to double*
  %v4_117 = load double, double* %v3_117, align 4
  %v5_117 = fpext double %v4_117 to x86_fp80
  store x86_fp80 %v5_117, x86_fp80* %st7.global-to-local, align 4
  %v2_11a = load i32, i32* %edi.global-to-local, align 4
  %v3_11a = add i32 %v2_11a, -16
  %v4_11a = inttoptr i32 %v3_11a to double*
  %v5_11a = load double, double* %v4_11a, align 4
  %v6_11a = fpext double %v5_11a to x86_fp80
  %v7_11a = fadd x86_fp80 %v5_117, %v6_11a
  store x86_fp80 %v7_11a, x86_fp80* %st7.global-to-local, align 4
  %v2_11d = load i32, i32* @ecx, align 8
  %v3_11d = add i32 %v2_11d, 8
  %v4_11d = inttoptr i32 %v3_11d to double*
  %v5_11d = load double, double* %v4_11d, align 4
  %v6_11d = fpext double %v5_11d to x86_fp80
  %v7_11d = fadd x86_fp80 %v7_11a, %v6_11d
  store x86_fp80 %v7_11d, x86_fp80* %st7.global-to-local, align 4
  %v4_120 = fptrunc x86_fp80 %v7_11d to double
  store double %v4_120, double* %v4_11d, align 4
  store i32 %v2_d7, i32* @eax, align 8
  store i32 %v0_5, i32* %edi.global-to-local, align 4
  store i32 %v0_4, i32* %esi.global-to-local, align 4
  store i32 %v0_3, i32* %ebx.global-to-local, align 4
  ret i32 %v2_d7
}

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

attributes #0 = { nounwind readnone speculatable }
