	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_assign_record_type_identifier  ## -- Begin function assign_record_type_identifier
	.p2align	4, 0x90
_assign_record_type_identifier:         ## @assign_record_type_identifier
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_RECORDOID@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jne	LBB0_1
## %bb.4:
	movq	%rsi, %r14
	movq	_RecordCacheArrayLen@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	jbe	LBB0_7
## %bb.5:
	movq	_RecordCacheArray@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax,%r14,8)
	je	LBB0_7
## %bb.6:
	movq	_RecordIdentifierArray@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	xorl	%edi, %edi
	cmpq	$0, (%rax,%r14,8)
	setne	%dil
	callq	_Assert
	movq	(%rbx), %rax
	movq	(%rax,%r14,8), %rax
	jmp	LBB0_8
LBB0_1:
	movq	%rdi, %rbx
	movq	_TYPECACHE_TUPDESC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_lookup_type_cache
	movq	%rax, %r14
	cmpq	$0, 8(%rax)
	jne	LBB0_3
## %bb.2:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_ERRCODE_WRONG_OBJECT_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movq	%rbx, %rdi
	callq	_format_type_be
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_errmsg
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_3:
	xorl	%edi, %edi
	cmpq	$0, (%r14)
	setne	%dil
	callq	_Assert
	movq	(%r14), %rax
	jmp	LBB0_8
LBB0_7:
	movq	_tupledesc_id_counter@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rax
	incq	%rax
	movq	%rax, (%rcx)
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RECORDOID,8,3                  ## @RECORDOID
	.comm	_TYPECACHE_TUPDESC,4,2          ## @TYPECACHE_TUPDESC
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_WRONG_OBJECT_TYPE,4,2  ## @ERRCODE_WRONG_OBJECT_TYPE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"type %s is not composite"

	.comm	_RecordCacheArrayLen,8,3        ## @RecordCacheArrayLen
	.comm	_RecordCacheArray,8,3           ## @RecordCacheArray
	.comm	_RecordIdentifierArray,8,3      ## @RecordIdentifierArray
	.comm	_tupledesc_id_counter,8,3       ## @tupledesc_id_counter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_assign_record_type_identifier  ; -- Begin function assign_record_type_identifier
	.p2align	2
_assign_record_type_identifier:         ; @assign_record_type_identifier
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x8, _RECORDOID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RECORDOID@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _RecordCacheArrayLen@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RecordCacheArrayLen@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x8, x1
	b.ls	LBB0_7
; %bb.2:
Lloh6:
	adrp	x8, _RecordCacheArray@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RecordCacheArray@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	x8, [x8, x1, lsl #3]
	cbz	x8, LBB0_7
; %bb.3:
Lloh9:
	adrp	x19, _RecordIdentifierArray@GOTPAGE
Lloh10:
	ldr	x19, [x19, _RecordIdentifierArray@GOTPAGEOFF]
	ldr	x8, [x19]
	lsl	x20, x1, #3
	ldr	x8, [x8, x20]
	cmp	x8, #0
	cset	w0, ne
	bl	_Assert
	ldr	x8, [x19]
	ldr	x0, [x8, x20]
	b	LBB0_8
LBB0_4:
	mov	x20, x0
Lloh11:
	adrp	x8, _TYPECACHE_TUPDESC@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TYPECACHE_TUPDESC@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_lookup_type_cache
	mov	x19, x0
	ldr	x8, [x0, #8]
	cbnz	x8, LBB0_6
; %bb.5:
Lloh14:
	adrp	x8, _ERROR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh16:
	ldr	w21, [x8]
Lloh17:
	adrp	x8, _ERRCODE_WRONG_OBJECT_TYPE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ERRCODE_WRONG_OBJECT_TYPE@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_errcode
	mov	x0, x20
	bl	_format_type_be
	mov	x1, x0
Lloh20:
	adrp	x0, l_.str@PAGE
Lloh21:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x21
	bl	_ereport
LBB0_6:
	ldr	x8, [x19]
	cmp	x8, #0
	cset	w0, ne
	bl	_Assert
	ldr	x0, [x19]
	b	LBB0_8
LBB0_7:
Lloh22:
	adrp	x8, _tupledesc_id_counter@GOTPAGE
Lloh23:
	ldr	x8, [x8, _tupledesc_id_counter@GOTPAGEOFF]
	ldr	x9, [x8]
	add	x0, x9, #1
	str	x0, [x8]
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_RECORDOID,8,3                  ; @RECORDOID
	.comm	_TYPECACHE_TUPDESC,4,2          ; @TYPECACHE_TUPDESC
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_WRONG_OBJECT_TYPE,4,2  ; @ERRCODE_WRONG_OBJECT_TYPE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"type %s is not composite"

	.comm	_RecordCacheArrayLen,8,3        ; @RecordCacheArrayLen
	.comm	_RecordCacheArray,8,3           ; @RecordCacheArray
	.comm	_RecordIdentifierArray,8,3      ; @RecordIdentifierArray
	.comm	_tupledesc_id_counter,8,3       ; @tupledesc_id_counter
.subsections_via_symbols
