	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function w90p910_reset_mac
_w90p910_reset_mac:                     ## @w90p910_reset_mac
	.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
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_w90p910_enable_tx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_w90p910_enable_rx
	movq	%rbx, %rdi
	callq	_w90p910_set_fifo_threshold
	movq	%rbx, %rdi
	callq	_w90p910_return_default_idle
	movq	%rbx, %rdi
	callq	_netif_queue_stopped
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_netif_stop_queue
LBB0_2:
	movq	%rbx, %rdi
	callq	_w90p910_init_desc
	movq	_jiffies@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	%rax, (%rbx)
	movq	$0, (%r14)
	movl	$0, 8(%r14)
	movq	%rbx, %rdi
	callq	_w90p910_set_curdest
	movq	%rbx, %rdi
	callq	_w90p910_enable_cam
	movq	%rbx, %rdi
	callq	_w90p910_enable_cam_command
	movq	%rbx, %rdi
	callq	_w90p910_enable_mac_interrupt
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_w90p910_enable_tx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_w90p910_enable_rx
	movq	%rbx, %rdi
	callq	_w90p910_trigger_tx
	movq	%rbx, %rdi
	callq	_w90p910_trigger_rx
	movq	(%r15), %rax
	movq	%rax, (%rbx)
	movq	%rbx, %rdi
	callq	_netif_queue_stopped
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netif_wake_queue               ## TAILCALL
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,8,3                    ## @jiffies
	.no_dead_strip	_w90p910_reset_mac
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function w90p910_reset_mac
_w90p910_reset_mac:                     ; @w90p910_reset_mac
	.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
	mov	x0, x19
	mov	w1, #0
	bl	_w90p910_enable_tx
	mov	x0, x19
	mov	w1, #0
	bl	_w90p910_enable_rx
	mov	x0, x19
	bl	_w90p910_set_fifo_threshold
	mov	x0, x19
	bl	_w90p910_return_default_idle
	mov	x0, x19
	bl	_netif_queue_stopped
	cbnz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_netif_stop_queue
LBB0_2:
	mov	x0, x19
	bl	_w90p910_init_desc
Lloh0:
	adrp	x21, _jiffies@GOTPAGE
Lloh1:
	ldr	x21, [x21, _jiffies@GOTPAGEOFF]
	ldr	x8, [x21]
	str	x8, [x19]
	str	xzr, [x20]
	str	wzr, [x20, #8]
	mov	x0, x19
	bl	_w90p910_set_curdest
	mov	x0, x19
	bl	_w90p910_enable_cam
	mov	x0, x19
	bl	_w90p910_enable_cam_command
	mov	x0, x19
	bl	_w90p910_enable_mac_interrupt
	mov	x0, x19
	mov	w1, #1
	bl	_w90p910_enable_tx
	mov	x0, x19
	mov	w1, #1
	bl	_w90p910_enable_rx
	mov	x0, x19
	bl	_w90p910_trigger_tx
	mov	x0, x19
	bl	_w90p910_trigger_rx
	ldr	x8, [x21]
	str	x8, [x19]
	mov	x0, x19
	bl	_netif_queue_stopped
	cbz	x0, LBB0_4
; %bb.3:
	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
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 AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,8,3                    ; @jiffies
	.no_dead_strip	_w90p910_reset_mac
.subsections_via_symbols
