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() local_unnamed_addr {
dec_label_pc_0:
  %ebp.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 i3, i3* %fpu_stat_TOP.global-to-local, align 1
  %v3_3 = load double, double* bitcast (i32* @eax to double*), align 8
  %v3_7 = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_7 = fpext double %v3_7 to x86_fp80
  store x86_fp80 %v4_7, x86_fp80* %st6.global-to-local, align 4
  %v5_11 = add i3 %v0_3, -3
  store i3 %v5_11, i3* %fpu_stat_TOP.global-to-local, align 1
  %v1_13 = call i32 @__asm_fpatan(i32 %v0_0)
  store i32 %v1_13, i32* @eax, align 8
  %v2_15 = load i32, i32* @edx, align 8
  %v4_15 = inttoptr i32 %v2_15 to double*
  store double %v3_3, double* %v4_15, align 4
  %v1_17 = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v2_17 = load i32, i32* @eax, align 8
  %v3_17 = fptrunc x86_fp80 %v1_17 to double
  %v4_17 = inttoptr i32 %v2_17 to double*
  store double %v3_17, double* %v4_17, align 4
  %v5_17 = add i3 %v0_3, -1
  store i3 %v5_17, i3* %fpu_stat_TOP.global-to-local, align 1
  %v0_1a = load i32, i32* @eax, align 8
  ret i32 %v0_1a
}

declare i32 @__asm_fpatan(i32) local_unnamed_addr
