	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function common_timeout_callback
_common_timeout_callback:               ## @common_timeout_callback
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	8(%rdx), %r14
	movq	_th_base_lock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_EVBASE_ACQUIRE_LOCK
	leaq	-56(%rbp), %rsi
	movq	%r14, %rdi
	callq	_gettime
	movq	%r15, %rdi
	callq	_TAILQ_FIRST
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	%rax, %rbx
	movq	_EVENT_DEL_NOBLOCK@GOTPCREL(%rip), %r12
	movq	_EV_TIMEOUT@GOTPCREL(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_event_del_nolock_
	movl	(%r13), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_event_active_nolock_
	movq	%r15, %rdi
	callq	_TAILQ_FIRST
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rax
	cmpq	%rax, (%rbx)
	jg	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_MICROSECONDS_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	8(%rbx), %eax
	cmpl	-48(%rbp), %eax
	jle	LBB0_5
LBB0_6:
	leaq	-56(%rbp), %rsi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	callq	_common_timeout_schedule
LBB0_7:
	movq	_th_base_lock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_EVBASE_RELEASE_LOCK
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_th_base_lock,4,2               ## @th_base_lock
	.comm	_MICROSECONDS_MASK,4,2          ## @MICROSECONDS_MASK
	.comm	_EVENT_DEL_NOBLOCK,4,2          ## @EVENT_DEL_NOBLOCK
	.comm	_EV_TIMEOUT,4,2                 ## @EV_TIMEOUT
	.no_dead_strip	_common_timeout_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function common_timeout_callback
_common_timeout_callback:               ; @common_timeout_callback
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x2
	ldr	x19, [x2, #8]
Lloh0:
	adrp	x22, _th_base_lock@GOTPAGE
Lloh1:
	ldr	x22, [x22, _th_base_lock@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_EVBASE_ACQUIRE_LOCK
	mov	x1, sp
	mov	x0, x19
	bl	_gettime
	mov	x0, x20
	bl	_TAILQ_FIRST
	cbz	x0, LBB0_7
; %bb.1:
	mov	x21, x0
Lloh2:
	adrp	x23, _MICROSECONDS_MASK@GOTPAGE
Lloh3:
	ldr	x23, [x23, _MICROSECONDS_MASK@GOTPAGEOFF]
Lloh4:
	adrp	x24, _EVENT_DEL_NOBLOCK@GOTPAGE
Lloh5:
	ldr	x24, [x24, _EVENT_DEL_NOBLOCK@GOTPAGEOFF]
Lloh6:
	adrp	x25, _EV_TIMEOUT@GOTPAGE
Lloh7:
	ldr	x25, [x25, _EV_TIMEOUT@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x24]
	mov	x0, x21
	bl	_event_del_nolock_
	ldr	w1, [x25]
	mov	x0, x21
	mov	w2, #1
	bl	_event_active_nolock_
	mov	x0, x20
	bl	_TAILQ_FIRST
	mov	x21, x0
	cbz	x0, LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	x9, [sp]
	cmp	x8, x9
	b.gt	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x21, #8]
	ldr	w9, [x23]
	and	w8, w9, w8
	ldr	w9, [sp, #8]
	cmp	w8, w9
	b.le	LBB0_2
LBB0_6:
	mov	x1, sp
	mov	x0, x20
	mov	x2, x21
	bl	_common_timeout_schedule
LBB0_7:
	ldr	w1, [x22]
	mov	x0, x19
	bl	_EVBASE_RELEASE_LOCK
	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
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_th_base_lock,4,2               ; @th_base_lock
	.comm	_MICROSECONDS_MASK,4,2          ; @MICROSECONDS_MASK
	.comm	_EVENT_DEL_NOBLOCK,4,2          ; @EVENT_DEL_NOBLOCK
	.comm	_EV_TIMEOUT,4,2                 ; @EV_TIMEOUT
	.no_dead_strip	_common_timeout_callback
.subsections_via_symbols
