	.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	$296, %rsp                      ## imm = 0x128
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rdx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	24(%rsi), %rbx
	movq	(%rdi), %rax
	movq	(%rax), %r14
	movq	8(%rax), %rax
	movq	(%rax), %rax
	movq	%rax, -328(%rbp)                ## 8-byte Spill
	movl	(%r14), %edi
	movq	16(%rsi), %rax
	movl	(%rax), %esi
	movq	8(%rdx), %rax
	movl	(%rax), %ecx
	movl	(%rdx), %eax
	movq	%rdx, -336(%rbp)                ## 8-byte Spill
	movl	4(%rdx), %r10d
	movl	$1, %edx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%rax
	pushq	%r10
	callq	_TessBaseAPIRect
	addq	$16, %rsp
	movq	%rax, %r15
	movl	(%r14), %edi
	callq	_TessBaseAPIAllWordConfidences
	movq	%rax, %r14
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r15, -320(%rbp)                ## 8-byte Spill
	movq	%r15, %rdx
	xorl	%ecx, %ecx
	callq	_av_dict_set
	movq	%r14, -312(%rbp)                ## 8-byte Spill
	movl	(%r14), %ecx
	cmpl	$-1, %ecx
	je	LBB0_3
## %bb.1:
	movq	-312(%rbp), %r15                ## 8-byte Reload
	addq	$4, %r15
	leaq	-304(%rbp), %r12
	movq	_AV_DICT_APPEND@GOTPCREL(%rip), %r14
	leaq	L_.str.2(%rip), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	$256, %esi                      ## imm = 0x100
	leaq	L_.str.1(%rip), %rdx
	callq	_snprintf
	movl	(%r14), %ecx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	_av_dict_set
	movl	(%r15), %ecx
	addq	$4, %r15
	cmpl	$-1, %ecx
	jne	LBB0_2
LBB0_3:
	movq	-320(%rbp), %rdi                ## 8-byte Reload
	callq	_TessDeleteText
	movq	-312(%rbp), %rdi                ## 8-byte Reload
	callq	_TessDeleteIntArray
	movq	-328(%rbp), %rdi                ## 8-byte Reload
	movq	-336(%rbp), %rsi                ## 8-byte Reload
	callq	_ff_filter_frame
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_5
## %bb.4:
	addq	$296, %rsp                      ## imm = 0x128
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"lavfi.ocr.text"

L_.str.1:                               ## @.str.1
	.asciz	"%d "

L_.str.2:                               ## @.str.2
	.asciz	"lavfi.ocr.confidence"

	.comm	_AV_DICT_APPEND,4,2             ## @AV_DICT_APPEND
	.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, #368
	.cfi_def_cfa_offset 368
	stp	x28, x27, [sp, #272]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #288]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #304]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #320]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #336]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #352]            ; 16-byte Folded Spill
	add	x29, sp, #352
	.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 w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	add	x21, x1, #24
	ldr	x8, [x0]
	ldp	x23, x9, [x8]
	ldr	x20, [x9]
	ldr	w0, [x23]
	ldp	x9, x8, [x1, #8]
	ldr	w1, [x8]
	ldr	w3, [x9]
	ldp	w7, w6, [x19]
	mov	w2, #1
	mov	w4, #0
	mov	w5, #0
	bl	_TessBaseAPIRect
	mov	x22, x0
	ldr	w0, [x23]
	bl	_TessBaseAPIAllWordConfidences
	mov	x23, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	x2, x22
	mov	w3, #0
	bl	_av_dict_set
	ldr	w3, [x23]
	cmn	w3, #1
	b.eq	LBB0_3
; %bb.1:
	add	x26, x23, #4
Lloh5:
	adrp	x24, l_.str.1@PAGE
Lloh6:
	add	x24, x24, l_.str.1@PAGEOFF
Lloh7:
	adrp	x27, _AV_DICT_APPEND@GOTPAGE
Lloh8:
	ldr	x27, [x27, _AV_DICT_APPEND@GOTPAGEOFF]
Lloh9:
	adrp	x25, l_.str.2@PAGE
Lloh10:
	add	x25, x25, l_.str.2@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #8
	mov	w1, #256
	mov	x2, x24
	bl	_snprintf
	ldr	w3, [x27]
	add	x2, sp, #8
	mov	x0, x21
	mov	x1, x25
	bl	_av_dict_set
	ldr	w3, [x26], #4
	cmn	w3, #1
	b.ne	LBB0_2
LBB0_3:
	mov	x0, x22
	bl	_TessDeleteText
	mov	x0, x23
	bl	_TessDeleteIntArray
	mov	x0, x20
	mov	x1, x19
	bl	_ff_filter_frame
	ldur	x8, [x29, #-88]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	ldp	x29, x30, [sp, #352]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #336]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #320]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #304]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #288]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #272]            ; 16-byte Folded Reload
	add	sp, sp, #368
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"lavfi.ocr.text"

l_.str.1:                               ; @.str.1
	.asciz	"%d "

l_.str.2:                               ; @.str.2
	.asciz	"lavfi.ocr.confidence"

	.comm	_AV_DICT_APPEND,4,2             ; @AV_DICT_APPEND
	.no_dead_strip	_filter_frame
.subsections_via_symbols
