	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function resolve_column_ref
_resolve_column_ref:                    ## @resolve_column_ref
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movq	%rdx, %r13
	movq	%rdi, %rbx
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	8(%rsi), %rax
	movq	(%rax), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	4(%rdx), %edi
	callq	_list_length
	xorl	%r15d, %r15d
	cmpl	$3, %eax
	je	LBB0_7
## %bb.1:
	cmpl	$2, %eax
	je	LBB0_4
## %bb.2:
	cmpl	$1, %eax
	jne	LBB0_31
## %bb.3:
	movl	%r14d, -48(%rbp)                ## 4-byte Spill
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movl	4(%r13), %edi
	callq	_linitial
	movq	%rax, %rbx
	movq	_String@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_IsA
	movl	%eax, %edi
	callq	_Assert
	movq	%rbx, %rdi
	callq	_strVal
	movq	%rax, %r14
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	movl	$1, %ebx
	xorl	%r12d, %r12d
	xorl	%r8d, %r8d
	xorl	%ecx, %ecx
	jmp	LBB0_11
LBB0_7:
	movl	%r14d, -48(%rbp)                ## 4-byte Spill
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movl	4(%r13), %edi
	callq	_linitial
	movq	%rax, %rbx
	movl	4(%r13), %edi
	callq	_lsecond
	movq	%rax, %r12
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	movl	4(%r13), %edi
	callq	_lthird
	movq	%rax, %r14
	movq	_String@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_IsA
	movl	%eax, %edi
	callq	_Assert
	movq	%rbx, %rdi
	movq	%r14, %rbx
	callq	_strVal
	movq	%rax, %r14
	movl	(%r13), %esi
	movq	%r12, %rdi
	callq	_IsA
	movl	%eax, %edi
	callq	_Assert
	movq	%r12, %rdi
	callq	_strVal
	movq	%rax, %r12
	movq	_A_Star@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_IsA
	testl	%eax, %eax
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_9
## %bb.8:
	leaq	L_.str(%rip), %r8
	movl	$2, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%ebx, %ebx
	movq	%r12, %rcx
	xorl	%r12d, %r12d
	jmp	LBB0_10
LBB0_4:
	movl	%r14d, -48(%rbp)                ## 4-byte Spill
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movl	4(%r13), %edi
	callq	_linitial
	movq	%rax, %rbx
	movl	4(%r13), %edi
	callq	_lsecond
	movq	%rax, %r15
	movq	_String@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_IsA
	movl	%eax, %edi
	callq	_Assert
	movq	%rbx, %rdi
	callq	_strVal
	movq	%rax, %r14
	movq	_A_Star@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_IsA
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%r15d, %r15d
	leaq	L_.str(%rip), %rcx
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	xorl	%r8d, %r8d
	movq	%rcx, %rax
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_11
LBB0_9:
	movq	_String@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_IsA
	movl	%eax, %edi
	callq	_Assert
	movq	%rbx, %rdi
	callq	_strVal
	movq	%rax, %rdx
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movl	$2, %r15d
	xorl	%ebx, %ebx
	movq	%rax, %r8
	movq	%r12, %rcx
	movq	%rax, %r12
LBB0_10:
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_11
LBB0_6:
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_IsA
	movl	%eax, %edi
	callq	_Assert
	movq	%r15, %rdi
	callq	_strVal
	movq	%rax, %r12
	movl	$2, -44(%rbp)                   ## 4-byte Folded Spill
	movl	$1, %r15d
	xorl	%r8d, %r8d
	movq	%r14, %rax
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movl	$2, %ebx
	movq	%r12, %rcx
LBB0_11:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	leaq	-52(%rbp), %r9
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_plpgsql_ns_lookup
	testq	%rax, %rax
	je	LBB0_30
## %bb.12:
	movq	%rax, %r14
	movl	(%rax), %edx
	cmpl	$129, %edx
	je	LBB0_16
## %bb.13:
	cmpl	$128, %edx
	jne	LBB0_29
## %bb.14:
	cmpl	%ebx, -52(%rbp)
	je	LBB0_15
	jmp	LBB0_30
LBB0_16:
	movl	-52(%rbp), %eax
	cmpl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	jne	LBB0_17
LBB0_15:
	movl	4(%r14), %esi
	movl	(%r13), %edx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
LBB0_28:
	callq	_make_datum_param
	movq	%rax, %r15
	jmp	LBB0_31
LBB0_29:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_elog
LBB0_30:
	xorl	%r15d, %r15d
LBB0_31:
	movq	%r15, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	cmpl	%r15d, %eax
	jne	LBB0_30
## %bb.18:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movslq	4(%r14), %rcx
	movq	(%rax,%rcx,8), %rcx
	movl	(%rcx), %ebx
	testl	%ebx, %ebx
	js	LBB0_19
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %ecx
	movq	(%rax,%rcx,8), %r15
	movl	16(%r15), %eax
	movq	_PLPGSQL_DTYPE_RECFIELD@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_24
