	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dshash_destroy                 ## -- Begin function dshash_destroy
	.p2align	4, 0x90
_dshash_destroy:                        ## @dshash_destroy
	.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
	movq	%rdi, %r15
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	movq	_DSHASH_MAGIC@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_Assert
	movq	%r15, %rdi
	callq	_ensure_valid_bucket_pointers
	movq	(%r15), %r14
	xorl	%r13d, %r13d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	incq	%r13
	movq	%r13, %rax
	movl	%r14d, %ecx
	shrq	%cl, %rax
	testq	%rax, %rax
	jne	LBB0_5
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
	movq	24(%r15), %rax
	movl	(%rax,%r13,4), %ebx
	movl	%ebx, %edi
	callq	_DsaPointerIsValid
	testq	%rax, %rax
	je	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	16(%r15), %edi
	movl	%ebx, %esi
	callq	_dsa_get_address
	movl	(%rax), %r12d
	movl	16(%r15), %edi
	movl	%ebx, %esi
	callq	_dsa_free
	movl	%r12d, %edi
	callq	_DsaPointerIsValid
	movl	%r12d, %ebx
	testq	%rax, %rax
	jne	LBB0_2
	jmp	LBB0_4
LBB0_5:
	movq	8(%r15), %rax
	movq	$0, (%rax)
	movl	16(%r15), %edi
	movl	12(%rax), %esi
	callq	_dsa_free
	movl	16(%r15), %edi
	movq	8(%r15), %rax
	movl	8(%rax), %esi
	callq	_dsa_free
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pfree                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DSHASH_MAGIC,8,3               ## @DSHASH_MAGIC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dshash_destroy                 ; -- Begin function dshash_destroy
	.p2align	2
_dshash_destroy:                        ; @dshash_destroy
	.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, x0
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _DSHASH_MAGIC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DSHASH_MAGIC@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_Assert
	mov	x0, x19
	bl	_ensure_valid_bucket_pointers
	mov	x22, #0
	ldr	x23, [x19]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x22, x22, #1
	lsr	x8, x22, x23
	cbnz	x8, LBB0_4
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_3 Depth 2
	ldr	x8, [x19, #24]
	ldr	w20, [x8, x22, lsl #2]
	mov	x0, x20
	bl	_DsaPointerIsValid
	cbz	x0, LBB0_1
LBB0_3:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x19, #16]
	mov	x1, x20
	bl	_dsa_get_address
	ldr	w21, [x0]
	ldr	w0, [x19, #16]
	mov	x1, x20
	bl	_dsa_free
	mov	x0, x21
	bl	_DsaPointerIsValid
	mov	x20, x21
	cbnz	x0, LBB0_3
	b	LBB0_1
LBB0_4:
	ldr	x8, [x19, #8]
	str	xzr, [x8]
	ldr	w0, [x19, #16]
	ldr	w1, [x8, #12]
	bl	_dsa_free
	ldr	w0, [x19, #16]
	ldr	x8, [x19, #8]
	ldr	w1, [x8, #8]
	bl	_dsa_free
	mov	x0, x19
	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	_pfree
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DSHASH_MAGIC,8,3               ; @DSHASH_MAGIC
.subsections_via_symbols
