	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ExecCheckRTEPermsModified
_ExecCheckRTEPermsModified:             ## @ExecCheckRTEPermsModified
	.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, %r12d
	movq	%rdx, %rbx
	movl	%esi, %r14d
	movl	%edi, %r15d
	movq	%rdx, %rdi
	callq	_bms_is_empty
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_ACLMASK_ANY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r15d, %edi
	movl	%r14d, %esi
	movl	%r12d, %edx
	callq	_pg_attribute_aclcheck_all
	movq	_ACLCHECK_OK@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	jne	LBB0_10
LBB0_2:
	movq	%rbx, %rdi
	movl	$-1, %esi
	callq	_bms_next_member
	movl	$1, %edx
	testl	%eax, %eax
	js	LBB0_10
## %bb.3:
	movl	%eax, %r13d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elog
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_bms_next_member
	movl	%eax, %r13d
	testl	%eax, %eax
	js	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r13d, %esi
	movq	_FirstLowInvalidHeapAttributeNumber@GOTPCREL(%rip), %rax
	addq	(%rax), %rsi
	movq	_InvalidAttrNumber@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	je	LBB0_5
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%r15d, %edi
	movl	%r14d, %edx
	movl	%r12d, %ecx
	callq	_pg_attribute_aclcheck
	movq	_ACLCHECK_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.9:
	xorl	%edx, %edx
	jmp	LBB0_10
LBB0_7:
	movl	$1, %edx
LBB0_10:
	movl	%edx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ACLMASK_ANY,4,2                ## @ACLMASK_ANY
	.comm	_ACLCHECK_OK,8,3                ## @ACLCHECK_OK
	.comm	_FirstLowInvalidHeapAttributeNumber,8,3 ## @FirstLowInvalidHeapAttributeNumber
	.comm	_InvalidAttrNumber,8,3          ## @InvalidAttrNumber
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"whole-row update is not implemented"

	.no_dead_strip	_ExecCheckRTEPermsModified
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ExecCheckRTEPermsModified
_ExecCheckRTEPermsModified:             ; @ExecCheckRTEPermsModified
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	mov	x0, x2
	bl	_bms_is_empty
Lloh0:
	adrp	x25, _ACLCHECK_OK@GOTPAGE
Lloh1:
	ldr	x25, [x25, _ACLCHECK_OK@GOTPAGEOFF]
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _ACLMASK_ANY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ACLMASK_ANY@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
	mov	x0, x22
	mov	x1, x21
	mov	x2, x19
	bl	_pg_attribute_aclcheck_all
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_8
LBB0_2:
	mov	x0, x20
	mov	w1, #-1
	bl	_bms_next_member
	tbnz	w0, #31, LBB0_9
; %bb.3:
	mov	x23, x0
Lloh5:
	adrp	x26, _FirstLowInvalidHeapAttributeNumber@GOTPAGE
Lloh6:
	ldr	x26, [x26, _FirstLowInvalidHeapAttributeNumber@GOTPAGEOFF]
Lloh7:
	adrp	x27, _InvalidAttrNumber@GOTPAGE
Lloh8:
	ldr	x27, [x27, _InvalidAttrNumber@GOTPAGEOFF]
Lloh9:
	adrp	x24, l_.str@PAGE
Lloh10:
	add	x24, x24, l_.str@PAGEOFF
Lloh11:
	adrp	x28, _ERROR@GOTPAGE
Lloh12:
	ldr	x28, [x28, _ERROR@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x28]
	mov	x1, x24
	bl	_elog
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	mov	x1, x23
	bl	_bms_next_member
	mov	x23, x0
	tbnz	w0, #31, LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x26]
	add	x1, x8, w23, uxtw
	ldr	x8, [x27]
	cmp	x1, x8
	b.eq	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x22
	mov	x2, x21
	mov	x3, x19
	bl	_pg_attribute_aclcheck
	ldr	x8, [x25]
	cmp	x0, x8
	b.eq	LBB0_5
LBB0_8:
	mov	w0, #0
	b	LBB0_10
LBB0_9:
	mov	w0, #1
LBB0_10:
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ACLMASK_ANY,4,2                ; @ACLMASK_ANY
	.comm	_ACLCHECK_OK,8,3                ; @ACLCHECK_OK
	.comm	_FirstLowInvalidHeapAttributeNumber,8,3 ; @FirstLowInvalidHeapAttributeNumber
	.comm	_InvalidAttrNumber,8,3          ; @InvalidAttrNumber
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"whole-row update is not implemented"

	.no_dead_strip	_ExecCheckRTEPermsModified
.subsections_via_symbols
