	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	8(%rdi), %rbx
	movq	(%rbx), %r12
	movq	8(%rbx), %rax
	movq	(%rax), %r14
	movl	$0, -44(%rbp)
	movl	(%rsi), %r13d
	movl	(%rdi), %edi
	callq	_av_q2d
	imull	%r13d, %eax
	imull	$1000, %eax, %eax               ## imm = 0x3E8
	cvtsi2sd	%eax, %xmm0
	movl	(%r12), %esi
	movl	4(%r12), %edi
	leaq	-44(%rbp), %rdx
	movsd	%xmm0, -56(%rbp)                ## 8-byte Spill
	callq	_ass_render_frame
	movq	%rax, %r13
	cmpl	$0, -44(%rbp)
	je	LBB0_2
## %bb.1:
	movq	_AV_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	movsd	-56(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	_av_log
LBB0_2:
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	callq	_overlay_ass_image
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_ff_filter_frame
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_DEBUG,4,2               ## @AV_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Change happened at time ms:%f\n"

	.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:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset b8, -72
	.cfi_offset b9, -80
	mov	x19, x1
	ldr	x22, [x0, #8]
	ldp	x21, x8, [x22]
	ldr	x20, [x8]
	str	wzr, [sp, #12]
	ldr	w23, [x1]
	ldr	w0, [x0]
	bl	_av_q2d
	mul	w8, w23, w0
	mov	w9, #1000
	mul	w8, w8, w9
	scvtf	d8, w8
	ldp	w1, w0, [x21]
	add	x2, sp, #12
	fmov	d0, d8
	bl	_ass_render_frame
	mov	x23, x0
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _AV_LOG_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x22
	fmov	d0, d8
	bl	_av_log
LBB0_2:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x23
	bl	_overlay_ass_image
	mov	x0, x20
	mov	x1, x19
	bl	_ff_filter_frame
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_DEBUG,4,2               ; @AV_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Change happened at time ms:%f\n"

	.no_dead_strip	_filter_frame
.subsections_via_symbols
