	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function RangeVarCallbackForLockTable
_RangeVarCallbackForLockTable:          ## @RangeVarCallbackForLockTable
	.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, %ebx
	movq	%rdi, %r14
	movl	(%rcx), %r15d
	movl	%esi, %edi
	callq	_OidIsValid
	testl	%eax, %eax
	je	LBB0_9
## %bb.1:
	movl	%ebx, %edi
	callq	_get_rel_relkind
	testb	%al, %al
	je	LBB0_9
## %bb.2:
	movq	_RELKIND_RELATION@GOTPCREL(%rip), %rcx
	cmpb	(%rcx), %al
	je	LBB0_6
## %bb.3:
	movq	_RELKIND_PARTITIONED_TABLE@GOTPCREL(%rip), %rcx
	cmpb	(%rcx), %al
	je	LBB0_6
## %bb.4:
	movq	_RELKIND_VIEW@GOTPCREL(%rip), %rcx
	cmpb	(%rcx), %al
	je	LBB0_6
## %bb.5:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_ERRCODE_WRONG_OBJECT_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	(%r14), %esi
	leaq	L_.str(%rip), %rdi
	callq	_errmsg
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_6:
	movl	%ebx, %edi
	callq	_get_rel_persistence
	movq	_RELPERSISTENCE_TEMP@GOTPCREL(%rip), %rcx
	cmpb	(%rcx), %al
	jne	LBB0_8
## %bb.7:
	movq	_XACT_FLAGS_ACCESSEDTEMPNAMESPACE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_MyXactFlags@GOTPCREL(%rip), %rcx
	orl	%eax, (%rcx)
LBB0_8:
	xorl	%eax, %eax
	callq	_GetUserId
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_LockTableAclCheck
	movq	%rax, %r15
	movq	_ACLCHECK_OK@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	jne	LBB0_10
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movl	%ebx, %edi
	callq	_get_rel_relkind
	movsbl	%al, %edi
	callq	_get_relkind_objtype
	movl	(%r14), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_aclcheck_error                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RELKIND_RELATION,1,0           ## @RELKIND_RELATION
	.comm	_RELKIND_PARTITIONED_TABLE,1,0  ## @RELKIND_PARTITIONED_TABLE
	.comm	_RELKIND_VIEW,1,0               ## @RELKIND_VIEW
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_WRONG_OBJECT_TYPE,4,2  ## @ERRCODE_WRONG_OBJECT_TYPE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\"%s\" is not a table or view"

	.comm	_RELPERSISTENCE_TEMP,1,0        ## @RELPERSISTENCE_TEMP
	.comm	_XACT_FLAGS_ACCESSEDTEMPNAMESPACE,4,2 ## @XACT_FLAGS_ACCESSEDTEMPNAMESPACE
	.comm	_MyXactFlags,4,2                ## @MyXactFlags
	.comm	_ACLCHECK_OK,8,3                ## @ACLCHECK_OK
	.no_dead_strip	_RangeVarCallbackForLockTable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function RangeVarCallbackForLockTable
_RangeVarCallbackForLockTable:          ; @RangeVarCallbackForLockTable
	.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	x20, x1
	mov	x19, x0
	ldr	w21, [x3]
	mov	x0, x1
	bl	_OidIsValid
	cbz	w0, LBB0_9
; %bb.1:
	mov	x0, x20
	bl	_get_rel_relkind
	cbz	w0, LBB0_9
; %bb.2:
Lloh0:
	adrp	x8, _RELKIND_RELATION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RELKIND_RELATION@GOTPAGEOFF]
	ldrb	w8, [x8]
	cmp	w8, w0, uxtb
	b.eq	LBB0_6
; %bb.3:
Lloh2:
	adrp	x8, _RELKIND_PARTITIONED_TABLE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RELKIND_PARTITIONED_TABLE@GOTPAGEOFF]
	ldrb	w8, [x8]
	cmp	w8, w0, uxtb
	b.eq	LBB0_6
; %bb.4:
Lloh4:
	adrp	x8, _RELKIND_VIEW@GOTPAGE
Lloh5:
	ldr	x8, [x8, _RELKIND_VIEW@GOTPAGEOFF]
	ldrb	w8, [x8]
	cmp	w8, w0, uxtb
	b.eq	LBB0_6
; %bb.5:
Lloh6:
	adrp	x8, _ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w22, [x8]
Lloh9:
	adrp	x8, _ERRCODE_WRONG_OBJECT_TYPE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERRCODE_WRONG_OBJECT_TYPE@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_errcode
	ldr	w1, [x19]
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x22
	bl	_ereport
LBB0_6:
	mov	x0, x20
	bl	_get_rel_persistence
Lloh14:
	adrp	x8, _RELPERSISTENCE_TEMP@GOTPAGE
Lloh15:
	ldr	x8, [x8, _RELPERSISTENCE_TEMP@GOTPAGEOFF]
	ldrb	w8, [x8]
	cmp	w8, w0, uxtb
	b.ne	LBB0_8
; %bb.7:
Lloh16:
	adrp	x8, _XACT_FLAGS_ACCESSEDTEMPNAMESPACE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _XACT_FLAGS_ACCESSEDTEMPNAMESPACE@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
Lloh19:
	adrp	x9, _MyXactFlags@GOTPAGE
Lloh20:
	ldr	x9, [x9, _MyXactFlags@GOTPAGEOFF]
	ldr	w10, [x9]
	orr	w8, w10, w8
	str	w8, [x9]
LBB0_8:
	bl	_GetUserId
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_LockTableAclCheck
Lloh21:
	adrp	x8, _ACLCHECK_OK@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ACLCHECK_OK@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_10
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
LBB0_10:
	mov	x21, x0
	mov	x0, x20
	bl	_get_rel_relkind
	bl	_get_relkind_objtype
	mov	x1, x0
	ldr	w2, [x19]
	mov	x0, x21
	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	_aclcheck_error
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_RELKIND_RELATION,1,0           ; @RELKIND_RELATION
	.comm	_RELKIND_PARTITIONED_TABLE,1,0  ; @RELKIND_PARTITIONED_TABLE
	.comm	_RELKIND_VIEW,1,0               ; @RELKIND_VIEW
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_WRONG_OBJECT_TYPE,4,2  ; @ERRCODE_WRONG_OBJECT_TYPE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\"%s\" is not a table or view"

	.comm	_RELPERSISTENCE_TEMP,1,0        ; @RELPERSISTENCE_TEMP
	.comm	_XACT_FLAGS_ACCESSEDTEMPNAMESPACE,4,2 ; @XACT_FLAGS_ACCESSEDTEMPNAMESPACE
	.comm	_MyXactFlags,4,2                ; @MyXactFlags
	.comm	_ACLCHECK_OK,8,3                ; @ACLCHECK_OK
	.no_dead_strip	_RangeVarCallbackForLockTable
.subsections_via_symbols
