	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nv50_pior_state
_nv50_pior_state:                       ## @nv50_pior_state
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	24(%rdi), %rax
	movq	(%rax), %rdi
	movl	(%r14), %eax
	shll	$3, %eax
	leaq	4(%r14), %rcx
	xorl	%edx, %edx
	cmpq	%rsi, %rcx
	sete	%dl
	leal	(%rax,%rdx,4), %esi
	addl	$6359936, %esi                  ## imm = 0x610B80
	callq	_nvkm_rd32
	movl	%eax, %ecx
	shrl	$8, %ecx
	andl	$15, %ecx
	movl	%ecx, (%rbx)
	movl	$1, 4(%rbx)
	jne	LBB0_1
## %bb.2:
	movq	_TMDS@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_1:
	movq	_UNKNOWN@GOTPCREL(%rip), %rcx
LBB0_3:
	movl	(%rcx), %ecx
	movl	%ecx, 12(%rbx)
	movl	%eax, %ecx
	andl	$3, %ecx
	movl	%ecx, 8(%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_nv50_pior_depth                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TMDS,4,2                       ## @TMDS
	.comm	_UNKNOWN,4,2                    ## @UNKNOWN
	.no_dead_strip	_nv50_pior_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nv50_pior_state
_nv50_pior_state:                       ; @nv50_pior_state
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0, #24]
	ldr	x0, [x8]
	ldr	w8, [x20]
	add	x9, x20, #4
	mov	w10, #2944
	movk	w10, #97, lsl #16
	orr	w11, w10, #0x4
	cmp	x9, x1
	csel	w9, w11, w10, eq
	add	w1, w9, w8, lsl #3
	bl	_nvkm_rd32
	mov	x2, x0
	mov	w8, #15
	ands	w8, w8, w0, lsr #8
	mov	w9, #1
	stp	w8, w9, [x19]
Lloh0:
	adrp	x8, _TMDS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TMDS@GOTPAGEOFF]
Lloh2:
	adrp	x9, _UNKNOWN@GOTPAGE
Lloh3:
	ldr	x9, [x9, _UNKNOWN@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	ldr	w8, [x8]
	and	w9, w0, #0x3
	stp	w9, w8, [x19, #8]
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_nv50_pior_depth
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_TMDS,4,2                       ; @TMDS
	.comm	_UNKNOWN,4,2                    ; @UNKNOWN
	.no_dead_strip	_nv50_pior_state
.subsections_via_symbols
