	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function findElementWithHash
_findElementWithHash:                   ## @findElementWithHash
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	cmpq	$0, 16(%rdi)
	je	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_strHash
	xorl	%edx, %edx
	divl	(%rbx)
                                        ## kill: def $edx killed $edx def $rdx
	movq	16(%rbx), %rcx
	movq	%rdx, %rbx
	shlq	$4, %rbx
	leaq	(%rcx,%rbx), %rax
	addq	$8, %rax
	addq	%rcx, %rbx
	jmp	LBB0_3
LBB0_2:
	leaq	8(%rbx), %rax
	addq	$4, %rbx
	xorl	%edx, %edx
LBB0_3:
	movl	(%rbx), %r12d
	movq	(%rax), %rbx
	testq	%r14, %r14
	je	LBB0_5
## %bb.4:
	movl	%edx, (%r14)
LBB0_5:
	leaq	_findElementWithHash.nullElement(%rip), %r14
	testl	%r12d, %r12d
	je	LBB0_9
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	callq	_assert
	movl	8(%rbx), %edi
	movq	%r15, %rsi
	callq	_sqlite3StrICmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	(%rbx), %rbx
	decl	%r12d
	jne	LBB0_6
	jmp	LBB0_9
LBB0_7:
	movq	%rbx, %r14
LBB0_9:
	movq	%r14, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_findElementWithHash.nullElement,32,3 ## @findElementWithHash.nullElement
	.no_dead_strip	_findElementWithHash
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function findElementWithHash
_findElementWithHash:                   ; @findElementWithHash
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_strHash
	ldr	w8, [x20]
	udiv	w9, w0, w8
	msub	w8, w9, w8, w0
	ldr	x9, [x20, #16]
	add	x10, x9, w8, uxtw #4
	add	x9, x10, #8
	b	LBB0_3
LBB0_2:
	add	x9, x20, #8
	add	x10, x20, #4
LBB0_3:
	ldr	w22, [x10]
	ldr	x20, [x9]
	cbz	x21, LBB0_5
; %bb.4:
	str	w8, [x21]
LBB0_5:
	cbz	w22, LBB0_10
; %bb.6:
Lloh0:
	adrp	x21, _findElementWithHash.nullElement@PAGE
Lloh1:
	add	x21, x21, _findElementWithHash.nullElement@PAGEOFF
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x20, #0
	cset	w0, ne
	bl	_assert
	ldr	w0, [x20, #8]
	mov	x1, x19
	bl	_sqlite3StrICmp
	cbz	x0, LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x20, [x20]
	subs	w22, w22, #1
	b.ne	LBB0_7
; %bb.9:
	mov	x20, x21
	b	LBB0_11
LBB0_10:
Lloh2:
	adrp	x20, _findElementWithHash.nullElement@PAGE
Lloh3:
	add	x20, x20, _findElementWithHash.nullElement@PAGEOFF
LBB0_11:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_findElementWithHash.nullElement,32,3 ; @findElementWithHash.nullElement
	.no_dead_strip	_findElementWithHash
.subsections_via_symbols
