	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function AfterTriggerSaveEvent
_AfterTriggerSaveEvent:                 ## @AfterTriggerSaveEvent
	.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	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movq	%r8, %r13
	movl	%ecx, %ebx
	movl	%edx, %r12d
	movq	%rdi, -128(%rbp)                ## 8-byte Spill
	movq	(%rsi), %r15
	movq	%rsi, -144(%rbp)                ## 8-byte Spill
	movq	8(%rsi), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	(%rax), %rax
	movb	(%rax), %al
	movb	%al, -41(%rbp)                  ## 1-byte Spill
	movq	_afterTriggers@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rax
	cmpq	8(%rcx), %rax
	jb	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_AfterTriggerEnlargeQueryState
LBB0_2:
	movq	32(%rbp), %rax
	testl	%ebx, %ebx
	movl	%ebx, -92(%rbp)                 ## 4-byte Spill
	je	LBB0_6
## %bb.3:
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	32(%rax), %rdx
	movq	24(%rax), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movl	4(%rax), %r15d
	movl	8(%rax), %esi
	movq	%r12, %r14
	cmpl	$131, %r12d
	movq	%rax, %rcx
	sete	%al
	cmpl	$0, (%rcx)
	movl	12(%rcx), %r12d
	setne	%bl
	andb	%al, %bl
	cmpb	$1, %bl
	movq	%rdx, -136(%rbp)                ## 8-byte Spill
	movl	%esi, -104(%rbp)                ## 4-byte Spill
	jne	LBB0_10
## %bb.5:
	movq	%r13, %rdi
	callq	_TupIsNull
	testl	%eax, %eax
	setne	%al
	jmp	LBB0_11
LBB0_6:
	leal	-128(%r12), %eax
	cmpl	$3, %eax
	ja	LBB0_52
## %bb.7:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_8:
	movq	_TRIGGER_TYPE_UPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	testl	%ebx, %ebx
	je	LBB0_33
## %bb.9:
	xorl	%edi, %edi
	testq	%r13, %r13
	setne	%dil
	callq	_Assert
	xorl	%edi, %edi
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	testq	%r14, %r14
	setne	%dil
	callq	_Assert
	leaq	-80(%rbp), %rsi
	movq	%r13, %rdi
	callq	_ItemPointerCopy
	leaq	-84(%rbp), %rsi
	movq	%r14, %rdi
	callq	_ItemPointerCopy
	testl	%ebx, %ebx
	jne	LBB0_53
	jmp	LBB0_60
LBB0_10:
	xorl	%eax, %eax
LBB0_11:
	xorb	$1, %al
	movzbl	%al, %edi
	callq	_Assert
	cmpl	$130, %r14d
	sete	%al
	testl	%r12d, %r12d
	setne	%r12b
	andb	%al, %r12b
	cmpb	$1, %r12b
	jne	LBB0_13
## %bb.12:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_TupIsNull
	testl	%eax, %eax
	setne	%al
	jmp	LBB0_14
LBB0_13:
	xorl	%eax, %eax
LBB0_14:
	xorb	$1, %al
	movzbl	%al, %edi
	callq	_Assert
	movq	%r13, %rdi
	callq	_TupIsNull
	testl	%eax, %eax
	jne	LBB0_23
## %bb.15:
	testb	%bl, %bl
	jne	LBB0_18
## %bb.16:
	cmpl	$128, %r14d
	jne	LBB0_23
## %bb.17:
	testl	%r15d, %r15d
	je	LBB0_23
LBB0_18:
	movq	32(%rbp), %rax
	movq	16(%rax), %rax
	movq	16(%rax), %r15
	movq	%r13, %rbx
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_22
## %bb.19:
	movq	(%rax), %r13
	testq	%r13, %r13
	jne	LBB0_21
## %bb.20:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %esi
	movq	_TTSOpsVirtual@GOTPCREL(%rip), %rdx
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	callq	_ExecAllocTableSlot
	movq	%rax, %r13
	movq	32(%rbp), %rax
	movq	16(%rax), %rax
	movq	%r13, (%rax)
LBB0_21:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	callq	_execute_attr_map_slot
LBB0_22:
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_tuplestore_puttupleslot
	movq	%rbx, %r13
LBB0_23:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_TupIsNull
	testl	%eax, %eax
	jne	LBB0_36
## %bb.24:
	testb	%r12b, %r12b
	jne	LBB0_27
## %bb.25:
	cmpl	$128, %r14d
	jne	LBB0_36
## %bb.26:
	cmpl	$0, -104(%rbp)                  ## 4-byte Folded Reload
	je	LBB0_36
LBB0_27:
	movq	32(%rbp), %rax
	movq	16(%rax), %rax
	movq	8(%rax), %r15
	movq	-136(%rbp), %rsi                ## 8-byte Reload
	testq	%rsi, %rsi
	je	LBB0_29
## %bb.28:
	movq	%r15, %rdi
	jmp	LBB0_35
LBB0_29:
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_34
## %bb.30:
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	jne	LBB0_32
## %bb.31:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %esi
	movq	_TTSOpsVirtual@GOTPCREL(%rip), %rdx
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	callq	_ExecAllocTableSlot
	movq	%rax, %rbx
	movq	32(%rbp), %rax
	movq	16(%rax), %rax
	movq	%rbx, (%rax)
LBB0_32:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_execute_attr_map_slot
	movq	%r15, %rdi
	movq	%rbx, %rsi
	jmp	LBB0_35
LBB0_33:
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movl	$128, %r14d
	movq	_CMD_UPDATE@GOTPCREL(%rip), %r15
	jmp	LBB0_57
LBB0_34:
	movq	%r15, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
LBB0_35:
	callq	_tuplestore_puttupleslot
