	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bch_btree_sort_into            ## -- Begin function bch_btree_sort_into
	.p2align	4, 0x90
_bch_btree_sort_into:                   ## @bch_btree_sort_into
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_local_clock
	movl	%eax, %r12d
	leaq	-48(%rbp), %r13
	movq	%rbx, %rdi
	movq	%r13, %rsi
	xorl	%edx, %edx
	callq	_bch_btree_iter_init
	movq	(%r15), %rax
	movl	8(%rax), %esi
	movq	%rbx, %rdi
	movq	%r13, %rdx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	callq	_btree_mergesort
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_bch_time_stats_update
	movq	(%r15), %rax
	movq	$0, (%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bch_btree_sort_into            ; -- Begin function bch_btree_sort_into
	.p2align	2
_bch_btree_sort_into:                   ; @bch_btree_sort_into
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
	bl	_local_clock
	mov	x22, x0
	add	x1, sp, #8
	mov	x0, x21
	mov	x2, #0
	bl	_bch_btree_iter_init
	ldr	x8, [x20]
	ldr	w1, [x8, #8]
	add	x2, sp, #8
	mov	x0, x21
	mov	w3, #0
	mov	w4, #1
	bl	_btree_mergesort
	mov	x0, x19
	mov	x1, x22
	bl	_bch_time_stats_update
	ldr	x8, [x20]
	str	xzr, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
