	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dshash_find                    ## -- Begin function dshash_find
	.p2align	4, 0x90
_dshash_find:                           ## @dshash_find
	.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
	movl	%edx, %r14d
	movq	%rsi, %r12
	movq	%rdi, %rbx
	callq	_hash_key
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_PARTITION_FOR_HASH
	movq	%rax, %r15
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movq	_DSHASH_MAGIC@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_Assert
	xorl	%edi, %edi
	cmpl	$0, (%rbx)
	sete	%dil
	callq	_Assert
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_PARTITION_LOCK
	testl	%r14d, %r14d
	jne	LBB0_1
## %bb.2:
	movq	_LW_SHARED@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_1:
	movq	_LW_EXCLUSIVE@GOTPCREL(%rip), %rcx
LBB0_3:
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_LWLockAcquire
	movq	%rbx, %rdi
	callq	_ensure_valid_bucket_pointers
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_BUCKET_FOR_HASH
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_find_in_bucket
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movl	$1, (%rbx)
	movl	%r14d, 4(%rbx)
	movq	%rax, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ENTRY_FROM_ITEM                ## TAILCALL
LBB0_4:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_PARTITION_LOCK
	movl	%eax, %edi
	callq	_LWLockRelease
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DSHASH_MAGIC,8,3               ## @DSHASH_MAGIC
	.comm	_LW_EXCLUSIVE,4,2               ## @LW_EXCLUSIVE
	.comm	_LW_SHARED,4,2                  ## @LW_SHARED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dshash_find                    ; -- Begin function dshash_find
	.p2align	2
_dshash_find:                           ; @dshash_find
	.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	x20, x2
	mov	x22, x1
	mov	x19, x0
	bl	_hash_key
	mov	x23, x0
	bl	_PARTITION_FOR_HASH
	mov	x21, x0
	ldr	x8, [x19, #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
	ldr	w8, [x19]
	cmp	w8, #0
	cset	w0, eq
	bl	_Assert
	mov	x0, x19
	mov	x1, x21
	bl	_PARTITION_LOCK
Lloh3:
	adrp	x8, _LW_EXCLUSIVE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LW_EXCLUSIVE@GOTPAGEOFF]
Lloh5:
	adrp	x9, _LW_SHARED@GOTPAGE
Lloh6:
	ldr	x9, [x9, _LW_SHARED@GOTPAGEOFF]
	cmp	w20, #0
	csel	x8, x9, x8, eq
	ldr	w1, [x8]
	bl	_LWLockAcquire
	mov	x0, x19
	bl	_ensure_valid_bucket_pointers
	mov	x0, x19
	mov	x1, x23
	bl	_BUCKET_FOR_HASH
	mov	x2, x0
	mov	x0, x19
	mov	x1, x22
	bl	_find_in_bucket
	cbz	x0, LBB0_2
; %bb.1:
	mov	w8, #1
	stp	w8, w20, [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	_ENTRY_FROM_ITEM
LBB0_2:
	mov	x0, x19
	mov	x1, x21
	bl	_PARTITION_LOCK
	bl	_LWLockRelease
	mov	x0, #0
	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 AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DSHASH_MAGIC,8,3               ; @DSHASH_MAGIC
	.comm	_LW_EXCLUSIVE,4,2               ; @LW_EXCLUSIVE
	.comm	_LW_SHARED,4,2                  ; @LW_SHARED
.subsections_via_symbols
