	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CheckAttributeType             ## -- Begin function CheckAttributeType
	.p2align	4, 0x90
_CheckAttributeType:                    ## @CheckAttributeType
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r15d
	movq	%rcx, %r13
	movq	%rdx, %rbx
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_get_typtype
	movq	_TYPTYPE_PSEUDO@GOTPCREL(%rip), %rcx
	cmpb	(%rcx), %al
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	jne	LBB0_8
## %bb.1:
	movq	_ANYARRAYOID@GOTPCREL(%rip), %rax
	cmpq	%r12, (%rax)
	jne	LBB0_3
## %bb.2:
	movq	_CHKATYPE_ANYARRAY@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	jne	LBB0_22
LBB0_3:
	movq	_RECORDOID@GOTPCREL(%rip), %rax
	cmpq	%r12, (%rax)
	jne	LBB0_5
## %bb.4:
	movq	_CHKATYPE_ANYRECORD@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	jne	LBB0_22
LBB0_5:
	movq	_RECORDARRAYOID@GOTPCREL(%rip), %rax
	cmpq	%r12, (%rax)
	jne	LBB0_7
## %bb.6:
	movq	_CHKATYPE_ANYRECORD@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	jne	LBB0_22
LBB0_7:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_INVALID_TABLE_DEFINITION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movq	%r12, %rdi
	callq	_format_type_be
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
	jmp	LBB0_22
LBB0_8:
	movq	_TYPTYPE_DOMAIN@GOTPCREL(%rip), %rcx
	cmpb	(%rcx), %al
	jne	LBB0_10
## %bb.9:
	movq	%r12, %rdi
	callq	_getBaseType
	movq	%r14, %rdi
	movq	%rax, %rsi
	movq	%rbx, %rdx
	jmp	LBB0_21
LBB0_10:
	movq	_TYPTYPE_COMPOSITE@GOTPCREL(%rip), %rcx
	cmpb	(%rcx), %al
	jne	LBB0_19
## %bb.11:
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_list_member_oid
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_ERRCODE_INVALID_TABLE_DEFINITION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movq	%r12, %rdi
	callq	_format_type_be
	movslq	%eax, %rsi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_13:
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_lappend_oid
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_get_typ_typrelid
	movq	_AccessShareLock@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_relation_open
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%eax, %edi
	callq	_RelationGetDescr
	cmpl	$0, (%rax)
	jle	LBB0_18
## %bb.14:
	movq	%rax, %r14
	movl	%r15d, %ebx
	xorl	%r15d, %r15d
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_15 Depth=1
	incl	%r15d
	cmpl	(%r14), %r15d
	jge	LBB0_18
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_TupleDescAttr
	cmpq	$0, 24(%rax)
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	%rax, %r13
	movl	16(%rax), %edi
	callq	_NameStr
	movq	(%r13), %rsi
	movq	8(%r13), %rdx
	movq	%rax, %rdi
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%ebx, %r8d
	callq	_CheckAttributeType
	jmp	LBB0_17
LBB0_19:
	movq	%r12, %rdi
	callq	_get_element_type
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_OidIsValid
	testq	%rax, %rax
	je	LBB0_22
## %bb.20:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
LBB0_21:
	movq	%r13, %rcx
	movl	%r15d, %r8d
	callq	_CheckAttributeType
	jmp	LBB0_22
LBB0_18:
	movq	_AccessShareLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_relation_close
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_list_delete_last
	movq	-72(%rbp), %r14                 ## 8-byte Reload
LBB0_22:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_OidIsValid
	testq	%rax, %rax
	je	LBB0_23
LBB0_24:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	movq	%r12, %rdi
	callq	_type_is_collatable
	testq	%rax, %rax
	je	LBB0_24
## %bb.25:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_INVALID_TABLE_DEFINITION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movq	%r12, %rdi
	callq	_format_type_be
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_errmsg
	leaq	L_.str.3(%rip), %rdi
	callq	_errhint
	movl	%ebx, %edi
	movl	%eax, %esi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ereport                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TYPTYPE_PSEUDO,1,0             ## @TYPTYPE_PSEUDO
	.comm	_ANYARRAYOID,8,3                ## @ANYARRAYOID
	.comm	_CHKATYPE_ANYARRAY,4,2          ## @CHKATYPE_ANYARRAY
	.comm	_RECORDOID,8,3                  ## @RECORDOID
	.comm	_CHKATYPE_ANYRECORD,4,2         ## @CHKATYPE_ANYRECORD
	.comm	_RECORDARRAYOID,8,3             ## @RECORDARRAYOID
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_INVALID_TABLE_DEFINITION,4,2 ## @ERRCODE_INVALID_TABLE_DEFINITION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"column \"%s\" has pseudo-type %s"

	.comm	_TYPTYPE_DOMAIN,1,0             ## @TYPTYPE_DOMAIN
	.comm	_TYPTYPE_COMPOSITE,1,0          ## @TYPTYPE_COMPOSITE
