	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_plpgsql_exec_event_trigger     ## -- Begin function plpgsql_exec_event_trigger
	.p2align	4, 0x90
_plpgsql_exec_event_trigger:            ## @plpgsql_exec_event_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	%r12
	pushq	%rbx
	subq	$64, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	leaq	-64(%rbp), %r15
	movq	%r15, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_plpgsql_estate_setup
	movq	%rbx, -48(%rbp)
	movq	_plpgsql_exec_error_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	movq	%r15, -80(%rbp)
	movq	_error_context_stack@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	%rax, -88(%rbp)
	leaq	-88(%rbp), %rax
	movq	%rax, (%r12)
	leaq	L_.str(%rip), %rdi
	callq	_gettext_noop
	movq	%rax, -64(%rbp)
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_copy_plpgsql_datums
	movq	_plpgsql_plugin_ptr@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	leaq	-64(%rbp), %rdi
	movq	%r14, %rsi
	callq	*%rax
LBB0_3:
	movq	$0, -64(%rbp)
	movq	(%r14), %rsi
	movq	%rsi, -56(%rbp)
	leaq	-64(%rbp), %rdi
	callq	_exec_stmt
	movq	_PLPGSQL_RC_RETURN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_5
## %bb.4:
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	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.1(%rip), %rdi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_5:
	movq	$0, -56(%rbp)
	leaq	L_.str.2(%rip), %rdi
	callq	_gettext_noop
	movq	%rax, -64(%rbp)
	movq	(%r15), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	leaq	-64(%rbp), %rdi
	movq	%r14, %rsi
	callq	*%rax
LBB0_8:
	leaq	-64(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_plpgsql_destroy_econtext
	movq	%rbx, %rdi
	callq	_exec_eval_cleanup
	movq	-88(%rbp), %rax
	movq	%rax, (%r12)
	addq	$64, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.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	_plpgsql_plugin_ptr,8,3         ## @plpgsql_plugin_ptr
	.comm	_PLPGSQL_RC_RETURN,4,2          ## @PLPGSQL_RC_RETURN
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_S_R_E_FUNCTION_EXECUTED_NO_RETURN_STATEMENT,4,2 ## @ERRCODE_S_R_E_FUNCTION_EXECUTED_NO_RETURN_STATEMENT
L_.str.1:                               ## @.str.1
	.asciz	"control reached end of trigger procedure without RETURN"

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_plpgsql_exec_event_trigger     ; -- Begin function plpgsql_exec_event_trigger
	.p2align	2
_plpgsql_exec_event_trigger:            ; @plpgsql_exec_event_trigger
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x20, x1
	mov	x19, x0
	add	x22, sp, #24
	add	x0, sp, #24
	mov	x1, x19
	mov	x2, #0
	mov	x3, #0
	bl	_plpgsql_estate_setup
	str	x20, [sp, #40]
Lloh0:
	adrp	x8, _plpgsql_exec_error_callback@GOTPAGE
Lloh1:
	ldr	x8, [x8, _plpgsql_exec_error_callback@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x21, _error_context_stack@GOTPAGE
Lloh4:
	ldr	x21, [x21, _error_context_stack@GOTPAGEOFF]
	str	w8, [sp, #16]
	ldr	x8, [x21]
	stp	x8, x22, [sp]
	mov	x8, sp
	str	x8, [x21]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_gettext_noop
	str	x0, [sp, #24]
	add	x0, sp, #24
	mov	x1, x19
	bl	_copy_plpgsql_datums
Lloh7:
	adrp	x22, _plpgsql_plugin_ptr@GOTPAGE
Lloh8:
	ldr	x22, [x22, _plpgsql_plugin_ptr@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_3
; %bb.2:
	add	x0, sp, #24
	mov	x1, x19
	blr	x8
LBB0_3:
	ldr	x1, [x19]
	stp	xzr, x1, [sp, #24]
	add	x0, sp, #24
	bl	_exec_stmt
Lloh9:
	adrp	x8, _PLPGSQL_RC_RETURN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PLPGSQL_RC_RETURN@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_5
; %bb.4:
	stp	xzr, xzr, [sp, #24]
Lloh12:
	adrp	x8, _ERROR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh14:
	ldr	w20, [x8]
Lloh15:
	adrp	x8, _ERRCODE_S_R_E_FUNCTION_EXECUTED_NO_RETURN_STATEMENT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ERRCODE_S_R_E_FUNCTION_EXECUTED_NO_RETURN_STATEMENT@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_errcode
Lloh18:
	adrp	x0, l_.str.1@PAGE
Lloh19:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
LBB0_5:
	str	xzr, [sp, #32]
Lloh20:
	adrp	x0, l_.str.2@PAGE
Lloh21:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_gettext_noop
	str	x0, [sp, #24]
	ldr	x8, [x22]
	ldr	x8, [x8]
	cbz	x8, LBB0_8
; %bb.6:
	ldr	x8, [x8]
	cbz	x8, LBB0_8
; %bb.7:
	add	x0, sp, #24
	mov	x1, x19
	blr	x8
LBB0_8:
	add	x0, sp, #24
	bl	_plpgsql_destroy_econtext
	add	x0, sp, #24
	bl	_exec_eval_cleanup
	ldr	x8, [sp]
	str	x8, [x21]
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh20, Lloh21
	.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	_plpgsql_plugin_ptr,8,3         ; @plpgsql_plugin_ptr
	.comm	_PLPGSQL_RC_RETURN,4,2          ; @PLPGSQL_RC_RETURN
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_S_R_E_FUNCTION_EXECUTED_NO_RETURN_STATEMENT,4,2 ; @ERRCODE_S_R_E_FUNCTION_EXECUTED_NO_RETURN_STATEMENT
l_.str.1:                               ; @.str.1
	.asciz	"control reached end of trigger procedure without RETURN"

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

.subsections_via_symbols
