	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pending_delete                 ## -- Begin function pending_delete
	.p2align	4, 0x90
_pending_delete:                        ## @pending_delete
	.cfi_startproc
## %bb.0:
	testq	%rsi, %rsi
	je	LBB0_16
## %bb.1:
	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, %r14
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.2:
	movq	16(%r14), %rax
	testq	%rax, %rax
	je	LBB0_12
## %bb.3:
	cmpq	$0, 24(%r15)
	je	LBB0_4
LBB0_5:
	cmpq	%r15, %rax
	je	LBB0_6
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rbx
	movq	24(%rax), %rax
	testq	%rax, %rax
	setne	%cl
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpq	%r15, %rax
	jne	LBB0_7
LBB0_9:
	testb	%cl, %cl
	jne	LBB0_10
	jmp	LBB0_12
LBB0_16:
	retq
LBB0_4:
	cmpq	%r15, 8(%r14)
	jne	LBB0_12
	jmp	LBB0_5
LBB0_6:
	movb	$1, %cl
	xorl	%ebx, %ebx
	testb	%cl, %cl
	je	LBB0_12
LBB0_10:
	leaq	16(%r14), %r12
	xorl	%edi, %edi
	cmpq	%r15, %rax
	sete	%dil
	callq	_log_assert
	leaq	24(%rbx), %rax
	testq	%rbx, %rbx
	cmoveq	%r12, %rax
	movq	24(%r15), %rcx
	movq	%rcx, (%rax)
	cmpq	%r15, 8(%r14)
	jne	LBB0_12
## %bb.11:
	movq	%rbx, 8(%r14)
LBB0_12:
	movl	(%r14), %edi
	movl	16(%r15), %esi
	callq	_rbtree_delete
LBB0_13:
	movq	8(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.14:
	callq	_comm_timer_delete
LBB0_15:
	movq	(%r15), %rdi
	callq	_free
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pending_delete                 ; -- Begin function pending_delete
	.p2align	2
_pending_delete:                        ; @pending_delete
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_7
; %bb.1:
	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
	.cfi_remember_state
	mov	x19, x1
	mov	x20, x0
	cbz	x0, LBB0_13
; %bb.2:
	mov	x21, x20
	ldr	x8, [x21, #16]!
	cbz	x8, LBB0_12
; %bb.3:
	ldr	x9, [x19, #24]
	cbz	x9, LBB0_8
LBB0_4:
	cmp	x8, x19
	b.eq	LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x22, x8
	ldr	x8, [x8, #24]
	cmp	x8, #0
	cset	w9, ne
	ccmp	x8, x19, #4, ne
	b.ne	LBB0_5
; %bb.6:
	cbnz	w9, LBB0_10
	b	LBB0_12
LBB0_7:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	ret
LBB0_8:
	.cfi_restore_state
	ldr	x9, [x20, #8]
	cmp	x9, x19
	b.ne	LBB0_12
	b	LBB0_4
LBB0_9:
	mov	x22, #0
	mov	w9, #1
	cbz	w9, LBB0_12
LBB0_10:
	cmp	x8, x19
	cset	w0, eq
	bl	_log_assert
	ldr	x8, [x19, #24]
	add	x9, x22, #24
	cmp	x22, #0
	csel	x9, x21, x9, eq
	str	x8, [x9]
	ldr	x8, [x20, #8]
	cmp	x8, x19
	b.ne	LBB0_12
; %bb.11:
	str	x22, [x20, #8]
LBB0_12:
	ldr	w0, [x20]
	ldr	w1, [x19, #16]
	bl	_rbtree_delete
LBB0_13:
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_15
; %bb.14:
	bl	_comm_timer_delete
LBB0_15:
	ldr	x0, [x19]
	bl	_free
	mov	x0, x19
	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
	b	_free
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
