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
  %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_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
  %v1_f = add i32 %arg1, 48
  %v2_f = inttoptr i32 %v1_f to i32*
  %v3_f = load i32, i32* %v2_f, align 4
  store i32 %v3_f, i32* %edi.global-to-local, align 4
  %v0_12 = load i32, i32* @eax, align 8
  store i32 %v0_12, i32* %ebx.global-to-local, align 4
  %v0_16 = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  %v3_16 = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_16 = fpext double %v3_16 to x86_fp80
  %v3_18 = fmul x86_fp80 %v4_16, %v4_16
  %v3_1a = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_1a = fpext double %v3_1a to x86_fp80
  %v3_1c = fmul x86_fp80 %v4_1a, %v4_1a
  %v4_1e = fadd x86_fp80 %v3_18, %v3_1c
  store x86_fp80 %v4_1e, x86_fp80* %st7.global-to-local, align 4
  %v3_21 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_21 = fpext double %v3_21 to x86_fp80
  %v3_23 = fmul x86_fp80 %v4_21, %v4_21
  store x86_fp80 %v3_23, x86_fp80* %st6.global-to-local, align 4
  %tmp236 = bitcast double %v3_21 to i64
  %tmp237 = trunc i64 %tmp236 to i32
  %v2_25 = add i32 %tmp237, 8
  %v3_25 = inttoptr i32 %v2_25 to double*
  %v4_25 = load double, double* %v3_25, align 4
  %v5_25 = fpext double %v4_25 to x86_fp80
  %v3_28 = fmul x86_fp80 %v5_25, %v5_25
  %v4_2a = fadd x86_fp80 %v3_23, %v3_28
  %v4_2f = fdiv x86_fp80 %v4_2a, %v4_1e
  %v4_35 = fsub x86_fp80 0xK3FFF8000000000000000, %v4_2f
  store x86_fp80 %v4_35, x86_fp80* %st5.global-to-local, align 4
  %v4_3b = fdiv x86_fp80 %v4_1e, %v4_2a
  %v2_3d = call x86_fp80 @llvm.sqrt.f80(x86_fp80 %v4_3b)
  %v3_3f = fadd x86_fp80 %v2_3d, %v2_3d
  store x86_fp80 %v3_1c, x86_fp80* %st6.global-to-local, align 4
  %v4_4d = fsub x86_fp80 %v3_18, %v3_1c
  %v7_4f = fmul x86_fp80 %v4_4d, %v4_35
  store x86_fp80 %v7_4f, x86_fp80* %st7.global-to-local, align 4
  %v3_53 = add i32 %arg1, 24
  %v4_53 = inttoptr i32 %v3_53 to double*
  %v5_53 = load double, double* %v4_53, align 4
  %v6_53 = fpext double %v5_53 to x86_fp80
  %v7_53 = fadd x86_fp80 %v7_4f, %v6_53
  store x86_fp80 %v7_53, x86_fp80* %st7.global-to-local, align 4
  %v6_59 = fmul x86_fp80 %v4_16, %v4_1a
  %v7_5b = fmul x86_fp80 %v6_59, %v4_35
  %v3_5e = fadd x86_fp80 %v7_5b, %v7_5b
  store x86_fp80 %v3_5e, x86_fp80* %st6.global-to-local, align 4
  %v3_61 = add i32 %arg1, 32
  %v4_61 = inttoptr i32 %v3_61 to double*
  %v5_61 = load double, double* %v4_61, align 4
  %v6_61 = fpext double %v5_61 to x86_fp80
  %v7_61 = fadd x86_fp80 %v3_5e, %v6_61
  store x86_fp80 %v7_61, x86_fp80* %st6.global-to-local, align 4
  store x86_fp80 %v3_23, x86_fp80* %st5.global-to-local, align 4
  %v4_69 = load double, double* %v3_25, align 4
  %v5_69 = fpext double %v4_69 to x86_fp80
  %v3_6c = fmul x86_fp80 %v5_69, %v5_69
  %v4_6e = fsub x86_fp80 %v3_23, %v3_6c
  %v7_70 = fmul x86_fp80 %v4_6e, %v3_3f
  store x86_fp80 %v7_70, x86_fp80* %st5.global-to-local, align 4
  %v3_73 = add i32 %v3_f, -24
  %v4_73 = inttoptr i32 %v3_73 to double*
  %v5_73 = load double, double* %v4_73, align 4
  %v6_73 = fpext double %v5_73 to x86_fp80
  %v7_73 = fmul x86_fp80 %v7_70, %v6_73
  store x86_fp80 %v7_73, x86_fp80* %st5.global-to-local, align 4
  %v3_76 = add i32 %arg1, 40
  %v4_76 = inttoptr i32 %v3_76 to double*
  %v5_76 = load double, double* %v4_76, align 4
  %v6_76 = fpext double %v5_76 to x86_fp80
  %v7_76 = fadd x86_fp80 %v7_73, %v6_76
  store x86_fp80 %v7_76, x86_fp80* %st5.global-to-local, align 4
  %v5_7c = load double, double* %v3_25, align 4
  %v6_7c = fpext double %v5_7c to x86_fp80
  %v7_7c = fmul x86_fp80 %v4_21, %v6_7c
  %v7_7f = fmul x86_fp80 %v7_7c, %v3_3f
  %v3_83 = add i32 %arg1, -56
  %v4_83 = inttoptr i32 %v3_83 to double*
  %v5_83 = load double, double* %v4_83, align 4
  %v6_83 = fpext double %v5_83 to x86_fp80
  %v7_83 = fadd x86_fp80 %v7_7f, %v6_83
  %v3_86 = add i32 %v3_f, -16
  %v4_86 = inttoptr i32 %v3_86 to double*
  %v5_86 = load double, double* %v4_86, align 4
  %v6_86 = fpext double %v5_86 to x86_fp80
  %v7_86 = fadd x86_fp80 %v7_83, %v6_86
  %v4_8a = fptrunc x86_fp80 %v7_86 to double
  store double %v4_8a, double* %v3_25, align 4
  %v1_8d = load x86_fp80, x86_fp80* %st5.global-to-local, align 4
  %v2_8d = load i32, i32* @ecx, align 8
  %v3_8d = fptrunc x86_fp80 %v1_8d to double
  %v4_8d = inttoptr i32 %v2_8d to double*
  store double %v3_8d, double* %v4_8d, align 4
  %v1_8f = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v2_8f = load i32, i32* @edx, align 8
  %v3_8f = fptrunc x86_fp80 %v1_8f to double
  %v4_8f = inttoptr i32 %v2_8f to double*
  store double %v3_8f, double* %v4_8f, align 4
  %v1_91 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v3_91 = fptrunc x86_fp80 %v1_91 to double
  %v4_91 = inttoptr i32 %v0_12 to double*
  store double %v3_91, double* %v4_91, align 4
  %v5_91 = add i3 %v0_16, add (i3 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 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 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)))))))))
  store i3 %v5_91, i3* %fpu_stat_TOP.global-to-local, align 1
  store i32 %v0_12, 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 %v0_12
}

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

attributes #0 = { nounwind readnone speculatable }
