	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function __rec_dleaf
LCPI0_0:
	.quad	2147483648                      ## 0x80000000
	.quad	2147483648                      ## 0x80000000
	.section	__TEXT,__text,regular,pure_instructions
	.globl	___rec_dleaf
	.p2align	4, 0x90
___rec_dleaf:                           ## @__rec_dleaf
	.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
	movl	%edx, %r12d
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	%rsi, %rdi
	movl	%edx, %esi
	callq	_GETRLEAF
	movq	%rax, %rbx
	movq	_P_BIGDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_2
## %bb.1:
	movl	4(%rbx), %esi
	movq	%r14, %rdi
	callq	___ovfl_delete
	movq	_RET_ERROR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_27
LBB0_2:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_NRLEAF
	movslq	(%r15), %rsi
	addq	%r15, %rsi
	movslq	%eax, %r13
	leaq	(%rsi,%r13), %rdi
	subl	%esi, %ebx
	movl	%ebx, %edx
	callq	_memmove
	addl	%r13d, (%r15)
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	8(%r15), %r15
	movslq	%r12d, %rax
	movq	(%r15,%rax,8), %rbx
	movq	%r15, %r14
	testl	%r12d, %r12d
	je	LBB0_14
## %bb.3:
	testb	$1, %al
	jne	LBB0_5
## %bb.4:
	movq	%r15, %r14
	cmpl	$1, %r12d
	jne	LBB0_9
	jmp	LBB0_14
LBB0_5:
	movq	(%r15), %rcx
	cmpq	%rbx, %rcx
	jge	LBB0_7
## %bb.6:
	addq	%r13, %rcx
	movq	%rcx, (%r15)
LBB0_7:
	decq	%rax
	leaq	8(%r15), %r14
	cmpl	$1, %r12d
	jne	LBB0_9
LBB0_14:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_NEXTINDEX
	leaq	(%r15,%rax,8), %rax
	subq	%r14, %rax
	sarq	$3, %rax
	decq	%rax
	je	LBB0_26
## %bb.15:
	cmpq	$4, %rax
	jb	LBB0_24
## %bb.16:
	movq	%rax, %rcx
	andq	$-4, %rcx
	movq	%rbx, %xmm0
	pshufd	$68, %xmm0, %xmm8               ## xmm8 = xmm0[0,1,0,1]
	movq	%r13, %xmm0
	pshufd	$68, %xmm0, %xmm10              ## xmm10 = xmm0[0,1,0,1]
	leaq	-4(%rcx), %rdx
	movq	%rdx, %rsi
	shrq	$2, %rsi
	incq	%rsi
	testq	%rdx, %rdx
	je	LBB0_17
