	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function plpgsql_param_eval_generic
_plpgsql_param_eval_generic:            ## @plpgsql_param_eval_generic
	.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	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movslq	(%rsi), %rbx
	movq	(%rdx), %rax
	movq	(%rax), %r14
	xorl	%edi, %edi
	testq	%rbx, %rbx
	jle	LBB0_2
## %bb.1:
	cmpl	(%r14), %ebx
	setle	%dil
LBB0_2:
	callq	_Assert
	movq	8(%r14), %rax
	movq	-8(%rax,%rbx,8), %rsi
	movl	16(%r15), %r9d
	movl	20(%r15), %r8d
	leaq	-40(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	movq	%r14, %rdi
	callq	_exec_eval_datum
	movq	-40(%rbp), %rax
	xorl	%edi, %edi
	cmpq	8(%r15), %rax
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_ERRCODE_DATATYPE_MISMATCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	(%r15), %r12d
	movq	-40(%rbp), %rdi
	callq	_format_type_be
	movl	%eax, %ebx
	movq	8(%r15), %rdi
	callq	_format_type_be
	leaq	L_.str(%rip), %rdi
	movl	%r12d, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_errmsg
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_4:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_DATATYPE_MISMATCH,4,2  ## @ERRCODE_DATATYPE_MISMATCH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"type of parameter %d (%s) does not match that when preparing the plan (%s)"

	.no_dead_strip	_plpgsql_param_eval_generic
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function plpgsql_param_eval_generic
_plpgsql_param_eval_generic:            ; @plpgsql_param_eval_generic
	.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	x19, x1
	ldr	w8, [x1]
	ldr	x9, [x2]
	ldr	x20, [x9]
	subs	w21, w8, #1
	b.lt	LBB0_2
; %bb.1:
	ldr	w9, [x20]
	cmp	w8, w9
	cset	w0, le
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	bl	_Assert
	ldr	x8, [x20, #8]
	ldr	x1, [x8, w21, sxtw #3]
	ldp	w5, w4, [x19, #16]
	add	x2, sp, #8
	add	x3, sp, #4
	mov	x0, x20
	bl	_exec_eval_datum
	ldr	x8, [sp, #8]
	ldr	x9, [x19, #8]
	cmp	x8, x9
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_5
; %bb.4:
Lloh0:
	adrp	x8, _ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
Lloh3:
	adrp	x8, _ERRCODE_DATATYPE_MISMATCH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERRCODE_DATATYPE_MISMATCH@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_errcode
	ldr	w21, [x19]
	ldr	x0, [sp, #8]
	bl	_format_type_be
	mov	x22, x0
	ldr	x0, [x19, #8]
	bl	_format_type_be
	mov	x3, x0
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	mov	x2, x22
	bl	_errmsg
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
LBB0_5:
	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 AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_DATATYPE_MISMATCH,4,2  ; @ERRCODE_DATATYPE_MISMATCH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"type of parameter %d (%s) does not match that when preparing the plan (%s)"

	.no_dead_strip	_plpgsql_param_eval_generic
.subsections_via_symbols
