	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_arcofi_timer
_add_arcofi_timer:                      ## @add_arcofi_timer
	.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	_FLG_ARCOFI_TIMER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%rbx), %rsi
	callq	_test_and_set_bit
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_del_timer
LBB0_2:
	movq	%rbx, %rdi
	callq	_init_timer
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	_ARCOFI_TIMER_VALUE@GOTPCREL(%rip), %rcx
	movq	_HZ@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	imull	(%rcx), %edx
	movslq	%edx, %rcx
	imulq	$274877907, %rcx, %rcx          ## imm = 0x10624DD3
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$38, %rcx
	addl	%edx, %ecx
	movslq	%ecx, %rcx
	addq	(%rax), %rcx
	movq	%rcx, (%rbx)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_add_timer                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FLG_ARCOFI_TIMER,4,2           ## @FLG_ARCOFI_TIMER
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_ARCOFI_TIMER_VALUE,4,2         ## @ARCOFI_TIMER_VALUE
	.comm	_HZ,4,2                         ## @HZ
	.no_dead_strip	_add_arcofi_timer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_arcofi_timer
_add_arcofi_timer:                      ; @add_arcofi_timer
	.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, _FLG_ARCOFI_TIMER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FLG_ARCOFI_TIMER@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x19, #8
	bl	_test_and_set_bit
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_del_timer
LBB0_2:
	mov	x0, x19
	bl	_init_timer
Lloh3:
	adrp	x8, _jiffies@GOTPAGE
Lloh4:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _ARCOFI_TIMER_VALUE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ARCOFI_TIMER_VALUE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _HZ@GOTPAGE
Lloh10:
	ldr	x10, [x10, _HZ@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	mul	w9, w10, w9
	mov	w10, #19923
	movk	w10, #4194, lsl #16
	smull	x9, w9, w10
	lsr	x10, x9, #63
	asr	x9, x9, #38
	add	w9, w9, w10
	add	x8, x8, w9, sxtw
	str	x8, [x19]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_add_timer
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_FLG_ARCOFI_TIMER,4,2           ; @FLG_ARCOFI_TIMER
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_ARCOFI_TIMER_VALUE,4,2         ; @ARCOFI_TIMER_VALUE
	.comm	_HZ,4,2                         ; @HZ
	.no_dead_strip	_add_arcofi_timer
.subsections_via_symbols
