	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function emit_fill_holes
_emit_fill_holes:                       ## @emit_fill_holes
	.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	%edx, -48(%rbp)                 ## 4-byte Spill
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r13
	callq	_vec_len
	movl	%eax, %r14d
	movl	%eax, %r12d
	leal	(,%r14,8), %edi
	callq	_malloc
	movq	%rax, %r15
	testl	%r14d, %r14d
	jle	LBB0_1
## %bb.3:
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_vec_get
	movq	%rax, (%r15,%r14,8)
	incq	%r14
	cmpq	%r14, %r12
	jne	LBB0_4
## %bb.5:
	movq	_cmpinit@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	$8, %edx
	callq	_qsort
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%r14), %rax
	addl	(%rax), %esi
	incq	%rbx
	movl	%esi, %edi
	cmpq	%rbx, %r12
	je	LBB0_2
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15,%rbx,8), %r14
	movl	(%r14), %esi
	cmpl	%esi, %edi
	jge	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	addl	%r13d, %edi
	addl	%r13d, %esi
	callq	_emit_zero_filler
	movl	(%r14), %esi
	jmp	LBB0_8
LBB0_1:
	movq	_cmpinit@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	$8, %edx
	callq	_qsort
	xorl	%esi, %esi
	movl	-44(%rbp), %r13d                ## 4-byte Reload
LBB0_2:
	addl	%r13d, %esi
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	addl	%r13d, %eax
	movl	%esi, %edi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_emit_zero_filler               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_cmpinit,4,2                    ## @cmpinit
	.no_dead_strip	_emit_fill_holes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function emit_fill_holes
_emit_fill_holes:                       ; @emit_fill_holes
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x23, x0
	bl	_vec_len
	mov	x24, x0
	mov	w21, w0
	lsl	w0, w0, #3
	bl	_malloc
	mov	x22, x0
	cmp	w24, #0
	b.le	LBB0_7
; %bb.1:
	mov	x24, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	mov	x1, x24
	bl	_vec_get
	str	x0, [x22, x24, lsl #3]
	add	x24, x24, #1
	cmp	x21, x24
	b.ne	LBB0_2
; %bb.3:
Lloh0:
	adrp	x8, _cmpinit@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cmpinit@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x0, x22
	mov	x1, x21
	mov	w2, #8
	bl	_qsort
	mov	w8, #0
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x23, #8]
	ldr	w8, [x8]
	add	w8, w8, w9
	add	x22, x22, #8
	subs	x21, x21, #1
	b.eq	LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x23, [x22]
	ldr	w9, [x23]
	cmp	w8, w9
	b.ge	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w0, w8, w20
	add	w1, w9, w20
	bl	_emit_zero_filler
	ldr	w9, [x23]
	b	LBB0_4
LBB0_7:
Lloh3:
	adrp	x8, _cmpinit@GOTPAGE
Lloh4:
	ldr	x8, [x8, _cmpinit@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x0, x22
	mov	x1, x21
	mov	w2, #8
	bl	_qsort
	mov	w8, #0
LBB0_8:
	add	w0, w8, w20
	add	w1, w19, w20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_emit_zero_filler
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_cmpinit,4,2                    ; @cmpinit
	.no_dead_strip	_emit_fill_holes
.subsections_via_symbols
