	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_83xx_handle_aen         ## -- Begin function qlcnic_83xx_handle_aen
	.p2align	4, 0x90
_qlcnic_83xx_handle_aen:                ## @qlcnic_83xx_handle_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movq	(%rsi), %rdi
	addq	$4, %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_3
## %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
LBB0_3:
	movq	(%rbx), %rdi
	movq	_QLCNIC_DEF_INT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_QLCRDX
	movq	(%rbx), %rcx
	addl	(%rcx), %eax
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_writel
	movq	(%rbx), %rdi
	addq	$4, %rdi
	callq	_spin_unlock_irqrestore
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.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
	.comm	_QLCNIC_DEF_INT_MASK,4,2        ## @QLCNIC_DEF_INT_MASK
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_83xx_handle_aen         ; -- Begin function qlcnic_83xx_handle_aen
	.p2align	2
_qlcnic_83xx_handle_aen:                ; @qlcnic_83xx_handle_aen
	.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
	ldr	x8, [x1]
	add	x0, x8, #4
	bl	_spin_lock_irqsave
	ldr	x0, [x19]
Lloh0:
	adrp	x8, _QLCNIC_FW_MBX_CTRL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QLCNIC_FW_MBX_CTRL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_QLCRDX
Lloh3:
	adrp	x8, _QLCNIC_SET_OWNER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _QLCNIC_SET_OWNER@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.1:
	ldr	x0, [x19]
	mov	w1, #0
	bl	_QLCNIC_MBX_FW
	bl	_readl
Lloh6:
	adrp	x8, _QLCNIC_MBX_ASYNC_EVENT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _QLCNIC_MBX_ASYNC_EVENT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.2:
	mov	x0, x19
	bl	___qlcnic_83xx_process_aen
LBB0_3:
	ldr	x0, [x19]
Lloh9:
	adrp	x8, _QLCNIC_DEF_INT_MASK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _QLCNIC_DEF_INT_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_QLCRDX
	ldr	x8, [x19]
	ldr	w8, [x8]
	add	w1, w8, w0
	mov	w0, #0
	bl	_writel
	ldr	x8, [x19]
	add	x0, x8, #4
	bl	_spin_unlock_irqrestore
Lloh12:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.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
	.comm	_QLCNIC_DEF_INT_MASK,4,2        ; @QLCNIC_DEF_INT_MASK
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
.subsections_via_symbols
