	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pgstat_collect_oids
_pgstat_collect_oids:                   ## @pgstat_collect_oids
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movl	%edi, %ebx
	leaq	-72(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	movabsq	$17179869188, %rax              ## imm = 0x400000004
	movq	%rax, -72(%rbp)
	movq	_CurrentMemoryContext@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movq	_PGSTAT_TAB_HASH_SIZE@GOTPCREL(%rip), %rax
	movq	_HASH_ELEM@GOTPCREL(%rip), %rdx
	movq	_HASH_BLOBS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rdx), %ecx
	movl	(%rax), %esi
	movq	_HASH_CONTEXT@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rdx
	callq	_hash_create
	movq	%rax, %r15
	movq	_AccessShareLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_table_open
	movl	%eax, %r13d
	xorl	%eax, %eax
	callq	_GetLatestSnapshot
	movl	%eax, %edi
	callq	_RegisterSnapshot
	movl	%r13d, %edi
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%eax, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_table_beginscan
	movl	%eax, %ebx
	movq	_ForwardScanDirection@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_heap_getnext
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %r14
	leaq	-56(%rbp), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r13d, %edi
	callq	_RelationGetDescr
	movq	%r14, %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	%eax, %edx
	leaq	-52(%rbp), %rcx
	callq	_heap_getattr
	movl	%eax, -56(%rbp)
	xorl	%edi, %edi
	cmpl	$0, -52(%rbp)
	sete	%dil
	callq	_Assert
	xorl	%eax, %eax
	callq	_CHECK_FOR_INTERRUPTS
	movq	_HASH_ENTER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r12, %rsi
	xorl	%ecx, %ecx
	callq	_hash_search
	movq	_ForwardScanDirection@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_heap_getnext
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_2
LBB0_3:
	movl	%ebx, %edi
	callq	_table_endscan
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_UnregisterSnapshot
	movq	_AccessShareLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r13d, %edi
	callq	_table_close
	movq	%r15, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CurrentMemoryContext,4,2       ## @CurrentMemoryContext
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Temporary table of OIDs"

	.comm	_PGSTAT_TAB_HASH_SIZE,4,2       ## @PGSTAT_TAB_HASH_SIZE
	.comm	_HASH_ELEM,4,2                  ## @HASH_ELEM
	.comm	_HASH_BLOBS,4,2                 ## @HASH_BLOBS
	.comm	_HASH_CONTEXT,4,2               ## @HASH_CONTEXT
	.comm	_AccessShareLock,4,2            ## @AccessShareLock
	.comm	_ForwardScanDirection,4,2       ## @ForwardScanDirection
	.comm	_HASH_ENTER,4,2                 ## @HASH_ENTER
	.no_dead_strip	_pgstat_collect_oids
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pgstat_collect_oids
_pgstat_collect_oids:                   ; @pgstat_collect_oids
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x21, x0
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #12
	bl	_memset
	movi.2s	v0, #4
	str	d0, [sp, #16]
Lloh0:
	adrp	x8, _CurrentMemoryContext@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CurrentMemoryContext@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #24]
Lloh3:
	adrp	x8, _PGSTAT_TAB_HASH_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PGSTAT_TAB_HASH_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _HASH_ELEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HASH_ELEM@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _HASH_BLOBS@GOTPAGE
Lloh10:
	ldr	x9, [x9, _HASH_BLOBS@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh12:
	adrp	x9, _HASH_CONTEXT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _HASH_CONTEXT@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w3, w8, w9
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	add	x2, sp, #16
	bl	_hash_create
	mov	x20, x0
Lloh17:
	adrp	x25, _AccessShareLock@GOTPAGE
Lloh18:
	ldr	x25, [x25, _AccessShareLock@GOTPAGEOFF]
	ldr	w1, [x25]
	mov	x0, x21
	bl	_table_open
	mov	x21, x0
	bl	_GetLatestSnapshot
	bl	_RegisterSnapshot
	mov	x22, x0
	mov	x0, x21
	mov	x1, x22
	mov	w2, #0
	mov	x3, #0
	bl	_table_beginscan
	mov	x23, x0
Lloh19:
	adrp	x26, _ForwardScanDirection@GOTPAGE
Lloh20:
	ldr	x26, [x26, _ForwardScanDirection@GOTPAGEOFF]
	ldr	w1, [x26]
	bl	_heap_getnext
	cbz	x0, LBB0_3
; %bb.1:
	mov	x24, x0
Lloh21:
	adrp	x27, _HASH_ENTER@GOTPAGE
Lloh22:
	ldr	x27, [x27, _HASH_ENTER@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_RelationGetDescr
	mov	x2, x0
	add	x3, sp, #8
	mov	x0, x24
	mov	x1, x19
	bl	_heap_getattr
	str	w0, [sp, #12]
	ldr	w8, [sp, #8]
	cmp	w8, #0
	cset	w0, eq
	bl	_Assert
	bl	_CHECK_FOR_INTERRUPTS
	ldr	w2, [x27]
	add	x1, sp, #12
	mov	x0, x20
	mov	x3, #0
	bl	_hash_search
	ldr	w1, [x26]
	mov	x0, x23
	bl	_heap_getnext
	mov	x24, x0
	cbnz	x0, LBB0_2
LBB0_3:
	mov	x0, x23
	bl	_table_endscan
	mov	x0, x22
	bl	_UnregisterSnapshot
	ldr	w1, [x25]
	mov	x0, x21
	bl	_table_close
	mov	x0, x20
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_CurrentMemoryContext,4,2       ; @CurrentMemoryContext
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Temporary table of OIDs"

	.comm	_PGSTAT_TAB_HASH_SIZE,4,2       ; @PGSTAT_TAB_HASH_SIZE
	.comm	_HASH_ELEM,4,2                  ; @HASH_ELEM
	.comm	_HASH_BLOBS,4,2                 ; @HASH_BLOBS
	.comm	_HASH_CONTEXT,4,2               ; @HASH_CONTEXT
	.comm	_AccessShareLock,4,2            ; @AccessShareLock
	.comm	_ForwardScanDirection,4,2       ; @ForwardScanDirection
	.comm	_HASH_ENTER,4,2                 ; @HASH_ENTER
	.no_dead_strip	_pgstat_collect_oids
.subsections_via_symbols
