	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gbe_slave_stop
_gbe_slave_stop:                        ## @gbe_slave_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, %r14
	movq	8(%rdi), %r15
	movq	16(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_IS_SS_ID_2U
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$1, %edx
	callq	_gbe_sgmii_rtreset
LBB0_2:
	movq	%r15, %rdi
	callq	_gbe_port_reset
	movl	(%rbx), %edi
	movl	(%r15), %esi
	movq	_ALE_PORT_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ALE_PORT_STATE_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_cpsw_ale_control_set
	movl	(%rbx), %edi
	movq	(%r14), %rax
	movl	(%rax), %esi
	movb	(%r15), %cl
	movl	$1, %edx
	shll	%cl, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_cpsw_ale_del_mcast
	movq	8(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	callq	_phy_stop
	movq	8(%r15), %rdi
	callq	_phy_disconnect
	movq	$0, 8(%r15)
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ALE_PORT_STATE,4,2             ## @ALE_PORT_STATE
	.comm	_ALE_PORT_STATE_DISABLE,4,2     ## @ALE_PORT_STATE_DISABLE
	.no_dead_strip	_gbe_slave_stop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gbe_slave_stop
_gbe_slave_stop:                        ; @gbe_slave_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	x20, x0
	ldp	x19, x21, [x0, #8]
	mov	x0, x21
	bl	_IS_SS_ID_2U
	cbnz	w0, LBB0_2
; %bb.1:
	mov	x0, x21
	mov	x1, x19
	mov	w2, #1
	bl	_gbe_sgmii_rtreset
LBB0_2:
	mov	x0, x19
	bl	_gbe_port_reset
	ldr	w0, [x21]
	ldr	w1, [x19]
Lloh0:
	adrp	x8, _ALE_PORT_STATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ALE_PORT_STATE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _ALE_PORT_STATE_DISABLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ALE_PORT_STATE_DISABLE@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	bl	_cpsw_ale_control_set
	ldr	w0, [x21]
	ldr	x8, [x20]
	ldr	w1, [x8]
	ldr	w8, [x19]
	mov	w9, #1
	lsl	w2, w9, w8
	mov	w3, #0
	mov	w4, #0
	bl	_cpsw_ale_del_mcast
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_4
; %bb.3:
	bl	_phy_stop
	ldr	x0, [x19, #8]
	bl	_phy_disconnect
	str	xzr, [x19, #8]
LBB0_4:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ALE_PORT_STATE,4,2             ; @ALE_PORT_STATE
	.comm	_ALE_PORT_STATE_DISABLE,4,2     ; @ALE_PORT_STATE_DISABLE
	.no_dead_strip	_gbe_slave_stop
.subsections_via_symbols
