	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nv50_instobj_rd32_slow
_nv50_instobj_rd32_slow:                ## @nv50_instobj_rd32_slow
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r12d
	callq	_nv50_instobj
	movq	%rax, %rbx
	movq	8(%rax), %r15
	leaq	8(%r15), %r14
	movq	16(%r15), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %edi
	callq	_nvkm_memory_addr
	movl	%eax, %r13d
	addl	%r12d, %r13d
	andl	$-1048576, %r13d                ## imm = 0xFFF00000
	movl	(%rbx), %edi
	callq	_nvkm_memory_addr
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	xorl	%edi, %edi
	cmpl	%r13d, (%r15)
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	%r13d, %edx
	sarl	$16, %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	$5888, %esi                     ## imm = 0x1700
	callq	_nvkm_wr32
	movl	%r13d, (%r15)
LBB0_2:
	addl	%r12d, %ebx
	andl	$1048575, %ebx                  ## imm = 0xFFFFF
	orl	$7340032, %ebx                  ## imm = 0x700000
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	callq	_nvkm_rd32
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_nv50_instobj_rd32_slow
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nv50_instobj_rd32_slow
_nv50_instobj_rd32_slow:                ; @nv50_instobj_rd32_slow
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	bl	_nv50_instobj
	mov	x22, x0
	ldr	x23, [x0, #8]
	add	x19, x23, #8
	ldr	x21, [x23, #16]
	ldr	w0, [x0]
	bl	_nvkm_memory_addr
	add	w8, w0, w20
	and	w24, w8, #0xfff00000
	ldr	w0, [x22]
	bl	_nvkm_memory_addr
	mov	x22, x0
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	w8, [x23]
	cmp	w8, w24
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	asr	w2, w24, #16
	mov	x0, x21
	mov	w1, #5888
	bl	_nvkm_wr32
	str	w24, [x23]
LBB0_2:
	add	w8, w22, w20
	mov	w1, #7340032
	bfxil	w1, w8, #0, #20
	mov	x0, x21
	bl	_nvkm_rd32
	mov	x20, x0
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_nv50_instobj_rd32_slow
.subsections_via_symbols
