	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qlcnic_83xx_poll_process_aen
_qlcnic_83xx_poll_process_aen:          ## @qlcnic_83xx_poll_process_aen
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_QLC_83XX_MBX_RESPONSE_ARRIVED@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	(%rdi), %rax
	movq	(%rax), %r15
	leaq	4(%r15), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	(%rbx), %rdi
	movq	_QLCNIC_FW_MBX_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_QLCRDX
	movq	_QLCNIC_SET_OWNER@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.1:
	movq	(%rbx), %rdi
	xorl	%esi, %esi
	callq	_QLCNIC_MBX_FW
	movl	%eax, %edi
	callq	_readl
	movq	_QLCNIC_MBX_ASYNC_EVENT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	___qlcnic_83xx_process_aen
	jmp	LBB0_5
LBB0_3:
	cmpl	%r12d, (%r15)
	je	LBB0_5
## %bb.4:
	movq	%r15, %rdi
	callq	_qlcnic_83xx_notify_mbx_response
LBB0_5:
	movq	%rbx, %rdi
	callq	_qlcnic_83xx_enable_legacy_msix_mbx_intr
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_QLC_83XX_MBX_RESPONSE_ARRIVED,4,2 ## @QLC_83XX_MBX_RESPONSE_ARRIVED
	.comm	_QLCNIC_FW_MBX_CTRL,4,2         ## @QLCNIC_FW_MBX_CTRL
	.comm	_QLCNIC_SET_OWNER,4,2           ## @QLCNIC_SET_OWNER
	.comm	_QLCNIC_MBX_ASYNC_EVENT,4,2     ## @QLCNIC_MBX_ASYNC_EVENT
	.no_dead_strip	_qlcnic_83xx_poll_process_aen
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qlcnic_83xx_poll_process_aen
_qlcnic_83xx_poll_process_aen:          ; @qlcnic_83xx_poll_process_aen
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
Lloh0:
	adrp	x8, _QLC_83XX_MBX_RESPONSE_ARRIVED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QLC_83XX_MBX_RESPONSE_ARRIVED@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	ldr	x8, [x0]
	ldr	x21, [x8]
	add	x20, x21, #4
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldr	x0, [x19]
Lloh3:
	adrp	x8, _QLCNIC_FW_MBX_CTRL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _QLCNIC_FW_MBX_CTRL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_QLCRDX
Lloh6:
	adrp	x8, _QLCNIC_SET_OWNER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _QLCNIC_SET_OWNER@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_5
; %bb.1:
	ldr	x0, [x19]
	mov	w1, #0
	bl	_QLCNIC_MBX_FW
	bl	_readl
Lloh9:
	adrp	x8, _QLCNIC_MBX_ASYNC_EVENT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _QLCNIC_MBX_ASYNC_EVENT@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.2:
	mov	x0, x19
	bl	___qlcnic_83xx_process_aen
	b	LBB0_5
LBB0_3:
	ldr	w8, [x21]
	cmp	w8, w22
	b.eq	LBB0_5
; %bb.4:
	mov	x0, x21
	bl	_qlcnic_83xx_notify_mbx_response
LBB0_5:
	mov	x0, x19
	bl	_qlcnic_83xx_enable_legacy_msix_mbx_intr
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_QLC_83XX_MBX_RESPONSE_ARRIVED,4,2 ; @QLC_83XX_MBX_RESPONSE_ARRIVED
	.comm	_QLCNIC_FW_MBX_CTRL,4,2         ; @QLCNIC_FW_MBX_CTRL
	.comm	_QLCNIC_SET_OWNER,4,2           ; @QLCNIC_SET_OWNER
	.comm	_QLCNIC_MBX_ASYNC_EVENT,4,2     ; @QLCNIC_MBX_ASYNC_EVENT
	.no_dead_strip	_qlcnic_83xx_poll_process_aen
.subsections_via_symbols
