	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function RelationReloadNailed
_RelationReloadNailed:                  ## @RelationReloadNailed
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	16(%rdi), %edi
	callq	_Assert
	movq	%rbx, %rdi
	callq	_RelationInitPhysicalAddr
	movl	$0, (%rbx)
	xorl	%eax, %eax
	callq	_IsTransactionState
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	cmpl	$2, 4(%rbx)
	jl	LBB0_5
## %bb.2:
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movq	_RELKIND_INDEX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.6:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_RelationReloadIndexInfo        ## TAILCALL
LBB0_3:
	movq	_criticalRelcachesBuilt@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.4:
	movl	$1, (%rbx)
	movq	%rbx, %rdi
	callq	_RelationGetRelid
	movl	%eax, %edi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_ScanPgRelation
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_GETSTRUCT
	movq	8(%rbx), %rdi
	movq	_CLASS_TUPLE_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rax, %rsi
	callq	_memcpy
	movl	%r14d, %edi
	callq	_heap_freetuple
	movl	$1, (%rbx)
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RELKIND_INDEX,8,3              ## @RELKIND_INDEX
	.comm	_criticalRelcachesBuilt,8,3     ## @criticalRelcachesBuilt
	.comm	_CLASS_TUPLE_SIZE,4,2           ## @CLASS_TUPLE_SIZE
	.no_dead_strip	_RelationReloadNailed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function RelationReloadNailed
_RelationReloadNailed:                  ; @RelationReloadNailed
	.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, #16]
	bl	_Assert
	mov	x0, x19
	bl	_RelationInitPhysicalAddr
	str	wzr, [x19]
	bl	_IsTransactionState
	cbz	w0, LBB0_6
; %bb.1:
	ldr	w8, [x19, #4]
	cmp	w8, #2
	b.lt	LBB0_6
; %bb.2:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _RELKIND_INDEX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RELKIND_INDEX@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	mov	x0, 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
	b	_RelationReloadIndexInfo
LBB0_4:
Lloh3:
	adrp	x8, _criticalRelcachesBuilt@GOTPAGE
Lloh4:
	ldr	x8, [x8, _criticalRelcachesBuilt@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.5:
	mov	w21, #1
	str	w21, [x19]
	mov	x0, x19
	bl	_RelationGetRelid
	mov	w1, #1
	mov	w2, #0
	bl	_ScanPgRelation
	mov	x20, x0
	bl	_GETSTRUCT
	mov	x1, x0
	ldr	x0, [x19, #8]
Lloh6:
	adrp	x8, _CLASS_TUPLE_SIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CLASS_TUPLE_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	bl	_memcpy
	mov	x0, x20
	bl	_heap_freetuple
	str	w21, [x19]
LBB0_6:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_RELKIND_INDEX,8,3              ; @RELKIND_INDEX
	.comm	_criticalRelcachesBuilt,8,3     ; @criticalRelcachesBuilt
	.comm	_CLASS_TUPLE_SIZE,4,2           ; @CLASS_TUPLE_SIZE
	.no_dead_strip	_RelationReloadNailed
.subsections_via_symbols
