source_filename = "test"
target datalayout = "e-p:32:32-f64:32:64-f80:32-n8:16:32-S128"

@edx = internal unnamed_addr global i32 0, align 8

define i32 @function_0(i32 %arg1) local_unnamed_addr {
dec_label_pc_0:
  %eax.global-to-local = alloca i32, align 4
  %ebp.global-to-local = alloca i32, align 4
  %esi.global-to-local = alloca i32, align 4
  %v0_0 = load i32, i32* %ebp.global-to-local, align 4
  %v0_3 = load i32, i32* %esi.global-to-local, align 4
  store i32 %arg1, i32* %esi.global-to-local, align 4
  %v1_7 = add i32 %arg1, 48
  %v2_7 = inttoptr i32 %v1_7 to i32*
  %v3_7 = load i32, i32* %v2_7, align 4
  %v3_a = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_a = fpext double %v3_a to x86_fp80
  %v2_c = add i32 %v3_7, -16
  %v3_c = inttoptr i32 %v2_c to double*
  %v4_c = load double, double* %v3_c, align 4
  %v5_c = fpext double %v4_c to x86_fp80
  %v4_f = fadd x86_fp80 %v4_a, %v5_c
  %v2_11 = call x86_fp80 @llvm.fabs.f80(x86_fp80 %v4_f)
  %v4_18 = fsub x86_fp80 %v2_11, %v5_c
  %tmp231 = bitcast double %v3_a to i64
  %tmp232 = trunc i64 %tmp231 to i32
  %v3_1a = fptrunc x86_fp80 %v4_18 to double
  %v4_1a = inttoptr i32 %tmp232 to double*
  store double %v3_1a, double* %v4_1a, align 4
  store i32 %v0_3, i32* %esi.global-to-local, align 4
  store i32 %v0_0, i32* %ebp.global-to-local, align 4
  %v0_1e = load i32, i32* %eax.global-to-local, align 4
  ret i32 %v0_1e
}

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

attributes #0 = { nounwind readnone speculatable }
