	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nv50_wndw_zpos_default
_nv50_wndw_zpos_default:                ## @nv50_wndw_zpos_default
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rcx
	movq	_DRM_PLANE_TYPE_PRIMARY@GOTPCREL(%rip), %rdx
	movq	_DRM_PLANE_TYPE_OVERLAY@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	movl	$1, %eax
	movl	$255, %esi
	cmovel	%eax, %esi
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	cmovnel	%esi, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DRM_PLANE_TYPE_PRIMARY,8,3     ## @DRM_PLANE_TYPE_PRIMARY
	.comm	_DRM_PLANE_TYPE_OVERLAY,8,3     ## @DRM_PLANE_TYPE_OVERLAY
	.no_dead_strip	_nv50_wndw_zpos_default
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nv50_wndw_zpos_default
_nv50_wndw_zpos_default:                ; @nv50_wndw_zpos_default
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _DRM_PLANE_TYPE_PRIMARY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DRM_PLANE_TYPE_PRIMARY@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _DRM_PLANE_TYPE_OVERLAY@GOTPAGE
Lloh4:
	ldr	x10, [x10, _DRM_PLANE_TYPE_OVERLAY@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x10
	mov	w10, #255
	csinc	w10, w10, wzr, ne
	cmp	x8, x9
	csel	w0, wzr, w10, eq
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DRM_PLANE_TYPE_PRIMARY,8,3     ; @DRM_PLANE_TYPE_PRIMARY
	.comm	_DRM_PLANE_TYPE_OVERLAY,8,3     ; @DRM_PLANE_TYPE_OVERLAY
	.no_dead_strip	_nv50_wndw_zpos_default
.subsections_via_symbols
