	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function restrict_and_check_grant
_restrict_and_check_grant:              ## @restrict_and_check_grant
	.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	16(%rbp), %eax
	leal	-128(%rax), %ebx
	cmpl	$12, %ebx
	ja	LBB0_14
## %bb.1:
	movq	_ACL_ALL_RIGHTS_COLUMN@GOTPCREL(%rip), %r10
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rbx
	addq	%rax, %rbx
	jmpq	*%rbx
LBB0_13:
	movq	_ACL_ALL_RIGHTS_TYPE@GOTPCREL(%rip), %r10
	jmp	LBB0_16
LBB0_14:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	16(%rbp), %edx
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%eax, %eax
	callq	_elog
	jmp	LBB0_12
LBB0_8:
	movq	_ACL_ALL_RIGHTS_TABLESPACE@GOTPCREL(%rip), %r10
	jmp	LBB0_16
LBB0_15:
	movq	_ACL_ALL_RIGHTS_RELATION@GOTPCREL(%rip), %r10
	jmp	LBB0_16
LBB0_2:
	movq	_ACL_ALL_RIGHTS_SEQUENCE@GOTPCREL(%rip), %r10
	jmp	LBB0_16
LBB0_7:
	movq	_ACL_ALL_RIGHTS_SCHEMA@GOTPCREL(%rip), %r10
	jmp	LBB0_16
LBB0_6:
	movq	_ACL_ALL_RIGHTS_LARGEOBJECT@GOTPCREL(%rip), %r10
	jmp	LBB0_16
LBB0_5:
	movq	_ACL_ALL_RIGHTS_LANGUAGE@GOTPCREL(%rip), %r10
	jmp	LBB0_16
LBB0_4:
	movq	_ACL_ALL_RIGHTS_FUNCTION@GOTPCREL(%rip), %r10
	jmp	LBB0_16
LBB0_10:
	movq	_ACL_ALL_RIGHTS_FOREIGN_SERVER@GOTPCREL(%rip), %r10
	jmp	LBB0_16
LBB0_9:
	movq	_ACL_ALL_RIGHTS_FDW@GOTPCREL(%rip), %r10
	jmp	LBB0_16
LBB0_11:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_elog
LBB0_12:
	movq	_ACL_NO_RIGHTS@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	jmp	LBB0_51
LBB0_3:
	movq	_ACL_ALL_RIGHTS_DATABASE@GOTPCREL(%rip), %r10
LBB0_16:
	movl	%edi, -60(%rbp)                 ## 4-byte Spill
	movq	%rcx, %r14
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	24(%rbp), %r12
	movq	_ACL_NO_RIGHTS@GOTPCREL(%rip), %r15
	cmpq	%rsi, (%r15)
	jne	LBB0_23
## %bb.17:
	movq	(%r10), %r12
	movq	%r12, %rdi
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movl	%r9d, %ebx
	movl	%r8d, %r13d
	callq	_ACL_GRANT_OPTION_FOR
	orq	%rax, %r12
	movq	_ACLMASK_ANY@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	16(%rbp), %edi
                                        ## kill: def $edi killed $edi killed $rdi
	movl	%r13d, %esi
	movl	32(%rbp), %edx
	movl	%ebx, %ecx
	movq	%r12, %r8
	movq	24(%rbp), %r12
	callq	_pg_aclmask
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	cmpq	(%r15), %rax
	jne	LBB0_23
## %bb.18:
	movq	_ACLCHECK_NO_PRIV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%rbp), %eax
	cmpl	$140, %eax
	movq	40(%rbp), %rcx
	jne	LBB0_21
## %bb.19:
	testq	%rcx, %rcx
	je	LBB0_21
## %bb.20:
	movl	$140, %esi
	movq	%r12, %rdx
	callq	_aclcheck_error_col
	jmp	LBB0_22
LBB0_21:
	movl	16(%rbp), %esi
                                        ## kill: def $esi killed $esi killed $rsi
	movq	%r12, %rdx
	callq	_aclcheck_error
LBB0_22:
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
LBB0_23:
	movq	%rsi, %rdi
	callq	_ACL_OPTION_TO_PRIVS
	movq	%rax, %rbx
	andq	%r14, %rbx
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_38
## %bb.24:
	testq	%rbx, %rbx
	je	LBB0_25
