	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ExecOpenScanRelation           ## -- Begin function ExecOpenScanRelation
	.p2align	4, 0x90
_ExecOpenScanRelation:                  ## @ExecOpenScanRelation
	.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
	movl	%edx, %ebx
	callq	_ExecGetRangeTableRelation
	movl	%eax, %r14d
	movq	_EXEC_FLAG_EXPLAIN_ONLY@GOTPCREL(%rip), %rax
	movq	_EXEC_FLAG_WITH_NO_DATA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%ebx, %ecx
	jne	LBB0_3
## %bb.1:
	movl	%r14d, %edi
	callq	_RelationIsScannable
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	%r14d, %edi
	callq	_RelationGetRelationName
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_errmsg
	leaq	L_.str.1(%rip), %rdi
	callq	_errhint
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_3:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EXEC_FLAG_EXPLAIN_ONLY,4,2     ## @EXEC_FLAG_EXPLAIN_ONLY
	.comm	_EXEC_FLAG_WITH_NO_DATA,4,2     ## @EXEC_FLAG_WITH_NO_DATA
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE,4,2 ## @ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"materialized view \"%s\" has not been populated"

L_.str.1:                               ## @.str.1
	.asciz	"Use the REFRESH MATERIALIZED VIEW command."

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ExecOpenScanRelation           ; -- Begin function ExecOpenScanRelation
	.p2align	2
_ExecOpenScanRelation:                  ; @ExecOpenScanRelation
	.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	x20, x2
	bl	_ExecGetRangeTableRelation
	mov	x19, x0
Lloh0:
	adrp	x8, _EXEC_FLAG_EXPLAIN_ONLY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EXEC_FLAG_EXPLAIN_ONLY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _EXEC_FLAG_WITH_NO_DATA@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EXEC_FLAG_WITH_NO_DATA@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w20
	b.ne	LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_RelationIsScannable
	cbnz	w0, LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w20, [x8]
Lloh9:
	adrp	x8, _ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_errcode
	mov	x0, x19
	bl	_RelationGetRelationName
	mov	x1, x0
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errhint
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EXEC_FLAG_EXPLAIN_ONLY,4,2     ; @EXEC_FLAG_EXPLAIN_ONLY
	.comm	_EXEC_FLAG_WITH_NO_DATA,4,2     ; @EXEC_FLAG_WITH_NO_DATA
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE,4,2 ; @ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"materialized view \"%s\" has not been populated"

l_.str.1:                               ; @.str.1
	.asciz	"Use the REFRESH MATERIALIZED VIEW command."

.subsections_via_symbols
