	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_emac_mac_stop                  ## -- Begin function emac_mac_stop
	.p2align	4, 0x90
_emac_mac_stop:                         ## @emac_mac_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_EMAC_RXQ_CTRL_0@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%rbx), %rdi
	movq	_RXQ_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_emac_reg_update32
	movq	_EMAC_TXQ_CTRL_0@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%rbx), %rdi
	movq	_TXQ_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_emac_reg_update32
	movq	_EMAC_MAC_CTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%rbx), %rdi
	movq	_TXEN@GOTPCREL(%rip), %rax
	movq	_RXEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	xorl	%edx, %edx
	callq	_emac_reg_update32
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$1050, %esi                     ## imm = 0x41A
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_usleep_range                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EMAC_RXQ_CTRL_0,8,3            ## @EMAC_RXQ_CTRL_0
	.comm	_RXQ_EN,4,2                     ## @RXQ_EN
	.comm	_EMAC_TXQ_CTRL_0,8,3            ## @EMAC_TXQ_CTRL_0
	.comm	_TXQ_EN,4,2                     ## @TXQ_EN
	.comm	_EMAC_MAC_CTRL,8,3              ## @EMAC_MAC_CTRL
	.comm	_TXEN,4,2                       ## @TXEN
	.comm	_RXEN,4,2                       ## @RXEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_emac_mac_stop                  ; -- Begin function emac_mac_stop
	.p2align	2
_emac_mac_stop:                         ; @emac_mac_stop
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _EMAC_RXQ_CTRL_0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EMAC_RXQ_CTRL_0@GOTPAGEOFF]
	ldr	x9, [x0]
Lloh2:
	ldr	x8, [x8]
	add	x0, x8, x9
Lloh3:
	adrp	x8, _RXQ_EN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RXQ_EN@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_emac_reg_update32
Lloh6:
	adrp	x8, _EMAC_TXQ_CTRL_0@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EMAC_TXQ_CTRL_0@GOTPAGEOFF]
	ldr	x9, [x19]
Lloh8:
	ldr	x8, [x8]
	add	x0, x8, x9
Lloh9:
	adrp	x8, _TXQ_EN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TXQ_EN@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_emac_reg_update32
	ldr	x8, [x19]
Lloh12:
	adrp	x9, _EMAC_MAC_CTRL@GOTPAGE
Lloh13:
	ldr	x9, [x9, _EMAC_MAC_CTRL@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
Lloh15:
	adrp	x10, _TXEN@GOTPAGE
Lloh16:
	ldr	x10, [x10, _TXEN@GOTPAGEOFF]
	add	x0, x9, x8
Lloh17:
	ldr	w8, [x10]
Lloh18:
	adrp	x9, _RXEN@GOTPAGE
Lloh19:
	ldr	x9, [x9, _RXEN@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	w2, #0
	bl	_emac_reg_update32
	mov	w0, #1000
	mov	w1, #1050
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_usleep_range
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EMAC_RXQ_CTRL_0,8,3            ; @EMAC_RXQ_CTRL_0
	.comm	_RXQ_EN,4,2                     ; @RXQ_EN
	.comm	_EMAC_TXQ_CTRL_0,8,3            ; @EMAC_TXQ_CTRL_0
	.comm	_TXQ_EN,4,2                     ; @TXQ_EN
	.comm	_EMAC_MAC_CTRL,8,3              ; @EMAC_MAC_CTRL
	.comm	_TXEN,4,2                       ; @TXEN
	.comm	_RXEN,4,2                       ; @RXEN
.subsections_via_symbols