LBB0_36:
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	testq	%r15, %r15
	movl	-92(%rbp), %ebx                 ## 4-byte Reload
	je	LBB0_105
## %bb.37:
	movq	%r14, %r12
	cmpl	$131, %r12d
	jne	LBB0_41
## %bb.38:
	cmpl	$0, 24(%r15)
	je	LBB0_105
LBB0_39:
	movq	_TRIGGER_TYPE_DELETE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	testl	%ebx, %ebx
	je	LBB0_56
## %bb.40:
	xorl	%edi, %edi
	testq	%r13, %r13
	setne	%dil
	callq	_Assert
	xorl	%edi, %edi
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	sete	%dil
	callq	_Assert
	leaq	-80(%rbp), %rsi
	movq	%r13, %rdi
	jmp	LBB0_45
LBB0_41:
	cmpl	$130, %r12d
	jne	LBB0_46
## %bb.42:
	cmpl	$0, 20(%r15)
	je	LBB0_105
LBB0_43:
	movq	_TRIGGER_TYPE_INSERT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	xorl	%edi, %edi
	testq	%r13, %r13
	sete	%dil
	callq	_Assert
	testl	%ebx, %ebx
	je	LBB0_58
## %bb.44:
	xorl	%edi, %edi
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	testq	%r14, %r14
	setne	%dil
	callq	_Assert
	leaq	-80(%rbp), %rsi
	movq	%r14, %rdi
LBB0_45:
	callq	_ItemPointerCopy
	jmp	LBB0_51
LBB0_46:
	cmpl	$129, %r12d
	je	LBB0_50
## %bb.47:
	cmpl	$128, %r12d
	jne	LBB0_52
## %bb.48:
	cmpl	$0, 16(%r15)
	je	LBB0_105
## %bb.49:
	movq	%r13, %rdi
	callq	_TupIsNull
	movl	%eax, %r14d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_TupIsNull
	cmpl	%eax, %r14d
	je	LBB0_8
	jmp	LBB0_105
LBB0_50:
	movq	_TRIGGER_TYPE_TRUNCATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	xorl	%edi, %edi
	testq	%r13, %r13
	sete	%dil
	callq	_Assert
	xorl	%edi, %edi
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	sete	%dil
	callq	_Assert
	leaq	-80(%rbp), %rdi
	callq	_ItemPointerSetInvalid
LBB0_51:
	leaq	-84(%rbp), %rdi
	callq	_ItemPointerSetInvalid
	testl	%ebx, %ebx
	jne	LBB0_53
	jmp	LBB0_60
LBB0_52:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	$0, -64(%rbp)                   ## 4-byte Folded Spill
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_elog
	testl	%ebx, %ebx
	je	LBB0_60
LBB0_53:
	movq	_RELKIND_FOREIGN_TABLE@GOTPCREL(%rip), %rax
	movb	-41(%rbp), %cl                  ## 1-byte Reload
	cmpb	(%rax), %cl
	jne	LBB0_60
## %bb.54:
	testl	%ebx, %ebx
	je	LBB0_63
LBB0_55:
	movq	_TRIGGER_TYPE_ROW@GOTPCREL(%rip), %rax
	cmpl	$0, (%r15)
	jg	LBB0_64
	jmp	LBB0_105
LBB0_56:
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movl	$131, %r14d
	movq	_CMD_DELETE@GOTPCREL(%rip), %r15
LBB0_57:
	xorl	%edi, %edi
	testq	%r13, %r13
	sete	%dil
	callq	_Assert
	jmp	LBB0_59
LBB0_58:
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movl	$130, %r14d
	movq	_CMD_INSERT@GOTPCREL(%rip), %r15
LBB0_59:
	xorl	%edi, %edi
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	sete	%dil
	callq	_Assert
	leaq	-80(%rbp), %rdi
	callq	_ItemPointerSetInvalid
	leaq	-84(%rbp), %rdi
	callq	_ItemPointerSetInvalid
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	callq	_RelationGetRelid
	movl	(%r15), %esi
	movl	%eax, %edi
	movl	%r14d, %edx
	callq	_cancel_prior_stmt_triggers
	movq	-72(%rbp), %r15                 ## 8-byte Reload
LBB0_60:
	movq	_AFTER_TRIGGER_1CTID@GOTPCREL(%rip), %rax
	movq	%rax, %rcx
	testl	%ebx, %ebx
	je	LBB0_62
## %bb.61:
	movq	_AFTER_TRIGGER_2CTID@GOTPCREL(%rip), %rcx
LBB0_62:
	cmpl	$128, %r12d
	cmoveq	%rcx, %rax
	movl	(%rax), %eax
	movl	%eax, -88(%rbp)
	testl	%ebx, %ebx
	jne	LBB0_55
LBB0_63:
	movq	_TRIGGER_TYPE_STATEMENT@GOTPCREL(%rip), %rax
	cmpl	$0, (%r15)
	jle	LBB0_105
LBB0_64:
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, -104(%rbp)                ## 8-byte Spill
	movl	(%rax), %eax
	movl	%eax, -136(%rbp)                ## 4-byte Spill
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	jmp	LBB0_67
	.p2align	4, 0x90
LBB0_65:                                ##   in Loop: Header=BB0_67 Depth=1
	movq	%r14, %r15
LBB0_66:                                ##   in Loop: Header=BB0_67 Depth=1
	incq	%rbx
	movslq	(%r15), %rax
	addq	$56, %r13
	cmpq	%rax, %rbx
	jge	LBB0_100
LBB0_67:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %r12
	movl	52(%r12,%r13), %edi
	movq	_TRIGGER_TYPE_AFTER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	-136(%rbp), %esi                ## 4-byte Reload
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	callq	_TRIGGER_TYPE_MATCHES
	testl	%eax, %eax
	je	LBB0_66
