	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hash_dir_entry_with_parent_and_prefix
_hash_dir_entry_with_parent_and_prefix: ## @hash_dir_entry_with_parent_and_prefix
	.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	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r13
	testq	%rsi, %rsi
	setne	%r14b
	movq	8(%rdx), %rdi
	movl	$47, %esi
	callq	_strchr
	testq	%rax, %rax
	sete	%al
	xorb	%r14b, %al
	movzbl	%al, %edi
	callq	_assert
	testq	%r15, %r15
	je	LBB0_2
## %bb.1:
	movl	4(%r15), %edi
	movq	16(%r15), %rax
	movq	8(%rbx), %rsi
	addq	%rax, %rsi
	movq	(%rbx), %rdx
	subq	%rax, %rdx
	callq	_memihash_cont
	jmp	LBB0_3
LBB0_2:
	movq	(%rbx), %rsi
	movq	8(%rbx), %rdi
	callq	_memihash
LBB0_3:
	movl	%eax, %r14d
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_compute_dir_lock_nr
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_lock_dir_mutex
	movq	(%rbx), %rdx
	movq	8(%rbx), %rsi
	movq	%r13, %rdi
	movl	%r14d, %ecx
	callq	_find_dir_entry__hash
	movq	%r13, %rdi
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:
	movq	_name@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%rbx), %rcx
	movq	8(%rbx), %rdx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	xorl	%edi, %edi
	callq	_FLEX_ALLOC_MEM
	movl	$4, %edi
	movl	%r14d, %esi
	callq	_hashmap_entry_init
	movq	(%rbx), %rax
	movq	%rax, 16
	movq	%r15, 8
	movl	$4, %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rdi, %rbx
	callq	_hashmap_add
	testq	%r15, %r15
	je	LBB0_6
## %bb.5:
	movl	%r12d, %edi
	callq	_unlock_dir_mutex
	movl	4(%r15), %esi
	movq	%rbx, %rdi
	callq	_compute_dir_lock_nr
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_lock_dir_mutex
	incl	(%r15)
LBB0_6:
	movl	%r12d, %edi
	callq	_unlock_dir_mutex
	movq	%r13, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_name,4,2                       ## @name
	.no_dead_strip	_hash_dir_entry_with_parent_and_prefix
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hash_dir_entry_with_parent_and_prefix
_hash_dir_entry_with_parent_and_prefix: ; @hash_dir_entry_with_parent_and_prefix
	.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, x2
	mov	x19, x1
	mov	x20, x0
	cmp	x1, #0
	cset	w22, ne
	ldr	x0, [x2, #8]
	mov	w1, #47
	bl	_strchr
	cmp	x0, #0
	cset	w8, eq
	eor	w0, w22, w8
	bl	_assert
	cbz	x19, LBB0_2
; %bb.1:
	ldr	w0, [x19, #4]
	ldr	x8, [x19, #16]
	ldp	x10, x9, [x21]
	add	x1, x8, x9
	sub	x2, x10, x8
	bl	_memihash_cont
	b	LBB0_3
LBB0_2:
	ldp	x1, x0, [x21]
	bl	_memihash
LBB0_3:
	mov	x24, x0
	mov	x0, x20
	mov	x1, x24
	bl	_compute_dir_lock_nr
	mov	x22, x0
	bl	_lock_dir_mutex
	ldp	x2, x1, [x21]
	mov	x0, x20
	mov	x3, x24
	bl	_find_dir_entry__hash
	mov	x23, x0
	cbnz	x0, LBB0_6
; %bb.4:
Lloh0:
	adrp	x8, _name@GOTPAGE
Lloh1:
	ldr	x8, [x8, _name@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldp	x3, x2, [x21]
	bl	_FLEX_ALLOC_MEM
	mov	w0, #4
	mov	x1, x24
	bl	_hashmap_entry_init
	ldr	x8, [x21]
	mov	w9, #16
	str	x8, [x9]
	mov	w8, #8
	str	x19, [x8]
	mov	x0, x20
	mov	w1, #4
	bl	_hashmap_add
	cbz	x19, LBB0_6
; %bb.5:
	mov	x0, x22
	bl	_unlock_dir_mutex
	ldr	w1, [x19, #4]
	mov	x0, x20
	bl	_compute_dir_lock_nr
	mov	x22, x0
	bl	_lock_dir_mutex
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
LBB0_6:
	mov	x0, x22
	bl	_unlock_dir_mutex
	mov	x0, x23
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_name,4,2                       ; @name
	.no_dead_strip	_hash_dir_entry_with_parent_and_prefix
.subsections_via_symbols
