	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gk20a_grctx_generate_main
_gk20a_grctx_generate_main:             ## @gk20a_grctx_generate_main
	.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
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	32(%rdi), %r15
	movq	24(%rdi), %rax
	movq	(%rax), %r13
	movl	16(%rdi), %esi
	callq	_gf100_gr_mmio
	movq	%rbx, %rdi
	callq	_gf100_gr_wait_idle
	movq	%r15, %rdi
	movl	$4211028, %esi                  ## imm = 0x404154
	movl	$-1, %edx
	xorl	%ecx, %ecx
	callq	_nvkm_mask
	movl	%eax, %r12d
	movq	%r14, %rdi
	callq	*24(%r13)
	movq	%rbx, %rdi
	callq	*16(%r13)
	movq	%rbx, %rdi
	callq	_gf100_grctx_generate_floorsweep
	movq	%r15, %rdi
	movl	$4220112, %esi                  ## imm = 0x4064D0
	xorl	%edx, %edx
	callq	_nvkm_wr32
	movq	%r15, %rdi
	movl	$4220116, %esi                  ## imm = 0x4064D4
	xorl	%edx, %edx
	callq	_nvkm_wr32
	movq	%r15, %rdi
	movl	$4220120, %esi                  ## imm = 0x4064D8
	xorl	%edx, %edx
	callq	_nvkm_wr32
	movq	%r15, %rdi
	movl	$4220124, %esi                  ## imm = 0x4064DC
	xorl	%edx, %edx
	callq	_nvkm_wr32
	movq	%r15, %rdi
	movl	$4220128, %esi                  ## imm = 0x4064E0
	xorl	%edx, %edx
	callq	_nvkm_wr32
	movq	%r15, %rdi
	movl	$4220132, %esi                  ## imm = 0x4064E4
	xorl	%edx, %edx
	callq	_nvkm_wr32
	movq	%r15, %rdi
	movl	$4220136, %esi                  ## imm = 0x4064E8
	xorl	%edx, %edx
	callq	_nvkm_wr32
	movq	%r15, %rdi
	movl	$4220140, %esi                  ## imm = 0x4064EC
	xorl	%edx, %edx
	callq	_nvkm_wr32
	movl	(%rbx), %edx
	shll	$8, %edx
	orl	4(%rbx), %edx
	movq	%r15, %rdi
	movl	$4217600, %esi                  ## imm = 0x405B00
	callq	_nvkm_wr32
	movq	%r15, %rdi
	movl	$5260464, %esi                  ## imm = 0x5044B0
	movl	$134217728, %edx                ## imm = 0x8000000
	movl	$134217728, %ecx                ## imm = 0x8000000
	callq	_nvkm_mask
	movq	%rbx, %rdi
	callq	_gf100_gr_wait_idle
	movq	%r15, %rdi
	movl	$4211028, %esi                  ## imm = 0x404154
	movl	%r12d, %edx
	callq	_nvkm_wr32
	movq	%rbx, %rdi
	callq	_gf100_gr_wait_idle
	movl	12(%rbx), %esi
	movq	%rbx, %rdi
	callq	_gf100_gr_mthd
	movq	%rbx, %rdi
	callq	_gf100_gr_wait_idle
	movl	8(%rbx), %esi
	movq	%rbx, %rdi
	callq	_gf100_gr_icmd
	movq	%r14, %rdi
	callq	*8(%r13)
	movq	%r14, %rdi
	movq	%r13, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*(%rax)                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_gk20a_grctx_generate_main
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gk20a_grctx_generate_main
_gk20a_grctx_generate_main:             ; @gk20a_grctx_generate_main
	.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, x1
	mov	x20, x0
	ldp	x8, x21, [x0, #24]
	ldr	x23, [x8]
	ldr	w1, [x0, #16]
	bl	_gf100_gr_mmio
	mov	x0, x20
	bl	_gf100_gr_wait_idle
	mov	x0, x21
	mov	w1, #16724
	movk	w1, #64, lsl #16
	mov	w2, #-1
	mov	w3, #0
	bl	_nvkm_mask
	mov	x22, x0
	ldr	x8, [x23, #24]
	mov	x0, x19
	blr	x8
	ldr	x8, [x23, #16]
	mov	x0, x20
	blr	x8
	mov	x0, x20
	bl	_gf100_grctx_generate_floorsweep
	mov	w24, #23296
	movk	w24, #64, lsl #16
	add	w1, w24, #2512
	mov	x0, x21
	mov	w2, #0
	bl	_nvkm_wr32
	add	w1, w24, #2516
	mov	x0, x21
	mov	w2, #0
	bl	_nvkm_wr32
	add	w1, w24, #2520
	mov	x0, x21
	mov	w2, #0
	bl	_nvkm_wr32
	add	w1, w24, #2524
	mov	x0, x21
	mov	w2, #0
	bl	_nvkm_wr32
	add	w1, w24, #2528
	mov	x0, x21
	mov	w2, #0
	bl	_nvkm_wr32
	add	w1, w24, #2532
	mov	x0, x21
	mov	w2, #0
	bl	_nvkm_wr32
	add	w1, w24, #2536
	mov	x0, x21
	mov	w2, #0
	bl	_nvkm_wr32
	add	w1, w24, #2540
	mov	x0, x21
	mov	w2, #0
	bl	_nvkm_wr32
	ldp	w8, w9, [x20]
	orr	w2, w9, w8, lsl #8
	mov	x0, x21
	mov	w1, #23296
	movk	w1, #64, lsl #16
	bl	_nvkm_wr32
	mov	x0, x21
	mov	w1, #17584
	movk	w1, #80, lsl #16
	mov	w2, #134217728
	mov	w3, #134217728
	bl	_nvkm_mask
	mov	x0, x20
	bl	_gf100_gr_wait_idle
	mov	x0, x21
	mov	w1, #16724
	movk	w1, #64, lsl #16
	mov	x2, x22
	bl	_nvkm_wr32
	mov	x0, x20
	bl	_gf100_gr_wait_idle
	ldr	w1, [x20, #12]
	mov	x0, x20
	bl	_gf100_gr_mthd
	mov	x0, x20
	bl	_gf100_gr_wait_idle
	ldr	w1, [x20, #8]
	mov	x0, x20
	bl	_gf100_gr_icmd
	ldr	x8, [x23, #8]
	mov	x0, x19
	blr	x8
	ldr	x1, [x23]
	mov	x0, x19
	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
	br	x1
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_gk20a_grctx_generate_main
.subsections_via_symbols
