	.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
	subq	$16, %rsp
	.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	16(%rbx), %r14
	callq	_netif_carrier_ok
	cmpq	%rax, %r14
	je	LBB0_5
## %bb.2:
	incl	8(%rbx)
	cmpq	$0, 16(%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, 16(%rbx)
	movq	_link@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%rbx), %rdx
	je	LBB0_8
## %bb.6:
	movl	32(%rbx), %r8d
	cmpq	$0, 24(%rbx)
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %r9
	cmoveq	%rax, %r9
	movl	(%rdx), %eax
	movl	%eax, (%rsp)
	leaq	L_.str(%rip), %rcx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_netif_info
LBB0_7:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_8:
	leaq	L_.str.3(%rip), %rcx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	addq	$16, %rsp
	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)\n"

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

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

L_.str.3:                               ## @.str.3
	.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, #16]
	ldr	x0, [x19]
	bl	_netif_carrier_ok
	cmp	x20, x0
	b.eq	LBB0_5
; %bb.2:
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
	ldr	x8, [x19, #16]
	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, #16]
Lloh0:
	adrp	x9, _link@GOTPAGE
Lloh1:
	ldr	x9, [x9, _link@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	ldr	x2, [x19]
	cbz	x8, LBB0_8
; %bb.6:
	ldr	x8, [x19, #24]
Lloh3:
	adrp	x9, l_.str.1@PAGE
Lloh4:
	add	x9, x9, l_.str.1@PAGEOFF
Lloh5:
	adrp	x10, l_.str.2@PAGE
Lloh6:
	add	x10, x10, l_.str.2@PAGEOFF
	cmp	x8, #0
	csel	x8, x10, x9, eq
	ldr	w9, [x19, #32]
	ldr	w10, [x2]
	stp	x8, x10, [sp, #8]
	str	x9, [sp]
Lloh7:
	adrp	x3, l_.str@PAGE
Lloh8:
	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:
Lloh9:
	adrp	x3, l_.str.3@PAGE
Lloh10:
	add	x3, x3, l_.str.3@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	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh9, Lloh10
	.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)\n"

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

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

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

.subsections_via_symbols
