	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function load_typcache_tupdesc
_load_typcache_tupdesc:                 ## @load_typcache_tupdesc
	.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	%rdi, %rbx
	movl	24(%rdi), %edi
	callq	_OidIsValid
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rdx
	leaq	L_.str(%rip), %rsi
	callq	_elog
LBB0_2:
	movl	24(%rbx), %edi
	movq	_AccessShareLock@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_relation_open
	movq	%rax, %r14
	movq	(%rax), %rax
	movq	(%rax), %rax
	xorl	%edi, %edi
	cmpq	(%rbx), %rax
	sete	%dil
	callq	_Assert
	movq	%r14, %rdi
	callq	_RelationGetDescr
	movq	%rax, 16(%rbx)
	xorl	%edi, %edi
	cmpq	$0, (%rax)
	setg	%dil
	callq	_Assert
	movq	16(%rbx), %rax
	incq	(%rax)
	movq	_tupledesc_id_counter@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	incq	%rcx
	movq	%rcx, (%rax)
	movq	%rcx, 8(%rbx)
	movl	(%r15), %esi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_relation_close                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid typrelid for composite type %u"

	.comm	_AccessShareLock,4,2            ## @AccessShareLock
	.comm	_tupledesc_id_counter,8,3       ## @tupledesc_id_counter
	.no_dead_strip	_load_typcache_tupdesc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function load_typcache_tupdesc
_load_typcache_tupdesc:                 ; @load_typcache_tupdesc
	.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
	mov	x19, x0
	ldr	w0, [x0, #24]
	bl	_OidIsValid
	cbnz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	x2, [x19]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
LBB0_2:
	ldr	w0, [x19, #24]
Lloh5:
	adrp	x21, _AccessShareLock@GOTPAGE
Lloh6:
	ldr	x21, [x21, _AccessShareLock@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_relation_open
	mov	x20, x0
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	x9, [x19]
	cmp	x8, x9
	cset	w0, eq
	bl	_Assert
	mov	x0, x20
	bl	_RelationGetDescr
	str	x0, [x19, #16]
	ldr	x8, [x0]
	cmp	x8, #0
	cset	w0, gt
	bl	_Assert
	ldr	x8, [x19, #16]
	ldr	x9, [x8]
	add	x9, x9, #1
	str	x9, [x8]
Lloh7:
	adrp	x8, _tupledesc_id_counter@GOTPAGE
Lloh8:
	ldr	x8, [x8, _tupledesc_id_counter@GOTPAGEOFF]
	ldr	x9, [x8]
	add	x9, x9, #1
	str	x9, [x8]
	str	x9, [x19, #8]
	ldr	w1, [x21]
	mov	x0, x20
	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
	b	_relation_close
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid typrelid for composite type %u"

	.comm	_AccessShareLock,4,2            ; @AccessShareLock
	.comm	_tupledesc_id_counter,8,3       ; @tupledesc_id_counter
	.no_dead_strip	_load_typcache_tupdesc
.subsections_via_symbols