## %bb.32:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_51
## %bb.33:
	cmpq	%r14, %rbx
	je	LBB0_51
## %bb.34:
	movq	_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_ERRCODE_WARNING_PRIVILEGE_NOT_GRANTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	16(%rbp), %eax
	cmpl	$140, %eax
	movq	40(%rbp), %rsi
	jne	LBB0_37
## %bb.35:
	testq	%rsi, %rsi
	je	LBB0_37
## %bb.36:
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_29
LBB0_38:
	testq	%rbx, %rbx
	je	LBB0_39
## %bb.43:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_51
## %bb.44:
	cmpq	%r14, %rbx
	je	LBB0_51
## %bb.45:
	movq	_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_ERRCODE_WARNING_PRIVILEGE_NOT_REVOKED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	16(%rbp), %eax
	cmpl	$140, %eax
	movq	40(%rbp), %rsi
	jne	LBB0_48
## %bb.46:
	testq	%rsi, %rsi
	je	LBB0_48
## %bb.47:
	leaq	L_.str.8(%rip), %rdi
	jmp	LBB0_29
LBB0_25:
	movq	_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_ERRCODE_WARNING_PRIVILEGE_NOT_GRANTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	16(%rbp), %eax
	cmpl	$140, %eax
	movq	40(%rbp), %rsi
	jne	LBB0_30
## %bb.26:
	testq	%rsi, %rsi
	je	LBB0_30
## %bb.27:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_28
LBB0_39:
	movq	_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_ERRCODE_WARNING_PRIVILEGE_NOT_REVOKED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	16(%rbp), %eax
	cmpl	$140, %eax
	movq	40(%rbp), %rsi
	jne	LBB0_42
## %bb.40:
	testq	%rsi, %rsi
	je	LBB0_42
## %bb.41:
	leaq	L_.str.6(%rip), %rdi
LBB0_28:
	xorl	%ebx, %ebx
LBB0_29:
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_errmsg
	jmp	LBB0_50
LBB0_30:
	leaq	L_.str.3(%rip), %rdi
	xorl	%ebx, %ebx
	jmp	LBB0_49
LBB0_37:
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_49
LBB0_42:
	leaq	L_.str.7(%rip), %rdi
	xorl	%ebx, %ebx
	jmp	LBB0_49
LBB0_48:
	leaq	L_.str.9(%rip), %rdi
LBB0_49:
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_errmsg
LBB0_50:
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_51:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
LJTI0_0:
	.long	L0_0_set_13
	.long	L0_0_set_8
	.long	L0_0_set_15
	.long	L0_0_set_2
	.long	L0_0_set_7
	.long	L0_0_set_6
	.long	L0_0_set_5
	.long	L0_0_set_4
	.long	L0_0_set_10
	.long	L0_0_set_9
	.long	L0_0_set_11
	.long	L0_0_set_3
	.long	L0_0_set_16
	.end_data_region
                                        ## -- End function
	.comm	_ACL_ALL_RIGHTS_COLUMN,8,3      ## @ACL_ALL_RIGHTS_COLUMN
	.comm	_ACL_ALL_RIGHTS_RELATION,8,3    ## @ACL_ALL_RIGHTS_RELATION
	.comm	_ACL_ALL_RIGHTS_SEQUENCE,8,3    ## @ACL_ALL_RIGHTS_SEQUENCE
	.comm	_ACL_ALL_RIGHTS_DATABASE,8,3    ## @ACL_ALL_RIGHTS_DATABASE
	.comm	_ACL_ALL_RIGHTS_FUNCTION,8,3    ## @ACL_ALL_RIGHTS_FUNCTION
	.comm	_ACL_ALL_RIGHTS_LANGUAGE,8,3    ## @ACL_ALL_RIGHTS_LANGUAGE
	.comm	_ACL_ALL_RIGHTS_LARGEOBJECT,8,3 ## @ACL_ALL_RIGHTS_LARGEOBJECT
	.comm	_ACL_ALL_RIGHTS_SCHEMA,8,3      ## @ACL_ALL_RIGHTS_SCHEMA
	.comm	_ACL_ALL_RIGHTS_TABLESPACE,8,3  ## @ACL_ALL_RIGHTS_TABLESPACE
	.comm	_ACL_ALL_RIGHTS_FDW,8,3         ## @ACL_ALL_RIGHTS_FDW
	.comm	_ACL_ALL_RIGHTS_FOREIGN_SERVER,8,3 ## @ACL_ALL_RIGHTS_FOREIGN_SERVER
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"grantable rights not supported for event triggers"

	.comm	_ACL_NO_RIGHTS,8,3              ## @ACL_NO_RIGHTS
	.comm	_ACL_ALL_RIGHTS_TYPE,8,3        ## @ACL_ALL_RIGHTS_TYPE
