	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __qlcnic_83xx_process_aen
___qlcnic_83xx_process_aen:             ## @__qlcnic_83xx_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	24(%rdi), %r15
	movq	_QLC_83XX_MBX_AEN_CNT@GOTPCREL(%rip), %r14
	movl	(%r14), %ebx
	movq	%rbx, %rax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	testl	%ebx, %ebx
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	jle	LBB0_1
## %bb.2:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_QLCNIC_MBX_FW
	movl	%eax, %edi
	callq	_readl
	movl	%eax, (%r13,%rbx,4)
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_3
## %bb.4:
	movl	(%r13), %r12d
	jmp	LBB0_5
LBB0_1:
                                        ## implicit-def: $r12d
LBB0_5:
	movl	%r12d, %edi
	callq	_QLCNIC_MBX_RSP
                                        ## kill: def $eax killed $eax def $rax
	addl	$-128, %eax
	cmpl	$7, %eax
	ja	LBB0_20
## %bb.6:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_14:
	movl	4(%r13), %eax
	shrl	$8, %eax
	andl	$15, %eax
	movl	%eax, 8(%r15)
	jmp	LBB0_21
LBB0_20:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rbx
	movl	%r12d, %edi
	callq	_QLCNIC_MBX_RSP
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_dev_dbg
	jmp	LBB0_21
LBB0_18:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rbx
	movl	%r12d, %edi
	callq	_QLCNIC_MBX_RSP
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_17
LBB0_16:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rbx
	movl	%r12d, %edi
	callq	_QLCNIC_MBX_RSP
	leaq	L_.str(%rip), %rsi
LBB0_17:
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_dev_info
	jmp	LBB0_21
LBB0_7:
	cmpl	$0, (%r14)
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	jle	LBB0_11
## %bb.8:
	movl	%r12d, %edi
	movq	%rsi, %r12
	callq	_QLCNIC_MBX_RSP
	movq	%r12, %rsi
	movq	24(%r12), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%rcx)
	cmpl	$2, (%r14)
	jl	LBB0_11
## %bb.9:
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r13,%rbx,4), %edi
	callq	_QLCNIC_MBX_RSP
	movq	%r12, %rsi
	movq	24(%r12), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%rcx,%rbx,4)
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_10
LBB0_11:
	movl	16(%rsi), %edi
	addq	$12, %rsi
	xorl	%edx, %edx
	callq	_queue_delayed_work
	jmp	LBB0_21
LBB0_12:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_qlcnic_83xx_handle_link_aen
	jmp	LBB0_21
LBB0_19:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %edi
	addq	$4, %r13
	movq	%r13, %rsi
	callq	_qlcnic_dcb_aen_handler
	jmp	LBB0_21
LBB0_13:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_qlcnic_83xx_handle_idc_comp_aen
	jmp	LBB0_21
LBB0_15:
	movl	4(%r13), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_qlcnic_sriov_handle_bc_event
LBB0_21:
	movq	_QLCNIC_FW_MBX_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_QLCNIC_CLR_OWNER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_QLCWRX
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_23
## %bb.22:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
LJTI0_0:
	.long	L0_0_set_14
	.long	L0_0_set_18
	.long	L0_0_set_16
	.long	L0_0_set_7
	.long	L0_0_set_12
	.long	L0_0_set_19
	.long	L0_0_set_13
	.long	L0_0_set_15
	.end_data_region
                                        ## -- End function
	.comm	_QLC_83XX_MBX_AEN_CNT,4,2       ## @QLC_83XX_MBX_AEN_CNT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SFP+ Insert AEN:0x%x.\n"

L_.str.1:                               ## @.str.1
	.asciz	"SFP Removed AEN:0x%x.\n"

L_.str.2:                               ## @.str.2
	.asciz	"Unsupported AEN:0x%x.\n"

	.comm	_QLCNIC_FW_MBX_CTRL,4,2         ## @QLCNIC_FW_MBX_CTRL
	.comm	_QLCNIC_CLR_OWNER,4,2           ## @QLCNIC_CLR_OWNER
	.no_dead_strip	___qlcnic_83xx_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_process_aen