## %bb.25:                              ##   in Loop: Header=BB0_23 Depth=1
	movslq	4(%r14), %rax
	cmpq	%rax, (%r15)
	sete	%al
	jmp	LBB0_26
LBB0_24:                                ##   in Loop: Header=BB0_23 Depth=1
	xorl	%eax, %eax
LBB0_26:                                ##   in Loop: Header=BB0_23 Depth=1
	movzbl	%al, %edi
	callq	_Assert
	movl	12(%r15), %edi
	movq	%r12, %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_27
## %bb.21:                              ##   in Loop: Header=BB0_23 Depth=1
	movl	8(%r15), %ebx
	testl	%ebx, %ebx
	js	LBB0_19
## %bb.22:                              ##   in Loop: Header=BB0_23 Depth=1
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	jmp	LBB0_23
LBB0_19:
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_30
## %bb.20:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_UNDEFINED_COLUMN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.1(%rip), %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	callq	_errmsg
	movl	(%r13), %esi
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_parser_errposition
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
	jmp	LBB0_30
LBB0_27:
	movl	(%r13), %edx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	jmp	LBB0_28
	.cfi_endproc
                                        ## -- End function
	.comm	_String,4,2                     ## @String
	.comm	_A_Star,4,2                     ## @A_Star
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"*"

	.comm	_PLPGSQL_DTYPE_RECFIELD,4,2     ## @PLPGSQL_DTYPE_RECFIELD
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_UNDEFINED_COLUMN,4,2   ## @ERRCODE_UNDEFINED_COLUMN
L_.str.1:                               ## @.str.1
	.asciz	"record \"%s\" has no field \"%s\""

