	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_all_vacuum_rels
_get_all_vacuum_rels:                   ## @get_all_vacuum_rels
	.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	%edi, %r12d
	movq	_NIL@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	_RelationRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_AccessShareLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_table_open
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%eax, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_table_beginscan_catalog
	movl	%eax, %r13d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_vac_context@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MemoryContextSwitchTo
	movl	%eax, %r15d
	movq	_NIL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	xorl	%edi, %edi
	movl	%ebx, %esi
	callq	_makeVacuumRelation
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_lappend
	movq	%rax, %r14
	movl	%r15d, %edi
	callq	_MemoryContextSwitchTo
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	_ForwardScanDirection@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r13d, %edi
	callq	_heap_getnext
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %rdi
	callq	_GETSTRUCT
	movslq	%eax, %r15
	movl	8(%r15), %ebx
	movl	%ebx, %edi
	movq	%r15, %rsi
	movl	%r12d, %edx
	callq	_vacuum_is_relation_owner
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r15), %rax
	movq	_RELKIND_RELATION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_RELKIND_MATVIEW@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_RELKIND_PARTITIONED_TABLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
	jmp	LBB0_6
LBB0_7:
	movl	%r13d, %edi
	callq	_table_endscan
	movq	_AccessShareLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_table_close
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NIL,8,3                        ## @NIL
	.comm	_RelationRelationId,4,2         ## @RelationRelationId
	.comm	_AccessShareLock,4,2            ## @AccessShareLock
	.comm	_ForwardScanDirection,4,2       ## @ForwardScanDirection
	.comm	_RELKIND_RELATION,8,3           ## @RELKIND_RELATION
	.comm	_RELKIND_MATVIEW,8,3            ## @RELKIND_MATVIEW
	.comm	_RELKIND_PARTITIONED_TABLE,8,3  ## @RELKIND_PARTITIONED_TABLE
	.comm	_vac_context,4,2                ## @vac_context
	.no_dead_strip	_get_all_vacuum_rels
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_all_vacuum_rels
_get_all_vacuum_rels:                   ; @get_all_vacuum_rels
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x20, x0
Lloh0:
	adrp	x8, _NIL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NIL@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
Lloh3:
	adrp	x8, _RelationRelationId@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RelationRelationId@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _AccessShareLock@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AccessShareLock@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_table_open
	str	w0, [sp, #12]                   ; 4-byte Folded Spill
	mov	w1, #0
	mov	x2, #0
	bl	_table_beginscan_catalog
	mov	x22, x0
Lloh9:
	adrp	x27, _ForwardScanDirection@GOTPAGE
Lloh10:
	ldr	x27, [x27, _ForwardScanDirection@GOTPAGEOFF]
	ldr	w1, [x27]
	bl	_heap_getnext
	cbz	x0, LBB0_6
; %bb.1:
Lloh11:
	adrp	x28, _RELKIND_RELATION@GOTPAGE
Lloh12:
	ldr	x28, [x28, _RELKIND_RELATION@GOTPAGEOFF]
Lloh13:
	adrp	x25, _RELKIND_MATVIEW@GOTPAGE
Lloh14:
	ldr	x25, [x25, _RELKIND_MATVIEW@GOTPAGEOFF]
Lloh15:
	adrp	x21, _RELKIND_PARTITIONED_TABLE@GOTPAGE
Lloh16:
	ldr	x21, [x21, _RELKIND_PARTITIONED_TABLE@GOTPAGEOFF]
Lloh17:
	adrp	x26, _vac_context@GOTPAGE
Lloh18:
	ldr	x26, [x26, _vac_context@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x27]
	mov	x0, x22
	bl	_heap_getnext
	cbz	x0, LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	bl	_GETSTRUCT
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x24, w0
	ldr	w23, [x24, #8]
	mov	x0, x23
	mov	x1, x24
	mov	x2, x20
	bl	_vacuum_is_relation_owner
	cbz	w0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x24]
	ldr	x9, [x28]
	ldr	x10, [x25]
	ldr	x11, [x21]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	ccmp	x8, x11, #4, ne
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x26]
	bl	_MemoryContextSwitchTo
	mov	x24, x0
Lloh19:
	adrp	x8, _NIL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _NIL@GOTPAGEOFF]
Lloh21:
	ldr	x2, [x8]
	mov	x0, #0
	mov	x1, x23
	bl	_makeVacuumRelation
	mov	x1, x0
	mov	x0, x19
	bl	_lappend
	mov	x19, x0
	mov	x0, x24
	bl	_MemoryContextSwitchTo
	b	LBB0_2
LBB0_6:
	mov	x0, x22
	bl	_table_endscan
Lloh22:
	adrp	x8, _AccessShareLock@GOTPAGE
Lloh23:
	ldr	x8, [x8, _AccessShareLock@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	ldr	w0, [sp, #12]                   ; 4-byte Folded Reload
	bl	_table_close
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_NIL,8,3                        ; @NIL
	.comm	_RelationRelationId,4,2         ; @RelationRelationId
	.comm	_AccessShareLock,4,2            ; @AccessShareLock
	.comm	_ForwardScanDirection,4,2       ; @ForwardScanDirection
	.comm	_RELKIND_RELATION,8,3           ; @RELKIND_RELATION
	.comm	_RELKIND_MATVIEW,8,3            ; @RELKIND_MATVIEW
	.comm	_RELKIND_PARTITIONED_TABLE,8,3  ; @RELKIND_PARTITIONED_TABLE
	.comm	_vac_context,4,2                ; @vac_context
	.no_dead_strip	_get_all_vacuum_rels
.subsections_via_symbols
