	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amdgpu_display_update_priority ## -- Begin function amdgpu_display_update_priority
	.p2align	4, 0x90
_amdgpu_display_update_priority:        ## @amdgpu_display_update_priority
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_amdgpu_disp_priority@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%ecx, %ecx
	cmpl	$3, %eax
	cmovll	%eax, %ecx
	testl	%eax, %eax
	cmovel	%eax, %ecx
	movl	%ecx, (%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_amdgpu_disp_priority,4,2       ## @amdgpu_disp_priority
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amdgpu_display_update_priority ; -- Begin function amdgpu_display_update_priority
	.p2align	2
_amdgpu_display_update_priority:        ; @amdgpu_display_update_priority
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _amdgpu_disp_priority@GOTPAGE
Lloh1:
	ldr	x8, [x8, _amdgpu_disp_priority@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #2
	ccmp	w8, #0, #4, le
	csel	w8, wzr, w8, eq
	str	w8, [x0]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_amdgpu_disp_priority,4,2       ; @amdgpu_disp_priority
.subsections_via_symbols
