	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ScanPgRelation
_ScanPgRelation:                        ## @ScanPgRelation
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movl	%edi, %r12d
	movq	_MyDatabaseId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_OidIsValid
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elog
LBB0_2:
	movq	_Anum_pg_class_oid@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_BTEqualStrategyNumber@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_F_OIDEQ@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%r12d, %edi
	callq	_ObjectIdGetDatum
	leaq	-48(%rbp), %rdi
	movl	%r13d, %esi
	movl	%ebx, %edx
	movl	%r14d, %ecx
	movl	%eax, %r8d
	callq	_ScanKeyInit
	movq	_RelationRelationId@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_AccessShareLock@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	callq	_table_open
	movl	%eax, %r12d
	movl	(%rbx), %edi
	testl	%r15d, %r15d
	je	LBB0_4
## %bb.3:
	callq	_GetNonHistoricCatalogSnapshot
	jmp	LBB0_5
LBB0_4:
	callq	_GetCatalogSnapshot
LBB0_5:
	movq	_ClassOidIndexId@GOTPCREL(%rip), %rcx
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	setne	%dl
	movq	_criticalRelcachesBuilt@GOTPCREL(%rip), %rsi
	cmpq	$0, (%rsi)
	movl	(%rcx), %esi
	setne	%cl
	andb	%dl, %cl
	movzbl	%cl, %edx
	leaq	-48(%rbp), %r9
	movl	%r12d, %edi
	movl	%eax, %ecx
	movl	$1, %r8d
	callq	_systable_beginscan
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_systable_getnext
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_HeapTupleIsValid
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movl	%ebx, %edi
	callq	_heap_copytuple
	movl	%eax, %ebx
LBB0_7:
	movl	%r14d, %edi
	callq	_systable_endscan
	movl	(%r13), %esi
	movl	%r12d, %edi
	callq	_table_close
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MyDatabaseId,4,2               ## @MyDatabaseId
	.comm	_FATAL,4,2                      ## @FATAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot read pg_class without having selected a database"

	.comm	_Anum_pg_class_oid,4,2          ## @Anum_pg_class_oid
	.comm	_BTEqualStrategyNumber,4,2      ## @BTEqualStrategyNumber
	.comm	_F_OIDEQ,4,2                    ## @F_OIDEQ
	.comm	_RelationRelationId,4,2         ## @RelationRelationId
	.comm	_AccessShareLock,4,2            ## @AccessShareLock
	.comm	_ClassOidIndexId,4,2            ## @ClassOidIndexId
	.comm	_criticalRelcachesBuilt,8,3     ## @criticalRelcachesBuilt
	.no_dead_strip	_ScanPgRelation
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ScanPgRelation
_ScanPgRelation:                        ; @ScanPgRelation
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _MyDatabaseId@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MyDatabaseId@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_OidIsValid
	cbnz	w0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _FATAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FATAL@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
LBB0_2:
Lloh8:
	adrp	x8, _Anum_pg_class_oid@GOTPAGE
Lloh9:
	ldr	x8, [x8, _Anum_pg_class_oid@GOTPAGEOFF]
Lloh10:
	ldr	w22, [x8]
Lloh11:
	adrp	x8, _BTEqualStrategyNumber@GOTPAGE
Lloh12:
	ldr	x8, [x8, _BTEqualStrategyNumber@GOTPAGEOFF]
Lloh13:
	ldr	w23, [x8]
Lloh14:
	adrp	x8, _F_OIDEQ@GOTPAGE
Lloh15:
	ldr	x8, [x8, _F_OIDEQ@GOTPAGEOFF]
Lloh16:
	ldr	w24, [x8]
	mov	x0, x20
	bl	_ObjectIdGetDatum
	mov	x4, x0
	add	x0, sp, #12
	mov	x1, x22
	mov	x2, x23
	mov	x3, x24
	bl	_ScanKeyInit
Lloh17:
	adrp	x23, _RelationRelationId@GOTPAGE
Lloh18:
	ldr	x23, [x23, _RelationRelationId@GOTPAGEOFF]
	ldr	w0, [x23]
Lloh19:
	adrp	x22, _AccessShareLock@GOTPAGE
Lloh20:
	ldr	x22, [x22, _AccessShareLock@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_table_open
	mov	x20, x0
	ldr	w0, [x23]
	cbz	w21, LBB0_4
; %bb.3:
	bl	_GetNonHistoricCatalogSnapshot
	b	LBB0_5
LBB0_4:
	bl	_GetCatalogSnapshot
LBB0_5:
	mov	x3, x0
Lloh21:
	adrp	x8, _ClassOidIndexId@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ClassOidIndexId@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	cmp	w19, #0
Lloh24:
	adrp	x8, _criticalRelcachesBuilt@GOTPAGE
Lloh25:
	ldr	x8, [x8, _criticalRelcachesBuilt@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	ccmp	x8, #0, #4, ne
	cset	w2, ne
	add	x5, sp, #12
	mov	x0, x20
	mov	w4, #1
	bl	_systable_beginscan
	mov	x21, x0
	bl	_systable_getnext
	mov	x19, x0
	bl	_HeapTupleIsValid
	cbz	x0, LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_heap_copytuple
	mov	x19, x0
LBB0_7:
	mov	x0, x21
	bl	_systable_endscan
	ldr	w1, [x22]
	mov	x0, x20
	bl	_table_close
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_MyDatabaseId,4,2               ; @MyDatabaseId
	.comm	_FATAL,4,2                      ; @FATAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot read pg_class without having selected a database"

	.comm	_Anum_pg_class_oid,4,2          ; @Anum_pg_class_oid
	.comm	_BTEqualStrategyNumber,4,2      ; @BTEqualStrategyNumber
	.comm	_F_OIDEQ,4,2                    ; @F_OIDEQ
	.comm	_RelationRelationId,4,2         ; @RelationRelationId
	.comm	_AccessShareLock,4,2            ; @AccessShareLock
	.comm	_ClassOidIndexId,4,2            ; @ClassOidIndexId
	.comm	_criticalRelcachesBuilt,8,3     ; @criticalRelcachesBuilt
	.no_dead_strip	_ScanPgRelation
.subsections_via_symbols
