	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_htbl_free                      ## -- Begin function htbl_free
	.p2align	4, 0x90
_htbl_free:                             ## @htbl_free
	.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
	movq	%rdi, %r14
	callq	_htbl_check
	testq	%r14, %r14
	je	LBB0_11
## %bb.1:
	movl	(%r14), %esi
	movq	8(%r14), %rdi
	testl	%esi, %esi
	jle	LBB0_10
## %bb.2:
	xorl	%eax, %eax
	movq	_htbl_free_entries@GOTPCREL(%rip), %r8
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rdx, %rbx
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	$0, 8(%rbx)
	movq	(%r8), %rcx
	movq	%rcx, (%rbx)
	movq	(%rdi,%rax,8), %rcx
	movq	%rcx, (%r8)
	movq	$0, (%rdi,%rax,8)
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rax
	cmpq	%rsi, %rax
	je	LBB0_9
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movq	(%rdi,%rax,8), %rdx
	testq	%rdx, %rdx
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rdx), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rcx, %rbx
	movq	$0, 8(%rdx)
	movq	(%rcx), %rcx
	movq	%rbx, %rdx
	testq	%rcx, %rcx
	jne	LBB0_6
	jmp	LBB0_7
LBB0_9:
	movq	8(%r14), %rdi
LBB0_10:
	shll	$3, %esi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_qfree
	movq	$0, 8(%r14)
	movl	$0, (%r14)
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_poly_h
	movl	%eax, 16(%r14)
LBB0_11:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_htbl_free_entries,8,3          ## @htbl_free_entries
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_htbl_free                      ; -- Begin function htbl_free
	.p2align	2
_htbl_free:                             ; @htbl_free
	.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, x0
	bl	_htbl_check
	cbz	x19, LBB0_11
; %bb.1:
	ldr	w8, [x19]
	ldr	x0, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.2:
	mov	x9, #0
Lloh0:
	adrp	x10, _htbl_free_entries@GOTPAGE
Lloh1:
	ldr	x10, [x10, _htbl_free_entries@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x12, x11
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x11, [x10]
	stp	x11, xzr, [x12]
	lsl	x11, x9, #3
	ldr	x12, [x0, x11]
	str	x12, [x10]
	str	xzr, [x0, x11]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x9, x9, #1
	cmp	x9, x8
	b.eq	LBB0_9
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	ldr	x11, [x0, x9, lsl #3]
	cbz	x11, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x13, [x11]
	cbz	x13, LBB0_3
LBB0_8:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x12, x13
	str	xzr, [x11, #8]
	ldr	x13, [x13]
	mov	x11, x12
	cbnz	x13, LBB0_8
	b	LBB0_4
LBB0_9:
	ldr	x0, [x19, #8]
LBB0_10:
	lsl	w1, w8, #3
	bl	_qfree
	str	xzr, [x19, #8]
	str	wzr, [x19]
	mov	x0, #0
	mov	w1, #0
	bl	_poly_h
	str	w0, [x19, #16]
LBB0_11:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_htbl_free_entries,8,3          ; @htbl_free_entries
.subsections_via_symbols