## %bb.68:                              ##   in Loop: Header=BB0_67 Depth=1
	movq	%r15, %r14
	leaq	(%r12,%r13), %r15
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%rsp)
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	movq	-144(%rbp), %rsi                ## 8-byte Reload
	movq	%r15, %rdx
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	movq	24(%rbp), %r8
	movq	-104(%rbp), %r9                 ## 8-byte Reload
	callq	_TriggerEnabled
	testl	%eax, %eax
	je	LBB0_65
## %bb.69:                              ##   in Loop: Header=BB0_67 Depth=1
	cmpl	$0, -92(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_75
## %bb.70:                              ##   in Loop: Header=BB0_67 Depth=1
	movzbl	-41(%rbp), %eax                 ## 1-byte Folded Reload
	movq	_RELKIND_FOREIGN_TABLE@GOTPCREL(%rip), %rcx
	cmpb	(%rcx), %al
	jne	LBB0_75
## %bb.71:                              ##   in Loop: Header=BB0_67 Depth=1
	cmpq	$0, -112(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_73
## %bb.72:                              ##   in Loop: Header=BB0_67 Depth=1
	movq	_AFTER_TRIGGER_FDW_REUSE@GOTPCREL(%rip), %rax
	jmp	LBB0_74
LBB0_73:                                ##   in Loop: Header=BB0_67 Depth=1
	xorl	%eax, %eax
	callq	_GetCurrentFDWTuplestore
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	_AFTER_TRIGGER_FDW_FETCH@GOTPCREL(%rip), %rax
LBB0_74:                                ##   in Loop: Header=BB0_67 Depth=1
	movl	(%rax), %eax
	movl	%eax, -88(%rbp)
LBB0_75:                                ##   in Loop: Header=BB0_67 Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_TRIGGER_FIRED_BY_UPDATE
	testq	%rax, %rax
	jne	LBB0_77
## %bb.76:                              ##   in Loop: Header=BB0_67 Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_TRIGGER_FIRED_BY_DELETE
	testq	%rax, %rax
	je	LBB0_82
LBB0_77:                                ##   in Loop: Header=BB0_67 Depth=1
	movq	(%r12,%r13), %rdi
	callq	_RI_FKey_trigger_type
	cmpl	$134, %eax
	je	LBB0_81
## %bb.78:                              ##   in Loop: Header=BB0_67 Depth=1
	cmpl	$132, %eax
	jne	LBB0_82
## %bb.79:                              ##   in Loop: Header=BB0_67 Depth=1
	movq	%r15, %rdi
	movq	-120(%rbp), %rsi                ## 8-byte Reload
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	_RI_FKey_pk_upd_check_required
	testl	%eax, %eax
	jne	LBB0_82
	jmp	LBB0_65
LBB0_81:                                ##   in Loop: Header=BB0_67 Depth=1
	movq	%r15, %rdi
	movq	-120(%rbp), %rsi                ## 8-byte Reload
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	_RI_FKey_fk_upd_check_required
	testl	%eax, %eax
	je	LBB0_65
LBB0_82:                                ##   in Loop: Header=BB0_67 Depth=1
	movq	(%r12,%r13), %rax
	movq	_F_UNIQUE_KEY_RECHECK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_84
## %bb.83:                              ##   in Loop: Header=BB0_67 Depth=1
	movl	48(%r12,%r13), %esi
	movq	16(%rbp), %rdi
	callq	_list_member_oid
	testl	%eax, %eax
	je	LBB0_65
LBB0_84:                                ##   in Loop: Header=BB0_67 Depth=1
	movq	_TRIGGER_EVENT_OPMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	andl	-72(%rbp), %ecx                 ## 4-byte Folded Reload
	movl	-92(%rbp), %edx                 ## 4-byte Reload
	movl	%edx, %eax
	testl	%edx, %edx
	movq	%r14, %r15
	je	LBB0_86
## %bb.85:                              ##   in Loop: Header=BB0_67 Depth=1
	movq	_TRIGGER_EVENT_ROW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_86:                                ##   in Loop: Header=BB0_67 Depth=1
	orl	%ecx, %eax
	xorl	%ecx, %ecx
	cmpq	$0, 40(%r12,%r13)
	movl	$0, %edx
	je	LBB0_88
## %bb.87:                              ##   in Loop: Header=BB0_67 Depth=1
	movq	_AFTER_TRIGGER_DEFERRABLE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
LBB0_88:                                ##   in Loop: Header=BB0_67 Depth=1
	orl	%edx, %eax
	cmpq	$0, 32(%r12,%r13)
	je	LBB0_90
## %bb.89:                              ##   in Loop: Header=BB0_67 Depth=1
	movq	_AFTER_TRIGGER_INITDEFERRED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_90:                                ##   in Loop: Header=BB0_67 Depth=1
	orl	%ecx, %eax
	movl	%eax, -176(%rbp)
	movl	24(%r12,%r13), %eax
	movl	%eax, -148(%rbp)
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	callq	_RelationGetRelid
	movl	%eax, -152(%rbp)
	movq	$0, -160(%rbp)
	cmpq	$0, 16(%r12,%r13)
	je	LBB0_93
## %bb.91:                              ##   in Loop: Header=BB0_67 Depth=1
	cmpq	$0, 32(%rbp)
	jne	LBB0_95
	jmp	LBB0_99
LBB0_93:                                ##   in Loop: Header=BB0_67 Depth=1
	cmpq	$0, 32(%rbp)
	je	LBB0_99
## %bb.94:                              ##   in Loop: Header=BB0_67 Depth=1
	cmpq	$0, 8(%r12,%r13)
	movl	$0, %eax
	je	LBB0_96
LBB0_95:                                ##   in Loop: Header=BB0_67 Depth=1
	movq	32(%rbp), %rax
	movq	16(%rax), %rax
	jmp	LBB0_96
LBB0_99:                                ##   in Loop: Header=BB0_67 Depth=1
	xorl	%eax, %eax
LBB0_96:                                ##   in Loop: Header=BB0_67 Depth=1
	movq	%rax, -168(%rbp)
	movq	_afterTriggers@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	shlq	$2, %rdi
	addq	16(%rax), %rdi
	leaq	-88(%rbp), %rsi
	leaq	-176(%rbp), %rdx
	callq	_afterTriggerAddEvent
	jmp	LBB0_66
LBB0_100:
	cmpq	$0, -112(%rbp)                  ## 8-byte Folded Reload
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	je	LBB0_105
## %bb.101:
	testq	%rsi, %rsi
	je	LBB0_103
## %bb.102:
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	callq	_tuplestore_puttupleslot
LBB0_103:
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_105
## %bb.104:
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_tuplestore_puttupleslot
LBB0_105:
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_50, LBB0_50-LJTI0_0
.set L0_0_set_43, LBB0_43-LJTI0_0
.set L0_0_set_39, LBB0_39-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_50
	.long	L0_0_set_43
	.long	L0_0_set_39
	.end_data_region
                                        ## -- End function
	.comm	_afterTriggers,24,3             ## @afterTriggers
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_TTSOpsVirtual,4,2              ## @TTSOpsVirtual
	.comm	_TRIGGER_TYPE_INSERT,4,2        ## @TRIGGER_TYPE_INSERT
	.comm	_CMD_INSERT,4,2                 ## @CMD_INSERT
	.comm	_TRIGGER_TYPE_DELETE,4,2        ## @TRIGGER_TYPE_DELETE
	.comm	_CMD_DELETE,4,2                 ## @CMD_DELETE
	.comm	_TRIGGER_TYPE_UPDATE,4,2        ## @TRIGGER_TYPE_UPDATE
	.comm	_CMD_UPDATE,4,2                 ## @CMD_UPDATE
	.comm	_TRIGGER_TYPE_TRUNCATE,4,2      ## @TRIGGER_TYPE_TRUNCATE
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"invalid after-trigger event code: %d"

	.comm	_RELKIND_FOREIGN_TABLE,1,0      ## @RELKIND_FOREIGN_TABLE
	.comm	_AFTER_TRIGGER_2CTID,4,2        ## @AFTER_TRIGGER_2CTID
	.comm	_AFTER_TRIGGER_1CTID,4,2        ## @AFTER_TRIGGER_1CTID
	.comm	_TRIGGER_TYPE_ROW,4,2           ## @TRIGGER_TYPE_ROW
	.comm	_TRIGGER_TYPE_STATEMENT,4,2     ## @TRIGGER_TYPE_STATEMENT
	.comm	_TRIGGER_TYPE_AFTER,4,2         ## @TRIGGER_TYPE_AFTER
	.comm	_AFTER_TRIGGER_FDW_FETCH,4,2    ## @AFTER_TRIGGER_FDW_FETCH
	.comm	_AFTER_TRIGGER_FDW_REUSE,4,2    ## @AFTER_TRIGGER_FDW_REUSE
	.comm	_F_UNIQUE_KEY_RECHECK,8,3       ## @F_UNIQUE_KEY_RECHECK
	.comm	_TRIGGER_EVENT_OPMASK,4,2       ## @TRIGGER_EVENT_OPMASK
	.comm	_TRIGGER_EVENT_ROW,4,2          ## @TRIGGER_EVENT_ROW
	.comm	_AFTER_TRIGGER_DEFERRABLE,4,2   ## @AFTER_TRIGGER_DEFERRABLE
	.comm	_AFTER_TRIGGER_INITDEFERRED,4,2 ## @AFTER_TRIGGER_INITDEFERRED
	.no_dead_strip	_AfterTriggerSaveEvent
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function AfterTriggerSaveEvent
_AfterTriggerSaveEvent:                 ; @AfterTriggerSaveEvent
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #240
	.cfi_def_cfa_offset 240
	stp	x28, x27, [sp, #144]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #160]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #176]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #192]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #208]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #224]            ; 16-byte Folded Spill
	add	x29, sp, #224
	.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
	stp	x7, x0, [sp, #64]               ; 16-byte Folded Spill
	str	x6, [sp, #16]                   ; 8-byte Folded Spill
	str	x5, [sp, #88]                   ; 8-byte Folded Spill
	mov	x28, x4
	mov	x23, x3
	mov	x24, x2
	ldr	x8, [x29, #16]
	stp	x8, x1, [sp, #48]               ; 16-byte Folded Spill
	ldp	x26, x8, [x1]
	str	x8, [sp, #40]                   ; 8-byte Folded Spill
	ldr	x8, [x8]
	ldrb	w8, [x8]
	str	w8, [sp, #36]                   ; 4-byte Folded Spill
Lloh0:
	adrp	x9, _afterTriggers@GOTPAGE
Lloh1:
	ldr	x9, [x9, _afterTriggers@GOTPAGEOFF]
	ldp	x8, x9, [x9]
	cmp	x8, x9
	b.lo	LBB0_2
; %bb.1:
	bl	_AfterTriggerEnlargeQueryState
LBB0_2:
	str	x28, [sp, #80]                  ; 8-byte Folded Spill
	cbz	w23, LBB0_6
; %bb.3:
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	cbz	x8, LBB0_6
; %bb.4:
	mov	x20, x23
	ldr	x9, [sp, #48]                   ; 8-byte Folded Reload
	ldp	x23, x22, [x9, #24]
	ldp	w8, w21, [x9]
	ldp	w25, w19, [x9, #8]
	cmp	w24, #131
	ccmp	w8, #0, #4, eq
	cset	w27, ne
	b.eq	LBB0_10
; %bb.5:
	mov	x0, x28
	bl	_TupIsNull
	cmp	w0, #0
	cset	w8, ne
	b	LBB0_11
LBB0_6:
	sub	w8, w24, #128
	cmp	w8, #3
	b.hi	LBB0_50
; %bb.7:
Lloh2:
	adrp	x9, lJTI0_0@PAGE
Lloh3:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_8
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_8:
Lloh4:
	adrp	x8, _TRIGGER_TYPE_UPDATE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _TRIGGER_TYPE_UPDATE@GOTPAGEOFF]
Lloh6:
	ldr	w28, [x8]
	cbz	w23, LBB0_54
; %bb.9:
	ldr	x20, [sp, #80]                  ; 8-byte Folded Reload
	cmp	x20, #0
	cset	w0, ne
	bl	_Assert
	ldr	x21, [sp, #88]                  ; 8-byte Folded Reload
	cmp	x21, #0
	cset	w0, ne
	bl	_Assert
	sub	x19, x29, #96
	add	x1, x19, #8
	mov	x0, x20
	bl	_ItemPointerCopy
	orr	x1, x19, #0x4
	mov	x0, x21
	bl	_ItemPointerCopy
	cbnz	w23, LBB0_51
	b	LBB0_57
LBB0_10:
	mov	w8, #0
LBB0_11:
	eor	w0, w8, #0x1
	bl	_Assert
	cmp	w24, #130
	ccmp	w19, #0, #4, eq
	cset	w19, ne
	b.eq	LBB0_13
; %bb.12:
	ldr	x0, [sp, #88]                   ; 8-byte Folded Reload
	bl	_TupIsNull
	cmp	w0, #0
	cset	w8, ne
	b	LBB0_14
LBB0_13:
	mov	w8, #0
LBB0_14:
	eor	w0, w8, #0x1
	bl	_Assert
	mov	x0, x28
	bl	_TupIsNull
	cbnz	w0, LBB0_23
; %bb.15:
	tbnz	w27, #0, LBB0_18
; %bb.16:
	cmp	w24, #128
	b.ne	LBB0_23
; %bb.17:
	cbz	w21, LBB0_23
LBB0_18:
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	ldr	x8, [x8, #16]
	ldr	x21, [x8, #16]
	mov	x27, x28
	cbz	x23, LBB0_22
; %bb.19:
	ldr	x27, [x8]
	cbnz	x27, LBB0_21
; %bb.20:
	ldr	w1, [x23, #4]
Lloh7:
	adrp	x2, _TTSOpsVirtual@GOTPAGE
Lloh8:
	ldr	x2, [x2, _TTSOpsVirtual@GOTPAGEOFF]
	ldr	x0, [sp, #72]                   ; 8-byte Folded Reload
	bl	_ExecAllocTableSlot
	mov	x27, x0
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	ldr	x8, [x8, #16]
	str	x0, [x8]
LBB0_21:
	ldr	w0, [x23]
	mov	x1, x28
	mov	x2, x27
	bl	_execute_attr_map_slot
LBB0_22:
	mov	x0, x21
	mov	x1, x27
	bl	_tuplestore_puttupleslot
LBB0_23:
	ldr	x0, [sp, #88]                   ; 8-byte Folded Reload
	bl	_TupIsNull
	cbnz	w0, LBB0_34
; %bb.24:
	tbnz	w19, #0, LBB0_27
; %bb.25:
	cmp	w24, #128
	b.ne	LBB0_34
; %bb.26:
	cbz	w25, LBB0_34
LBB0_27:
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	ldr	x8, [x8, #16]
	ldr	x21, [x8, #8]
	cbnz	x22, LBB0_32
; %bb.28:
	cbz	x23, LBB0_89
; %bb.29:
	ldr	x22, [x8]
	cbnz	x22, LBB0_31
; %bb.30:
	ldr	w1, [x23, #4]
Lloh9:
	adrp	x2, _TTSOpsVirtual@GOTPAGE
Lloh10:
	ldr	x2, [x2, _TTSOpsVirtual@GOTPAGEOFF]
	ldr	x0, [sp, #72]                   ; 8-byte Folded Reload
	bl	_ExecAllocTableSlot
	mov	x22, x0
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	ldr	x8, [x8, #16]
	str	x0, [x8]
LBB0_31:
	ldr	w0, [x23]
	ldr	x1, [sp, #88]                   ; 8-byte Folded Reload
	mov	x2, x22
	bl	_execute_attr_map_slot
LBB0_32:
	mov	x0, x21
	mov	x1, x22
LBB0_33:
	bl	_tuplestore_puttupleslot
LBB0_34:
	cbz	x26, LBB0_88
; %bb.35:
	mov	x23, x20
	cmp	w24, #131
	b.ne	LBB0_39
; %bb.36:
	ldr	w8, [x26, #24]
	cbz	w8, LBB0_88
LBB0_37:
Lloh11:
	adrp	x8, _TRIGGER_TYPE_DELETE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TRIGGER_TYPE_DELETE@GOTPAGEOFF]
Lloh13:
	ldr	w28, [x8]
	cbz	w23, LBB0_52
; %bb.38:
	ldr	x20, [sp, #80]                  ; 8-byte Folded Reload
	cmp	x20, #0
	cset	w0, ne
	bl	_Assert
	ldr	x8, [sp, #88]                   ; 8-byte Folded Reload
	cmp	x8, #0
	cset	w0, eq
	bl	_Assert
	sub	x19, x29, #96
	add	x1, x19, #8
	mov	x0, x20
	b	LBB0_43
LBB0_39:
	cmp	w24, #130
	b.ne	LBB0_44
; %bb.40:
	ldr	w8, [x26, #20]
	cbz	w8, LBB0_88
LBB0_41:
Lloh14:
	adrp	x8, _TRIGGER_TYPE_INSERT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _TRIGGER_TYPE_INSERT@GOTPAGEOFF]
Lloh16:
	ldr	w28, [x8]
	ldr	x8, [sp, #80]                   ; 8-byte Folded Reload
	cmp	x8, #0
	cset	w0, eq
	bl	_Assert
	cbz	w23, LBB0_53
; %bb.42:
	ldr	x21, [sp, #88]                  ; 8-byte Folded Reload
	cmp	x21, #0
	cset	w0, ne
	bl	_Assert
	sub	x19, x29, #96
	add	x1, x19, #8
	mov	x0, x21
LBB0_43:
	bl	_ItemPointerCopy
	b	LBB0_49
LBB0_44:
	cmp	w24, #129
	b.eq	LBB0_48
; %bb.45:
	cmp	w24, #128
	b.ne	LBB0_50
; %bb.46:
	ldr	w8, [x26, #16]
	cbz	w8, LBB0_88
; %bb.47:
	ldr	x0, [sp, #80]                   ; 8-byte Folded Reload
	bl	_TupIsNull
	mov	x21, x0
	ldr	x0, [sp, #88]                   ; 8-byte Folded Reload
	bl	_TupIsNull
	cmp	w21, w0
	b.eq	LBB0_8
	b	LBB0_88
LBB0_48:
Lloh17:
	adrp	x8, _TRIGGER_TYPE_TRUNCATE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _TRIGGER_TYPE_TRUNCATE@GOTPAGEOFF]
Lloh19:
	ldr	w28, [x8]
	ldr	x8, [sp, #80]                   ; 8-byte Folded Reload
	cmp	x8, #0
	cset	w0, eq
	bl	_Assert
	ldr	x8, [sp, #88]                   ; 8-byte Folded Reload
	cmp	x8, #0
	cset	w0, eq
	bl	_Assert
	sub	x19, x29, #96
	add	x0, x19, #8
	bl	_ItemPointerSetInvalid
LBB0_49:
	orr	x0, x19, #0x4
	bl	_ItemPointerSetInvalid
	cbnz	w23, LBB0_51
	b	LBB0_57
LBB0_50:
Lloh20:
	adrp	x8, _ERROR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	str	x24, [sp]
Lloh23:
	adrp	x1, l_.str.1@PAGE
Lloh24:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_elog
	mov	w28, #0
	cbz	w23, LBB0_57
LBB0_51:
Lloh25:
	adrp	x8, _RELKIND_FOREIGN_TABLE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _RELKIND_FOREIGN_TABLE@GOTPAGEOFF]
	ldrb	w8, [x8]
	ldr	w9, [sp, #36]                   ; 4-byte Folded Reload
	cmp	w9, w8
	b.eq	LBB0_58
	b	LBB0_57
LBB0_52:
	mov	w21, #131
Lloh27:
	adrp	x19, _CMD_DELETE@GOTPAGE
Lloh28:
	ldr	x19, [x19, _CMD_DELETE@GOTPAGEOFF]
	b	LBB0_55
LBB0_53:
	mov	w21, #130
Lloh29:
	adrp	x19, _CMD_INSERT@GOTPAGE
Lloh30:
	ldr	x19, [x19, _CMD_INSERT@GOTPAGEOFF]
	b	LBB0_56
LBB0_54:
	mov	w21, #128
Lloh31:
	adrp	x19, _CMD_UPDATE@GOTPAGE
Lloh32:
	ldr	x19, [x19, _CMD_UPDATE@GOTPAGEOFF]
LBB0_55:
	ldr	x8, [sp, #80]                   ; 8-byte Folded Reload
	cmp	x8, #0
	cset	w0, eq
	bl	_Assert
LBB0_56:
	ldr	x8, [sp, #88]                   ; 8-byte Folded Reload
	cmp	x8, #0
	cset	w0, eq
	bl	_Assert
	sub	x22, x29, #96
	add	x0, x22, #8
	bl	_ItemPointerSetInvalid
	orr	x0, x22, #0x4
	bl	_ItemPointerSetInvalid
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	bl	_RelationGetRelid
	ldr	w1, [x19]
	mov	x2, x21
	bl	_cancel_prior_stmt_triggers
LBB0_57:
	cmp	w23, #0
	mov	w8, #128
Lloh33:
	adrp	x9, _AFTER_TRIGGER_2CTID@GOTPAGE
Lloh34:
	ldr	x9, [x9, _AFTER_TRIGGER_2CTID@GOTPAGEOFF]
	ccmp	w24, w8, #0, ne
Lloh35:
	adrp	x8, _AFTER_TRIGGER_1CTID@GOTPAGE
Lloh36:
	ldr	x8, [x8, _AFTER_TRIGGER_1CTID@GOTPAGEOFF]
	csel	x8, x9, x8, eq
	ldr	w8, [x8]
	stur	w8, [x29, #-96]
LBB0_58:
Lloh37:
	adrp	x8, _TRIGGER_TYPE_ROW@GOTPAGE
Lloh38:
	ldr	x8, [x8, _TRIGGER_TYPE_ROW@GOTPAGEOFF]
Lloh39:
	adrp	x9, _TRIGGER_TYPE_STATEMENT@GOTPAGE
Lloh40:
	ldr	x9, [x9, _TRIGGER_TYPE_STATEMENT@GOTPAGEOFF]
	cmp	w23, #0
	csel	x8, x8, x9, ne
	ldr	w9, [x26]
	cmp	w9, #1
	b.lt	LBB0_88
; %bb.59:
	mov	x20, x23
	mov	x25, #0
	mov	x23, #0
	str	xzr, [sp, #24]                  ; 8-byte Folded Spill
	ldr	w27, [x8]
Lloh41:
	adrp	x22, _TRIGGER_TYPE_AFTER@GOTPAGE
Lloh42:
	ldr	x22, [x22, _TRIGGER_TYPE_AFTER@GOTPAGEOFF]
	b	LBB0_63
LBB0_60:                                ;   in Loop: Header=BB0_63 Depth=1
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	ldr	x8, [x8, #16]
LBB0_61:                                ;   in Loop: Header=BB0_63 Depth=1
	str	x8, [sp, #104]
Lloh43:
	adrp	x9, _afterTriggers@GOTPAGE
Lloh44:
	ldr	x9, [x9, _afterTriggers@GOTPAGEOFF]
	ldr	x8, [x9, #16]
	ldr	x9, [x9]
	add	x0, x8, x9, lsl #2
	sub	x1, x29, #96
	add	x2, sp, #96
	bl	_afterTriggerAddEvent
LBB0_62:                                ;   in Loop: Header=BB0_63 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x26]
	add	x25, x25, #56
	cmp	x23, x8
	b.ge	LBB0_83
LBB0_63:                                ; =>This Inner Loop Header: Depth=1
	ldr	x19, [x26, #8]
	add	x21, x19, x25
	ldr	w0, [x21, #52]
	ldr	w2, [x22]
	mov	x1, x27
	mov	x3, x28
	bl	_TRIGGER_TYPE_MATCHES
	cbz	w0, LBB0_62
; %bb.64:                               ;   in Loop: Header=BB0_63 Depth=1
	ldp	x4, x0, [sp, #64]               ; 16-byte Folded Reload
	ldr	x1, [sp, #56]                   ; 8-byte Folded Reload
	mov	x2, x21
	mov	x3, x24
	ldp	x5, x6, [sp, #80]               ; 16-byte Folded Reload
	bl	_TriggerEnabled
	cbz	w0, LBB0_62
; %bb.65:                               ;   in Loop: Header=BB0_63 Depth=1
	cbz	w20, LBB0_71
; %bb.66:                               ;   in Loop: Header=BB0_63 Depth=1
Lloh45:
	adrp	x8, _RELKIND_FOREIGN_TABLE@GOTPAGE
Lloh46:
	ldr	x8, [x8, _RELKIND_FOREIGN_TABLE@GOTPAGEOFF]
	ldrb	w8, [x8]
	ldr	w9, [sp, #36]                   ; 4-byte Folded Reload
	cmp	w9, w8
	b.ne	LBB0_71
; %bb.67:                               ;   in Loop: Header=BB0_63 Depth=1
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	cbz	x8, LBB0_69
; %bb.68:                               ;   in Loop: Header=BB0_63 Depth=1
Lloh47:
	adrp	x8, _AFTER_TRIGGER_FDW_REUSE@GOTPAGE
Lloh48:
	ldr	x8, [x8, _AFTER_TRIGGER_FDW_REUSE@GOTPAGEOFF]
	b	LBB0_70
LBB0_69:                                ;   in Loop: Header=BB0_63 Depth=1
	bl	_GetCurrentFDWTuplestore
	str	x0, [sp, #24]                   ; 8-byte Folded Spill
Lloh49:
	adrp	x8, _AFTER_TRIGGER_FDW_FETCH@GOTPAGE
Lloh50:
	ldr	x8, [x8, _AFTER_TRIGGER_FDW_FETCH@GOTPAGEOFF]
LBB0_70:                                ;   in Loop: Header=BB0_63 Depth=1
	ldr	w8, [x8]
	stur	w8, [x29, #-96]
LBB0_71:                                ;   in Loop: Header=BB0_63 Depth=1
	mov	x0, x24
	bl	_TRIGGER_FIRED_BY_UPDATE
	cbnz	x0, LBB0_73
; %bb.72:                               ;   in Loop: Header=BB0_63 Depth=1
	mov	x0, x24
	bl	_TRIGGER_FIRED_BY_DELETE
	cbz	x0, LBB0_77
LBB0_73:                                ;   in Loop: Header=BB0_63 Depth=1
	ldr	x0, [x19, x25]
	bl	_RI_FKey_trigger_type
	cmp	w0, #134
	b.eq	LBB0_76
; %bb.74:                               ;   in Loop: Header=BB0_63 Depth=1
	cmp	w0, #132
	b.ne	LBB0_77
; %bb.75:                               ;   in Loop: Header=BB0_63 Depth=1
	mov	x0, x21
	ldr	x1, [sp, #40]                   ; 8-byte Folded Reload
	ldp	x2, x3, [sp, #80]               ; 16-byte Folded Reload
	bl	_RI_FKey_pk_upd_check_required
	cbnz	w0, LBB0_77
	b	LBB0_62
LBB0_76:                                ;   in Loop: Header=BB0_63 Depth=1
	mov	x0, x21
	ldr	x1, [sp, #40]                   ; 8-byte Folded Reload
	ldp	x2, x3, [sp, #80]               ; 16-byte Folded Reload
	bl	_RI_FKey_fk_upd_check_required
	cbz	w0, LBB0_62
LBB0_77:                                ;   in Loop: Header=BB0_63 Depth=1
	ldr	x8, [x19, x25]
Lloh51:
	adrp	x9, _F_UNIQUE_KEY_RECHECK@GOTPAGE
Lloh52:
	ldr	x9, [x9, _F_UNIQUE_KEY_RECHECK@GOTPAGEOFF]
Lloh53:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_79
; %bb.78:                               ;   in Loop: Header=BB0_63 Depth=1
	add	x8, x19, x25
	ldr	w1, [x8, #48]
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	bl	_list_member_oid
	cbz	w0, LBB0_62
LBB0_79:                                ;   in Loop: Header=BB0_63 Depth=1
Lloh54:
	adrp	x8, _TRIGGER_EVENT_OPMASK@GOTPAGE
Lloh55:
	ldr	x8, [x8, _TRIGGER_EVENT_OPMASK@GOTPAGEOFF]
Lloh56:
	ldr	w8, [x8]
	and	w8, w8, w24
Lloh57:
	adrp	x9, _TRIGGER_EVENT_ROW@GOTPAGE
Lloh58:
	ldr	x9, [x9, _TRIGGER_EVENT_ROW@GOTPAGEOFF]
Lloh59:
	ldr	w9, [x9]
	cmp	w20, #0
	csel	w9, w9, wzr, ne
	orr	w8, w9, w8
	add	x19, x19, x25
	ldp	x10, x9, [x19, #32]
	cmp	x9, #0
Lloh60:
	adrp	x9, _AFTER_TRIGGER_DEFERRABLE@GOTPAGE
Lloh61:
	ldr	x9, [x9, _AFTER_TRIGGER_DEFERRABLE@GOTPAGEOFF]
Lloh62:
	ldr	w9, [x9]
	csel	w9, wzr, w9, eq
	orr	w8, w8, w9
Lloh63:
	adrp	x9, _AFTER_TRIGGER_INITDEFERRED@GOTPAGE
Lloh64:
	ldr	x9, [x9, _AFTER_TRIGGER_INITDEFERRED@GOTPAGEOFF]
Lloh65:
	ldr	w9, [x9]
	cmp	x10, #0
	csel	w9, wzr, w9, eq
	orr	w8, w8, w9
	str	w8, [sp, #96]
	ldr	w8, [x19, #24]
	str	w8, [sp, #124]
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	bl	_RelationGetRelid
	str	w0, [sp, #120]
	str	xzr, [sp, #112]
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_81
; %bb.80:                               ;   in Loop: Header=BB0_63 Depth=1
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	cbnz	x8, LBB0_60
	b	LBB0_61
LBB0_81:                                ;   in Loop: Header=BB0_63 Depth=1
	ldr	x9, [sp, #48]                   ; 8-byte Folded Reload
	cbz	x9, LBB0_61
; %bb.82:                               ;   in Loop: Header=BB0_63 Depth=1
	ldr	x9, [x19, #8]
	cbnz	x9, LBB0_60
	b	LBB0_61
LBB0_83:
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	cbz	x8, LBB0_88
; %bb.84:
	ldr	x1, [sp, #80]                   ; 8-byte Folded Reload
	cbz	x1, LBB0_86
; %bb.85:
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	bl	_tuplestore_puttupleslot
LBB0_86:
	ldr	x8, [sp, #88]                   ; 8-byte Folded Reload
	cbz	x8, LBB0_88
; %bb.87:
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	ldr	x1, [sp, #88]                   ; 8-byte Folded Reload
	bl	_tuplestore_puttupleslot
LBB0_88:
	ldp	x29, x30, [sp, #224]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #208]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #192]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #176]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #160]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #240
	ret
LBB0_89:
	mov	x0, x21
	ldr	x1, [sp, #88]                   ; 8-byte Folded Reload
	b	LBB0_33
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_48-LBB0_8)>>2
	.byte	(LBB0_41-LBB0_8)>>2
	.byte	(LBB0_37-LBB0_8)>>2
                                        ; -- End function
	.comm	_afterTriggers,24,3             ; @afterTriggers
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_TTSOpsVirtual,4,2              ; @TTSOpsVirtual
	.comm	_TRIGGER_TYPE_INSERT,4,2        ; @TRIGGER_TYPE_INSERT
	.comm	_CMD_INSERT,4,2                 ; @CMD_INSERT
	.comm	_TRIGGER_TYPE_DELETE,4,2        ; @TRIGGER_TYPE_DELETE
	.comm	_CMD_DELETE,4,2                 ; @CMD_DELETE
	.comm	_TRIGGER_TYPE_UPDATE,4,2        ; @TRIGGER_TYPE_UPDATE
	.comm	_CMD_UPDATE,4,2                 ; @CMD_UPDATE
	.comm	_TRIGGER_TYPE_TRUNCATE,4,2      ; @TRIGGER_TYPE_TRUNCATE
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"invalid after-trigger event code: %d"

	.comm	_RELKIND_FOREIGN_TABLE,1,0      ; @RELKIND_FOREIGN_TABLE
	.comm	_AFTER_TRIGGER_2CTID,4,2        ; @AFTER_TRIGGER_2CTID
	.comm	_AFTER_TRIGGER_1CTID,4,2        ; @AFTER_TRIGGER_1CTID
	.comm	_TRIGGER_TYPE_ROW,4,2           ; @TRIGGER_TYPE_ROW
	.comm	_TRIGGER_TYPE_STATEMENT,4,2     ; @TRIGGER_TYPE_STATEMENT
	.comm	_TRIGGER_TYPE_AFTER,4,2         ; @TRIGGER_TYPE_AFTER
	.comm	_AFTER_TRIGGER_FDW_FETCH,4,2    ; @AFTER_TRIGGER_FDW_FETCH
	.comm	_AFTER_TRIGGER_FDW_REUSE,4,2    ; @AFTER_TRIGGER_FDW_REUSE
	.comm	_F_UNIQUE_KEY_RECHECK,8,3       ; @F_UNIQUE_KEY_RECHECK
	.comm	_TRIGGER_EVENT_OPMASK,4,2       ; @TRIGGER_EVENT_OPMASK
	.comm	_TRIGGER_EVENT_ROW,4,2          ; @TRIGGER_EVENT_ROW
	.comm	_AFTER_TRIGGER_DEFERRABLE,4,2   ; @AFTER_TRIGGER_DEFERRABLE
	.comm	_AFTER_TRIGGER_INITDEFERRED,4,2 ; @AFTER_TRIGGER_INITDEFERRED
	.no_dead_strip	_AfterTriggerSaveEvent
.subsections_via_symbols
