	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function idx_grow
LCPI0_0:
	.long	0                               ## 0x0
	.long	4294967295                      ## 0xffffffff
	.long	4294967294                      ## 0xfffffffe
	.long	4294967293                      ## 0xfffffffd
LCPI0_1:
	.long	4294967288                      ## 0xfffffff8
	.long	4294967288                      ## 0xfffffff8
	.long	4294967288                      ## 0xfffffff8
	.long	4294967288                      ## 0xfffffff8
LCPI0_2:
	.long	4294967280                      ## 0xfffffff0
	.long	4294967280                      ## 0xfffffff0
	.long	4294967280                      ## 0xfffffff0
	.long	4294967280                      ## 0xfffffff0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_idx_grow:                              ## @idx_grow
	.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), %r15
	movq	_IDX_ARRAY_SIZE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	jae	LBB0_15
## %bb.1:
	movq	%rdi, %r14
	movq	_IDX_ENTRY_SIZE@GOTPCREL(%rip), %r12
	movl	(%r12), %ebx
	movl	%ebx, %edi
	movl	$4, %esi
	callq	_calloc
	movq	16(%r14), %rcx
	movq	%rax, (%rcx,%r15,8)
	movq	16(%r14), %rax
	movq	(%rax,%r15,8), %rax
	testq	%rax, %rax
	je	LBB0_15
## %bb.2:
	movslq	%ebx, %rdx
	movq	_IDX_ENTRY_BITS@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shlq	%cl, %r15
	movl	8(%r14), %ecx
	movl	%ecx, -4(%rax,%rdx,4)
	movl	(%r12), %ecx
	cmpl	$2, %ecx
	jl	LBB0_14
## %bb.3:
	addl	$-2, %ecx
	leal	1(%r15), %edx
	cmpl	$7, %ecx
	jb	LBB0_13
## %bb.4:
	leaq	1(%rcx), %r8
	movq	%r8, %r9
	andq	$-8, %r9
	movd	%ecx, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	paddd	LCPI0_0(%rip), %xmm0
	movd	%edx, %xmm1
	pshufd	$0, %xmm1, %xmm1                ## xmm1 = xmm1[0,0,0,0]
	leaq	-8(%r9), %rsi
	movq	%rsi, %r10
	shrq	$3, %r10
	incq	%r10
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.6:
	movq	%r10, %rbx
	andq	$-2, %rbx
	leal	-3(%r15), %esi
	movd	%esi, %xmm2
	pshufd	$0, %xmm2, %xmm2                ## xmm2 = xmm2[0,0,0,0]
	leaq	(%rax,%rcx,4), %rsi
	addq	$-12, %rsi
	xorl	%edi, %edi
	movdqa	LCPI0_1(%rip), %xmm3            ## xmm3 = [4294967288,4294967288,4294967288,4294967288]
	movdqa	LCPI0_2(%rip), %xmm4            ## xmm4 = [4294967280,4294967280,4294967280,4294967280]
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm1, %xmm5
	paddd	%xmm0, %xmm5
	movdqa	%xmm2, %xmm6
	paddd	%xmm0, %xmm6
	pshufd	$27, %xmm5, %xmm5               ## xmm5 = xmm5[3,2,1,0]
	movdqu	%xmm5, (%rsi,%rdi,4)
	pshufd	$27, %xmm6, %xmm5               ## xmm5 = xmm6[3,2,1,0]
	movdqu	%xmm5, -16(%rsi,%rdi,4)
	movdqa	%xmm0, %xmm5
	paddd	%xmm3, %xmm5
	movdqa	%xmm1, %xmm6
	paddd	%xmm5, %xmm6
	paddd	%xmm2, %xmm5
	pshufd	$27, %xmm6, %xmm6               ## xmm6 = xmm6[3,2,1,0]
	movdqu	%xmm6, -32(%rsi,%rdi,4)
	pshufd	$27, %xmm5, %xmm5               ## xmm5 = xmm5[3,2,1,0]
	movdqu	%xmm5, -48(%rsi,%rdi,4)
	paddd	%xmm4, %xmm0
	addq	$-16, %rdi
	addq	$-2, %rbx
	jne	LBB0_7
## %bb.8:
	negq	%rdi
	testb	$1, %r10b
	je	LBB0_11
LBB0_10:
	movq	%rcx, %rsi
	subq	%rdi, %rsi
	paddd	%xmm0, %xmm1
	leal	-3(%r15), %edi
	movd	%edi, %xmm2
	pshufd	$0, %xmm2, %xmm2                ## xmm2 = xmm2[0,0,0,0]
	pshufd	$27, %xmm1, %xmm1               ## xmm1 = xmm1[3,2,1,0]
	movdqu	%xmm1, -12(%rax,%rsi,4)
	pshufd	$27, %xmm0, %xmm0               ## xmm0 = xmm0[3,2,1,0]
	paddd	%xmm2, %xmm0
	movdqu	%xmm0, -28(%rax,%rsi,4)
LBB0_11:
	cmpq	%r9, %r8
	je	LBB0_14
