	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gv100_fault_intr
_gv100_fault_intr:                      ## @gv100_fault_intr
	.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
	movq	16(%rdi), %r15
	movq	%r15, %rdi
	movl	$1051168, %esi                  ## imm = 0x100A20
	callq	_nvkm_rd32
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	testl	$536870912, %ebx                ## imm = 0x20000000
	jne	LBB0_3
	jmp	LBB0_5
LBB0_1:
	movq	%r14, %rdi
	callq	_gv100_fault_intr_fault
	movq	%r15, %rdi
	movl	$1052256, %esi                  ## imm = 0x100E60
	movl	$-2147483648, %edx              ## imm = 0x80000000
	callq	_nvkm_wr32
	andl	$2147483647, %ebx               ## imm = 0x7FFFFFFF
	testl	$536870912, %ebx                ## imm = 0x20000000
	je	LBB0_5
LBB0_3:
	movq	8(%r14), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_nvkm_event_send
	andl	$-536870913, %ebx               ## imm = 0xDFFFFFFF
LBB0_5:
	testl	$134217728, %ebx                ## imm = 0x8000000
	je	LBB0_8
## %bb.6:
	movq	8(%r14), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_10
## %bb.7:
	movq	%r14, %rdi
	movl	$1, %esi
	movl	$1, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_nvkm_event_send
	andl	$-134217729, %ebx               ## imm = 0xF7FFFFFF
LBB0_8:
	testl	%ebx, %ebx
	je	LBB0_9
LBB0_10:
	addq	$16, %r14
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nvkm_debug                     ## TAILCALL
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"intr %08x\n"

	.no_dead_strip	_gv100_fault_intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gv100_fault_intr
_gv100_fault_intr:                      ; @gv100_fault_intr
	.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	x21, x0
	mov	w23, #2592
	movk	w23, #16, lsl #16
	mov	x19, x0
	ldr	x22, [x19, #16]!
	mov	x0, x22
	mov	w1, #2592
	movk	w1, #16, lsl #16
	bl	_nvkm_rd32
	mov	x20, x0
	tbnz	w0, #31, LBB0_2
; %bb.1:
	tbnz	w20, #29, LBB0_3
	b	LBB0_5
LBB0_2:
	mov	x0, x21
	bl	_gv100_fault_intr_fault
	add	w1, w23, #1088
	mov	x0, x22
	mov	w2, #-2147483648
	bl	_nvkm_wr32
	and	w20, w20, #0x7fffffff
	tbz	w20, #29, LBB0_5
LBB0_3:
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.4:
	mov	x0, x21
	mov	w1, #1
	mov	w2, #0
	mov	x3, #0
	mov	w4, #0
	bl	_nvkm_event_send
	and	w20, w20, #0xdfffffff
LBB0_5:
	tbz	w20, #27, LBB0_8
; %bb.6:
	ldr	x8, [x21, #8]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_9
; %bb.7:
	mov	x0, x21
	mov	w1, #1
	mov	w2, #1
	mov	x3, #0
	mov	w4, #0
	bl	_nvkm_event_send
	and	w20, w20, #0xf7ffffff
LBB0_8:
	cbz	w20, LBB0_10
LBB0_9:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_nvkm_debug
LBB0_10:
	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
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"intr %08x\n"

	.no_dead_strip	_gv100_fault_intr
.subsections_via_symbols
