	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_freeelem                       ## -- Begin function freeelem
	.p2align	4, 0x90
_freeelem:                              ## @freeelem
	.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	%rsi, %r14
	movq	8(%rdi), %r15
	movl	16(%r15), %esi
	movq	%r14, %rdi
	callq	_hash
	movq	8(%r15), %rcx
	movslq	%eax, %r12
	movq	(%rcx,%r12,8), %r13
	testq	%r13, %r13
	je	LBB0_11
## %bb.1:
	movq	(%r13), %rsi
	movq	%r14, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_2
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rbx
	movq	16(%r13), %r13
	testq	%r13, %r13
	je	LBB0_11
## %bb.3:                               ##   in Loop: Header=BB0_10 Depth=1
	movq	(%r13), %rsi
	movq	%r14, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_10
	jmp	LBB0_4
LBB0_2:
	xorl	%ebx, %ebx
LBB0_4:
	movq	16(%r13), %rax
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.6:
	addq	$16, %rbx
	movq	%rbx, %r12
	jmp	LBB0_7
LBB0_5:
	shlq	$3, %r12
	addq	8(%r15), %r12
LBB0_7:
	movq	%rax, (%r12)
	movq	%r13, %rdi
	callq	_freeable
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	8(%r13), %rdi
	callq	_xfree
LBB0_9:
	movq	(%r13), %rdi
	callq	_free
	movq	%r13, %rdi
	callq	_free
	decl	(%r15)
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_freeelem                       ; -- Begin function freeelem
	.p2align	2
_freeelem:                              ; @freeelem
	.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	x21, x1
	ldr	x22, [x0, #8]
	ldr	w1, [x22, #16]
	mov	x0, x21
	bl	_hash
	ldr	x8, [x22, #8]
	ldr	x19, [x8, w0, sxtw #3]
	cbz	x19, LBB0_11
; %bb.1:
	mov	x20, x0
	ldr	x1, [x19]
	mov	x0, x21
	bl	_strcmp
	cbz	x0, LBB0_6
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x23, x19
	ldr	x19, [x19, #16]
	cbz	x19, LBB0_11
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x1, [x19]
	mov	x0, x21
	bl	_strcmp
	cbnz	x0, LBB0_2
; %bb.4:
	ldr	x8, [x19, #16]
	cbz	x23, LBB0_7
LBB0_5:
	add	x9, x23, #16
	b	LBB0_8
LBB0_6:
	mov	x23, #0
	ldr	x8, [x19, #16]
	cbnz	x23, LBB0_5
LBB0_7:
	sxtw	x9, w20
	ldr	x10, [x22, #8]
	add	x9, x10, x9, lsl #3
LBB0_8:
	str	x8, [x9]
	mov	x0, x19
	bl	_freeable
	cbz	x0, LBB0_10
; %bb.9:
	ldr	x0, [x19, #8]
	bl	_xfree
LBB0_10:
	ldr	x0, [x19]
	bl	_free
	mov	x0, x19
	bl	_free
	ldr	w8, [x22]
	sub	w8, w8, #1
	str	w8, [x22]
LBB0_11:
	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
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