L_.str.1:                               ## @.str.1
	.asciz	"composite type %s cannot be made a member of itself"

	.comm	_AccessShareLock,4,2            ## @AccessShareLock
L_.str.2:                               ## @.str.2
	.asciz	"no collation was derived for column \"%s\" with collatable type %s"

L_.str.3:                               ## @.str.3
	.asciz	"Use the COLLATE clause to set the collation explicitly."

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CheckAttributeType             ; -- Begin function CheckAttributeType
	.p2align	2
_CheckAttributeType:                    ; @CheckAttributeType
	.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, x4
	mov	x23, x3
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_get_typtype
Lloh0:
	adrp	x8, _TYPTYPE_PSEUDO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TYPTYPE_PSEUDO@GOTPAGEOFF]
	ldrb	w8, [x8]
	cmp	w8, w0, uxtb
	b.ne	LBB0_8
; %bb.1:
Lloh2:
	adrp	x8, _ANYARRAYOID@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ANYARRAYOID@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x8, x20
	b.ne	LBB0_3
; %bb.2:
Lloh5:
	adrp	x8, _CHKATYPE_ANYARRAY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CHKATYPE_ANYARRAY@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w8, w22
	b.ne	LBB0_22
LBB0_3:
Lloh8:
	adrp	x8, _RECORDOID@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RECORDOID@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x8, x20
	b.ne	LBB0_5
; %bb.4:
Lloh11:
	adrp	x8, _CHKATYPE_ANYRECORD@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CHKATYPE_ANYRECORD@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	tst	w8, w22
	b.ne	LBB0_22
LBB0_5:
Lloh14:
	adrp	x8, _RECORDARRAYOID@GOTPAGE
