	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function listree_delete_global
_listree_delete_global:                 ## @listree_delete_global
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	8(%rdi), %r14
	movq	(%r14), %rdi
	callq	_tree_ext_global_lookup
	movq	%rax, %rbx
	movq	_NILG@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_1
## %bb.5:
	movq	%rbx, %rdi
	callq	_NODE_TYPE
	movq	_TF_PLUS@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_assert
	movq	_DeletedSubnode_global@GOTPCREL(%rip), %r15
	movq	$0, (%r15)
	movq	(%r14), %rdi
	movq	%r12, %rsi
	callq	_tree_ext_global_delete
	movq	%rax, (%r14)
	xorl	%edi, %edi
	cmpq	%rbx, (%r15)
	sete	%dil
	callq	_assert
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free_tree_ext_global_node      ## TAILCALL
LBB0_1:
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_find_rpos_global
	movl	%eax, %r15d
	testl	%eax, %eax
	jle	LBB0_2
## %bb.3:
	movq	(%r13), %rsi
	movl	%r15d, %eax
	subq	%rax, %rsi
	movq	%r13, %rdi
	callq	_get_data_global
	xorl	%edi, %edi
	cmpq	%r12, %rax
	sete	%dil
	jmp	LBB0_4
LBB0_2:
	xorl	%edi, %edi
LBB0_4:
	callq	_assert
	xorl	%eax, %eax
	callq	_lrand48
	movl	%eax, %ebx
	movq	_TF_MINUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_MAKE_RPOS
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_new_tree_subnode_global
	movq	(%r14), %rdi
	movl	(%rax), %edx
	movl	4(%rax), %esi
	movq	%rax, %rcx
	callq	_tree_ext_global_insert
	movq	%rax, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NILG,8,3                       ## @NILG
	.comm	_TF_MINUS,4,2                   ## @TF_MINUS
	.comm	_TF_PLUS,8,3                    ## @TF_PLUS
	.comm	_DeletedSubnode_global,8,3      ## @DeletedSubnode_global
	.no_dead_strip	_listree_delete_global
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function listree_delete_global
_listree_delete_global:                 ; @listree_delete_global
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x2
	mov	x19, x1
	mov	x22, x0
	ldr	x23, [x0, #8]
	ldr	x0, [x23]
	bl	_tree_ext_global_lookup
Lloh0:
	adrp	x8, _NILG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NILG@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_2
; %bb.1:
	mov	x21, x0
	bl	_NODE_TYPE
Lloh3:
	adrp	x8, _TF_PLUS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TF_PLUS@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w0, eq
	bl	_assert
Lloh6:
	adrp	x20, _DeletedSubnode_global@GOTPAGE
Lloh7:
	ldr	x20, [x20, _DeletedSubnode_global@GOTPAGEOFF]
	str	xzr, [x20]
	ldr	x0, [x23]
	mov	x1, x19
	bl	_tree_ext_global_delete
	str	x0, [x23]
	ldr	x8, [x20]
	cmp	x8, x21
	cset	w0, eq
	bl	_assert
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_free_tree_ext_global_node
LBB0_2:
	mov	x0, x22
	mov	x1, x19
	bl	_find_rpos_global
	mov	x21, x0
	cmp	w0, #1
	b.lt	LBB0_4
; %bb.3:
	ldr	x8, [x22]
	sub	x1, x8, w21, uxtw
	mov	x0, x22
	bl	_get_data_global
	cmp	x0, x19
	cset	w0, eq
	b	LBB0_5
LBB0_4:
	mov	w0, #0
LBB0_5:
	bl	_assert
	bl	_lrand48
	mov	x22, x0
Lloh8:
	adrp	x8, _TF_MINUS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TF_MINUS@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_MAKE_RPOS
	mov	x2, x0
	mov	x0, x19
	mov	x1, x22
	mov	x3, x20
	bl	_new_tree_subnode_global
	mov	x3, x0
	ldr	x0, [x23]
	ldp	w2, w1, [x3]
	bl	_tree_ext_global_insert
	str	x0, [x23]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_NILG,8,3                       ; @NILG
	.comm	_TF_MINUS,4,2                   ; @TF_MINUS
	.comm	_TF_PLUS,8,3                    ; @TF_PLUS
	.comm	_DeletedSubnode_global,8,3      ; @DeletedSubnode_global
	.no_dead_strip	_listree_delete_global
.subsections_via_symbols
