	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvkm_pci_intr
_nvkm_pci_intr:                         ## @nvkm_pci_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	24(%rsi), %r14
	movl	$0, -20(%rbp)
	cmpq	$0, (%rsi)
	js	LBB0_6
## %bb.1:
	movq	%rsi, %rbx
	movq	%r14, %rdi
	callq	_nvkm_mc_intr_unarm
	cmpq	$0, 16(%rbx)
	je	LBB0_3
## %bb.2:
	movq	8(%rbx), %rax
	movq	%rbx, %rdi
	callq	*(%rax)
LBB0_3:
	leaq	-20(%rbp), %rsi
	movq	%r14, %rdi
	callq	_nvkm_mc_intr
	movq	%r14, %rdi
	callq	_nvkm_mc_intr_rearm
	cmpl	$0, -20(%rbp)
	jne	LBB0_6
## %bb.4:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.no_dead_strip	_nvkm_pci_intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvkm_pci_intr
_nvkm_pci_intr:                         ; @nvkm_pci_intr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	ldr	x19, [x1, #24]
	str	wzr, [sp, #12]
	ldr	x8, [x1]
	tbnz	x8, #63, LBB0_4
; %bb.1:
	mov	x20, x1
	mov	x0, x19
	bl	_nvkm_mc_intr_unarm
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	mov	x0, x20
	blr	x8
LBB0_3:
	add	x1, sp, #12
	mov	x0, x19
	bl	_nvkm_mc_intr
	mov	x0, x19
	bl	_nvkm_mc_intr_rearm
Lloh0:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
	ldr	w9, [sp, #12]
Lloh2:
	adrp	x10, _IRQ_NONE@GOTPAGE
Lloh3:
	ldr	x10, [x10, _IRQ_NONE@GOTPAGEOFF]
	cmp	w9, #0
	csel	x8, x10, x8, eq
	b	LBB0_5
LBB0_4:
Lloh4:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh5:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.no_dead_strip	_nvkm_pci_intr
.subsections_via_symbols