Lloh15:
	ldr	x8, [x8, _RECORDARRAYOID@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cmp	x8, x20
	b.ne	LBB0_7
; %bb.6:
Lloh17:
	adrp	x8, _CHKATYPE_ANYRECORD@GOTPAGE
Lloh18:
	ldr	x8, [x8, _CHKATYPE_ANYRECORD@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	tst	w8, w22
	b.ne	LBB0_22
LBB0_7:
Lloh20:
	adrp	x8, _ERROR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh22:
	ldr	w22, [x8]
Lloh23:
	adrp	x8, _ERRCODE_INVALID_TABLE_DEFINITION@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ERRCODE_INVALID_TABLE_DEFINITION@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	bl	_errcode
	mov	x0, x20
	bl	_format_type_be
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh26:
	adrp	x0, l_.str@PAGE
Lloh27:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_errmsg
	mov	x1, x0
	mov	x0, x22
	bl	_ereport
	b	LBB0_22
LBB0_8:
Lloh28:
	adrp	x8, _TYPTYPE_DOMAIN@GOTPAGE
Lloh29:
	ldr	x8, [x8, _TYPTYPE_DOMAIN@GOTPAGEOFF]
	ldrb	w8, [x8]
	cmp	w8, w0, uxtb
	b.ne	LBB0_10
; %bb.9:
	mov	x0, x20
	bl	_getBaseType
	mov	x1, x0
	mov	x0, x19
	b	LBB0_20
LBB0_10:
Lloh30:
	adrp	x8, _TYPTYPE_COMPOSITE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _TYPTYPE_COMPOSITE@GOTPAGEOFF]
	ldrb	w8, [x8]
	cmp	w8, w0, uxtb
	b.ne	LBB0_18
; %bb.11:
	mov	x0, x23
	mov	x1, x20
	bl	_list_member_oid
	cbz	x0, LBB0_13
; %bb.12:
Lloh32:
	adrp	x8, _ERROR@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh34:
	ldr	w24, [x8]
Lloh35:
	adrp	x8, _ERRCODE_INVALID_TABLE_DEFINITION@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ERRCODE_INVALID_TABLE_DEFINITION@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
	bl	_errcode
	mov	x0, x20
	bl	_format_type_be
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x1, w0
Lloh38:
	adrp	x0, l_.str.1@PAGE
Lloh39:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x24
	bl	_ereport
LBB0_13:
	mov	x0, x23
	mov	x1, x20
	bl	_lappend_oid
	mov	x23, x0
	mov	x0, x20
	bl	_get_typ_typrelid
Lloh40:
	adrp	x28, _AccessShareLock@GOTPAGE
Lloh41:
	ldr	x28, [x28, _AccessShareLock@GOTPAGEOFF]
	ldr	w1, [x28]
	bl	_relation_open
	mov	x24, x0
	bl	_RelationGetDescr
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_21
; %bb.14:
	mov	x25, x0
	mov	w26, #0
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	add	w26, w26, #1
	ldr	w8, [x25]
	cmp	w26, w8
	b.ge	LBB0_21
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x25
	mov	x1, x26
	bl	_TupleDescAttr
	ldr	x8, [x0, #24]
	cbnz	x8, LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x27, x0
	ldr	w0, [x0, #16]
	bl	_NameStr
	ldp	x1, x2, [x27]
	mov	x3, x23
	mov	x4, x22
	bl	_CheckAttributeType
	b	LBB0_15
LBB0_18:
	mov	x0, x20
	bl	_get_element_type
	mov	x24, x0
	bl	_OidIsValid
	cbz	x0, LBB0_22
; %bb.19:
	mov	x0, x19
	mov	x1, x24
LBB0_20:
	mov	x2, x21
	mov	x3, x23
	mov	x4, x22
	bl	_CheckAttributeType
	b	LBB0_22
LBB0_21:
	ldr	w1, [x28]
	mov	x0, x24
	bl	_relation_close
	mov	x0, x23
	bl	_list_delete_last
LBB0_22:
	mov	x0, x21
	bl	_OidIsValid
	cbz	x0, LBB0_24
LBB0_23:
	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_24:
	mov	x0, x20
	bl	_type_is_collatable
	cbz	x0, LBB0_23
; %bb.25:
Lloh42:
	adrp	x8, _ERROR@GOTPAGE
Lloh43:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh44:
	ldr	w21, [x8]
Lloh45:
	adrp	x8, _ERRCODE_INVALID_TABLE_DEFINITION@GOTPAGE
Lloh46:
	ldr	x8, [x8, _ERRCODE_INVALID_TABLE_DEFINITION@GOTPAGEOFF]
Lloh47:
	ldr	w0, [x8]
	bl	_errcode
	mov	x0, x20
	bl	_format_type_be
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh48:
	adrp	x0, l_.str.2@PAGE
Lloh49:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_errmsg
Lloh50:
	adrp	x0, l_.str.3@PAGE
Lloh51:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_errhint
	mov	x1, x0
	mov	x0, x21
	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
	b	_ereport
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_TYPTYPE_PSEUDO,1,0             ; @TYPTYPE_PSEUDO
	.comm	_ANYARRAYOID,8,3                ; @ANYARRAYOID
	.comm	_CHKATYPE_ANYARRAY,4,2          ; @CHKATYPE_ANYARRAY
	.comm	_RECORDOID,8,3                  ; @RECORDOID
	.comm	_CHKATYPE_ANYRECORD,4,2         ; @CHKATYPE_ANYRECORD
	.comm	_RECORDARRAYOID,8,3             ; @RECORDARRAYOID
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_INVALID_TABLE_DEFINITION,4,2 ; @ERRCODE_INVALID_TABLE_DEFINITION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"column \"%s\" has pseudo-type %s"

	.comm	_TYPTYPE_DOMAIN,1,0             ; @TYPTYPE_DOMAIN
	.comm	_TYPTYPE_COMPOSITE,1,0          ; @TYPTYPE_COMPOSITE
l_.str.1:                               ; @.str.1
	.asciz	"composite type %s cannot be made a member of itself"

	.comm	_AccessShareLock,4,2            ; @AccessShareLock
l_.str.2:                               ; @.str.2
	.asciz	"no collation was derived for column \"%s\" with collatable type %s"

l_.str.3:                               ; @.str.3
	.asciz	"Use the COLLATE clause to set the collation explicitly."

.subsections_via_symbols
