	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__bt_preprocess_keys            ## -- Begin function _bt_preprocess_keys
	.p2align	4, 0x90
__bt_preprocess_keys:                   ## @_bt_preprocess_keys
	.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
	subq	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movslq	24(%rdi), %r15
	movl	(%rdi), %ebx
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	movq	16(%rdi), %rax
	movq	(%rax), %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movq	_BTMaxStrategyNumber@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, %r13
	leaq	(,%rax,8), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	$1, (%r15)
	movl	%ebx, -56(%rbp)                 ## 4-byte Spill
	testl	%ebx, %ebx
	jle	LBB0_65
## %bb.1:
	movq	16(%r15), %r12
	testq	%r12, %r12
	jne	LBB0_3
## %bb.2:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %r12
LBB0_3:
	movq	8(%r15), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	cmpl	$0, (%r12)
	jle	LBB0_10
## %bb.4:
	cmpl	$1, -56(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_11
LBB0_5:
	movq	%r12, %rdi
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	callq	__bt_fix_scankey_strategy
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	movl	$0, (%r15)
LBB0_7:
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movq	%r12, %rsi
	movl	$4, %edx
	callq	_memcpy
	movl	$1, 4(%r15)
	cmpl	$1, (%r12)
	jne	LBB0_65
## %bb.8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_68
## %bb.9:
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	__bt_mark_scankey_required      ## TAILCALL
LBB0_10:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elog
	cmpl	$1, -56(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_5
LBB0_11:
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdx
	shll	$3, %edx
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movq	%rdx, -136(%rbp)                ## 8-byte Spill
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memset
	movl	$1, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	jmp	LBB0_14
LBB0_12:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	%r12, -8(%r14,%r13,8)
LBB0_13:                                ##   in Loop: Header=BB0_14 Depth=1
	addq	$12, %r12
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
	incl	%ebx
LBB0_14:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_23 Depth 2
                                        ##     Child Loop BB0_47 Depth 2
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
	cmpl	-56(%rbp), %ebx                 ## 4-byte Folded Reload
	jge	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	%r12, %rdi
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	callq	__bt_fix_scankey_strategy
	testl	%eax, %eax
	je	LBB0_64
LBB0_16:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	cmpl	-56(%rbp), %eax                 ## 4-byte Folded Reload
	movq	%r12, -112(%rbp)                ## 8-byte Spill
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	cmpl	%eax, (%r12)
	je	LBB0_52
LBB0_18:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	cmpl	-56(%rbp), %eax                 ## 4-byte Folded Reload
	jge	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	cmpl	%eax, (%r12)
	jge	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elog
LBB0_21:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	_BTEqualStrategyNumber@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	-8(%r14,%rax,8), %r13
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	testq	%r13, %r13
	je	LBB0_32
## %bb.22:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	_BTMaxStrategyNumber@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	testl	%ebx, %ebx
	jle	LBB0_31
	.p2align	4, 0x90
LBB0_23:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leal	-1(%rbx), %r12d
	movq	(%r14,%r12,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_29
## %bb.24:                              ##   in Loop: Header=BB0_23 Depth=2
	movl	%eax, %eax
	cmpq	%rax, %rbx
	je	LBB0_29
## %bb.25:                              ##   in Loop: Header=BB0_23 Depth=2
	movq	_SK_SEARCHNULL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r13)
	jne	LBB0_64
## %bb.26:                              ##   in Loop: Header=BB0_23 Depth=2
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	%rcx, %rsi
	movq	%r13, %rdx
	leaq	-52(%rbp), %r8
	callq	__bt_compare_scankey_args
	testq	%rax, %rax
	je	LBB0_29
## %bb.27:                              ##   in Loop: Header=BB0_23 Depth=2
	cmpl	$0, -52(%rbp)
	je	LBB0_64
## %bb.28:                              ##   in Loop: Header=BB0_23 Depth=2
	movq	$0, (%r14,%r12,8)
LBB0_29:                                ##   in Loop: Header=BB0_23 Depth=2
	cmpq	$2, %rbx
	jb	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_23 Depth=2
	movq	_BTEqualStrategyNumber@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	decq	%rbx
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_31:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	leal	1(%rax), %ecx
LBB0_32:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	%ecx, -116(%rbp)                ## 4-byte Spill
	movq	_BTLessStrategyNumber@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	-8(%r14,%rax,8), %rdx
	testq	%rdx, %rdx
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_38
## %bb.33:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	_BTLessEqualStrategyNumber@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	-8(%r14,%rax,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_38
## %bb.34:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	%rcx, %rsi
	leaq	-52(%rbp), %r8
	callq	__bt_compare_scankey_args
	testq	%rax, %rax
	je	LBB0_38
## %bb.35:                              ##   in Loop: Header=BB0_14 Depth=1
	cmpl	$0, -52(%rbp)
	movq	_BTLessEqualStrategyNumber@GOTPCREL(%rip), %rax
	jne	LBB0_37
## %bb.36:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	_BTLessStrategyNumber@GOTPCREL(%rip), %rax
LBB0_37:                                ##   in Loop: Header=BB0_14 Depth=1
	movslq	(%rax), %rax
	movq	$0, -8(%r14,%rax,8)
LBB0_38:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	_BTGreaterStrategyNumber@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	-8(%r14,%rax,8), %rdx
	testq	%rdx, %rdx
	je	LBB0_44
## %bb.39:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	_BTGreaterEqualStrategyNumber@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	-8(%r14,%rax,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_44
## %bb.40:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	%rcx, %rsi
	leaq	-52(%rbp), %r8
	callq	__bt_compare_scankey_args
	testq	%rax, %rax
	je	LBB0_44
## %bb.41:                              ##   in Loop: Header=BB0_14 Depth=1
	cmpl	$0, -52(%rbp)
	movq	_BTGreaterEqualStrategyNumber@GOTPCREL(%rip), %rax
	jne	LBB0_43
## %bb.42:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	_BTGreaterStrategyNumber@GOTPCREL(%rip), %rax
LBB0_43:                                ##   in Loop: Header=BB0_14 Depth=1
	movslq	(%rax), %rax
	movq	$0, -8(%r14,%rax,8)
LBB0_44:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	_BTMaxStrategyNumber@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	testl	%ebx, %ebx
	jle	LBB0_50
## %bb.45:                              ##   in Loop: Header=BB0_14 Depth=1
	decl	%r12d
	incq	%rbx
	jmp	LBB0_47
	.p2align	4, 0x90
LBB0_46:                                ##   in Loop: Header=BB0_47 Depth=2
	decq	%rbx
	cmpq	$1, %rbx
	jbe	LBB0_50
LBB0_47:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leal	-2(%rbx), %eax
	movq	(%r14,%rax,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_46
## %bb.48:                              ##   in Loop: Header=BB0_47 Depth=2
	movslq	%r15d, %rax
	incl	%r15d
	leaq	(%rax,%rax,2), %rax
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rcx,%rax,4), %r13
	movq	%r13, %rdi
	movl	$4, %edx
	callq	_memcpy
	cmpl	%r12d, -80(%rbp)                ## 4-byte Folded Reload
	jne	LBB0_46
## %bb.49:                              ##   in Loop: Header=BB0_47 Depth=2
	movq	%r13, %rdi
	callq	__bt_mark_scankey_required
	jmp	LBB0_46
	.p2align	4, 0x90
LBB0_50:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	cmpl	-56(%rbp), %eax                 ## 4-byte Folded Reload
	je	LBB0_67
## %bb.51:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	-112(%rbp), %r12                ## 8-byte Reload
	movl	(%r12), %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	xorl	%esi, %esi
	movq	-136(%rbp), %rdx                ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memset
	movl	-116(%rbp), %eax                ## 4-byte Reload
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
LBB0_52:                                ##   in Loop: Header=BB0_14 Depth=1
	movslq	8(%r12), %r13
	movq	_SK_ROW_HEADER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r12)
	je	LBB0_57
## %bb.53:                              ##   in Loop: Header=BB0_14 Depth=1
	movslq	%r15d, %rax
	leaq	(%rax,%rax,2), %rax
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rbx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	decl	%eax
	cmpl	%eax, -80(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_55
## %bb.54:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	%rbx, %rdi
	callq	__bt_mark_scankey_required
LBB0_55:                                ##   in Loop: Header=BB0_14 Depth=1
	incl	%r15d
	xorl	%edi, %edi
	movq	_BTEqualStrategyNumber@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	setne	%dil
	callq	_Assert
LBB0_56:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	-112(%rbp), %r12                ## 8-byte Reload
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_57:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	-8(%r14,%r13,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_12
## %bb.58:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	%r12, %rdx
	leaq	-52(%rbp), %r8
	callq	__bt_compare_scankey_args
	testq	%rax, %rax
	je	LBB0_61
## %bb.59:                              ##   in Loop: Header=BB0_14 Depth=1
	cmpl	$0, -52(%rbp)
	jne	LBB0_12
## %bb.63:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	_BTEqualStrategyNumber@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jne	LBB0_13
	jmp	LBB0_64
LBB0_61:                                ##   in Loop: Header=BB0_14 Depth=1
	movslq	%r15d, %rax
	incl	%r15d
	leaq	(%rax,%rax,2), %rax
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rbx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	decl	%eax
	cmpl	%eax, -80(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_56
## %bb.62:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	%rbx, %rdi
	callq	__bt_mark_scankey_required
	jmp	LBB0_56
LBB0_64:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	$0, (%rax)
LBB0_65:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_68
## %bb.66:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_67:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	%r15d, 4(%rax)
	jmp	LBB0_65
LBB0_68:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_BTMaxStrategyNumber,4,2        ## @BTMaxStrategyNumber
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"btree index keys must be ordered by attribute"

	.comm	_BTEqualStrategyNumber,4,2      ## @BTEqualStrategyNumber
	.comm	_SK_SEARCHNULL,4,2              ## @SK_SEARCHNULL
	.comm	_BTLessStrategyNumber,4,2       ## @BTLessStrategyNumber
	.comm	_BTLessEqualStrategyNumber,4,2  ## @BTLessEqualStrategyNumber
	.comm	_BTGreaterStrategyNumber,4,2    ## @BTGreaterStrategyNumber
	.comm	_BTGreaterEqualStrategyNumber,4,2 ## @BTGreaterEqualStrategyNumber
	.comm	_SK_ROW_HEADER,4,2              ## @SK_ROW_HEADER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function _bt_preprocess_keys
lCPI0_0:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	__bt_preprocess_keys
	.p2align	2
__bt_preprocess_keys:                   ; @_bt_preprocess_keys
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #48
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldrsw	x19, [x0, #24]
	ldr	w26, [x0]
	stur	x0, [x29, #-104]                ; 8-byte Folded Spill
	ldr	x8, [x0, #16]
	ldr	x24, [x8]
Lloh3:
	adrp	x8, _BTMaxStrategyNumber@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BTMaxStrategyNumber@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	lsl	x8, x20, #3
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x23, x9, x8
	mov	sp, x23
Lloh8:
	adrp	x8, lCPI0_0@PAGE
Lloh9:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19]
	cmp	w26, #1
	b.lt	LBB0_63
; %bb.1:
	ldr	x22, [x19, #16]
	cbnz	x22, LBB0_3
; %bb.2:
	ldur	x8, [x29, #-104]                ; 8-byte Folded Reload
	ldr	x22, [x8, #8]
LBB0_3:
	ldr	x21, [x19, #8]
	ldr	w8, [x22]
	cmp	w8, #0
	b.le	LBB0_10
; %bb.4:
	cmp	w26, #1
	b.ne	LBB0_11
LBB0_5:
	mov	x0, x22
	mov	x1, x24
	bl	__bt_fix_scankey_strategy
	cbnz	w0, LBB0_7
; %bb.6:
	str	wzr, [x19]
LBB0_7:
	mov	x0, x21
	mov	x1, x22
	mov	w2, #4
	bl	_memcpy
	mov	w8, #1
	str	w8, [x19, #4]
	ldr	w8, [x22]
	cmp	w8, #1
	b.ne	LBB0_63
; %bb.8:
	ldur	x8, [x29, #-88]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_66
; %bb.9:
	mov	x0, x21
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	__bt_mark_scankey_required
LBB0_10:
Lloh13:
	adrp	x8, _ERROR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
	cmp	w26, #1
	b.eq	LBB0_5
LBB0_11:
	stp	x19, x24, [x29, #-128]          ; 16-byte Folded Spill
	lsl	w2, w20, #3
	mov	x0, x23
	mov	w1, #0
	stur	w2, [x29, #-112]                ; 4-byte Folded Spill
	bl	_memset
	mov	w24, #0
	mov	w27, #0
	mov	w25, #0
	mov	w19, #1
	ldur	x20, [x29, #-104]               ; 8-byte Folded Reload
	stur	w26, [x29, #-96]                ; 4-byte Folded Spill
	b	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_14 Depth=1
	add	w28, w28, #1
Lloh18:
	adrp	x8, _BTEqualStrategyNumber@GOTPAGE
Lloh19:
	ldr	x8, [x8, _BTEqualStrategyNumber@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	cmp	w25, w8
	cset	w0, ne
	bl	_Assert
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x22, x22, #12
	add	w24, w24, #1
	mov	x25, x28
	ldur	w26, [x29, #-96]                ; 4-byte Folded Reload
LBB0_14:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_24 Depth 2
                                        ;     Child Loop BB0_44 Depth 2
	cmp	w24, w26
	b.ge	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x22
	ldur	x1, [x29, #-120]                ; 8-byte Folded Reload
	bl	__bt_fix_scankey_strategy
	cbz	w0, LBB0_62
LBB0_16:                                ;   in Loop: Header=BB0_14 Depth=1
	cmp	w24, w26
	b.eq	LBB0_19
; %bb.17:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	w8, [x22]
	cmp	w8, w19
	b.ne	LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x28, x25
	b	LBB0_50
LBB0_19:                                ;   in Loop: Header=BB0_14 Depth=1
	cmp	w24, w26
	b.ge	LBB0_22
; %bb.20:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	w8, [x22]
	cmp	w8, w19
	b.ge	LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_14 Depth=1
Lloh21:
	adrp	x8, _ERROR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
Lloh24:
	adrp	x1, l_.str@PAGE
Lloh25:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
LBB0_22:                                ;   in Loop: Header=BB0_14 Depth=1
Lloh26:
	adrp	x8, _BTEqualStrategyNumber@GOTPAGE
Lloh27:
	ldr	x8, [x8, _BTEqualStrategyNumber@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	sub	w9, w8, #1
	ldr	x26, [x23, w9, sxtw #3]
	mov	x9, x27
	cbz	x26, LBB0_32
; %bb.23:                               ;   in Loop: Header=BB0_14 Depth=1
	stur	w19, [x29, #-108]               ; 4-byte Folded Spill
Lloh29:
	adrp	x9, _BTMaxStrategyNumber@GOTPAGE
Lloh30:
	ldr	x9, [x9, _BTMaxStrategyNumber@GOTPAGEOFF]
Lloh31:
	ldr	w28, [x9]
	cmp	w28, #1
	b.lt	LBB0_31
LBB0_24:                                ;   Parent Loop BB0_14 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sub	w19, w28, #1
	ldr	x1, [x23, w19, uxtw #3]
	mov	w8, w8
	cmp	x1, #0
	ccmp	x28, x8, #4, ne
	b.eq	LBB0_29
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=2
	ldr	w8, [x26, #4]
Lloh32:
	adrp	x9, _SK_SEARCHNULL@GOTPAGE
Lloh33:
	ldr	x9, [x9, _SK_SEARCHNULL@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_62
; %bb.26:                               ;   in Loop: Header=BB0_24 Depth=2
	sub	x4, x29, #92
	mov	x0, x20
	mov	x2, x26
	mov	x3, x1
	bl	__bt_compare_scankey_args
	cbz	x0, LBB0_29
; %bb.27:                               ;   in Loop: Header=BB0_24 Depth=2
	ldur	w8, [x29, #-92]
	cbz	w8, LBB0_62
; %bb.28:                               ;   in Loop: Header=BB0_24 Depth=2
	str	xzr, [x23, x19, lsl #3]
LBB0_29:                                ;   in Loop: Header=BB0_24 Depth=2
	cmp	x28, #2
	b.lo	LBB0_31
; %bb.30:                               ;   in Loop: Header=BB0_24 Depth=2
Lloh35:
	adrp	x8, _BTEqualStrategyNumber@GOTPAGE
Lloh36:
	ldr	x8, [x8, _BTEqualStrategyNumber@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	sub	x28, x28, #1
	b	LBB0_24
LBB0_31:                                ;   in Loop: Header=BB0_14 Depth=1
	add	w9, w27, #1
	ldur	w19, [x29, #-108]               ; 4-byte Folded Reload
LBB0_32:                                ;   in Loop: Header=BB0_14 Depth=1
	stur	w9, [x29, #-108]                ; 4-byte Folded Spill
Lloh38:
	adrp	x8, _BTLessStrategyNumber@GOTPAGE
Lloh39:
	ldr	x8, [x8, _BTLessStrategyNumber@GOTPAGEOFF]
Lloh40:
	ldrsw	x8, [x8]
	add	x8, x23, x8, lsl #3
	ldur	x2, [x8, #-8]
	cbz	x2, LBB0_36
; %bb.33:                               ;   in Loop: Header=BB0_14 Depth=1
Lloh41:
	adrp	x8, _BTLessEqualStrategyNumber@GOTPAGE
Lloh42:
	ldr	x8, [x8, _BTLessEqualStrategyNumber@GOTPAGEOFF]
Lloh43:
	ldrsw	x8, [x8]
	add	x8, x23, x8, lsl #3
	ldur	x1, [x8, #-8]
	cbz	x1, LBB0_36
; %bb.34:                               ;   in Loop: Header=BB0_14 Depth=1
	sub	x4, x29, #92
	mov	x0, x20
	mov	x3, x1
	bl	__bt_compare_scankey_args
	cbz	x0, LBB0_36
; %bb.35:                               ;   in Loop: Header=BB0_14 Depth=1
	ldur	w8, [x29, #-92]
	cmp	w8, #0
Lloh44:
	adrp	x8, _BTLessStrategyNumber@GOTPAGE
Lloh45:
	ldr	x8, [x8, _BTLessStrategyNumber@GOTPAGEOFF]
Lloh46:
	adrp	x9, _BTLessEqualStrategyNumber@GOTPAGE
Lloh47:
	ldr	x9, [x9, _BTLessEqualStrategyNumber@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	ldr	w8, [x8]
	sub	w8, w8, #1
	str	xzr, [x23, w8, sxtw #3]
LBB0_36:                                ;   in Loop: Header=BB0_14 Depth=1
Lloh48:
	adrp	x8, _BTGreaterStrategyNumber@GOTPAGE
Lloh49:
	ldr	x8, [x8, _BTGreaterStrategyNumber@GOTPAGEOFF]
Lloh50:
	ldrsw	x8, [x8]
	add	x8, x23, x8, lsl #3
	ldur	x2, [x8, #-8]
	cbz	x2, LBB0_40
; %bb.37:                               ;   in Loop: Header=BB0_14 Depth=1
Lloh51:
	adrp	x8, _BTGreaterEqualStrategyNumber@GOTPAGE
Lloh52:
	ldr	x8, [x8, _BTGreaterEqualStrategyNumber@GOTPAGEOFF]
Lloh53:
	ldrsw	x8, [x8]
	add	x8, x23, x8, lsl #3
	ldur	x1, [x8, #-8]
	cbz	x1, LBB0_40
; %bb.38:                               ;   in Loop: Header=BB0_14 Depth=1
	sub	x4, x29, #92
	mov	x0, x20
	mov	x3, x1
	bl	__bt_compare_scankey_args
	cbz	x0, LBB0_40
; %bb.39:                               ;   in Loop: Header=BB0_14 Depth=1
	ldur	w8, [x29, #-92]
	cmp	w8, #0
Lloh54:
	adrp	x8, _BTGreaterStrategyNumber@GOTPAGE
Lloh55:
	ldr	x8, [x8, _BTGreaterStrategyNumber@GOTPAGEOFF]
Lloh56:
	adrp	x9, _BTGreaterEqualStrategyNumber@GOTPAGE
Lloh57:
	ldr	x9, [x9, _BTGreaterEqualStrategyNumber@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	ldr	w8, [x8]
	sub	w8, w8, #1
	str	xzr, [x23, w8, sxtw #3]
LBB0_40:                                ;   in Loop: Header=BB0_14 Depth=1
Lloh58:
	adrp	x8, _BTMaxStrategyNumber@GOTPAGE
Lloh59:
	ldr	x8, [x8, _BTMaxStrategyNumber@GOTPAGEOFF]
Lloh60:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_47
; %bb.41:                               ;   in Loop: Header=BB0_14 Depth=1
	sub	w20, w19, #1
	add	x19, x8, #1
	b	LBB0_44
LBB0_42:                                ;   in Loop: Header=BB0_44 Depth=2
	mov	x28, x25
LBB0_43:                                ;   in Loop: Header=BB0_44 Depth=2
	sub	x19, x19, #1
	mov	x25, x28
	cmp	x19, #1
	b.ls	LBB0_48
LBB0_44:                                ;   Parent Loop BB0_14 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sub	w8, w19, #2
	ldr	x1, [x23, w8, uxtw #3]
	cbz	x1, LBB0_42
; %bb.45:                               ;   in Loop: Header=BB0_44 Depth=2
	add	w28, w25, #1
	mov	w8, #12
	smaddl	x26, w25, w8, x21
	mov	x0, x26
	mov	w2, #4
	bl	_memcpy
	cmp	w27, w20
	b.ne	LBB0_43
; %bb.46:                               ;   in Loop: Header=BB0_44 Depth=2
	mov	x0, x26
	bl	__bt_mark_scankey_required
	b	LBB0_43
LBB0_47:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	x28, x25
LBB0_48:                                ;   in Loop: Header=BB0_14 Depth=1
	ldur	w8, [x29, #-96]                 ; 4-byte Folded Reload
	cmp	w24, w8
	b.eq	LBB0_65
; %bb.49:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	w19, [x22]
	mov	x0, x23
	mov	w1, #0
	ldur	w2, [x29, #-112]                ; 4-byte Folded Reload
	bl	_memset
	ldur	w27, [x29, #-108]               ; 4-byte Folded Reload
	ldur	x20, [x29, #-104]               ; 8-byte Folded Reload
LBB0_50:                                ;   in Loop: Header=BB0_14 Depth=1
	ldp	w8, w25, [x22, #4]
                                        ; kill: def $w25 killed $w25 def $x25
	sxtw	x25, w25
Lloh61:
	adrp	x9, _SK_ROW_HEADER@GOTPAGE
Lloh62:
	ldr	x9, [x9, _SK_ROW_HEADER@GOTPAGEOFF]
Lloh63:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_53
; %bb.51:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	w8, #12
	smaddl	x26, w28, w8, x21
	mov	x0, x26
	mov	x1, x22
	mov	w2, #4
	bl	_memcpy
	sub	w8, w19, #1
	cmp	w27, w8
	b.ne	LBB0_12
; %bb.52:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x26
	bl	__bt_mark_scankey_required
	b	LBB0_12
LBB0_53:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	x26, x19
	sub	x19, x25, #1
	ldr	x3, [x23, x19, lsl #3]
	cbz	x3, LBB0_56
; %bb.54:                               ;   in Loop: Header=BB0_14 Depth=1
	sub	x4, x29, #92
	mov	x0, x20
	mov	x1, x22
	mov	x2, x22
	bl	__bt_compare_scankey_args
	cbz	x0, LBB0_57
; %bb.55:                               ;   in Loop: Header=BB0_14 Depth=1
	ldur	w8, [x29, #-92]
	cbz	w8, LBB0_61
LBB0_56:                                ;   in Loop: Header=BB0_14 Depth=1
	str	x22, [x23, x19, lsl #3]
	b	LBB0_60
LBB0_57:                                ;   in Loop: Header=BB0_14 Depth=1
	add	w19, w28, #1
	mov	w8, #12
	smaddl	x25, w28, w8, x21
	mov	x0, x25
	mov	x1, x22
	mov	w2, #4
	bl	_memcpy
	sub	w8, w26, #1
	cmp	w27, w8
	b.ne	LBB0_59
; %bb.58:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x25
	bl	__bt_mark_scankey_required
LBB0_59:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	x28, x19
LBB0_60:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	x19, x26
	b	LBB0_13
LBB0_61:                                ;   in Loop: Header=BB0_14 Depth=1
Lloh64:
	adrp	x8, _BTEqualStrategyNumber@GOTPAGE
Lloh65:
	ldr	x8, [x8, _BTEqualStrategyNumber@GOTPAGEOFF]
Lloh66:
	ldr	w8, [x8]
	cmp	w25, w8
	mov	x19, x26
	b.ne	LBB0_13
LBB0_62:
	ldur	x8, [x29, #-128]                ; 8-byte Folded Reload
	str	wzr, [x8]
LBB0_63:
	ldur	x8, [x29, #-88]
Lloh67:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh68:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh69:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_66
; %bb.64:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_65:
	ldur	x8, [x29, #-128]                ; 8-byte Folded Reload
	str	w28, [x8, #4]
	b	LBB0_63
LBB0_66:
	bl	___stack_chk_fail
	.loh AdrpLdr	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.cfi_endproc
                                        ; -- End function
	.comm	_BTMaxStrategyNumber,4,2        ; @BTMaxStrategyNumber
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"btree index keys must be ordered by attribute"

	.comm	_BTEqualStrategyNumber,4,2      ; @BTEqualStrategyNumber
	.comm	_SK_SEARCHNULL,4,2              ; @SK_SEARCHNULL
	.comm	_BTLessStrategyNumber,4,2       ; @BTLessStrategyNumber
	.comm	_BTLessEqualStrategyNumber,4,2  ; @BTLessEqualStrategyNumber
	.comm	_BTGreaterStrategyNumber,4,2    ; @BTGreaterStrategyNumber
	.comm	_BTGreaterEqualStrategyNumber,4,2 ; @BTGreaterEqualStrategyNumber
	.comm	_SK_ROW_HEADER,4,2              ; @SK_ROW_HEADER
.subsections_via_symbols
