	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uvc_video_decode_end
_uvc_video_decode_end:                  ## @uvc_video_decode_end
	.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	_UVC_STREAM_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%rdx)
	je	LBB0_6
## %bb.1:
	movq	%rsi, %r12
	cmpq	$0, (%rsi)
	je	LBB0_6
## %bb.2:
	movl	%ecx, %r15d
	movq	%rdx, %rbx
	movq	%rdi, %r14
	movq	_UVC_TRACE_FRAME@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	L_.str(%rip), %rsi
	callq	_uvc_trace
	cmpl	%r15d, (%rbx)
	jne	LBB0_4
## %bb.3:
	movl	(%r13), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_uvc_trace
LBB0_4:
	movq	_UVC_BUF_STATE_READY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r12)
	movq	8(%r14), %rax
	movq	_UVC_QUIRK_STREAM_NO_FID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_6
## %bb.5:
	movq	_UVC_STREAM_FID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%eax, (%r14)
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UVC_STREAM_EOF,4,2             ## @UVC_STREAM_EOF
	.comm	_UVC_TRACE_FRAME,4,2            ## @UVC_TRACE_FRAME
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Frame complete (EOF found).\n"

L_.str.1:                               ## @.str.1
	.asciz	"EOF in empty payload.\n"

	.comm	_UVC_BUF_STATE_READY,4,2        ## @UVC_BUF_STATE_READY
	.comm	_UVC_QUIRK_STREAM_NO_FID,4,2    ## @UVC_QUIRK_STREAM_NO_FID
	.comm	_UVC_STREAM_FID,4,2             ## @UVC_STREAM_FID
	.no_dead_strip	_uvc_video_decode_end
.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_end
_uvc_video_decode_end:                  ; @uvc_video_decode_end
	.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
	ldr	w8, [x2, #4]
Lloh0:
	adrp	x9, _UVC_STREAM_EOF@GOTPAGE
Lloh1:
	ldr	x9, [x9, _UVC_STREAM_EOF@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.1:
	mov	x20, x1
	ldr	x8, [x1]
	cbz	x8, LBB0_6
; %bb.2:
	mov	x21, x3
	mov	x22, x2
	mov	x19, x0
Lloh3:
	adrp	x23, _UVC_TRACE_FRAME@GOTPAGE
Lloh4:
	ldr	x23, [x23, _UVC_TRACE_FRAME@GOTPAGEOFF]
	ldr	w0, [x23]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_uvc_trace
	ldr	w8, [x22]
	cmp	w8, w21
	b.ne	LBB0_4
; %bb.3:
	ldr	w0, [x23]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_uvc_trace
LBB0_4:
Lloh9:
	adrp	x8, _UVC_BUF_STATE_READY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _UVC_BUF_STATE_READY@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x20, #8]
	ldr	x8, [x19, #8]
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _UVC_QUIRK_STREAM_NO_FID@GOTPAGE
Lloh13:
	ldr	x9, [x9, _UVC_QUIRK_STREAM_NO_FID@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
Lloh15:
	adrp	x8, _UVC_STREAM_FID@GOTPAGE
Lloh16:
	ldr	x8, [x8, _UVC_STREAM_FID@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	ldr	w9, [x19]
	eor	w8, w9, w8
	str	w8, [x19]
LBB0_6:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_UVC_STREAM_EOF,4,2             ; @UVC_STREAM_EOF
	.comm	_UVC_TRACE_FRAME,4,2            ; @UVC_TRACE_FRAME
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Frame complete (EOF found).\n"

l_.str.1:                               ; @.str.1
	.asciz	"EOF in empty payload.\n"

	.comm	_UVC_BUF_STATE_READY,4,2        ; @UVC_BUF_STATE_READY
	.comm	_UVC_QUIRK_STREAM_NO_FID,4,2    ; @UVC_QUIRK_STREAM_NO_FID
	.comm	_UVC_STREAM_FID,4,2             ; @UVC_STREAM_FID
	.no_dead_strip	_uvc_video_decode_end
.subsections_via_symbols
