	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function clear_index_entries
_clear_index_entries:                   ## @clear_index_entries
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_av_log
	movl	(%r14), %r9d
	testl	%r9d, %r9d
	jle	LBB0_15
## %bb.1:
	movq	8(%r14), %r8
	xorl	%r14d, %r14d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, (%r10)
	incq	%r14
	cmpq	%r9, %r14
	je	LBB0_15
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movq	(%r8,%r14,8), %r10
	movl	(%r10), %r11d
	movl	$0, %eax
	testl	%r11d, %r11d
	jle	LBB0_14
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r10), %rdi
	cmpl	$1, %r11d
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%esi, %esi
	xorl	%eax, %eax
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	testb	$1, %r11b
	je	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rdi,%rsi,8), %rcx
	cmpq	%r15, %rcx
	jge	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movslq	%eax, %rdx
	incl	%eax
	movq	%rcx, (%rdi,%rdx,8)
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r11d, %ecx
	andl	$-2, %ecx
	xorl	%esi, %esi
	xorl	%eax, %eax
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=2
	addq	$2, %rsi
	cmpq	%rsi, %rcx
	je	LBB0_11
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rdi,%rsi,8), %rdx
	cmpq	%r15, %rdx
	jge	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	movslq	%eax, %rbx
	incl	%eax
	movq	%rdx, (%rdi,%rbx,8)
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=2
	movq	8(%rdi,%rsi,8), %rdx
	cmpq	%r15, %rdx
	jge	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=2
	movslq	%eax, %rbx
	incl	%eax
	movq	%rdx, (%rdi,%rbx,8)
	jmp	LBB0_10
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Found invalid index entries, clearing the index.\n"

	.no_dead_strip	_clear_index_entries
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function clear_index_entries
_clear_index_entries:                   ; @clear_index_entries
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	bl	_av_log
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.1:
	mov	x9, #0
	ldr	x10, [x20, #8]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w13, #0
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	w13, [x11]
	add	x9, x9, #1
	cmp	x9, x8
	b.eq	LBB0_9
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	ldr	x11, [x10, x9, lsl #3]
	ldr	w12, [x11]
	cmp	w12, #1
	b.lt	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w13, #0
	ldr	x14, [x11, #8]
	mov	x15, x14
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	add	x15, x15, #8
	subs	x12, x12, #1
	b.eq	LBB0_3
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x16, [x15]
	cmp	x16, x19
	b.ge	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	str	x16, [x14, w13, sxtw #3]
	add	w13, w13, #1
	b	LBB0_6
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Found invalid index entries, clearing the index.\n"

	.no_dead_strip	_clear_index_entries
.subsections_via_symbols
