	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qlcnic_83xx_handle_link_aen
_qlcnic_83xx_handle_link_aen:           ## @qlcnic_83xx_handle_link_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movl	12(%rsi), %edi
	callq	_LSB
	movl	%eax, %r14d
	movl	8(%rbx), %edi
	callq	_MSW
	movq	(%r15), %rcx
	movl	%eax, 24(%rcx)
	movl	12(%rbx), %edi
	callq	_MSW
	movl	%eax, %edi
	callq	_MSB
	movq	(%r15), %rcx
	movq	%rax, 16(%rcx)
	movl	12(%rbx), %edi
	callq	_LSW
	movl	%eax, %edi
	callq	_MSB
	movq	(%r15), %rcx
	movq	%rax, 8(%rcx)
	movl	12(%rbx), %edi
	callq	_MSW
	movl	%eax, %edi
	callq	_LSB
	testl	%eax, %eax
	jne	LBB0_1
## %bb.2:
	movq	_DUPLEX_HALF@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_DUPLEX_FULL@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movq	(%r15), %rcx
	movl	%eax, 4(%rcx)
	andl	$1, %r14d
	movl	$1, (%rcx)
	movq	%r15, %rdi
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_qlcnic_advert_link_change      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DUPLEX_FULL,4,2                ## @DUPLEX_FULL
	.comm	_DUPLEX_HALF,4,2                ## @DUPLEX_HALF
	.no_dead_strip	_qlcnic_83xx_handle_link_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_handle_link_aen
_qlcnic_83xx_handle_link_aen:           ; @qlcnic_83xx_handle_link_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	x20, x1
	mov	x19, x0
	ldr	w0, [x1, #12]
	bl	_LSB
	mov	x21, x0
	ldr	w0, [x20, #8]
	bl	_MSW
	ldr	x8, [x19]
	str	w0, [x8, #24]
	ldr	w0, [x20, #12]
	bl	_MSW
	bl	_MSB
	ldr	x8, [x19]
	str	x0, [x8, #16]
	ldr	w0, [x20, #12]
	bl	_LSW
	bl	_MSB
	ldr	x8, [x19]
	str	x0, [x8, #8]
	ldr	w0, [x20, #12]
	bl	_MSW
	bl	_LSB
Lloh0:
	adrp	x8, _DUPLEX_HALF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DUPLEX_HALF@GOTPAGEOFF]
Lloh2:
	adrp	x9, _DUPLEX_FULL@GOTPAGE
Lloh3:
	ldr	x9, [x9, _DUPLEX_FULL@GOTPAGEOFF]
	cmp	w0, #0
	csel	x8, x8, x9, eq
	ldr	w8, [x8]
	ldr	x9, [x19]
	and	w1, w21, #0x1
	mov	w10, #1
	stp	w10, w8, [x9]
	mov	x0, x19
	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	_qlcnic_advert_link_change
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DUPLEX_FULL,4,2                ; @DUPLEX_FULL
	.comm	_DUPLEX_HALF,4,2                ; @DUPLEX_HALF
	.no_dead_strip	_qlcnic_83xx_handle_link_aen
.subsections_via_symbols