L_.str.2:                               ## @.str.2
	.asciz	"unrecognized plpgsql itemtype: %d"

	.no_dead_strip	_resolve_column_ref
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function resolve_column_ref
_resolve_column_ref:                    ; @resolve_column_ref
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x22, x3
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x8, [x1, #8]
	ldr	x27, [x8]
	ldr	w0, [x2, #4]
	bl	_list_length
	cmp	w0, #3
	b.eq	LBB0_4
; %bb.1:
	cmp	w0, #2
	b.eq	LBB0_6
; %bb.2:
	cmp	w0, #1
	b.ne	LBB0_18
; %bb.3:
	str	x21, [sp]                       ; 8-byte Folded Spill
	ldr	w0, [x19, #4]
	bl	_linitial
	mov	x23, x0
Lloh0:
	adrp	x8, _String@GOTPAGE
Lloh1:
	ldr	x8, [x8, _String@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_IsA
	bl	_Assert
	mov	x0, x23
	bl	_strVal
	mov	x25, x0
	mov	x23, #0
	mov	w26, #0
	mov	x24, #0
	mov	x4, #0
	mov	x3, #0
	mov	w28, #1
	mov	w21, #1
	b	LBB0_11
LBB0_4:
	str	x21, [sp]                       ; 8-byte Folded Spill
	ldr	w0, [x19, #4]
	bl	_linitial
	mov	x23, x0
	ldr	w0, [x19, #4]
	bl	_lsecond
	mov	x26, x0
	ldr	w0, [x19, #4]
	bl	_lthird
	mov	x24, x0
Lloh3:
	adrp	x21, _String@GOTPAGE
Lloh4:
	ldr	x21, [x21, _String@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x23
	bl	_IsA
	bl	_Assert
	mov	x0, x23
	bl	_strVal
	mov	x25, x0
	ldr	w1, [x21]
	mov	x0, x26
	bl	_IsA
	bl	_Assert
	mov	x0, x26
	bl	_strVal
	mov	x23, x0
Lloh5:
	adrp	x8, _A_Star@GOTPAGE
Lloh6:
	ldr	x8, [x8, _A_Star@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x24
	bl	_IsA
	cbz	w0, LBB0_8
; %bb.5:
	mov	w26, #0
	mov	w21, #0
	mov	x24, #0
	mov	w28, #2
	mov	x3, x23
Lloh8:
	adrp	x4, l_.str@PAGE
Lloh9:
	add	x4, x4, l_.str@PAGEOFF
	b	LBB0_11
LBB0_6:
	str	x21, [sp]                       ; 8-byte Folded Spill
	ldr	w0, [x19, #4]
	bl	_linitial
	mov	x24, x0
	ldr	w0, [x19, #4]
	bl	_lsecond
	mov	x23, x0
Lloh10:
	adrp	x21, _String@GOTPAGE
Lloh11:
	ldr	x21, [x21, _String@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x24
	bl	_IsA
	bl	_Assert
	mov	x0, x24
	bl	_strVal
	mov	x25, x0
Lloh12:
	adrp	x8, _A_Star@GOTPAGE
Lloh13:
	ldr	x8, [x8, _A_Star@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_IsA
	cbz	w0, LBB0_10
; %bb.7:
	mov	w26, #0
	mov	w21, #0
	mov	x24, #0
	mov	x4, #0
	mov	w28, #1
Lloh15:
	adrp	x23, l_.str@PAGE
Lloh16:
	add	x23, x23, l_.str@PAGEOFF
	b	LBB0_9
LBB0_8:
	ldr	w1, [x21]
	mov	x0, x24
	bl	_IsA
	bl	_Assert
	mov	x0, x24
	bl	_strVal
	mov	x24, x0
	mov	w28, #0
	mov	w21, #0
	mov	w26, #2
	mov	x4, x0
LBB0_9:
	mov	x3, x23
	b	LBB0_11
LBB0_10:
	ldr	w1, [x21]
	mov	x0, x23
	bl	_IsA
	bl	_Assert
	mov	x0, x23
	bl	_strVal
	mov	x24, x0
	mov	x4, #0
	mov	w28, #2
	mov	w26, #1
	mov	x23, x25
	mov	w21, #2
	mov	x3, x0
LBB0_11:
	ldr	w0, [x20]
	add	x5, sp, #12
	mov	w1, #0
	mov	x2, x25
	bl	_plpgsql_ns_lookup
	cbz	x0, LBB0_19
; %bb.12:
	mov	x25, x0
	ldr	w2, [x0]
	cmp	w2, #129
	b.eq	LBB0_15
; %bb.13:
	cmp	w2, #128
	b.ne	LBB0_17
; %bb.14:
	ldr	w8, [sp, #12]
	cmp	w8, w21
	b.eq	LBB0_16
	b	LBB0_18
LBB0_15:
	ldr	w8, [sp, #12]
	cmp	w8, w28
	b.ne	LBB0_20
LBB0_16:
	ldr	w1, [x25, #4]
	ldr	w2, [x19]
	mov	x0, x20
	bl	_make_datum_param
	b	LBB0_19
LBB0_17:
Lloh17:
	adrp	x8, _ERROR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
Lloh20:
	adrp	x1, l_.str.2@PAGE
Lloh21:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_elog
LBB0_18:
	mov	x0, #0
LBB0_19:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_20:
	cmp	w8, w26
	b.ne	LBB0_18
; %bb.21:
	ldr	x8, [x27]
	ldrsw	x9, [x25, #4]
	ldr	x9, [x8, x9, lsl #3]
	ldr	w26, [x9]
	tbnz	w26, #31, LBB0_29
; %bb.22:
Lloh22:
	adrp	x21, _PLPGSQL_DTYPE_RECFIELD@GOTPAGE
Lloh23:
	ldr	x21, [x21, _PLPGSQL_DTYPE_RECFIELD@GOTPAGEOFF]
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	ldr	x28, [x8, w26, uxtw #3]
	ldr	w8, [x28, #16]
	ldr	w9, [x21]
	cmp	w8, w9
	b.ne	LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=1
	ldr	x8, [x28]
	ldrsw	x9, [x25, #4]
	cmp	x8, x9
	cset	w0, eq
	b	LBB0_26
LBB0_25:                                ;   in Loop: Header=BB0_23 Depth=1
	mov	w0, #0
LBB0_26:                                ;   in Loop: Header=BB0_23 Depth=1
	bl	_Assert
	ldr	w0, [x28, #12]
	mov	x1, x24
	bl	_strcmp
	cbz	w0, LBB0_31
; %bb.27:                               ;   in Loop: Header=BB0_23 Depth=1
	ldr	w26, [x28, #8]
	tbnz	w26, #31, LBB0_29
; %bb.28:                               ;   in Loop: Header=BB0_23 Depth=1
	ldr	x8, [x27]
	b	LBB0_23
LBB0_29:
	cbz	w22, LBB0_18
; %bb.30:
Lloh24:
	adrp	x8, _ERROR@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh26:
	ldr	w20, [x8]
Lloh27:
	adrp	x8, _ERRCODE_UNDEFINED_COLUMN@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ERRCODE_UNDEFINED_COLUMN@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	bl	_errcode
Lloh30:
	adrp	x0, l_.str.1@PAGE
Lloh31:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x23
	mov	x2, x24
	bl	_errmsg
	ldr	w1, [x19]
	ldr	x0, [sp]                        ; 8-byte Folded Reload
	bl	_parser_errposition
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
	b	LBB0_18
LBB0_31:
	ldr	w2, [x19]
	mov	x0, x20
	mov	x1, x26
	bl	_make_datum_param
	b	LBB0_19
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_String,4,2                     ; @String
	.comm	_A_Star,4,2                     ; @A_Star
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"*"

	.comm	_PLPGSQL_DTYPE_RECFIELD,4,2     ; @PLPGSQL_DTYPE_RECFIELD
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_UNDEFINED_COLUMN,4,2   ; @ERRCODE_UNDEFINED_COLUMN
l_.str.1:                               ; @.str.1
	.asciz	"record \"%s\" has no field \"%s\""

l_.str.2:                               ; @.str.2
	.asciz	"unrecognized plpgsql itemtype: %d"

	.no_dead_strip	_resolve_column_ref
.subsections_via_symbols
