	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function insert_event_trigger_tuple
_insert_event_trigger_tuple:            ## @insert_event_trigger_tuple
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -104(%rbp)                 ## 8-byte Spill
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_Natts_pg_trigger@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r15, %rbx
	shlq	$2, %rbx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	_EventTriggerRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RowExclusiveLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_table_open
	movq	%rax, %rdi
	movq	_EventTriggerOidIndexId@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_Anum_pg_event_trigger_oid@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	callq	_GetNewOidWithIndex
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_ObjectIdGetDatum
	movslq	(%rbx), %rcx
	movl	%eax, -4(%r14,%rcx,4)
	leal	(,%r15,4), %edx
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_memset
	leaq	-112(%rbp), %rbx
	movq	%rbx, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_namestrcpy
	movq	%rbx, %rdi
	callq	_NameGetDatum
	movq	_Anum_pg_event_trigger_evtname@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movl	%eax, -4(%r14,%rcx,4)
	leaq	-108(%rbp), %rbx
	movq	%rbx, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	callq	_namestrcpy
	movq	%rbx, %rdi
	callq	_NameGetDatum
	movq	_Anum_pg_event_trigger_evtevent@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movl	%eax, -4(%r14,%rcx,4)
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_ObjectIdGetDatum
	movq	_Anum_pg_event_trigger_evtowner@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movl	%eax, -4(%r14,%rcx,4)
	movq	%r15, %rdi
	callq	_ObjectIdGetDatum
	movq	_Anum_pg_event_trigger_evtfoid@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movl	%eax, -4(%r14,%rcx,4)
	movq	_TRIGGER_FIRES_ON_ORIGIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CharGetDatum
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movq	_Anum_pg_event_trigger_evtenabled@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movl	%eax, -4(%r14,%rcx,4)
	movq	_NIL@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	je	LBB0_1
## %bb.2:
	callq	_filter_list_to_array
	movq	%r14, %rcx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_3
