	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function plperl_call_perl_func
_plperl_call_perl_func:                 ## @plperl_call_perl_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	$0, -56(%rbp)
	movl	$0, -44(%rbp)
	movq	_SP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PUSHMARK
	movq	_sp@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	callq	_EXTEND
	movq	8(%r12), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	leaq	-56(%rbp), %rsi
	leaq	-44(%rbp), %rdx
	callq	_get_func_signature
	movl	-44(%rbp), %eax
	jmp	LBB0_3
LBB0_2:
	xorl	%eax, %eax
LBB0_3:
	xorl	%edi, %edi
	cmpl	(%r14), %eax
	sete	%dil
	callq	_Assert
	cmpl	$0, (%r14)
	jle	LBB0_17
## %bb.4:
	xorl	%r13d, %r13d
	movq	_PL_sv_undef@GOTPCREL(%rip), %rbx
	xorl	%r15d, %r15d
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_8 Depth=1
	movq	%rbx, %rdi
LBB0_6:                                 ##   in Loop: Header=BB0_8 Depth=1
	callq	_PUSHs
LBB0_7:                                 ##   in Loop: Header=BB0_8 Depth=1
	incq	%r15
	movslq	(%r14), %rax
	addq	$4, %r13
	cmpq	%rax, %r15
	jge	LBB0_17
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	cmpq	$0, 8(%rax,%r13,4)
	jne	LBB0_5
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	24(%r14), %rcx
	cmpq	$0, (%rcx,%r13,2)
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	(%rax,%r13,4), %edi
	callq	_plperl_hash_from_datum
	movq	%rax, %rdi
	callq	_sv_2mortal
	movq	%rax, %rdi
	jmp	LBB0_6
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	16(%r14), %rax
	movl	(%rax,%r13), %edi
	callq	_OidIsValid
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	(%r12), %rax
	movl	(%rax,%r13,4), %edi
	movq	16(%r14), %rax
	movl	(%rax,%r13), %esi
	callq	_plperl_ref_from_pg_array
	movq	%rax, %r12
	jmp	LBB0_16
LBB0_13:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	-56(%rbp), %rax
	movl	(%rax,%r13), %edi
	movq	_current_call_data@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movl	(%rax), %edx
	movl	4(%rax), %esi
	callq	_get_transform_fromsql
	testl	%eax, %eax
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	(%r12), %rcx
	movl	(%rcx,%r13,4), %esi
	movl	%eax, %edi
	callq	_OidFunctionCall1
	movl	%eax, %edi
	callq	_DatumGetPointer
	movq	%rax, %r12
	jmp	LBB0_16
