	.file	"extr_oggparsedaala.c_daala_gptopts.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	daala_gptopts, @function
daala_gptopts:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR [rdi]
	movsx	rsi, esi
	mov	r8, rcx
	sal	rsi, 4
	add	rsi, QWORD PTR [rax]
	mov	rdi, QWORD PTR 8[rsi]
	test	rdi, rdi
	je	.L10
	mov	ecx, DWORD PTR [rdi]
	mov	eax, edx
	sar	eax, cl
	and	edx, DWORD PTR 4[rdi]
	je	.L11
.L4:
	add	eax, edx
	test	r8, r8
	je	.L1
	mov	DWORD PTR [r8], eax
.L1:
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	mov	ecx, DWORD PTR AV_PKT_FLAG_KEY[rip]
	or	DWORD PTR [rsi], ecx
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L10:
	mov	eax, DWORD PTR AV_NOPTS_VALUE[rip]
	ret
	.cfi_endproc
.LFE0:
	.size	daala_gptopts, .-daala_gptopts
	.comm	AV_PKT_FLAG_KEY,4,4
	.comm	AV_NOPTS_VALUE,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_oggparsedaala.c_daala_gptopts.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	daala_gptopts, %function
daala_gptopts:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r0, [r0]
	push	{r4, lr}
	ldr	lr, [r0]
	add	r0, lr, r1, lsl #3
	ldr	r0, [r0, #4]
	cmp	r0, #0
	beq	.L11
	ldm	r0, {r4, ip}
	ands	r0, r2, ip
	asr	r2, r2, r4
	ldreq	r4, .L12
	ldreq	ip, [lr, r1, lsl #3]
	ldreq	r4, [r4]
	add	r0, r2, r0
	orreq	ip, ip, r4
	streq	ip, [lr, r1, lsl #3]
	cmp	r3, #0
	strne	r0, [r3]
	pop	{r4, pc}
.L11:
	ldr	r3, .L12+4
	ldr	r0, [r3]
	pop	{r4, pc}
.L13:
	.align	2
.L12:
	.word	AV_PKT_FLAG_KEY
	.word	AV_NOPTS_VALUE
	.size	daala_gptopts, .-daala_gptopts
	.comm	AV_PKT_FLAG_KEY,4,4
	.comm	AV_NOPTS_VALUE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
