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
@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
  %fpu_stat_TOP.global-to-local = alloca i3, align 1
  %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
  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
  store i32 %v3_7, i32* %esi.global-to-local, align 4
  %v0_a = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  %v3_a = load double, double* bitcast (i32* @eax to double*), align 8
  %v3_e = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_e = fpext double %v3_e to x86_fp80
  store x86_fp80 %v4_e, x86_fp80* %st6.global-to-local, align 4
  %v5_1d = add i3 %v0_a, -3
  store i3 %v5_1d, i3* %fpu_stat_TOP.global-to-local, align 1
  %v2_1f = call i32 @__asm_fpatan(i32 %v0_3, i32 %v0_0)
  store i32 %v2_1f, i32* @eax, align 8
  %v2_21 = load i32, i32* @edx, align 8
  %v4_21 = inttoptr i32 %v2_21 to double*
  store double %v3_a, double* %v4_21, align 4
  %v1_23 = load x86_fp80, x86_fp80* %st6.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
  %v5_23 = add i3 %v0_a, -1
  store i3 %v5_23, i3* %fpu_stat_TOP.global-to-local, align 1
  store i32 %v0_3, i32* %esi.global-to-local, align 4
  %v0_27 = load i32, i32* @eax, align 8
  ret i32 %v0_27
}

declare i32 @__asm_fpatan(i32, i32) local_unnamed_addr
