	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ht_compact
_ht_compact:                            ## @ht_compact
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rsi, %rsi
	je	LBB0_22
## %bb.1:
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	16(%rsi), %rax
	movq	32(%rsi), %rbx
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	(%r15), %rcx
	cmpq	(%rax), %rcx
	je	LBB0_23
LBB0_3:
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.5:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
                                        ## implicit-def: $r14
	xorl	%r13d, %r13d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_18
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	cmpq	$0, (%rbx)
	je	LBB0_17
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	xorl	%r15d, %r15d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=2
	testq	%r13, %r13
	cmoveq	%rbx, %r13
	cmoveq	%r15, %r14
LBB0_16:                                ##   in Loop: Header=BB0_8 Depth=2
	incq	%r15
	cmpq	(%rbx), %r15
	jae	LBB0_17
LBB0_8:                                 ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%rbx), %rax
	movl	(%rax,%r15,4), %edi
	cmpq	$0, 8(%rbx)
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=2
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpq	8(%rax), %r15
	jae	LBB0_18
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=2
	callq	_mrb_undef_p
	testq	%rax, %rax
	jne	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=2
	incq	%r12
	testq	%r13, %r13
	je	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_8 Depth=2
	movq	16(%r13), %rax
	movq	16(%rbx), %rcx
	movl	(%rcx,%r15,4), %ecx
	movl	%ecx, (%rax,%r14,4)
	incq	%r14
	cmpq	(%r13), %r14
	jb	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_8 Depth=2
	movq	8(%r13), %r13
	xorl	%r14d, %r14d
	jmp	LBB0_16
LBB0_13:                                ##   in Loop: Header=BB0_8 Depth=2
	xorl	%r13d, %r13d
	jmp	LBB0_16
LBB0_18:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	%r12, (%r15)
	testq	%r13, %r13
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_21
## %bb.19:
	movq	8(%r13), %rsi
	movq	$0, 8(%r13)
	movq	%r14, 8(%r15)
	movq	%r13, 24(%r15)
	testq	%rsi, %rsi
	je	LBB0_21
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%rsi), %rbx
	movq	%r12, %rdi
	callq	_mrb_free
	movq	%rbx, %rsi
	testq	%rbx, %rbx
	jne	LBB0_20
LBB0_21:
	cmpq	$0, 16(%r15)
	je	LBB0_22
LBB0_23:
	movq	%r12, %rdi
	movq	%r15, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ht_index                       ## TAILCALL
LBB0_4:
	movq	$0, (%r15)
	cmpq	$0, 16(%r15)
	jne	LBB0_23
LBB0_22:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ht_compact
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ht_compact
_ht_compact:                            ; @ht_compact
	.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
	cbz	x1, LBB0_23
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	ldr	x21, [x1, #32]
	ldr	x8, [x1, #16]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	x9, [x19]
	ldr	x8, [x8]
	cmp	x9, x8
	b.eq	LBB0_21
LBB0_3:
	cbz	x21, LBB0_22
; %bb.4:
	mov	x23, #0
	mov	x22, #0
                                        ; implicit-def: $x24
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x21, [x21, #8]
	cbz	x21, LBB0_17
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	ldr	x8, [x21]
	cbz	x8, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x25, #0
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=2
	cmp	x22, #0
	csel	x22, x21, x22, eq
	csel	x24, x25, x24, eq
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=2
	add	x25, x25, #1
	ldr	x8, [x21]
	cmp	x25, x8
	b.hs	LBB0_5
LBB0_10:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	x9, x8, [x21, #8]
	ldr	w0, [x8, x25, lsl #2]
	cbnz	x9, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	ldr	x8, [x19, #8]
	cmp	x25, x8
	b.hs	LBB0_17
LBB0_12:                                ;   in Loop: Header=BB0_10 Depth=2
	bl	_mrb_undef_p
	cbnz	x0, LBB0_8
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=2
	add	x23, x23, #1
	cbz	x22, LBB0_9
; %bb.14:                               ;   in Loop: Header=BB0_10 Depth=2
	ldr	x9, [x22, #16]
	add	x8, x24, #1
	ldr	x10, [x21, #16]
	ldr	w10, [x10, x25, lsl #2]
	str	w10, [x9, x24, lsl #2]
	ldr	x9, [x22]
	cmp	x8, x9
	b.hs	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_10 Depth=2
	mov	x24, x8
	b	LBB0_9
LBB0_16:                                ;   in Loop: Header=BB0_10 Depth=2
	mov	x24, #0
	ldr	x22, [x22, #8]
	b	LBB0_9
LBB0_17:
	str	x23, [x19]
	cbz	x22, LBB0_20
; %bb.18:
	ldr	x1, [x22, #8]
	str	xzr, [x22, #8]
	str	x24, [x19, #8]
	str	x22, [x19, #24]
	cbz	x1, LBB0_20
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	x21, [x1, #8]
	mov	x0, x20
	bl	_mrb_free
	mov	x1, x21
	cbnz	x21, LBB0_19
LBB0_20:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_23
LBB0_21:
	mov	x0, x20
	mov	x1, x19
	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
	b	_ht_index
LBB0_22:
	str	xzr, [x19]
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_21
LBB0_23:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ht_compact
.subsections_via_symbols
