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

define i32 @function_0(i32 %arg1) local_unnamed_addr {
dec_label_pc_0:
  %ebp.global-to-local = alloca i32, align 4
  %edi.global-to-local = alloca i32, align 4
  %esi.global-to-local = alloca i32, 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
  %v0_4 = load i32, i32* %edi.global-to-local, align 4
  store i32 %arg1, i32* %esi.global-to-local, align 4
  %v1_8 = add i32 %arg1, 48
  %v2_8 = inttoptr i32 %v1_8 to i32*
  %v3_8 = load i32, i32* %v2_8, align 4
  store i32 %v3_8, i32* %edi.global-to-local, align 4
  %v1_b = add i32 %v3_8, -12
  %v2_b = inttoptr i32 %v1_b to i32*
  %v3_b = load i32, i32* %v2_b, align 4
  %v10_b = icmp eq i32 %v3_b, 0
  br i1 %v10_b, label %dec_label_pc_1d, label %dec_label_pc_11

dec_label_pc_11:                                  ; preds = %dec_label_pc_0
  %v2_11 = add i32 %arg1, 24
  %v3_11 = inttoptr i32 %v2_11 to double*
  %v4_11 = load double, double* %v3_11, align 4
  %v5_11 = fpext double %v4_11 to x86_fp80
  store x86_fp80 %v5_11, x86_fp80* %st7.global-to-local, align 4
  %v2_14 = add i32 %arg1, 40
  %v3_14 = inttoptr i32 %v2_14 to double*
  %v4_14 = load double, double* %v3_14, align 4
  store double %v4_14, double* %v3_11, align 4
  %v1_1a = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v4_1a = fptrunc x86_fp80 %v1_1a to double
  store double %v4_1a, double* %v3_14, align 4
  br label %dec_label_pc_1d

dec_label_pc_1d:                                  ; preds = %dec_label_pc_0, %dec_label_pc_11
  %v3_1d = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_1d = fpext double %v3_1d to x86_fp80
  store x86_fp80 %v4_1d, x86_fp80* %st7.global-to-local, align 4
  %v3_1f = load double, double* bitcast (i32* @eax to double*), align 8
  %tmp233 = bitcast double %v3_1d to i64
  %tmp234 = trunc i64 %tmp233 to i32
  %v4_21 = inttoptr i32 %tmp234 to double*
  store double %v3_1f, double* %v4_21, align 4
  %v1_23 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v2_23 = load i32, i32* @eax, align 8
  %v3_23 = fptrunc x86_fp80 %v1_23 to double
  %v4_23 = inttoptr i32 %v2_23 to double*
  store double %v3_23, double* %v4_23, align 4
  store i32 %v0_4, i32* %edi.global-to-local, 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_28 = load i32, i32* @eax, align 8
  ret i32 %v0_28
}
