	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function thread_deferred_cb_skew
_thread_deferred_cb_skew:               ## @thread_deferred_cb_skew
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	l___const.thread_deferred_cb_skew.tv_timer+16(%rip), %rax
	movq	%rax, -48(%rbp)
	movups	l___const.thread_deferred_cb_skew.tv_timer(%rip), %xmm0
	movaps	%xmm0, -64(%rbp)
	xorl	%eax, %eax
	callq	_event_config_new
	movq	%rax, %r14
	movl	%r14d, %edi
	callq	_tt_assert
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	xorl	%ecx, %ecx
	callq	_event_config_set_max_dispatch_interval
	movq	%r14, %rdi
	callq	_event_base_new_with_config
	movq	%rax, %r13
	movl	%r13d, %edi
	callq	_tt_assert
	movq	_QUEUE_THREAD_COUNT@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	testl	%edx, %edx
	jle	LBB0_8
## %bb.1:
	leaq	-1(%rdx), %rcx
	movl	%edx, %eax
	andl	$3, %eax
	cmpq	$3, %rcx
	jae	LBB0_3
## %bb.2:
	xorl	%ecx, %ecx
	jmp	LBB0_5
LBB0_3:
	andl	$-4, %edx
	xorl	%ecx, %ecx
	movq	_deferred_data@GOTPCREL(%rip), %rsi
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rsi), %rdi
	movq	%r13, (%rdi,%rcx,8)
	movq	(%rsi), %rdi
	movq	%r13, 8(%rdi,%rcx,8)
	movq	(%rsi), %rdi
	movq	%r13, 16(%rdi,%rcx,8)
	movq	(%rsi), %rdi
	movq	%r13, 24(%rdi,%rcx,8)
	addq	$4, %rcx
	cmpq	%rcx, %rdx
	jne	LBB0_4
LBB0_5:
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	_deferred_data@GOTPCREL(%rip), %rdx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdx), %rsi
	movq	%r13, (%rsi,%rcx,8)
	incq	%rcx
	decq	%rax
	jne	LBB0_7
LBB0_8:
	movq	_timer_start@GOTPCREL(%rip), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_evutil_gettimeofday
	movq	_EV_TIMEOUT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	_timer_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-64(%rbp), %r9
	movq	%r13, %rdi
	movl	$-1, %esi
	xorl	%r8d, %r8d
	callq	_event_base_once
	movl	(%rbx), %edx
	movq	_start_threads_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	movl	$-1, %esi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_event_base_once
	movq	%r13, %rdi
	callq	_event_base_dispatch
	movq	_timer_end@GOTPCREL(%rip), %rdi
	leaq	-88(%rbp), %rdx
	movq	%r15, %rsi
	callq	_evutil_timersub
	movq	_callback_count@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdi
	callq	_TT_BLATHER
	imull	$1000000, -84(%rbp), %r15d      ## imm = 0xF4240
	movl	-80(%rbp), %ebx
	leal	(%r15,%rbx), %eax
	movslq	%eax, %rdi
	callq	_TT_BLATHER
	leal	(%r15,%rbx), %eax
	addl	$-600000, %eax                  ## imm = 0xFFF6D840
	xorl	%edi, %edi
	cmpl	$800001, %eax                   ## imm = 0xC3501
	setb	%dil
	callq	_tt_assert
	cmpl	$0, (%r12)
	jle	LBB0_11
## %bb.9:
	xorl	%ebx, %ebx
	movq	_load_threads@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_THREAD_JOIN
	incq	%rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jl	LBB0_10
LBB0_11:
	testq	%r13, %r13
	je	LBB0_13
## %bb.12:
	movq	%r13, %rdi
	callq	_event_base_free
LBB0_13:
	testq	%r14, %r14
	je	LBB0_15
## %bb.14:
	movq	%r14, %rdi
	callq	_event_config_free
LBB0_15:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	3                               ## @__const.thread_deferred_cb_skew.tv_timer
l___const.thread_deferred_cb_skew.tv_timer:
	.long	1                               ## 0x1
	.long	0                               ## 0x0
	.quad	0                               ## 0x0
	.long	0                               ## 0x0
	.space	4

	.comm	_QUEUE_THREAD_COUNT,4,2         ## @QUEUE_THREAD_COUNT
	.comm	_deferred_data,8,3              ## @deferred_data
	.comm	_timer_start,4,2                ## @timer_start
	.comm	_EV_TIMEOUT,4,2                 ## @EV_TIMEOUT
	.comm	_timer_callback,4,2             ## @timer_callback
	.comm	_start_threads_callback,4,2     ## @start_threads_callback
	.comm	_timer_end,4,2                  ## @timer_end
	.comm	_callback_count,4,2             ## @callback_count
	.comm	_load_threads,8,3               ## @load_threads
	.no_dead_strip	_thread_deferred_cb_skew
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function thread_deferred_cb_skew
_thread_deferred_cb_skew:               ; @thread_deferred_cb_skew
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
Lloh0:
	adrp	x8, l___const.thread_deferred_cb_skew.tv_timer@PAGE
