	.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_deltasortsplits
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
LCPI0_1:
	.quad	0x8000000000000000              ## double -0
	.quad	0x8000000000000000              ## double -0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
__bt_deltasortsplits:                   ## @_bt_deltasortsplits
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %eax
	movl	(%rdi), %esi
	movq	8(%rdi), %rdi
	testl	%esi, %esi
	jle	LBB0_13
## %bb.1:
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	subsd	%xmm0, %xmm1
	xorpd	LCPI0_1(%rip), %xmm1
	cmpl	$2, %esi
	ja	LBB0_6
## %bb.2:
	xorl	%r8d, %r8d
LBB0_3:
	leaq	(%r8,%r8,2), %rcx
	leaq	(%rdi,%rcx,8), %rdx
	addq	$16, %rdx
	movq	%rsi, %rcx
	subq	%r8, %rcx
	movapd	LCPI0_1(%rip), %xmm2            ## xmm2 = [-0.0E+0,-0.0E+0]
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	mulsd	%xmm1, %xmm4
	mulsd	%xmm0, %xmm3
	addsd	%xmm4, %xmm3
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movapd	%xmm3, %xmm4
	xorpd	%xmm2, %xmm4
	maxsd	%xmm3, %xmm4
	movsd	%xmm4, (%rdx)
	addq	$24, %rdx
	decq	%rcx
	je	LBB0_13
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movsd	-16(%rdx), %xmm3                ## xmm3 = mem[0],zero
	movsd	-8(%rdx), %xmm4                 ## xmm4 = mem[0],zero
	testl	%eax, %eax
	jne	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	subsd	%xmm4, %xmm3
	jmp	LBB0_12
LBB0_13:
	movq	__bt_splitcmp@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
                                        ## kill: def $esi killed $esi killed $rsi
	movl	$24, %edx
	popq	%rbp
	jmp	_qsort                          ## TAILCALL
LBB0_6:
	movl	%esi, %ecx
	andl	$1, %ecx
	testq	%rcx, %rcx
	movl	$2, %edx
	cmovneq	%rcx, %rdx
	movq	%rsi, %r8
	subq	%rdx, %r8
	movddup	%xmm1, %xmm2                    ## xmm2 = xmm1[0,0]
	movddup	%xmm0, %xmm3                    ## xmm3 = xmm0[0,0]
	leaq	40(%rdi), %rdx
	movapd	LCPI0_1(%rip), %xmm4            ## xmm4 = [-0.0E+0,-0.0E+0]
	movq	%r8, %rcx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	mulpd	%xmm2, %xmm6
	mulpd	%xmm3, %xmm5
	addpd	%xmm6, %xmm5
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	movapd	%xmm5, %xmm6
	xorpd	%xmm4, %xmm6
	maxpd	%xmm5, %xmm6
	movlpd	%xmm6, -24(%rdx)
	movhpd	%xmm6, (%rdx)
	addq	$48, %rdx
	addq	$-2, %rcx
	je	LBB0_3
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movsd	-40(%rdx), %xmm5                ## xmm5 = mem[0],zero
	movhpd	-16(%rdx), %xmm5                ## xmm5 = xmm5[0],mem[0]
	movsd	-32(%rdx), %xmm6                ## xmm6 = mem[0],zero
	movhpd	-8(%rdx), %xmm6                 ## xmm6 = xmm6[0],mem[0]
	testl	%eax, %eax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	subpd	%xmm6, %xmm5
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	__bt_splitcmp,4,2               ## @_bt_splitcmp
	.no_dead_strip	__bt_deltasortsplits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _bt_deltasortsplits
__bt_deltasortsplits:                   ; @_bt_deltasortsplits
	.cfi_startproc
; %bb.0:
	mov	x8, x1
                                        ; kill: def $d0 killed $d0 def $q0
	ldr	w1, [x0]
	ldr	x0, [x0, #8]
	cmp	w1, #1
	b.lt	LBB0_7
; %bb.1:
	fmov	d1, #1.00000000
	fsub	d1, d1, d0
	fneg	d1, d1
	cmp	w1, #2
	b.hi	LBB0_3
; %bb.2:
	mov	x9, #0
	b	LBB0_5
LBB0_3:
	ands	x9, x1, #0x1
	mov	w10, #2
	csel	x9, x10, x9, eq
	sub	x9, x1, x9
	dup.2d	v2, v0[0]
	fmov	s3, w8
	mov	x10, x9
	mov	x12, x0
	mov	x11, x0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	fmov	s4, wzr
	cmeq.4s	v4, v3, v4
	dup.4s	v4, v4[0]
	ld3.2d	{ v5, v6, v7 }, [x11], #48
	fmul.2d	v16, v6, v1[0]
	fmla.2d	v16, v5, v2
	fsub.2d	v5, v5, v6
	bsl.16b	v4, v5, v16
	fcmlt.2d	v5, v4, #0.0
	fneg.2d	v6, v4
	bit.16b	v4, v6, v5
	add	x13, x12, #40
	str	d4, [x12, #16]
	st1.d	{ v4 }[1], [x13]
	mov	x12, x11
	subs	x10, x10, #2
	b.ne	LBB0_4
LBB0_5:
	mov	w10, #24
	madd	x10, x9, x10, x0
	add	x10, x10, #16
	sub	x9, x1, x9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldp	d2, d3, [x10, #-16]
	fmul	d4, d3, d1
	fmadd	d4, d0, d2, d4
	fsub	d2, d2, d3
	cmp	w8, #0
	fcsel	d2, d2, d4, eq
	fneg	d3, d2
	fcmp	d2, #0.0
	fcsel	d2, d3, d2, mi
	str	d2, [x10], #24
	subs	x9, x9, #1
	b.ne	LBB0_6
LBB0_7:
Lloh0:
	adrp	x8, __bt_splitcmp@GOTPAGE
Lloh1:
	ldr	x8, [x8, __bt_splitcmp@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	w2, #24
	b	_qsort
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	__bt_splitcmp,4,2               ; @_bt_splitcmp
	.no_dead_strip	__bt_deltasortsplits
.subsections_via_symbols
