	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gf100_gr_init_gpc_mmu          ## -- Begin function gf100_gr_init_gpc_mmu
	.p2align	4, 0x90
_gf100_gr_init_gpc_mmu:                 ## @gf100_gr_init_gpc_mmu
	.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	(%rdi), %rbx
	movq	(%rbx), %r14
	movq	%rbx, %rdi
	movl	$1051776, %esi                  ## imm = 0x100C80
	callq	_nvkm_rd32
	andl	$1, %eax
	movq	%rbx, %rdi
	movl	$4294784, %esi                  ## imm = 0x418880
	movl	%eax, %edx
	callq	_nvkm_wr32
	movq	%rbx, %rdi
	movl	$4294820, %esi                  ## imm = 0x4188A4
	movl	$50331648, %edx                 ## imm = 0x3000000
	callq	_nvkm_wr32
	movq	%rbx, %rdi
	movl	$4294792, %esi                  ## imm = 0x418888
	xorl	%edx, %edx
	callq	_nvkm_wr32
	movq	%rbx, %rdi
	movl	$4294796, %esi                  ## imm = 0x41888C
	xorl	%edx, %edx
	callq	_nvkm_wr32
	movq	%rbx, %rdi
	movl	$4294800, %esi                  ## imm = 0x418890
	xorl	%edx, %edx
	callq	_nvkm_wr32
	movq	%rbx, %rdi
	movl	$4294804, %esi                  ## imm = 0x418894
	xorl	%edx, %edx
	callq	_nvkm_wr32
	movl	4(%r14), %edi
	callq	_nvkm_memory_addr
	sarl	$8, %eax
	movq	%rbx, %rdi
	movl	$4294836, %esi                  ## imm = 0x4188B4
	movl	%eax, %edx
	callq	_nvkm_wr32
	movl	(%r14), %edi
	callq	_nvkm_memory_addr
	sarl	$8, %eax
	movq	%rbx, %rdi
	movl	$4294840, %esi                  ## imm = 0x4188B8
	movl	%eax, %edx
	popq	%rbx
	popq	%r14
	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_gr_init_gpc_mmu          ; -- Begin function gf100_gr_init_gpc_mmu
	.p2align	2
_gf100_gr_init_gpc_mmu:                 ; @gf100_gr_init_gpc_mmu
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x19, [x0]
	ldr	x20, [x19]
	mov	x0, x19
	mov	w1, #3200
	movk	w1, #16, lsl #16
	bl	_nvkm_rd32
	and	w2, w0, #0x1
	mov	w21, #34944
	movk	w21, #65, lsl #16
	mov	x0, x19
	mov	w1, #34944
	movk	w1, #65, lsl #16
	bl	_nvkm_wr32
	mov	w8, #36
	orr	w1, w21, w8
	mov	x0, x19
	mov	w2, #50331648
	bl	_nvkm_wr32
	orr	w1, w21, #0x8
	mov	x0, x19
	mov	w2, #0
	bl	_nvkm_wr32
	orr	w1, w21, #0xc
	mov	x0, x19
	mov	w2, #0
	bl	_nvkm_wr32
	orr	w1, w21, #0x10
	mov	x0, x19
	mov	w2, #0
	bl	_nvkm_wr32
	mov	w8, #20
	orr	w1, w21, w8
	mov	x0, x19
	mov	w2, #0
	bl	_nvkm_wr32
	ldr	w0, [x20, #4]
	bl	_nvkm_memory_addr
	asr	w2, w0, #8
	mov	w8, #52
	orr	w1, w21, w8
	mov	x0, x19
	bl	_nvkm_wr32
	ldr	w0, [x20]
	bl	_nvkm_memory_addr
	asr	w2, w0, #8
	orr	w1, w21, #0x38
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_nvkm_wr32
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
