	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function plperl_call_perl_trigger_func
_plperl_call_perl_trigger_func:         ## @plperl_call_perl_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rdi, %r12
	movq	(%rsi), %rax
	movq	(%rax), %r14
	leaq	L_.str(%rip), %rdi
	xorl	%esi, %esi
	callq	_get_sv
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movq	%r12, %rbx
	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
	movq	%rbx, %r12
	movl	%eax, %esi
	callq	_ereport
LBB0_2:
	movq	%r13, %rdi
	callq	_save_item
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_sv_setsv
	movq	_sp@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_PUSHMARK
	movl	(%rbx), %edi
	movl	(%r14), %esi
	callq	_EXTEND
	cmpl	$0, (%r14)
	jle	LBB0_5
## %bb.3:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_cstr2sv
	movl	%eax, %edi
	callq	_sv_2mortal
	movl	%eax, %edi
	callq	_PUSHs
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_4
LBB0_5:
	movl	(%r12), %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_7
## %bb.6:
	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_7:
	movq	_ERRSV@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_SvTRUE
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	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_9:
	movq	_POPs@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	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_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_trigger_func
_plperl_call_perl_trigger_func:         ; @plperl_call_perl_trigger_func
	.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	x20, x2
	mov	x19, x0
	ldr	x8, [x1]
	ldr	x25, [x8]
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	x20, _sp@GOTPAGE
Lloh9:
	ldr	x20, [x20, _sp@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_PUSHMARK
	ldr	w0, [x20]
	ldr	w1, [x25]
	bl	_EXTEND
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x20, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25, #8]
	ldr	w0, [x8, x20, lsl #2]
	bl	_cstr2sv
	bl	_sv_2mortal
	bl	_PUSHs
	add	x20, x20, #1
	ldrsw	x8, [x25]
	cmp	x20, x8
	b.lt	LBB0_4
LBB0_5:
Lloh10:
	adrp	x8, _G_SCALAR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _G_SCALAR@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _G_EVAL@GOTPAGE
Lloh14:
	ldr	x9, [x9, _G_EVAL@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	orr	w1, w9, w8
	bl	_perl_call_sv
	cmp	w0, #1
	b.eq	LBB0_7
; %bb.6:
	ldr	w19, [x23]
	ldr	w0, [x24]
	bl	_errcode
Lloh16:
	adrp	x0, l_.str.2@PAGE
Lloh17:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
	bl	_ereport
LBB0_7:
Lloh18:
	adrp	x20, _ERRSV@GOTPAGE
Lloh19:
	ldr	x20, [x20, _ERRSV@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_SvTRUE
	cbz	x0, LBB0_9
; %bb.8:
	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]
Lloh20:
	adrp	x0, l_.str.3@PAGE
Lloh21:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
	bl	_ereport
LBB0_9:
Lloh22:
	adrp	x8, _POPs@GOTPAGE
Lloh23:
	ldr	x8, [x8, _POPs@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	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
	b	_newSVsv
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.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_trigger_func
.subsections_via_symbols
