	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function link_start
_link_start:                            ## @link_start
	.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	%rdi, %r15
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	8(%rax), %rdi
	movl	(%rdi), %r14d
	movl	4(%rax), %edx
	movl	4(%r15), %ecx
	xorl	%eax, %eax
	cmpq	$0, 24(%rbx)
	setne	%al
	subq	$8, %rsp
	movl	%r14d, %esi
	movl	$-1, %r8d
	movl	$-1, %r9d
	pushq	$1
	pushq	%rax
	pushq	$-1
	callq	_t4_set_rxmode
	addq	$32, %rsp
	testl	%eax, %eax
	je	LBB0_1
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	8(%rbx), %rdi
	movl	(%rbx), %ecx
	movl	4(%rbx), %edx
	movl	(%r15), %r8d
	subq	$8, %rsp
	movl	%r14d, %esi
	movl	$1, %r9d
	pushq	$1
	callq	_t4_change_mac
	addq	$16, %rsp
	testl	%eax, %eax
	js	LBB0_3
## %bb.2:
	movl	%eax, (%rbx)
	movq	8(%rbx), %rdi
	movl	20(%rbx), %edx
	movq	%rbx, %rcx
	addq	$16, %rcx
	movl	%r14d, %esi
	callq	_t4_link_start
	testl	%eax, %eax
	jne	LBB0_3
## %bb.4:
	movq	8(%rbx), %rdi
	movl	4(%rbx), %edx
	movl	%r14d, %esi
	movl	$1, %ecx
	movl	$1, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_t4_enable_vi                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_link_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function link_start
_link_start:                            ; @link_start
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x21, x0
	bl	_netdev_priv
	mov	x20, x0
	ldr	x0, [x0, #8]
	ldr	w19, [x0]
	ldr	w2, [x20, #4]
	ldr	w3, [x21, #4]
	ldr	x8, [x20, #24]
	cmp	x8, #0
	cset	w7, ne
	mov	w8, #1
	str	w8, [sp]
	mov	x1, x19
	mov	w4, #-1
	mov	w5, #-1
	mov	w6, #-1
	bl	_t4_set_rxmode
	cbz	w0, LBB0_2
LBB0_1:
	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
	add	sp, sp, #64
	ret
LBB0_2:
	ldr	x0, [x20, #8]
	ldp	w3, w2, [x20]
	ldr	w4, [x21]
	mov	x1, x19
	mov	w5, #1
	mov	w6, #1
	bl	_t4_change_mac
	tbnz	w0, #31, LBB0_1
; %bb.3:
	str	w0, [x20]
	ldr	x0, [x20, #8]
	add	x3, x20, #16
	ldr	w2, [x20, #20]
	mov	x1, x19
	bl	_t4_link_start
	cbnz	w0, LBB0_1
; %bb.4:
	ldr	x0, [x20, #8]
	ldr	w2, [x20, #4]
	mov	x1, x19
	mov	w3, #1
	mov	w4, #1
	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
	add	sp, sp, #64
	b	_t4_enable_vi
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_link_start
.subsections_via_symbols
