	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CheckAttributeNamesTypes       ## -- Begin function CheckAttributeNamesTypes
	.p2align	4, 0x90
_CheckAttributeNamesTypes:              ## @CheckAttributeNamesTypes
	.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
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movl	%esi, %ebx
	movq	%rdi, %r15
	movl	(%rdi), %r12d
	movq	_MaxHeapAttributeNumber@GOTPCREL(%rip), %r14
	testl	%r12d, %r12d
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	js	LBB0_2
## %bb.1:
	cmpl	(%r14), %r12d
	jle	LBB0_3
LBB0_2:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_ERRCODE_TOO_MANY_COLUMNS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	(%r14), %esi
	leaq	L_.str(%rip), %rdi
	callq	_errmsg
	movl	%r12d, %edi
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	movl	%eax, %esi
	callq	_ereport
LBB0_3:
	movq	_RELKIND_VIEW@GOTPCREL(%rip), %rax
	cmpb	%bl, (%rax)
	je	LBB0_10
## %bb.4:
	movq	_RELKIND_COMPOSITE_TYPE@GOTPCREL(%rip), %rax
	cmpb	%bl, (%rax)
	je	LBB0_10
## %bb.5:
	testl	%r12d, %r12d
	jle	LBB0_10
## %bb.6:
	xorl	%ebx, %ebx
	movq	_ERRCODE_DUPLICATE_COLUMN@GOTPCREL(%rip), %r14
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	incl	%ebx
	cmpl	%ebx, %r12d
	je	LBB0_10
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_TupleDescAttr
	movq	%rax, %r13
	movl	8(%rax), %edi
	callq	_NameStr
	movl	%eax, %edi
	callq	_SystemAttributeByName
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	(%r14), %edi
	callq	_errcode
	movl	8(%r13), %edi
	callq	_NameStr
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	callq	_errmsg
	movl	%r12d, %edi
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	movl	%eax, %esi
	callq	_ereport
	jmp	LBB0_9
LBB0_10:
	cmpl	$2, %r12d
	jl	LBB0_17
## %bb.11:
	movl	$1, %r13d
	leaq	L_.str.2(%rip), %r12
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_12 Depth=1
	incl	%r13d
	cmpl	-44(%rbp), %r13d                ## 4-byte Folded Reload
	je	LBB0_17
LBB0_12:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_13 Depth 2
	xorl	%ebx, %ebx
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_13 Depth=2
	incl	%ebx
	cmpl	%ebx, %r13d
	je	LBB0_16
LBB0_13:                                ##   Parent Loop BB0_12 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_TupleDescAttr
	movl	8(%rax), %edi
	callq	_NameStr
	movl	%eax, %r14d
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_TupleDescAttr
	movl	8(%rax), %edi
	callq	_NameStr
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=2
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_ERRCODE_DUPLICATE_COLUMN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_TupleDescAttr
	movl	8(%rax), %edi
	callq	_NameStr
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_errmsg
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_ereport
	jmp	LBB0_15
LBB0_17:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	movl	-48(%rbp), %r13d                ## 4-byte Reload
	jle	LBB0_20
## %bb.18:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_TupleDescAttr
	movl	8(%rax), %edi
	callq	_NameStr
	movl	%eax, %r14d
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_TupleDescAttr
	movl	4(%rax), %r12d
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_TupleDescAttr
	movl	(%rax), %edx
	movq	_NIL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r14d, %edi
	movl	%r12d, %esi
	movl	%r13d, %r8d
	callq	_CheckAttributeType
	incl	%ebx
	cmpl	%ebx, -44(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_19
LBB0_20:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MaxHeapAttributeNumber,4,2     ## @MaxHeapAttributeNumber
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_TOO_MANY_COLUMNS,4,2   ## @ERRCODE_TOO_MANY_COLUMNS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tables can have at most %d columns"

	.comm	_RELKIND_VIEW,1,0               ## @RELKIND_VIEW
	.comm	_RELKIND_COMPOSITE_TYPE,1,0     ## @RELKIND_COMPOSITE_TYPE
	.comm	_ERRCODE_DUPLICATE_COLUMN,4,2   ## @ERRCODE_DUPLICATE_COLUMN
L_.str.1:                               ## @.str.1
	.asciz	"column name \"%s\" conflicts with a system column name"

L_.str.2:                               ## @.str.2
	.asciz	"column name \"%s\" specified more than once"

	.comm	_NIL,4,2                        ## @NIL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CheckAttributeNamesTypes       ; -- Begin function CheckAttributeNamesTypes
	.p2align	2
_CheckAttributeNamesTypes:              ; @CheckAttributeNamesTypes
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x2
	mov	x20, x0
	and	w22, w1, #0xff
	ldr	w25, [x0]
Lloh0:
	adrp	x23, _MaxHeapAttributeNumber@GOTPAGE
Lloh1:
	ldr	x23, [x23, _MaxHeapAttributeNumber@GOTPAGEOFF]
Lloh2:
	adrp	x26, _ERROR@GOTPAGE
Lloh3:
	ldr	x26, [x26, _ERROR@GOTPAGEOFF]
	tbnz	w25, #31, LBB0_2
; %bb.1:
	ldr	w8, [x23]
	cmp	w25, w8
	b.le	LBB0_3
LBB0_2:
	ldr	w21, [x26]
Lloh4:
	adrp	x8, _ERRCODE_TOO_MANY_COLUMNS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ERRCODE_TOO_MANY_COLUMNS@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_errcode
	ldr	w1, [x23]
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x21
	bl	_ereport
LBB0_3:
Lloh9:
	adrp	x8, _RELKIND_VIEW@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RELKIND_VIEW@GOTPAGEOFF]
	ldrb	w8, [x8]
