	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function compress_tree_store
_compress_tree_store:                   ## @compress_tree_store
	.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	%r8, %r12
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rbx
	movl	%esi, %r13d
	movq	%rdi, %r14
	testq	%r8, %r8
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	je	LBB0_1
## %bb.2:
	movl	%r13d, %r15d
	subl	(%r12), %r15d
	jmp	LBB0_3
LBB0_1:
	leal	-1(%r13), %r15d
LBB0_3:
	movl	%r15d, %edi
	notl	%edi
	shrl	$31, %edi
	callq	_log_assert
	movl	$1, %eax
	testl	%r15d, %r15d
	je	LBB0_13
## %bb.4:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r14), %rcx
	leaq	(%r14,%rcx,8), %r14
	addq	$8, %r14
	addq	%rcx, %rbx
	incq	%rbx
	decl	%r13d
	movq	%rax, %r12
	testl	%r15d, %r15d
	je	LBB0_11
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	_PTR_MAX_OFFSET@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	ja	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r14, %rdi
	movl	%r13d, %esi
	movq	%rbx, %rdx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	callq	_compress_tree_newnode
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	decl	%r15d
	testq	%r12, %r12
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, 16(%rax)
	movq	%rax, 8(%r12)
	jmp	LBB0_10
LBB0_11:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, 8(%rax)
LBB0_12:
	movl	$1, %eax
	jmp	LBB0_13
LBB0_7:
	xorl	%eax, %eax
LBB0_13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PTR_MAX_OFFSET,8,3             ## @PTR_MAX_OFFSET
	.no_dead_strip	_compress_tree_store
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function compress_tree_store
_compress_tree_store:                   ; @compress_tree_store
	.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
	mov	x20, x5
	mov	x19, x4
	mov	x21, x3
	mov	x23, x2
	mov	x22, x1
	mov	x24, x0
	cbz	x4, LBB0_2
; %bb.1:
	ldr	w8, [x19]
	sub	w25, w22, w8
	b	LBB0_3
LBB0_2:
	sub	w25, w22, #1
LBB0_3:
	mvn	w8, w25
	lsr	w0, w8, #31
	bl	_log_assert
	cbz	w25, LBB0_11
; %bb.4:
	mov	x27, #0
Lloh0:
	adrp	x26, _PTR_MAX_OFFSET@GOTPAGE
Lloh1:
	ldr	x26, [x26, _PTR_MAX_OFFSET@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x24]
	add	x9, x24, x8, lsl #3
	add	x24, x9, #8
	add	x8, x23, x8
	add	x23, x8, #1
	sub	w22, w22, #1
	mov	x27, x0
	cbz	w25, LBB0_10
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x26]
	cmp	x23, x8
	b.hi	LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x24
	mov	x1, x22
	mov	x2, x23
	mov	x3, x21
	bl	_compress_tree_newnode
	cbz	x0, LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	w25, w25, #1
	cbz	x27, LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	str	x27, [x0, #16]
	str	x0, [x27, #8]
	b	LBB0_5
LBB0_10:
	str	x0, [x20]
	str	x19, [x0, #8]
LBB0_11:
	mov	w0, #1
LBB0_12:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PTR_MAX_OFFSET,8,3             ; @PTR_MAX_OFFSET
	.no_dead_strip	_compress_tree_store
.subsections_via_symbols
