	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dm_btree_del                   ## -- Begin function dm_btree_del
	.p2align	4, 0x90
_dm_btree_del:                          ## @dm_btree_del
	.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	%esi, %ebx
	movq	%rdi, %r14
	movq	_GFP_NOFS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$16, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movq	%r14, 8(%rax)
	movl	16(%r14), %eax
	movl	%eax, 4(%r12)
	movl	$-1, (%r12)
	xorl	%r15d, %r15d
	movq	%r12, %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	callq	_push_frame
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_3
LBB0_7:
	movq	%r12, %rdi
	callq	_unlock_all_frames
	movl	%ebx, %r15d
LBB0_22:
	movq	%r12, %rdi
	callq	_kfree
	jmp	LBB0_23
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_23:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%r12, %rdi
	callq	_unprocessed_frames
	testq	%rax, %rax
	je	LBB0_22
## %bb.4:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	leaq	-48(%rbp), %r14
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rdi
	callq	_pop_frame
LBB0_20:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rdi
	callq	_unprocessed_frames
	testq	%rax, %rax
	je	LBB0_21
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_18 Depth 2
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_top_frame
	testl	%eax, %eax
	jne	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-48(%rbp), %rax
	movq	(%rax), %rcx
	cmpq	8(%rax), %rcx
	jge	LBB0_19
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	16(%rax), %rax
	movl	(%rax), %edi
	callq	_le32_to_cpu
	movq	-48(%rbp), %rsi
	movq	_INTERNAL_NODE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	(%rsi), %rax
	movq	16(%rsi), %rdi
	movq	%rax, %rsi
	callq	_value64
	movq	-48(%rbp), %rcx
	incq	(%rcx)
	movq	24(%rcx), %rdx
	jmp	LBB0_11
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_is_internal_level
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-48(%rbp), %rax
	movq	(%rax), %rsi
	movq	16(%rax), %rdi
	callq	_value64
	movq	-48(%rbp), %rcx
	incq	(%rcx)
	movq	24(%rcx), %rdx
	incq	%rdx
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_push_frame
	testl	%eax, %eax
	je	LBB0_20
	jmp	LBB0_6
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_19
## %bb.15:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-48(%rbp), %rax
	cmpq	$0, 8(%rax)
	jle	LBB0_19
## %bb.16:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %r13d
	movq	16(%rax), %rdi
	xorl	%esi, %esi
	callq	_value_ptr
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	*%rbx
	movq	-48(%rbp), %rax
	cmpq	$2, 8(%rax)
	jl	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	$2, %r13d
	.p2align	4, 0x90
LBB0_18:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leal	-1(%r13), %esi
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %r15
	movl	(%rcx), %ebx
	movq	16(%rax), %rdi
	callq	_value_ptr
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	*%r15
	movl	%r13d, %ecx
	movq	-48(%rbp), %rax
	incl	%r13d
	cmpq	%rcx, 8(%rax)
	jg	LBB0_18
	jmp	LBB0_19
LBB0_6:
	movl	%eax, %ebx
	jmp	LBB0_7
LBB0_21:
	xorl	%r15d, %r15d
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_NOFS,4,2                   ## @GFP_NOFS
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_INTERNAL_NODE,4,2              ## @INTERNAL_NODE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dm_btree_del                   ; -- Begin function dm_btree_del
	.p2align	2
_dm_btree_del:                          ; @dm_btree_del
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _GFP_NOFS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_NOFS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #16
	bl	_kmalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	str	x20, [x0, #8]
	ldr	w8, [x20, #16]
	mov	w9, #-1
	stp	w9, w8, [x0]
	mov	x1, x21
	mov	x2, #0
	bl	_push_frame
	mov	x21, x0
	cbz	w0, LBB0_4
LBB0_2:
	mov	x0, x19
	bl	_unlock_all_frames
	b	LBB0_21
LBB0_3:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_22
LBB0_4:
	mov	x0, x19
	bl	_unprocessed_frames
	cbz	x0, LBB0_20
; %bb.5:
Lloh6:
	adrp	x22, _INTERNAL_NODE@GOTPAGE
Lloh7:
	ldr	x22, [x22, _INTERNAL_NODE@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	bl	_pop_frame
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	bl	_unprocessed_frames
	cbz	x0, LBB0_20
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_19 Depth 2
	add	x1, sp, #8
	mov	x0, x19
	bl	_top_frame
	cbnz	w0, LBB0_23
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [sp, #8]
	ldp	x9, x10, [x8]
	cmp	x9, x10
	b.ge	LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x8, #16]
	ldr	w0, [x8]
	bl	_le32_to_cpu
	ldr	w8, [x22]
	ldr	x1, [sp, #8]
	tst	w8, w0
	b.eq	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [x1, #16]
	ldr	x1, [x1]
	bl	_value64
	mov	x1, x0
	ldr	x8, [sp, #8]
	ldr	x9, [x8]
	add	x9, x9, #1
	str	x9, [x8]
	ldr	x2, [x8, #24]
	b	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x20
	bl	_is_internal_level
	cbz	x0, LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [sp, #8]
	ldr	x0, [x8, #16]
	ldr	x1, [x8]
	bl	_value64
	mov	x1, x0
	ldr	x8, [sp, #8]
	ldr	x9, [x8]
	add	x9, x9, #1
	str	x9, [x8]
	ldr	x8, [x8, #24]
	add	x2, x8, #1
LBB0_14:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	bl	_push_frame
	cbz	w0, LBB0_7
	b	LBB0_23
LBB0_15:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x23, [x20, #8]
	cbz	x23, LBB0_6
; %bb.16:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [sp, #8]
	ldr	x9, [x8, #8]
	cmp	x9, #1
	b.lt	LBB0_6
; %bb.17:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w21, [x20]
	ldr	x0, [x8, #16]
	mov	w1, #0
	bl	_value_ptr
	mov	x1, x0
	mov	x0, x21
	blr	x23
	ldr	x8, [sp, #8]
	ldr	x9, [x8, #8]
	cmp	x9, #2
	b.lt	LBB0_6
; %bb.18:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	w23, #2
LBB0_19:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sub	w1, w23, #1
	ldr	x24, [x20, #8]
	ldr	w21, [x20]
	ldr	x0, [x8, #16]
	bl	_value_ptr
	mov	x1, x0
	mov	x0, x21
	blr	x24
	ldr	x8, [sp, #8]
	ldr	x9, [x8, #8]
	cmp	x9, w23, uxtw
	add	w23, w23, #1
	b.gt	LBB0_19
	b	LBB0_6
LBB0_20:
	mov	w21, #0
LBB0_21:
	mov	x0, x19
	bl	_kfree
LBB0_22:
	mov	x0, x21
	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
	add	sp, sp, #80
	ret
LBB0_23:
	mov	x21, x0
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_NOFS,4,2                   ; @GFP_NOFS
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_INTERNAL_NODE,4,2              ; @INTERNAL_NODE
.subsections_via_symbols
