	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sqlite3_vtab_collation         ## -- Begin function sqlite3_vtab_collation
	.p2align	4, 0x90
_sqlite3_vtab_collation:                ## @sqlite3_vtab_collation
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%esi, %esi
	js	LBB0_7
## %bb.1:
	cmpl	%esi, (%rdi)
	jle	LBB0_7
## %bb.2:
	movl	%esi, %eax
	movq	8(%rdi), %rcx
	movq	24(%rdi), %rdx
	movslq	(%rcx,%rax,4), %rax
	movq	(%rdx), %rcx
	movq	(%rcx,%rax,8), %rax
	movq	8(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.3:
	movl	16(%rdi), %edi
	movl	(%rax), %edx
	callq	_sqlite3BinaryCompareCollSeq
	testq	%rax, %rax
	jne	LBB0_5
LBB0_4:
	movq	_sqlite3StrBINARY@GOTPCREL(%rip), %rax
LBB0_5:
	movq	(%rax), %rax
	popq	%rbp
	retq
LBB0_7:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_8:
	xorl	%eax, %eax
	testq	%rax, %rax
	je	LBB0_4
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_sqlite3StrBINARY,8,3           ## @sqlite3StrBINARY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sqlite3_vtab_collation         ; -- Begin function sqlite3_vtab_collation
	.p2align	2
_sqlite3_vtab_collation:                ; @sqlite3_vtab_collation
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	tbnz	w1, #31, LBB0_4
; %bb.1:
	ldr	w8, [x0]
	cmp	w8, w1
	b.le	LBB0_4
; %bb.2:
	ldr	x8, [x0, #8]
	ldrsw	x8, [x8, w1, uxtw #2]
	ldr	x9, [x0, #24]
	ldr	x9, [x9]
	ldr	x8, [x9, x8, lsl #3]
	ldr	x1, [x8, #8]
	cbz	x1, LBB0_5
; %bb.3:
	ldr	w0, [x0, #16]
	ldr	w2, [x8]
	bl	_sqlite3BinaryCompareCollSeq
	b	LBB0_6
LBB0_4:
	mov	x0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	x0, #0
LBB0_6:
Lloh0:
	adrp	x8, _sqlite3StrBINARY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sqlite3StrBINARY@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x0, eq
	ldr	x0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_sqlite3StrBINARY,8,3           ; @sqlite3StrBINARY
.subsections_via_symbols