___qlcnic_83xx_process_aen:             ; @__qlcnic_83xx_process_aen
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	sub	sp, sp, #16
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	ldr	x19, [x0, #24]
Lloh3:
	adrp	x23, _QLC_83XX_MBX_AEN_CNT@GOTPAGE
Lloh4:
	ldr	x23, [x23, _QLC_83XX_MBX_AEN_CNT@GOTPAGEOFF]
	ldr	w12, [x23]
	lsl	x8, x12, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x21, x9, x8
	mov	sp, x21
	cmp	w12, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x22, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x22
	bl	_QLCNIC_MBX_FW
	bl	_readl
	str	w0, [x21, x22, lsl #2]
	add	x22, x22, #1
	ldrsw	x8, [x23]
	cmp	x22, x8
	b.lt	LBB0_2
; %bb.3:
	ldr	w22, [x21]
	b	LBB0_5
LBB0_4:
                                        ; implicit-def: $w22
LBB0_5:
	mov	x0, x22
	bl	_QLCNIC_MBX_RSP
	sub	w8, w0, #128
	cmp	w8, #7
	b.hi	LBB0_8
; %bb.6:
Lloh7:
	adrp	x9, lJTI0_0@PAGE
Lloh8:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_7
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_7:
	ldr	w8, [x21, #4]
	ubfx	w8, w8, #8, #4
	str	w8, [x19, #8]
	b	LBB0_21
LBB0_8:
	ldr	x20, [x20]
	mov	x0, x22
	bl	_QLCNIC_MBX_RSP
	mov	x2, x0
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
	b	LBB0_21
LBB0_9:
	ldr	x20, [x20]
	mov	x0, x22
	bl	_QLCNIC_MBX_RSP
	mov	x2, x0
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_11
LBB0_10:
	ldr	x20, [x20]
	mov	x0, x22
	bl	_QLCNIC_MBX_RSP
	mov	x2, x0
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
LBB0_11:
	mov	x0, x20
	bl	_dev_info
	b	LBB0_21
LBB0_12:
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.13:
	mov	x0, x22
	bl	_QLCNIC_MBX_RSP
	ldr	x8, [x20, #24]
	ldr	x8, [x8]
	str	w0, [x8]
	ldr	w8, [x23]
	cmp	w8, #2
	b.lt	LBB0_16
; %bb.14:
	mov	w22, #1
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	lsl	x24, x22, #2
	ldr	w0, [x21, x24]
	bl	_QLCNIC_MBX_RSP
	ldr	x8, [x20, #24]
	ldr	x8, [x8]
	str	w0, [x8, x24]
	add	x22, x22, #1
	ldrsw	x8, [x23]
	cmp	x22, x8
	b.lt	LBB0_15
LBB0_16:
	ldr	w0, [x20, #16]
	add	x1, x20, #12
	mov	w2, #0
	bl	_queue_delayed_work
	b	LBB0_21
LBB0_17:
	mov	x0, x20
	mov	x1, x21
	bl	_qlcnic_83xx_handle_link_aen
	b	LBB0_21
LBB0_18:
	ldr	w0, [x20, #8]
	add	x1, x21, #4
	bl	_qlcnic_dcb_aen_handler
	b	LBB0_21
LBB0_19:
	mov	x0, x20
	mov	x1, x21
	bl	_qlcnic_83xx_handle_idc_comp_aen
	b	LBB0_21
LBB0_20:
	ldr	w1, [x21, #4]
	mov	x0, x20
	bl	_qlcnic_sriov_handle_bc_event
LBB0_21:
Lloh15:
	adrp	x8, _QLCNIC_FW_MBX_CTRL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _QLCNIC_FW_MBX_CTRL@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
Lloh18:
	adrp	x8, _QLCNIC_CLR_OWNER@GOTPAGE
Lloh19:
	ldr	x8, [x8, _QLCNIC_CLR_OWNER@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_QLCWRX
	ldur	x8, [x29, #-56]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_23
; %bb.22:
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_23:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_9-LBB0_7)>>2
	.byte	(LBB0_10-LBB0_7)>>2
	.byte	(LBB0_12-LBB0_7)>>2
	.byte	(LBB0_17-LBB0_7)>>2
	.byte	(LBB0_18-LBB0_7)>>2
	.byte	(LBB0_19-LBB0_7)>>2
	.byte	(LBB0_20-LBB0_7)>>2
                                        ; -- End function
	.comm	_QLC_83XX_MBX_AEN_CNT,4,2       ; @QLC_83XX_MBX_AEN_CNT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SFP+ Insert AEN:0x%x.\n"

l_.str.1:                               ; @.str.1
	.asciz	"SFP Removed AEN:0x%x.\n"

l_.str.2:                               ; @.str.2
	.asciz	"Unsupported AEN:0x%x.\n"

	.comm	_QLCNIC_FW_MBX_CTRL,4,2         ; @QLCNIC_FW_MBX_CTRL
	.comm	_QLCNIC_CLR_OWNER,4,2           ; @QLCNIC_CLR_OWNER
	.no_dead_strip	___qlcnic_83xx_process_aen
.subsections_via_symbols
