	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r100_is_in_vblank
_r100_is_in_vblank:                     ## @r100_is_in_vblank
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	testl	%esi, %esi
	movq	_RADEON_CRTC2_STATUS@GOTPCREL(%rip), %rax
	cmoveq	_RADEON_CRTC_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RADEON_CRTC2_VBLANK_CUR@GOTPCREL(%rip), %rbx
	cmoveq	_RADEON_CRTC_VBLANK_CUR@GOTPCREL(%rip), %rbx
	callq	_RREG32
	xorl	%ecx, %ecx
	testl	%eax, (%rbx)
	setne	%cl
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RADEON_CRTC_STATUS,4,2         ## @RADEON_CRTC_STATUS
	.comm	_RADEON_CRTC_VBLANK_CUR,4,2     ## @RADEON_CRTC_VBLANK_CUR
	.comm	_RADEON_CRTC2_STATUS,4,2        ## @RADEON_CRTC2_STATUS
	.comm	_RADEON_CRTC2_VBLANK_CUR,4,2    ## @RADEON_CRTC2_VBLANK_CUR
	.no_dead_strip	_r100_is_in_vblank
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r100_is_in_vblank
_r100_is_in_vblank:                     ; @r100_is_in_vblank
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _RADEON_CRTC_STATUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RADEON_CRTC_STATUS@GOTPAGEOFF]
Lloh2:
	adrp	x9, _RADEON_CRTC2_STATUS@GOTPAGE
Lloh3:
	ldr	x9, [x9, _RADEON_CRTC2_STATUS@GOTPAGEOFF]
	cmp	w1, #0
	csel	x8, x8, x9, eq
	ldr	w0, [x8]
Lloh4:
	adrp	x8, _RADEON_CRTC_VBLANK_CUR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _RADEON_CRTC_VBLANK_CUR@GOTPAGEOFF]
Lloh6:
	adrp	x9, _RADEON_CRTC2_VBLANK_CUR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RADEON_CRTC2_VBLANK_CUR@GOTPAGEOFF]
	csel	x19, x8, x9, eq
	bl	_RREG32
	ldr	w8, [x19]
	tst	w8, w0
	cset	w0, ne
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_RADEON_CRTC_STATUS,4,2         ; @RADEON_CRTC_STATUS
	.comm	_RADEON_CRTC_VBLANK_CUR,4,2     ; @RADEON_CRTC_VBLANK_CUR
	.comm	_RADEON_CRTC2_STATUS,4,2        ; @RADEON_CRTC2_STATUS
	.comm	_RADEON_CRTC2_VBLANK_CUR,4,2    ; @RADEON_CRTC2_VBLANK_CUR
	.no_dead_strip	_r100_is_in_vblank
.subsections_via_symbols
