	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl_usb_stop
_rtl_usb_stop:                          ## @rtl_usb_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_rtl_priv
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_hal
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_rtl_usbpriv
	movl	%eax, %edi
	callq	_rtl_usbdev
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_set_hal_stop
	leaq	16(%r15), %rdi
	callq	_cancel_work_sync
	movq	%r12, %rdi
	callq	_SET_USB_STOP
	leaq	12(%r12), %rdi
	callq	_usb_kill_anchored_urbs
	leaq	8(%r12), %rdi
	callq	_tasklet_kill
	leaq	12(%r15), %rdi
	callq	_cancel_work_sync
	movl	8(%r15), %edi
	callq	_flush_workqueue
	leaq	4(%r12), %rdi
	callq	_skb_queue_purge
	movq	%r12, %rdi
	callq	_usb_get_from_anchor
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	12(%rbx), %edi
	movl	8(%rbx), %esi
	movl	(%rbx), %ecx
	movl	4(%rbx), %edx
	callq	_usb_free_coherent
	movq	%rbx, %rdi
	callq	_usb_free_urb
	movq	%r12, %rdi
	callq	_usb_get_from_anchor
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_2
LBB0_3:
	movq	(%r15), %rax
	movq	(%rax), %rax
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*(%rax)                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_rtl_usb_stop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl_usb_stop
_rtl_usb_stop:                          ; @rtl_usb_stop
	.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	_rtl_priv
	mov	x20, x0
	mov	x0, x19
	bl	_rtl_priv
	bl	_rtl_hal
	mov	x22, x0
	mov	x0, x19
	bl	_rtl_usbpriv
	bl	_rtl_usbdev
	mov	x21, x0
	mov	x0, x22
	bl	_set_hal_stop
	add	x0, x20, #16
	bl	_cancel_work_sync
	mov	x0, x21
	bl	_SET_USB_STOP
	add	x0, x21, #12
	bl	_usb_kill_anchored_urbs
	add	x0, x21, #8
	bl	_tasklet_kill
	add	x0, x20, #12
	bl	_cancel_work_sync
	ldr	w0, [x20, #8]
	bl	_flush_workqueue
	add	x0, x21, #4
	bl	_skb_queue_purge
	mov	x0, x21
	bl	_usb_get_from_anchor
	cbz	x0, LBB0_3
; %bb.1:
	mov	x22, x0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w1, w0, [x22, #8]
	ldp	w3, w2, [x22]
	bl	_usb_free_coherent
	mov	x0, x22
	bl	_usb_free_urb
	mov	x0, x21
	bl	_usb_get_from_anchor
	mov	x22, x0
	cbnz	x0, LBB0_2
LBB0_3:
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	x1, [x8]
	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
	br	x1
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_rtl_usb_stop
.subsections_via_symbols
