	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function plpgsql_param_eval_recfield
_plpgsql_param_eval_recfield:           ## @plpgsql_param_eval_recfield
	.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	%rsi, %r14
	movslq	(%rsi), %rbx
	movq	(%rdx), %rax
	movq	(%rax), %r12
	xorl	%edi, %edi
	testq	%rbx, %rbx
	jle	LBB0_2
## %bb.1:
	cmpl	(%r12), %ebx
	setle	%dil
LBB0_2:
	callq	_Assert
	movq	8(%r12), %rax
	movq	-8(%rax,%rbx,8), %r13
	movq	(%r13), %rax
	movq	_PLPGSQL_DTYPE_RECFIELD@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_Assert
	movq	8(%r12), %rax
	movq	8(%r13), %rcx
	movq	(%rax,%rcx,8), %r15
	movq	8(%r15), %rbx
	testq	%rbx, %rbx
	jne	LBB0_4
## %bb.3:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_instantiate_empty_record_variable
	movq	8(%r15), %rbx
LBB0_4:
	movq	16(%r13), %rax
	xorl	%edi, %edi
	cmpq	(%rbx), %rax
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movl	40(%r13), %esi
	leaq	24(%r13), %rdx
	movq	%rbx, %rdi
	callq	_expanded_record_lookup_field
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_ERRCODE_UNDEFINED_COLUMN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	(%r15), %esi
	movl	40(%r13), %edx
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_7:
	movq	(%rbx), %rax
	movq	%rax, 16(%r13)
LBB0_8:
	movl	32(%r13), %esi
	movl	16(%r14), %edx
	movq	%rbx, %rdi
	callq	_expanded_record_get_field
	movq	24(%r14), %rcx
	movl	%eax, (%rcx)
	movq	24(%r13), %rax
	xorl	%edi, %edi
	cmpq	8(%r14), %rax
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_ERRCODE_DATATYPE_MISMATCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	(%r14), %r12d
	movq	24(%r13), %rdi
	callq	_format_type_be
	movl	%eax, %ebx
	movq	8(%r14), %rdi
	callq	_format_type_be
	leaq	L_.str.1(%rip), %rdi
	movl	%r12d, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_errmsg
	movl	%r15d, %edi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ereport                        ## TAILCALL
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PLPGSQL_DTYPE_RECFIELD,8,3     ## @PLPGSQL_DTYPE_RECFIELD
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_UNDEFINED_COLUMN,4,2   ## @ERRCODE_UNDEFINED_COLUMN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"record \"%s\" has no field \"%s\""

	.comm	_ERRCODE_DATATYPE_MISMATCH,4,2  ## @ERRCODE_DATATYPE_MISMATCH
L_.str.1:                               ## @.str.1
	.asciz	"type of parameter %d (%s) does not match that when preparing the plan (%s)"

	.no_dead_strip	_plpgsql_param_eval_recfield
.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_recfield
_plpgsql_param_eval_recfield:           ; @plpgsql_param_eval_recfield
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x1
	ldr	w8, [x1]
	ldr	x9, [x2]
	ldr	x22, [x9]
	subs	w20, w8, #1
	b.lt	LBB0_2
; %bb.1:
	ldr	w9, [x22]
	cmp	w8, w9
	cset	w0, le
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	bl	_Assert
	ldr	x8, [x22, #8]
	ldr	x23, [x8, w20, sxtw #3]
	ldr	x8, [x23]
Lloh0:
	adrp	x9, _PLPGSQL_DTYPE_RECFIELD@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PLPGSQL_DTYPE_RECFIELD@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_Assert
	ldr	x8, [x22, #8]
	ldr	x9, [x23, #8]
	ldr	x21, [x8, x9, lsl #3]
	ldr	x20, [x21, #8]
	cbnz	x20, LBB0_5
; %bb.4:
	mov	x0, x22
	mov	x1, x21
	bl	_instantiate_empty_record_variable
	ldr	x20, [x21, #8]
LBB0_5:
	ldr	x8, [x23, #16]
	ldr	x9, [x20]
	cmp	x8, x9
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_9
; %bb.6:
	ldr	w1, [x23, #40]
	add	x2, x23, #24
	mov	x0, x20
	bl	_expanded_record_lookup_field
	cbnz	w0, LBB0_8
; %bb.7:
Lloh3:
	adrp	x8, _ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
Lloh6:
	adrp	x8, _ERRCODE_UNDEFINED_COLUMN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERRCODE_UNDEFINED_COLUMN@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_errcode
	ldr	w1, [x21]
	ldr	w2, [x23, #40]
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x22
	bl	_ereport
LBB0_8:
	ldr	x8, [x20]
	str	x8, [x23, #16]
LBB0_9:
	ldr	w1, [x23, #32]
	ldr	w2, [x19, #16]
	mov	x0, x20
	bl	_expanded_record_get_field
	ldr	x8, [x19, #24]
	str	w0, [x8]
	ldr	x8, [x23, #24]
	ldr	x9, [x19, #8]
	cmp	x8, x9
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_11
; %bb.10:
Lloh11:
	adrp	x8, _ERROR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh13:
	ldr	w20, [x8]
Lloh14:
	adrp	x8, _ERRCODE_DATATYPE_MISMATCH@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ERRCODE_DATATYPE_MISMATCH@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_errcode
	ldr	w21, [x19]
	ldr	x0, [x23, #24]
	bl	_format_type_be
	mov	x22, x0
	ldr	x0, [x19, #8]
	bl	_format_type_be
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh17:
	adrp	x0, l_.str.1@PAGE
Lloh18:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x21
	mov	x2, x22
	bl	_errmsg
	mov	x1, x0
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_ereport
LBB0_11:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_PLPGSQL_DTYPE_RECFIELD,8,3     ; @PLPGSQL_DTYPE_RECFIELD
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_UNDEFINED_COLUMN,4,2   ; @ERRCODE_UNDEFINED_COLUMN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"record \"%s\" has no field \"%s\""

	.comm	_ERRCODE_DATATYPE_MISMATCH,4,2  ; @ERRCODE_DATATYPE_MISMATCH
l_.str.1:                               ; @.str.1
	.asciz	"type of parameter %d (%s) does not match that when preparing the plan (%s)"

	.no_dead_strip	_plpgsql_param_eval_recfield
.subsections_via_symbols
