	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_radeon_vblank_crtc_set         ## -- Begin function radeon_vblank_crtc_set
	.p2align	4, 0x90
_radeon_vblank_crtc_set:                ## @radeon_vblank_crtc_set
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_DRM_RADEON_VBLANK_CRTC1@GOTPCREL(%rip), %rax
	movq	_DRM_RADEON_VBLANK_CRTC2@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	notl	%ecx
	testl	%esi, %ecx
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_DRM_ERROR
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_2:
	movq	(%rdi), %rax
	movl	%esi, (%rax)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DRM_RADEON_VBLANK_CRTC1,4,2    ## @DRM_RADEON_VBLANK_CRTC1
	.comm	_DRM_RADEON_VBLANK_CRTC2,4,2    ## @DRM_RADEON_VBLANK_CRTC2
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"called with invalid crtc 0x%x\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_radeon_vblank_crtc_set         ; -- Begin function radeon_vblank_crtc_set
	.p2align	2
_radeon_vblank_crtc_set:                ; @radeon_vblank_crtc_set
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x9, _DRM_RADEON_VBLANK_CRTC1@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DRM_RADEON_VBLANK_CRTC1@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _DRM_RADEON_VBLANK_CRTC2@GOTPAGE
Lloh4:
	ldr	x10, [x10, _DRM_RADEON_VBLANK_CRTC2@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	orr	w9, w10, w9
	bics	wzr, w1, w9
	b.eq	LBB0_2
; %bb.1:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_ERROR
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x8, x0
	mov	w0, #0
	ldr	x8, [x8]
	str	w1, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_DRM_RADEON_VBLANK_CRTC1,4,2    ; @DRM_RADEON_VBLANK_CRTC1
	.comm	_DRM_RADEON_VBLANK_CRTC2,4,2    ; @DRM_RADEON_VBLANK_CRTC2
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"called with invalid crtc 0x%x\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