LBB0_15:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	8(%r14), %rdi
	addq	%r13, %rdi
	movq	(%r12), %rax
	movl	(%rax,%r13,4), %esi
	callq	_OutputFunctionCall
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_cstr2sv
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_pfree
LBB0_16:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%r12, %rdi
	callq	_sv_2mortal
	movq	%rax, %rdi
	callq	_PUSHs
	movq	_PL_sv_undef@GOTPCREL(%rip), %rbx
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_7
LBB0_17:
	movl	4(%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_19
## %bb.18:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_EXTERNAL_ROUTINE_EXCEPTION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_19:
	movq	_ERRSV@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_SvTRUE
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:
	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.1(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_21:
	movq	_POPs@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_newSVsv
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dTHX,4,2                       ## @dTHX
	.comm	_dSP,4,2                        ## @dSP
	.comm	_ENTER,4,2                      ## @ENTER
	.comm	_SAVETMPS,4,2                   ## @SAVETMPS
	.comm	_SP,4,2                         ## @SP
	.comm	_sp,4,2                         ## @sp
	.comm	_PL_sv_undef,4,2                ## @PL_sv_undef
	.comm	_current_call_data,8,3          ## @current_call_data
	.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
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_EXTERNAL_ROUTINE_EXCEPTION,4,2 ## @ERRCODE_EXTERNAL_ROUTINE_EXCEPTION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"didn't get a return item from function"

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

	.no_dead_strip	_plperl_call_perl_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_func
_plperl_call_perl_func:                 ; @plperl_call_perl_func
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	mov	x19, x0
	str	xzr, [sp, #24]
	str	wzr, [sp, #20]
Lloh0:
	adrp	x8, _SP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SP@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_PUSHMARK
Lloh3:
	adrp	x8, _sp@GOTPAGE
Lloh4:
	ldr	x8, [x8, _sp@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_EXTEND
	ldr	x8, [x20, #8]
	ldr	x0, [x8]
	cbz	x0, LBB0_2
; %bb.1:
	add	x1, sp, #24
	add	x2, sp, #20
	bl	_get_func_signature
	ldr	w8, [sp, #20]
	b	LBB0_3
LBB0_2:
	mov	w8, #0
LBB0_3:
	ldr	w9, [x19]
	cmp	w8, w9
	cset	w0, eq
	bl	_Assert
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_17
; %bb.4:
	mov	x24, #0
	mov	x25, #0
	mov	w26, #1
Lloh6:
	adrp	x27, _current_call_data@GOTPAGE
Lloh7:
	ldr	x27, [x27, _current_call_data@GOTPAGEOFF]
Lloh8:
	adrp	x21, _PL_sv_undef@GOTPAGE
Lloh9:
	ldr	x21, [x21, _PL_sv_undef@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x21
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	bl	_PUSHs
	add	x25, x25, #1
	ldrsw	x8, [x19]
	add	x24, x24, #4
	add	x26, x26, #2
	cmp	x25, x8
	b.ge	LBB0_17
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	ldr	x9, [x8, x26, lsl #3]
	cbnz	x9, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x9, [x19, #24]
	ldr	x9, [x9, x25, lsl #3]
	cbz	x9, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x8, x24, lsl #2]
	bl	_plperl_hash_from_datum
	b	LBB0_16
LBB0_10:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x19, #16]
	ldr	w0, [x8, x24]
	bl	_OidIsValid
	cbz	x0, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x20]
	ldr	w0, [x8, x24, lsl #2]
	ldr	x8, [x19, #16]
	ldr	w1, [x8, x24]
	bl	_plperl_ref_from_pg_array
	mov	x22, x0
	b	LBB0_15
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [sp, #24]
	ldr	w0, [x8, x24]
	ldr	x8, [x27]
	ldr	x8, [x8]
	ldp	w2, w1, [x8]
	bl	_get_transform_fromsql
	cbz	w0, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x20]
	ldr	w1, [x8, x24, lsl #2]
	bl	_OidFunctionCall1
	bl	_DatumGetPointer
	mov	x22, x0
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x19, #8]
	add	x0, x8, x24
	ldr	x8, [x20]
	ldr	w1, [x8, x24, lsl #2]
	bl	_OutputFunctionCall
	mov	x23, x0
	bl	_cstr2sv
	mov	x22, x0
	mov	x0, x23
	bl	_pfree
LBB0_15:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x22
LBB0_16:                                ;   in Loop: Header=BB0_7 Depth=1
	bl	_sv_2mortal
	b	LBB0_6
LBB0_17:
Lloh10:
	adrp	x8, _G_SCALAR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _G_SCALAR@GOTPAGEOFF]
	ldr	w0, [x19, #4]
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
Lloh16:
	adrp	x20, _ERROR@GOTPAGE
Lloh17:
	ldr	x20, [x20, _ERROR@GOTPAGEOFF]
Lloh18:
	adrp	x21, _ERRCODE_EXTERNAL_ROUTINE_EXCEPTION@GOTPAGE
Lloh19:
	ldr	x21, [x21, _ERRCODE_EXTERNAL_ROUTINE_EXCEPTION@GOTPAGEOFF]
	cmp	w0, #1
	b.eq	LBB0_19
; %bb.18:
	ldr	w19, [x20]
	ldr	w0, [x21]
	bl	_errcode
Lloh20:
	adrp	x0, l_.str@PAGE
Lloh21:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
	bl	_ereport
LBB0_19:
Lloh22:
	adrp	x22, _ERRSV@GOTPAGE
Lloh23:
	ldr	x22, [x22, _ERRSV@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_SvTRUE
	cbz	x0, LBB0_21
; %bb.20:
	ldr	w19, [x20]
	ldr	w0, [x21]
	bl	_errcode
	ldr	w0, [x22]
	bl	_sv2cstr
	bl	_strip_trailing_ws
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh24:
	adrp	x0, l_.str.1@PAGE
Lloh25:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
	bl	_ereport
LBB0_21:
Lloh26:
	adrp	x8, _POPs@GOTPAGE
Lloh27:
	ldr	x8, [x8, _POPs@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	bl	_newSVsv
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_dTHX,4,2                       ; @dTHX
	.comm	_dSP,4,2                        ; @dSP
	.comm	_ENTER,4,2                      ; @ENTER
	.comm	_SAVETMPS,4,2                   ; @SAVETMPS
	.comm	_SP,4,2                         ; @SP
	.comm	_sp,4,2                         ; @sp
	.comm	_PL_sv_undef,4,2                ; @PL_sv_undef
	.comm	_current_call_data,8,3          ; @current_call_data
	.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
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_EXTERNAL_ROUTINE_EXCEPTION,4,2 ; @ERRCODE_EXTERNAL_ROUTINE_EXCEPTION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"didn't get a return item from function"

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

	.no_dead_strip	_plperl_call_perl_func
.subsections_via_symbols
