	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function RelationReloadIndexInfo
_RelationReloadIndexInfo:               ## @RelationReloadIndexInfo
	.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, %r15
	movq	32(%rdi), %rax
	movq	(%rax), %rax
	movq	_RELKIND_INDEX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	xorl	%edi, %edi
	movq	_RELKIND_PARTITIONED_INDEX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
LBB0_2:
	xorl	%edi, %edi
	cmpl	$0, (%r15)
	sete	%dil
LBB0_3:
	callq	_Assert
	movq	%r15, %rdi
	callq	_RelationCloseSmgr
	movq	40(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:
	callq	_pfree
LBB0_5:
	movq	$0, 40(%r15)
	movq	32(%r15), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_7
## %bb.6:
	movq	_criticalRelcachesBuilt@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_15
LBB0_7:
	movq	%r15, %rdi
	callq	_RelationGetRelid
	movq	_ClassOidIndexId@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rax
	setne	%bl
	movq	%r15, %rdi
	callq	_RelationGetRelid
	movq	%rax, %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	callq	_ScanPgRelation
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_HeapTupleIsValid
	testl	%eax, %eax
	jne	LBB0_9
## %bb.8:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r15, %rdi
	callq	_RelationGetRelid
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movq	%rax, %rdx
	callq	_elog
LBB0_9:
	movq	%r14, %rdi
	callq	_GETSTRUCT
	movq	32(%r15), %rdi
	movq	_CLASS_TUPLE_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rax, %rsi
	callq	_memcpy
	movq	24(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.10:
	callq	_pfree
LBB0_11:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_RelationParseRelOptions
	movq	%r14, %rdi
	callq	_heap_freetuple
	movq	%r15, %rdi
	callq	_RelationInitPhysicalAddr
	movq	%r15, %rdi
	callq	_IsSystemRelation
	testl	%eax, %eax
	jne	LBB0_15
## %bb.12:
	movq	_INDEXRELID@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r15, %rdi
	callq	_RelationGetRelid
	movq	%rax, %rdi
	callq	_ObjectIdGetDatum
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_SearchSysCache1
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_HeapTupleIsValid
	testl	%eax, %eax
	jne	LBB0_14
## %bb.13:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r15, %rdi
	callq	_RelationGetRelid
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edi
	movq	%rax, %rdx
	callq	_elog
LBB0_14:
	movq	%r14, %rdi
	callq	_GETSTRUCT
	movl	32(%rax), %ecx
	movq	16(%r15), %rdx
	movl	%ecx, 32(%rdx)
	movups	16(%rax), %xmm0
	movups	%xmm0, 16(%rdx)
	movups	(%rax), %xmm0
	movups	%xmm0, (%rdx)
	movq	8(%r15), %rax
	movl	(%rax), %ebx
	movl	(%r14), %edi
	callq	_HeapTupleHeaderGetXmin
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_HeapTupleHeaderSetXmin
	movq	%r14, %rdi
	callq	_ReleaseSysCache
LBB0_15:
	movl	$1, (%r15)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RELKIND_INDEX,8,3              ## @RELKIND_INDEX
	.comm	_RELKIND_PARTITIONED_INDEX,8,3  ## @RELKIND_PARTITIONED_INDEX
	.comm	_criticalRelcachesBuilt,4,2     ## @criticalRelcachesBuilt
	.comm	_ClassOidIndexId,8,3            ## @ClassOidIndexId
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not find pg_class tuple for index %u"

	.comm	_CLASS_TUPLE_SIZE,4,2           ## @CLASS_TUPLE_SIZE
	.comm	_INDEXRELID,4,2                 ## @INDEXRELID
L_.str.1:                               ## @.str.1
	.asciz	"cache lookup failed for index %u"

	.no_dead_strip	_RelationReloadIndexInfo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function RelationReloadIndexInfo
_RelationReloadIndexInfo:               ; @RelationReloadIndexInfo
	.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	x8, [x0, #32]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _RELKIND_INDEX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RELKIND_INDEX@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _RELKIND_PARTITIONED_INDEX@GOTPAGE
Lloh4:
	ldr	x10, [x10, _RELKIND_PARTITIONED_INDEX@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [x19]
	cmp	w8, #0
	cset	w0, eq
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	bl	_Assert
	mov	x0, x19
	bl	_RelationCloseSmgr
	ldr	x0, [x19, #40]
	cbz	x0, LBB0_5
; %bb.4:
	bl	_pfree
LBB0_5:
	str	xzr, [x19, #40]
	ldr	x8, [x19, #32]
	ldr	x8, [x8, #8]
Lloh6:
	adrp	x9, _criticalRelcachesBuilt@GOTPAGE
Lloh7:
	ldr	x9, [x9, _criticalRelcachesBuilt@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	x8, #0
	ccmp	w9, #0, #0, ne
	b.eq	LBB0_14
; %bb.6:
	mov	x0, x19
	bl	_RelationGetRelid
Lloh9:
	adrp	x8, _ClassOidIndexId@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ClassOidIndexId@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w20, ne
	mov	x0, x19
	bl	_RelationGetRelid
	mov	x1, x20
	mov	w2, #0
	bl	_ScanPgRelation
	mov	x20, x0
	bl	_HeapTupleIsValid
	cbnz	w0, LBB0_8
; %bb.7:
Lloh12:
	adrp	x8, _ERROR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh14:
	ldr	w21, [x8]
	mov	x0, x19
	bl	_RelationGetRelid
	mov	x2, x0
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_elog
LBB0_8:
	mov	x0, x20
	bl	_GETSTRUCT
	mov	x1, x0
	ldr	x0, [x19, #32]
Lloh17:
	adrp	x8, _CLASS_TUPLE_SIZE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _CLASS_TUPLE_SIZE@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	bl	_memcpy
	ldr	x0, [x19, #24]
	cbz	x0, LBB0_10
; %bb.9:
	bl	_pfree
LBB0_10:
	mov	x0, x19
	mov	x1, x20
	bl	_RelationParseRelOptions
	mov	x0, x20
	bl	_heap_freetuple
	mov	x0, x19
	bl	_RelationInitPhysicalAddr
	mov	x0, x19
	bl	_IsSystemRelation
	cbnz	w0, LBB0_14
; %bb.11:
Lloh20:
	adrp	x8, _INDEXRELID@GOTPAGE
Lloh21:
	ldr	x8, [x8, _INDEXRELID@GOTPAGEOFF]
Lloh22:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_RelationGetRelid
	bl	_ObjectIdGetDatum
	mov	x1, x0
	mov	x0, x20
	bl	_SearchSysCache1
	mov	x20, x0
	bl	_HeapTupleIsValid
	cbnz	w0, LBB0_13
; %bb.12:
Lloh23:
	adrp	x8, _ERROR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh25:
	ldr	w21, [x8]
	mov	x0, x19
	bl	_RelationGetRelid
	mov	x2, x0
Lloh26:
	adrp	x1, l_.str.1@PAGE
Lloh27:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_elog
LBB0_13:
	mov	x0, x20
	bl	_GETSTRUCT
	ldr	w8, [x0, #32]
	ldp	x10, x9, [x19, #8]
	str	w8, [x9, #32]
	ldr	q0, [x0, #16]
	str	q0, [x9, #16]
	ldr	q0, [x0]
	str	q0, [x9]
	ldr	w21, [x10]
	ldr	w0, [x20]
	bl	_HeapTupleHeaderGetXmin
	mov	x1, x0
	mov	x0, x21
	bl	_HeapTupleHeaderSetXmin
	mov	x0, x20
	bl	_ReleaseSysCache
LBB0_14:
	mov	w8, #1
	str	w8, [x19]
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_RELKIND_INDEX,8,3              ; @RELKIND_INDEX
	.comm	_RELKIND_PARTITIONED_INDEX,8,3  ; @RELKIND_PARTITIONED_INDEX
	.comm	_criticalRelcachesBuilt,4,2     ; @criticalRelcachesBuilt
	.comm	_ClassOidIndexId,8,3            ; @ClassOidIndexId
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not find pg_class tuple for index %u"

	.comm	_CLASS_TUPLE_SIZE,4,2           ; @CLASS_TUPLE_SIZE
	.comm	_INDEXRELID,4,2                 ; @INDEXRELID
l_.str.1:                               ; @.str.1
	.asciz	"cache lookup failed for index %u"

	.no_dead_strip	_RelationReloadIndexInfo
.subsections_via_symbols
