	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bfa_nw_ioc_mbox_isr            ## -- Begin function bfa_nw_ioc_mbox_isr
	.p2align	4, 0x90
_bfa_nw_ioc_mbox_isr:                   ## @bfa_nw_ioc_mbox_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	leaq	-16(%rbp), %rsi
	callq	_bfa_ioc_msgget
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movslq	-16(%rbp), %rax
	movq	_BFI_MC_IOC@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_3
## %bb.2:
	leaq	-16(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_bfa_ioc_isr
	jmp	LBB0_7
LBB0_3:
	movq	_BFI_MC_MAX@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_7
## %bb.4:
	movq	(%rbx), %rdx
	shlq	$4, %rax
	movq	8(%rdx,%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.5:
	movl	(%rdx,%rax), %edi
	leaq	-16(%rbp), %rsi
	callq	*%rcx
LBB0_6:
	movq	%rbx, %rdi
	callq	_bfa_ioc_lpu_read_stat
	movq	%rbx, %rdi
	callq	_bfa_ioc_mbox_poll
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BFI_MC_IOC,4,2                 ## @BFI_MC_IOC
	.comm	_BFI_MC_MAX,4,2                 ## @BFI_MC_MAX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bfa_nw_ioc_mbox_isr            ; -- Begin function bfa_nw_ioc_mbox_isr
	.p2align	2
_bfa_nw_ioc_mbox_isr:                   ; @bfa_nw_ioc_mbox_isr
	.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
	mov	x19, x0
	add	x1, sp, #8
	bl	_bfa_ioc_msgget
	cbz	x0, LBB0_6
; %bb.1:
	ldrsw	x8, [sp, #8]
Lloh0:
	adrp	x9, _BFI_MC_IOC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BFI_MC_IOC@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_3
; %bb.2:
	add	x1, sp, #8
	mov	x0, x19
	bl	_bfa_ioc_isr
	b	LBB0_7
LBB0_3:
Lloh3:
	adrp	x9, _BFI_MC_MAX@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BFI_MC_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ge	LBB0_7
; %bb.4:
	ldr	x10, [x19]
	add	x9, x10, x8, lsl #4
	ldr	x9, [x9, #8]
	cbz	x9, LBB0_7
; %bb.5:
	lsl	x8, x8, #4
	ldr	w0, [x10, x8]
	add	x1, sp, #8
	blr	x9
LBB0_6:
	mov	x0, x19
	bl	_bfa_ioc_lpu_read_stat
	mov	x0, x19
	bl	_bfa_ioc_mbox_poll
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_BFI_MC_IOC,4,2                 ; @BFI_MC_IOC
	.comm	_BFI_MC_MAX,4,2                 ; @BFI_MC_MAX
.subsections_via_symbols
