	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_framequeue_skip_samples     ## -- Begin function ff_framequeue_skip_samples
	.p2align	4, 0x90
_ff_framequeue_skip_samples:            ## @ff_framequeue_skip_samples
	.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
	movl	%edx, %ebx
	movq	%rsi, %r14
	movq	%rdi, %r15
	callq	_check_consistency
	movl	(%r15), %edi
	callq	_av_assert1
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_bucket
	movq	%rax, %r13
	movq	(%rax), %rax
	xorl	%edi, %edi
	cmpq	%r14, (%rax)
	seta	%dil
	callq	_av_assert1
	movq	(%r13), %rax
	movl	52(%rax), %edi
	callq	_av_sample_fmt_is_planar
	movq	(%r13), %rcx
	testl	%eax, %eax
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	je	LBB0_2
## %bb.1:
	movl	8(%rcx), %r12d
	movl	52(%rcx), %edi
	callq	_av_get_bytes_per_sample
	movq	%rax, %rbx
	imulq	%r14, %rbx
	movq	(%r13), %r9
	jmp	LBB0_3
LBB0_2:
	movl	52(%rcx), %edi
	callq	_av_get_bytes_per_sample
	imulq	%r14, %rax
	movq	(%r13), %r9
	movslq	8(%r9), %rbx
	imulq	%rax, %rbx
	movl	$1, %r12d
LBB0_3:
	movq	16(%r9), %rax
	movq	_AV_NOPTS_VALUE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.4:
	movl	48(%r9), %esi
	movl	$1, %edi
	callq	_av_make_q
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_av_rescale_q
	movq	(%r13), %r9
	addq	%rax, 16(%r9)
LBB0_5:
	subq	%r14, (%r9)
	movq	24(%r9), %rax
	subq	%rbx, (%rax)
	testl	%r12d, %r12d
	jle	LBB0_20
## %bb.6:
	movq	32(%r9), %rdx
	movl	%r12d, %eax
	cmpl	$4, %r12d
	jae	LBB0_9
## %bb.7:
	xorl	%esi, %esi
	jmp	LBB0_8
LBB0_9:
	movl	%eax, %esi
	andl	$-4, %esi
	movq	%rbx, %xmm0
	pshufd	$68, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,0,1]
	leaq	-4(%rsi), %rcx
	movq	%rcx, %r8
	shrq	$2, %r8
	incq	%r8
	testq	%rcx, %rcx
	je	LBB0_10
## %bb.11:
	movq	%r8, %rcx
	andq	$-2, %rcx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movdqu	(%rdx,%rdi,8), %xmm1
	movdqu	16(%rdx,%rdi,8), %xmm2
	movdqu	32(%rdx,%rdi,8), %xmm3
	movdqu	48(%rdx,%rdi,8), %xmm4
	paddq	%xmm0, %xmm1
	paddq	%xmm0, %xmm2
	movdqu	%xmm1, (%rdx,%rdi,8)
	movdqu	%xmm2, 16(%rdx,%rdi,8)
	paddq	%xmm0, %xmm3
	paddq	%xmm0, %xmm4
	movdqu	%xmm3, 32(%rdx,%rdi,8)
	movdqu	%xmm4, 48(%rdx,%rdi,8)
	addq	$8, %rdi
	addq	$-2, %rcx
	jne	LBB0_12
## %bb.13:
	testb	$1, %r8b
	je	LBB0_15
LBB0_14:
	movdqu	(%rdx,%rdi,8), %xmm1
	movdqu	16(%rdx,%rdi,8), %xmm2
	paddq	%xmm0, %xmm1
	paddq	%xmm0, %xmm2
	movdqu	%xmm1, (%rdx,%rdi,8)
	movdqu	%xmm2, 16(%rdx,%rdi,8)
LBB0_15:
	cmpq	%rax, %rsi
	je	LBB0_16
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	addq	%rbx, (%rdx,%rsi,8)
	incq	%rsi
	cmpq	%rsi, %rax
	jne	LBB0_8
LBB0_16:
	movq	_AV_NUM_DATA_POINTERS@GOTPCREL(%rip), %r8
	cmpl	$0, (%r8)
	jle	LBB0_20
## %bb.17:
	movq	32(%r9), %rdx
	movq	40(%r9), %rsi
	movl	$1, %edi
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	-8(%rdx,%rdi,8), %rbx
	movq	%rbx, -8(%rsi,%rdi,8)
	cmpq	%rax, %rdi
	jae	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	leaq	1(%rdi), %rbx
	movslq	(%r8), %rcx
	cmpq	%rcx, %rdi
	movq	%rbx, %rdi
	jl	LBB0_18
LBB0_20:
	addq	%r14, 8(%r15)
	movl	$1, 16(%r15)
	movq	%r15, %rdi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ff_framequeue_update_peeked    ## TAILCALL
