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
@edx = internal unnamed_addr global i32 0, align 8

define i32 @function_0() local_unnamed_addr {
dec_label_pc_0:
  %eax.global-to-local = alloca i32, align 4
  %v3_3 = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_3 = fpext double %v3_3 to x86_fp80
  %v3_5 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_5 = fpext double %v3_5 to x86_fp80
  %v2_7 = call x86_fp80 @llvm.fabs.f80(x86_fp80 %v4_5)
  %v3_7 = fcmp olt x86_fp80 %v2_7, 0xK403E8000000000000000
  %v4_7 = call x86_fp80 @llvm.sin.f80(x86_fp80 %v4_5)
  %storemerge = select i1 %v3_7, x86_fp80 %v4_7, x86_fp80 %v4_5
  %v4_9 = fadd x86_fp80 %storemerge, %v4_3
  %tmp228 = bitcast double %v3_3 to i64
  %tmp229 = trunc i64 %tmp228 to i32
  %v3_b = fptrunc x86_fp80 %v4_9 to double
  %v4_b = inttoptr i32 %tmp229 to double*
  store double %v3_b, double* %v4_b, align 4
  %v0_e = load i32, i32* %eax.global-to-local, align 4
  ret i32 %v0_e
}

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

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

attributes #0 = { nounwind readnone speculatable }
