	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sort_timers
_sort_timers:                           ## @sort_timers
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_tims_used@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_tfd_alloc@GOTPCREL(%rip), %rax
	cmpl	(%rax), %esi
	jle	LBB0_1
## %bb.2:
	movl	%esi, (%rax)
	movq	_tfd@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	shll	$3, %esi
	callq	__xrealloc
	movq	%rax, (%rbx)
	jmp	LBB0_3
LBB0_1:
	movq	_tfd@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_3:
	movq	_tims_alloc@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r8
	movq	%rax, %rsi
	testq	%r8, %r8
	je	LBB0_20
## %bb.4:
	movq	_tims@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leaq	-1(%r8), %rsi
	movl	%r8d, %edx
	andl	$3, %edx
	cmpq	$3, %rsi
	jae	LBB0_6
## %bb.5:
	xorl	%edi, %edi
	movq	%rax, %rsi
LBB0_16:
	testq	%rdx, %rdx
	jne	LBB0_17
LBB0_20:
	subq	%rax, %rsi
	sarq	$2, %rsi
	movslq	(%r14), %rax
	xorl	%edi, %edi
	cmpq	%rax, %rsi
	sete	%dil
	callq	_assert
	movl	(%r14), %esi
	movq	_tfd_used@GOTPCREL(%rip), %rax
	movl	%esi, (%rax)
	cmpl	$2, %esi
	jl	LBB0_21
## %bb.22:
	movq	_tfd@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_tim_cmp@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$4, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_qsort                          ## TAILCALL
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_17 Depth=1
	incq	%rdi
	decq	%rdx
	je	LBB0_20
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rcx,%rdi,8)
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	movl	%edi, (%rsi)
	addq	$4, %rsi
	jmp	LBB0_19
LBB0_21:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	andq	$-4, %r8
	xorl	%edi, %edi
	movq	%rax, %rsi
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_7 Depth=1
	addq	$4, %rdi
	cmpq	%rdi, %r8
	je	LBB0_16
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rcx,%rdi,8)
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	%edi, (%rsi)
	addq	$4, %rsi
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	cmpq	$0, 8(%rcx,%rdi,8)
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	leal	1(%rdi), %ebx
	movl	%ebx, (%rsi)
	addq	$4, %rsi
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpq	$0, 16(%rcx,%rdi,8)
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=1
	leal	2(%rdi), %ebx
	movl	%ebx, (%rsi)
	addq	$4, %rsi
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpq	$0, 24(%rcx,%rdi,8)
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_7 Depth=1
	leal	3(%rdi), %ebx
	movl	%ebx, (%rsi)
	addq	$4, %rsi
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_tims_used,4,2                  ## @tims_used
	.comm	_tfd_alloc,4,2                  ## @tfd_alloc
	.comm	_tfd,8,3                        ## @tfd
	.comm	_tims_alloc,8,3                 ## @tims_alloc
	.comm	_tims,8,3                       ## @tims
	.comm	_tfd_used,4,2                   ## @tfd_used
	.comm	_tim_cmp,4,2                    ## @tim_cmp
	.no_dead_strip	_sort_timers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sort_timers
_sort_timers:                           ; @sort_timers
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x20, _tims_used@GOTPAGE
Lloh1:
	ldr	x20, [x20, _tims_used@GOTPAGEOFF]
	ldr	w8, [x20]
Lloh2:
	adrp	x9, _tfd_alloc@GOTPAGE
Lloh3:
	ldr	x9, [x9, _tfd_alloc@GOTPAGEOFF]
	ldr	w10, [x9]
Lloh4:
	adrp	x19, _tfd@GOTPAGE
Lloh5:
	ldr	x19, [x19, _tfd@GOTPAGEOFF]
	cmp	w8, w10
	b.le	LBB0_2
; %bb.1:
	str	w8, [x9]
	ldr	x0, [x19]
	lsl	w1, w8, #3
	bl	__xrealloc
	str	x0, [x19]
	b	LBB0_3
LBB0_2:
	ldr	x0, [x19]
LBB0_3:
Lloh6:
	adrp	x8, _tims_alloc@GOTPAGE
Lloh7:
	ldr	x8, [x8, _tims_alloc@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	mov	x11, x0
	cbz	x8, LBB0_8
; %bb.4:
	mov	x9, #0
Lloh9:
	adrp	x10, _tims@GOTPAGE
Lloh10:
	ldr	x10, [x10, _tims@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	mov	x11, x0
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x9, x9, #1
	cmp	x8, x9
	b.eq	LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x10, x9, lsl #3]
	cbz	x12, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	str	w9, [x11], #4
	b	LBB0_5
LBB0_8:
	sub	x8, x11, x0
	ldrsw	x9, [x20]
	cmp	x9, x8, asr #2
	cset	w0, eq
	bl	_assert
	ldr	w1, [x20]
Lloh12:
	adrp	x8, _tfd_used@GOTPAGE
Lloh13:
	ldr	x8, [x8, _tfd_used@GOTPAGEOFF]
Lloh14:
	str	w1, [x8]
	cmp	w1, #2
	b.lt	LBB0_10
; %bb.9:
Lloh15:
	adrp	x8, _tim_cmp@GOTPAGE
Lloh16:
	ldr	x8, [x8, _tim_cmp@GOTPAGEOFF]
	ldr	x0, [x19]
Lloh17:
	ldr	w3, [x8]
	mov	w2, #4
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_qsort
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_tims_used,4,2                  ; @tims_used
	.comm	_tfd_alloc,4,2                  ; @tfd_alloc
	.comm	_tfd,8,3                        ; @tfd
	.comm	_tims_alloc,8,3                 ; @tims_alloc
	.comm	_tims,8,3                       ; @tims
	.comm	_tfd_used,4,2                   ; @tfd_used
	.comm	_tim_cmp,4,2                    ; @tim_cmp
	.no_dead_strip	_sort_timers
.subsections_via_symbols