## %bb.18:
	movq	%rsi, %rdi
	andq	$-2, %rdi
	xorl	%edx, %edx
	movdqa	LCPI0_0(%rip), %xmm9            ## xmm9 = [2147483648,2147483648]
	movdqa	%xmm8, %xmm2
	pxor	%xmm9, %xmm2
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movdqu	8(%r14,%rdx,8), %xmm1
	movdqu	24(%r14,%rdx,8), %xmm6
	movdqu	40(%r14,%rdx,8), %xmm5
	movdqu	56(%r14,%rdx,8), %xmm11
	movdqa	%xmm1, %xmm7
	pxor	%xmm9, %xmm7
	movdqa	%xmm2, %xmm3
	pcmpgtd	%xmm7, %xmm3
	pshufd	$160, %xmm3, %xmm0              ## xmm0 = xmm3[0,0,2,2]
	pcmpeqd	%xmm2, %xmm7
	pshufd	$245, %xmm7, %xmm7              ## xmm7 = xmm7[1,1,3,3]
	pand	%xmm0, %xmm7
	pshufd	$245, %xmm3, %xmm0              ## xmm0 = xmm3[1,1,3,3]
	por	%xmm7, %xmm0
	movdqa	%xmm6, %xmm3
	pxor	%xmm9, %xmm3
	movdqa	%xmm2, %xmm7
	pcmpgtd	%xmm3, %xmm7
	pshufd	$160, %xmm7, %xmm4              ## xmm4 = xmm7[0,0,2,2]
	pcmpeqd	%xmm2, %xmm3
	pshufd	$245, %xmm3, %xmm3              ## xmm3 = xmm3[1,1,3,3]
	pand	%xmm4, %xmm3
	pshufd	$245, %xmm7, %xmm4              ## xmm4 = xmm7[1,1,3,3]
	por	%xmm3, %xmm4
	pand	%xmm10, %xmm0
	pand	%xmm10, %xmm4
	paddq	%xmm1, %xmm0
	paddq	%xmm6, %xmm4
	movdqu	%xmm0, (%r14,%rdx,8)
	movdqu	%xmm4, 16(%r14,%rdx,8)
	movdqa	%xmm5, %xmm0
	pxor	%xmm9, %xmm0
	movdqa	%xmm2, %xmm1
	pcmpgtd	%xmm0, %xmm1
	pshufd	$160, %xmm1, %xmm3              ## xmm3 = xmm1[0,0,2,2]
	pcmpeqd	%xmm2, %xmm0
	pshufd	$245, %xmm0, %xmm0              ## xmm0 = xmm0[1,1,3,3]
	pand	%xmm3, %xmm0
	pshufd	$245, %xmm1, %xmm1              ## xmm1 = xmm1[1,1,3,3]
	por	%xmm0, %xmm1
	movdqa	%xmm11, %xmm0
	pxor	%xmm9, %xmm0
	movdqa	%xmm2, %xmm3
	pcmpgtd	%xmm0, %xmm3
	pshufd	$160, %xmm3, %xmm4              ## xmm4 = xmm3[0,0,2,2]
	pcmpeqd	%xmm2, %xmm0
	pshufd	$245, %xmm0, %xmm0              ## xmm0 = xmm0[1,1,3,3]
	pand	%xmm4, %xmm0
	pshufd	$245, %xmm3, %xmm3              ## xmm3 = xmm3[1,1,3,3]
	por	%xmm0, %xmm3
	pand	%xmm10, %xmm1
	pand	%xmm10, %xmm3
	paddq	%xmm5, %xmm1
	paddq	%xmm11, %xmm3
	movdqu	%xmm1, 32(%r14,%rdx,8)
	movdqu	%xmm3, 48(%r14,%rdx,8)
	addq	$8, %rdx
	addq	$-2, %rdi
	jne	LBB0_19
## %bb.20:
	testb	$1, %sil
	je	LBB0_22
LBB0_21:
	movdqu	8(%r14,%rdx,8), %xmm3
	movdqu	24(%r14,%rdx,8), %xmm2
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [2147483648,2147483648]
	pxor	%xmm0, %xmm8
	movdqa	%xmm3, %xmm1
	pxor	%xmm0, %xmm1
	movdqa	%xmm8, %xmm4
	pcmpgtd	%xmm1, %xmm4
	pshufd	$160, %xmm4, %xmm5              ## xmm5 = xmm4[0,0,2,2]
	pcmpeqd	%xmm8, %xmm1
	pshufd	$245, %xmm1, %xmm1              ## xmm1 = xmm1[1,1,3,3]
	pand	%xmm5, %xmm1
	pshufd	$245, %xmm4, %xmm4              ## xmm4 = xmm4[1,1,3,3]
	por	%xmm1, %xmm4
	pxor	%xmm2, %xmm0
	movdqa	%xmm8, %xmm1
	pcmpgtd	%xmm0, %xmm1
	pshufd	$160, %xmm1, %xmm5              ## xmm5 = xmm1[0,0,2,2]
	pcmpeqd	%xmm8, %xmm0
	pshufd	$245, %xmm0, %xmm0              ## xmm0 = xmm0[1,1,3,3]
	pand	%xmm5, %xmm0
	pshufd	$245, %xmm1, %xmm1              ## xmm1 = xmm1[1,1,3,3]
	por	%xmm0, %xmm1
	pand	%xmm10, %xmm4
	pand	%xmm10, %xmm1
	paddq	%xmm3, %xmm4
	paddq	%xmm2, %xmm1
	movdqu	%xmm4, (%r14,%rdx,8)
	movdqu	%xmm1, 16(%r14,%rdx,8)
