	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ExecCallTriggerFunc
_ExecCallTriggerFunc:                   ## @ExecCallTriggerFunc
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r15d
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r12
	movl	%esi, %r13d
	movq	%rdi, %rbx
	movq	_fcinfo@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	xorl	%esi, %esi
	callq	_LOCAL_FCINFO
	movl	(%rbx), %edi
	callq	_TRIGGER_FIRED_BY_INSERT
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	movl	(%rbx), %edi
	callq	_TRIGGER_FIRED_BY_UPDATE
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movl	(%rbx), %edi
	callq	_TRIGGER_FIRED_BY_DELETE
	testq	%rax, %rax
	je	LBB0_7
LBB0_3:
	movl	(%rbx), %edi
	callq	_TRIGGER_FIRED_AFTER
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movl	(%rbx), %eax
	movq	_AFTER_TRIGGER_DEFERRABLE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_7
## %bb.5:
	movq	_AFTER_TRIGGER_INITDEFERRED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
LBB0_7:
	xorl	%edi, %edi
	cmpq	$0, 24(%rbx)
	jne	LBB0_9
## %bb.8:
	xorl	%edi, %edi
	cmpq	$0, 16(%rbx)
	sete	%dil
LBB0_9:
	callq	_Assert
	movslq	%r13d, %r14
	leaq	(%r12,%r14,8), %r13
	movq	(%r12,%r14,8), %rax
	movq	_InvalidOid@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.10:
	movq	8(%rbx), %rax
	movq	(%rax), %rdi
	movq	%r13, %rsi
	callq	_fmgr_info
	movq	(%r13), %rax
LBB0_11:
	movq	8(%rbx), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_Assert
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	leaq	(%rax,%r14,4), %rdi
	callq	_InstrStartNode
LBB0_13:
	movl	%r15d, %edi
	callq	_MemoryContextSwitchTo
	movl	%eax, %r15d
	movq	_fcinfo@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	_InvalidOid@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r8
	movq	(%rax), %rdi
	movq	8(%rax), %rsi
	movq	$0, (%rsp)
	movq	%r13, %rdx
	xorl	%ecx, %ecx
	movq	%rbx, %r9
	callq	_InitFunctionCallInfoData
	movq	(%r12), %rdi
	leaq	-60(%rbp), %r13
	movq	%r13, %rsi
	callq	_pgstat_init_function_usage
	movq	_MyTriggerDepth@GOTPCREL(%rip), %rbx
	incl	(%rbx)
	xorl	%eax, %eax
	callq	_PG_TRY
	movq	(%r12), %rdi
	callq	_FunctionCallInvoke
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	callq	_PG_FINALLY
	decl	(%rbx)
	xorl	%eax, %eax
	callq	_PG_END_TRY
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_pgstat_end_function_usage
	movl	%r15d, %edi
	callq	_MemoryContextSwitchTo
	movq	(%r12), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_15
## %bb.14:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_E_R_I_E_TRIGGER_PROTOCOL_VIOLATED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movq	(%r12), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_15:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	leaq	(%rax,%r14,4), %rdi
	movl	$1, %esi
	callq	_InstrStopNode
LBB0_17:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_DatumGetPointer
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	$1, %edi
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_fcinfo,8,3                     ## @fcinfo
	.comm	_AFTER_TRIGGER_DEFERRABLE,4,2   ## @AFTER_TRIGGER_DEFERRABLE
	.comm	_AFTER_TRIGGER_INITDEFERRED,4,2 ## @AFTER_TRIGGER_INITDEFERRED
	.comm	_InvalidOid,8,3                 ## @InvalidOid
	.comm	_MyTriggerDepth,4,2             ## @MyTriggerDepth
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_E_R_I_E_TRIGGER_PROTOCOL_VIOLATED,4,2 ## @ERRCODE_E_R_I_E_TRIGGER_PROTOCOL_VIOLATED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"trigger function %u returned null value"

	.no_dead_strip	_ExecCallTriggerFunc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ExecCallTriggerFunc
_ExecCallTriggerFunc:                   ; @ExecCallTriggerFunc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x21, x4
	mov	x19, x3
	mov	x23, x2
	mov	x22, x1
	mov	x20, x0
Lloh0:
	adrp	x24, _fcinfo@GOTPAGE
Lloh1:
	ldr	x24, [x24, _fcinfo@GOTPAGEOFF]
	ldr	x0, [x24]
	mov	w1, #0
	bl	_LOCAL_FCINFO
	ldr	w0, [x20]
	bl	_TRIGGER_FIRED_BY_INSERT
	cbnz	x0, LBB0_3
; %bb.1:
	ldr	w0, [x20]
	bl	_TRIGGER_FIRED_BY_UPDATE
	cbnz	x0, LBB0_3
