	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function change_owner_fix_column_acls
_change_owner_fix_column_acls:          ## @change_owner_fix_column_acls
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -64(%rbp)                 ## 4-byte Spill
	movl	%esi, -60(%rbp)                 ## 4-byte Spill
	movl	%edi, %r14d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_AttributeRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RowExclusiveLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_table_open
	movl	%eax, %ebx
	movq	_Anum_pg_attribute_attrelid@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_BTEqualStrategyNumber@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_F_OIDEQ@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	%r14d, %edi
	callq	_ObjectIdGetDatum
	leaq	-92(%rbp), %r14
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%r12d, %edx
	movl	%r13d, %ecx
	movl	%eax, %r8d
	callq	_ScanKeyInit
	movq	_AttributeRelidNumIndexId@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	movl	$1, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movq	%r14, %r9
	callq	_systable_beginscan
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	%eax, %edi
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	-88(%rbp), %rsp                 ## 8-byte Reload
	movl	-56(%rbp), %edi                 ## 4-byte Reload
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	callq	_systable_getnext
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_HeapTupleIsValid
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	callq	_GETSTRUCT
	movq	%rsp, -88(%rbp)                 ## 8-byte Spill
	movslq	%eax, %r13
	movq	_Natts_pg_attribute@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -80(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %r15d
	leaq	(,%r15,4), %rbx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rcx
	cmpq	$0, (%r13)
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_Anum_pg_attribute_attacl@GOTPCREL(%rip), %rax
	movq	%rcx, %r13
	movl	(%rax), %ebx
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	callq	_RelationGetDescr
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	%r13, %rbx
	movl	%eax, %edx
	leaq	-68(%rbp), %rcx
	callq	_heap_getattr
	cmpl	$0, -68(%rbp)
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	shll	$2, %r15d
	movq	%r12, %r13
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	%r15d, %edx
	movl	%eax, %r12d
	callq	_memset
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%r15d, %edx
	callq	_memset
	movl	%r12d, %edi
	callq	_DatumGetAclP
	movl	%eax, %edi
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	movl	-64(%rbp), %edx                 ## 4-byte Reload
	callq	_aclnewowner
	movq	_Anum_pg_attribute_attacl@GOTPCREL(%rip), %rcx
	movq	%rbx, %r12
	movq	%rcx, %rbx
	movslq	(%rcx), %rcx
	movl	$1, -4(%r12,%rcx,4)
	movq	%rax, %rdi
	callq	_PointerGetDatum
	movslq	(%rbx), %rcx
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movl	%eax, -4(%rbx,%rcx,4)
	movl	-52(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %edi
	callq	_RelationGetDescr
	movq	%r14, %rdi
	movl	%eax, %esi
	movq	%rbx, %rdx
	movq	%r13, %rcx
	movq	%r12, %r8
	callq	_heap_modify_tuple
	movq	%rax, %rbx
	movl	%r15d, %edi
	movq	%rax, %rsi
	movq	%rax, %rdx
	callq	_CatalogTupleUpdate
	movq	%rbx, %rdi
	callq	_heap_freetuple
	jmp	LBB0_5
LBB0_6:
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	callq	_systable_endscan
	movq	_RowExclusiveLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	callq	_table_close
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_AttributeRelationId,4,2        ## @AttributeRelationId
	.comm	_RowExclusiveLock,4,2           ## @RowExclusiveLock
	.comm	_Anum_pg_attribute_attrelid,4,2 ## @Anum_pg_attribute_attrelid
	.comm	_BTEqualStrategyNumber,4,2      ## @BTEqualStrategyNumber
	.comm	_F_OIDEQ,4,2                    ## @F_OIDEQ
	.comm	_AttributeRelidNumIndexId,4,2   ## @AttributeRelidNumIndexId
	.comm	_Natts_pg_attribute,4,2         ## @Natts_pg_attribute
	.comm	_Anum_pg_attribute_attacl,4,2   ## @Anum_pg_attribute_attacl
	.no_dead_strip	_change_owner_fix_column_acls
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function change_owner_fix_column_acls
_change_owner_fix_column_acls:          ; @change_owner_fix_column_acls
	.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
	sub	sp, sp, #32
	stp	w1, w2, [x29, #-104]            ; 8-byte Folded Spill
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _AttributeRelationId@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AttributeRelationId@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _RowExclusiveLock@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RowExclusiveLock@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_table_open
	mov	x21, x0
Lloh9:
	adrp	x8, _Anum_pg_attribute_attrelid@GOTPAGE
Lloh10:
	ldr	x8, [x8, _Anum_pg_attribute_attrelid@GOTPAGEOFF]
Lloh11:
	ldr	w23, [x8]
Lloh12:
	adrp	x8, _BTEqualStrategyNumber@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BTEqualStrategyNumber@GOTPAGEOFF]
Lloh14:
	ldr	w24, [x8]
Lloh15:
	adrp	x8, _F_OIDEQ@GOTPAGE
Lloh16:
	ldr	x8, [x8, _F_OIDEQ@GOTPAGEOFF]
Lloh17:
	ldr	w25, [x8]
	mov	x0, x22
	bl	_ObjectIdGetDatum
	mov	x4, x0
	sub	x0, x29, #92
	mov	x1, x23
	mov	x2, x24
	mov	x3, x25
	bl	_ScanKeyInit
Lloh18:
	adrp	x8, _AttributeRelidNumIndexId@GOTPAGE
Lloh19:
	ldr	x8, [x8, _AttributeRelidNumIndexId@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	sub	x5, x29, #92
	mov	x0, x21
	mov	w2, #1
	mov	x3, #0
	mov	w4, #1
	bl	_systable_beginscan
	mov	x22, x0
	bl	_systable_getnext
	mov	x23, x0
	bl	_HeapTupleIsValid
	cbz	x0, LBB0_6
; %bb.1:
Lloh21:
	adrp	x19, _Natts_pg_attribute@GOTPAGE
Lloh22:
	ldr	x19, [x19, _Natts_pg_attribute@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	sp, x20
	mov	x0, x22
	bl	_systable_getnext
	mov	x23, x0
	bl	_HeapTupleIsValid
	cbz	x0, LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	bl	_GETSTRUCT
                                        ; kill: def $w0 killed $w0 def $x0
	mov	x20, sp
	sxtw	x12, w0
	ldr	w8, [x19]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh23:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh24:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x24, x9, x8
	mov	sp, x24
	ldr	w28, [x19]
	lsl	x8, x28, #2
	mov	x9, x8
Lloh25:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh26:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x13, x10, #0x7fffffff0
	sub	x25, x9, x13
	mov	sp, x25
	mov	x9, x8
Lloh27:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh28:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x26, x8, x13
	mov	sp, x26
	ldr	x8, [x12]
	cbnz	x8, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh29:
	adrp	x8, _Anum_pg_attribute_attacl@GOTPAGE
Lloh30:
	ldr	x8, [x8, _Anum_pg_attribute_attacl@GOTPAGEOFF]
Lloh31:
	ldr	w27, [x8]
	mov	x0, x21
	bl	_RelationGetDescr
	mov	x2, x0
	sub	x3, x29, #96
	mov	x0, x23
	mov	x1, x27
	bl	_heap_getattr
	ldur	w8, [x29, #-96]
	cbnz	w8, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x27, x0
	lsl	w28, w28, #2
	mov	x0, x25
	mov	w1, #0
	mov	x2, x28
	bl	_memset
	mov	x0, x26
	mov	w1, #0
	mov	x2, x28
	bl	_memset
	mov	x0, x27
	bl	_DatumGetAclP
	ldp	w1, w2, [x29, #-104]            ; 8-byte Folded Reload
	bl	_aclnewowner
Lloh32:
	adrp	x27, _Anum_pg_attribute_attacl@GOTPAGE
Lloh33:
	ldr	x27, [x27, _Anum_pg_attribute_attacl@GOTPAGEOFF]
	ldrsw	x8, [x27]
	add	x8, x26, x8, lsl #2
	mov	w9, #1
	stur	w9, [x8, #-4]
	bl	_PointerGetDatum
	ldrsw	x8, [x27]
	add	x8, x24, x8, lsl #2
	stur	w0, [x8, #-4]
	mov	x0, x21
	bl	_RelationGetDescr
	mov	x1, x0
	mov	x0, x23
	mov	x2, x24
	mov	x3, x25
	mov	x4, x26
	bl	_heap_modify_tuple
	mov	x23, x0
	mov	x0, x21
	mov	x1, x23
	mov	x2, x23
	bl	_CatalogTupleUpdate
	mov	x0, x23
	bl	_heap_freetuple
	b	LBB0_2
LBB0_6:
	mov	x0, x22
	bl	_systable_endscan
Lloh34:
	adrp	x8, _RowExclusiveLock@GOTPAGE
Lloh35:
	ldr	x8, [x8, _RowExclusiveLock@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_table_close
	ldur	x8, [x29, #-88]
Lloh37:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh38:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh39:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	sub	sp, x29, #80
	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
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_AttributeRelationId,4,2        ; @AttributeRelationId
	.comm	_RowExclusiveLock,4,2           ; @RowExclusiveLock
	.comm	_Anum_pg_attribute_attrelid,4,2 ; @Anum_pg_attribute_attrelid
	.comm	_BTEqualStrategyNumber,4,2      ; @BTEqualStrategyNumber
	.comm	_F_OIDEQ,4,2                    ; @F_OIDEQ
	.comm	_AttributeRelidNumIndexId,4,2   ; @AttributeRelidNumIndexId
	.comm	_Natts_pg_attribute,4,2         ; @Natts_pg_attribute
	.comm	_Anum_pg_attribute_attacl,4,2   ; @Anum_pg_attribute_attacl
	.no_dead_strip	_change_owner_fix_column_acls
.subsections_via_symbols