LBB0_22:
	cmpq	%rcx, %rax
	je	LBB0_26
## %bb.23:
	andl	$3, %eax
	leaq	(%r14,%rcx,8), %r14
LBB0_24:
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r14,%rcx,8), %rdx
	cmpq	%rbx, %rdx
	movl	$0, %esi
	cmovlq	%r13, %rsi
	addq	%rdx, %rsi
	movq	%rsi, (%r14,%rcx,8)
	incq	%rcx
	cmpq	%rcx, %rax
	jne	LBB0_25
LBB0_26:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addl	$-8, 16(%rax)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	decl	(%rax)
	movq	_RET_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_27:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_9 Depth=1
	addq	$16, %r14
	testq	%rax, %rax
	je	LBB0_14
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rcx
	cmpq	%rbx, %rcx
	jge	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	addq	%r13, %rcx
	movq	%rcx, (%r14)
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	addq	$-2, %rax
	movq	8(%r14), %rcx
	cmpq	%rbx, %rcx
	jge	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	addq	%r13, %rcx
	movq	%rcx, 8(%r14)
	jmp	LBB0_13
LBB0_17:
	xorl	%edx, %edx
	testb	$1, %sil
	jne	LBB0_21
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_P_BIGDATA,4,2                  ## @P_BIGDATA
	.comm	_RET_ERROR,8,3                  ## @RET_ERROR
	.comm	_RET_SUCCESS,4,2                ## @RET_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___rec_dleaf                    ; -- Begin function __rec_dleaf
	.p2align	2
___rec_dleaf:                           ; @__rec_dleaf
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	mov	x1, x2
	bl	_GETRLEAF
	mov	x22, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _P_BIGDATA@GOTPAGE
