	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_plperl_spi_freeplan            ## -- Begin function plperl_spi_freeplan
	.p2align	4, 0x90
_plperl_spi_freeplan:                   ## @plperl_spi_freeplan
	.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	%rdi, %r14
	xorl	%eax, %eax
	callq	_check_spi_usage_allowed
	movq	_plperl_active_interp@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movl	(%rax), %edi
	movq	_HASH_FIND@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	callq	_hash_search
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elog
LBB0_2:
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_4
## %bb.3:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_elog
LBB0_4:
	movl	4(%rbx), %r12d
	movq	(%r15), %rax
	movl	(%rax), %edi
	movq	_HASH_REMOVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	callq	_hash_search
	movl	(%rbx), %edi
	callq	_MemoryContextDelete
	movl	%r12d, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_SPI_freeplan                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_plperl_active_interp,8,3       ## @plperl_active_interp
	.comm	_HASH_FIND,4,2                  ## @HASH_FIND
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"spi_freeplan: Invalid prepared query passed"

L_.str.1:                               ## @.str.1
	.asciz	"spi_freeplan: plperl query_hash value vanished"

	.comm	_HASH_REMOVE,4,2                ## @HASH_REMOVE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_plperl_spi_freeplan            ; -- Begin function plperl_spi_freeplan
	.p2align	2
_plperl_spi_freeplan:                   ; @plperl_spi_freeplan
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x0
	bl	_check_spi_usage_allowed
Lloh0:
	adrp	x21, _plperl_active_interp@GOTPAGE
Lloh1:
	ldr	x21, [x21, _plperl_active_interp@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	w0, [x8]
Lloh2:
	adrp	x8, _HASH_FIND@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HASH_FIND@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x1, x19
	mov	x3, #0
	bl	_hash_search
	mov	x20, x0
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x22, [x20]
	cbz	x22, LBB0_4
LBB0_2:
	ldr	w20, [x22, #4]
	ldr	x8, [x21]
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _HASH_REMOVE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HASH_REMOVE@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x1, x19
	mov	x3, #0
	bl	_hash_search
	ldr	w0, [x22]
	bl	_MemoryContextDelete
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_SPI_freeplan
LBB0_3:
Lloh8:
	adrp	x8, _ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
	ldr	x22, [x20]
	cbnz	x22, LBB0_2
LBB0_4:
Lloh13:
	adrp	x8, _ERROR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_elog
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_plperl_active_interp,8,3       ; @plperl_active_interp
	.comm	_HASH_FIND,4,2                  ; @HASH_FIND
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"spi_freeplan: Invalid prepared query passed"

l_.str.1:                               ; @.str.1
	.asciz	"spi_freeplan: plperl query_hash value vanished"

	.comm	_HASH_REMOVE,4,2                ; @HASH_REMOVE
.subsections_via_symbols
