	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gk104_grctx_generate_pagepool  ## -- Begin function gk104_grctx_generate_pagepool
	.p2align	4, 0x90
_gk104_grctx_generate_pagepool:         ## @gk104_grctx_generate_pagepool
	.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	(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	movl	$256, %edx                      ## imm = 0x100
	movl	$1, %ecx
	callq	_mmio_vram
	movl	%eax, %r14d
	movq	%rbx, %rdi
	movl	$4227084, %esi                  ## imm = 0x40800C
	xorl	%edx, %edx
	movl	$8, %ecx
	movl	%eax, %r8d
	callq	_mmio_refn
	movq	%rbx, %rdi
	movl	$4227088, %esi                  ## imm = 0x408010
	movl	$-2147483648, %edx              ## imm = 0x80000000
	callq	_mmio_wr32
	movq	%rbx, %rdi
	movl	$4296708, %esi                  ## imm = 0x419004
	xorl	%edx, %edx
	movl	$8, %ecx
	movl	%r14d, %r8d
	callq	_mmio_refn
	movq	%rbx, %rdi
	movl	$4296712, %esi                  ## imm = 0x419008
	xorl	%edx, %edx
	callq	_mmio_wr32
	movq	%rbx, %rdi
	movl	$4220108, %esi                  ## imm = 0x4064CC
	movl	$-2147483648, %edx              ## imm = 0x80000000
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mmio_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	_gk104_grctx_generate_pagepool  ; -- Begin function gk104_grctx_generate_pagepool
	.p2align	2
_gk104_grctx_generate_pagepool:         ; @gk104_grctx_generate_pagepool
	.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
	mov	x19, x0
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	w1, [x8]
	mov	w2, #256
	mov	w3, #1
	bl	_mmio_vram
	mov	x20, x0
	mov	w21, #32780
	movk	w21, #64, lsl #16
	mov	x0, x19
	mov	w1, #32780
	movk	w1, #64, lsl #16
	mov	w2, #0
	mov	w3, #8
	mov	x4, x20
	bl	_mmio_refn
	add	w1, w21, #4
	mov	x0, x19
	mov	w2, #-2147483648
	bl	_mmio_wr32
	mov	w21, #36868
	movk	w21, #65, lsl #16
	mov	x0, x19
	mov	w1, #36868
	movk	w1, #65, lsl #16
	mov	w2, #0
	mov	w3, #8
	mov	x4, x20
	bl	_mmio_refn
	add	w1, w21, #4
	mov	x0, x19
	mov	w2, #0
	bl	_mmio_wr32
	mov	x0, x19
	mov	w1, #25804
	movk	w1, #64, lsl #16
	mov	w2, #-2147483648
	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	_mmio_wr32
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