Lloh1:
	ldr	x9, [x9, _P_BIGDATA@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	w1, [x22, #4]
	mov	x0, x19
	bl	___ovfl_delete
Lloh3:
	adrp	x8, _RET_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RET_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_36
LBB0_2:
	mov	x0, x22
	bl	_NRLEAF
	mov	x23, x0
	ldrsw	x8, [x20]
	sxtw	x24, w23
	add	x1, x20, x8
	add	x0, x1, x24
	sub	w2, w22, w1
	bl	_memmove
	ldr	w8, [x20]
	add	w8, w8, w23
	str	w8, [x20]
	ldr	x25, [x20, #8]
	ldr	x22, [x25, w21, sxtw #3]
	cbz	w21, LBB0_22
; %bb.3:
	sxtw	x9, w21
	mov	x8, x9
	mov	x23, x25
	cmp	w21, #8
	b.lo	LBB0_28
; %bb.4:
	and	x10, x9, #0xfffffffffffffff8
	and	x8, x9, #0x7
	add	x23, x25, x10, lsl #3
	dup.2d	v0, x22
	add	x11, x25, #32
	mov	x12, x10
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x11, x11, #64
	subs	x12, x12, #8
	b.eq	LBB0_23
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldur	q1, [x11, #-32]
	cmgt.2d	v2, v0, v1
	xtn.2s	v2, v2
	fmov	w13, s2
	tbz	w13, #0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	fmov	x13, d1
	add	x13, x13, x24
	stur	x13, [x11, #-32]
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov.s	w13, v2[1]
	tbz	w13, #0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	mov.d	x13, v1[1]
	add	x13, x13, x24
	stur	x13, [x11, #-24]
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	ldur	q1, [x11, #-16]
	cmgt.2d	v2, v0, v1
	xtn.2s	v2, v2
	fmov	w13, s2
	tbz	w13, #0, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	fmov	x13, d1
	add	x13, x13, x24
	stur	x13, [x11, #-16]
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	mov.s	w13, v2[1]
	tbz	w13, #0, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	mov.d	x13, v1[1]
	add	x13, x13, x24
	stur	x13, [x11, #-8]
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	q1, [x11]
	cmgt.2d	v2, v0, v1
	xtn.2s	v2, v2
	fmov	w13, s2
	tbz	w13, #0, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=1
	fmov	x13, d1
	add	x13, x13, x24
	str	x13, [x11]
LBB0_16:                                ;   in Loop: Header=BB0_6 Depth=1
	mov.s	w13, v2[1]
	tbz	w13, #0, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_6 Depth=1
	mov.d	x13, v1[1]
	add	x13, x13, x24
	str	x13, [x11, #8]
LBB0_18:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	q1, [x11, #16]
	cmgt.2d	v2, v0, v1
	xtn.2s	v2, v2
	fmov	w13, s2
	tbz	w13, #0, LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_6 Depth=1
	fmov	x13, d1
	add	x13, x13, x24
	str	x13, [x11, #16]
LBB0_20:                                ;   in Loop: Header=BB0_6 Depth=1
	mov.s	w13, v2[1]
	tbz	w13, #0, LBB0_5
; %bb.21:                               ;   in Loop: Header=BB0_6 Depth=1
	mov.d	x13, v1[1]
	add	x13, x13, x24
	str	x13, [x11, #24]
	b	LBB0_5
LBB0_22:
	mov	x23, x25
	b	LBB0_24
LBB0_23:
	cmp	x10, x9
	b.ne	LBB0_28
LBB0_24:
	mov	x0, x20
	bl	_NEXTINDEX
	add	x8, x25, x0, lsl #3
	sub	x8, x8, x23
	asr	x8, x8, #3
	subs	x9, x8, #1
	b.eq	LBB0_35
; %bb.25:
	cmp	x9, #8
	b.hs	LBB0_30
; %bb.26:
	mov	x8, x9
	mov	x10, x23
	b	LBB0_33
LBB0_27:                                ;   in Loop: Header=BB0_28 Depth=1
	add	x23, x23, #8
	cbz	x8, LBB0_24
LBB0_28:                                ; =>This Inner Loop Header: Depth=1
	sub	x8, x8, #1
	ldr	x9, [x23]
	cmp	x9, x22
	b.ge	LBB0_27
; %bb.29:                               ;   in Loop: Header=BB0_28 Depth=1
	add	x9, x9, x24
	str	x9, [x23]
	b	LBB0_27
LBB0_30:
	and	x11, x9, #0xfffffffffffffff8
	and	x8, x9, #0x7
	add	x10, x23, x11, lsl #3
	dup.2d	v0, x22
	dup.2d	v1, x24
	add	x12, x23, #32
	mov	x13, x11
LBB0_31:                                ; =>This Inner Loop Header: Depth=1
	ldur	q2, [x12, #-24]
	ldur	q3, [x12, #-8]
	ldur	q4, [x12, #8]
	ldur	q5, [x12, #24]
	cmgt.2d	v6, v0, v2
	cmgt.2d	v7, v0, v3
	cmgt.2d	v16, v0, v4
	cmgt.2d	v17, v0, v5
	and.16b	v6, v1, v6
	and.16b	v7, v1, v7
	and.16b	v16, v1, v16
	and.16b	v17, v1, v17
	add.2d	v2, v6, v2
	add.2d	v3, v7, v3
	add.2d	v4, v16, v4
	stp	q2, q3, [x12, #-32]
	add.2d	v2, v17, v5
	stp	q4, q2, [x12], #64
	subs	x13, x13, #8
	b.ne	LBB0_31
; %bb.32:
	cmp	x9, x11
	b.eq	LBB0_35
LBB0_33:
	add	x9, x10, #8
LBB0_34:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9]
	cmp	x10, x22
	csel	x11, x24, xzr, lt
	add	x10, x11, x10
	stur	x10, [x9, #-8]
	add	x9, x9, #8
	subs	x8, x8, #1
	b.ne	LBB0_34
LBB0_35:
	ldr	w8, [x20, #16]
	sub	w8, w8, #8
	str	w8, [x20, #16]
	ldr	w8, [x19]
	sub	w8, w8, #1
	str	w8, [x19]
Lloh6:
	adrp	x8, _RET_SUCCESS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RET_SUCCESS@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
LBB0_36:
                                        ; kill: def $w0 killed $w0 killed $x0
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_P_BIGDATA,4,2                  ; @P_BIGDATA
	.comm	_RET_ERROR,8,3                  ; @RET_ERROR
	.comm	_RET_SUCCESS,4,2                ; @RET_SUCCESS
.subsections_via_symbols
