	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CheckVarSlotCompatibility
_CheckVarSlotCompatibility:             ## @CheckVarSlotCompatibility
	.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
	testl	%esi, %esi
	jle	LBB0_6
## %bb.1:
	movq	%rdx, %r14
	movl	%esi, %ebx
	movq	(%rdi), %r15
	movl	(%r15), %ecx
	cmpl	%esi, %ecx
	jge	LBB0_3
## %bb.2:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_elog
LBB0_3:
	leal	-1(%rbx), %esi
	movq	%r15, %rdi
	callq	_TupleDescAttr
	movq	%rax, %r12
	cmpq	$0, 8(%rax)
	je	LBB0_5
## %bb.4:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_ERRCODE_UNDEFINED_COLUMN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movq	8(%r15), %rdi
	callq	_format_type_be
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_errmsg
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_5:
	cmpq	%r14, (%r12)
	jne	LBB0_7
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_ERRCODE_DATATYPE_MISMATCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movq	8(%r15), %rdi
	callq	_format_type_be
	leaq	L_.str.2(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_errmsg
	movq	(%r12), %rdi
	callq	_format_type_be
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_format_type_be
	leaq	L_.str.3(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_errdetail
	movl	%r13d, %edi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ereport                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"attribute number %d exceeds number of columns %d"

	.comm	_ERRCODE_UNDEFINED_COLUMN,4,2   ## @ERRCODE_UNDEFINED_COLUMN
L_.str.1:                               ## @.str.1
	.asciz	"attribute %d of type %s has been dropped"

	.comm	_ERRCODE_DATATYPE_MISMATCH,4,2  ## @ERRCODE_DATATYPE_MISMATCH
L_.str.2:                               ## @.str.2
	.asciz	"attribute %d of type %s has wrong type"

L_.str.3:                               ## @.str.3
	.asciz	"Table has type %s, but query expects %s."

	.no_dead_strip	_CheckVarSlotCompatibility
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CheckVarSlotCompatibility
_CheckVarSlotCompatibility:             ; @CheckVarSlotCompatibility
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	subs	w22, w1, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	ldr	x21, [x0]
	ldr	w3, [x21]
Lloh0:
	adrp	x24, _ERROR@GOTPAGE
Lloh1:
	ldr	x24, [x24, _ERROR@GOTPAGEOFF]
	cmp	w3, w1
	b.ge	LBB0_3
; %bb.2:
	ldr	w0, [x24]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_elog
LBB0_3:
	mov	x0, x21
	mov	x1, x22
	bl	_TupleDescAttr
	mov	x22, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	w23, [x24]
Lloh4:
	adrp	x8, _ERRCODE_UNDEFINED_COLUMN@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ERRCODE_UNDEFINED_COLUMN@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_errcode
	ldr	x0, [x21, #8]
	bl	_format_type_be
	mov	x2, x0
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_errmsg
	mov	x1, x0
	mov	x0, x23
	bl	_ereport
LBB0_5:
	ldr	x8, [x22]
	cmp	x8, x19
	b.ne	LBB0_7
LBB0_6:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_7:
	ldr	w23, [x24]
Lloh9:
	adrp	x8, _ERRCODE_DATATYPE_MISMATCH@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERRCODE_DATATYPE_MISMATCH@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_errcode
	ldr	x0, [x21, #8]
	bl	_format_type_be
	mov	x2, x0
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x20
	bl	_errmsg
	ldr	x0, [x22]
	bl	_format_type_be
	mov	x20, x0
	mov	x0, x19
	bl	_format_type_be
	mov	x2, x0
Lloh14:
	adrp	x0, l_.str.3@PAGE
Lloh15:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x20
	bl	_errdetail
	mov	x1, x0
	mov	x0, x23
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ereport
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"attribute number %d exceeds number of columns %d"

	.comm	_ERRCODE_UNDEFINED_COLUMN,4,2   ; @ERRCODE_UNDEFINED_COLUMN
l_.str.1:                               ; @.str.1
	.asciz	"attribute %d of type %s has been dropped"

	.comm	_ERRCODE_DATATYPE_MISMATCH,4,2  ; @ERRCODE_DATATYPE_MISMATCH
l_.str.2:                               ; @.str.2
	.asciz	"attribute %d of type %s has wrong type"

l_.str.3:                               ; @.str.3
	.asciz	"Table has type %s, but query expects %s."

	.no_dead_strip	_CheckVarSlotCompatibility
.subsections_via_symbols
