	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nve0_graph_ctxctl_isr
_nve0_graph_ctxctl_isr:                 ## @nve0_graph_ctxctl_isr
	.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, %r14
	movl	$4234264, %esi                  ## imm = 0x409C18
	callq	_nv_rd32
	movl	%eax, %ebx
	testb	$1, %bl
	jne	LBB0_1
## %bb.2:
	testl	$524288, %ebx                   ## imm = 0x80000
	jne	LBB0_3
LBB0_4:
	testl	$-524290, %ebx                  ## imm = 0xFFF7FFFE
	je	LBB0_6
LBB0_5:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_nv_error
LBB0_6:
	movq	%r14, %rdi
	callq	_nvc0_graph_ctxctl_debug
	movq	%r14, %rdi
	movl	$4234272, %esi                  ## imm = 0x409C20
	movl	%ebx, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_nv_wr32                        ## TAILCALL
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_nv_error
	testl	$524288, %ebx                   ## imm = 0x80000
	je	LBB0_4
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_nv_error
	testl	$-524290, %ebx                  ## imm = 0xFFF7FFFE
	jne	LBB0_5
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CTXCTRL ucode error\n"

L_.str.1:                               ## @.str.1
	.asciz	"CTXCTRL watchdog timeout\n"

L_.str.2:                               ## @.str.2
	.asciz	"CTXCTRL 0x%08x\n"

	.no_dead_strip	_nve0_graph_ctxctl_isr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nve0_graph_ctxctl_isr
_nve0_graph_ctxctl_isr:                 ; @nve0_graph_ctxctl_isr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	mov	w21, #39960
	movk	w21, #64, lsl #16
	mov	w1, #39960
	movk	w1, #64, lsl #16
	bl	_nv_rd32
	mov	x20, x0
	tbz	w0, #0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_nv_error
LBB0_2:
	tbz	w20, #19, LBB0_4
; %bb.3:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_nv_error
LBB0_4:
	mov	w8, #65534
	movk	w8, #65527, lsl #16
	tst	w20, w8
	b.eq	LBB0_6
; %bb.5:
	str	x20, [sp]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_nv_error
LBB0_6:
	mov	x0, x19
	bl	_nvc0_graph_ctxctl_debug
	add	w1, w21, #8
	mov	x0, x19
	mov	x2, x20
	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
	add	sp, sp, #64
	b	_nv_wr32
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CTXCTRL ucode error\n"

l_.str.1:                               ; @.str.1
	.asciz	"CTXCTRL watchdog timeout\n"

l_.str.2:                               ; @.str.2
	.asciz	"CTXCTRL 0x%08x\n"

	.no_dead_strip	_nve0_graph_ctxctl_isr
.subsections_via_symbols