L_.str.1:                               ## @.str.1
	.asciz	"unrecognized object type: %d"

	.comm	_ACLMASK_ANY,4,2                ## @ACLMASK_ANY
	.comm	_ACLCHECK_NO_PRIV,4,2           ## @ACLCHECK_NO_PRIV
	.comm	_WARNING,4,2                    ## @WARNING
	.comm	_ERRCODE_WARNING_PRIVILEGE_NOT_GRANTED,4,2 ## @ERRCODE_WARNING_PRIVILEGE_NOT_GRANTED
L_.str.2:                               ## @.str.2
	.asciz	"no privileges were granted for column \"%s\" of relation \"%s\""

L_.str.3:                               ## @.str.3
	.asciz	"no privileges were granted for \"%s\""

L_.str.4:                               ## @.str.4
	.asciz	"not all privileges were granted for column \"%s\" of relation \"%s\""

L_.str.5:                               ## @.str.5
	.asciz	"not all privileges were granted for \"%s\""

	.comm	_ERRCODE_WARNING_PRIVILEGE_NOT_REVOKED,4,2 ## @ERRCODE_WARNING_PRIVILEGE_NOT_REVOKED
L_.str.6:                               ## @.str.6
	.asciz	"no privileges could be revoked for column \"%s\" of relation \"%s\""

L_.str.7:                               ## @.str.7
	.asciz	"no privileges could be revoked for \"%s\""

L_.str.8:                               ## @.str.8
	.asciz	"not all privileges could be revoked for column \"%s\" of relation \"%s\""

L_.str.9:                               ## @.str.9
	.asciz	"not all privileges could be revoked for \"%s\""

	.no_dead_strip	_restrict_and_check_grant
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function restrict_and_check_grant
_restrict_and_check_grant:              ; @restrict_and_check_grant
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x27, x6
	sub	w9, w6, #128
	cmp	w9, #12
	b.hi	LBB0_3
; %bb.1:
	mov	x19, x7
	mov	x23, x3
	mov	x25, x2
	mov	x20, x1
	mov	x26, x0
Lloh0:
	adrp	x8, _ACL_ALL_RIGHTS_COLUMN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ACL_ALL_RIGHTS_COLUMN@GOTPAGEOFF]
Lloh2:
	adrp	x10, lJTI0_0@PAGE
Lloh3:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
Lloh4:
	adrp	x8, _ACL_ALL_RIGHTS_TYPE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ACL_ALL_RIGHTS_TYPE@GOTPAGEOFF]
	b	LBB0_16
LBB0_3:
Lloh6:
	adrp	x8, _ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	str	x27, [sp]
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_14
LBB0_4:
Lloh11:
	adrp	x8, _ACL_ALL_RIGHTS_TABLESPACE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ACL_ALL_RIGHTS_TABLESPACE@GOTPAGEOFF]
	b	LBB0_16
LBB0_5:
Lloh13:
	adrp	x8, _ACL_ALL_RIGHTS_RELATION@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ACL_ALL_RIGHTS_RELATION@GOTPAGEOFF]
	b	LBB0_16
LBB0_6:
Lloh15:
	adrp	x8, _ACL_ALL_RIGHTS_SEQUENCE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ACL_ALL_RIGHTS_SEQUENCE@GOTPAGEOFF]
	b	LBB0_16
LBB0_7:
Lloh17:
	adrp	x8, _ACL_ALL_RIGHTS_SCHEMA@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ACL_ALL_RIGHTS_SCHEMA@GOTPAGEOFF]
	b	LBB0_16
LBB0_8:
Lloh19:
	adrp	x8, _ACL_ALL_RIGHTS_LARGEOBJECT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ACL_ALL_RIGHTS_LARGEOBJECT@GOTPAGEOFF]
	b	LBB0_16
LBB0_9:
Lloh21:
	adrp	x8, _ACL_ALL_RIGHTS_LANGUAGE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ACL_ALL_RIGHTS_LANGUAGE@GOTPAGEOFF]
	b	LBB0_16
