	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function plperl_call_perl_event_trigger_func
_plperl_call_perl_event_trigger_func:   ## @plperl_call_perl_event_trigger_func
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	xorl	%esi, %esi
	callq	_get_sv
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_ERRCODE_EXTERNAL_ROUTINE_EXCEPTION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_2:
	movq	%rbx, %rdi
	callq	_save_item
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_sv_setsv
	movq	_sp@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PUSHMARK
	movl	(%r14), %edi
	movq	_G_SCALAR@GOTPCREL(%rip), %rax
	movq	_G_EVAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	callq	_perl_call_sv
	cmpl	$1, %eax
	je	LBB0_4
## %bb.3:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_EXTERNAL_ROUTINE_EXCEPTION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_4:
	movq	_ERRSV@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_SvTRUE
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_ERRCODE_EXTERNAL_ROUTINE_EXCEPTION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	(%rbx), %edi
	callq	_sv2cstr
	movl	%eax, %edi
	callq	_strip_trailing_ws
	leaq	L_.str.3(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_6:
	movq	_POPs@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_newSVsv                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_dTHX,4,2                       ## @dTHX
	.comm	_dSP,4,2                        ## @dSP
	.comm	_ENTER,4,2                      ## @ENTER
	.comm	_SAVETMPS,4,2                   ## @SAVETMPS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"main::_TD"

	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_EXTERNAL_ROUTINE_EXCEPTION,4,2 ## @ERRCODE_EXTERNAL_ROUTINE_EXCEPTION
L_.str.1:                               ## @.str.1
	.asciz	"couldn't fetch $_TD"

	.comm	_sp,4,2                         ## @sp
	.comm	_PUTBACK,4,2                    ## @PUTBACK
	.comm	_G_SCALAR,4,2                   ## @G_SCALAR
	.comm	_G_EVAL,4,2                     ## @G_EVAL
	.comm	_SPAGAIN,4,2                    ## @SPAGAIN
	.comm	_FREETMPS,4,2                   ## @FREETMPS
	.comm	_LEAVE,4,2                      ## @LEAVE
L_.str.2:                               ## @.str.2
	.asciz	"didn't get a return item from trigger function"

	.comm	_ERRSV,4,2                      ## @ERRSV
	.comm	_POPs,4,2                       ## @POPs
L_.str.3:                               ## @.str.3
	.asciz	"%s"

	.no_dead_strip	_plperl_call_perl_event_trigger_func
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function plperl_call_perl_event_trigger_func
_plperl_call_perl_event_trigger_func:   ; @plperl_call_perl_event_trigger_func
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x2
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #0
	bl	_get_sv
	mov	x21, x0
Lloh2:
	adrp	x23, _ERROR@GOTPAGE
Lloh3:
	ldr	x23, [x23, _ERROR@GOTPAGEOFF]
Lloh4:
	adrp	x24, _ERRCODE_EXTERNAL_ROUTINE_EXCEPTION@GOTPAGE
Lloh5:
	ldr	x24, [x24, _ERRCODE_EXTERNAL_ROUTINE_EXCEPTION@GOTPAGEOFF]
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	w22, [x23]
	ldr	w0, [x24]
	bl	_errcode
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x22
	bl	_ereport
LBB0_2:
	mov	x0, x21
	bl	_save_item
	mov	x0, x21
	mov	x1, x20
	bl	_sv_setsv
Lloh8:
	adrp	x8, _sp@GOTPAGE
Lloh9:
	ldr	x8, [x8, _sp@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_PUSHMARK
Lloh11:
	adrp	x8, _G_SCALAR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _G_SCALAR@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _G_EVAL@GOTPAGE
Lloh15:
	ldr	x9, [x9, _G_EVAL@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w1, w9, w8
	bl	_perl_call_sv
	cmp	w0, #1
	b.eq	LBB0_4
; %bb.3:
	ldr	w19, [x23]
	ldr	w0, [x24]
	bl	_errcode
Lloh17:
	adrp	x0, l_.str.2@PAGE
Lloh18:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
	bl	_ereport
LBB0_4:
Lloh19:
	adrp	x20, _ERRSV@GOTPAGE
Lloh20:
	ldr	x20, [x20, _ERRSV@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_SvTRUE
	cbz	x0, LBB0_6
; %bb.5:
	ldr	w19, [x23]
	ldr	w0, [x24]
	bl	_errcode
	ldr	w0, [x20]
	bl	_sv2cstr
	bl	_strip_trailing_ws
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh21:
	adrp	x0, l_.str.3@PAGE
Lloh22:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
	bl	_ereport
LBB0_6:
Lloh23:
	adrp	x8, _POPs@GOTPAGE
Lloh24:
	ldr	x8, [x8, _POPs@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_newSVsv
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_dTHX,4,2                       ; @dTHX
	.comm	_dSP,4,2                        ; @dSP
	.comm	_ENTER,4,2                      ; @ENTER
	.comm	_SAVETMPS,4,2                   ; @SAVETMPS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"main::_TD"

	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_EXTERNAL_ROUTINE_EXCEPTION,4,2 ; @ERRCODE_EXTERNAL_ROUTINE_EXCEPTION
l_.str.1:                               ; @.str.1
	.asciz	"couldn't fetch $_TD"

	.comm	_sp,4,2                         ; @sp
	.comm	_PUTBACK,4,2                    ; @PUTBACK
	.comm	_G_SCALAR,4,2                   ; @G_SCALAR
	.comm	_G_EVAL,4,2                     ; @G_EVAL
	.comm	_SPAGAIN,4,2                    ; @SPAGAIN
	.comm	_FREETMPS,4,2                   ; @FREETMPS
	.comm	_LEAVE,4,2                      ; @LEAVE
l_.str.2:                               ; @.str.2
	.asciz	"didn't get a return item from trigger function"

	.comm	_ERRSV,4,2                      ; @ERRSV
	.comm	_POPs,4,2                       ; @POPs
l_.str.3:                               ; @.str.3
	.asciz	"%s"

	.no_dead_strip	_plperl_call_perl_event_trigger_func
.subsections_via_symbols
