	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_plperl_sv_to_literal           ## -- Begin function plperl_sv_to_literal
	.p2align	4, 0x90
_plperl_sv_to_literal:                  ## @plperl_sv_to_literal
	.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	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_CStringGetDatum
	movq	_regtypein@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	%eax, %esi
	callq	_DirectFunctionCall1
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_OidIsValid
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_UNDEFINED_OBJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rsi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_2:
	movq	_InvalidOid@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	-36(%rbp), %rax
	movq	%rax, (%rsp)
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	$-1, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_plperl_sv_to_datum
	cmpl	$0, -36(%rbp)
	jne	LBB0_4
## %bb.3:
	movl	%eax, %r14d
	leaq	-40(%rbp), %rsi
	leaq	-44(%rbp), %rdx
	movl	%r12d, %edi
	callq	_getTypeOutputInfo
	movl	-40(%rbp), %edi
	movl	%r14d, %esi
	callq	_OidOutputFunctionCall
	movq	%rax, %rbx
LBB0_4:
	movq	%rbx, %rax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_regtypein,4,2                  ## @regtypein
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_UNDEFINED_OBJECT,4,2   ## @ERRCODE_UNDEFINED_OBJECT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"lookup failed for type %s"

	.comm	_InvalidOid,4,2                 ## @InvalidOid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_plperl_sv_to_literal           ; -- Begin function plperl_sv_to_literal
	.p2align	2
_plperl_sv_to_literal:                  ; @plperl_sv_to_literal
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x1
	mov	x20, x0
	mov	x0, x1
	bl	_CStringGetDatum
	mov	x1, x0
Lloh0:
	adrp	x8, _regtypein@GOTPAGE
Lloh1:
	ldr	x8, [x8, _regtypein@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_DirectFunctionCall1
	mov	x19, x0
	bl	_OidIsValid
	cbnz	w0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
Lloh6:
	adrp	x8, _ERRCODE_UNDEFINED_OBJECT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERRCODE_UNDEFINED_OBJECT@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_errcode
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_errmsg
	mov	x1, x0
	mov	x0, x22
	bl	_ereport
LBB0_2:
Lloh11:
	adrp	x8, _InvalidOid@GOTPAGE
Lloh12:
	ldr	x8, [x8, _InvalidOid@GOTPAGEOFF]
Lloh13:
	ldr	w5, [x8]
	add	x6, sp, #4
	mov	x0, x20
	mov	x1, x19
	mov	w2, #-1
	mov	x3, #0
	mov	x4, #0
	bl	_plperl_sv_to_datum
	mov	x20, x0
	mov	x0, #0
	ldr	w8, [sp, #4]
	cbnz	w8, LBB0_4
; %bb.3:
	add	x1, sp, #12
	add	x2, sp, #8
	mov	x0, x19
	bl	_getTypeOutputInfo
	ldr	w0, [sp, #12]
	mov	x1, x20
	bl	_OidOutputFunctionCall
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_regtypein,4,2                  ; @regtypein
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_UNDEFINED_OBJECT,4,2   ; @ERRCODE_UNDEFINED_OBJECT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"lookup failed for type %s"

	.comm	_InvalidOid,4,2                 ; @InvalidOid
.subsections_via_symbols