## %bb.12:
	subq	%r9, %rcx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	leal	(%rdx,%rcx), %esi
	movl	%esi, (%rax,%rcx,4)
	addq	$-1, %rcx
	jb	LBB0_13
LBB0_14:
	testl	%r15d, %r15d
	movl	$1, %eax
	cmovnel	%r15d, %eax
	movl	%eax, 8(%r14)
	incq	(%r14)
	jmp	LBB0_16
LBB0_15:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	$-1, %eax
LBB0_16:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	xorl	%edi, %edi
	testb	$1, %r10b
	jne	LBB0_10
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_IDX_ARRAY_SIZE,8,3             ## @IDX_ARRAY_SIZE
	.comm	_IDX_ENTRY_SIZE,4,2             ## @IDX_ENTRY_SIZE
	.comm	_IDX_ENTRY_BITS,4,2             ## @IDX_ENTRY_BITS
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_errno,4,2                      ## @errno
	.no_dead_strip	_idx_grow
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function idx_grow
lCPI0_0:
	.long	0                               ; 0x0
	.long	4294967295                      ; 0xffffffff
	.long	4294967294                      ; 0xfffffffe
	.long	4294967293                      ; 0xfffffffd
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_idx_grow:                              ; @idx_grow
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x21, [x0]
Lloh0:
	adrp	x8, _IDX_ARRAY_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IDX_ARRAY_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x21, x8
	b.hs	LBB0_5
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x22, _IDX_ENTRY_SIZE@GOTPAGE
Lloh4:
	ldr	x22, [x22, _IDX_ENTRY_SIZE@GOTPAGEOFF]
	ldr	w20, [x22]
	mov	x0, x20
	mov	w1, #4
	bl	_calloc
	ldr	x8, [x19, #16]
	lsl	x9, x21, #3
	str	x0, [x8, x9]
	ldr	x8, [x19, #16]
	ldr	x8, [x8, x9]
	cbz	x8, LBB0_5
; %bb.2:
Lloh5:
	adrp	x9, _IDX_ENTRY_BITS@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IDX_ENTRY_BITS@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	lsl	x9, x21, x9
	ldr	w10, [x19, #8]
	sub	w11, w20, #1
	str	w10, [x8, w11, sxtw #2]
	ldr	w10, [x22]
	subs	w14, w10, #2
	b.lt	LBB0_10
; %bb.3:
	add	w10, w9, #1
	cmp	w14, #15
	b.hs	LBB0_6
; %bb.4:
	mov	x11, x14
	b	LBB0_9
LBB0_5:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _errno@GOTPAGE
Lloh12:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh13:
	str	w8, [x9]
	mov	w0, #-1
	b	LBB0_11
LBB0_6:
	add	x12, x14, #1
	and	x13, x12, #0x1fffffff0
	sub	x11, x14, x13
	dup.4s	v0, w14
Lloh14:
	adrp	x15, lCPI0_0@PAGE
Lloh15:
	ldr	q1, [x15, lCPI0_0@PAGEOFF]
	add.4s	v0, v0, v1
	dup.4s	v1, w10
	sub	w15, w9, #3
	dup.4s	v2, w15
	sub	w15, w9, #7
	dup.4s	v3, w15
	sub	w15, w9, #11
	dup.4s	v4, w15
	add	x14, x8, x14, lsl #2
	sub	x14, x14, #28
	mvni.4s	v5, #15
	mov	x15, x13
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	add.4s	v6, v1, v0
	add.4s	v7, v2, v0
	add.4s	v16, v3, v0
	add.4s	v17, v4, v0
	rev64.4s	v6, v6
	ext.16b	v6, v6, v6, #8
	rev64.4s	v7, v7
	ext.16b	v7, v7, v7, #8
	stp	q7, q6, [x14]
	rev64.4s	v6, v16
	ext.16b	v6, v6, v6, #8
	rev64.4s	v7, v17
	ext.16b	v7, v7, v7, #8
	stp	q7, q6, [x14, #-32]
	add.4s	v0, v0, v5
	sub	x14, x14, #64
	sub	x15, x15, #16
	cbnz	x15, LBB0_7
; %bb.8:
	cmp	x12, x13
	b.eq	LBB0_10
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	add	w12, w10, w11
	str	w12, [x8, x11, lsl #2]
	sub	x11, x11, #1
	cmn	x11, #1
	b.ne	LBB0_9
LBB0_10:
	cmp	w9, #0
	csinc	w0, w9, wzr, ne
	str	w0, [x19, #8]
	ldr	x8, [x19]
	add	x8, x8, #1
	str	x8, [x19]
LBB0_11:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdr	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_IDX_ARRAY_SIZE,8,3             ; @IDX_ARRAY_SIZE
	.comm	_IDX_ENTRY_SIZE,4,2             ; @IDX_ENTRY_SIZE
	.comm	_IDX_ENTRY_BITS,4,2             ; @IDX_ENTRY_BITS
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_errno,4,2                      ; @errno
	.no_dead_strip	_idx_grow
.subsections_via_symbols
