	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_cache_event
_find_cache_event:                      ## @find_cache_event
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movslq	8(%rdi), %rax
	movq	_events@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%rax,8), %rbx
	testq	%rbx, %rbx
	jne	LBB0_4
## %bb.1:
	movq	(%rdi), %rbx
	movq	%rbx, (%rcx,%rax,8)
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.3:
	movq	(%rbx), %rdx
	movq	8(%rbx), %rcx
	leaq	_find_cache_event.ev_name(%rip), %r14
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_sprintf
	movl	16(%rbx), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_define_event_symbols
	jmp	LBB0_4
LBB0_2:
	xorl	%ebx, %ebx
LBB0_4:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_find_cache_event.ev_name,256,4 ## @find_cache_event.ev_name
	.comm	_events,8,3                     ## @events
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s__%s"

	.no_dead_strip	_find_cache_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_cache_event
_find_cache_event:                      ; @find_cache_event
	.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
	ldrsw	x8, [x0, #8]
Lloh0:
	adrp	x9, _events@GOTPAGE
Lloh1:
	ldr	x9, [x9, _events@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x19, [x9, x8, lsl #3]
	cbnz	x19, LBB0_3
; %bb.1:
	ldr	x19, [x0]
	str	x19, [x9, x8, lsl #3]
	cbz	x19, LBB0_3
; %bb.2:
	ldp	x2, x3, [x19]
Lloh3:
	adrp	x20, _find_cache_event.ev_name@PAGE
Lloh4:
	add	x20, x20, _find_cache_event.ev_name@PAGEOFF
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_sprintf
	ldr	w2, [x19, #16]
	mov	x0, x19
	mov	x1, x20
	bl	_define_event_symbols
LBB0_3:
	mov	x0, x19
	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 AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_find_cache_event.ev_name,256,0 ; @find_cache_event.ev_name
	.comm	_events,8,3                     ; @events
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s__%s"

	.no_dead_strip	_find_cache_event
.subsections_via_symbols
