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
  %ebx.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
  %st1.global-to-local = alloca x86_fp80, align 4
  %st5.global-to-local = alloca x86_fp80, align 4
  %st6.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* %ebx.global-to-local, align 4
  store i32 %arg1, i32* %esi.global-to-local, align 4
  %v0_8 = load i32, i32* @eax, align 8
  store i32 %v0_8, i32* %ebx.global-to-local, align 4
  %v1_a = add i32 %arg1, 48
  %v2_a = inttoptr i32 %v1_a to i32*
  %v3_a = load i32, i32* %v2_a, align 4
  store i32 %v3_a, i32* %esi.global-to-local, align 4
  %v0_d = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  %v5_12 = add i3 %v0_d, -2
  store x86_fp80 0xK3FFF8000000000000000, x86_fp80* %st6.global-to-local, align 4
  store i3 %v5_12, i3* %fpu_stat_TOP.global-to-local, align 1
  %v3_20 = call i32 @__asm_fpatan(i32 %v0_4, i32 %v0_3, i32 %v0_0)
  store i32 %v3_20, i32* @eax, align 8
  %v4_22 = load double, double* bitcast (i32* @edx to double*), align 8
  %v5_22 = fpext double %v4_22 to x86_fp80
  %v6_22 = fadd x86_fp80 %v5_22, 0xK3FFF8000000000000000
  store x86_fp80 %v6_22, x86_fp80* %st6.global-to-local, align 4
  %v0_24 = load x86_fp80, x86_fp80* %st1.global-to-local, align 4
  call void @__asm_ffree(x86_fp80 %v0_24)
  %v0_28 = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  %v1_28 = load i32, i32* %esi.global-to-local, align 4
  %v2_28 = add i32 %v1_28, -24
  %v3_28 = inttoptr i32 %v2_28 to double*
  %v4_28 = load double, double* %v3_28, align 4
  %v5_28 = fpext double %v4_28 to x86_fp80
  %v4_2b = load double, double* bitcast (i32* @eax to double*), align 8
  %v5_2b = fpext double %v4_2b to x86_fp80
  %v6_2b = fsub x86_fp80 %v5_28, %v5_2b
  store x86_fp80 %v6_2b, x86_fp80* %st5.global-to-local, align 4
  %v3_2d = add i32 %v1_28, -16
  %v4_2d = inttoptr i32 %v3_2d to double*
  %v5_2d = load double, double* %v4_2d, align 4
  %v6_2d = fpext double %v5_2d to x86_fp80
  %v7_2d = fmul x86_fp80 %v6_2b, %v6_2d
  store x86_fp80 %v7_2d, x86_fp80* %st5.global-to-local, align 4
  %v4_32 = load double, double* %v3_28, align 4
  %v5_32 = fpext double %v4_32 to x86_fp80
  %v4_35 = load double, double* bitcast (i32* @edx to double*), align 8
  %v5_35 = fpext double %v4_35 to x86_fp80
  %v6_35 = fmul x86_fp80 %v5_32, %v5_35
  %v3_39 = add i32 %v1_28, -32
  %v4_39 = inttoptr i32 %v3_39 to double*
  %v5_39 = load double, double* %v4_39, align 4
  %v6_39 = fpext double %v5_39 to x86_fp80
  %v7_39 = fmul x86_fp80 %v5_2b, %v6_39
  %v4_3e = fsub x86_fp80 %v6_35, %v7_39
  %v3_40 = add i32 %v1_28, -56
  %v4_40 = inttoptr i32 %v3_40 to double*
  %v5_40 = load double, double* %v4_40, align 4
  %v6_40 = fpext double %v5_40 to x86_fp80
  %v7_40 = fmul x86_fp80 %v4_3e, %v6_40
  %v4_43 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v5_43 = fpext double %v4_43 to x86_fp80
  %v6_43 = fadd x86_fp80 %v7_40, %v5_43
  %tmp231 = bitcast double %v4_43 to i64
  %tmp232 = trunc i64 %tmp231 to i32
  %v3_47 = fptrunc x86_fp80 %v6_43 to double
  %v4_47 = inttoptr i32 %tmp232 to double*
  store double %v3_47, double* %v4_47, align 4
  %v1_49 = load x86_fp80, x86_fp80* %st5.global-to-local, align 4
  %v2_49 = load i32, i32* @edx, align 8
  %v3_49 = fptrunc x86_fp80 %v1_49 to double
  %v4_49 = inttoptr i32 %v2_49 to double*
  store double %v3_49, double* %v4_49, align 4
  %v1_4b = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v2_4b = load i32, i32* %ebx.global-to-local, align 4
  %v3_4b = fptrunc x86_fp80 %v1_4b to double
  %v4_4b = inttoptr i32 %v2_4b to double*
  store double %v3_4b, double* %v4_4b, align 4
  %v5_4b = add i3 %v0_28, 1
  store i3 %v5_4b, i3* %fpu_stat_TOP.global-to-local, align 1
  store i32 %v2_4b, i32* @eax, align 8
  store i32 %v0_4, i32* %ebx.global-to-local, align 4
  store i32 %v0_3, i32* %esi.global-to-local, align 4
  ret i32 %v2_4b
}

declare i32 @__asm_fpatan(i32, i32, i32) local_unnamed_addr

declare void @__asm_ffree(x86_fp80) local_unnamed_addr
