	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function BuildEventTriggerCache
_BuildEventTriggerCache:                ## @BuildEventTriggerCache
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_EventTriggerCacheContext@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_MemoryContextResetAndDeleteChildren
	jmp	LBB0_5
LBB0_2:
	movq	_CacheMemoryContext@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	jne	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	callq	_CreateCacheMemoryContext
	movq	(%rbx), %rdi
LBB0_4:
	movq	_ALLOCSET_DEFAULT_SIZES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	callq	_AllocSetContextCreate
	movq	%rax, (%r14)
	movq	_EVENTTRIGGEROID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_InvalidateEventCacheCallback@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_CacheRegisterSyscacheCallback
LBB0_5:
	movq	(%r14), %rdi
	callq	_MemoryContextSwitchTo
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	_ETCS_REBUILD_STARTED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_EventTriggerCacheState@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	leaq	-96(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_MemSet
	movabsq	$17179869188, %rax              ## imm = 0x400000004
	movq	%rax, -96(%rbp)
	movq	_HASH_ELEM@GOTPCREL(%rip), %rax
	movq	_HASH_BLOBS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	(%r14), %rax
	movq	%rax, -88(%rbp)
	movq	_HASH_CONTEXT@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	leaq	L_.str.1(%rip), %rdi
	movl	$32, %esi
	movq	%rbx, %rdx
	callq	_hash_create
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_EventTriggerRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_AccessShareLock@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_relation_open
	movl	%eax, %ebx
	movq	_EventTriggerNameIndexId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	callq	_index_open
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	%eax, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_systable_beginscan_ordered
	movl	%eax, %r13d
	movq	_ForwardScanDirection@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movl	%eax, %edi
	jmp	LBB0_6
LBB0_20:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %rdi
	callq	_list_make1
LBB0_21:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	%eax, (%rbx)
	movq	_ForwardScanDirection@GOTPCREL(%rip), %r15
LBB0_22:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	(%r15), %esi
	movl	%r13d, %edi
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	callq	_systable_getnext_ordered
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_HeapTupleIsValid
	testl	%eax, %eax
	je	LBB0_23
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	%r12d, %edi
	callq	_GETSTRUCT
	movq	%rax, %r14
	movq	(%rax), %rax
	movq	_TRIGGER_DISABLED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_22
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	12(%r14), %edi
	callq	_NameStr
	movq	%rax, %rbx
	movq	%rax, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_22
## %bb.15:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_EVT_TableRewrite@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	_EVT_DDLCommandStart@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_EVT_DDLCommandEnd@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_EVT_SQLDrop@GOTPCREL(%rip), %rax
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movl	$24, %edi
	callq	_palloc0
	movq	%rax, %r15
	movl	8(%r14), %eax
	movl	%eax, 16(%r15)
	movq	(%r14), %rax
	movq	%rax, (%r15)
	movq	_Anum_pg_event_trigger_evttags@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	_RelationGetDescr
	movl	%r12d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	leaq	-60(%rbp), %rcx
	callq	_heap_getattr
	cmpl	$0, -60(%rbp)
	jne	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %rsi
	addq	$12, %rsi
	movl	%eax, %edi
	callq	_DecodeTextArrayToCString
	movl	%eax, 8(%r15)
	movl	12(%r15), %edi
	movq	_pg_qsort_strcmp@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%eax, %esi
	movl	$8, %edx
	callq	_qsort
LBB0_18:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_HASH_ENTER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	leaq	-44(%rbp), %rsi
	leaq	-56(%rbp), %rcx
	callq	_hash_search
	movq	%rax, %rbx
	cmpl	$0, -56(%rbp)
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	(%rbx), %edi
	movq	%r15, %rsi
	callq	_lappend
	jmp	LBB0_21
LBB0_23:
	movl	%r13d, %edi
	callq	_systable_endscan_ordered
	movq	_AccessShareLock@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	callq	_index_close
	movl	(%rbx), %esi
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	_relation_close
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_MemoryContextSwitchTo
	movq	_EventTriggerCache@GOTPCREL(%rip), %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%rax)
	movq	_EventTriggerCacheState@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rax
	movq	_ETCS_REBUILD_STARTED@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_25
