	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uvc_video_decode_start
_uvc_video_decode_start:                ## @uvc_video_decode_start
	.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
	cmpl	$2, %ecx
	jl	LBB0_3
## %bb.1:
	movq	%rdx, %rbx
	movl	(%rdx), %eax
	cmpl	$2, %eax
	jl	LBB0_3
## %bb.2:
	cmpl	%ecx, %eax
	jg	LBB0_3
## %bb.5:
	movl	4(%rbx), %r12d
	movq	_UVC_STREAM_ERR@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_7
## %bb.6:
	movq	_UVC_TRACE_FRAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_uvc_trace
	movq	_ENODATA@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_4:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_25:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_UVC_STREAM_FID@GOTPCREL(%rip), %r13
	andl	(%r13), %r12d
	movl	(%rdi), %eax
	cmpl	%r12d, %eax
	je	LBB0_9
## %bb.8:
	incq	8(%r14)
LBB0_9:
	testq	%r15, %r15
	je	LBB0_10
## %bb.11:
	movq	(%r15), %rcx
	movq	_UVC_BUF_STATE_ACTIVE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_21
## %bb.12:
	cmpl	%r12d, %eax
	jne	LBB0_17
## %bb.13:
	movq	_UVC_TRACE_FRAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_uvc_trace
	movq	16(%r14), %rax
	movq	_UVC_QUIRK_STREAM_NO_FID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_16
## %bb.14:
	movq	_UVC_STREAM_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%rbx)
	je	LBB0_16
## %bb.15:
	movl	(%r13), %eax
	xorl	%eax, (%r14)
LBB0_16:
	movq	_ENODATA@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_10:
	movl	%r12d, (%r14)
	movq	_ENODATA@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_17:
	movq	%rdx, %r13
	movq	_uvc_clock_param@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_CLOCK_MONOTONIC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_19
## %bb.18:
	leaq	-48(%rbp), %rdi
	callq	_ktime_get_ts
	jmp	LBB0_20
LBB0_19:
	leaq	-48(%rbp), %rdi
	callq	_ktime_get_real_ts
LBB0_20:
	movq	8(%r14), %rax
	movq	%rax, 24(%r15)
	movl	-44(%rbp), %eax
	movl	%eax, 20(%r15)
	movl	-48(%rbp), %eax
	movq	_NSEC_PER_USEC@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	movl	%eax, 16(%r15)
	movq	(%r13), %rax
	movq	%rax, (%r15)
	movl	(%r14), %eax
LBB0_21:
	cmpl	%eax, %r12d
	je	LBB0_24
## %bb.22:
	cmpq	$0, 8(%r15)
	je	LBB0_24
## %bb.23:
	movq	_UVC_TRACE_FRAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_uvc_trace
	movq	_UVC_BUF_STATE_READY@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r15)
	movq	_EAGAIN@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_24:
	movl	%r12d, (%r14)
	movl	(%rbx), %eax
	jmp	LBB0_25
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_UVC_STREAM_ERR,4,2             ## @UVC_STREAM_ERR
	.comm	_UVC_TRACE_FRAME,4,2            ## @UVC_TRACE_FRAME
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Dropping payload (error bit set).\n"

	.comm	_ENODATA,4,2                    ## @ENODATA
	.comm	_UVC_STREAM_FID,4,2             ## @UVC_STREAM_FID
	.comm	_UVC_BUF_STATE_ACTIVE,8,3       ## @UVC_BUF_STATE_ACTIVE
L_.str.1:                               ## @.str.1
	.asciz	"Dropping payload (out of sync).\n"

	.comm	_UVC_QUIRK_STREAM_NO_FID,4,2    ## @UVC_QUIRK_STREAM_NO_FID
	.comm	_UVC_STREAM_EOF,4,2             ## @UVC_STREAM_EOF
	.comm	_uvc_clock_param,8,3            ## @uvc_clock_param
	.comm	_CLOCK_MONOTONIC,8,3            ## @CLOCK_MONOTONIC
	.comm	_NSEC_PER_USEC,4,2              ## @NSEC_PER_USEC
L_.str.2:                               ## @.str.2
	.asciz	"Frame complete (FID bit toggled).\n"

	.comm	_UVC_BUF_STATE_READY,8,3        ## @UVC_BUF_STATE_READY
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.no_dead_strip	_uvc_video_decode_start
.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_start
_uvc_video_decode_start:                ; @uvc_video_decode_start
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	cmp	w3, #2
	b.lt	LBB0_2
; %bb.1:
	mov	x20, x2
	ldr	w8, [x2]
	cmp	w8, #2
	ccmp	w8, w3, #0, ge
	b.le	LBB0_3
