	.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	%rdi, %rax
	movq	8(%rdi), %rdi
	movq	(%rdi), %rcx
	movq	8(%rdi), %r8
	movq	(%rcx), %r14
	movq	(%r8), %r9
	movq	16(%r8), %r10
	movq	%r9, %rdx
	shlq	$4, %rdx
	movq	(%r10,%rdx), %rbx
	movq	(%rsi), %rcx
	movq	(%rcx), %r15
	movq	%rsi, 8(%r10,%rdx)
	movl	(%rax), %r11d
	testl	%r11d, %r11d
	jle	LBB0_7
## %bb.1:
	movq	8(%rsi), %r10
	movl	4(%rax), %esi
	xorl	%r12d, %r12d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movslq	(%r10), %rcx
	leaq	(%r15,%rcx,4), %r15
	incl	%r12d
	cmpl	%r11d, %r12d
	jge	LBB0_7
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	testl	%esi, %esi
	jle	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	8(%r15), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	-8(%rcx), %rsi
	incl	(%rbx,%rsi,4)
	movslq	-4(%rcx), %rsi
	incl	1024(%rbx,%rsi,4)
	movslq	(%rcx), %rsi
	incl	2048(%rbx,%rsi,4)
	incq	%rdx
	movslq	4(%rax), %rsi
	addq	$12, %rcx
	cmpq	%rsi, %rdx
	jl	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rax), %r11d
	jmp	LBB0_6
LBB0_7:
	incq	%r9
	movq	%r9, (%r8)
	cmpq	8(%r8), %r9
	jae	LBB0_9
## %bb.8:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	_get_best_frame
	movq	%r14, %rdi
	movl	%eax, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ff_filter_frame                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.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	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x8, x0
	ldr	x0, [x0, #8]
	ldp	x10, x9, [x0]
	ldr	x19, [x10]
	ldr	x11, [x9, #16]
	ldr	x10, [x9]
	add	x13, x11, x10, lsl #4
	ldr	x11, [x13]
	ldr	x12, [x1]
	ldr	x12, [x12]
	str	x1, [x13, #8]
	ldr	w16, [x8]
	cmp	w16, #1
	b.lt	LBB0_7
; %bb.1:
	mov	w13, #0
	ldr	x14, [x1, #8]
	ldr	w15, [x8, #4]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldrsw	x17, [x14]
	add	x12, x12, x17, lsl #2
	add	w13, w13, #1
	cmp	w13, w16
	b.ge	LBB0_7
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	cmp	w15, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x16, #0
	add	x17, x12, #8
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldursw	x15, [x17, #-8]
	lsl	x15, x15, #2
	ldr	w1, [x11, x15]
	add	w1, w1, #1
	str	w1, [x11, x15]
	ldursw	x15, [x17, #-4]
	add	x15, x11, x15, lsl #2
	ldr	w1, [x15, #1024]
	add	w1, w1, #1
	str	w1, [x15, #1024]
	ldrsw	x15, [x17]
	add	x15, x11, x15, lsl #2
	ldr	w1, [x15, #2048]
	add	w1, w1, #1
	str	w1, [x15, #2048]
	add	x16, x16, #1
	ldrsw	x15, [x8, #4]
	add	x17, x17, #12
	cmp	x16, x15
	b.lt	LBB0_5
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w16, [x8]
	b	LBB0_2
LBB0_7:
	add	x8, x10, #1
	str	x8, [x9]
	ldr	x9, [x9, #8]
	cmp	x8, x9
	b.hs	LBB0_9
; %bb.8:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_9:
	bl	_get_best_frame
	mov	x1, x0
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ff_filter_frame
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_filter_frame
.subsections_via_symbols
