	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnad_msix_mbox_handler
_bnad_msix_mbox_handler:                ## @bnad_msix_mbox_handler
	.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	%rsi, %rbx
	movq	%rsi, %rdi
	callq	_spin_lock_irqsave
	movq	_BNAD_RF_MBOX_IRQ_DISABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%rbx), %rsi
	callq	_test_bit
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	leaq	4(%rbx), %r14
	movq	%r14, %rdi
	callq	_bna_intr_status_get
	movq	%r14, %rdi
	callq	_BNA_IS_MBOX_ERR_INTR
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	callq	_bna_mbox_handler
LBB0_3:
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BNAD_RF_MBOX_IRQ_DISABLED,4,2  ## @BNAD_RF_MBOX_IRQ_DISABLED
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_bnad_msix_mbox_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnad_msix_mbox_handler
_bnad_msix_mbox_handler:                ; @bnad_msix_mbox_handler
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x0, x1
	bl	_spin_lock_irqsave
Lloh0:
	adrp	x8, _BNAD_RF_MBOX_IRQ_DISABLED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNAD_RF_MBOX_IRQ_DISABLED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x19, #8
	bl	_test_bit
	bl	_unlikely
	cbnz	x0, LBB0_3
; %bb.1:
	add	x20, x19, #4
	mov	x0, x20
	bl	_bna_intr_status_get
	mov	x0, x20
	bl	_BNA_IS_MBOX_ERR_INTR
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_bna_mbox_handler
LBB0_3:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
Lloh3:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_BNAD_RF_MBOX_IRQ_DISABLED,4,2  ; @BNAD_RF_MBOX_IRQ_DISABLED
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_bnad_msix_mbox_handler
.subsections_via_symbols
