	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function clkintr
_clkintr:                               ## @clkintr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_i8254_timecounter@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.1:
	cmpq	$0, (%rbx)
	je	LBB0_5
## %bb.2:
	movq	_clock_lock@GOTPCREL(%rip), %rdi
	callq	_mtx_lock_spin
	movq	_i8254_ticked@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_4
## %bb.3:
	movq	_i8254_max_count@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_i8254_offset@GOTPCREL(%rip), %rcx
	addl	%eax, (%rcx)
	movq	_i8254_lastcount@GOTPCREL(%rip), %rax
LBB0_4:
	movq	$0, (%rax)
	movq	_clkintr_pending@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_clock_lock@GOTPCREL(%rip), %rdi
	callq	_mtx_unlock_spin
LBB0_5:
	cmpq	$0, 32(%rbx)
	je	LBB0_8
## %bb.6:
	movq	8(%rbx), %rax
	movq	_MODE_STOP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.7:
	leaq	16(%rbx), %rdi
	movl	16(%rbx), %esi
	callq	*24(%rbx)
LBB0_8:
	movq	_FILTER_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_i8254_timecounter,8,3          ## @i8254_timecounter
	.comm	_clock_lock,4,2                 ## @clock_lock
	.comm	_i8254_ticked,8,3               ## @i8254_ticked
	.comm	_i8254_max_count,8,3            ## @i8254_max_count
	.comm	_i8254_offset,4,2               ## @i8254_offset
	.comm	_i8254_lastcount,8,3            ## @i8254_lastcount
	.comm	_clkintr_pending,8,3            ## @clkintr_pending
	.comm	_MODE_STOP,8,3                  ## @MODE_STOP
	.comm	_FILTER_HANDLED,4,2             ## @FILTER_HANDLED
	.no_dead_strip	_clkintr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function clkintr
_clkintr:                               ; @clkintr
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _i8254_timecounter@GOTPAGE
Lloh1:
	ldr	x8, [x8, _i8254_timecounter@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.1:
	ldr	x8, [x19]
	cbz	x8, LBB0_5
; %bb.2:
Lloh3:
	adrp	x0, _clock_lock@GOTPAGE
Lloh4:
	ldr	x0, [x0, _clock_lock@GOTPAGEOFF]
	bl	_mtx_lock_spin
Lloh5:
	adrp	x8, _i8254_ticked@GOTPAGE
Lloh6:
	ldr	x8, [x8, _i8254_ticked@GOTPAGEOFF]
	ldr	x9, [x8]
	cbnz	x9, LBB0_4
; %bb.3:
Lloh7:
	adrp	x8, _i8254_max_count@GOTPAGE
Lloh8:
	ldr	x8, [x8, _i8254_max_count@GOTPAGEOFF]
Lloh9:
	adrp	x9, _i8254_offset@GOTPAGE
Lloh10:
	ldr	x9, [x9, _i8254_offset@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w10, [x9]
	add	w8, w10, w8
	str	w8, [x9]
Lloh12:
	adrp	x8, _i8254_lastcount@GOTPAGE
Lloh13:
	ldr	x8, [x8, _i8254_lastcount@GOTPAGEOFF]
LBB0_4:
	str	xzr, [x8]
Lloh14:
	adrp	x8, _clkintr_pending@GOTPAGE
Lloh15:
	ldr	x8, [x8, _clkintr_pending@GOTPAGEOFF]
Lloh16:
	str	xzr, [x8]
Lloh17:
	adrp	x0, _clock_lock@GOTPAGE
Lloh18:
	ldr	x0, [x0, _clock_lock@GOTPAGEOFF]
	bl	_mtx_unlock_spin
LBB0_5:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_8
; %bb.6:
	ldr	x8, [x19, #8]
Lloh19:
	adrp	x9, _MODE_STOP@GOTPAGE
Lloh20:
	ldr	x9, [x9, _MODE_STOP@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_8
; %bb.7:
	add	x0, x19, #16
	ldr	x8, [x19, #24]
	ldr	w1, [x19, #16]
	blr	x8
LBB0_8:
Lloh22:
	adrp	x8, _FILTER_HANDLED@GOTPAGE
Lloh23:
	ldr	x8, [x8, _FILTER_HANDLED@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh11
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_i8254_timecounter,8,3          ; @i8254_timecounter
	.comm	_clock_lock,4,2                 ; @clock_lock
	.comm	_i8254_ticked,8,3               ; @i8254_ticked
	.comm	_i8254_max_count,8,3            ; @i8254_max_count
	.comm	_i8254_offset,4,2               ; @i8254_offset
	.comm	_i8254_lastcount,8,3            ; @i8254_lastcount
	.comm	_clkintr_pending,8,3            ; @clkintr_pending
	.comm	_MODE_STOP,8,3                  ; @MODE_STOP
	.comm	_FILTER_HANDLED,4,2             ; @FILTER_HANDLED
	.no_dead_strip	_clkintr
.subsections_via_symbols
