	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function timer_done
_timer_done:                            ## @timer_done
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	callq	_hwt_read
	movq	(%r15), %rcx
	testq	%rcx, %rcx
	je	LBB0_1
## %bb.2:
	movq	(%rcx), %rsi
	cmpq	%rsi, %rax
	jge	LBB0_7
## %bb.3:
	movq	%r15, %rdx
	jmp	LBB0_6
LBB0_1:
	xorl	%ecx, %ecx
	movq	%r15, %rdx
	jmp	LBB0_10
LBB0_7:
	movq	_FALSE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rcx, %rdx
	movl	%edi, 24(%rcx)
	movq	16(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_8 Depth=1
	subq	%rsi, %rax
	movq	(%rcx), %rsi
	cmpq	%rsi, %rax
	jge	LBB0_8
## %bb.5:
	addq	$16, %rdx
LBB0_6:
	subq	%rax, %rsi
	movq	%rsi, (%rcx)
	jmp	LBB0_10
LBB0_9:
	addq	$16, %rdx
LBB0_10:
	movq	$0, (%rdx)
	movq	(%r15), %rax
	movq	%rcx, (%r15)
	testq	%rax, %rax
	je	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%rax), %rbx
	movl	8(%rax), %esi
	movq	%r15, %rdi
	callq	_timer_event
	movq	%rbx, %rax
	testq	%rbx, %rbx
	jne	LBB0_11
LBB0_12:
	testl	%r14d, %r14d
	je	LBB0_14
## %bb.13:
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_14
## %bb.15:
	movq	(%rax), %rsi
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hwt_start                      ## TAILCALL
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_timer_done
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function timer_done
_timer_done:                            ; @timer_done
	.cfi_startproc
; %bb.0:
	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
	mov	x20, x1
	mov	x19, x0
	bl	_hwt_read
	ldr	x8, [x19]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x9, [x8]
	cmp	x0, x9
	b.ge	LBB0_4
; %bb.2:
	mov	x10, x19
	b	LBB0_8
LBB0_3:
	mov	x10, x19
	b	LBB0_10
LBB0_4:
Lloh0:
	adrp	x10, _FALSE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _FALSE@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x11, x8
	str	w10, [x8, #24]
	ldr	x8, [x8, #16]
	cbz	x8, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	x0, x0, x9
	ldr	x9, [x8]
	cmp	x0, x9
	b.ge	LBB0_5
; %bb.7:
	add	x10, x11, #16
LBB0_8:
	sub	x9, x9, x0
	str	x9, [x8]
	b	LBB0_10
LBB0_9:
	add	x10, x11, #16
LBB0_10:
	str	xzr, [x10]
	ldr	x9, [x19]
	str	x8, [x19]
	cbz	x9, LBB0_12
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x21, [x9, #16]
	ldr	w1, [x9, #8]
	mov	x0, x19
	bl	_timer_event
	mov	x9, x21
	cbnz	x21, LBB0_11
LBB0_12:
	cbz	w20, LBB0_15
; %bb.13:
	ldr	x8, [x19]
	cbz	x8, LBB0_15
; %bb.14:
	ldr	x1, [x8]
	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	_hwt_start
LBB0_15:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_timer_done
.subsections_via_symbols
