	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_usb_stream_stop                ## -- Begin function usb_stream_stop
	.p2align	4, 0x90
_usb_stream_stop:                       ## @usb_stream_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	_USB_STREAM_NURBS@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_5
## %bb.2:
	movq	%rdi, %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_usb_kill_urb
	movq	8(%r15), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_usb_kill_urb
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_3
## %bb.4:
	movq	(%r15), %rax
LBB0_5:
	movq	_usb_stream_stopped@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	movl	$400, %edi                      ## imm = 0x190
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_msleep                         ## TAILCALL
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_USB_STREAM_NURBS,4,2           ## @USB_STREAM_NURBS
	.comm	_usb_stream_stopped,4,2         ## @usb_stream_stopped
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_usb_stream_stop                ; -- Begin function usb_stream_stop
	.p2align	2
_usb_stream_stop:                       ; @usb_stream_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
	ldr	x8, [x0]
	cbz	x8, LBB0_6
; %bb.1:
Lloh0:
	adrp	x20, _USB_STREAM_NURBS@GOTPAGE
Lloh1:
	ldr	x20, [x20, _USB_STREAM_NURBS@GOTPAGEOFF]
	ldr	w9, [x20]
	cmp	w9, #1
	b.lt	LBB0_5
; %bb.2:
	mov	x19, x0
	mov	x21, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	lsl	x22, x21, #2
	ldr	w0, [x8, x22]
	bl	_usb_kill_urb
	ldr	x8, [x19, #8]
	ldr	w0, [x8, x22]
	bl	_usb_kill_urb
	add	x21, x21, #1
	ldrsw	x8, [x20]
	cmp	x21, x8
	b.lt	LBB0_3
; %bb.4:
	ldr	x8, [x19]
LBB0_5:
Lloh2:
	adrp	x9, _usb_stream_stopped@GOTPAGE
Lloh3:
	ldr	x9, [x9, _usb_stream_stopped@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	str	w9, [x8]
	mov	w0, #400
	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	_msleep
LBB0_6:
	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
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_USB_STREAM_NURBS,4,2           ; @USB_STREAM_NURBS
	.comm	_usb_stream_stopped,4,2         ; @usb_stream_stopped
.subsections_via_symbols
