	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnad_mbox_irq_sync
_bnad_mbox_irq_sync:                    ## @bnad_mbox_irq_sync
	.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, %rbx
	leaq	4(%rdi), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	_BNAD_CF_MSIX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_2
## %bb.1:
	movq	_BNAD_MAILBOX_MSIX_INDEX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	shlq	$2, %rax
	addq	16(%rbx), %rax
	jmp	LBB0_3
LBB0_2:
	movq	8(%rbx), %rax
LBB0_3:
	movl	(%rax), %ebx
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movl	%ebx, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_synchronize_irq                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BNAD_CF_MSIX,4,2               ## @BNAD_CF_MSIX
	.comm	_BNAD_MAILBOX_MSIX_INDEX,8,3    ## @BNAD_MAILBOX_MSIX_INDEX
	.no_dead_strip	_bnad_mbox_irq_sync
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnad_mbox_irq_sync
_bnad_mbox_irq_sync:                    ; @bnad_mbox_irq_sync
	.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	x20, x0
	add	x19, x0, #4
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _BNAD_CF_MSIX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BNAD_CF_MSIX@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x20, #16]
Lloh3:
	adrp	x9, _BNAD_MAILBOX_MSIX_INDEX@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BNAD_MAILBOX_MSIX_INDEX@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x8, x8, x9, lsl #2
	b	LBB0_3
LBB0_2:
	ldr	x8, [x20, #8]
LBB0_3:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_synchronize_irq
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_BNAD_CF_MSIX,4,2               ; @BNAD_CF_MSIX
	.comm	_BNAD_MAILBOX_MSIX_INDEX,8,3    ; @BNAD_MAILBOX_MSIX_INDEX
	.no_dead_strip	_bnad_mbox_irq_sync
.subsections_via_symbols