LBB0_1:
	movl	$1, %eax
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%rdx, %rcx
LBB0_3:
	movq	_Anum_pg_event_trigger_evttags@GOTPCREL(%rip), %rsi
	movslq	(%rsi), %rsi
	movl	%eax, -4(%rcx,%rsi,4)
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movl	(%r12), %edi
	movq	%r14, %rsi
	callq	_heap_form_tuple
	movl	%eax, %ebx
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_CatalogTupleInsert
	movl	%ebx, %edi
	callq	_heap_freetuple
	movq	_EventTriggerRelationId@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	%r13, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_recordDependencyOnOwner
	movl	(%r14), %eax
	movl	%eax, -144(%rbp)
	movq	%r13, -152(%rbp)
	movq	$0, -160(%rbp)
	movq	_ProcedureRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -120(%rbp)
	movq	%r15, -128(%rbp)
	movq	$0, -136(%rbp)
	movq	_DEPENDENCY_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-160(%rbp), %rbx
	leaq	-136(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_recordDependencyOn
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_recordDependencyOnCurrentExtension
	movl	(%r14), %edi
	movq	%r13, %rsi
	xorl	%edx, %edx
	callq	_InvokeObjectPostCreateHook
	movq	_RowExclusiveLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_table_close
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	movq	%r13, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_Natts_pg_trigger,4,2           ## @Natts_pg_trigger
	.comm	_EventTriggerRelationId,4,2     ## @EventTriggerRelationId
	.comm	_RowExclusiveLock,4,2           ## @RowExclusiveLock
	.comm	_EventTriggerOidIndexId,4,2     ## @EventTriggerOidIndexId
	.comm	_Anum_pg_event_trigger_oid,4,2  ## @Anum_pg_event_trigger_oid
	.comm	_Anum_pg_event_trigger_evtname,4,2 ## @Anum_pg_event_trigger_evtname
	.comm	_Anum_pg_event_trigger_evtevent,4,2 ## @Anum_pg_event_trigger_evtevent
	.comm	_Anum_pg_event_trigger_evtowner,4,2 ## @Anum_pg_event_trigger_evtowner
	.comm	_Anum_pg_event_trigger_evtfoid,4,2 ## @Anum_pg_event_trigger_evtfoid
	.comm	_TRIGGER_FIRES_ON_ORIGIN,4,2    ## @TRIGGER_FIRES_ON_ORIGIN
	.comm	_Anum_pg_event_trigger_evtenabled,4,2 ## @Anum_pg_event_trigger_evtenabled
	.comm	_NIL,8,3                        ## @NIL
	.comm	_Anum_pg_event_trigger_evttags,4,2 ## @Anum_pg_event_trigger_evttags
	.comm	_ProcedureRelationId,4,2        ## @ProcedureRelationId
	.comm	_DEPENDENCY_NORMAL,4,2          ## @DEPENDENCY_NORMAL
	.no_dead_strip	_insert_event_trigger_tuple
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function insert_event_trigger_tuple
_insert_event_trigger_tuple:            ; @insert_event_trigger_tuple
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #80
	stur	x4, [x29, #-152]                ; 8-byte Folded Spill
	mov	x21, x3
	mov	x24, x2
	mov	x26, x1
	mov	x27, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _Natts_pg_trigger@GOTPAGE
Lloh4:
	ldr	x8, [x8, _Natts_pg_trigger@GOTPAGEOFF]
Lloh5:
	ldr	w28, [x8]
	lsl	x8, x28, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x12, x10, #0x7fffffff0
	sub	x23, x9, x12
	mov	sp, x23
	mov	x9, x8
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x25, x8, x12
	mov	sp, x25
Lloh10:
	adrp	x8, _EventTriggerRelationId@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EventTriggerRelationId@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x8, _RowExclusiveLock@GOTPAGE
Lloh14:
	ldr	x8, [x8, _RowExclusiveLock@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	bl	_table_open
	mov	x20, x0
Lloh16:
	adrp	x8, _EventTriggerOidIndexId@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EventTriggerOidIndexId@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
Lloh19:
	adrp	x19, _Anum_pg_event_trigger_oid@GOTPAGE
Lloh20:
	ldr	x19, [x19, _Anum_pg_event_trigger_oid@GOTPAGEOFF]
	ldr	w2, [x19]
	bl	_GetNewOidWithIndex
	mov	x22, x0
	bl	_ObjectIdGetDatum
	ldrsw	x8, [x19]
	mov	x19, x21
	add	x8, x23, x8, lsl #2
	stur	w0, [x8, #-4]
	lsl	w2, w28, #2
	mov	x0, x25
	mov	w1, #0
	bl	_memset
	sub	x0, x29, #92
	mov	x1, x27
	bl	_namestrcpy
	sub	x0, x29, #92
	bl	_NameGetDatum
Lloh21:
	adrp	x8, _Anum_pg_event_trigger_evtname@GOTPAGE
Lloh22:
	ldr	x8, [x8, _Anum_pg_event_trigger_evtname@GOTPAGEOFF]
Lloh23:
	ldrsw	x8, [x8]
	add	x8, x23, x8, lsl #2
	stur	w0, [x8, #-4]
	sub	x0, x29, #96
	mov	x1, x26
	bl	_namestrcpy
	sub	x0, x29, #96
	bl	_NameGetDatum
Lloh24:
	adrp	x8, _Anum_pg_event_trigger_evtevent@GOTPAGE
Lloh25:
	ldr	x8, [x8, _Anum_pg_event_trigger_evtevent@GOTPAGEOFF]
Lloh26:
	ldrsw	x8, [x8]
	add	x8, x23, x8, lsl #2
	stur	w0, [x8, #-4]
	mov	x0, x24
	bl	_ObjectIdGetDatum
Lloh27:
	adrp	x8, _Anum_pg_event_trigger_evtowner@GOTPAGE
Lloh28:
	ldr	x8, [x8, _Anum_pg_event_trigger_evtowner@GOTPAGEOFF]
Lloh29:
	ldrsw	x8, [x8]
	add	x8, x23, x8, lsl #2
	stur	w0, [x8, #-4]
	mov	x0, x21
	bl	_ObjectIdGetDatum
Lloh30:
	adrp	x8, _Anum_pg_event_trigger_evtfoid@GOTPAGE
Lloh31:
	ldr	x8, [x8, _Anum_pg_event_trigger_evtfoid@GOTPAGEOFF]
Lloh32:
	ldrsw	x8, [x8]
	add	x8, x23, x8, lsl #2
	stur	w0, [x8, #-4]
Lloh33:
	adrp	x8, _TRIGGER_FIRES_ON_ORIGIN@GOTPAGE
Lloh34:
	ldr	x8, [x8, _TRIGGER_FIRES_ON_ORIGIN@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
	bl	_CharGetDatum
	ldur	x9, [x29, #-152]                ; 8-byte Folded Reload
Lloh36:
	adrp	x8, _Anum_pg_event_trigger_evtenabled@GOTPAGE
Lloh37:
	ldr	x8, [x8, _Anum_pg_event_trigger_evtenabled@GOTPAGEOFF]
Lloh38:
	ldrsw	x8, [x8]
	add	x8, x23, x8, lsl #2
	stur	w0, [x8, #-4]
Lloh39:
	adrp	x8, _NIL@GOTPAGE
Lloh40:
	ldr	x8, [x8, _NIL@GOTPAGEOFF]
Lloh41:
	ldr	x8, [x8]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x9
	bl	_filter_list_to_array
	mov	x8, x23
	b	LBB0_3
LBB0_2:
	mov	w0, #1
	mov	x8, x25
LBB0_3:
Lloh42:
	adrp	x9, _Anum_pg_event_trigger_evttags@GOTPAGE
Lloh43:
	ldr	x9, [x9, _Anum_pg_event_trigger_evttags@GOTPAGEOFF]
Lloh44:
	ldrsw	x9, [x9]
	add	x8, x8, x9, lsl #2
	stur	w0, [x8, #-4]
	ldr	w0, [x20]
	mov	x1, x23
	mov	x2, x25
	bl	_heap_form_tuple
	mov	x23, x0
	mov	x0, x20
	mov	x1, x23
	bl	_CatalogTupleInsert
	mov	x0, x23
	bl	_heap_freetuple
Lloh45:
	adrp	x21, _EventTriggerRelationId@GOTPAGE
Lloh46:
	ldr	x21, [x21, _EventTriggerRelationId@GOTPAGEOFF]
	ldr	w0, [x21]
	mov	x1, x22
	mov	x2, x24
	bl	_recordDependencyOnOwner
	ldr	w8, [x21]
	stur	w8, [x29, #-104]
	stp	xzr, x22, [x29, #-120]
Lloh47:
	adrp	x8, _ProcedureRelationId@GOTPAGE
Lloh48:
	ldr	x8, [x8, _ProcedureRelationId@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8]
	stur	w8, [x29, #-128]
	stp	xzr, x19, [x29, #-144]
Lloh50:
	adrp	x8, _DEPENDENCY_NORMAL@GOTPAGE
Lloh51:
	ldr	x8, [x8, _DEPENDENCY_NORMAL@GOTPAGEOFF]
Lloh52:
	ldr	w2, [x8]
	sub	x0, x29, #120
	sub	x1, x29, #144
	bl	_recordDependencyOn
	sub	x0, x29, #120
	mov	w1, #0
	bl	_recordDependencyOnCurrentExtension
	ldr	w0, [x21]
	mov	x1, x22
	mov	w2, #0
	bl	_InvokeObjectPostCreateHook
Lloh53:
	adrp	x8, _RowExclusiveLock@GOTPAGE
Lloh54:
	ldr	x8, [x8, _RowExclusiveLock@GOTPAGEOFF]
Lloh55:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_table_close
	ldur	x8, [x29, #-88]
Lloh56:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh57:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh58:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x22
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_Natts_pg_trigger,4,2           ; @Natts_pg_trigger
	.comm	_EventTriggerRelationId,4,2     ; @EventTriggerRelationId
	.comm	_RowExclusiveLock,4,2           ; @RowExclusiveLock
	.comm	_EventTriggerOidIndexId,4,2     ; @EventTriggerOidIndexId
	.comm	_Anum_pg_event_trigger_oid,4,2  ; @Anum_pg_event_trigger_oid
	.comm	_Anum_pg_event_trigger_evtname,4,2 ; @Anum_pg_event_trigger_evtname
	.comm	_Anum_pg_event_trigger_evtevent,4,2 ; @Anum_pg_event_trigger_evtevent
	.comm	_Anum_pg_event_trigger_evtowner,4,2 ; @Anum_pg_event_trigger_evtowner
	.comm	_Anum_pg_event_trigger_evtfoid,4,2 ; @Anum_pg_event_trigger_evtfoid
	.comm	_TRIGGER_FIRES_ON_ORIGIN,4,2    ; @TRIGGER_FIRES_ON_ORIGIN
	.comm	_Anum_pg_event_trigger_evtenabled,4,2 ; @Anum_pg_event_trigger_evtenabled
	.comm	_NIL,8,3                        ; @NIL
	.comm	_Anum_pg_event_trigger_evttags,4,2 ; @Anum_pg_event_trigger_evttags
	.comm	_ProcedureRelationId,4,2        ; @ProcedureRelationId
	.comm	_DEPENDENCY_NORMAL,4,2          ; @DEPENDENCY_NORMAL
	.no_dead_strip	_insert_event_trigger_tuple
.subsections_via_symbols
