	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function column_privilege_check
_column_privilege_check:                ## @column_privilege_check
	.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	_InvalidAttrNumber@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	je	LBB0_8
## %bb.2:
	movl	%ecx, %r14d
	movl	%edx, %r15d
	movq	%rsi, %r13
	movl	%edi, %r12d
	movq	_RELOID@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	callq	_ObjectIdGetDatum
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_SearchSysCacheExists1
	testl	%eax, %eax
	je	LBB0_8
## %bb.3:
	movl	%r12d, %edi
	movl	%r15d, %esi
	movl	%r14d, %edx
	callq	_pg_class_aclcheck
	movq	%rax, %rcx
	movq	_ACLCHECK_OK@GOTPCREL(%rip), %rdx
	movl	$1, %eax
	cmpq	(%rdx), %rcx
	je	LBB0_9
## %bb.4:
	movq	_ATTNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	%r12d, %edi
	callq	_ObjectIdGetDatum
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_Int16GetDatum
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_SearchSysCache2
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_HeapTupleIsValid
	testl	%eax, %eax
	je	LBB0_8
## %bb.5:
	movl	%ebx, %edi
	callq	_GETSTRUCT
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	%ebx, %edi
	callq	_ReleaseSysCache
	movl	$-1, %eax
	cmpq	$0, -48(%rbp)                   ## 8-byte Folded Reload
	movq	_ACLCHECK_OK@GOTPCREL(%rip), %rbx
	jne	LBB0_9
## %bb.6:
	movl	%r12d, %edi
	movq	%r13, %rsi
	movl	%r15d, %edx
	movl	%r14d, %ecx
	callq	_pg_attribute_aclcheck
	movq	%rax, %rcx
	xorl	%eax, %eax
	cmpq	(%rbx), %rcx
	sete	%al
	jmp	LBB0_9
LBB0_8:
	movl	$-1, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_InvalidAttrNumber,8,3          ## @InvalidAttrNumber
	.comm	_RELOID,4,2                     ## @RELOID
	.comm	_ACLCHECK_OK,8,3                ## @ACLCHECK_OK
	.comm	_ATTNUM,4,2                     ## @ATTNUM
	.no_dead_strip	_column_privilege_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function column_privilege_check
_column_privilege_check:                ; @column_privilege_check
	.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
Lloh0:
	adrp	x8, _InvalidAttrNumber@GOTPAGE
Lloh1:
	ldr	x8, [x8, _InvalidAttrNumber@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x1
	b.eq	LBB0_6
; %bb.1:
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh3:
	adrp	x8, _RELOID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RELOID@GOTPAGEOFF]
Lloh5:
	ldr	w23, [x8]
	bl	_ObjectIdGetDatum
	mov	x1, x0
	mov	x0, x23
	bl	_SearchSysCacheExists1
	cbz	w0, LBB0_6
; %bb.2:
	mov	x0, x22
	mov	x1, x20
	mov	x2, x19
	bl	_pg_class_aclcheck
Lloh6:
	adrp	x25, _ACLCHECK_OK@GOTPAGE
Lloh7:
	ldr	x25, [x25, _ACLCHECK_OK@GOTPAGEOFF]
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.3:
	mov	w0, #1
	b	LBB0_7
LBB0_4:
Lloh8:
	adrp	x8, _ATTNUM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ATTNUM@GOTPAGEOFF]
Lloh10:
	ldr	w23, [x8]
	mov	x0, x22
	bl	_ObjectIdGetDatum
	mov	x24, x0
	mov	x0, x21
	bl	_Int16GetDatum
	mov	x2, x0
	mov	x0, x23
	mov	x1, x24
	bl	_SearchSysCache2
	mov	x23, x0
	bl	_HeapTupleIsValid
	cbz	w0, LBB0_6
; %bb.5:
	mov	x0, x23
	bl	_GETSTRUCT
	ldr	x24, [x0]
	mov	x0, x23
	bl	_ReleaseSysCache
	cbz	x24, LBB0_8
LBB0_6:
	mov	w0, #-1
LBB0_7:
	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
LBB0_8:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	bl	_pg_attribute_aclcheck
	ldr	x8, [x25]
	cmp	x0, x8
	cset	w0, eq
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_InvalidAttrNumber,8,3          ; @InvalidAttrNumber
	.comm	_RELOID,4,2                     ; @RELOID
	.comm	_ACLCHECK_OK,8,3                ; @ACLCHECK_OK
	.comm	_ATTNUM,4,2                     ; @ATTNUM
	.no_dead_strip	_column_privilege_check
.subsections_via_symbols
