	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RelationInitTableAccessMethod  ## -- Begin function RelationInitTableAccessMethod
	.p2align	4, 0x90
_RelationInitTableAccessMethod:         ## @RelationInitTableAccessMethod
	.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
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	movq	_RELKIND_SEQUENCE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_IsCatalogRelation
	movq	8(%rbx), %rcx
	movq	8(%rcx), %rcx
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_HEAP_TABLE_AM_OID@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	(%rax), %rcx
	sete	%dil
	callq	_Assert
LBB0_1:
	movq	_HEAP_TABLE_AM_HANDLER_OID@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
LBB0_7:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_InitTableAmRoutine             ## TAILCALL
LBB0_4:
	movq	_InvalidOid@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	(%rax), %rcx
	setne	%dil
	callq	_Assert
	movq	_AMOID@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	8(%rbx), %rax
	movq	8(%rax), %rdi
	callq	_ObjectIdGetDatum
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_SearchSysCache1
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_HeapTupleIsValid
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%rbx), %rax
	movq	8(%rax), %rdx
	leaq	L_.str(%rip), %rsi
	callq	_elog
LBB0_6:
	movl	%r14d, %edi
	callq	_GETSTRUCT
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	movl	%r14d, %edi
	callq	_ReleaseSysCache
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_RELKIND_SEQUENCE,8,3           ## @RELKIND_SEQUENCE
	.comm	_HEAP_TABLE_AM_HANDLER_OID,8,3  ## @HEAP_TABLE_AM_HANDLER_OID
	.comm	_HEAP_TABLE_AM_OID,8,3          ## @HEAP_TABLE_AM_OID
	.comm	_InvalidOid,8,3                 ## @InvalidOid
	.comm	_AMOID,4,2                      ## @AMOID
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cache lookup failed for access method %u"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RelationInitTableAccessMethod  ; -- Begin function RelationInitTableAccessMethod
	.p2align	2
_RelationInitTableAccessMethod:         ; @RelationInitTableAccessMethod
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _RELKIND_SEQUENCE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RELKIND_SEQUENCE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_IsCatalogRelation
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #8]
	cbz	x0, LBB0_5
; %bb.2:
Lloh3:
	adrp	x9, _HEAP_TABLE_AM_OID@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HEAP_TABLE_AM_OID@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_Assert
LBB0_3:
Lloh6:
	adrp	x8, _HEAP_TABLE_AM_HANDLER_OID@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HEAP_TABLE_AM_HANDLER_OID@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	str	x8, [x19]
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_InitTableAmRoutine
LBB0_5:
Lloh9:
	adrp	x9, _InvalidOid@GOTPAGE
Lloh10:
	ldr	x9, [x9, _InvalidOid@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_Assert
Lloh12:
	adrp	x8, _AMOID@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AMOID@GOTPAGEOFF]
Lloh14:
	ldr	w20, [x8]
	ldr	x8, [x19, #8]
	ldr	x0, [x8, #8]
	bl	_ObjectIdGetDatum
	mov	x1, x0
	mov	x0, x20
	bl	_SearchSysCache1
	mov	x20, x0
	bl	_HeapTupleIsValid
	cbnz	w0, LBB0_7
; %bb.6:
Lloh15:
	adrp	x8, _ERROR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ldr	x8, [x19, #8]
	ldr	x2, [x8, #8]
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
LBB0_7:
	mov	x0, x20
	bl	_GETSTRUCT
	ldr	x8, [x0]
	str	x8, [x19]
	mov	x0, x20
	bl	_ReleaseSysCache
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_RELKIND_SEQUENCE,8,3           ; @RELKIND_SEQUENCE
	.comm	_HEAP_TABLE_AM_HANDLER_OID,8,3  ; @HEAP_TABLE_AM_HANDLER_OID
	.comm	_HEAP_TABLE_AM_OID,8,3          ; @HEAP_TABLE_AM_OID
	.comm	_InvalidOid,8,3                 ; @InvalidOid
	.comm	_AMOID,4,2                      ; @AMOID
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cache lookup failed for access method %u"

.subsections_via_symbols
