	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_efx_link_status_changed        ## -- Begin function efx_link_status_changed
	.p2align	4, 0x90
_efx_link_status_changed:               ## @efx_link_status_changed
	.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), %rdi
	callq	_netif_running
	testl	%eax, %eax
	je	LBB0_7
## %bb.1:
	movq	(%rbx), %rdi
	movq	24(%rbx), %r14
	callq	_netif_carrier_ok
	cmpq	%rax, %r14
	je	LBB0_5
## %bb.2:
	incl	16(%rbx)
	cmpq	$0, 24(%rbx)
	movq	(%rbx), %rdi
	je	LBB0_4
## %bb.3:
	callq	_netif_carrier_on
	jmp	LBB0_5
LBB0_4:
	callq	_netif_carrier_off
LBB0_5:
	cmpq	$0, 24(%rbx)
	movq	_link@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%rbx), %rdx
	je	LBB0_8
## %bb.6:
	cmpq	$0, 32(%rbx)
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %r9
	cmoveq	%rax, %r9
	movl	40(%rbx), %r8d
	movl	(%rdx), %r10d
	cmpq	$0, 8(%rbx)
	leaq	L_.str.4(%rip), %rax
	leaq	L_.str.3(%rip), %r11
	cmoveq	%rax, %r11
	leaq	L_.str(%rip), %rcx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	pushq	%r11
	pushq	%r10
	callq	_netif_info
	addq	$16, %rsp
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_8:
	leaq	L_.str.5(%rip), %rcx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_netif_info                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_link,4,2                       ## @link
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"link up at %uMbps %s-duplex (MTU %d)%s\n"

L_.str.1:                               ## @.str.1
	.asciz	"full"

L_.str.2:                               ## @.str.2
	.asciz	"half"

L_.str.3:                               ## @.str.3
	.asciz	" [PROMISC]"

L_.str.4:                               ## @.str.4
	.space	1

L_.str.5:                               ## @.str.5
	.asciz	"link down\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_efx_link_status_changed        ; -- Begin function efx_link_status_changed
	.p2align	2
_efx_link_status_changed:               ; @efx_link_status_changed
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x0
	ldr	x0, [x0]
	bl	_netif_running
	cbz	w0, LBB0_7
; %bb.1:
	ldr	x20, [x19, #24]
	ldr	x0, [x19]
	bl	_netif_carrier_ok
	cmp	x20, x0
	b.eq	LBB0_5
; %bb.2:
	ldr	w8, [x19, #16]
	add	w8, w8, #1
	str	w8, [x19, #16]
	ldr	x8, [x19, #24]
	ldr	x0, [x19]
	cbz	x8, LBB0_4
; %bb.3:
	bl	_netif_carrier_on
	b	LBB0_5
LBB0_4:
	bl	_netif_carrier_off
LBB0_5:
	ldr	x8, [x19, #24]
Lloh0:
	adrp	x9, _link@GOTPAGE
Lloh1:
	ldr	x9, [x9, _link@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	ldr	x2, [x19]
	cbz	x8, LBB0_8
; %bb.6:
Lloh3:
	adrp	x8, l_.str.1@PAGE
Lloh4:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh5:
	adrp	x9, l_.str.2@PAGE
Lloh6:
	add	x9, x9, l_.str.2@PAGEOFF
	ldr	x10, [x19, #32]
	cmp	x10, #0
	csel	x8, x9, x8, eq
	ldr	x9, [x19, #8]
Lloh7:
	adrp	x10, l_.str.3@PAGE
Lloh8:
	add	x10, x10, l_.str.3@PAGEOFF
Lloh9:
	adrp	x11, l_.str.4@PAGE
Lloh10:
	add	x11, x11, l_.str.4@PAGEOFF
	cmp	x9, #0
	csel	x9, x11, x10, eq
	ldr	w10, [x19, #40]
	ldr	w11, [x2]
	stp	x11, x9, [sp, #16]
	stp	x10, x8, [sp]
Lloh11:
	adrp	x3, l_.str@PAGE
Lloh12:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	bl	_netif_info
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_8:
Lloh13:
	adrp	x3, l_.str.5@PAGE
Lloh14:
	add	x3, x3, l_.str.5@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_netif_info
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_link,4,2                       ; @link
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"link up at %uMbps %s-duplex (MTU %d)%s\n"

l_.str.1:                               ; @.str.1
	.asciz	"full"

l_.str.2:                               ; @.str.2
	.asciz	"half"

l_.str.3:                               ; @.str.3
	.asciz	" [PROMISC]"

l_.str.4:                               ; @.str.4
	.space	1

l_.str.5:                               ; @.str.5
	.asciz	"link down\n"

.subsections_via_symbols
