	.file	"extr_framequeue.c_ff_framequeue_skip_samples.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ff_framequeue_skip_samples
	.type	ff_framequeue_skip_samples, @function
ff_framequeue_skip_samples:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, edx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	check_consistency@PLT
	mov	edi, DWORD PTR [r12]
	call	av_assert1@PLT
	xor	esi, esi
	mov	rdi, r12
	call	bucket@PLT
	xor	edi, edi
	mov	r13, rax
	mov	rax, QWORD PTR [rax]
	cmp	QWORD PTR [rax], rbx
	seta	dil
	call	av_assert1@PLT
	mov	rax, QWORD PTR 0[r13]
	mov	edi, DWORD PTR 52[rax]
	call	av_sample_fmt_is_planar@PLT
	test	eax, eax
	mov	rax, QWORD PTR 0[r13]
	je	.L2
	mov	edi, DWORD PTR 52[rax]
	mov	r15d, DWORD PTR 8[rax]
	call	av_get_bytes_per_sample@PLT
	mov	rsi, QWORD PTR 0[r13]
	imul	rax, rbx
	mov	rbp, rax
.L9:
	mov	rax, QWORD PTR AV_NOPTS_VALUE[rip]
	cmp	QWORD PTR 16[rsi], rax
	je	.L3
	mov	esi, DWORD PTR 48[rsi]
	mov	edi, 1
	call	av_make_q@PLT
	mov	edx, r14d
	mov	rdi, rbx
	mov	esi, eax
	call	av_rescale_q@PLT
	mov	rsi, QWORD PTR 0[r13]
	add	QWORD PTR 16[rsi], rax
.L3:
	mov	rax, QWORD PTR 24[rsi]
	sub	QWORD PTR [rsi], rbx
	sub	QWORD PTR [rax], rbp
	test	r15d, r15d
	jle	.L7
	mov	rdi, QWORD PTR 32[rsi]
	lea	r8d, -1[r15]
	mov	rax, rdi
	lea	rdx, 8[rdi+r8*8]
	.p2align 4,,10
	.p2align 3
.L5:
	add	QWORD PTR [rax], rbp
	add	rax, 8
	cmp	rax, rdx
	jne	.L5
	mov	r9d, DWORD PTR AV_NUM_DATA_POINTERS[rip]
	xor	eax, eax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rdx, QWORD PTR 40[rsi]
	mov	rcx, QWORD PTR [rdi+rax*8]
	mov	QWORD PTR [rdx+rax*8], rcx
	lea	rdx, 1[rax]
	cmp	r8, rax
	je	.L7
	mov	rax, rdx
.L6:
	cmp	r9d, eax
	jg	.L8
.L7:
	add	QWORD PTR 8[r12], rbx
	mov	rdi, r12
	xor	esi, esi
	mov	DWORD PTR 16[r12], 1
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	ff_framequeue_update_peeked@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edi, DWORD PTR 52[rax]
	mov	r15d, 1
	call	av_get_bytes_per_sample@PLT
	mov	rsi, QWORD PTR 0[r13]
	movsx	rbp, DWORD PTR 8[rsi]
	imul	rbp, rbx
	imul	rbp, rax
	jmp	.L9
	.cfi_endproc
.LFE0:
	.size	ff_framequeue_skip_samples, .-ff_framequeue_skip_samples
	.comm	AV_NUM_DATA_POINTERS,4,4
	.comm	AV_NOPTS_VALUE,8,8
	.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_framequeue.c_ff_framequeue_skip_samples.c"
	.text
	.align	2
	.global	ff_framequeue_skip_samples
	.syntax unified
	.arm
	.fpu softvfp
	.type	ff_framequeue_skip_samples, %function
ff_framequeue_skip_samples:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r6, r0
	mov	r9, r2
	mov	r5, r1
	bl	check_consistency
	ldr	r0, [r6]
	bl	av_assert1
	mov	r1, #0
	mov	r0, r6
	bl	bucket
	mov	r8, r0
	ldr	r3, [r0]
	ldr	r0, [r3]
	cmp	r0, r5
	movls	r0, #0
	movhi	r0, #1
	bl	av_assert1
	ldr	r3, [r8]
	ldr	r0, [r3, #28]
	bl	av_sample_fmt_is_planar
	cmp	r0, #0
	ldr	r3, [r8]
	beq	.L2
	ldr	r0, [r3, #28]
	ldr	r4, [r3, #4]
	bl	av_get_bytes_per_sample
	mul	r7, r0, r5
	ldr	lr, [r8]
.L9:
	ldr	r3, .L13
	ldr	r2, [lr, #8]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L3
	ldr	r1, [lr, #24]
	mov	r0, #1
	bl	av_make_q
	mov	r2, r9
	mov	r1, r0
	mov	r0, r5
	bl	av_rescale_q
	ldr	lr, [r8]
	ldr	r3, [lr, #8]
	add	r3, r3, r0
	str	r3, [lr, #8]
.L3:
	ldr	r3, [lr]
	ldr	r2, [lr, #12]
	sub	r3, r3, r5
	str	r3, [lr]
	ldr	r3, [r2]
	cmp	r4, #0
	sub	r3, r3, r7
	str	r3, [r2]
	ble	.L7
	ldr	r1, [lr, #16]
	sub	ip, r1, #4
	mov	r3, ip
	add	r1, r1, r4, lsl #2
	sub	r1, r1, #4
.L5:
	ldr	r2, [r3, #4]!
	add	r2, r2, r7
	cmp	r1, r3
	str	r2, [r3]
	bne	.L5
	ldr	r2, .L13+4
	mov	r3, #0
	ldr	r0, [r2]
	b	.L6
.L8:
	ldr	r1, [ip, #4]!
	ldr	r2, [lr, #20]
	str	r1, [r2, r3, lsl #2]
	add	r3, r3, #1
	cmp	r3, r4
	beq	.L7
.L6:
	cmp	r3, r0
	blt	.L8
.L7:
	mov	r3, #1
	ldr	r1, [r6, #4]
	mov	r0, r6
	add	r5, r1, r5
	str	r3, [r6, #8]
	str	r5, [r6, #4]
	mov	r1, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	ff_framequeue_update_peeked
.L2:
	ldr	r0, [r3, #28]
	bl	av_get_bytes_per_sample
	ldr	lr, [r8]
	mov	r4, #1
	ldr	r7, [lr, #4]
	mul	r7, r5, r7
	mul	r7, r0, r7
	b	.L9
.L14:
	.align	2
.L13:
	.word	AV_NOPTS_VALUE
	.word	AV_NUM_DATA_POINTERS
	.size	ff_framequeue_skip_samples, .-ff_framequeue_skip_samples
	.comm	AV_NUM_DATA_POINTERS,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
