	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dt_idhash_delete               ## -- Begin function dt_idhash_delete
	.p2align	4, 0x90
_dt_idhash_delete:                      ## @dt_idhash_delete
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movl	16(%rsi), %edi
	leaq	-40(%rbp), %rsi
	callq	_dt_strtab_hash
	movq	(%r14), %rcx
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_1
## %bb.2:
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_3
LBB0_1:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
LBB0_3:
	shlq	$3, %rdx
	addq	16(%r14), %rdx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rdx, %r12
	movq	(%rdx), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	8(%rbx), %rdx
	cmpq	%r15, %rbx
	jne	LBB0_4
LBB0_6:
	xorl	%edi, %edi
	cmpq	%r15, %rbx
	sete	%dil
	callq	_assert
	movq	8(%rbx), %rax
	movq	%rax, (%r12)
	xorl	%edi, %edi
	cmpq	$0, 8(%r14)
	setne	%dil
	callq	_assert
	decq	8(%r14)
	movq	_DT_IDFLG_ORPHAN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	jne	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	_dt_ident_destroy
LBB0_8:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DT_IDFLG_ORPHAN,4,2            ## @DT_IDFLG_ORPHAN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dt_idhash_delete               ; -- Begin function dt_idhash_delete
	.p2align	2
_dt_idhash_delete:                      ; @dt_idhash_delete
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x21, x1
	mov	x19, x0
	ldr	w0, [x1, #16]
	add	x1, sp, #8
	bl	_dt_strtab_hash
	ldr	x8, [x19]
	udiv	x9, x0, x8
	msub	x8, x9, x8, x0
	ldr	x9, [x19, #16]
	add	x8, x9, x8, lsl #3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x22, x8
	ldr	x20, [x8]
	add	x8, x20, #8
	cmp	x20, #0
	ccmp	x20, x21, #4, ne
	b.ne	LBB0_1
; %bb.2:
	cmp	x20, x21
	cset	w0, eq
	bl	_assert
	ldr	x8, [x20, #8]
	str	x8, [x22]
	ldr	x8, [x19, #8]
	cmp	x8, #0
	cset	w0, ne
	bl	_assert
	ldr	x8, [x19, #8]
	sub	x8, x8, #1
	str	x8, [x19, #8]
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _DT_IDFLG_ORPHAN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DT_IDFLG_ORPHAN@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x20
	bl	_dt_ident_destroy
LBB0_4:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DT_IDFLG_ORPHAN,4,2            ; @DT_IDFLG_ORPHAN
.subsections_via_symbols
