	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_plpgsql_exec_trigger           ## -- Begin function plpgsql_exec_trigger
	.p2align	4, 0x90
_plpgsql_exec_trigger:                  ## @plpgsql_exec_trigger
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	leaq	-112(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_plpgsql_estate_setup
	movq	%r15, -56(%rbp)
	movq	_plpgsql_exec_error_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -120(%rbp)
	movq	%rbx, -128(%rbp)
	movq	_error_context_stack@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rax
	movq	%rax, -136(%rbp)
	leaq	-136(%rbp), %rax
	movq	%rax, (%rcx)
	leaq	L_.str(%rip), %rdi
	callq	_gettext_noop
	movq	%rax, -88(%rbp)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_copy_plpgsql_datums
	movl	(%r15), %edi
	callq	_RelationGetDescr
	movq	%rax, %r12
	movq	-64(%rbp), %rax
	movq	(%r14), %rcx
	movq	8(%r14), %rdx
	movq	(%rax,%rcx,8), %r13
	movq	(%rax,%rdx,8), %rbx
	movl	-72(%rbp), %esi
	movq	%r12, %rdi
	callq	_make_expanded_record_from_tupdesc
	movl	%eax, (%r13)
	movl	-72(%rbp), %esi
	movl	%eax, %edi
	callq	_make_expanded_record_from_exprecord
	movl	%eax, (%rbx)
	movl	24(%r15), %edi
	callq	_TRIGGER_FIRED_FOR_ROW
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	movl	24(%r15), %edi
	callq	_TRIGGER_FIRED_BY_INSERT
	testq	%rax, %rax
	je	LBB0_26
## %bb.2:
	movl	(%r13), %edi
LBB0_3:
	movq	8(%r15), %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_expanded_record_set_tuple
LBB0_4:
	movq	%r15, %rdi
	callq	_SPI_register_trigger_data
	notl	%eax
	shrl	$31, %eax
	movl	%eax, %edi
	callq	_Assert
	leaq	L_.str.2(%rip), %rdi
	callq	_gettext_noop
	movq	%rax, -88(%rbp)
	leaq	-112(%rbp), %rdi
	xorl	%esi, %esi
	callq	_exec_set_found
	movq	_plpgsql_plugin_ptr@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	leaq	-112(%rbp), %rdi
	movq	%r14, %rsi
	callq	*%rax
LBB0_7:
	movq	$0, -88(%rbp)
	movq	16(%r14), %rsi
	movq	%rsi, -80(%rbp)
	leaq	-112(%rbp), %rdi
	callq	_exec_stmt
	movq	_PLPGSQL_RC_RETURN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_9
## %bb.8:
	leaq	-88(%rbp), %rax
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rax)
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_S_R_E_FUNCTION_EXECUTED_NO_RETURN_STATEMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.3(%rip), %rdi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_9:
	movq	$0, -80(%rbp)
	leaq	L_.str.4(%rip), %rdi
	callq	_gettext_noop
	movq	%rax, -88(%rbp)
	cmpq	$0, -96(%rbp)
	je	LBB0_11
## %bb.10:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_DATATYPE_MISMATCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.5(%rip), %rdi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_11:
	cmpq	$0, -104(%rbp)
	je	LBB0_18
LBB0_12:
	xorl	%r13d, %r13d
LBB0_13:
	movq	_error_context_stack@GOTPCREL(%rip), %r15
LBB0_14:
	movq	(%r12), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_17
## %bb.15:
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	leaq	-112(%rbp), %rdi
	movq	%r14, %rsi
	callq	*%rax
