	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pg_attribute_aclmask           ## -- Begin function pg_attribute_aclmask
	.p2align	4, 0x90
_pg_attribute_aclmask:                  ## @pg_attribute_aclmask
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -52(%rbp)                 ## 4-byte Spill
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %r14d
	movl	%edi, %r13d
	movq	_ATTNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	callq	_ObjectIdGetDatum
	movl	%eax, %ebx
	movl	%r14d, %edi
	callq	_Int16GetDatum
	movl	%r15d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_SearchSysCache2
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_HeapTupleIsValid
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_ERRCODE_UNDEFINED_COLUMN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %esi
	movl	%r13d, %edx
	callq	_errmsg
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_2:
	movl	%r12d, %edi
	callq	_GETSTRUCT
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_UNDEFINED_COLUMN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %esi
	movl	%r13d, %edx
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_4:
	movq	_ATTNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_Anum_pg_attribute_attacl@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-56(%rbp), %rcx
	movl	%r12d, %esi
	callq	_SysCacheGetAttr
	xorl	%r14d, %r14d
	cmpl	$0, -56(%rbp)
	je	LBB0_5
LBB0_9:
	movl	%r12d, %edi
	callq	_ReleaseSysCache
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	%eax, %r15d
	movq	_RELOID@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r13d, %edi
	callq	_ObjectIdGetDatum
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_SearchSysCache1
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_HeapTupleIsValid
	testl	%eax, %eax
	je	LBB0_9
## %bb.6:
	movl	%r13d, %edi
	callq	_GETSTRUCT
	movl	(%rax), %ebx
	movl	%r13d, %edi
	callq	_ReleaseSysCache
	movl	%r15d, %edi
	callq	_DatumGetAclP
	movq	%rax, %r13
	movq	%rax, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%ebx, %edx
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	-52(%rbp), %r8d                 ## 4-byte Reload
	callq	_aclmask
	movl	%eax, %r14d
	testq	%r13, %r13
	je	LBB0_9
## %bb.7:
	movl	%r15d, %edi
	callq	_DatumGetPointer
	cmpq	%r13, %rax
	je	LBB0_9
## %bb.8:
	movq	%r13, %rdi
	callq	_pfree
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_ATTNUM,4,2                     ## @ATTNUM
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_UNDEFINED_COLUMN,4,2   ## @ERRCODE_UNDEFINED_COLUMN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"attribute %d of relation with OID %u does not exist"

	.comm	_Anum_pg_attribute_attacl,4,2   ## @Anum_pg_attribute_attacl
	.comm	_RELOID,4,2                     ## @RELOID
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pg_attribute_aclmask           ; -- Begin function pg_attribute_aclmask
	.p2align	2
_pg_attribute_aclmask:                  ; @pg_attribute_aclmask
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x24, x1
	mov	x23, x0
Lloh0:
	adrp	x26, _ATTNUM@GOTPAGE
Lloh1:
	ldr	x26, [x26, _ATTNUM@GOTPAGEOFF]
	ldr	w19, [x26]
	bl	_ObjectIdGetDatum
	mov	x25, x0
	mov	x0, x24
	bl	_Int16GetDatum
	mov	x2, x0
	mov	x0, x19
	mov	x1, x25
	bl	_SearchSysCache2
	mov	x19, x0
	bl	_HeapTupleIsValid
	cbnz	w0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh4:
	ldr	w25, [x8]
Lloh5:
	adrp	x8, _ERRCODE_UNDEFINED_COLUMN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ERRCODE_UNDEFINED_COLUMN@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_errcode
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x24
	mov	x2, x23
	bl	_errmsg
	mov	x1, x0
	mov	x0, x25
	bl	_ereport
LBB0_2:
	mov	x0, x19
	bl	_GETSTRUCT
	ldr	x8, [x0]
	cbz	x8, LBB0_4
; %bb.3:
Lloh10:
	adrp	x8, _ERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh12:
	ldr	w25, [x8]
Lloh13:
	adrp	x8, _ERRCODE_UNDEFINED_COLUMN@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ERRCODE_UNDEFINED_COLUMN@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_errcode
Lloh16:
	adrp	x0, l_.str@PAGE
Lloh17:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x24
	mov	x2, x23
	bl	_errmsg
	mov	x1, x0
	mov	x0, x25
	bl	_ereport
LBB0_4:
	ldr	w0, [x26]
Lloh18:
	adrp	x8, _Anum_pg_attribute_attacl@GOTPAGE
Lloh19:
	ldr	x8, [x8, _Anum_pg_attribute_attacl@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	add	x3, sp, #12
	mov	x1, x19
	bl	_SysCacheGetAttr
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_7
LBB0_5:
	mov	w20, #0
LBB0_6:
	mov	x0, x19
	bl	_ReleaseSysCache
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_7:
	mov	x24, x0
Lloh21:
	adrp	x8, _RELOID@GOTPAGE
Lloh22:
	ldr	x8, [x8, _RELOID@GOTPAGEOFF]
Lloh23:
	ldr	w25, [x8]
	mov	x0, x23
	bl	_ObjectIdGetDatum
	mov	x1, x0
	mov	x0, x25
	bl	_SearchSysCache1
	mov	x23, x0
	bl	_HeapTupleIsValid
	cbz	w0, LBB0_5
; %bb.8:
	mov	x0, x23
	bl	_GETSTRUCT
	ldr	w25, [x0]
	mov	x0, x23
	bl	_ReleaseSysCache
	mov	x0, x24
	bl	_DatumGetAclP
	mov	x23, x0
	mov	x1, x22
	mov	x2, x25
	mov	x3, x21
	mov	x4, x20
	bl	_aclmask
	mov	x20, x0
	cbz	x23, LBB0_6
; %bb.9:
	mov	x0, x24
	bl	_DatumGetPointer
	cmp	x0, x23
	b.eq	LBB0_6
; %bb.10:
	mov	x0, x23
	bl	_pfree
	b	LBB0_6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_ATTNUM,4,2                     ; @ATTNUM
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_UNDEFINED_COLUMN,4,2   ; @ERRCODE_UNDEFINED_COLUMN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"attribute %d of relation with OID %u does not exist"

	.comm	_Anum_pg_attribute_attacl,4,2   ; @Anum_pg_attribute_attacl
	.comm	_RELOID,4,2                     ; @RELOID
.subsections_via_symbols
