	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function push_frame
_push_frame:                            ## @push_frame
	.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	_MAX_SPINE_DEPTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	decl	%eax
	cmpl	%eax, (%rdi)
	jge	LBB0_4
## %bb.1:
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movl	8(%rdi), %edi
	leaq	-44(%rbp), %rdx
	callq	_dm_tm_ref
	testl	%eax, %eax
	jne	LBB0_5
## %bb.2:
	cmpl	$2, -44(%rbp)
	jl	LBB0_6
## %bb.3:
	movl	8(%rbx), %edi
	movl	%r15d, %esi
	callq	_dm_tm_dec
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_4:
	leaq	L_.str(%rip), %rdi
	callq	_DMERR
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	16(%rbx), %r13
	movslq	(%rbx), %rax
	incq	%rax
	movl	%eax, (%rbx)
	leaq	(%rax,%rax,4), %r12
	movl	8(%rbx), %edi
	leaq	32(,%r12,8), %rcx
	addq	%r13, %rcx
	movq	_btree_node_validator@GOTPCREL(%rip), %rdx
	movl	%r15d, %esi
	movq	%rcx, %r15
	callq	_dm_tm_read_lock
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	decl	(%rbx)
	jmp	LBB0_5
LBB0_8:
	leaq	(,%r12,8), %rax
	addq	%r13, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	(%r15), %edi
	callq	_dm_block_data
	movq	%rax, 8(%r13,%r12,8)
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%r14d, (%rcx)
	movq	%rcx, %r14
	movl	4(%rax), %edi
	callq	_le32_to_cpu
	movq	%rax, 24(%r13,%r12,8)
	movq	$0, 16(%r13,%r12,8)
	movq	8(%r13,%r12,8), %rax
	movl	(%rax), %edi
	callq	_le32_to_cpu
	movq	_INTERNAL_NODE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_10
## %bb.9:
	movl	4(%rbx), %edi
	movq	%r14, %rsi
	callq	_is_internal_level
	testq	%rax, %rax
	je	LBB0_11
LBB0_10:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_prefetch_children
LBB0_11:
	xorl	%eax, %eax
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_SPINE_DEPTH,4,2            ## @MAX_SPINE_DEPTH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"btree deletion stack out of memory"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_btree_node_validator,4,2       ## @btree_node_validator
	.comm	_INTERNAL_NODE,4,2              ## @INTERNAL_NODE
	.no_dead_strip	_push_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function push_frame
_push_frame:                            ; @push_frame
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _MAX_SPINE_DEPTH@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MAX_SPINE_DEPTH@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	sub	w9, w9, #1
	cmp	w8, w9
	b.ge	LBB0_4
; %bb.1:
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
	ldr	w0, [x0, #8]
	add	x2, sp, #12
	bl	_dm_tm_ref
	cbnz	w0, LBB0_5
; %bb.2:
	ldr	w8, [sp, #12]
	cmp	w8, #2
	b.lt	LBB0_6
; %bb.3:
	ldr	w0, [x19, #8]
	mov	x1, x22
	bl	_dm_tm_dec
	mov	w0, #0
	b	LBB0_5
LBB0_4:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DMERR
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	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
	add	sp, sp, #96
	ret
LBB0_6:
	ldr	x24, [x19, #16]
	ldrsw	x8, [x19]
	add	x25, x8, #1
	str	w25, [x19]
	mov	w8, #40
	madd	x21, x25, x8, x24
	ldr	w0, [x19, #8]
	add	x23, x21, #32
Lloh8:
	adrp	x2, _btree_node_validator@GOTPAGE
Lloh9:
	ldr	x2, [x2, _btree_node_validator@GOTPAGEOFF]
	mov	x1, x22
	mov	x3, x23
	bl	_dm_tm_read_lock
	cbz	w0, LBB0_8
; %bb.7:
	ldr	w8, [x19]
	sub	w8, w8, #1
	str	w8, [x19]
	b	LBB0_5
LBB0_8:
	ldr	w0, [x23]
	bl	_dm_block_data
	mov	w8, #40
	madd	x22, x25, x8, x24
	str	x0, [x22, #8]
	str	w20, [x21]
	ldr	w0, [x0, #4]
	bl	_le32_to_cpu
	stp	xzr, x0, [x22, #16]
	ldr	x8, [x22, #8]
	ldr	w0, [x8]
	bl	_le32_to_cpu
Lloh10:
	adrp	x8, _INTERNAL_NODE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _INTERNAL_NODE@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	tst	w8, w0
	b.ne	LBB0_10
; %bb.9:
	ldr	w0, [x19, #4]
	mov	x1, x21
	bl	_is_internal_level
	cbz	x0, LBB0_5
LBB0_10:
	mov	x0, x19
	mov	x1, x21
	bl	_prefetch_children
	mov	w0, #0
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_SPINE_DEPTH,4,2            ; @MAX_SPINE_DEPTH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"btree deletion stack out of memory"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_btree_node_validator,4,2       ; @btree_node_validator
	.comm	_INTERNAL_NODE,4,2              ; @INTERNAL_NODE
	.no_dead_strip	_push_frame
.subsections_via_symbols
