	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function expand_all_col_privileges
_expand_all_col_privileges:             ## @expand_all_col_privileges
	.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
	movq	%rsi, %r13
	movl	(%rsi), %eax
	movq	_FirstLowInvalidHeapAttributeNumber@GOTPCREL(%rip), %rbx
	subl	(%rbx), %eax
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	xorl	%edi, %edi
	cmpl	%r8d, %eax
	setl	%dil
	callq	_Assert
	movslq	(%rbx), %rbx
	cmpl	(%r13), %ebx
	jge	LBB0_10
## %bb.1:
	incq	%rbx
	movq	_InvalidAttrNumber@GOTPCREL(%rip), %rdx
	movq	_RELKIND_VIEW@GOTPCREL(%rip), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	1(%rbx), %rax
	movslq	(%r13), %rcx
	cmpq	%rcx, %rbx
	movq	%rax, %rbx
	jge	LBB0_10
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	(%rdx), %rbx
	je	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r13), %rax
	cmpq	(%r12), %rax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	testq	%rbx, %rbx
	js	LBB0_9
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_ATTNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_ObjectIdGetDatum
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_Int16GetDatum
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_SearchSysCache2
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_HeapTupleIsValid
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_elog
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r14d, %edi
	callq	_GETSTRUCT
	movl	(%rax), %r15d
	movl	%r14d, %edi
	callq	_ReleaseSysCache
	testl	%r15d, %r15d
	movq	_InvalidAttrNumber@GOTPCREL(%rip), %rdx
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_FirstLowInvalidHeapAttributeNumber@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	shlq	$2, %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	subq	%rax, %rcx
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	orl	%eax, (%rcx,%rbx,4)
	jmp	LBB0_9
LBB0_10:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FirstLowInvalidHeapAttributeNumber,4,2 ## @FirstLowInvalidHeapAttributeNumber
	.comm	_InvalidAttrNumber,8,3          ## @InvalidAttrNumber
	.comm	_RELKIND_VIEW,8,3               ## @RELKIND_VIEW
	.comm	_ATTNUM,4,2                     ## @ATTNUM
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cache lookup failed for attribute %d of relation %u"

	.no_dead_strip	_expand_all_col_privileges
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function expand_all_col_privileges
_expand_all_col_privileges:             ; @expand_all_col_privileges
	.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
	ldr	w8, [x1]
Lloh0:
	adrp	x23, _FirstLowInvalidHeapAttributeNumber@GOTPAGE
Lloh1:
	ldr	x23, [x23, _FirstLowInvalidHeapAttributeNumber@GOTPAGEOFF]
	ldr	w9, [x23]
	sub	w8, w8, w9
	cmp	w8, w4
	cset	w0, lt
	bl	_Assert
	ldrsw	x8, [x23]
	ldr	w9, [x21]
	cmp	w8, w9
	b.ge	LBB0_10
; %bb.1:
	add	x23, x8, #1
Lloh2:
	adrp	x28, _InvalidAttrNumber@GOTPAGE
Lloh3:
	ldr	x28, [x28, _InvalidAttrNumber@GOTPAGEOFF]
Lloh4:
	adrp	x24, _RELKIND_VIEW@GOTPAGE
Lloh5:
	ldr	x24, [x24, _RELKIND_VIEW@GOTPAGEOFF]
Lloh6:
	adrp	x27, _ATTNUM@GOTPAGE
Lloh7:
	ldr	x27, [x27, _ATTNUM@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x23, #1
	ldrsw	x9, [x21]
	cmp	x23, x9
	mov	x23, x8
	b.ge	LBB0_10
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x28]
	cmp	x23, x8
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x21, #8]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	tbnz	x23, #63, LBB0_2
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w25, [x27]
	mov	x0, x22
	bl	_ObjectIdGetDatum
	mov	x26, x0
	mov	x0, x23
	bl	_Int16GetDatum
	mov	x2, x0
	mov	x0, x25
	mov	x1, x26
	bl	_SearchSysCache2
	mov	x25, x0
	bl	_HeapTupleIsValid
	cbnz	w0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh8:
	adrp	x8, _ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x23
	mov	x3, x22
	bl	_elog
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x25
	bl	_GETSTRUCT
	ldr	w26, [x0]
	mov	x0, x25
	bl	_ReleaseSysCache
	cbnz	w26, LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh13:
	adrp	x8, _FirstLowInvalidHeapAttributeNumber@GOTPAGE
Lloh14:
	ldr	x8, [x8, _FirstLowInvalidHeapAttributeNumber@GOTPAGEOFF]
Lloh15:
	ldrsw	x8, [x8]
	sub	x8, x19, x8, lsl #2
	lsl	x9, x23, #2
	ldr	w10, [x8, x9]
	orr	w10, w10, w20
	str	w10, [x8, x9]
	b	LBB0_2
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 AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_FirstLowInvalidHeapAttributeNumber,4,2 ; @FirstLowInvalidHeapAttributeNumber
	.comm	_InvalidAttrNumber,8,3          ; @InvalidAttrNumber
	.comm	_RELKIND_VIEW,8,3               ; @RELKIND_VIEW
	.comm	_ATTNUM,4,2                     ; @ATTNUM
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cache lookup failed for attribute %d of relation %u"

	.no_dead_strip	_expand_all_col_privileges
.subsections_via_symbols