## %bb.24:
	movq	_ETCS_VALID@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rcx)
LBB0_25:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EventTriggerCacheContext,8,3   ## @EventTriggerCacheContext
	.comm	_CacheMemoryContext,8,3         ## @CacheMemoryContext
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EventTriggerCache"

	.comm	_ALLOCSET_DEFAULT_SIZES,4,2     ## @ALLOCSET_DEFAULT_SIZES
	.comm	_EVENTTRIGGEROID,4,2            ## @EVENTTRIGGEROID
	.comm	_InvalidateEventCacheCallback,4,2 ## @InvalidateEventCacheCallback
	.comm	_ETCS_REBUILD_STARTED,8,3       ## @ETCS_REBUILD_STARTED
	.comm	_EventTriggerCacheState,8,3     ## @EventTriggerCacheState
L_.str.1:                               ## @.str.1
	.asciz	"Event Trigger Cache"

	.comm	_HASH_ELEM,4,2                  ## @HASH_ELEM
	.comm	_HASH_BLOBS,4,2                 ## @HASH_BLOBS
	.comm	_HASH_CONTEXT,4,2               ## @HASH_CONTEXT
	.comm	_EventTriggerRelationId,4,2     ## @EventTriggerRelationId
	.comm	_AccessShareLock,4,2            ## @AccessShareLock
	.comm	_EventTriggerNameIndexId,4,2    ## @EventTriggerNameIndexId
	.comm	_ForwardScanDirection,4,2       ## @ForwardScanDirection
	.comm	_TRIGGER_DISABLED,8,3           ## @TRIGGER_DISABLED
L_.str.2:                               ## @.str.2
	.asciz	"ddl_command_start"

	.comm	_EVT_DDLCommandStart,4,2        ## @EVT_DDLCommandStart
L_.str.3:                               ## @.str.3
	.asciz	"ddl_command_end"

	.comm	_EVT_DDLCommandEnd,4,2          ## @EVT_DDLCommandEnd
L_.str.4:                               ## @.str.4
	.asciz	"sql_drop"

	.comm	_EVT_SQLDrop,4,2                ## @EVT_SQLDrop
L_.str.5:                               ## @.str.5
	.asciz	"table_rewrite"

	.comm	_EVT_TableRewrite,4,2           ## @EVT_TableRewrite
	.comm	_Anum_pg_event_trigger_evttags,4,2 ## @Anum_pg_event_trigger_evttags
	.comm	_pg_qsort_strcmp,4,2            ## @pg_qsort_strcmp
	.comm	_HASH_ENTER,4,2                 ## @HASH_ENTER
	.comm	_EventTriggerCache,8,3          ## @EventTriggerCache
	.comm	_ETCS_VALID,8,3                 ## @ETCS_VALID
	.no_dead_strip	_BuildEventTriggerCache
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function BuildEventTriggerCache
_BuildEventTriggerCache:                ; @BuildEventTriggerCache
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x19, _EventTriggerCacheContext@GOTPAGE
Lloh1:
	ldr	x19, [x19, _EventTriggerCacheContext@GOTPAGEOFF]
	ldr	x0, [x19]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_MemoryContextResetAndDeleteChildren
	b	LBB0_5
LBB0_2:
Lloh2:
	adrp	x20, _CacheMemoryContext@GOTPAGE
Lloh3:
	ldr	x20, [x20, _CacheMemoryContext@GOTPAGEOFF]
	ldr	x0, [x20]
	cbnz	x0, LBB0_4
; %bb.3:
	bl	_CreateCacheMemoryContext
	ldr	x0, [x20]
LBB0_4:
Lloh4:
	adrp	x8, _ALLOCSET_DEFAULT_SIZES@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ALLOCSET_DEFAULT_SIZES@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	bl	_AllocSetContextCreate
	str	x0, [x19]
