	.file	"extr_oggdec.c_ogg_validate_keyframe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	""
.LC1:
	.string	"non-"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"Broken file, %skeyframe not correctly marked.\n"
	.text
	.p2align 4
	.type	ogg_validate_keyframe, @function
ogg_validate_keyframe:
.LFB0:
	.cfi_startproc
	endbr64
	test	ecx, ecx
	je	.L1
	mov	rax, QWORD PTR 8[rdi]
	movsx	rsi, esi
	mov	rcx, rsi
	sal	rcx, 4
	add	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR [rdi]
	mov	rax, QWORD PTR [rax+rsi*8]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 128
	je	.L3
	cmp	eax, 129
	jne	.L1
	mov	rax, QWORD PTR 8[rcx]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	shr	eax, 6
	xor	eax, 1
.L13:
	mov	edx, DWORD PTR [rcx]
	test	DWORD PTR AV_PKT_FLAG_KEY[rip], edx
	setne	dl
	xor	eax, edx
	and	eax, 1
	test	eax, eax
	je	.L1
	mov	edx, DWORD PTR AV_PKT_FLAG_KEY[rip]
	mov	eax, DWORD PTR [rcx]
	mov	esi, DWORD PTR AV_LOG_WARNING[rip]
	xor	eax, edx
	test	edx, eax
	mov	DWORD PTR [rcx], eax
	lea	rcx, .LC0[rip]
	lea	rax, .LC1[rip]
	cmove	rcx, rax
	lea	rdx, .LC2[rip]
	jmp	av_log@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rax, QWORD PTR 8[rcx]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	not	eax
	jmp	.L13
	.cfi_endproc
.LFE0:
	.size	ogg_validate_keyframe, .-ogg_validate_keyframe
	.comm	AV_PKT_FLAG_KEY,4,4
	.comm	AV_LOG_WARNING,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_oggdec.c_ogg_validate_keyframe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"non-\000"
	.align	2
.LC2:
	.ascii	"Broken file, %skeyframe not correctly marked.\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ogg_validate_keyframe, %function
ogg_validate_keyframe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r3, #0
	bxeq	lr
	ldm	r0, {r3, ip}
	ldr	r3, [r3, r1, lsl #2]
	ldr	ip, [ip]
	ldr	r3, [r3]
	push	{r4, lr}
	ldr	r3, [r3]
	add	lr, ip, r1, lsl #3
	cmp	r3, #128
	beq	.L3
	cmp	r3, #129
	popne	{r4, pc}
	ldr	r3, [lr, #4]
	ldr	lr, .L19
	ldr	r3, [r3, r2, lsl #2]
	ldr	r4, [lr]
	ldr	r2, [ip, r1, lsl #3]
	lsr	r3, r3, #6
	eor	r3, r3, #1
	and	r3, r3, #1
	and	r4, r4, r2
	cmp	r4, #0
	eorne	r3, r3, #1
	cmp	r3, #0
	popeq	{r4, pc}
.L18:
	ldr	lr, [lr]
	ldr	r4, .L19+4
	eor	r2, r2, lr
	tst	lr, r2
	str	r2, [ip, r1, lsl #3]
	ldr	r2, .L19+8
	ldr	r3, .L19+12
	ldr	r1, [r2]
	movne	r3, r4
	pop	{r4, lr}
	ldr	r2, .L19+16
	b	av_log
.L3:
	ldr	r3, [lr, #4]
	ldr	lr, .L19
	ldr	r3, [r3, r2, lsl #2]
	ldr	r4, [lr]
	mvn	r3, r3
	ldr	r2, [ip, r1, lsl #3]
	and	r3, r3, #1
	and	r4, r4, r2
	cmp	r4, #0
	eorne	r3, r3, #1
	cmp	r3, #0
	popeq	{r4, pc}
	b	.L18
.L20:
	.align	2
.L19:
	.word	AV_PKT_FLAG_KEY
	.word	.LC0
	.word	AV_LOG_WARNING
	.word	.LC1
	.word	.LC2
	.size	ogg_validate_keyframe, .-ogg_validate_keyframe
	.comm	AV_PKT_FLAG_KEY,4,4
	.comm	AV_LOG_WARNING,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
