	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _bt_strategy
__bt_strategy:                          ## @_bt_strategy
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movl	16(%rdi), %edi
	callq	_IndexRelationGetNumberOfKeyAttributes
	movl	%eax, %r15d
	movq	_SPLIT_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	cmpl	$0, 32(%rbx)
	je	LBB0_1
## %bb.2:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	leaq	-64(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	movq	%rbx, %rdi
	callq	__bt_interval_edges
	movq	-64(%rbp), %rsi
	movq	%rbx, %rdi
	callq	__bt_split_lastleft
	movq	%rax, %r12
	movq	-56(%rbp), %rsi
	movq	%rbx, %rdi
	callq	__bt_split_firstright
	movl	16(%rbx), %edi
	movq	%r12, %rsi
	movq	%rax, %rdx
	callq	__bt_keep_natts_fast
	cmpl	%r15d, %eax
	jle	LBB0_8
## %bb.3:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	__bt_split_lastleft
	movq	%rax, %r12
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	__bt_split_firstright
	movl	16(%rbx), %edi
	movq	%r12, %rsi
	movq	%rax, %rdx
	callq	__bt_keep_natts_fast
	cmpl	%r15d, %eax
	jle	LBB0_4
## %bb.5:
	cmpq	$0, 24(%rbx)
	jne	LBB0_7
## %bb.6:
	movl	20(%rbx), %edi
	movq	_P_HIKEY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_PageGetItemId
	movl	20(%rbx), %edi
	movl	%eax, %esi
	callq	_PageGetItem
	movl	16(%rbx), %edi
	movq	8(%rbx), %rdx
	movq	%rax, %rsi
	callq	__bt_keep_natts_fast
	cmpl	%r15d, %eax
	jg	LBB0_8
LBB0_7:
	movq	_SPLIT_SINGLE_VALUE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%r14)
	jmp	LBB0_8
LBB0_1:
	movl	(%rbx), %eax
	jmp	LBB0_8
LBB0_4:
	movq	_SPLIT_MANY_DUPLICATES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movl	%r15d, %eax
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SPLIT_DEFAULT,4,2              ## @SPLIT_DEFAULT
	.comm	_SPLIT_MANY_DUPLICATES,4,2      ## @SPLIT_MANY_DUPLICATES
	.comm	_SPLIT_SINGLE_VALUE,4,2         ## @SPLIT_SINGLE_VALUE
	.comm	_P_HIKEY,4,2                    ## @P_HIKEY
	.no_dead_strip	__bt_strategy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _bt_strategy
__bt_strategy:                          ; @_bt_strategy
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x3
	mov	x22, x2
	mov	x23, x1
	mov	x21, x0
	ldr	w0, [x0, #16]
	bl	_IndexRelationGetNumberOfKeyAttributes
Lloh0:
	adrp	x8, _SPLIT_DEFAULT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SPLIT_DEFAULT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19]
	ldr	w8, [x21, #32]
	cbz	w8, LBB0_6
; %bb.1:
	mov	x20, x0
	add	x1, sp, #8
	mov	x2, sp
	mov	x0, x21
	bl	__bt_interval_edges
	ldr	x1, [sp, #8]
	mov	x0, x21
	bl	__bt_split_lastleft
	mov	x24, x0
	ldr	x1, [sp]
	mov	x0, x21
	bl	__bt_split_firstright
	mov	x2, x0
	ldr	w0, [x21, #16]
	mov	x1, x24
	bl	__bt_keep_natts_fast
	cmp	w0, w20
	b.le	LBB0_8
; %bb.2:
	mov	x0, x21
	mov	x1, x23
	bl	__bt_split_lastleft
	mov	x23, x0
	mov	x0, x21
	mov	x1, x22
	bl	__bt_split_firstright
	mov	x2, x0
	ldr	w0, [x21, #16]
	mov	x1, x23
	bl	__bt_keep_natts_fast
	cmp	w0, w20
	b.le	LBB0_7
; %bb.3:
	ldr	x8, [x21, #24]
	cbnz	x8, LBB0_5
; %bb.4:
	ldr	w0, [x21, #20]
Lloh3:
	adrp	x8, _P_HIKEY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _P_HIKEY@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_PageGetItemId
	mov	x1, x0
	ldr	w0, [x21, #20]
	bl	_PageGetItem
	mov	x1, x0
	ldr	w0, [x21, #16]
	ldr	x2, [x21, #8]
	bl	__bt_keep_natts_fast
	cmp	w0, w20
	b.gt	LBB0_8
LBB0_5:
Lloh6:
	adrp	x8, _SPLIT_SINGLE_VALUE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SPLIT_SINGLE_VALUE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19]
	b	LBB0_8
LBB0_6:
	ldr	w0, [x21]
	b	LBB0_8
LBB0_7:
Lloh9:
	adrp	x8, _SPLIT_MANY_DUPLICATES@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SPLIT_MANY_DUPLICATES@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x19]
	mov	x0, x20
LBB0_8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_SPLIT_DEFAULT,4,2              ; @SPLIT_DEFAULT
	.comm	_SPLIT_MANY_DUPLICATES,4,2      ; @SPLIT_MANY_DUPLICATES
	.comm	_SPLIT_SINGLE_VALUE,4,2         ; @SPLIT_SINGLE_VALUE
	.comm	_P_HIKEY,4,2                    ; @P_HIKEY
	.no_dead_strip	__bt_strategy
.subsections_via_symbols
