	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vacuum_open_relation           ## -- Begin function vacuum_open_relation
	.p2align	4, 0x90
_vacuum_open_relation:                  ## @vacuum_open_relation
	.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
	movq	_VACOPT_VACUUM@GOTPCREL(%rip), %rbx
	movq	_VACOPT_ANALYZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rbx), %eax
	movl	%r8d, %ebx
	movl	%ecx, %r15d
	movl	%edx, %r12d
	movq	%rsi, %r14
	movl	%edi, %r13d
	xorl	%edi, %edi
	testl	%edx, %eax
	setne	%dil
	callq	_Assert
	movq	_VACOPT_SKIP_LOCKED@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_4
## %bb.1:
	movl	%r13d, %edi
	movl	%ebx, %esi
	callq	_ConditionalLockRelationOid
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	_NoLock@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_4:
	movl	%r13d, %edi
	movl	%ebx, %esi
	callq	_try_relation_open
	testq	%rax, %rax
	jne	LBB0_17
## %bb.5:
	xorl	%ebx, %ebx
	testq	%r14, %r14
	jne	LBB0_7
	jmp	LBB0_16
LBB0_2:
	movb	$1, %bl
	testq	%r14, %r14
	je	LBB0_16
LBB0_7:
	xorl	%eax, %eax
	callq	_IsAutoVacuumWorkerProcess
	testl	%eax, %eax
	je	LBB0_8
## %bb.9:
	testl	%r15d, %r15d
	je	LBB0_16
## %bb.10:
	movq	_LOG@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_8:
	movq	_WARNING@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %r15d
	movq	_VACOPT_VACUUM@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_13
## %bb.12:
	movq	_ERRCODE_UNDEFINED_TABLE@GOTPCREL(%rip), %rax
	testb	%bl, %bl
	cmovneq	_ERRCODE_LOCK_NOT_AVAILABLE@GOTPCREL(%rip), %rax
	leaq	L_.str(%rip), %rcx
	leaq	L_.str.1(%rip), %rbx
	jmp	LBB0_15
LBB0_13:
	movq	_VACOPT_ANALYZE@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_16
## %bb.14:
	movq	_ERRCODE_UNDEFINED_TABLE@GOTPCREL(%rip), %rax
	testb	%bl, %bl
	cmovneq	_ERRCODE_LOCK_NOT_AVAILABLE@GOTPCREL(%rip), %rax
	leaq	L_.str.2(%rip), %rcx
	leaq	L_.str.3(%rip), %rbx
LBB0_15:
	cmovneq	%rcx, %rbx
	movl	(%rax), %edi
	callq	_errcode
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_errmsg
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_16:
	xorl	%eax, %eax
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VACOPT_VACUUM,4,2              ## @VACOPT_VACUUM
	.comm	_VACOPT_ANALYZE,4,2             ## @VACOPT_ANALYZE
	.comm	_VACOPT_SKIP_LOCKED,4,2         ## @VACOPT_SKIP_LOCKED
	.comm	_NoLock,4,2                     ## @NoLock
	.comm	_WARNING,4,2                    ## @WARNING
	.comm	_LOG,4,2                        ## @LOG
	.comm	_ERRCODE_LOCK_NOT_AVAILABLE,4,2 ## @ERRCODE_LOCK_NOT_AVAILABLE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"skipping vacuum of \"%s\" --- lock not available"

	.comm	_ERRCODE_UNDEFINED_TABLE,4,2    ## @ERRCODE_UNDEFINED_TABLE
L_.str.1:                               ## @.str.1
	.asciz	"skipping vacuum of \"%s\" --- relation no longer exists"

L_.str.2:                               ## @.str.2
	.asciz	"skipping analyze of \"%s\" --- lock not available"

L_.str.3:                               ## @.str.3
	.asciz	"skipping analyze of \"%s\" --- relation no longer exists"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vacuum_open_relation           ; -- Begin function vacuum_open_relation
	.p2align	2
_vacuum_open_relation:                  ; @vacuum_open_relation
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x23, x4
	mov	x21, x3
	mov	x20, x2
	mov	x19, x1
	mov	x22, x0
Lloh0:
	adrp	x25, _VACOPT_VACUUM@GOTPAGE
Lloh1:
	ldr	x25, [x25, _VACOPT_VACUUM@GOTPAGEOFF]
	ldr	w8, [x25]
Lloh2:
	adrp	x24, _VACOPT_ANALYZE@GOTPAGE
Lloh3:
	ldr	x24, [x24, _VACOPT_ANALYZE@GOTPAGEOFF]
	ldr	w9, [x24]
	orr	w8, w9, w8
	tst	w8, w2
	cset	w0, ne
	bl	_Assert
Lloh4:
	adrp	x8, _VACOPT_SKIP_LOCKED@GOTPAGE
