	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EventCacheLookup               ## -- Begin function EventCacheLookup
	.p2align	4, 0x90
_EventCacheLookup:                      ## @EventCacheLookup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movl	%edi, -4(%rbp)
	movq	_EventTriggerCacheState@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ETCS_VALID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_BuildEventTriggerCache
LBB0_2:
	movq	_EventTriggerCache@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_HASH_FIND@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-4(%rbp), %rsi
	xorl	%ecx, %ecx
	callq	_hash_search
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	_NIL@GOTPCREL(%rip), %rax
LBB0_4:
	movq	(%rax), %rax
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EventTriggerCacheState,8,3     ## @EventTriggerCacheState
	.comm	_ETCS_VALID,8,3                 ## @ETCS_VALID
	.comm	_EventTriggerCache,4,2          ## @EventTriggerCache
	.comm	_HASH_FIND,4,2                  ## @HASH_FIND
	.comm	_NIL,8,3                        ## @NIL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EventCacheLookup               ; -- Begin function EventCacheLookup
	.p2align	2
_EventCacheLookup:                      ; @EventCacheLookup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
Lloh0:
	adrp	x8, _EventTriggerCacheState@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EventTriggerCacheState@GOTPAGEOFF]
	stur	w0, [x29, #-4]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _ETCS_VALID@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ETCS_VALID@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.1:
	bl	_BuildEventTriggerCache
LBB0_2:
Lloh6:
	adrp	x8, _EventTriggerCache@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EventTriggerCache@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _HASH_FIND@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HASH_FIND@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	sub	x1, x29, #4
	mov	x3, #0
	bl	_hash_search
Lloh12:
	adrp	x8, _NIL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NIL@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x0, eq
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EventTriggerCacheState,8,3     ; @EventTriggerCacheState
	.comm	_ETCS_VALID,8,3                 ; @ETCS_VALID
	.comm	_EventTriggerCache,4,2          ; @EventTriggerCache
	.comm	_HASH_FIND,4,2                  ; @HASH_FIND
	.comm	_NIL,8,3                        ; @NIL
.subsections_via_symbols