LBB0_10:
Lloh23:
	adrp	x8, _ACL_ALL_RIGHTS_FUNCTION@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ACL_ALL_RIGHTS_FUNCTION@GOTPAGEOFF]
	b	LBB0_16
LBB0_11:
Lloh25:
	adrp	x8, _ACL_ALL_RIGHTS_FOREIGN_SERVER@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ACL_ALL_RIGHTS_FOREIGN_SERVER@GOTPAGEOFF]
	b	LBB0_16
LBB0_12:
Lloh27:
	adrp	x8, _ACL_ALL_RIGHTS_FDW@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ACL_ALL_RIGHTS_FDW@GOTPAGEOFF]
	b	LBB0_16
LBB0_13:
Lloh29:
	adrp	x8, _ERROR@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
Lloh32:
	adrp	x1, l_.str@PAGE
Lloh33:
	add	x1, x1, l_.str@PAGEOFF
LBB0_14:
	bl	_elog
Lloh34:
	adrp	x8, _ACL_NO_RIGHTS@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ACL_NO_RIGHTS@GOTPAGEOFF]
Lloh36:
	ldr	x24, [x8]
	b	LBB0_50
LBB0_15:
Lloh37:
	adrp	x8, _ACL_ALL_RIGHTS_DATABASE@GOTPAGE
Lloh38:
	ldr	x8, [x8, _ACL_ALL_RIGHTS_DATABASE@GOTPAGEOFF]
