	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cpsw_adjust_link
_cpsw_adjust_link:                      ## @cpsw_adjust_link
	.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
	callq	_netdev_priv
	movq	(%rax), %r14
	movl	$0, -20(%rbp)
	movq	__cpsw_adjust_link@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-20(%rbp), %rcx
	movq	%rax, %rdi
	movq	%rax, %rdx
	callq	_for_each_slave
	cmpl	$0, -20(%rbp)
	je	LBB0_5
## %bb.1:
	movq	%r14, %rdi
	callq	_cpsw_need_resplit
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	callq	_cpsw_split_res
LBB0_3:
	movq	%rbx, %rdi
	callq	_netif_carrier_on
	movq	%rbx, %rdi
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	%rbx, %rdi
	callq	_netif_tx_wake_all_queues
	jmp	LBB0_6
LBB0_5:
	movq	%rbx, %rdi
	callq	_netif_carrier_off
	movq	%rbx, %rdi
	callq	_netif_tx_stop_all_queues
LBB0_6:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__cpsw_adjust_link,4,2          ## @_cpsw_adjust_link
	.no_dead_strip	_cpsw_adjust_link
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cpsw_adjust_link
_cpsw_adjust_link:                      ; @cpsw_adjust_link
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	bl	_netdev_priv
	ldr	x20, [x0]
	str	wzr, [sp, #12]
Lloh0:
	adrp	x8, __cpsw_adjust_link@GOTPAGE
Lloh1:
	ldr	x8, [x8, __cpsw_adjust_link@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x3, sp, #12
	mov	x2, x0
	bl	_for_each_slave
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_5
; %bb.1:
	mov	x0, x20
	bl	_cpsw_need_resplit
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_cpsw_split_res
LBB0_3:
	mov	x0, x19
	bl	_netif_carrier_on
	mov	x0, x19
	bl	_netif_running
	cbz	x0, LBB0_6
; %bb.4:
	mov	x0, x19
	bl	_netif_tx_wake_all_queues
	b	LBB0_6
LBB0_5:
	mov	x0, x19
	bl	_netif_carrier_off
	mov	x0, x19
	bl	_netif_tx_stop_all_queues
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	__cpsw_adjust_link,4,2          ; @_cpsw_adjust_link
	.no_dead_strip	_cpsw_adjust_link
.subsections_via_symbols
