	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function neg_delete_zone
_neg_delete_zone:                       ## @neg_delete_zone
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.1:
	movq	%rsi, %r12
	movq	%rdi, %r14
	movl	(%rsi), %edi
	callq	_log_assert
	xorl	%edi, %edi
	cmpq	$0, 8(%r12)
	setg	%dil
	callq	_log_assert
	movl	$0, (%r12)
	movq	%r12, %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%edi, %edi
	cmpq	$0, 8(%rbx)
	setg	%dil
	callq	_log_assert
	decq	8(%rbx)
	movq	48(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_2
## %bb.3:
	leaq	4(%r14), %r15
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, 8(%r12)
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	48(%r12), %rbx
	leaq	40(%r12), %rsi
	movq	%r15, %rdi
	callq	_rbtree_delete
	movl	(%r14), %eax
	subl	32(%r12), %eax
	addl	$-56, %eax
	movl	%eax, (%r14)
	movq	24(%r12), %rdi
	callq	_free
	movq	16(%r12), %rdi
	callq	_free
	movq	%r12, %rdi
	callq	_free
	movq	%rbx, %r12
	testq	%rbx, %rbx
	jne	LBB0_4
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_neg_delete_zone
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function neg_delete_zone
_neg_delete_zone:                       ; @neg_delete_zone
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	cbz	x1, LBB0_6
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x1]
	bl	_log_assert
	ldr	x8, [x20, #8]
	cmp	x8, #0
	cset	w0, gt
	bl	_log_assert
	str	wzr, [x20]
	mov	x21, x20
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #8]
	cmp	x8, #0
	cset	w0, gt
	bl	_log_assert
	ldr	x8, [x21, #8]
	sub	x8, x8, #1
	str	x8, [x21, #8]
	ldr	x21, [x21, #48]
	cbnz	x21, LBB0_2
; %bb.3:
	add	x21, x19, #4
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	cbnz	x8, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x22, [x20, #48]
	add	x1, x20, #40
	mov	x0, x21
	bl	_rbtree_delete
	ldr	w8, [x20, #32]
	ldr	w9, [x19]
	sub	w8, w9, w8
	sub	w8, w8, #56
	str	w8, [x19]
	ldr	x0, [x20, #24]
	bl	_free
	ldr	x0, [x20, #16]
	bl	_free
	mov	x0, x20
	bl	_free
	mov	x20, x22
	cbnz	x22, LBB0_4
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_neg_delete_zone
.subsections_via_symbols
