	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function filter_frame
_filter_frame:                          ## @filter_frame
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	8(%rdi), %rax
	movq	(%rax), %rcx
	movq	8(%rax), %r12
	movq	(%rcx), %r14
	movl	(%r14), %eax
	movl	%eax, 24(%rsi)
	movq	$0, 16(%rsi)
	movq	8(%r12), %rbx
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.1:
	movl	(%r12), %esi
	movl	(%rbx), %edx
	movq	%rbx, %rdi
	callq	_extract_field
	movq	8(%rbx), %rax
	movq	_AV_NOPTS_VALUE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	je	LBB0_3
## %bb.2:
	movq	8(%r15), %rdx
	addq	%rdx, %rax
	cmpq	%rcx, %rdx
	cmoveq	%rcx, %rax
LBB0_3:
	movq	%rax, 8(%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_ff_filter_frame
	testl	%eax, %eax
	js	LBB0_8
LBB0_4:
	movq	%r15, %rdi
	callq	_av_frame_clone
	movq	%rax, 8(%r12)
	testq	%rax, %rax
	je	LBB0_9
## %bb.5:
	movl	(%r12), %esi
	xorl	%edx, %edx
	cmpl	$0, (%r15)
	sete	%dl
	movq	%r15, %rdi
	callq	_extract_field
	movq	8(%r15), %rax
	movq	_AV_NOPTS_VALUE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.6:
	addq	%rax, %rax
	movq	%rax, 8(%r15)
LBB0_7:
	movq	%r14, %rdi
	movq	%r15, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ff_filter_frame                ## TAILCALL
LBB0_9:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_NOPTS_VALUE,8,3             ## @AV_NOPTS_VALUE
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_filter_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function filter_frame
_filter_frame:                          ; @filter_frame
	.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	x19, x1
	ldr	x8, [x0, #8]
	ldp	x8, x23, [x8]
	ldr	x20, [x8]
	ldr	w8, [x20]
	str	w8, [x1, #24]
	str	xzr, [x1, #16]
	ldr	x21, [x23, #8]
Lloh0:
	adrp	x22, _AV_NOPTS_VALUE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _AV_NOPTS_VALUE@GOTPAGEOFF]
	cbz	x21, LBB0_4
; %bb.1:
	ldr	w1, [x23]
	ldr	w2, [x21]
	mov	x0, x21
	bl	_extract_field
	ldr	x8, [x21, #8]
	ldr	x9, [x22]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.2:
	ldr	x10, [x19, #8]
	add	x8, x10, x8
	cmp	x10, x9
	csel	x8, x9, x8, eq
LBB0_3:
	str	x8, [x21, #8]
	mov	x0, x20
	mov	x1, x21
	bl	_ff_filter_frame
	tbnz	w0, #31, LBB0_9
LBB0_4:
	mov	x0, x19
	bl	_av_frame_clone
	str	x0, [x23, #8]
	cbz	x0, LBB0_8
; %bb.5:
	ldr	w1, [x23]
	ldr	w8, [x19]
	cmp	w8, #0
	cset	w2, eq
	mov	x0, x19
	bl	_extract_field
	ldr	x8, [x19, #8]
	ldr	x9, [x22]
	cmp	x8, x9
	b.eq	LBB0_7
; %bb.6:
	lsl	x8, x8, #1
	str	x8, [x19, #8]
LBB0_7:
	mov	x0, x20
	mov	x1, x19
	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_filter_frame
LBB0_8:
Lloh2:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	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	_AVERROR
LBB0_9:
	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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_NOPTS_VALUE,8,3             ; @AV_NOPTS_VALUE
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_filter_frame
.subsections_via_symbols
