	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RangeVarCallbackOwnsRelation   ## -- Begin function RangeVarCallbackOwnsRelation
	.p2align	4, 0x90
_RangeVarCallbackOwnsRelation:          ## @RangeVarCallbackOwnsRelation
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r12d
	movq	%rdi, %r14
	movl	%esi, %edi
	callq	_OidIsValid
	testl	%eax, %eax
	je	LBB0_9
## %bb.1:
	movq	_RELOID@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r12d, %edi
	callq	_ObjectIdGetDatum
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_SearchSysCache1
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_HeapTupleIsValid
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %edx
	callq	_elog
LBB0_3:
	xorl	%eax, %eax
	callq	_GetUserId
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_pg_class_ownercheck
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movq	_ACLCHECK_NOT_OWNER@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r12d, %edi
	callq	_get_rel_relkind
	movl	%eax, %edi
	callq	_get_relkind_objtype
	movl	(%r14), %edx
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_aclcheck_error
LBB0_5:
	movq	_allowSystemTableMods@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_8
## %bb.6:
	movl	%r15d, %edi
	callq	_GETSTRUCT
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_IsSystemClass
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_INSUFFICIENT_PRIVILEGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	(%r14), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_8:
	movl	%r15d, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ReleaseSysCache                ## TAILCALL
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RELOID,4,2                     ## @RELOID
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cache lookup failed for relation %u"

	.comm	_ACLCHECK_NOT_OWNER,4,2         ## @ACLCHECK_NOT_OWNER
	.comm	_allowSystemTableMods,4,2       ## @allowSystemTableMods
	.comm	_ERRCODE_INSUFFICIENT_PRIVILEGE,4,2 ## @ERRCODE_INSUFFICIENT_PRIVILEGE
L_.str.1:                               ## @.str.1
	.asciz	"permission denied: \"%s\" is a system catalog"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RangeVarCallbackOwnsRelation   ; -- Begin function RangeVarCallbackOwnsRelation
	.p2align	2
_RangeVarCallbackOwnsRelation:          ; @RangeVarCallbackOwnsRelation
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x1
	mov	x19, x0
	mov	x0, x1
	bl	_OidIsValid
	cbz	w0, LBB0_9
; %bb.1:
Lloh0:
	adrp	x8, _RELOID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RELOID@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	mov	x0, x21
	bl	_ObjectIdGetDatum
	mov	x1, x0
	mov	x0, x20
	bl	_SearchSysCache1
	mov	x20, x0
	bl	_HeapTupleIsValid
	cbnz	w0, LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	bl	_elog
LBB0_3:
	bl	_GetUserId
	mov	x1, x0
	mov	x0, x21
	bl	_pg_class_ownercheck
	cbnz	w0, LBB0_5
; %bb.4:
Lloh8:
	adrp	x8, _ACLCHECK_NOT_OWNER@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ACLCHECK_NOT_OWNER@GOTPAGEOFF]
Lloh10:
	ldr	w22, [x8]
	mov	x0, x21
	bl	_get_rel_relkind
	bl	_get_relkind_objtype
	mov	x1, x0
	ldr	w2, [x19]
	mov	x0, x22
	bl	_aclcheck_error
LBB0_5:
Lloh11:
	adrp	x8, _allowSystemTableMods@GOTPAGE
Lloh12:
	ldr	x8, [x8, _allowSystemTableMods@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cbnz	w8, LBB0_8
; %bb.6:
	mov	x0, x20
	bl	_GETSTRUCT
	mov	x1, x0
	mov	x0, x21
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_IsSystemClass
	cbz	x0, LBB0_8
; %bb.7:
Lloh14:
	adrp	x8, _ERROR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh16:
	ldr	w21, [x8]
Lloh17:
	adrp	x8, _ERRCODE_INSUFFICIENT_PRIVILEGE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ERRCODE_INSUFFICIENT_PRIVILEGE@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_errcode
	ldr	w1, [x19]
Lloh20:
	adrp	x0, l_.str.1@PAGE
Lloh21:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x21
	bl	_ereport
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_ReleaseSysCache
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_RELOID,4,2                     ; @RELOID
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cache lookup failed for relation %u"

	.comm	_ACLCHECK_NOT_OWNER,4,2         ; @ACLCHECK_NOT_OWNER
	.comm	_allowSystemTableMods,4,2       ; @allowSystemTableMods
	.comm	_ERRCODE_INSUFFICIENT_PRIVILEGE,4,2 ; @ERRCODE_INSUFFICIENT_PRIVILEGE
l_.str.1:                               ; @.str.1
	.asciz	"permission denied: \"%s\" is a system catalog"

.subsections_via_symbols
