	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_advert_link_change      ## -- Begin function qlcnic_advert_link_change
	.p2align	4, 0x90
_qlcnic_advert_link_change:             ## @qlcnic_advert_link_change
	.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	(%rdi), %rax
	movq	8(%rdi), %r14
	movl	(%rax), %ecx
	testl	%esi, %esi
	jne	LBB0_2
## %bb.1:
	testl	%ecx, %ecx
	je	LBB0_2
## %bb.8:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_netdev_info
	movq	(%rbx), %rax
	movl	$0, (%rax)
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_netif_carrier_off              ## TAILCALL
LBB0_2:
	testl	%esi, %esi
	je	LBB0_7
## %bb.3:
	testl	%ecx, %ecx
	jne	LBB0_7
## %bb.4:
	movl	$1, (%rax)
	movq	%rbx, %rdi
	callq	_qlcnic_83xx_check
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	(%rbx), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_6
## %bb.9:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_netdev_info                    ## TAILCALL
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_netdev_info
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_netif_carrier_on               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NIC Link is down\n"

L_.str.1:                               ## @.str.1
	.asciz	"NIC Link is up for loopback test\n"

L_.str.2:                               ## @.str.2
	.asciz	"NIC Link is up\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_advert_link_change      ; -- Begin function qlcnic_advert_link_change
	.p2align	2
_qlcnic_advert_link_change:             ; @qlcnic_advert_link_change
	.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	x20, x0
	ldp	x8, x19, [x0]
	ldr	w9, [x8]
	cbnz	w1, LBB0_3
; %bb.1:
	cbz	w9, LBB0_3
; %bb.2:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_netdev_info
	ldr	x8, [x20]
	str	wzr, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_netif_carrier_off
LBB0_3:
	cbz	w1, LBB0_8
; %bb.4:
	cbnz	w9, LBB0_8
; %bb.5:
	mov	w9, #1
	str	w9, [x8]
	mov	x0, x20
	bl	_qlcnic_83xx_check
	cbz	x0, LBB0_9
; %bb.6:
	ldr	x8, [x20]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_9
; %bb.7:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_netdev_info
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_9:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_netdev_info
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_netif_carrier_on
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NIC Link is down\n"

l_.str.1:                               ; @.str.1
	.asciz	"NIC Link is up for loopback test\n"

l_.str.2:                               ; @.str.2
	.asciz	"NIC Link is up\n"

.subsections_via_symbols
