	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ep93xx_stop_hw
_ep93xx_stop_hw:                        ## @ep93xx_stop_hw
	.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
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	_REG_SELFCTL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_REG_SELFCTL_RESET@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	%rax, %rdi
	callq	_wrl
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_rdl
	testl	%eax, (%r14)
	je	LBB0_10
## %bb.1:
	movl	$1, %edi
	callq	_msleep
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_rdl
	testl	%eax, (%r14)
	je	LBB0_10
## %bb.2:
	movl	$1, %edi
	callq	_msleep
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_rdl
	testl	%eax, (%r14)
	je	LBB0_10
## %bb.3:
	movl	$1, %edi
	callq	_msleep
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_rdl
	testl	%eax, (%r14)
	je	LBB0_10
## %bb.4:
	movl	$1, %edi
	callq	_msleep
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_rdl
	testl	%eax, (%r14)
	je	LBB0_10
## %bb.5:
	movl	$1, %edi
	callq	_msleep
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_rdl
	testl	%eax, (%r14)
	je	LBB0_10
## %bb.6:
	movl	$1, %edi
	callq	_msleep
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_rdl
	testl	%eax, (%r14)
	je	LBB0_10
## %bb.7:
	movl	$1, %edi
	callq	_msleep
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_rdl
	testl	%eax, (%r14)
	je	LBB0_10
## %bb.8:
	movl	$1, %edi
	callq	_msleep
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_rdl
	testl	%eax, (%r14)
	je	LBB0_10
## %bb.9:
	movl	$1, %edi
	callq	_msleep
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_rdl
	testl	%eax, (%r14)
	je	LBB0_10
## %bb.11:
	movl	$1, %edi
	callq	_msleep
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pr_crit                        ## TAILCALL
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_SELFCTL,4,2                ## @REG_SELFCTL
	.comm	_REG_SELFCTL_RESET,4,2          ## @REG_SELFCTL_RESET
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hw failed to reset\n"

	.no_dead_strip	_ep93xx_stop_hw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ep93xx_stop_hw
_ep93xx_stop_hw:                        ; @ep93xx_stop_hw
	.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
	bl	_netdev_priv
	mov	x19, x0
Lloh0:
	adrp	x21, _REG_SELFCTL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _REG_SELFCTL@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh2:
	adrp	x20, _REG_SELFCTL_RESET@GOTPAGE
Lloh3:
	ldr	x20, [x20, _REG_SELFCTL_RESET@GOTPAGEOFF]
	ldr	w2, [x20]
	bl	_wrl
	ldr	w1, [x21]
	mov	x0, x19
	bl	_rdl
	ldr	w8, [x20]
	tst	w8, w0
	b.eq	LBB0_11
; %bb.1:
	mov	w0, #1
	bl	_msleep
	ldr	w1, [x21]
	mov	x0, x19
	bl	_rdl
	ldr	w8, [x20]
	tst	w8, w0
	b.eq	LBB0_11
; %bb.2:
	mov	w0, #1
	bl	_msleep
	ldr	w1, [x21]
	mov	x0, x19
	bl	_rdl
	ldr	w8, [x20]
	tst	w8, w0
	b.eq	LBB0_11
; %bb.3:
	mov	w0, #1
	bl	_msleep
	ldr	w1, [x21]
	mov	x0, x19
	bl	_rdl
	ldr	w8, [x20]
	tst	w8, w0
	b.eq	LBB0_11
; %bb.4:
	mov	w0, #1
	bl	_msleep
	ldr	w1, [x21]
	mov	x0, x19
	bl	_rdl
	ldr	w8, [x20]
	tst	w8, w0
	b.eq	LBB0_11
; %bb.5:
	mov	w0, #1
	bl	_msleep
	ldr	w1, [x21]
	mov	x0, x19
	bl	_rdl
	ldr	w8, [x20]
	tst	w8, w0
	b.eq	LBB0_11
; %bb.6:
	mov	w0, #1
	bl	_msleep
	ldr	w1, [x21]
	mov	x0, x19
	bl	_rdl
	ldr	w8, [x20]
	tst	w8, w0
	b.eq	LBB0_11
; %bb.7:
	mov	w0, #1
	bl	_msleep
	ldr	w1, [x21]
	mov	x0, x19
	bl	_rdl
	ldr	w8, [x20]
	tst	w8, w0
	b.eq	LBB0_11
; %bb.8:
	mov	w0, #1
	bl	_msleep
	ldr	w1, [x21]
	mov	x0, x19
	bl	_rdl
	ldr	w8, [x20]
	tst	w8, w0
	b.eq	LBB0_11
; %bb.9:
	mov	w0, #1
	bl	_msleep
	ldr	w1, [x21]
	mov	x0, x19
	bl	_rdl
	ldr	w8, [x20]
	tst	w8, w0
	b.eq	LBB0_11
; %bb.10:
	mov	w0, #1
	bl	_msleep
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	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	_pr_crit
LBB0_11:
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_SELFCTL,4,2                ; @REG_SELFCTL
	.comm	_REG_SELFCTL_RESET,4,2          ; @REG_SELFCTL_RESET
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hw failed to reset\n"

	.no_dead_strip	_ep93xx_stop_hw
.subsections_via_symbols
