	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function clock_intr
_clock_intr:                            ## @clock_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, %r14
	callq	_DPCPU_GET
	movl	%eax, %r15d
	xorl	%eax, %eax
	callq	_mips_rd_count
	movl	%eax, %ebx
	movq	_compare_ticks@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_DPCPU_GET
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	testl	%r15d, %r15d
	jle	LBB0_1
## %bb.2:
	leal	(%rbx,%r15), %r13d
	movl	(%r12), %edi
	movl	%r13d, %esi
	callq	_DPCPU_SET
	jmp	LBB0_3
LBB0_1:
	movl	$-1, %r13d
LBB0_3:
	movl	%r13d, %edi
	callq	_mips_wr_compare
	movq	_counter_lower_last@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_DPCPU_GET
	cmpl	%eax, %ebx
	jge	LBB0_5
## %bb.4:
	movq	_counter_upper@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	%r13d, %edi
	callq	_DPCPU_GET
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %esi
	movl	%r13d, %edi
	callq	_DPCPU_SET
LBB0_5:
	movl	(%r12), %edi
	movl	%ebx, %esi
	callq	_DPCPU_SET
	testl	%r15d, %r15d
	jle	LBB0_12
## %bb.6:
	callq	_DPCPU_GET
	subl	-44(%rbp), %ebx                 ## 4-byte Folded Reload
	addl	%eax, %ebx
	leal	(%r15,%r15), %eax
	cmpl	%eax, %ebx
	cmovgl	%r15d, %ebx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	subl	%r15d, %ebx
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%r15d, %ebx
	jl	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpq	$0, 16(%r14)
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r14), %esi
	movq	%r14, %rdi
	callq	*8(%r14)
	jmp	LBB0_10
LBB0_11:
	movl	%ebx, %edi
	movl	%ebx, %esi
	callq	_DPCPU_SET
LBB0_12:
	cmpq	$0, 16(%r14)
	je	LBB0_14
## %bb.13:
	movl	(%r14), %esi
	movq	%r14, %rdi
	callq	*8(%r14)
LBB0_14:
	movq	_FILTER_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_compare_ticks,4,2              ## @compare_ticks
	.comm	_counter_lower_last,4,2         ## @counter_lower_last
	.comm	_counter_upper,4,2              ## @counter_upper
	.comm	_FILTER_HANDLED,4,2             ## @FILTER_HANDLED
	.no_dead_strip	_clock_intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function clock_intr
_clock_intr:                            ; @clock_intr
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	bl	_DPCPU_GET
	mov	x20, x0
	bl	_mips_rd_count
	mov	x21, x0
Lloh0:
	adrp	x24, _compare_ticks@GOTPAGE
Lloh1:
	ldr	x24, [x24, _compare_ticks@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_DPCPU_GET
	mov	x22, x0
	cmp	w20, #1
	b.lt	LBB0_2
; %bb.1:
	add	w23, w21, w20
	ldr	w0, [x24]
	mov	x1, x23
	bl	_DPCPU_SET
	b	LBB0_3
LBB0_2:
	mov	w23, #-1
LBB0_3:
	mov	x0, x23
	bl	_mips_wr_compare
Lloh2:
	adrp	x24, _counter_lower_last@GOTPAGE
Lloh3:
	ldr	x24, [x24, _counter_lower_last@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_DPCPU_GET
	cmp	w21, w0
	b.ge	LBB0_5
; %bb.4:
Lloh4:
	adrp	x8, _counter_upper@GOTPAGE
Lloh5:
	ldr	x8, [x8, _counter_upper@GOTPAGEOFF]
Lloh6:
	ldr	w23, [x8]
	mov	x0, x23
	bl	_DPCPU_GET
	add	w1, w0, #1
	mov	x0, x23
	bl	_DPCPU_SET
LBB0_5:
	ldr	w0, [x24]
	mov	x1, x21
	bl	_DPCPU_SET
	cmp	w20, #1
	b.lt	LBB0_12
; %bb.6:
	bl	_DPCPU_GET
	sub	w8, w21, w22
	add	w8, w0, w8
	cmp	w8, w20, lsl #1
	csel	w21, w20, w8, gt
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	sub	w21, w21, w20
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w21, w20
	b.lt	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x19, #8]
	ldr	w1, [x19]
	mov	x0, x19
	blr	x8
	b	LBB0_7
LBB0_11:
	mov	x0, x21
	mov	x1, x21
	bl	_DPCPU_SET
LBB0_12:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_14
; %bb.13:
	ldr	x8, [x19, #8]
	ldr	w1, [x19]
	mov	x0, x19
	blr	x8
LBB0_14:
Lloh7:
	adrp	x8, _FILTER_HANDLED@GOTPAGE
Lloh8:
	ldr	x8, [x8, _FILTER_HANDLED@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_compare_ticks,4,2              ; @compare_ticks
	.comm	_counter_lower_last,4,2         ; @counter_lower_last
	.comm	_counter_upper,4,2              ; @counter_upper
	.comm	_FILTER_HANDLED,4,2             ; @FILTER_HANDLED
	.no_dead_strip	_clock_intr
.subsections_via_symbols
