	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_83xx_free_mbx_intr      ## -- Begin function qlcnic_83xx_free_mbx_intr
	.p2align	4, 0x90
_qlcnic_83xx_free_mbx_intr:             ## @qlcnic_83xx_free_mbx_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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_QLCNIC_MSIX_ENABLED@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	testl	%eax, (%rdi)
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_qlcnic_83xx_set_legacy_intr_mask
LBB0_2:
	movq	%rbx, %rdi
	callq	_qlcnic_83xx_disable_mbx_intr
	movl	(%r14), %eax
	testl	%eax, (%rbx)
	je	LBB0_3
## %bb.4:
	movq	16(%rbx), %rax
	movq	(%rax), %r14
	decq	%r14
	jmp	LBB0_5
LBB0_3:
	xorl	%r14d, %r14d
LBB0_5:
	movl	$20, %edi
	callq	_msleep
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movl	(%rax,%r14,4), %edi
	callq	_synchronize_irq
	movq	8(%rbx), %rax
	movl	(%rax,%r14,4), %edi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_free_irq                       ## TAILCALL
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QLCNIC_MSIX_ENABLED,4,2        ## @QLCNIC_MSIX_ENABLED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_83xx_free_mbx_intr      ; -- Begin function qlcnic_83xx_free_mbx_intr
	.p2align	2
_qlcnic_83xx_free_mbx_intr:             ; @qlcnic_83xx_free_mbx_intr
	.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, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x20, _QLCNIC_MSIX_ENABLED@GOTPAGE
Lloh1:
	ldr	x20, [x20, _QLCNIC_MSIX_ENABLED@GOTPAGEOFF]
	ldr	w9, [x20]
	tst	w9, w8
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_qlcnic_83xx_set_legacy_intr_mask
LBB0_2:
	mov	x0, x19
	bl	_qlcnic_83xx_disable_mbx_intr
	ldr	w8, [x19]
	ldr	w9, [x20]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	sub	x20, x8, #1
	b	LBB0_5
LBB0_4:
	mov	x20, #0
LBB0_5:
	mov	w0, #20
	bl	_msleep
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_7
; %bb.6:
	lsl	x20, x20, #2
	ldr	w0, [x8, x20]
	bl	_synchronize_irq
	ldr	x8, [x19, #8]
	ldr	w0, [x8, x20]
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_free_irq
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_QLCNIC_MSIX_ENABLED,4,2        ; @QLCNIC_MSIX_ENABLED
.subsections_via_symbols
