	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_index_entry
_add_index_entry:                       ## @add_index_entry
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movl	(%rdi), %edi
	incl	%edi
	movslq	%edi, %rax
	shlq	$2, %rax
	leaq	(%rax,%rax,4), %r10
	movq	8(%r14), %rsi
	cmpq	%rsi, %r10
	movl	%r9d, -48(%rbp)                 ## 4-byte Spill
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %r13d
	movl	%r8d, %r12d
	jbe	LBB0_2
## %bb.1:
	addl	%esi, %esi
	movq	%r10, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_FFMAX
	movq	%rax, %r10
	movl	(%r14), %edi
	incl	%edi
LBB0_2:
	movq	_UINT_MAX@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movabsq	$-3689348814741910323, %rdx     ## imm = 0xCCCCCCCCCCCCCCCD
	mulq	%rdx
	movl	%edi, %eax
	shrq	$4, %rdx
	movl	$-1, %r15d
	cmpq	%rax, %rdx
	jbe	LBB0_5
## %bb.3:
	leaq	8(%r14), %rsi
	movq	16(%r14), %rdi
	movq	%r10, %rdx
	callq	_av_fast_realloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%rax, 16(%r14)
	movslq	(%r14), %r15
	leal	1(%r15), %ecx
	movl	%ecx, (%r14)
	leaq	(%r15,%r15,4), %rcx
	movl	%ebx, (%rax,%rcx,4)
	movl	%r13d, 4(%rax,%rcx,4)
	movl	%r12d, 8(%rax,%rcx,4)
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%edx, 12(%rax,%rcx,4)
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	%edx, 16(%rax,%rcx,4)
LBB0_5:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UINT_MAX,4,2                   ## @UINT_MAX
	.no_dead_strip	_add_index_entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_index_entry
_add_index_entry:                       ; @add_index_entry
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x5
	mov	x21, x4
	mov	x20, x3
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
	ldr	w8, [x0]
	add	w8, w8, #1
	mov	w9, #20
	smull	x2, w8, w9
	mov	x25, x0
	ldr	x9, [x25, #8]!
	cmp	x2, x9
	b.ls	LBB0_2
; %bb.1:
	lsl	w1, w9, #1
	mov	x0, x2
	bl	_FFMAX
	mov	x2, x0
	ldr	w8, [x24]
	add	w8, w8, #1
LBB0_2:
	mov	w8, w8
Lloh0:
	adrp	x9, _UINT_MAX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _UINT_MAX@GOTPAGEOFF]
Lloh2:
	ldrsw	x9, [x9]
	mov	x10, #-3689348814741910324
	movk	x10, #52429
	umulh	x9, x9, x10
	cmp	x8, x9, lsr #4
	b.hs	LBB0_5
; %bb.3:
	ldr	x0, [x24, #16]
	mov	x1, x25
	bl	_av_fast_realloc
	cbz	x0, LBB0_5
; %bb.4:
	mov	x8, x0
	str	x0, [x24, #16]
	ldrsw	x0, [x24]
	add	w9, w0, #1
	str	w9, [x24]
	mov	w9, #20
	madd	x8, x0, x9, x8
	stp	w23, w22, [x8]
	stp	w21, w20, [x8, #8]
	str	w19, [x8, #16]
	b	LBB0_6
LBB0_5:
	mov	w0, #-1
LBB0_6:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_UINT_MAX,4,2                   ; @UINT_MAX
	.no_dead_strip	_add_index_entry
.subsections_via_symbols