Lloh5:
	ldr	x8, [x8, _VACOPT_SKIP_LOCKED@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_3
; %bb.1:
	mov	x0, x22
	mov	x1, x23
	bl	_ConditionalLockRelationOid
	cbz	x0, LBB0_5
; %bb.2:
Lloh7:
	adrp	x8, _NoLock@GOTPAGE
Lloh8:
	ldr	x8, [x8, _NoLock@GOTPAGEOFF]
Lloh9:
	ldr	w23, [x8]
LBB0_3:
	mov	x0, x22
	mov	x1, x23
	bl	_try_relation_open
	cbnz	x0, LBB0_16
; %bb.4:
	mov	w22, #0
	cbnz	x19, LBB0_6
	b	LBB0_15
LBB0_5:
	mov	w22, #1
	cbz	x19, LBB0_15
LBB0_6:
	bl	_IsAutoVacuumWorkerProcess
	cbz	w0, LBB0_9
; %bb.7:
	cbz	w21, LBB0_15
; %bb.8:
Lloh10:
	adrp	x8, _LOG@GOTPAGE
Lloh11:
	ldr	x8, [x8, _LOG@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh12:
	adrp	x8, _WARNING@GOTPAGE
Lloh13:
	ldr	x8, [x8, _WARNING@GOTPAGEOFF]
LBB0_10:
	ldr	w21, [x8]
	ldr	w8, [x25]
	tst	w8, w20
	b.eq	LBB0_12
; %bb.11:
Lloh14:
	adrp	x8, _ERRCODE_UNDEFINED_TABLE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ERRCODE_UNDEFINED_TABLE@GOTPAGEOFF]
Lloh16:
	adrp	x9, _ERRCODE_LOCK_NOT_AVAILABLE@GOTPAGE
Lloh17:
	ldr	x9, [x9, _ERRCODE_LOCK_NOT_AVAILABLE@GOTPAGEOFF]
	cmp	w22, #0
	csel	x8, x9, x8, ne
Lloh18:
	adrp	x9, l_.str.1@PAGE
Lloh19:
	add	x9, x9, l_.str.1@PAGEOFF
Lloh20:
	adrp	x10, l_.str@PAGE
Lloh21:
	add	x10, x10, l_.str@PAGEOFF
	b	LBB0_14
LBB0_12:
	ldr	w8, [x24]
	tst	w8, w20
	b.eq	LBB0_15
; %bb.13:
Lloh22:
	adrp	x8, _ERRCODE_UNDEFINED_TABLE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ERRCODE_UNDEFINED_TABLE@GOTPAGEOFF]
Lloh24:
	adrp	x9, _ERRCODE_LOCK_NOT_AVAILABLE@GOTPAGE
Lloh25:
	ldr	x9, [x9, _ERRCODE_LOCK_NOT_AVAILABLE@GOTPAGEOFF]
	cmp	w22, #0
	csel	x8, x9, x8, ne
Lloh26:
	adrp	x9, l_.str.3@PAGE
Lloh27:
	add	x9, x9, l_.str.3@PAGEOFF
Lloh28:
	adrp	x10, l_.str.2@PAGE
Lloh29:
	add	x10, x10, l_.str.2@PAGEOFF
LBB0_14:
	csel	x20, x10, x9, ne
	ldr	w0, [x8]
	bl	_errcode
	ldr	w1, [x19]
	mov	x0, x20
	bl	_errmsg
	mov	x1, x0
	mov	x0, x21
	bl	_ereport
LBB0_15:
	mov	x0, #0
LBB0_16:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_VACOPT_VACUUM,4,2              ; @VACOPT_VACUUM
	.comm	_VACOPT_ANALYZE,4,2             ; @VACOPT_ANALYZE
	.comm	_VACOPT_SKIP_LOCKED,4,2         ; @VACOPT_SKIP_LOCKED
	.comm	_NoLock,4,2                     ; @NoLock
	.comm	_WARNING,4,2                    ; @WARNING
	.comm	_LOG,4,2                        ; @LOG
	.comm	_ERRCODE_LOCK_NOT_AVAILABLE,4,2 ; @ERRCODE_LOCK_NOT_AVAILABLE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"skipping vacuum of \"%s\" --- lock not available"

	.comm	_ERRCODE_UNDEFINED_TABLE,4,2    ; @ERRCODE_UNDEFINED_TABLE
l_.str.1:                               ; @.str.1
	.asciz	"skipping vacuum of \"%s\" --- relation no longer exists"

l_.str.2:                               ; @.str.2
	.asciz	"skipping analyze of \"%s\" --- lock not available"

l_.str.3:                               ; @.str.3
	.asciz	"skipping analyze of \"%s\" --- relation no longer exists"

.subsections_via_symbols
