	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function emac_stop_locked
_emac_stop_locked:                      ## @emac_stop_locked
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_EMAC_ASSERT_LOCKED
	movq	16(%rbx), %rax
	movq	_IFF_DRV_RUNNING@GOTPCREL(%rip), %rcx
	movq	_IFF_DRV_OACTIVE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	notl	%edx
	andl	%edx, (%rax)
	movq	$0, 8(%rbx)
	movq	_EMAC_INT_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_EMAC_WRITE_REG
	movq	_EMAC_INT_STA@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_EMAC_READ_REG
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_EMAC_WRITE_REG
	movq	_EMAC_CTL@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_EMAC_READ_REG
	movq	_EMAC_CTL_RST@GOTPCREL(%rip), %rcx
	movq	_EMAC_CTL_TX_EN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_EMAC_CTL_RX_EN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_EMAC_WRITE_REG
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_callout_stop                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_DRV_RUNNING,4,2            ## @IFF_DRV_RUNNING
	.comm	_IFF_DRV_OACTIVE,4,2            ## @IFF_DRV_OACTIVE
	.comm	_EMAC_INT_CTL,4,2               ## @EMAC_INT_CTL
	.comm	_EMAC_INT_STA,4,2               ## @EMAC_INT_STA
	.comm	_EMAC_CTL,4,2                   ## @EMAC_CTL
	.comm	_EMAC_CTL_RST,4,2               ## @EMAC_CTL_RST
	.comm	_EMAC_CTL_TX_EN,4,2             ## @EMAC_CTL_TX_EN
	.comm	_EMAC_CTL_RX_EN,4,2             ## @EMAC_CTL_RX_EN
	.no_dead_strip	_emac_stop_locked
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function emac_stop_locked
_emac_stop_locked:                      ; @emac_stop_locked
	.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
	bl	_EMAC_ASSERT_LOCKED
	ldr	x8, [x19, #16]
Lloh0:
	adrp	x9, _IFF_DRV_RUNNING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IFF_DRV_RUNNING@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _IFF_DRV_OACTIVE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IFF_DRV_OACTIVE@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	orr	w9, w10, w9
	ldr	w10, [x8]
	bic	w9, w10, w9
	str	w9, [x8]
	str	xzr, [x19, #8]
Lloh6:
	adrp	x8, _EMAC_INT_CTL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EMAC_INT_CTL@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_EMAC_WRITE_REG
Lloh9:
	adrp	x20, _EMAC_INT_STA@GOTPAGE
Lloh10:
	ldr	x20, [x20, _EMAC_INT_STA@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_EMAC_READ_REG
	mov	x2, x0
	ldr	w1, [x20]
	mov	x0, x19
	bl	_EMAC_WRITE_REG
Lloh11:
	adrp	x20, _EMAC_CTL@GOTPAGE
Lloh12:
	ldr	x20, [x20, _EMAC_CTL@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_EMAC_READ_REG
Lloh13:
	adrp	x8, _EMAC_CTL_RST@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EMAC_CTL_RST@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _EMAC_CTL_TX_EN@GOTPAGE
Lloh17:
	ldr	x9, [x9, _EMAC_CTL_TX_EN@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh19:
	adrp	x9, _EMAC_CTL_RX_EN@GOTPAGE
Lloh20:
	ldr	x9, [x9, _EMAC_CTL_RX_EN@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	orr	w8, w8, w9
	bic	w2, w0, w8
	ldr	w1, [x20]
	mov	x0, x19
	bl	_EMAC_WRITE_REG
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_callout_stop
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_DRV_RUNNING,4,2            ; @IFF_DRV_RUNNING
	.comm	_IFF_DRV_OACTIVE,4,2            ; @IFF_DRV_OACTIVE
	.comm	_EMAC_INT_CTL,4,2               ; @EMAC_INT_CTL
	.comm	_EMAC_INT_STA,4,2               ; @EMAC_INT_STA
	.comm	_EMAC_CTL,4,2                   ; @EMAC_CTL
	.comm	_EMAC_CTL_RST,4,2               ; @EMAC_CTL_RST
	.comm	_EMAC_CTL_TX_EN,4,2             ; @EMAC_CTL_TX_EN
	.comm	_EMAC_CTL_RX_EN,4,2             ; @EMAC_CTL_RX_EN
	.no_dead_strip	_emac_stop_locked
.subsections_via_symbols
