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:
  %ebp.global-to-local = alloca i32, align 4
  %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
  %st6.global-to-local = alloca x86_fp80, align 4
  %st7.global-to-local = alloca x86_fp80, align 4
  %v0_0 = load i32, i32* %ebp.global-to-local, 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
  %v0_12 = load i32, i32* @eax, align 8
  %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_1d = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_1d = fpext double %v3_1d to x86_fp80
  %v3_1f = fmul x86_fp80 %v4_1d, %v4_1d
  %v3_24 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_24 = fpext double %v3_24 to x86_fp80
  %v3_26 = fmul x86_fp80 %v4_24, %v4_24
  %v3_2d = fadd x86_fp80 %v4_16, %v4_16
  %v7_32 = fadd x86_fp80 %v3_1f, %v3_26
  %v2_35 = call x86_fp80 @llvm.sqrt.f80(x86_fp80 %v7_32)
  %v4_37 = fdiv x86_fp80 %v3_2d, %v2_35
  %v7_40 = fsub x86_fp80 %v3_18, %v3_1f
  %v7_43 = fsub x86_fp80 %v7_40, %v3_26
  store x86_fp80 %v7_43, x86_fp80* %st7.global-to-local, align 4
  %v7_4d = fsub x86_fp80 %v3_1f, %v3_26
  %v4_50 = fmul x86_fp80 %v7_4d, %v4_37
  store x86_fp80 %v4_50, x86_fp80* %st6.global-to-local, align 4
  %v3_56 = fadd x86_fp80 %v4_37, %v4_37
  %v6_58 = fmul x86_fp80 %v3_56, %v4_24
  %v6_5a = fmul x86_fp80 %v6_58, %v4_1d
  %v2_5d = add i32 %arg1, 32
  %v3_5d = inttoptr i32 %v2_5d to double*
  %v4_5d = load double, double* %v3_5d, align 4
  %v5_5d = fpext double %v4_5d to x86_fp80
  %v3_60 = add i32 %v3_f, -32
  %v4_60 = inttoptr i32 %v3_60 to double*
  %v5_60 = load double, double* %v4_60, align 4
  %v6_60 = fpext double %v5_60 to x86_fp80
  %v7_60 = fmul x86_fp80 %v5_5d, %v6_60
  %v4_63 = fadd x86_fp80 %v7_60, %v6_5a
  %tmp238 = bitcast double %v3_1d to i64
  %tmp239 = trunc i64 %tmp238 to i32
  %v3_65 = fptrunc x86_fp80 %v4_63 to double
  %v4_65 = inttoptr i32 %tmp239 to double*
  store double %v3_65, double* %v4_65, align 4
  %v2_68 = add i32 %arg1, 40
  %v3_68 = inttoptr i32 %v2_68 to double*
  %v4_68 = load double, double* %v3_68, align 4
  %v5_68 = fpext double %v4_68 to x86_fp80
  %v3_6b = add i32 %v3_f, -24
  %v4_6b = inttoptr i32 %v3_6b to double*
  %v5_6b = load double, double* %v4_6b, align 4
  %v6_6b = fpext double %v5_6b to x86_fp80
  %v7_6b = fmul x86_fp80 %v5_68, %v6_6b
  %v3_6e = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v4_6e = fadd x86_fp80 %v3_6e, %v7_6b
  store x86_fp80 %v4_6e, x86_fp80* %st6.global-to-local, align 4
  %v2_70 = load i32, i32* @ecx, align 8
  %v3_70 = fptrunc x86_fp80 %v4_6e to double
  %v4_70 = inttoptr i32 %v2_70 to double*
  store double %v3_70, double* %v4_70, align 4
  %v2_73 = add i32 %arg1, 24
  %v3_73 = inttoptr i32 %v2_73 to double*
  %v4_73 = load double, double* %v3_73, align 4
  %v5_73 = fpext double %v4_73 to x86_fp80
  store x86_fp80 %v5_73, x86_fp80* %st6.global-to-local, align 4
  %v3_76 = add i32 %v3_f, -16
  %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 = fmul x86_fp80 %v5_73, %v6_76
  store x86_fp80 %v7_76, x86_fp80* %st6.global-to-local, align 4
  %v3_79 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v4_79 = fadd x86_fp80 %v7_76, %v3_79
  store x86_fp80 %v4_79, x86_fp80* %st7.global-to-local, align 4
  %v3_7b = fptrunc x86_fp80 %v4_79 to double
  %v4_7b = inttoptr i32 %v0_12 to double*
  store double %v3_7b, double* %v4_7b, align 4
  %v5_7b = add i3 %v0_16, add (i3 add (i3 ptrtoint (i8* @global_var_1.1 to i3), i3 ptrtoint (i8* @global_var_1.1 to i3)), i3 add (i3 add (i3 ptrtoint (i8* @global_var_1.1 to i3), i3 ptrtoint (i8* @global_var_1.1 to i3)), i3 add (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 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 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_7b, 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
  store i32 %v0_0, i32* %ebp.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 }