Lloh11:
	adrp	x9, _RELKIND_COMPOSITE_TYPE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _RELKIND_COMPOSITE_TYPE@GOTPAGEOFF]
	ldrb	w9, [x9]
	cmp	w8, w22
	ccmp	w9, w22, #4, ne
	ccmp	w25, #1, #8, ne
Lloh13:
	adrp	x27, _ERRCODE_DUPLICATE_COLUMN@GOTPAGE
Lloh14:
	ldr	x27, [x27, _ERRCODE_DUPLICATE_COLUMN@GOTPAGEOFF]
	b.ge	LBB0_15
LBB0_4:
	cmp	w25, #1
	b.le	LBB0_11
; %bb.5:
	mov	w21, #1
Lloh15:
	adrp	x22, l_.str.2@PAGE
Lloh16:
	add	x22, x22, l_.str.2@PAGEOFF
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	w21, w21, #1
	cmp	w21, w25
	b.eq	LBB0_11
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	mov	w23, #0
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=2
	add	w23, w23, #1
	cmp	w21, w23
	b.eq	LBB0_6
LBB0_9:                                 ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x20
	mov	x1, x23
	bl	_TupleDescAttr
	ldr	w0, [x0, #8]
	bl	_NameStr
	mov	x24, x0
	mov	x0, x20
	mov	x1, x21
	bl	_TupleDescAttr
	ldr	w0, [x0, #8]
	bl	_NameStr
	mov	x1, x0
	mov	x0, x24
	bl	_strcmp
	cbnz	x0, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	ldr	w24, [x26]
	ldr	w0, [x27]
	bl	_errcode
	mov	x0, x20
	mov	x1, x23
	bl	_TupleDescAttr
	ldr	w0, [x0, #8]
	bl	_NameStr
	mov	x1, x0
	mov	x0, x22
	bl	_errmsg
	mov	x1, x0
	mov	x0, x24
	bl	_ereport
	b	LBB0_8
LBB0_11:
	cmp	w25, #1
	b.lt	LBB0_14
; %bb.12:
	mov	w21, #0
Lloh17:
	adrp	x24, _NIL@GOTPAGE
Lloh18:
	ldr	x24, [x24, _NIL@GOTPAGEOFF]
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_TupleDescAttr
	ldr	w0, [x0, #8]
	bl	_NameStr
	mov	x22, x0
	mov	x0, x20
	mov	x1, x21
	bl	_TupleDescAttr
	ldr	w23, [x0, #4]
	mov	x0, x20
	mov	x1, x21
	bl	_TupleDescAttr
	ldr	w2, [x0]
	ldr	w3, [x24]
	mov	x0, x22
	mov	x1, x23
	mov	x4, x19
	bl	_CheckAttributeType
	add	w21, w21, #1
	cmp	w25, w21
	b.ne	LBB0_13
LBB0_14:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_15:
	mov	w21, #0
Lloh19:
	adrp	x22, l_.str.1@PAGE
Lloh20:
	add	x22, x22, l_.str.1@PAGEOFF
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	add	w21, w21, #1
	cmp	w25, w21
	b.eq	LBB0_4
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_TupleDescAttr
	mov	x23, x0
	ldr	w0, [x0, #8]
	bl	_NameStr
	bl	_SystemAttributeByName
	cbz	x0, LBB0_16
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	w24, [x26]
	ldr	w0, [x27]
	bl	_errcode
	ldr	w0, [x23, #8]
	bl	_NameStr
	mov	x1, x0
	mov	x0, x22
	bl	_errmsg
	mov	x1, x0
	mov	x0, x24
	bl	_ereport
	b	LBB0_16
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_MaxHeapAttributeNumber,4,2     ; @MaxHeapAttributeNumber
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_TOO_MANY_COLUMNS,4,2   ; @ERRCODE_TOO_MANY_COLUMNS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tables can have at most %d columns"

	.comm	_RELKIND_VIEW,1,0               ; @RELKIND_VIEW
	.comm	_RELKIND_COMPOSITE_TYPE,1,0     ; @RELKIND_COMPOSITE_TYPE
	.comm	_ERRCODE_DUPLICATE_COLUMN,4,2   ; @ERRCODE_DUPLICATE_COLUMN
l_.str.1:                               ; @.str.1
	.asciz	"column name \"%s\" conflicts with a system column name"

l_.str.2:                               ; @.str.2
	.asciz	"column name \"%s\" specified more than once"

	.comm	_NIL,4,2                        ; @NIL
.subsections_via_symbols
