	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function findCollSeqEntry
_findCollSeqEntry:                      ## @findCollSeqEntry
	.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
	movl	%edx, %r12d
	movq	%rsi, %r15
	movq	%rdi, %r14
	callq	_sqlite3HashFind
	movq	%rax, %rbx
	testl	%r12d, %r12d
	je	LBB0_6
## %bb.1:
	testq	%rbx, %rbx
	jne	LBB0_6
## %bb.2:
	movq	%r15, %rdi
	callq	_sqlite3Strlen30
	movl	%eax, %r12d
	leal	49(%r12), %esi
	movq	%r14, %rdi
	callq	_sqlite3DbMallocZero
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%rax, %rbx
	incl	%r12d
	leaq	48(%rax), %rdi
	movq	%rdi, (%rax)
	movq	_SQLITE_UTF8@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	%rdi, 16(%rbx)
	movq	_SQLITE_UTF16LE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	%rdi, 32(%rbx)
	movq	_SQLITE_UTF16BE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movq	%r15, %rsi
	movl	%r12d, %edx
	callq	_memcpy
	movq	(%rbx), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_sqlite3HashInsert
	movq	%rax, %r15
	testq	%rax, %rax
	sete	%al
	cmpq	%rbx, %r15
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	testq	%r15, %r15
	je	LBB0_6
## %bb.4:
	movq	%r14, %rdi
	callq	_sqlite3OomFault
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_sqlite3DbFree
LBB0_5:
	xorl	%ebx, %ebx
LBB0_6:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SQLITE_UTF8,4,2                ## @SQLITE_UTF8
	.comm	_SQLITE_UTF16LE,4,2             ## @SQLITE_UTF16LE
	.comm	_SQLITE_UTF16BE,4,2             ## @SQLITE_UTF16BE
	.no_dead_strip	_findCollSeqEntry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function findCollSeqEntry
_findCollSeqEntry:                      ; @findCollSeqEntry
	.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	x22, x2
	mov	x21, x1
	mov	x19, x0
	bl	_sqlite3HashFind
	mov	x20, x0
	cbz	w22, LBB0_5
; %bb.1:
	cbnz	x20, LBB0_5
; %bb.2:
	mov	x0, x21
	bl	_sqlite3Strlen30
	mov	x22, x0
	add	w1, w0, #49
	mov	x0, x19
	bl	_sqlite3DbMallocZero
	mov	x20, x0
	cbz	x0, LBB0_5
; %bb.3:
	add	w2, w22, #1
	add	x0, x20, #48
	str	x0, [x20]
Lloh0:
	adrp	x8, _SQLITE_UTF8@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SQLITE_UTF8@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x20, #8]
	str	x0, [x20, #16]
Lloh3:
	adrp	x8, _SQLITE_UTF16LE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SQLITE_UTF16LE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x20, #24]
	str	x0, [x20, #32]
Lloh6:
	adrp	x8, _SQLITE_UTF16BE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SQLITE_UTF16BE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x20, #40]
	mov	x1, x21
	bl	_memcpy
	ldr	x1, [x20]
	mov	x0, x19
	mov	x2, x20
	bl	_sqlite3HashInsert
	mov	x21, x0
	cmp	x0, #0
	ccmp	x0, x20, #4, ne
	cset	w0, eq
	bl	_assert
	cbz	x21, LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_sqlite3OomFault
	mov	x0, x19
	mov	x1, x21
	bl	_sqlite3DbFree
	mov	x20, #0
LBB0_5:
	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 AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SQLITE_UTF8,4,2                ; @SQLITE_UTF8
	.comm	_SQLITE_UTF16LE,4,2             ; @SQLITE_UTF16LE
	.comm	_SQLITE_UTF16BE,4,2             ; @SQLITE_UTF16BE
	.no_dead_strip	_findCollSeqEntry
.subsections_via_symbols