LBB0_16:
	ldr	x21, [x29, #24]
Lloh39:
	adrp	x9, _ACL_NO_RIGHTS@GOTPAGE
Lloh40:
	ldr	x9, [x9, _ACL_NO_RIGHTS@GOTPAGEOFF]
Lloh41:
	ldr	x9, [x9]
	cmp	x9, x20
	b.ne	LBB0_22
; %bb.17:
	ldr	w9, [x29, #16]
	str	w9, [sp, #12]                   ; 4-byte Folded Spill
	mov	x24, x27
	mov	x27, x26
	mov	x26, x25
	mov	x25, x21
	mov	x21, x19
	ldr	x19, [x8]
	mov	x0, x19
	mov	x22, x5
	mov	x28, x4
	bl	_ACL_GRANT_OPTION_FOR
	orr	x4, x0, x19
	mov	x19, x21
	mov	x21, x25
	mov	x25, x26
	mov	x26, x27
	mov	x27, x24
Lloh42:
	adrp	x8, _ACLMASK_ANY@GOTPAGE
Lloh43:
	ldr	x8, [x8, _ACLMASK_ANY@GOTPAGEOFF]
Lloh44:
	ldr	w5, [x8]
	mov	x0, x27
	mov	x1, x28
	ldr	w2, [sp, #12]                   ; 4-byte Folded Reload
	mov	x3, x22
	bl	_pg_aclmask
Lloh45:
	adrp	x8, _ACL_NO_RIGHTS@GOTPAGE
Lloh46:
	ldr	x8, [x8, _ACL_NO_RIGHTS@GOTPAGEOFF]
Lloh47:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_22
; %bb.18:
Lloh48:
	adrp	x8, _ACLCHECK_NO_PRIV@GOTPAGE
Lloh49:
	ldr	x8, [x8, _ACLCHECK_NO_PRIV@GOTPAGEOFF]
Lloh50:
	ldr	w0, [x8]
	cmp	w27, #140
	b.ne	LBB0_21
; %bb.19:
	cbz	x21, LBB0_21
; %bb.20:
	mov	w1, #140
	mov	x2, x19
	mov	x3, x21
	bl	_aclcheck_error_col
	b	LBB0_22
LBB0_21:
	mov	x1, x27
	mov	x2, x19
	bl	_aclcheck_error
LBB0_22:
	mov	x0, x20
	bl	_ACL_OPTION_TO_PRIVS
	and	x24, x0, x23
	cbz	w26, LBB0_29
; %bb.23:
	cbz	x24, LBB0_35
; %bb.24:
	cbnz	w25, LBB0_50
; %bb.25:
	cmp	x24, x23
	b.eq	LBB0_50
; %bb.26:
Lloh51:
	adrp	x8, _WARNING@GOTPAGE
Lloh52:
	ldr	x8, [x8, _WARNING@GOTPAGEOFF]
Lloh53:
	ldr	w22, [x8]
Lloh54:
	adrp	x8, _ERRCODE_WARNING_PRIVILEGE_NOT_GRANTED@GOTPAGE
Lloh55:
	ldr	x8, [x8, _ERRCODE_WARNING_PRIVILEGE_NOT_GRANTED@GOTPAGEOFF]
Lloh56:
	ldr	w0, [x8]
	bl	_errcode
	cmp	w27, #140
	b.ne	LBB0_43
; %bb.27:
	cbz	x21, LBB0_43
; %bb.28:
	str	x19, [sp]
Lloh57:
	adrp	x0, l_.str.4@PAGE
Lloh58:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x21
	b	LBB0_49
LBB0_29:
	cbz	x24, LBB0_38
; %bb.30:
	cbnz	w25, LBB0_50
; %bb.31:
	cmp	x24, x23
	b.eq	LBB0_50
; %bb.32:
Lloh59:
	adrp	x8, _WARNING@GOTPAGE
Lloh60:
	ldr	x8, [x8, _WARNING@GOTPAGEOFF]
Lloh61:
	ldr	w22, [x8]
Lloh62:
	adrp	x8, _ERRCODE_WARNING_PRIVILEGE_NOT_REVOKED@GOTPAGE
Lloh63:
	ldr	x8, [x8, _ERRCODE_WARNING_PRIVILEGE_NOT_REVOKED@GOTPAGEOFF]
Lloh64:
	ldr	w0, [x8]
	bl	_errcode
	cmp	w27, #140
	b.ne	LBB0_47
; %bb.33:
	cbz	x21, LBB0_47
; %bb.34:
	str	x19, [sp]
Lloh65:
	adrp	x0, l_.str.8@PAGE
Lloh66:
	add	x0, x0, l_.str.8@PAGEOFF
	mov	x1, x21
	b	LBB0_49
LBB0_35:
Lloh67:
	adrp	x8, _WARNING@GOTPAGE
Lloh68:
	ldr	x8, [x8, _WARNING@GOTPAGEOFF]
Lloh69:
	ldr	w22, [x8]
Lloh70:
	adrp	x8, _ERRCODE_WARNING_PRIVILEGE_NOT_GRANTED@GOTPAGE
Lloh71:
	ldr	x8, [x8, _ERRCODE_WARNING_PRIVILEGE_NOT_GRANTED@GOTPAGEOFF]
Lloh72:
	ldr	w0, [x8]
	bl	_errcode
	cmp	w27, #140
	b.ne	LBB0_42
; %bb.36:
	cbz	x21, LBB0_42
; %bb.37:
	str	x19, [sp]
Lloh73:
	adrp	x0, l_.str.2@PAGE
Lloh74:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_41
LBB0_38:
Lloh75:
	adrp	x8, _WARNING@GOTPAGE
Lloh76:
	ldr	x8, [x8, _WARNING@GOTPAGEOFF]
Lloh77:
	ldr	w22, [x8]
Lloh78:
	adrp	x8, _ERRCODE_WARNING_PRIVILEGE_NOT_REVOKED@GOTPAGE
Lloh79:
	ldr	x8, [x8, _ERRCODE_WARNING_PRIVILEGE_NOT_REVOKED@GOTPAGEOFF]
Lloh80:
	ldr	w0, [x8]
	bl	_errcode
	cmp	w27, #140
	b.ne	LBB0_44
; %bb.39:
	cbz	x21, LBB0_44
; %bb.40:
	str	x19, [sp]
Lloh81:
	adrp	x0, l_.str.6@PAGE
Lloh82:
	add	x0, x0, l_.str.6@PAGEOFF
LBB0_41:
	mov	x1, x21
	b	LBB0_46
LBB0_42:
Lloh83:
	adrp	x0, l_.str.3@PAGE
Lloh84:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_45
LBB0_43:
Lloh85:
	adrp	x0, l_.str.5@PAGE
Lloh86:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_48
LBB0_44:
Lloh87:
	adrp	x0, l_.str.7@PAGE
Lloh88:
	add	x0, x0, l_.str.7@PAGEOFF
LBB0_45:
	mov	x1, x19
LBB0_46:
	bl	_errmsg
	mov	x1, x0
	mov	x0, x22
	bl	_ereport
	mov	x24, #0
	b	LBB0_50
LBB0_47:
Lloh89:
	adrp	x0, l_.str.9@PAGE
Lloh90:
	add	x0, x0, l_.str.9@PAGEOFF
LBB0_48:
	mov	x1, x19
LBB0_49:
	bl	_errmsg
	mov	x1, x0
	mov	x0, x22
	bl	_ereport
LBB0_50:
	mov	x0, x24
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpAdd	Lloh81, Lloh82
	.loh AdrpAdd	Lloh83, Lloh84
	.loh AdrpAdd	Lloh85, Lloh86
	.loh AdrpAdd	Lloh87, Lloh88
	.loh AdrpAdd	Lloh89, Lloh90
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
                                        ; -- End function
	.comm	_ACL_ALL_RIGHTS_COLUMN,8,3      ; @ACL_ALL_RIGHTS_COLUMN
	.comm	_ACL_ALL_RIGHTS_RELATION,8,3    ; @ACL_ALL_RIGHTS_RELATION
	.comm	_ACL_ALL_RIGHTS_SEQUENCE,8,3    ; @ACL_ALL_RIGHTS_SEQUENCE
	.comm	_ACL_ALL_RIGHTS_DATABASE,8,3    ; @ACL_ALL_RIGHTS_DATABASE
	.comm	_ACL_ALL_RIGHTS_FUNCTION,8,3    ; @ACL_ALL_RIGHTS_FUNCTION
	.comm	_ACL_ALL_RIGHTS_LANGUAGE,8,3    ; @ACL_ALL_RIGHTS_LANGUAGE
	.comm	_ACL_ALL_RIGHTS_LARGEOBJECT,8,3 ; @ACL_ALL_RIGHTS_LARGEOBJECT
	.comm	_ACL_ALL_RIGHTS_SCHEMA,8,3      ; @ACL_ALL_RIGHTS_SCHEMA
	.comm	_ACL_ALL_RIGHTS_TABLESPACE,8,3  ; @ACL_ALL_RIGHTS_TABLESPACE
	.comm	_ACL_ALL_RIGHTS_FDW,8,3         ; @ACL_ALL_RIGHTS_FDW
	.comm	_ACL_ALL_RIGHTS_FOREIGN_SERVER,8,3 ; @ACL_ALL_RIGHTS_FOREIGN_SERVER
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"grantable rights not supported for event triggers"

	.comm	_ACL_NO_RIGHTS,8,3              ; @ACL_NO_RIGHTS
	.comm	_ACL_ALL_RIGHTS_TYPE,8,3        ; @ACL_ALL_RIGHTS_TYPE
l_.str.1:                               ; @.str.1
	.asciz	"unrecognized object type: %d"

	.comm	_ACLMASK_ANY,4,2                ; @ACLMASK_ANY
	.comm	_ACLCHECK_NO_PRIV,4,2           ; @ACLCHECK_NO_PRIV
	.comm	_WARNING,4,2                    ; @WARNING
	.comm	_ERRCODE_WARNING_PRIVILEGE_NOT_GRANTED,4,2 ; @ERRCODE_WARNING_PRIVILEGE_NOT_GRANTED
l_.str.2:                               ; @.str.2
	.asciz	"no privileges were granted for column \"%s\" of relation \"%s\""

l_.str.3:                               ; @.str.3
	.asciz	"no privileges were granted for \"%s\""

l_.str.4:                               ; @.str.4
	.asciz	"not all privileges were granted for column \"%s\" of relation \"%s\""

l_.str.5:                               ; @.str.5
	.asciz	"not all privileges were granted for \"%s\""

	.comm	_ERRCODE_WARNING_PRIVILEGE_NOT_REVOKED,4,2 ; @ERRCODE_WARNING_PRIVILEGE_NOT_REVOKED
l_.str.6:                               ; @.str.6
	.asciz	"no privileges could be revoked for column \"%s\" of relation \"%s\""

l_.str.7:                               ; @.str.7
	.asciz	"no privileges could be revoked for \"%s\""

l_.str.8:                               ; @.str.8
	.asciz	"not all privileges could be revoked for column \"%s\" of relation \"%s\""

l_.str.9:                               ; @.str.9
	.asciz	"not all privileges could be revoked for \"%s\""

	.no_dead_strip	_restrict_and_check_grant
.subsections_via_symbols
