	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uvc_video_decode_isoc
_uvc_video_decode_isoc:                 ## @uvc_video_decode_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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -48(%rbp)
	movq	%rdx, -56(%rbp)
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %r12
	cmpl	$0, (%r12)
	jle	LBB0_14
## %bb.1:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rbx
	xorl	%r13d, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r13
	movslq	(%r12), %rax
	cmpq	%rax, %r13
	jge	LBB0_14
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movq	8(%r12), %rax
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	leaq	(%r13,%r13,2), %r13
	movq	(%rax,%r13,8), %rdx
	testq	%rdx, %rdx
	js	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	8(%rax,%r13,8), %r15
	shlq	$2, %r15
	addq	16(%r12), %r15
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-48(%rbp), %rsi
	movq	16(%rax,%r13,8), %rcx
	movq	%rbx, %rdi
	movq	%r15, %rdx
	callq	_uvc_video_decode_start
	movl	%eax, %r14d
	xorl	%eax, %eax
	movq	_EAGAIN@GOTPCREL(%rip), %rcx
	subl	(%rcx), %eax
	cmpl	%eax, %r14d
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	%rbx, %rdi
	leaq	-48(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	callq	_uvc_video_next_buffers
	xorl	%eax, %eax
	movq	_EAGAIN@GOTPCREL(%rip), %rcx
	subl	(%rcx), %eax
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=2
	cmpl	%eax, %r14d
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	8(%r12), %rax
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	testl	%r14d, %r14d
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	js	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rsi
	movq	%rbx, %rdi
	movq	%r15, %rdx
	movl	%r14d, %ecx
	callq	_uvc_video_decode_meta
	movq	-48(%rbp), %rsi
	movl	%r14d, %eax
	leaq	(%r15,%rax,4), %rdx
	movq	8(%r12), %rcx
	leaq	(,%r13,8), %rdi
	leaq	(%rdi,%rdi,2), %r14
	movq	16(%rcx,%r14), %rcx
	subq	%rax, %rcx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_uvc_video_decode_data
	movq	-48(%rbp), %rsi
	movq	8(%r12), %rax
	movq	16(%rax,%r14), %rcx
	movq	%rbx, %rdi
	movq	%r15, %rdx
	callq	_uvc_video_decode_end
	movq	-48(%rbp), %rax
	movq	8(%rax), %rax
	movq	_UVC_BUF_STATE_READY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	leaq	-48(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	callq	_uvc_video_next_buffers
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_UVC_TRACE_FRAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_uvc_trace
	movq	-48(%rbp), %rax
	testq	%rax, %rax
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_13
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, (%rax)
	jmp	LBB0_13
LBB0_14:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UVC_TRACE_FRAME,4,2            ## @UVC_TRACE_FRAME
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"USB isochronous frame lost (%d).\n"

	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_UVC_BUF_STATE_READY,8,3        ## @UVC_BUF_STATE_READY
	.no_dead_strip	_uvc_video_decode_isoc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uvc_video_decode_isoc
_uvc_video_decode_isoc:                 ; @uvc_video_decode_isoc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	stp	x2, x1, [sp]
	ldr	x24, [x0, #8]
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.1:
	mov	x19, x0
	mov	x25, #0
	ldr	x20, [x0]
	mov	w26, #24
Lloh0:
	adrp	x28, _EAGAIN@GOTPAGE
Lloh1:
	ldr	x28, [x28, _EAGAIN@GOTPAGEOFF]
Lloh2:
	adrp	x21, l_.str@PAGE
Lloh3:
	add	x21, x21, l_.str@PAGEOFF
Lloh4:
	adrp	x27, _UVC_BUF_STATE_READY@GOTPAGE
Lloh5:
	ldr	x27, [x27, _UVC_BUF_STATE_READY@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x25, x25, #1
	ldrsw	x8, [x24]
	cmp	x25, x8
	b.ge	LBB0_14
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	ldr	x8, [x24, #8]
	mul	x9, x25, x26
	ldr	x2, [x8, x9]
	tbnz	x2, #63, LBB0_12
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x24, #16]
	madd	x10, x25, x26, x8
	ldrsw	x10, [x10, #8]
	add	x22, x9, x10, lsl #2
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x1, [sp, #8]
	madd	x8, x25, x26, x8
	ldr	x3, [x8, #16]
	mov	x0, x20
	mov	x2, x22
	bl	_uvc_video_decode_start
	mov	x23, x0
	ldr	w8, [x28]
	cmn	w0, w8
	b.ne	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	add	x1, sp, #8
	mov	x2, sp
	mov	x0, x20
	bl	_uvc_video_next_buffers
	ldr	w8, [x28]
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=2
	neg	w8, w8
	cmp	w23, w8
	b.ne	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=2
	ldr	x8, [x24, #8]
	b	LBB0_5
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	tbnz	w23, #31, LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x1, [sp]
	mov	x0, x20
	mov	x2, x22
	mov	x3, x23
	bl	_uvc_video_decode_meta
	ldr	x1, [sp, #8]
	mov	w8, w23
	add	x2, x22, w23, uxtw #2
	ldr	x9, [x24, #8]
	add	x10, x25, x25, lsl #1
	lsl	x23, x10, #3
	add	x9, x9, x23
	ldr	x9, [x9, #16]
	sub	x3, x9, x8
	mov	x0, x19
	bl	_uvc_video_decode_data
	ldr	x1, [sp, #8]
	ldr	x8, [x24, #8]
	add	x8, x8, x23
	ldr	x3, [x8, #16]
	mov	x0, x20
	mov	x2, x22
	bl	_uvc_video_decode_end
	ldr	x8, [sp, #8]
	ldr	x8, [x8, #8]
	ldr	x9, [x27]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	add	x1, sp, #8
	mov	x2, sp
	mov	x0, x20
	bl	_uvc_video_next_buffers
	b	LBB0_2
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh6:
	adrp	x8, _UVC_TRACE_FRAME@GOTPAGE
Lloh7:
	ldr	x8, [x8, _UVC_TRACE_FRAME@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_uvc_trace
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_2
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	w9, #1
	str	w9, [x8]
	b	LBB0_2
LBB0_14:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_UVC_TRACE_FRAME,4,2            ; @UVC_TRACE_FRAME
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"USB isochronous frame lost (%d).\n"

	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_UVC_BUF_STATE_READY,8,3        ; @UVC_BUF_STATE_READY
	.no_dead_strip	_uvc_video_decode_isoc
.subsections_via_symbols
