	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cx231xx_uninit_isoc            ## -- Begin function cx231xx_uninit_isoc
	.p2align	4, 0x90
_cx231xx_uninit_isoc:                   ## @cx231xx_uninit_isoc
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	callq	_cx231xx_isocdbg
	movl	$-1, 8(%r14)
	leaq	12(%r14), %rbx
	movl	12(%r14), %eax
	testl	%eax, %eax
	jle	LBB0_12
## %bb.1:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	$1, %r13d
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %eax
	movq	_EPIPE@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	cmovel	%r13d, %r15d
	movq	%rbx, %rdi
	callq	_usb_free_urb
	movq	24(%r14), %rax
	movq	$0, (%rax,%r12,8)
	movl	12(%r14), %eax
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r14), %rcx
	movq	$0, (%rcx,%r12,8)
	incq	%r12
	movslq	%eax, %rcx
	cmpq	%rcx, %r12
	jge	LBB0_10
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r14), %rcx
	movq	(%rcx,%r12,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_irqs_disabled
	movq	%rbx, %rdi
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	callq	_usb_unlink_urb
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	callq	_usb_kill_urb
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r14), %rax
	movq	(%rax,%r12,8), %rdx
	testq	%rdx, %rdx
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	48(%r14), %edi
	movl	4(%rbx), %ecx
	movl	8(%rbx), %esi
	callq	_usb_free_coherent
	jmp	LBB0_8
LBB0_10:
	testl	%r15d, %r15d
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_12
## %bb.11:
	leaq	L_.str.1(%rip), %rdi
	callq	_cx231xx_isocdbg
	movl	32(%r14), %esi
	movl	48(%r14), %edi
	callq	_usb_reset_endpoint
LBB0_12:
	movq	24(%r14), %rdi
	callq	_kfree
	movq	16(%r14), %rdi
	callq	_kfree
	movq	40(%r14), %rdi
	callq	_kfree
	movq	$0, 40(%r14)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rbx)
	movl	$0, 16(%rbx)
	cmpq	$0, (%r14)
	jne	LBB0_13
## %bb.14:
	movq	_Raw_Video@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_13:
	movq	_TS1_serial_mode@GOTPCREL(%rip), %rax
LBB0_15:
	movl	(%rax), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cx231xx_capture_start          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cx231xx: called cx231xx_uninit_isoc\n"

	.comm	_EPIPE,4,2                      ## @EPIPE
L_.str.1:                               ## @.str.1
	.asciz	"Reset endpoint to recover broken pipe."

	.comm	_Raw_Video,4,2                  ## @Raw_Video
	.comm	_TS1_serial_mode,4,2            ## @TS1_serial_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cx231xx_uninit_isoc            ; -- Begin function cx231xx_uninit_isoc
	.p2align	2
_cx231xx_uninit_isoc:                   ; @cx231xx_uninit_isoc
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_cx231xx_isocdbg
	mov	x21, x19
	ldr	w8, [x21, #12]!
	mov	w9, #-1
	stur	w9, [x21, #-4]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.1:
	mov	x23, #0
	mov	w22, #0
Lloh2:
	adrp	x24, _EPIPE@GOTPAGE
Lloh3:
	ldr	x24, [x24, _EPIPE@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x20]
	ldr	w9, [x24]
	cmn	w8, w9
	csinc	w22, w22, wzr, ne
	mov	x0, x20
	bl	_usb_free_urb
	ldr	x8, [x19, #24]
	str	xzr, [x8, x23, lsl #3]
	ldr	w8, [x19, #12]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x19, #16]
	str	xzr, [x9, x23, lsl #3]
	add	x23, x23, #1
	cmp	x23, w8, sxtw
	b.ge	LBB0_10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #24]
	ldr	x20, [x9, x23, lsl #3]
	cbz	x20, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_irqs_disabled
	cbz	w0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_usb_unlink_urb
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_usb_kill_urb
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #16]
	ldr	x2, [x8, x23, lsl #3]
	cbz	x2, LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x19, #48]
	ldp	w3, w1, [x20, #4]
	bl	_usb_free_coherent
	b	LBB0_2
LBB0_10:
	cbz	w22, LBB0_12
; %bb.11:
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_cx231xx_isocdbg
	ldr	w0, [x19, #48]
	ldr	w1, [x19, #32]
	bl	_usb_reset_endpoint
LBB0_12:
	ldr	x0, [x19, #24]
	bl	_kfree
	ldr	x0, [x19, #16]
	bl	_kfree
	ldr	x0, [x19, #40]
	bl	_kfree
	str	xzr, [x19, #40]
	stp	xzr, xzr, [x21]
	str	wzr, [x21, #16]
	ldr	x8, [x19]
Lloh6:
	adrp	x9, _Raw_Video@GOTPAGE
Lloh7:
	ldr	x9, [x9, _Raw_Video@GOTPAGEOFF]
Lloh8:
	adrp	x10, _TS1_serial_mode@GOTPAGE
Lloh9:
	ldr	x10, [x10, _TS1_serial_mode@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x9, x10, eq
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_cx231xx_capture_start
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cx231xx: called cx231xx_uninit_isoc\n"

	.comm	_EPIPE,4,2                      ; @EPIPE
l_.str.1:                               ; @.str.1
	.asciz	"Reset endpoint to recover broken pipe."

	.comm	_Raw_Video,4,2                  ; @Raw_Video
	.comm	_TS1_serial_mode,4,2            ; @TS1_serial_mode
.subsections_via_symbols
