	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ht_get_all                     ## -- Begin function ht_get_all
	.p2align	4, 0x90
_ht_get_all:                            ## @ht_get_all
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	16(%rdi), %rdi
	incq	%rdi
	movl	$8, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_16
## %bb.1:
	movq	(%r14), %r8
	testq	%r8, %r8
	je	LBB0_16
## %bb.2:
	cmpq	$1, %r8
	jne	LBB0_4
## %bb.3:
	xorl	%esi, %esi
	movq	%rax, %rcx
LBB0_12:
	testb	$1, %r8b
	jne	LBB0_13
LBB0_16:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movq	%r8, %r9
	andq	$-2, %r9
	xorl	%esi, %esi
	movq	%rax, %rcx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	addq	$2, %rsi
	cmpq	%r9, %rsi
	je	LBB0_12
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
                                        ##     Child Loop BB0_9 Depth 2
	movq	8(%r14), %rdx
	movq	(%rdx,%rsi,8), %rdx
	testq	%rdx, %rdx
	je	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	xorl	%edi, %edi
	testl	%ebx, %ebx
	setne	%dil
	movslq	(%rdx,%rdi,4), %rdi
	movq	%rdi, (%rcx)
	addq	$8, %rcx
	movq	8(%rdx), %rdx
	testq	%rdx, %rdx
	jne	LBB0_6
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	leaq	(,%rsi,8), %rdx
	movq	8(%r14), %rdi
	orq	$8, %rdx
	movq	(%rdi,%rdx), %rdx
	testq	%rdx, %rdx
	je	LBB0_11
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	xorl	%edi, %edi
	testl	%ebx, %ebx
	setne	%dil
	movslq	(%rdx,%rdi,4), %rdi
	movq	%rdi, (%rcx)
	addq	$8, %rcx
	movq	8(%rdx), %rdx
	testq	%rdx, %rdx
	jne	LBB0_9
	jmp	LBB0_11
LBB0_13:
	movq	8(%r14), %rdx
	movq	(%rdx,%rsi,8), %rdx
	testq	%rdx, %rdx
	je	LBB0_16
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	xorl	%esi, %esi
	testl	%ebx, %ebx
	setne	%sil
	movslq	(%rdx,%rsi,4), %rsi
	movq	%rsi, (%rcx)
	addq	$8, %rcx
	movq	8(%rdx), %rdx
	testq	%rdx, %rdx
	jne	LBB0_14
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ht_get_all                     ; -- Begin function ht_get_all
	.p2align	2
_ht_get_all:                            ; @ht_get_all
	.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
	ldr	x8, [x0, #16]
	add	x0, x8, #1
	mov	w1, #8
	bl	_calloc
	cbz	x0, LBB0_6
; %bb.1:
	ldr	x8, [x20]
	cbz	x8, LBB0_6
; %bb.2:
	mov	x9, #0
	mov	x10, x0
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x9, #1
	cmp	x9, x8
	b.eq	LBB0_6
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	ldr	x11, [x20, #8]
	ldr	x11, [x11, x9, lsl #3]
	cbz	x11, LBB0_3
LBB0_5:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w19, #0
	cset	w12, ne
	ldrsw	x12, [x11, w12, uxtw #2]
	str	x12, [x10], #8
	ldr	x11, [x11, #8]
	cbnz	x11, LBB0_5
	b	LBB0_3
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