Lloh9:
	adrp	x8, _EVENTTRIGGEROID@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EVENTTRIGGEROID@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x8, _InvalidateEventCacheCallback@GOTPAGE
Lloh13:
	ldr	x8, [x8, _InvalidateEventCacheCallback@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_CacheRegisterSyscacheCallback
LBB0_5:
	ldr	x0, [x19]
	bl	_MemoryContextSwitchTo
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
Lloh15:
	adrp	x8, _ETCS_REBUILD_STARTED@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ETCS_REBUILD_STARTED@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
Lloh18:
	adrp	x9, _EventTriggerCacheState@GOTPAGE
Lloh19:
	ldr	x9, [x9, _EventTriggerCacheState@GOTPAGEOFF]
Lloh20:
	str	x8, [x9]
	add	x0, sp, #32
	mov	w1, #0
	mov	w2, #16
	bl	_MemSet
	movi.2s	v0, #4
	str	d0, [sp, #32]
	ldr	x8, [x19]
	str	x8, [sp, #40]
Lloh21:
	adrp	x8, _HASH_ELEM@GOTPAGE
Lloh22:
	ldr	x8, [x8, _HASH_ELEM@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	adrp	x9, _HASH_BLOBS@GOTPAGE
Lloh25:
	ldr	x9, [x9, _HASH_BLOBS@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh27:
	adrp	x9, _HASH_CONTEXT@GOTPAGE
Lloh28:
	ldr	x9, [x9, _HASH_CONTEXT@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	orr	w3, w8, w9
Lloh30:
	adrp	x0, l_.str.1@PAGE
Lloh31:
	add	x0, x0, l_.str.1@PAGEOFF
	add	x2, sp, #32
	mov	w1, #32
	bl	_hash_create
	mov	x20, x0
Lloh32:
	adrp	x8, _EventTriggerRelationId@GOTPAGE
Lloh33:
	ldr	x8, [x8, _EventTriggerRelationId@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
Lloh35:
	adrp	x19, _AccessShareLock@GOTPAGE
Lloh36:
	ldr	x19, [x19, _AccessShareLock@GOTPAGEOFF]
	ldr	w1, [x19]
	bl	_relation_open
	mov	x21, x0
Lloh37:
	adrp	x8, _EventTriggerNameIndexId@GOTPAGE
Lloh38:
	ldr	x8, [x8, _EventTriggerNameIndexId@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_index_open
	mov	x1, x0
	mov	x0, x21
	str	w1, [sp, #4]                    ; 4-byte Folded Spill
	mov	x2, #0
	mov	w3, #0
	mov	x4, #0
	bl	_systable_beginscan_ordered
	mov	x23, x0
Lloh40:
	adrp	x26, _ForwardScanDirection@GOTPAGE
Lloh41:
	ldr	x26, [x26, _ForwardScanDirection@GOTPAGEOFF]
	ldr	w1, [x26]
	bl	_systable_getnext_ordered
	mov	x28, x0
	bl	_HeapTupleIsValid
	cbz	w0, LBB0_23
; %bb.6:
Lloh42:
	adrp	x22, _TRIGGER_DISABLED@GOTPAGE
Lloh43:
	ldr	x22, [x22, _TRIGGER_DISABLED@GOTPAGEOFF]
Lloh44:
	adrp	x24, l_.str.2@PAGE
Lloh45:
	add	x24, x24, l_.str.2@PAGEOFF
Lloh46:
	adrp	x25, _HASH_ENTER@GOTPAGE
Lloh47:
	ldr	x25, [x25, _HASH_ENTER@GOTPAGEOFF]
	b	LBB0_10
LBB0_7:                                 ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x27
	bl	_list_make1
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	str	w0, [x19]
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	w1, [x26]
	mov	x0, x23
	bl	_systable_getnext_ordered
	mov	x28, x0
	bl	_HeapTupleIsValid
	cbz	w0, LBB0_23
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x28
	bl	_GETSTRUCT
	ldr	x8, [x0]
	ldr	x9, [x22]
	cmp	x8, x9
	b.eq	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x19, x0
	ldr	w0, [x0, #12]
	bl	_NameStr
	mov	x27, x0
	mov	x1, x24
	bl	_strcmp
	cbz	x0, LBB0_16
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x27
Lloh48:
	adrp	x1, l_.str.3@PAGE
Lloh49:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_17
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x27
Lloh50:
	adrp	x1, l_.str.4@PAGE
Lloh51:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_18
; %bb.14:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x27
Lloh52:
	adrp	x1, l_.str.5@PAGE
Lloh53:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_strcmp
	cbnz	x0, LBB0_9
; %bb.15:                               ;   in Loop: Header=BB0_10 Depth=1
Lloh54:
	adrp	x8, _EVT_TableRewrite@GOTPAGE
Lloh55:
	ldr	x8, [x8, _EVT_TableRewrite@GOTPAGEOFF]
	b	LBB0_19
LBB0_16:                                ;   in Loop: Header=BB0_10 Depth=1
Lloh56:
	adrp	x8, _EVT_DDLCommandStart@GOTPAGE
Lloh57:
	ldr	x8, [x8, _EVT_DDLCommandStart@GOTPAGEOFF]
	b	LBB0_19
LBB0_17:                                ;   in Loop: Header=BB0_10 Depth=1
Lloh58:
	adrp	x8, _EVT_DDLCommandEnd@GOTPAGE
Lloh59:
	ldr	x8, [x8, _EVT_DDLCommandEnd@GOTPAGEOFF]
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_10 Depth=1
Lloh60:
	adrp	x8, _EVT_SQLDrop@GOTPAGE
Lloh61:
	ldr	x8, [x8, _EVT_SQLDrop@GOTPAGEOFF]
LBB0_19:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	w8, [x8]
	str	w8, [sp, #28]
	mov	w0, #24
	bl	_palloc0
	mov	x27, x0
	ldr	w8, [x19, #8]
	str	w8, [x0, #16]
	ldr	x8, [x19]
	str	x8, [x0]
Lloh62:
	adrp	x8, _Anum_pg_event_trigger_evttags@GOTPAGE
Lloh63:
	ldr	x8, [x8, _Anum_pg_event_trigger_evttags@GOTPAGEOFF]
Lloh64:
	ldr	w19, [x8]
	mov	x0, x21
	bl	_RelationGetDescr
	mov	x2, x0
	add	x3, sp, #24
	mov	x0, x28
	mov	x1, x19
	bl	_heap_getattr
	ldr	w8, [sp, #24]
	cbnz	w8, LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_10 Depth=1
	add	x1, x27, #12
	bl	_DecodeTextArrayToCString
	mov	x1, x0
	str	w0, [x27, #8]
	ldr	w0, [x27, #12]
Lloh65:
	adrp	x8, _pg_qsort_strcmp@GOTPAGE
Lloh66:
	ldr	x8, [x8, _pg_qsort_strcmp@GOTPAGEOFF]
Lloh67:
	ldr	w3, [x8]
	mov	w2, #8
	bl	_qsort
LBB0_21:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	w2, [x25]
	add	x1, sp, #28
	add	x3, sp, #20
	mov	x0, x20
	bl	_hash_search
	mov	x19, x0
	ldr	w8, [sp, #20]
	cbz	w8, LBB0_7
; %bb.22:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w0, [x19]
	mov	x1, x27
	bl	_lappend
	b	LBB0_8
LBB0_23:
	mov	x0, x23
	bl	_systable_endscan_ordered
Lloh68:
	adrp	x19, _AccessShareLock@GOTPAGE
Lloh69:
	ldr	x19, [x19, _AccessShareLock@GOTPAGEOFF]
	ldr	w1, [x19]
	ldr	w0, [sp, #4]                    ; 4-byte Folded Reload
	bl	_index_close
	ldr	w1, [x19]
	mov	x0, x21
	bl	_relation_close
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	bl	_MemoryContextSwitchTo
Lloh70:
	adrp	x8, _EventTriggerCache@GOTPAGE
Lloh71:
	ldr	x8, [x8, _EventTriggerCache@GOTPAGEOFF]
Lloh72:
	str	x20, [x8]
Lloh73:
	adrp	x10, _EventTriggerCacheState@GOTPAGE
Lloh74:
	ldr	x10, [x10, _EventTriggerCacheState@GOTPAGEOFF]
	ldr	x8, [x10]
Lloh75:
	adrp	x9, _ETCS_REBUILD_STARTED@GOTPAGE
Lloh76:
	ldr	x9, [x9, _ETCS_REBUILD_STARTED@GOTPAGEOFF]
Lloh77:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_25
; %bb.24:
Lloh78:
	adrp	x8, _ETCS_VALID@GOTPAGE
Lloh79:
	ldr	x8, [x8, _ETCS_VALID@GOTPAGEOFF]
Lloh80:
	ldr	x8, [x8]
	str	x8, [x10]
LBB0_25:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotStr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGot	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGot	Lloh73, Lloh74
	.loh AdrpLdrGotStr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGot	Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.cfi_endproc
                                        ; -- End function
	.comm	_EventTriggerCacheContext,8,3   ; @EventTriggerCacheContext
	.comm	_CacheMemoryContext,8,3         ; @CacheMemoryContext
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EventTriggerCache"

	.comm	_ALLOCSET_DEFAULT_SIZES,4,2     ; @ALLOCSET_DEFAULT_SIZES
	.comm	_EVENTTRIGGEROID,4,2            ; @EVENTTRIGGEROID
	.comm	_InvalidateEventCacheCallback,4,2 ; @InvalidateEventCacheCallback
	.comm	_ETCS_REBUILD_STARTED,8,3       ; @ETCS_REBUILD_STARTED
	.comm	_EventTriggerCacheState,8,3     ; @EventTriggerCacheState
l_.str.1:                               ; @.str.1
	.asciz	"Event Trigger Cache"

	.comm	_HASH_ELEM,4,2                  ; @HASH_ELEM
	.comm	_HASH_BLOBS,4,2                 ; @HASH_BLOBS
	.comm	_HASH_CONTEXT,4,2               ; @HASH_CONTEXT
	.comm	_EventTriggerRelationId,4,2     ; @EventTriggerRelationId
	.comm	_AccessShareLock,4,2            ; @AccessShareLock
	.comm	_EventTriggerNameIndexId,4,2    ; @EventTriggerNameIndexId
	.comm	_ForwardScanDirection,4,2       ; @ForwardScanDirection
	.comm	_TRIGGER_DISABLED,8,3           ; @TRIGGER_DISABLED
l_.str.2:                               ; @.str.2
	.asciz	"ddl_command_start"

	.comm	_EVT_DDLCommandStart,4,2        ; @EVT_DDLCommandStart
l_.str.3:                               ; @.str.3
	.asciz	"ddl_command_end"

	.comm	_EVT_DDLCommandEnd,4,2          ; @EVT_DDLCommandEnd
l_.str.4:                               ; @.str.4
	.asciz	"sql_drop"

	.comm	_EVT_SQLDrop,4,2                ; @EVT_SQLDrop
l_.str.5:                               ; @.str.5
	.asciz	"table_rewrite"

	.comm	_EVT_TableRewrite,4,2           ; @EVT_TableRewrite
	.comm	_Anum_pg_event_trigger_evttags,4,2 ; @Anum_pg_event_trigger_evttags
	.comm	_pg_qsort_strcmp,4,2            ; @pg_qsort_strcmp
	.comm	_HASH_ENTER,4,2                 ; @HASH_ENTER
	.comm	_EventTriggerCache,8,3          ; @EventTriggerCache
	.comm	_ETCS_VALID,8,3                 ; @ETCS_VALID
	.no_dead_strip	_BuildEventTriggerCache
.subsections_via_symbols
