	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function todo_probe
_todo_probe:                            ## @todo_probe
	.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
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	8(%rdi), %rdi
	callq	_lock_basic_lock
	movq	8(%rbx), %rax
	movq	8(%rax), %rdi
	callq	_rbtree_first
	movq	_RBTREE_NULL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_1
## %bb.2:
	movq	(%rax), %r14
	leaq	8(%r14), %r12
	movq	%r12, %rdi
	callq	_lock_basic_lock
	movq	(%r14), %rax
	movq	8(%rax), %rax
	movq	(%rbx), %rcx
	subq	(%rcx), %rax
	jle	LBB0_4
## %bb.3:
	movq	%rax, (%r15)
	movq	%r12, %rdi
	callq	_lock_basic_unlock
	movq	8(%rbx), %rdi
	callq	_lock_basic_unlock
	xorl	%r14d, %r14d
	jmp	LBB0_5
LBB0_1:
	movq	8(%rbx), %rdi
	callq	_lock_basic_unlock
	movq	$0, (%r15)
	xorl	%r14d, %r14d
	jmp	LBB0_5
LBB0_4:
	movq	8(%rbx), %rax
	movq	8(%rax), %rdi
	movq	%r14, %rsi
	callq	_rbtree_delete
	movq	(%r14), %rax
	movl	4(%rax), %esi
	movq	%rbx, %rdi
	callq	_calc_next_probe
	movq	(%r14), %rsi
	movq	%rax, 8(%rsi)
	movq	8(%rbx), %rax
	movq	8(%rax), %rdi
	callq	_rbtree_insert
	movq	8(%rbx), %rdi
	callq	_lock_basic_unlock
LBB0_5:
	movq	%r14, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RBTREE_NULL,8,3                ## @RBTREE_NULL
	.no_dead_strip	_todo_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function todo_probe
_todo_probe:                            ; @todo_probe
	.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
	mov	x21, x1
	mov	x19, x0
	ldr	x0, [x0, #8]
	bl	_lock_basic_lock
	ldr	x8, [x19, #8]
	ldr	x0, [x8, #8]
	bl	_rbtree_first
Lloh0:
	adrp	x8, _RBTREE_NULL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RBTREE_NULL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_3
; %bb.1:
	ldr	x20, [x0]
	add	x22, x20, #8
	mov	x0, x22
	bl	_lock_basic_lock
	ldr	x8, [x20]
	ldr	x8, [x8, #8]
	ldr	x9, [x19]
	ldr	x9, [x9]
	subs	x8, x8, x9
	b.le	LBB0_4
; %bb.2:
	str	x8, [x21]
	mov	x0, x22
	bl	_lock_basic_unlock
	ldr	x0, [x19, #8]
	bl	_lock_basic_unlock
	mov	x20, #0
	b	LBB0_5
LBB0_3:
	ldr	x0, [x19, #8]
	bl	_lock_basic_unlock
	mov	x20, #0
	str	xzr, [x21]
	b	LBB0_5
LBB0_4:
	ldr	x8, [x19, #8]
	ldr	x0, [x8, #8]
	mov	x1, x20
	bl	_rbtree_delete
	ldr	x8, [x20]
	ldr	w1, [x8, #4]
	mov	x0, x19
	bl	_calc_next_probe
	ldr	x1, [x20]
	str	x0, [x1, #8]
	ldr	x8, [x19, #8]
	ldr	x0, [x8, #8]
	bl	_rbtree_insert
	ldr	x0, [x19, #8]
	bl	_lock_basic_unlock
LBB0_5:
	mov	x0, x20
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RBTREE_NULL,8,3                ; @RBTREE_NULL
	.no_dead_strip	_todo_probe
.subsections_via_symbols
