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:
  %ebp.global-to-local = alloca i32, align 4
  %esi.global-to-local = alloca i32, align 4
  %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_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* @ecx to double*), align 8
  %v4_a = fpext double %v3_a to x86_fp80
  store x86_fp80 %v4_a, x86_fp80* %st7.global-to-local, align 4
  %v3_c = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_c = fpext double %v3_c to x86_fp80
  store x86_fp80 %v4_c, x86_fp80* %st6.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 = add i32 %v3_7, -16
  %v4_10 = inttoptr i32 %v3_10 to double*
  %v5_10 = load double, double* %v4_10, align 4
  %v6_10 = fpext double %v5_10 to x86_fp80
  %v7_10 = fadd x86_fp80 %v4_e, %v6_10
  %tmp230 = bitcast double %v3_e to i64
  %tmp231 = trunc i64 %tmp230 to i32
  %v3_13 = fptrunc x86_fp80 %v7_10 to double
  %v4_13 = inttoptr i32 %tmp231 to double*
  store double %v3_13, double* %v4_13, align 4
  %v1_15 = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v3_15 = add i32 %v3_7, -24
  %v4_15 = inttoptr i32 %v3_15 to double*
  %v5_15 = load double, double* %v4_15, align 4
  %v6_15 = fpext double %v5_15 to x86_fp80
  %v7_15 = fadd x86_fp80 %v1_15, %v6_15
  store x86_fp80 %v7_15, x86_fp80* %st6.global-to-local, align 4
  %v2_18 = load i32, i32* @edx, align 8
  %v3_18 = fptrunc x86_fp80 %v7_15 to double
  %v4_18 = inttoptr i32 %v2_18 to double*
  store double %v3_18, double* %v4_18, align 4
  %v1_1a = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v3_1a = add i32 %v3_7, -32
  %v4_1a = inttoptr i32 %v3_1a to double*
  %v5_1a = load double, double* %v4_1a, align 4
  %v6_1a = fpext double %v5_1a to x86_fp80
  %v7_1a = fadd x86_fp80 %v1_1a, %v6_1a
  store x86_fp80 %v7_1a, x86_fp80* %st7.global-to-local, align 4
  %v2_1d = load i32, i32* @ecx, align 8
  %v3_1d = fptrunc x86_fp80 %v7_1a to double
  %v4_1d = inttoptr i32 %v2_1d to double*
  store double %v3_1d, double* %v4_1d, 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_21 = load i32, i32* @eax, align 8
  ret i32 %v0_21
}
