	.file	"extr_uvc_video.c_uvc_video_decode_end.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Frame complete (EOF found).\n"
.LC1:
	.string	"EOF in empty payload.\n"
	.text
	.p2align 4
	.type	uvc_video_decode_end, @function
uvc_video_decode_end:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR 4[rdx]
	test	DWORD PTR UVC_STREAM_EOF[rip], eax
	je	.L10
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	cmp	QWORD PTR [rsi], 0
	jne	.L14
.L1:
	add	rsp, 24
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore 6
	.cfi_restore 12
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -24
	.cfi_offset 12, -16
	mov	r12, rdi
	mov	edi, DWORD PTR UVC_TRACE_FRAME[rip]
	lea	rsi, .LC0[rip]
	mov	DWORD PTR 12[rsp], ecx
	mov	QWORD PTR [rsp], rdx
	call	uvc_trace@PLT
	mov	rdx, QWORD PTR [rsp]
	mov	ecx, DWORD PTR 12[rsp]
	cmp	DWORD PTR [rdx], ecx
	je	.L15
.L5:
	mov	eax, DWORD PTR UVC_BUF_STATE_READY[rip]
	mov	DWORD PTR 8[rbp], eax
	mov	rax, QWORD PTR 8[r12]
	mov	eax, DWORD PTR [rax]
	test	DWORD PTR UVC_QUIRK_STREAM_NO_FID[rip], eax
	je	.L1
	mov	eax, DWORD PTR UVC_STREAM_FID[rip]
	xor	DWORD PTR [r12], eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L15:
	mov	edi, DWORD PTR UVC_TRACE_FRAME[rip]
	lea	rsi, .LC1[rip]
	call	uvc_trace@PLT
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	uvc_video_decode_end, .-uvc_video_decode_end
	.comm	UVC_TRACE_FRAME,4,4
	.comm	UVC_STREAM_FID,4,4
	.comm	UVC_STREAM_EOF,4,4
	.comm	UVC_QUIRK_STREAM_NO_FID,4,4
	.comm	UVC_BUF_STATE_READY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_uvc_video.c_uvc_video_decode_end.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Frame complete (EOF found).\012\000"
	.align	2
.LC1:
	.ascii	"EOF in empty payload.\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	uvc_video_decode_end, %function
uvc_video_decode_end:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r2
	ldr	r2, .L15
	ldr	ip, [r4, #4]
	ldr	r2, [r2]
	tst	ip, r2
	popeq	{r4, r5, r6, r7, r8, pc}
	mov	r5, r3
	ldr	r3, [r1]
	mov	r6, r1
	cmp	r3, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r8, .L15+4
	mov	r7, r0
	ldr	r1, .L15+8
	ldr	r0, [r8]
	bl	uvc_trace
	ldr	r3, [r4]
	cmp	r3, r5
	beq	.L14
.L5:
	ldr	r1, [r7, #4]
	ldr	r2, .L15+12
	ldr	r1, [r1]
	ldr	r2, [r2]
	ldr	r3, .L15+16
	tst	r1, r2
	ldr	r3, [r3]
	ldrne	r2, .L15+20
	str	r3, [r6, #4]
	ldrne	r2, [r2]
	ldrne	r3, [r7]
	eorne	r3, r3, r2
	strne	r3, [r7]
	pop	{r4, r5, r6, r7, r8, pc}
.L14:
	ldr	r0, [r8]
	ldr	r1, .L15+24
	bl	uvc_trace
	b	.L5
.L16:
	.align	2
.L15:
	.word	UVC_STREAM_EOF
	.word	UVC_TRACE_FRAME
	.word	.LC0
	.word	UVC_QUIRK_STREAM_NO_FID
	.word	UVC_BUF_STATE_READY
	.word	UVC_STREAM_FID
	.word	.LC1
	.size	uvc_video_decode_end, .-uvc_video_decode_end
	.comm	UVC_TRACE_FRAME,4,4
	.comm	UVC_STREAM_FID,4,4
	.comm	UVC_STREAM_EOF,4,4
	.comm	UVC_QUIRK_STREAM_NO_FID,4,4
	.comm	UVC_BUF_STATE_READY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
