	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cpsw_ndo_stop
_cpsw_ndo_stop:                         ## @cpsw_ndo_stop
	.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, %r14
	movq	8(%rax), %rbx
	movq	_ifdown@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	callq	_cpsw_info
	movq	_cpsw_purge_all_mc@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r15, %rsi
	callq	___hw_addr_ref_unsync_dev
	movl	(%r14), %edi
	callq	_netif_tx_stop_all_queues
	movl	(%r14), %edi
	callq	_netif_carrier_off
	cmpl	$1, (%rbx)
	jg	LBB0_2
## %bb.1:
	leaq	24(%rbx), %rdi
	callq	_napi_disable
	leaq	20(%rbx), %rdi
	callq	_napi_disable
	movl	16(%rbx), %edi
	callq	_cpts_unregister
	movq	%rbx, %rdi
	callq	_cpsw_intr_disable
	movl	12(%rbx), %edi
	callq	_cpdma_ctlr_stop
	movl	8(%rbx), %edi
	callq	_cpsw_ale_stop
	movq	%rbx, %rdi
	callq	_cpsw_destroy_xdp_rxqs
LBB0_2:
	movq	_cpsw_slave_stop@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_for_each_slave
	movq	%rbx, %rdi
	callq	_cpsw_need_resplit
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_cpsw_split_res
LBB0_4:
	decl	(%rbx)
	movl	4(%rbx), %edi
	callq	_pm_runtime_put_sync
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ifdown,4,2                     ## @ifdown
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"shutting down cpsw device\n"

	.comm	_cpsw_purge_all_mc,4,2          ## @cpsw_purge_all_mc
	.comm	_cpsw_slave_stop,4,2            ## @cpsw_slave_stop
	.no_dead_strip	_cpsw_ndo_stop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cpsw_ndo_stop
_cpsw_ndo_stop:                         ; @cpsw_ndo_stop
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x0
	bl	_netdev_priv
	mov	x20, x0
	ldr	x19, [x0, #8]
Lloh0:
	adrp	x8, _ifdown@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ifdown@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	bl	_cpsw_info
Lloh5:
	adrp	x8, _cpsw_purge_all_mc@GOTPAGE
Lloh6:
	ldr	x8, [x8, _cpsw_purge_all_mc@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x21
	bl	___hw_addr_ref_unsync_dev
	ldr	w0, [x20]
	bl	_netif_tx_stop_all_queues
	ldr	w0, [x20]
	bl	_netif_carrier_off
	ldr	w8, [x19]
	cmp	w8, #1
	b.gt	LBB0_2
; %bb.1:
	add	x0, x19, #24
	bl	_napi_disable
	add	x0, x19, #20
	bl	_napi_disable
	ldr	w0, [x19, #16]
	bl	_cpts_unregister
	mov	x0, x19
	bl	_cpsw_intr_disable
	ldr	w0, [x19, #12]
	bl	_cpdma_ctlr_stop
	ldr	w0, [x19, #8]
	bl	_cpsw_ale_stop
	mov	x0, x19
	bl	_cpsw_destroy_xdp_rxqs
LBB0_2:
Lloh8:
	adrp	x8, _cpsw_slave_stop@GOTPAGE
Lloh9:
	ldr	x8, [x8, _cpsw_slave_stop@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x19
	bl	_for_each_slave
	mov	x0, x19
	bl	_cpsw_need_resplit
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_cpsw_split_res
LBB0_4:
	ldp	w8, w0, [x19]
	sub	w8, w8, #1
	str	w8, [x19]
	bl	_pm_runtime_put_sync
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ifdown,4,2                     ; @ifdown
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"shutting down cpsw device\n"

	.comm	_cpsw_purge_all_mc,4,2          ; @cpsw_purge_all_mc
	.comm	_cpsw_slave_stop,4,2            ; @cpsw_slave_stop
	.no_dead_strip	_cpsw_ndo_stop
.subsections_via_symbols