LBB0_17:
	leaq	-112(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_plpgsql_destroy_econtext
	movq	%rbx, %rdi
	callq	_exec_eval_cleanup
	movq	-136(%rbp), %rax
	movq	%rax, (%r15)
	movq	%r13, %rax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	movl	24(%r15), %edi
	callq	_TRIGGER_FIRED_FOR_ROW
	testl	%eax, %eax
	je	LBB0_12
## %bb.19:
	movl	-108(%rbp), %edi
	callq	_type_is_rowtype
	movl	%eax, %edi
	callq	_Assert
	movl	-112(%rbp), %edi
	callq	_DatumGetPointer
	movl	%eax, %edi
	callq	_VARATT_IS_EXTERNAL_EXPANDED
	testq	%rax, %rax
	je	LBB0_36
## %bb.20:
	movl	-112(%rbp), %edi
	callq	_DatumGetEOHP
	movq	%rax, %r12
	movq	(%rax), %rax
	movq	_ER_MAGIC@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_Assert
	movq	%r12, %rdi
	callq	_expanded_record_get_tuple
	movq	%rax, %r13
	movl	%r13d, %edi
	callq	_Assert
	movq	%r12, %rdi
	callq	_expanded_record_get_tupdesc
	movq	%rax, %r12
	movl	(%r15), %edi
	callq	_RelationGetDescr
	cmpq	%rax, %r12
	je	LBB0_23
## %bb.21:
	movl	(%r15), %edi
	callq	_RelationGetDescr
	movq	%rax, %rbx
	leaq	L_.str.6(%rip), %rdi
	callq	_gettext_noop
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_convert_tuples_by_position
	testq	%rax, %rax
	je	LBB0_23
## %bb.22:
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_execute_attr_map_tuple
	movq	%rax, %r13
LBB0_23:
	movq	_plpgsql_plugin_ptr@GOTPCREL(%rip), %r12
	cmpq	16(%r15), %r13
	je	LBB0_13
## %bb.24:
	cmpq	8(%r15), %r13
	je	LBB0_13
## %bb.25:
	movq	%r13, %rdi
	callq	_SPI_copytuple
	movq	%rax, %r13
	jmp	LBB0_13
LBB0_26:
	movl	24(%r15), %edi
	callq	_TRIGGER_FIRED_BY_UPDATE
	testq	%rax, %rax
	je	LBB0_39
## %bb.27:
	movl	(%r13), %edi
	movq	16(%r15), %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_expanded_record_set_tuple
	movl	(%rbx), %edi
	movq	8(%r15), %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_expanded_record_set_tuple
	movq	8(%r12), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.28:
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.29:
	movl	24(%r15), %edi
	callq	_TRIGGER_FIRED_BEFORE
	testq	%rax, %rax
	je	LBB0_4
## %bb.30:
	cmpl	$0, (%r12)
	jle	LBB0_4
## %bb.31:
	xorl	%ebx, %ebx
	jmp	LBB0_34
	.p2align	4, 0x90
LBB0_32:                                ##   in Loop: Header=BB0_34 Depth=1
	movl	(%r13), %edi
	incl	%ebx
	movl	%ebx, %esi
	xorl	%edx, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_expanded_record_set_field_internal
	cmpl	(%r12), %ebx
	jge	LBB0_4
LBB0_34:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_TupleDescAttr
	movq	(%rax), %rax
	movq	_ATTRIBUTE_GENERATED_STORED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_32
## %bb.35:                              ##   in Loop: Header=BB0_34 Depth=1
	incl	%ebx
	cmpl	(%r12), %ebx
	jl	LBB0_34
	jmp	LBB0_4
LBB0_36:
	movl	-112(%rbp), %edi
	leaq	-44(%rbp), %r13
	movq	%r13, %rsi
	callq	_deconstruct_composite_datum
	movq	%rax, %r12
	movl	(%r15), %edi
	callq	_RelationGetDescr
	movq	%rax, %rbx
	leaq	L_.str.6(%rip), %rdi
	callq	_gettext_noop
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_convert_tuples_by_position
	testq	%rax, %rax
	je	LBB0_38
## %bb.37:
	leaq	-44(%rbp), %rdi
	movq	%rax, %rsi
	callq	_execute_attr_map_tuple
	movq	%rax, %r13
LBB0_38:
	movq	%r12, %rdi
	callq	_ReleaseTupleDesc
	movq	%r13, %rdi
	callq	_SPI_copytuple
	movq	%rax, %r13
	movq	_error_context_stack@GOTPCREL(%rip), %r15
	movq	_plpgsql_plugin_ptr@GOTPCREL(%rip), %r12
	jmp	LBB0_14
LBB0_39:
	movl	24(%r15), %edi
	callq	_TRIGGER_FIRED_BY_DELETE
	testq	%rax, %rax
	je	LBB0_43
## %bb.40:
	movl	(%rbx), %edi
	jmp	LBB0_3
LBB0_43:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_elog
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_plpgsql_exec_error_callback,4,2 ## @plpgsql_exec_error_callback
	.comm	_error_context_stack,8,3        ## @error_context_stack
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"during initialization of execution state"

	.comm	_ATTRIBUTE_GENERATED_STORED,8,3 ## @ATTRIBUTE_GENERATED_STORED
	.comm	_ERROR,4,2                      ## @ERROR
L_.str.1:                               ## @.str.1
	.asciz	"unrecognized trigger action: not INSERT, DELETE, or UPDATE"

L_.str.2:                               ## @.str.2
	.asciz	"during function entry"

	.comm	_plpgsql_plugin_ptr,8,3         ## @plpgsql_plugin_ptr
	.comm	_PLPGSQL_RC_RETURN,4,2          ## @PLPGSQL_RC_RETURN
	.comm	_ERRCODE_S_R_E_FUNCTION_EXECUTED_NO_RETURN_STATEMENT,4,2 ## @ERRCODE_S_R_E_FUNCTION_EXECUTED_NO_RETURN_STATEMENT
L_.str.3:                               ## @.str.3
	.asciz	"control reached end of trigger procedure without RETURN"

L_.str.4:                               ## @.str.4
	.asciz	"during function exit"

	.comm	_ERRCODE_DATATYPE_MISMATCH,4,2  ## @ERRCODE_DATATYPE_MISMATCH
L_.str.5:                               ## @.str.5
	.asciz	"trigger procedure cannot return a set"

	.comm	_ER_MAGIC,8,3                   ## @ER_MAGIC
L_.str.6:                               ## @.str.6
	.asciz	"returned row structure does not match the structure of the triggering table"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_plpgsql_exec_trigger           ; -- Begin function plpgsql_exec_trigger
	.p2align	2
_plpgsql_exec_trigger:                  ; @plpgsql_exec_trigger
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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	x20, x1
	mov	x19, x0
	add	x23, sp, #32
	add	x0, sp, #32
	mov	x1, x19
	mov	x2, #0
	mov	x3, #0
	bl	_plpgsql_estate_setup
	str	x20, [sp, #88]
Lloh0:
	adrp	x8, _plpgsql_exec_error_callback@GOTPAGE
Lloh1:
	ldr	x8, [x8, _plpgsql_exec_error_callback@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x24, _error_context_stack@GOTPAGE
Lloh4:
	ldr	x24, [x24, _error_context_stack@GOTPAGEOFF]
	str	w8, [sp, #24]
	ldr	x8, [x24]
	stp	x8, x23, [sp, #8]
	add	x8, sp, #8
	str	x8, [x24]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_gettext_noop
	str	x0, [sp, #56]
	add	x0, sp, #32
	mov	x1, x19
	bl	_copy_plpgsql_datums
	ldr	w0, [x20]
	bl	_RelationGetDescr
	mov	x21, x0
	ldr	x8, [sp, #80]
	ldp	x9, x10, [x19]
	ldr	x25, [x8, x9, lsl #3]
	ldr	x22, [x8, x10, lsl #3]
	ldr	w1, [sp, #72]
	bl	_make_expanded_record_from_tupdesc
	str	w0, [x25]
	ldr	w1, [sp, #72]
	bl	_make_expanded_record_from_exprecord
	str	w0, [x22]
	ldr	w0, [x20, #24]
	bl	_TRIGGER_FIRED_FOR_ROW
	cbz	w0, LBB0_4
; %bb.1:
	ldr	w0, [x20, #24]
	bl	_TRIGGER_FIRED_BY_INSERT
	cbz	x0, LBB0_24
; %bb.2:
	ldr	w0, [x25]
LBB0_3:
	ldr	x1, [x20, #8]
	mov	w2, #0
	mov	w3, #0
	bl	_expanded_record_set_tuple
LBB0_4:
	mov	x0, x20
	bl	_SPI_register_trigger_data
	mvn	w8, w0
	lsr	w0, w8, #31
	bl	_Assert
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_gettext_noop
	str	x0, [sp, #56]
	add	x0, sp, #32
	mov	w1, #0
	bl	_exec_set_found
Lloh9:
	adrp	x25, _plpgsql_plugin_ptr@GOTPAGE
Lloh10:
	ldr	x25, [x25, _plpgsql_plugin_ptr@GOTPAGEOFF]
	ldr	x8, [x25]
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.5:
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_7
; %bb.6:
	add	x0, sp, #32
	mov	x1, x19
	blr	x8
LBB0_7:
	ldr	x1, [x19, #16]
	stp	xzr, x1, [sp, #56]
	add	x0, sp, #32
	bl	_exec_stmt
Lloh11:
	adrp	x8, _PLPGSQL_RC_RETURN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PLPGSQL_RC_RETURN@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_9
; %bb.8:
	add	x8, x23, #24
	stp	xzr, xzr, [x8]
Lloh14:
	adrp	x8, _ERROR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh16:
	ldr	w21, [x8]
Lloh17:
	adrp	x8, _ERRCODE_S_R_E_FUNCTION_EXECUTED_NO_RETURN_STATEMENT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ERRCODE_S_R_E_FUNCTION_EXECUTED_NO_RETURN_STATEMENT@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_errcode
Lloh20:
	adrp	x0, l_.str.3@PAGE
Lloh21:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x21
	bl	_ereport
LBB0_9:
	str	xzr, [sp, #64]
Lloh22:
	adrp	x0, l_.str.4@PAGE
Lloh23:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_gettext_noop
	str	x0, [sp, #56]
	ldr	x8, [sp, #48]
	cbz	x8, LBB0_11
; %bb.10:
Lloh24:
	adrp	x8, _ERROR@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh26:
	ldr	w21, [x8]
Lloh27:
	adrp	x8, _ERRCODE_DATATYPE_MISMATCH@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ERRCODE_DATATYPE_MISMATCH@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	bl	_errcode
Lloh30:
	adrp	x0, l_.str.5@PAGE
Lloh31:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x21
	bl	_ereport
LBB0_11:
	ldr	x8, [sp, #40]
	cbz	x8, LBB0_17
LBB0_12:
	mov	x21, #0
LBB0_13:
	ldr	x8, [x25]
	ldr	x8, [x8]
	cbz	x8, LBB0_16
; %bb.14:
	ldr	x8, [x8]
	cbz	x8, LBB0_16
; %bb.15:
	add	x0, sp, #32
	mov	x1, x19
	blr	x8
LBB0_16:
	add	x0, sp, #32
	bl	_plpgsql_destroy_econtext
	add	x0, sp, #32
	bl	_exec_eval_cleanup
	ldr	x8, [sp, #8]
	str	x8, [x24]
	mov	x0, x21
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_17:
	ldr	w0, [x20, #24]
	bl	_TRIGGER_FIRED_FOR_ROW
	cbz	w0, LBB0_12
; %bb.18:
	ldr	w0, [sp, #36]
	bl	_type_is_rowtype
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_Assert
	ldr	w0, [sp, #32]
	bl	_DatumGetPointer
	bl	_VARATT_IS_EXTERNAL_EXPANDED
	cbz	x0, LBB0_34
; %bb.19:
	ldr	w0, [sp, #32]
	bl	_DatumGetEOHP
	mov	x22, x0
	ldr	x8, [x0]
Lloh32:
	adrp	x9, _ER_MAGIC@GOTPAGE
Lloh33:
	ldr	x9, [x9, _ER_MAGIC@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_Assert
	mov	x0, x22
	bl	_expanded_record_get_tuple
	mov	x21, x0
	bl	_Assert
	mov	x0, x22
	bl	_expanded_record_get_tupdesc
	mov	x22, x0
	ldr	w0, [x20]
	bl	_RelationGetDescr
	cmp	x22, x0
	b.eq	LBB0_22
; %bb.20:
	ldr	w0, [x20]
	bl	_RelationGetDescr
	mov	x23, x0
Lloh35:
	adrp	x0, l_.str.6@PAGE
Lloh36:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_gettext_noop
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	bl	_convert_tuples_by_position
	cbz	x0, LBB0_22
; %bb.21:
	mov	x1, x0
	mov	x0, x21
	bl	_execute_attr_map_tuple
	mov	x21, x0
LBB0_22:
	ldr	x8, [x20, #16]
	cmp	x21, x8
	b.eq	LBB0_13
; %bb.23:
	ldr	x8, [x20, #8]
	cmp	x21, x8
	b.ne	LBB0_37
	b	LBB0_13
LBB0_24:
	ldr	w0, [x20, #24]
	bl	_TRIGGER_FIRED_BY_UPDATE
	cbz	x0, LBB0_38
; %bb.25:
	ldr	w0, [x25]
	ldr	x1, [x20, #16]
	mov	w2, #0
	mov	w3, #0
	bl	_expanded_record_set_tuple
	ldr	w0, [x22]
	ldr	x1, [x20, #8]
	mov	w2, #0
	mov	w3, #0
	bl	_expanded_record_set_tuple
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_4
; %bb.26:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.27:
	ldr	w0, [x20, #24]
	bl	_TRIGGER_FIRED_BEFORE
	cbz	x0, LBB0_4
; %bb.28:
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.29:
	mov	w22, #0
Lloh37:
	adrp	x26, _ATTRIBUTE_GENERATED_STORED@GOTPAGE
Lloh38:
	ldr	x26, [x26, _ATTRIBUTE_GENERATED_STORED@GOTPAGEOFF]
	b	LBB0_32
LBB0_30:                                ;   in Loop: Header=BB0_32 Depth=1
	ldr	w0, [x25]
	add	w22, w22, #1
	mov	x1, x22
	mov	w2, #0
	mov	w3, #1
	mov	w4, #0
	mov	w5, #0
	bl	_expanded_record_set_field_internal
LBB0_31:                                ;   in Loop: Header=BB0_32 Depth=1
	ldr	w8, [x21]
	cmp	w22, w8
	b.ge	LBB0_4
LBB0_32:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x22
	bl	_TupleDescAttr
	ldr	x8, [x0]
	ldr	x9, [x26]
	cmp	x8, x9
	b.eq	LBB0_30
; %bb.33:                               ;   in Loop: Header=BB0_32 Depth=1
	add	w22, w22, #1
	b	LBB0_31
LBB0_34:
	ldr	w0, [sp, #32]
	add	x21, sp, #4
	add	x1, sp, #4
	bl	_deconstruct_composite_datum
	mov	x22, x0
	ldr	w0, [x20]
	bl	_RelationGetDescr
	mov	x20, x0
Lloh39:
	adrp	x0, l_.str.6@PAGE
Lloh40:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_gettext_noop
	mov	x2, x0
	mov	x0, x22
	mov	x1, x20
	bl	_convert_tuples_by_position
	cbz	x0, LBB0_36
; %bb.35:
	mov	x1, x0
	add	x0, sp, #4
	bl	_execute_attr_map_tuple
	mov	x21, x0
LBB0_36:
	mov	x0, x22
	bl	_ReleaseTupleDesc
LBB0_37:
	mov	x0, x21
	bl	_SPI_copytuple
	mov	x21, x0
	b	LBB0_13
LBB0_38:
	ldr	w0, [x20, #24]
	bl	_TRIGGER_FIRED_BY_DELETE
	cbz	x0, LBB0_40
; %bb.39:
	ldr	w0, [x22]
	b	LBB0_3
LBB0_40:
Lloh41:
	adrp	x8, _ERROR@GOTPAGE
Lloh42:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh43:
	ldr	w0, [x8]
Lloh44:
	adrp	x1, l_.str.1@PAGE
Lloh45:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_elog
	b	LBB0_4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.comm	_plpgsql_exec_error_callback,4,2 ; @plpgsql_exec_error_callback
	.comm	_error_context_stack,8,3        ; @error_context_stack
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"during initialization of execution state"

	.comm	_ATTRIBUTE_GENERATED_STORED,8,3 ; @ATTRIBUTE_GENERATED_STORED
	.comm	_ERROR,4,2                      ; @ERROR
l_.str.1:                               ; @.str.1
	.asciz	"unrecognized trigger action: not INSERT, DELETE, or UPDATE"

l_.str.2:                               ; @.str.2
	.asciz	"during function entry"

	.comm	_plpgsql_plugin_ptr,8,3         ; @plpgsql_plugin_ptr
	.comm	_PLPGSQL_RC_RETURN,4,2          ; @PLPGSQL_RC_RETURN
	.comm	_ERRCODE_S_R_E_FUNCTION_EXECUTED_NO_RETURN_STATEMENT,4,2 ; @ERRCODE_S_R_E_FUNCTION_EXECUTED_NO_RETURN_STATEMENT
l_.str.3:                               ; @.str.3
	.asciz	"control reached end of trigger procedure without RETURN"

l_.str.4:                               ; @.str.4
	.asciz	"during function exit"

	.comm	_ERRCODE_DATATYPE_MISMATCH,4,2  ; @ERRCODE_DATATYPE_MISMATCH
l_.str.5:                               ; @.str.5
	.asciz	"trigger procedure cannot return a set"

	.comm	_ER_MAGIC,8,3                   ; @ER_MAGIC
l_.str.6:                               ; @.str.6
	.asciz	"returned row structure does not match the structure of the triggering table"

.subsections_via_symbols
