	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dmfe_dynamic_reset
_dmfe_dynamic_reset:                    ## @dmfe_dynamic_reset
	.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, %rbx
	callq	_netdev_priv
	movq	%rax, %r14
	leaq	L_.str(%rip), %rsi
	xorl	%edi, %edi
	xorl	%edx, %edx
	callq	_DMFE_DBUG
	movq	_CR6_RXSC@GOTPCREL(%rip), %rax
	movq	_CR6_TXSC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	notl	%edi
	andl	(%r14), %edi
	movl	%edi, (%r14)
	movq	(%rbx), %rsi
	callq	_update_cr6
	movq	_DCR7@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	xorl	%edi, %edi
	callq	_outl
	movq	_DCR5@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	addq	(%rbx), %rdi
	callq	_inl
	movq	(%r15), %rsi
	addq	(%rbx), %rsi
	movl	%eax, %edi
	callq	_outl
	movq	%rbx, %rdi
	callq	_netif_stop_queue
	movq	%r14, %rdi
	callq	_dmfe_free_rxbuffer
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%r14)
	movq	$0, 32(%r14)
	movq	%rbx, %rdi
	callq	_netif_carrier_off
	movq	$0, 8(%r14)
	movq	%rbx, %rdi
	callq	_dmfe_init_dm910x
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netif_wake_queue               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dmfe_dynamic_reset()"

	.comm	_CR6_RXSC,4,2                   ## @CR6_RXSC
	.comm	_CR6_TXSC,4,2                   ## @CR6_TXSC
	.comm	_DCR7,8,3                       ## @DCR7
	.comm	_DCR5,8,3                       ## @DCR5
	.no_dead_strip	_dmfe_dynamic_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dmfe_dynamic_reset
_dmfe_dynamic_reset:                    ; @dmfe_dynamic_reset
	.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	x19, x0
	bl	_netdev_priv
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #0
	mov	w2, #0
	bl	_DMFE_DBUG
Lloh2:
	adrp	x8, _CR6_RXSC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CR6_RXSC@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _CR6_TXSC@GOTPAGE
Lloh6:
	ldr	x9, [x9, _CR6_TXSC@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x20]
	bic	w0, w9, w8
	str	w0, [x20]
	ldr	x1, [x19]
	bl	_update_cr6
	ldr	x8, [x19]
Lloh8:
	adrp	x9, _DCR7@GOTPAGE
Lloh9:
	ldr	x9, [x9, _DCR7@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_outl
	ldr	x8, [x19]
Lloh11:
	adrp	x21, _DCR5@GOTPAGE
Lloh12:
	ldr	x21, [x21, _DCR5@GOTPAGEOFF]
	ldr	x9, [x21]
	add	x0, x9, x8
	bl	_inl
	ldr	x8, [x19]
	ldr	x9, [x21]
	add	x1, x9, x8
	bl	_outl
	mov	x0, x19
	bl	_netif_stop_queue
	mov	x0, x20
	bl	_dmfe_free_rxbuffer
	stp	xzr, xzr, [x20, #24]
	str	xzr, [x20, #16]
	mov	x0, x19
	bl	_netif_carrier_off
	str	xzr, [x20, #8]
	mov	x0, x19
	bl	_dmfe_init_dm910x
	mov	x0, x19
	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
	b	_netif_wake_queue
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dmfe_dynamic_reset()"

	.comm	_CR6_RXSC,4,2                   ; @CR6_RXSC
	.comm	_CR6_TXSC,4,2                   ; @CR6_TXSC
	.comm	_DCR7,8,3                       ; @DCR7
	.comm	_DCR5,8,3                       ; @DCR5
	.no_dead_strip	_dmfe_dynamic_reset
.subsections_via_symbols
