	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pg_foreign_server_aclmask      ## -- Begin function pg_foreign_server_aclmask
	.p2align	4, 0x90
_pg_foreign_server_aclmask:             ## @pg_foreign_server_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	movl	%edx, %r12d
	movl	%esi, %r15d
	movl	%edi, %r13d
	movl	%esi, %edi
	callq	_superuser_arg
	testq	%rax, %rax
	jne	LBB0_10
## %bb.1:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	_FOREIGNSERVEROID@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r13d, %edi
	callq	_ObjectIdGetDatum
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_SearchSysCache1
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_HeapTupleIsValid
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_UNDEFINED_OBJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	movl	%r13d, %esi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_3:
	movl	%r14d, %edi
	callq	_GETSTRUCT
	movl	(%rax), %ebx
	movq	_FOREIGNSERVEROID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_Anum_pg_foreign_server_srvacl@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %rcx
	movl	%r14d, %esi
	callq	_SysCacheGetAttr
	cmpl	$0, -48(%rbp)
	je	LBB0_5
## %bb.4:
	movq	_OBJECT_FOREIGN_SERVER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	callq	_acldefault
	movl	%ebx, %edx
	movq	%rax, %rbx
	xorl	%r13d, %r13d
	jmp	LBB0_6
LBB0_5:
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_DatumGetAclP
	movl	%ebx, %edx
	movq	%rax, %rbx
LBB0_6:
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%r12d, %ecx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	callq	_aclmask
	movl	%eax, %r12d
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.7:
	movq	%r13, %rdi
	callq	_DatumGetPointer
	cmpq	%rbx, %rax
	je	LBB0_9
## %bb.8:
	movq	%rbx, %rdi
	callq	_pfree
LBB0_9:
	movl	%r14d, %edi
	callq	_ReleaseSysCache
LBB0_10:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FOREIGNSERVEROID,4,2           ## @FOREIGNSERVEROID
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_UNDEFINED_OBJECT,4,2   ## @ERRCODE_UNDEFINED_OBJECT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"foreign server with OID %u does not exist"

	.comm	_Anum_pg_foreign_server_srvacl,4,2 ## @Anum_pg_foreign_server_srvacl
	.comm	_OBJECT_FOREIGN_SERVER,4,2      ## @OBJECT_FOREIGN_SERVER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pg_foreign_server_aclmask      ; -- Begin function pg_foreign_server_aclmask
	.p2align	2
_pg_foreign_server_aclmask:             ; @pg_foreign_server_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	x21, x3
	mov	x19, x2
	mov	x22, x1
	mov	x23, x0
	mov	x0, x1
	bl	_superuser_arg
	cbnz	x0, LBB0_10
; %bb.1:
Lloh0:
	adrp	x25, _FOREIGNSERVEROID@GOTPAGE
Lloh1:
	ldr	x25, [x25, _FOREIGNSERVEROID@GOTPAGEOFF]
	ldr	w20, [x25]
	mov	x0, x23
	bl	_ObjectIdGetDatum
	mov	x1, x0
	mov	x0, x20
	bl	_SearchSysCache1
	mov	x20, x0
	bl	_HeapTupleIsValid
	cbnz	w0, LBB0_3
; %bb.2:
Lloh2:
	adrp	x8, _ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh4:
	ldr	w24, [x8]
Lloh5:
	adrp	x8, _ERRCODE_UNDEFINED_OBJECT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ERRCODE_UNDEFINED_OBJECT@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_errcode
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x23
	bl	_errmsg
	mov	x1, x0
	mov	x0, x24
	bl	_ereport
LBB0_3:
	mov	x0, x20
	bl	_GETSTRUCT
	ldr	w23, [x0]
	ldr	w0, [x25]
Lloh10:
	adrp	x8, _Anum_pg_foreign_server_srvacl@GOTPAGE
Lloh11:
	ldr	x8, [x8, _Anum_pg_foreign_server_srvacl@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	add	x3, sp, #12
	mov	x1, x20
	bl	_SysCacheGetAttr
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_5
; %bb.4:
Lloh13:
	adrp	x8, _OBJECT_FOREIGN_SERVER@GOTPAGE
Lloh14:
	ldr	x8, [x8, _OBJECT_FOREIGN_SERVER@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_acldefault
	mov	x24, x0
	mov	x25, #0
	b	LBB0_6
LBB0_5:
	mov	x25, x0
	bl	_DatumGetAclP
	mov	x24, x0
LBB0_6:
	mov	x0, x24
	mov	x1, x22
	mov	x2, x23
	mov	x3, x19
	mov	x4, x21
	bl	_aclmask
	mov	x19, x0
	cbz	x24, LBB0_9
; %bb.7:
	mov	x0, x25
	bl	_DatumGetPointer
	cmp	x0, x24
	b.eq	LBB0_9
; %bb.8:
	mov	x0, x24
	bl	_pfree
LBB0_9:
	mov	x0, x20
	bl	_ReleaseSysCache
LBB0_10:
	mov	x0, x19
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_FOREIGNSERVEROID,4,2           ; @FOREIGNSERVEROID
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_UNDEFINED_OBJECT,4,2   ; @ERRCODE_UNDEFINED_OBJECT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"foreign server with OID %u does not exist"

	.comm	_Anum_pg_foreign_server_srvacl,4,2 ; @Anum_pg_foreign_server_srvacl
	.comm	_OBJECT_FOREIGN_SERVER,4,2      ; @OBJECT_FOREIGN_SERVER
.subsections_via_symbols
