	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_next_probe
_set_next_probe:                        ## @set_next_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
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	-72(%rbp), %r12
	movq	%r12, -40(%rbp)
	movl	4(%rdx), %edi
	movl	%edi, -56(%rbp)
	movl	(%rdx), %eax
	movl	%eax, -48(%rbp)
	callq	_dname_count_labels
	movl	%eax, -52(%rbp)
	movl	12(%r14), %eax
	movl	%eax, -60(%rbp)
	leaq	8(%r14), %r15
	movq	%r15, %rdi
	callq	_lock_basic_unlock
	movq	8(%rbx), %rdi
	callq	_lock_basic_lock
	movq	8(%rbx), %rax
	movl	16(%rax), %edi
	movq	%r12, %rsi
	callq	_rbtree_search
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	xorl	%edi, %edi
	cmpq	%r14, %rax
	sete	%dil
	callq	_log_assert
	movq	%r15, %rdi
	callq	_lock_basic_lock
	movq	8(%rbx), %rdi
	callq	_wait_probe_time
	movq	%rax, %r15
	movq	8(%rbx), %rax
	movq	8(%rax), %rdi
	movq	%r14, %rsi
	callq	_rbtree_delete
	movq	(%r14), %rax
	movl	12(%rax), %esi
	movq	%rbx, %rdi
	callq	_calc_next_probe
	movq	(%r14), %rsi
	movq	%rax, (%rsi)
	movq	8(%rbx), %rax
	movq	8(%rax), %rdi
	addq	$8, %rsi
	callq	_rbtree_insert
	movq	8(%rbx), %rdi
	callq	_wait_probe_time
	movq	%rax, %r12
	movq	8(%rbx), %rdi
	callq	_lock_basic_unlock
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r14), %rax
	movl	(%rax), %edx
	movq	(%rbx), %rax
	subl	(%rax), %edx
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_verbose
	movl	$1, %r14d
	cmpq	%r12, %r15
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_reset_worker_timer
	jmp	LBB0_4
LBB0_1:
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_verbose
	movq	8(%rbx), %rdi
	callq	_lock_basic_unlock
LBB0_4:
	movl	%r14d, %eax
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VERB_ALGO,4,2                  ## @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"trustpoint was deleted in set_next_probe"

L_.str.1:                               ## @.str.1
	.asciz	"next probe set in %d seconds"

	.no_dead_strip	_set_next_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_next_probe
_set_next_probe:                        ; @set_next_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x20, x1
	mov	x19, x0
	add	x8, sp, #8
	str	x8, [sp, #40]
	ldp	w8, w0, [x2]
	str	w0, [sp, #24]
	str	w8, [sp, #32]
	bl	_dname_count_labels
	ldr	w8, [x20, #12]
	str	w0, [sp, #28]
	str	w8, [sp, #20]
	add	x21, x20, #8
	mov	x0, x21
	bl	_lock_basic_unlock
	ldr	x0, [x19, #8]
	bl	_lock_basic_lock
	ldr	x8, [x19, #8]
	ldr	w0, [x8, #16]
	add	x1, sp, #8
	bl	_rbtree_search
	cbz	x0, LBB0_4
; %bb.1:
	cmp	x0, x20
	cset	w0, eq
	bl	_log_assert
	mov	x0, x21
	bl	_lock_basic_lock
	ldr	x0, [x19, #8]
	bl	_wait_probe_time
	mov	x21, x0
	ldr	x8, [x19, #8]
	ldr	x0, [x8, #8]
	mov	x1, x20
	bl	_rbtree_delete
	ldr	x8, [x20]
	ldr	w1, [x8, #12]
	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	_wait_probe_time
	mov	x22, x0
	ldr	x0, [x19, #8]
	bl	_lock_basic_unlock
Lloh0:
	adrp	x8, _VERB_ALGO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VERB_ALGO@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	x8, [x20]
	ldr	w8, [x8]
	ldr	x9, [x19]
	ldr	w9, [x9]
	sub	w8, w8, w9
	str	x8, [sp]
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_verbose
	cmp	x21, x22
	b.eq	LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_reset_worker_timer
LBB0_3:
	mov	w0, #1
	b	LBB0_5
LBB0_4:
Lloh5:
	adrp	x8, _VERB_ALGO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _VERB_ALGO@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_verbose
	ldr	x0, [x19, #8]
	bl	_lock_basic_unlock
	mov	w0, #0
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
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_VERB_ALGO,4,2                  ; @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"trustpoint was deleted in set_next_probe"

l_.str.1:                               ; @.str.1
	.asciz	"next probe set in %d seconds"

	.no_dead_strip	_set_next_probe
.subsections_via_symbols