; %bb.2:
	ldr	w0, [x20]
	bl	_TRIGGER_FIRED_BY_DELETE
	cbz	x0, LBB0_6
LBB0_3:
	ldr	w0, [x20]
	bl	_TRIGGER_FIRED_AFTER
	cbz	x0, LBB0_6
; %bb.4:
	ldr	w8, [x20]
Lloh2:
	adrp	x9, _AFTER_TRIGGER_DEFERRABLE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _AFTER_TRIGGER_DEFERRABLE@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_6
; %bb.5:
Lloh5:
	adrp	x9, _AFTER_TRIGGER_INITDEFERRED@GOTPAGE
Lloh6:
	ldr	x9, [x9, _AFTER_TRIGGER_INITDEFERRED@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_18
LBB0_6:
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_8
; %bb.7:
	mov	w0, #0
	b	LBB0_9
LBB0_8:
	ldr	x8, [x20, #16]
	cmp	x8, #0
	cset	w0, eq
LBB0_9:
	bl	_Assert
	add	x23, x23, w22, sxtw #3
	ldr	x8, [x23]
Lloh8:
	adrp	x25, _InvalidOid@GOTPAGE
Lloh9:
	ldr	x25, [x25, _InvalidOid@GOTPAGEOFF]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.10:
	ldr	x8, [x20, #8]
	ldr	x0, [x8]
	mov	x1, x23
	bl	_fmgr_info
	ldr	x8, [x23]
LBB0_11:
	sxtw	x22, w22
	ldr	x9, [x20, #8]
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_Assert
	cbz	x19, LBB0_13
; %bb.12:
	add	x0, x19, x22, lsl #2
	bl	_InstrStartNode
LBB0_13:
	mov	x0, x21
	bl	_MemoryContextSwitchTo
	mov	x21, x0
	ldr	x8, [x24]
	ldr	x4, [x25]
	ldp	x0, x1, [x8]
	mov	x2, x23
	mov	w3, #0
	mov	x5, x20
	mov	x6, #0
	bl	_InitFunctionCallInfoData
	ldr	x0, [x24]
	add	x1, sp, #12
	bl	_pgstat_init_function_usage
Lloh10:
	adrp	x23, _MyTriggerDepth@GOTPAGE
Lloh11:
	ldr	x23, [x23, _MyTriggerDepth@GOTPAGEOFF]
	ldr	w8, [x23]
	add	w8, w8, #1
	str	w8, [x23]
	bl	_PG_TRY
	ldr	x0, [x24]
	bl	_FunctionCallInvoke
	mov	x20, x0
	bl	_PG_FINALLY
	ldr	w8, [x23]
	sub	w8, w8, #1
	str	w8, [x23]
	bl	_PG_END_TRY
	add	x0, sp, #12
	mov	w1, #1
	bl	_pgstat_end_function_usage
	mov	x0, x21
	bl	_MemoryContextSwitchTo
	ldr	x8, [x24]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_15
; %bb.14:
Lloh12:
	adrp	x8, _ERROR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh14:
	ldr	w21, [x8]
Lloh15:
	adrp	x8, _ERRCODE_E_R_I_E_TRIGGER_PROTOCOL_VIOLATED@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ERRCODE_E_R_I_E_TRIGGER_PROTOCOL_VIOLATED@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_errcode
	ldr	x8, [x24]
	ldr	x8, [x8]
	ldr	w1, [x8]
Lloh18:
	adrp	x0, l_.str@PAGE
Lloh19:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x21
	bl	_ereport
LBB0_15:
	cbz	x19, LBB0_17
; %bb.16:
	add	x0, x19, x22, lsl #2
	mov	w1, #1
	bl	_InstrStopNode
LBB0_17:
	mov	x0, x20
	bl	_DatumGetPointer
	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
	add	sp, sp, #96
	ret
LBB0_18:
	mov	w0, #1
	b	LBB0_9
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_fcinfo,8,3                     ; @fcinfo
	.comm	_AFTER_TRIGGER_DEFERRABLE,4,2   ; @AFTER_TRIGGER_DEFERRABLE
	.comm	_AFTER_TRIGGER_INITDEFERRED,4,2 ; @AFTER_TRIGGER_INITDEFERRED
	.comm	_InvalidOid,8,3                 ; @InvalidOid
	.comm	_MyTriggerDepth,4,2             ; @MyTriggerDepth
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_E_R_I_E_TRIGGER_PROTOCOL_VIOLATED,4,2 ; @ERRCODE_E_R_I_E_TRIGGER_PROTOCOL_VIOLATED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"trigger function %u returned null value"

	.no_dead_strip	_ExecCallTriggerFunc
.subsections_via_symbols
