	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nv50_instobj_wr32
_nv50_instobj_wr32:                     ## @nv50_instobj_wr32
	.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	%edx, %r14d
	movl	%esi, %ebx
	movq	(%rdi), %r15
	addl	(%r15), %ebx
	movl	%ebx, %r13d
	andl	$-1048576, %r13d                ## imm = 0xFFF00000
	leaq	4(%r15), %r12
	movq	%r12, %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	%r15, %rdi
	movl	$5888, %esi                     ## imm = 0x1700
	callq	_nv_wr32
	movl	%r13d, (%r15)
LBB0_2:
	andl	$1048575, %ebx                  ## imm = 0xFFFFF
	orl	$7340032, %ebx                  ## imm = 0x700000
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%r14d, %edx
	callq	_nv_wr32
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_nv50_instobj_wr32
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nv50_instobj_wr32
_nv50_instobj_wr32:                     ; @nv50_instobj_wr32
	.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	x19, x2
	ldr	x20, [x0]
	ldr	w8, [x20]
	add	w22, w8, w1
	and	w23, w22, #0xfff00000
	add	x21, x20, #4
	mov	x0, x21
	bl	_spin_lock_irqsave
	ldr	w8, [x20]
	cmp	w8, w23
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	asr	w2, w23, #16
	mov	x0, x20
	mov	w1, #5888
	bl	_nv_wr32
	str	w23, [x20]
LBB0_2:
	mov	w1, #7340032
	bfxil	w1, w22, #0, #20
	mov	x0, x20
	mov	x2, x19
	bl	_nv_wr32
	mov	x0, x21
	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
	b	_spin_unlock_irqrestore
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_nv50_instobj_wr32
.subsections_via_symbols
