	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cache_acounter                 ## -- Begin function cache_acounter
	.p2align	4, 0x90
_cache_acounter:                        ## @cache_acounter
	.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
	movq	%rdx, %r14
	movq	%rdi, %r15
	movl	%esi, %edi
	callq	_get_acounter_id_by_t
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movl	%eax, %ebx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_get_uri_f
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movq	_acounter_off@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	shlq	$2, %rcx
	addq	(%rax), %rcx
	movl	%ebx, %edi
	leaq	(%rcx,%rdi,8), %rbx
	movq	_TAT@GOTPCREL(%rip), %rax
	shlq	$2, %rdi
	addq	(%rax), %rdi
	movq	%rbx, %rsi
	callq	_amortization_counter_update
LBB0_6:
	movsd	(%rbx), %xmm0                   ## xmm0 = mem[0],zero
	movsd	%xmm0, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_1:
	movl	$-1, %eax
	jmp	LBB0_7
LBB0_3:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_strcmp
	movq	%rax, %rcx
	movl	$-2, %eax
	testq	%rcx, %rcx
	je	LBB0_4
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_cum_access_counters@GOTPCREL(%rip), %rax
	movl	%ebx, %edi
	leaq	(,%rdi,8), %rbx
	addq	(%rax), %rbx
	movq	_TAT@GOTPCREL(%rip), %rax
	shlq	$2, %rdi
	addq	(%rax), %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_amortization_counter_precise_increment
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"__CUMULATIVE__"

	.comm	_cum_access_counters,8,3        ## @cum_access_counters
	.comm	_TAT,8,3                        ## @TAT
	.comm	_acounter_off,8,3               ## @acounter_off
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cache_acounter                 ; -- Begin function cache_acounter
	.p2align	2
_cache_acounter:                        ; @cache_acounter
	.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	x19, x2
	mov	x21, x0
	mov	x0, x1
	bl	_get_acounter_id_by_t
	tbnz	w0, #31, LBB0_4
; %bb.1:
	mov	x20, x0
	mov	x0, x21
	mov	w1, #0
	bl	_get_uri_f
	cbz	x0, LBB0_5
; %bb.2:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _acounter_off@GOTPAGE
Lloh1:
	ldr	x9, [x9, _acounter_off@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x8, x8, x9, lsl #2
	add	x21, x8, w20, uxtw #3
Lloh3:
	adrp	x8, _TAT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TAT@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	add	x0, x8, w20, uxtw #2
	mov	x1, x21
	bl	_amortization_counter_update
LBB0_3:
	mov	w0, #0
	ldr	d0, [x21]
	str	d0, [x19]
	b	LBB0_7
LBB0_4:
	mov	w0, #-1
	b	LBB0_7
LBB0_5:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_strcmp
	cbz	x0, LBB0_8
; %bb.6:
	mov	w0, #-2
LBB0_7:
	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
LBB0_8:
Lloh8:
	adrp	x8, _cum_access_counters@GOTPAGE
Lloh9:
	ldr	x8, [x8, _cum_access_counters@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	add	x21, x8, w20, uxtw #3
Lloh11:
	adrp	x8, _TAT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TAT@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	add	x0, x8, w20, uxtw #2
	mov	x1, x21
	mov	w2, #0
	bl	_amortization_counter_precise_increment
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"__CUMULATIVE__"

	.comm	_cum_access_counters,8,3        ; @cum_access_counters
	.comm	_TAT,8,3                        ; @TAT
	.comm	_acounter_off,8,3               ; @acounter_off
.subsections_via_symbols
