	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vacuum_is_relation_owner       ## -- Begin function vacuum_is_relation_owner
	.p2align	4, 0x90
_vacuum_is_relation_owner:              ## @vacuum_is_relation_owner
	.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), %r13
	movq	_VACOPT_ANALYZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%r13), %eax
	movl	%edx, %r15d
	movq	%rsi, %r14
	movl	%edi, %ebx
	xorl	%edi, %edi
	testl	%edx, %eax
	setne	%dil
	callq	_Assert
	xorl	%eax, %eax
	callq	_GetUserId
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_pg_class_ownercheck
	movl	$1, %ebx
	testq	%rax, %rax
	jne	LBB0_14
## %bb.1:
	movq	_MyDatabaseId@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	xorl	%eax, %eax
	callq	_GetUserId
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_pg_database_ownercheck
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	cmpq	$0, 8(%r14)
	je	LBB0_14
LBB0_3:
	movl	16(%r14), %edi
	callq	_NameStr
	testl	%r15d, (%r13)
	je	LBB0_7
## %bb.4:
	cmpq	$0, 8(%r14)
	je	LBB0_6
## %bb.5:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_12
LBB0_7:
	movq	_VACOPT_ANALYZE@GOTPCREL(%rip), %rcx
	testl	%r15d, (%rcx)
	je	LBB0_13
## %bb.8:
	cmpq	$0, 8(%r14)
	je	LBB0_10
## %bb.9:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_12
LBB0_6:
	movq	(%r14), %rcx
	movq	_PG_CATALOG_NAMESPACE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	leaq	L_.str.1(%rip), %rcx
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_11
LBB0_10:
	movq	(%r14), %rcx
	movq	_PG_CATALOG_NAMESPACE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	leaq	L_.str.4(%rip), %rcx
	leaq	L_.str.5(%rip), %rdi
LBB0_11:
	cmoveq	%rcx, %rdi
LBB0_12:
	movq	_WARNING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movq	%rax, %rsi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_13:
	xorl	%ebx, %ebx
LBB0_14:
	movl	%ebx, %eax
	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	_MyDatabaseId,4,2               ## @MyDatabaseId
	.comm	_WARNING,4,2                    ## @WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"skipping \"%s\" --- only superuser can vacuum it"

	.comm	_PG_CATALOG_NAMESPACE,8,3       ## @PG_CATALOG_NAMESPACE
L_.str.1:                               ## @.str.1
	.asciz	"skipping \"%s\" --- only superuser or database owner can vacuum it"

L_.str.2:                               ## @.str.2
	.asciz	"skipping \"%s\" --- only table or database owner can vacuum it"

L_.str.3:                               ## @.str.3
	.asciz	"skipping \"%s\" --- only superuser can analyze it"

L_.str.4:                               ## @.str.4
	.asciz	"skipping \"%s\" --- only superuser or database owner can analyze it"

L_.str.5:                               ## @.str.5
	.asciz	"skipping \"%s\" --- only table or database owner can analyze it"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vacuum_is_relation_owner       ; -- Begin function vacuum_is_relation_owner
	.p2align	2
_vacuum_is_relation_owner:              ; @vacuum_is_relation_owner
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x23, _VACOPT_VACUUM@GOTPAGE
Lloh1:
	ldr	x23, [x23, _VACOPT_VACUUM@GOTPAGEOFF]
	ldr	w8, [x23]
Lloh2:
	adrp	x22, _VACOPT_ANALYZE@GOTPAGE
Lloh3:
	ldr	x22, [x22, _VACOPT_ANALYZE@GOTPAGEOFF]
	ldr	w9, [x22]
	orr	w8, w9, w8
	tst	w8, w2
	cset	w0, ne
	bl	_Assert
	bl	_GetUserId
	mov	x1, x0
	mov	x0, x21
	bl	_pg_class_ownercheck
	cbz	x0, LBB0_2
LBB0_1:
	mov	w0, #1
	b	LBB0_15
LBB0_2:
Lloh4:
	adrp	x8, _MyDatabaseId@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MyDatabaseId@GOTPAGEOFF]
Lloh6:
	ldr	w21, [x8]
	bl	_GetUserId
	mov	x1, x0
	mov	x0, x21
	bl	_pg_database_ownercheck
	cbz	x0, LBB0_4
; %bb.3:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_1
LBB0_4:
	ldr	w0, [x19, #16]
	bl	_NameStr
	mov	x1, x0
	ldr	w8, [x23]
	tst	w8, w20
	b.eq	LBB0_7
; %bb.5:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_10
; %bb.6:
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_13
LBB0_7:
	ldr	w8, [x22]
	tst	w8, w20
	b.eq	LBB0_14
; %bb.8:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_11
; %bb.9:
Lloh9:
	adrp	x0, l_.str.3@PAGE
Lloh10:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_13
LBB0_10:
	ldr	x8, [x19]
Lloh11:
	adrp	x9, _PG_CATALOG_NAMESPACE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _PG_CATALOG_NAMESPACE@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
Lloh14:
	adrp	x10, l_.str.2@PAGE
Lloh15:
	add	x10, x10, l_.str.2@PAGEOFF
Lloh16:
	adrp	x11, l_.str.1@PAGE
Lloh17:
	add	x11, x11, l_.str.1@PAGEOFF
	b	LBB0_12
LBB0_11:
	ldr	x8, [x19]
Lloh18:
	adrp	x9, _PG_CATALOG_NAMESPACE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _PG_CATALOG_NAMESPACE@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
Lloh21:
	adrp	x10, l_.str.5@PAGE
Lloh22:
	add	x10, x10, l_.str.5@PAGEOFF
Lloh23:
	adrp	x11, l_.str.4@PAGE
Lloh24:
	add	x11, x11, l_.str.4@PAGEOFF
LBB0_12:
	cmp	x8, x9
	csel	x0, x11, x10, eq
LBB0_13:
Lloh25:
	adrp	x8, _WARNING@GOTPAGE
Lloh26:
	ldr	x8, [x8, _WARNING@GOTPAGEOFF]
Lloh27:
	ldr	w19, [x8]
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
	bl	_ereport
LBB0_14:
	mov	w0, #0
LBB0_15:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_VACOPT_VACUUM,4,2              ; @VACOPT_VACUUM
	.comm	_VACOPT_ANALYZE,4,2             ; @VACOPT_ANALYZE
	.comm	_MyDatabaseId,4,2               ; @MyDatabaseId
	.comm	_WARNING,4,2                    ; @WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"skipping \"%s\" --- only superuser can vacuum it"

	.comm	_PG_CATALOG_NAMESPACE,8,3       ; @PG_CATALOG_NAMESPACE
l_.str.1:                               ; @.str.1
	.asciz	"skipping \"%s\" --- only superuser or database owner can vacuum it"

l_.str.2:                               ; @.str.2
	.asciz	"skipping \"%s\" --- only table or database owner can vacuum it"

l_.str.3:                               ; @.str.3
	.asciz	"skipping \"%s\" --- only superuser can analyze it"

l_.str.4:                               ; @.str.4
	.asciz	"skipping \"%s\" --- only superuser or database owner can analyze it"

l_.str.5:                               ; @.str.5
	.asciz	"skipping \"%s\" --- only table or database owner can analyze it"

.subsections_via_symbols
