	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvc0_graph_ctxctl_debug        ## -- Begin function nvc0_graph_ctxctl_debug
	.p2align	4, 0x90
_nvc0_graph_ctxctl_debug:               ## @nvc0_graph_ctxctl_debug
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	$4232708, %esi                  ## imm = 0x409604
	callq	_nv_rd32
	movl	%eax, %r15d
	movq	%r14, %rdi
	movl	$4231168, %esi                  ## imm = 0x409000
	callq	_nvc0_graph_ctxctl_debug_unit
	andl	$65535, %r15d                   ## imm = 0xFFFF
	je	LBB0_3
## %bb.1:
	shll	$15, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leal	5251072(%rbx), %esi
	movq	%r14, %rdi
	callq	_nvc0_graph_ctxctl_debug_unit
	addl	$32768, %ebx                    ## imm = 0x8000
	cmpl	%ebx, %r15d
	jne	LBB0_2
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvc0_graph_ctxctl_debug        ; -- Begin function nvc0_graph_ctxctl_debug
	.p2align	2
_nvc0_graph_ctxctl_debug:               ; @nvc0_graph_ctxctl_debug
	.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
	mov	w20, #36864
	movk	w20, #64, lsl #16
	mov	w8, #1540
	orr	w1, w20, w8
	bl	_nv_rd32
	and	w22, w0, #0xffff
	mov	x0, x19
	mov	w1, #36864
	movk	w1, #64, lsl #16
	bl	_nvc0_graph_ctxctl_debug_unit
	cbz	w22, LBB0_3
; %bb.1:
	mov	w21, #0
	lsl	w22, w22, #15
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	w8, w20, w21
	add	w1, w8, #249, lsl #12           ; =1019904
	mov	x0, x19
	bl	_nvc0_graph_ctxctl_debug_unit
	add	w21, w21, #8, lsl #12           ; =32768
	cmp	w22, w21
	b.ne	LBB0_2
LBB0_3:
	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
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
