	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tick_intr
_tick_intr:                             ## @tick_intr
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_tickincrement@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PCPU_GET
	testq	%rax, %rax
	je	LBB0_14
## %bb.1:
	movq	%rax, %r15
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_intr_disable
	movl	%eax, %ebx
	movq	_tickadj@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_PCPU_GET
	movq	%rax, %r12
	xorl	%eax, %eax
	callq	_rd_tick
	movq	%rax, %r13
	movq	%r15, %rdi
	subq	%r12, %rdi
	addq	%rax, %rdi
	callq	_wr_tick_cmpr
	movl	%ebx, %edi
	callq	_intr_restore
	movq	_tickref@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PCPU_GET
	movq	%rax, %rbx
	subq	%rax, %r13
	cmpq	%r15, %r13
	jge	LBB0_2
## %bb.11:
	movq	_adjust_excess@GOTPCREL(%rip), %rax
	incl	(%rax)
	xorl	%r15d, %r15d
	jmp	LBB0_12
LBB0_14:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tick_process                   ## TAILCALL
LBB0_2:
	movl	$1, %r14d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	addq	%r15, %rbx
	decl	%r14d
	cmpq	%r15, %r13
	jl	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_tick_process
	subq	%r15, %r13
	testq	%r12, %r12
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_adjust_ticks@GOTPCREL(%rip), %rax
	incl	(%rax)
	jmp	LBB0_5
LBB0_6:
	movq	_adjust_missed@GOTPCREL(%rip), %rax
	subl	%r14d, (%rax)
	movq	%r15, %rax
	sarq	$3, %rax
	cmpq	%rax, %r13
	jle	LBB0_7
## %bb.8:
	testq	%r12, %r12
	movq	_tickadj@GOTPCREL(%rip), %r14
	movq	_tickref@GOTPCREL(%rip), %rcx
	jne	LBB0_10
## %bb.9:
	movq	_adjust_edges@GOTPCREL(%rip), %rax
	incl	(%rax)
LBB0_10:
	sarq	$4, %r15
	jmp	LBB0_13
LBB0_7:
	xorl	%r15d, %r15d
	movq	_tickadj@GOTPCREL(%rip), %r14
LBB0_12:
	movq	_tickref@GOTPCREL(%rip), %rcx
LBB0_13:
	movl	(%rcx), %edi
	movq	%rbx, %rsi
	callq	_PCPU_SET
	movl	(%r14), %edi
	movq	%r15, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PCPU_SET                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_tickincrement,4,2              ## @tickincrement
	.comm	_tickadj,4,2                    ## @tickadj
	.comm	_tickref,4,2                    ## @tickref
	.comm	_adjust_ticks,4,2               ## @adjust_ticks
	.comm	_adjust_missed,4,2              ## @adjust_missed
	.comm	_adjust_edges,4,2               ## @adjust_edges
	.comm	_adjust_excess,4,2              ## @adjust_excess
	.no_dead_strip	_tick_intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tick_intr
_tick_intr:                             ; @tick_intr
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x0
Lloh0:
	adrp	x8, _tickincrement@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tickincrement@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_PCPU_GET
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	bl	_intr_disable
	mov	x21, x0
Lloh3:
	adrp	x24, _tickadj@GOTPAGE
Lloh4:
	ldr	x24, [x24, _tickadj@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_PCPU_GET
	mov	x22, x0
	bl	_rd_tick
	mov	x23, x0
	sub	x8, x19, x22
	add	x0, x8, x0
	bl	_wr_tick_cmpr
	mov	x0, x21
	bl	_intr_restore
Lloh5:
	adrp	x25, _tickref@GOTPAGE
Lloh6:
	ldr	x25, [x25, _tickref@GOTPAGEOFF]
	ldr	w0, [x25]
	bl	_PCPU_GET
	mov	x21, x0
	sub	x23, x23, x0
	cmp	x23, x19
	b.ge	LBB0_4
; %bb.2:
	mov	x19, #0
Lloh7:
	adrp	x8, _adjust_excess@GOTPAGE
Lloh8:
	ldr	x8, [x8, _adjust_excess@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	b	LBB0_13
LBB0_3:
	mov	x0, x20
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_tick_process
LBB0_4:
	mov	w26, #1
Lloh9:
	adrp	x27, _adjust_ticks@GOTPAGE
Lloh10:
	ldr	x27, [x27, _adjust_ticks@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x21, x21, x19
	sub	w26, w26, #1
	cmp	x23, x19
	b.lt	LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_tick_process
	sub	x23, x23, x19
	cbz	x22, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x27]
	add	w8, w8, #1
	str	w8, [x27]
	b	LBB0_5
LBB0_8:
Lloh11:
	adrp	x8, _adjust_missed@GOTPAGE
Lloh12:
	ldr	x8, [x8, _adjust_missed@GOTPAGEOFF]
	ldr	w9, [x8]
	sub	w9, w9, w26
	str	w9, [x8]
	cmp	x23, x19, asr #3
	b.le	LBB0_12
; %bb.9:
	cbnz	x22, LBB0_11
; %bb.10:
Lloh13:
	adrp	x8, _adjust_edges@GOTPAGE
Lloh14:
	ldr	x8, [x8, _adjust_edges@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
LBB0_11:
	asr	x19, x19, #4
	b	LBB0_13
LBB0_12:
	mov	x19, #0
LBB0_13:
	ldr	w0, [x25]
	mov	x1, x21
	bl	_PCPU_SET
	ldr	w0, [x24]
	mov	x1, x19
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_PCPU_SET
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_tickincrement,4,2              ; @tickincrement
	.comm	_tickadj,4,2                    ; @tickadj
	.comm	_tickref,4,2                    ; @tickref
	.comm	_adjust_ticks,4,2               ; @adjust_ticks
	.comm	_adjust_missed,4,2              ; @adjust_missed
	.comm	_adjust_edges,4,2               ; @adjust_edges
	.comm	_adjust_excess,4,2              ; @adjust_excess
	.no_dead_strip	_tick_intr
.subsections_via_symbols