Lloh1:
	add	x8, x8, l___const.thread_deferred_cb_skew.tv_timer@PAGEOFF
	ldr	q0, [x8]
	str	q0, [sp, #32]
	ldr	x8, [x8, #16]
	str	x8, [sp, #48]
	bl	_event_config_new
	mov	x19, x0
	bl	_tt_assert
	mov	x0, x19
	mov	x1, #0
	mov	w2, #16
	mov	w3, #0
	bl	_event_config_set_max_dispatch_interval
	mov	x0, x19
	bl	_event_base_new_with_config
	mov	x20, x0
	bl	_tt_assert
Lloh2:
	adrp	x22, _QUEUE_THREAD_COUNT@GOTPAGE
Lloh3:
	ldr	x22, [x22, _QUEUE_THREAD_COUNT@GOTPAGEOFF]
	ldr	w9, [x22]
	cmp	w9, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x8, #0
	lsl	x9, x9, #3
Lloh4:
	adrp	x10, _deferred_data@GOTPAGE
Lloh5:
	ldr	x10, [x10, _deferred_data@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x10]
	str	x20, [x11, x8]
	add	x8, x8, #8
	cmp	x9, x8
	b.ne	LBB0_2
LBB0_3:
Lloh6:
	adrp	x21, _timer_start@GOTPAGE
Lloh7:
	ldr	x21, [x21, _timer_start@GOTPAGEOFF]
	mov	x0, x21
	mov	x1, #0
	bl	_evutil_gettimeofday
Lloh8:
	adrp	x23, _EV_TIMEOUT@GOTPAGE
Lloh9:
	ldr	x23, [x23, _EV_TIMEOUT@GOTPAGEOFF]
	ldr	w2, [x23]
Lloh10:
	adrp	x8, _timer_callback@GOTPAGE
Lloh11:
	ldr	x8, [x8, _timer_callback@GOTPAGEOFF]
Lloh12:
	ldr	w3, [x8]
	add	x5, sp, #32
	mov	x0, x20
	mov	w1, #-1
	mov	x4, #0
	bl	_event_base_once
	ldr	w2, [x23]
Lloh13:
	adrp	x8, _start_threads_callback@GOTPAGE
Lloh14:
	ldr	x8, [x8, _start_threads_callback@GOTPAGEOFF]
Lloh15:
	ldr	w3, [x8]
	mov	x0, x20
	mov	w1, #-1
	mov	x4, #0
	mov	x5, #0
	bl	_event_base_once
	mov	x0, x20
	bl	_event_base_dispatch
Lloh16:
	adrp	x0, _timer_end@GOTPAGE
Lloh17:
	ldr	x0, [x0, _timer_end@GOTPAGEOFF]
	add	x2, sp, #8
	mov	x1, x21
	bl	_evutil_timersub
Lloh18:
	adrp	x8, _callback_count@GOTPAGE
Lloh19:
	ldr	x8, [x8, _callback_count@GOTPAGEOFF]
Lloh20:
	ldrsw	x0, [x8]
	bl	_TT_BLATHER
	mov	w8, #16960
	movk	w8, #15, lsl #16
	ldp	w9, w10, [sp, #12]
	madd	w21, w9, w8, w10
	sxtw	x0, w21
	bl	_TT_BLATHER
	sub	w8, w21, #146, lsl #12          ; =598016
	sub	w8, w8, #1984
	mov	w9, #13569
	movk	w9, #12, lsl #16
	cmp	w8, w9
	cset	w0, lo
	bl	_tt_assert
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x21, #0
Lloh21:
	adrp	x23, _load_threads@GOTPAGE
Lloh22:
	ldr	x23, [x23, _load_threads@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	ldr	w0, [x8, x21, lsl #2]
	bl	_THREAD_JOIN
	add	x21, x21, #1
	ldrsw	x8, [x22]
	cmp	x21, x8
	b.lt	LBB0_5
LBB0_6:
	cbz	x20, LBB0_8
; %bb.7:
	mov	x0, x20
	bl	_event_base_free
LBB0_8:
	cbz	x19, LBB0_10
; %bb.9:
	mov	x0, x19
	bl	_event_config_free
LBB0_10:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	3                               ; @__const.thread_deferred_cb_skew.tv_timer
l___const.thread_deferred_cb_skew.tv_timer:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.quad	0                               ; 0x0
	.long	0                               ; 0x0
	.space	4

	.comm	_QUEUE_THREAD_COUNT,4,2         ; @QUEUE_THREAD_COUNT
	.comm	_deferred_data,8,3              ; @deferred_data
	.comm	_timer_start,4,2                ; @timer_start
	.comm	_EV_TIMEOUT,4,2                 ; @EV_TIMEOUT
	.comm	_timer_callback,4,2             ; @timer_callback
	.comm	_start_threads_callback,4,2     ; @start_threads_callback
	.comm	_timer_end,4,2                  ; @timer_end
	.comm	_callback_count,4,2             ; @callback_count
	.comm	_load_threads,8,3               ; @load_threads
	.no_dead_strip	_thread_deferred_cb_skew
.subsections_via_symbols
