	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gf100_grctx_mmio_item          ## -- Begin function gf100_grctx_mmio_item
	.p2align	4, 0x90
_gf100_grctx_mmio_item:                 ## @gf100_grctx_mmio_item
	.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, %r11
	movq	24(%rdi), %rdi
	movq	(%rdi), %rdi
	cmpq	$0, 16(%r11)
	je	LBB0_6
## %bb.1:
	testl	%ecx, %ecx
	js	LBB0_7
## %bb.2:
	movq	8(%r11), %r9
	movl	%esi, (%r9)
	movl	%edx, 4(%r9)
	movl	%ecx, 8(%r9)
	movl	%r8d, 12(%r9)
	testl	%r8d, %r8d
	js	LBB0_4
## %bb.3:
	movq	(%r11), %r10
	movl	%r8d, %eax
	movl	(%r10,%rax,4), %eax
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %eax
	orl	%eax, %edx
LBB0_4:
	addq	$16, %r9
	movq	%r9, 8(%r11)
	jmp	LBB0_5
LBB0_6:
	testl	%r8d, %r8d
	js	LBB0_5
LBB0_7:
	popq	%rbp
	retq
LBB0_5:
	popq	%rbp
	jmp	_nvkm_wr32                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gf100_grctx_mmio_item          ; -- Begin function gf100_grctx_mmio_item
	.p2align	2
_gf100_grctx_mmio_item:                 ; @gf100_grctx_mmio_item
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	ldp	x10, x9, [x0, #16]
	ldr	x0, [x9]
	cbz	x10, LBB0_5
; %bb.1:
	tbnz	w3, #31, LBB0_6
; %bb.2:
	ldr	x9, [x8, #8]
	stp	w1, w2, [x9]
	stp	w3, w4, [x9, #8]
	tbnz	w4, #31, LBB0_4
; %bb.3:
	ldr	x10, [x8]
	ldr	w10, [x10, w4, uxtw #2]
	asr	w10, w10, w3
	orr	w2, w10, w2
LBB0_4:
	add	x9, x9, #16
	str	x9, [x8, #8]
	b	LBB0_7
LBB0_5:
	tbnz	w4, #31, LBB0_7
LBB0_6:
	ret
LBB0_7:
	b	_nvkm_wr32
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