LBB0_2:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:
	ldr	w8, [x20, #4]
Lloh2:
	adrp	x9, _UVC_STREAM_ERR@GOTPAGE
Lloh3:
	ldr	x9, [x9, _UVC_STREAM_ERR@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.4:
Lloh5:
	adrp	x8, _UVC_TRACE_FRAME@GOTPAGE
Lloh6:
	ldr	x8, [x8, _UVC_TRACE_FRAME@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_uvc_trace
LBB0_5:
Lloh10:
	adrp	x8, _ENODATA@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENODATA@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_8:
	mov	x21, x1
	mov	x19, x0
Lloh12:
	adrp	x23, _UVC_STREAM_FID@GOTPAGE
Lloh13:
	ldr	x23, [x23, _UVC_STREAM_FID@GOTPAGEOFF]
	ldr	w9, [x23]
	and	w22, w9, w8
	ldr	w8, [x0]
	cmp	w8, w22
	b.eq	LBB0_10
; %bb.9:
	ldr	x9, [x19, #8]
	add	x9, x9, #1
	str	x9, [x19, #8]
LBB0_10:
	cbz	x21, LBB0_16
; %bb.11:
	ldr	x9, [x21]
Lloh14:
	adrp	x24, _UVC_BUF_STATE_ACTIVE@GOTPAGE
Lloh15:
	ldr	x24, [x24, _UVC_BUF_STATE_ACTIVE@GOTPAGEOFF]
	ldr	x10, [x24]
	cmp	x9, x10
	b.eq	LBB0_21
; %bb.12:
	cmp	w8, w22
	b.ne	LBB0_17
; %bb.13:
Lloh16:
	adrp	x8, _UVC_TRACE_FRAME@GOTPAGE
Lloh17:
	ldr	x8, [x8, _UVC_TRACE_FRAME@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x1, l_.str.1@PAGE
Lloh20:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_uvc_trace
	ldr	x8, [x19, #16]
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _UVC_QUIRK_STREAM_NO_FID@GOTPAGE
Lloh22:
	ldr	x9, [x9, _UVC_QUIRK_STREAM_NO_FID@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.14:
	ldr	w8, [x20, #4]
Lloh24:
	adrp	x9, _UVC_STREAM_EOF@GOTPAGE
Lloh25:
	ldr	x9, [x9, _UVC_STREAM_EOF@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.15:
	ldr	w8, [x23]
	ldr	w9, [x19]
	eor	w8, w9, w8
	str	w8, [x19]
	b	LBB0_5
LBB0_16:
	str	w22, [x19]
	b	LBB0_5
LBB0_17:
Lloh27:
	adrp	x8, _uvc_clock_param@GOTPAGE
Lloh28:
	ldr	x8, [x8, _uvc_clock_param@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
Lloh30:
	adrp	x9, _CLOCK_MONOTONIC@GOTPAGE
Lloh31:
	ldr	x9, [x9, _CLOCK_MONOTONIC@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	add	x0, sp, #8
	cmp	x8, x9
	b.ne	LBB0_19
; %bb.18:
	bl	_ktime_get_ts
	b	LBB0_20
LBB0_19:
	bl	_ktime_get_real_ts
LBB0_20:
	ldr	x8, [x19, #8]
	str	x8, [x21, #24]
	ldp	w9, w8, [sp, #8]
Lloh33:
	adrp	x10, _NSEC_PER_USEC@GOTPAGE
Lloh34:
	ldr	x10, [x10, _NSEC_PER_USEC@GOTPAGEOFF]
Lloh35:
	ldr	w10, [x10]
	sdiv	w9, w9, w10
	stp	w9, w8, [x21, #16]
	ldr	x8, [x24]
	str	x8, [x21]
	ldr	w8, [x19]
LBB0_21:
	cmp	w22, w8
	b.eq	LBB0_24
; %bb.22:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_24
; %bb.23:
Lloh36:
	adrp	x8, _UVC_TRACE_FRAME@GOTPAGE
Lloh37:
	ldr	x8, [x8, _UVC_TRACE_FRAME@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
Lloh39:
	adrp	x1, l_.str.2@PAGE
Lloh40:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_uvc_trace
Lloh41:
	adrp	x8, _UVC_BUF_STATE_READY@GOTPAGE
Lloh42:
	ldr	x8, [x8, _UVC_BUF_STATE_READY@GOTPAGEOFF]
Lloh43:
	ldr	x8, [x8]
	str	x8, [x21]
Lloh44:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh45:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
	b	LBB0_6
LBB0_24:
	str	w22, [x19]
	ldr	w0, [x20]
	b	LBB0_7
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_UVC_STREAM_ERR,4,2             ; @UVC_STREAM_ERR
	.comm	_UVC_TRACE_FRAME,4,2            ; @UVC_TRACE_FRAME
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Dropping payload (error bit set).\n"

	.comm	_ENODATA,4,2                    ; @ENODATA
	.comm	_UVC_STREAM_FID,4,2             ; @UVC_STREAM_FID
	.comm	_UVC_BUF_STATE_ACTIVE,8,3       ; @UVC_BUF_STATE_ACTIVE
l_.str.1:                               ; @.str.1
	.asciz	"Dropping payload (out of sync).\n"

	.comm	_UVC_QUIRK_STREAM_NO_FID,4,2    ; @UVC_QUIRK_STREAM_NO_FID
	.comm	_UVC_STREAM_EOF,4,2             ; @UVC_STREAM_EOF
	.comm	_uvc_clock_param,8,3            ; @uvc_clock_param
	.comm	_CLOCK_MONOTONIC,8,3            ; @CLOCK_MONOTONIC
	.comm	_NSEC_PER_USEC,4,2              ; @NSEC_PER_USEC
l_.str.2:                               ; @.str.2
	.asciz	"Frame complete (FID bit toggled).\n"

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