LBB0_10:
	xorl	%edi, %edi
	testb	$1, %r8b
	jne	LBB0_14
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_NOPTS_VALUE,8,3             ## @AV_NOPTS_VALUE
	.comm	_AV_NUM_DATA_POINTERS,4,2       ## @AV_NUM_DATA_POINTERS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_framequeue_skip_samples     ; -- Begin function ff_framequeue_skip_samples
	.p2align	2
_ff_framequeue_skip_samples:            ; @ff_framequeue_skip_samples
	.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
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	bl	_check_consistency
	ldr	w0, [x19]
	bl	_av_assert1
	mov	x0, x19
	mov	w1, #0
	bl	_bucket
	mov	x22, x0
	ldr	x8, [x0]
	ldr	x8, [x8]
	cmp	x8, x20
	cset	w0, hi
	bl	_av_assert1
	ldr	x8, [x22]
	ldr	w0, [x8, #52]
	bl	_av_sample_fmt_is_planar
	ldr	x8, [x22]
	cbz	w0, LBB0_2
; %bb.1:
	ldr	w24, [x8, #8]
	ldr	w0, [x8, #52]
	bl	_av_get_bytes_per_sample
	mul	x23, x0, x20
	ldr	x8, [x22]
	b	LBB0_3
LBB0_2:
	ldr	w0, [x8, #52]
	bl	_av_get_bytes_per_sample
	mul	x9, x0, x20
	ldr	x8, [x22]
	ldrsw	x10, [x8, #8]
	mul	x23, x9, x10
	mov	w24, #1
LBB0_3:
	ldr	x9, [x8, #16]
Lloh0:
	adrp	x10, _AV_NOPTS_VALUE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _AV_NOPTS_VALUE@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.eq	LBB0_5
; %bb.4:
	ldr	w1, [x8, #48]
	mov	w0, #1
	bl	_av_make_q
	mov	x1, x0
	mov	x0, x20
	mov	x2, x21
	bl	_av_rescale_q
	ldr	x8, [x22]
	ldr	x9, [x8, #16]
	add	x9, x9, x0
	str	x9, [x8, #16]
LBB0_5:
	ldr	x9, [x8]
	sub	x9, x9, x20
	str	x9, [x8]
	ldr	x9, [x8, #24]
	ldr	x10, [x9]
	sub	x10, x10, x23
	str	x10, [x9]
	cmp	w24, #1
	b.lt	LBB0_17
; %bb.6:
	ldr	x10, [x8, #32]
	mov	w9, w24
	cmp	w24, #8
	b.hs	LBB0_8
; %bb.7:
	mov	x11, #0
	b	LBB0_11
LBB0_8:
	and	x11, x9, #0xfffffff8
	dup.2d	v0, x23
	add	x12, x10, #32
	mov	x13, x11
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q1, q2, [x12, #-32]
	ldp	q3, q4, [x12]
	add.2d	v1, v1, v0
	add.2d	v2, v2, v0
	add.2d	v3, v3, v0
	add.2d	v4, v4, v0
	stp	q1, q2, [x12, #-32]
	stp	q3, q4, [x12], #64
	subs	x13, x13, #8
	b.ne	LBB0_9
; %bb.10:
	cmp	x11, x9
	b.eq	LBB0_13
LBB0_11:
	add	x10, x10, x11, lsl #3
	sub	x11, x9, x11
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x10]
	add	x12, x12, x23
	str	x12, [x10], #8
	subs	x11, x11, #1
	b.ne	LBB0_12
LBB0_13:
Lloh3:
	adrp	x10, _AV_NUM_DATA_POINTERS@GOTPAGE
Lloh4:
	ldr	x10, [x10, _AV_NUM_DATA_POINTERS@GOTPAGEOFF]
	ldr	w11, [x10]
	cmp	w11, #1
	b.lt	LBB0_17
; %bb.14:
	mov	x11, #0
	ldp	x12, x8, [x8, #32]
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	lsl	x13, x11, #3
	ldr	x14, [x12, x13]
	str	x14, [x8, x13]
	add	x11, x11, #1
	cmp	x11, x9
	b.hs	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	ldrsw	x13, [x10]
	cmp	x11, x13
	b.lt	LBB0_15
LBB0_17:
	ldr	x8, [x19, #8]
	add	x8, x8, x20
	str	x8, [x19, #8]
	mov	w8, #1
	str	w8, [x19, #16]
	mov	x0, x19
	mov	w1, #0
	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
	b	_ff_framequeue_update_peeked
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_NOPTS_VALUE,8,3             ; @AV_NOPTS_VALUE
	.comm	_AV_NUM_DATA_POINTERS,4,2       ; @AV_NUM_DATA_POINTERS
.subsections_via_symbols
