	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SetSharedSecurityLabel
_SetSharedSecurityLabel:                ## @SetSharedSecurityLabel
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	movq	%rdi, -112(%rbp)                ## 8-byte Spill
	movq	%rsp, -120(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_Natts_pg_shseclabel@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movl	(%rbx), %r15d
	movq	%r15, %rbx
	shlq	$2, %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, %r14
	leal	(,%r15,4), %ebx
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_memset
	movq	%r14, -104(%rbp)                ## 8-byte Spill
	movq	%r14, %rdi
	movq	-112(%rbp), %r14                ## 8-byte Reload
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_memset
	movl	4(%r14), %edi
	callq	_ObjectIdGetDatum
	movq	_Anum_pg_shseclabel_objoid@GOTPCREL(%rip), %rbx
	movslq	(%rbx), %rcx
	movl	%eax, -4(%r13,%rcx,4)
	movl	(%r14), %edi
	callq	_ObjectIdGetDatum
	movq	_Anum_pg_shseclabel_classoid@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movl	%eax, -4(%r13,%rcx,4)
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_CStringGetTextDatum
	movq	_Anum_pg_shseclabel_provider@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movl	%eax, -4(%r13,%rcx,4)
	testq	%r15, %r15
	je	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_CStringGetTextDatum
	movq	_Anum_pg_shseclabel_label@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movl	%eax, -4(%r13,%rcx,4)
LBB0_2:
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %ebx
	movq	_BTEqualStrategyNumber@GOTPCREL(%rip), %r15
	movl	(%r15), %r12d
	movq	_F_OIDEQ@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	4(%r14), %edi
	callq	_ObjectIdGetDatum
	leaq	-64(%rbp), %rdi
	movl	%ebx, %esi
	movl	%r12d, %edx
	movl	%r13d, %ecx
	movl	%eax, %r8d
	callq	_ScanKeyInit
	leaq	-60(%rbp), %r12
	movq	_Anum_pg_shseclabel_classoid@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	(%r15), %r13d
	movq	_F_OIDEQ@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	(%r14), %edi
	callq	_ObjectIdGetDatum
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%r13d, %edx
	movl	%r15d, %ecx
	movl	%eax, %r8d
	callq	_ScanKeyInit
	leaq	-56(%rbp), %r14
	movq	_Anum_pg_shseclabel_provider@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_BTEqualStrategyNumber@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_F_TEXTEQ@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_CStringGetTextDatum
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	%r15d, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	callq	_ScanKeyInit
	movq	_SharedSecLabelRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RowExclusiveLock@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_table_open
	movl	%eax, %r13d
	movq	_SharedSecLabelObjectIndexId@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ebx, %ebx
	movl	%r13d, %edi
	movl	$1, %edx
	xorl	%ecx, %ecx
	movl	$3, %r8d
	leaq	-64(%rbp), %r9
	callq	_systable_beginscan
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_systable_getnext
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_HeapTupleIsValid
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	cmpq	$0, -72(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_4
## %bb.5:
	movq	_Anum_pg_shseclabel_label@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	movl	$1, -4(%rbx,%rax,4)
	movl	%r13d, %edi
	callq	_RelationGetDescr
	movq	%r14, %rdi
	movl	%eax, %esi
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	%rbx, %r8
	callq	_heap_modify_tuple
	movq	%rax, %rbx
	movl	%r13d, %edi
	movq	%r14, %rsi
	movq	%rax, %rdx
	callq	_CatalogTupleUpdate
	jmp	LBB0_6
LBB0_4:
	movl	%r13d, %edi
	movq	%r14, %rsi
	callq	_CatalogTupleDelete
	xorl	%ebx, %ebx
LBB0_6:
	movl	%r12d, %edi
	callq	_systable_endscan
	cmpq	$0, -72(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_9
## %bb.7:
	testq	%rbx, %rbx
	jne	LBB0_9
## %bb.8:
	movl	%r13d, %edi
	callq	_RelationGetDescr
	movl	%eax, %edi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	callq	_heap_form_tuple
	movq	%rax, %rbx
	movl	%r13d, %edi
	movq	%rax, %rsi
	callq	_CatalogTupleInsert
LBB0_9:
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.10:
	movq	%rbx, %rdi
	callq	_heap_freetuple
LBB0_11:
	movl	(%r15), %esi
	movl	%r13d, %edi
	callq	_table_close
	movq	-120(%rbp), %rsp                ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_Natts_pg_shseclabel,4,2        ## @Natts_pg_shseclabel
	.comm	_Anum_pg_shseclabel_objoid,4,2  ## @Anum_pg_shseclabel_objoid
	.comm	_Anum_pg_shseclabel_classoid,4,2 ## @Anum_pg_shseclabel_classoid
	.comm	_Anum_pg_shseclabel_provider,4,2 ## @Anum_pg_shseclabel_provider
	.comm	_Anum_pg_shseclabel_label,4,2   ## @Anum_pg_shseclabel_label
	.comm	_BTEqualStrategyNumber,4,2      ## @BTEqualStrategyNumber
	.comm	_F_OIDEQ,4,2                    ## @F_OIDEQ
	.comm	_F_TEXTEQ,4,2                   ## @F_TEXTEQ
	.comm	_SharedSecLabelRelationId,4,2   ## @SharedSecLabelRelationId
	.comm	_RowExclusiveLock,4,2           ## @RowExclusiveLock
	.comm	_SharedSecLabelObjectIndexId,4,2 ## @SharedSecLabelObjectIndexId
	.no_dead_strip	_SetSharedSecurityLabel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SetSharedSecurityLabel
_SetSharedSecurityLabel:                ; @SetSharedSecurityLabel
	.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, #64
	mov	x19, x2
	mov	x21, x1
	mov	x24, x0
	mov	x8, sp
	stur	x8, [x29, #-112]                ; 8-byte Folded Spill
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	x12, _Natts_pg_shseclabel@GOTPAGE
Lloh4:
	ldr	x12, [x12, _Natts_pg_shseclabel@GOTPAGEOFF]
	ldr	w8, [x12]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x20, x9, x8
	mov	sp, x20
	ldr	w12, [x12]
	lsl	x8, x12, #2
	mov	x9, x8
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x13, x10, #0x7fffffff0
	sub	x0, x9, x13
	mov	sp, x0
	mov	x9, x8
Lloh9:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh10:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x22, x8, x13
	mov	sp, x22
	lsl	w25, w12, #2
	stur	x0, [x29, #-128]                ; 8-byte Folded Spill
	mov	w1, #0
	mov	x2, x25
	bl	_memset
	stur	x22, [x29, #-136]               ; 8-byte Folded Spill
	mov	x0, x22
	mov	w1, #0
	mov	x2, x25
	bl	_memset
	ldr	w0, [x24, #4]
	bl	_ObjectIdGetDatum
Lloh11:
	adrp	x25, _Anum_pg_shseclabel_objoid@GOTPAGE
Lloh12:
	ldr	x25, [x25, _Anum_pg_shseclabel_objoid@GOTPAGEOFF]
	ldrsw	x8, [x25]
	add	x8, x20, x8, lsl #2
	stur	w0, [x8, #-4]
	ldr	w0, [x24]
	bl	_ObjectIdGetDatum
Lloh13:
	adrp	x28, _Anum_pg_shseclabel_classoid@GOTPAGE
Lloh14:
	ldr	x28, [x28, _Anum_pg_shseclabel_classoid@GOTPAGEOFF]
	ldrsw	x8, [x28]
	add	x8, x20, x8, lsl #2
	stur	w0, [x8, #-4]
	mov	x22, x21
	mov	x0, x21
	bl	_CStringGetTextDatum
Lloh15:
	adrp	x8, _Anum_pg_shseclabel_provider@GOTPAGE
Lloh16:
	ldr	x8, [x8, _Anum_pg_shseclabel_provider@GOTPAGEOFF]
Lloh17:
	ldrsw	x8, [x8]
	add	x8, x20, x8, lsl #2
	stur	w0, [x8, #-4]
Lloh18:
	adrp	x21, _Anum_pg_shseclabel_label@GOTPAGE
Lloh19:
	ldr	x21, [x21, _Anum_pg_shseclabel_label@GOTPAGEOFF]
	cbz	x19, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_CStringGetTextDatum
	ldrsw	x8, [x21]
	add	x8, x20, x8, lsl #2
	stur	w0, [x8, #-4]
LBB0_2:
	stur	x19, [x29, #-120]               ; 8-byte Folded Spill
Lloh20:
	adrp	x19, _BTEqualStrategyNumber@GOTPAGE
Lloh21:
	ldr	x19, [x19, _BTEqualStrategyNumber@GOTPAGEOFF]
	ldr	w25, [x25]
	ldr	w26, [x19]
Lloh22:
	adrp	x21, _F_OIDEQ@GOTPAGE
Lloh23:
	ldr	x21, [x21, _F_OIDEQ@GOTPAGEOFF]
	ldr	w27, [x21]
	ldr	w0, [x24, #4]
	bl	_ObjectIdGetDatum
	mov	x4, x0
	sub	x23, x29, #104
	sub	x0, x29, #104
	mov	x1, x25
	mov	x2, x26
	mov	x3, x27
	bl	_ScanKeyInit
	add	x25, x23, #4
	ldr	w26, [x28]
	ldr	w27, [x19]
	ldr	w28, [x21]
	ldr	w0, [x24]
	bl	_ObjectIdGetDatum
	mov	x4, x0
	mov	x0, x25
	mov	x1, x26
	mov	x2, x27
	mov	x3, x28
	bl	_ScanKeyInit
	add	x24, x23, #8
Lloh24:
	adrp	x8, _Anum_pg_shseclabel_provider@GOTPAGE
Lloh25:
	ldr	x8, [x8, _Anum_pg_shseclabel_provider@GOTPAGEOFF]
Lloh26:
	ldr	w25, [x8]
	ldr	w26, [x19]
Lloh27:
	adrp	x8, _F_TEXTEQ@GOTPAGE
Lloh28:
	ldr	x8, [x8, _F_TEXTEQ@GOTPAGEOFF]
Lloh29:
	ldr	w27, [x8]
	mov	x0, x22
	bl	_CStringGetTextDatum
	mov	x4, x0
	mov	x0, x24
	mov	x1, x25
	mov	x2, x26
	mov	x3, x27
	bl	_ScanKeyInit
Lloh30:
	adrp	x8, _SharedSecLabelRelationId@GOTPAGE
Lloh31:
	ldr	x8, [x8, _SharedSecLabelRelationId@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
Lloh33:
	adrp	x26, _RowExclusiveLock@GOTPAGE
Lloh34:
	ldr	x26, [x26, _RowExclusiveLock@GOTPAGEOFF]
	ldr	w1, [x26]
	bl	_table_open
	mov	x23, x0
Lloh35:
	adrp	x8, _SharedSecLabelObjectIndexId@GOTPAGE
Lloh36:
	ldr	x8, [x8, _SharedSecLabelObjectIndexId@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	sub	x5, x29, #104
	mov	w2, #1
	mov	x3, #0
	mov	w4, #3
	bl	_systable_beginscan
	mov	x24, x0
	bl	_systable_getnext
	mov	x25, x0
	bl	_HeapTupleIsValid
	cbz	x0, LBB0_5
; %bb.3:
	ldur	x19, [x29, #-120]               ; 8-byte Folded Reload
	cbz	x19, LBB0_6
; %bb.4:
Lloh38:
	adrp	x8, _Anum_pg_shseclabel_label@GOTPAGE
Lloh39:
	ldr	x8, [x8, _Anum_pg_shseclabel_label@GOTPAGEOFF]
Lloh40:
	ldrsw	x8, [x8]
	ldur	x21, [x29, #-136]               ; 8-byte Folded Reload
	add	x8, x21, x8, lsl #2
	mov	w9, #1
	stur	w9, [x8, #-4]
	mov	x0, x23
	bl	_RelationGetDescr
	mov	x1, x0
	mov	x0, x25
	mov	x2, x20
	ldur	x3, [x29, #-128]                ; 8-byte Folded Reload
	mov	x4, x21
	bl	_heap_modify_tuple
	mov	x22, x0
	mov	x0, x23
	mov	x1, x25
	mov	x2, x22
	bl	_CatalogTupleUpdate
	b	LBB0_7
LBB0_5:
	mov	x22, #0
	ldur	x19, [x29, #-120]               ; 8-byte Folded Reload
	b	LBB0_7
LBB0_6:
	mov	x0, x23
	mov	x1, x25
	bl	_CatalogTupleDelete
	mov	x22, #0
LBB0_7:
	mov	x0, x24
	bl	_systable_endscan
	cbz	x19, LBB0_10
; %bb.8:
	cbnz	x22, LBB0_10
; %bb.9:
	mov	x0, x23
	bl	_RelationGetDescr
	mov	x1, x20
	ldur	x2, [x29, #-128]                ; 8-byte Folded Reload
	bl	_heap_form_tuple
	mov	x22, x0
	mov	x0, x23
	mov	x1, x22
	bl	_CatalogTupleInsert
LBB0_10:
	cbz	x22, LBB0_12
; %bb.11:
	mov	x0, x22
	bl	_heap_freetuple
LBB0_12:
	ldr	w1, [x26]
	mov	x0, x23
	bl	_table_close
	ldur	x8, [x29, #-112]                ; 8-byte Folded Reload
	mov	sp, x8
	ldur	x8, [x29, #-88]
Lloh41:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh42:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh43:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	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_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.comm	_Natts_pg_shseclabel,4,2        ; @Natts_pg_shseclabel
	.comm	_Anum_pg_shseclabel_objoid,4,2  ; @Anum_pg_shseclabel_objoid
	.comm	_Anum_pg_shseclabel_classoid,4,2 ; @Anum_pg_shseclabel_classoid
	.comm	_Anum_pg_shseclabel_provider,4,2 ; @Anum_pg_shseclabel_provider
	.comm	_Anum_pg_shseclabel_label,4,2   ; @Anum_pg_shseclabel_label
	.comm	_BTEqualStrategyNumber,4,2      ; @BTEqualStrategyNumber
	.comm	_F_OIDEQ,4,2                    ; @F_OIDEQ
	.comm	_F_TEXTEQ,4,2                   ; @F_TEXTEQ
	.comm	_SharedSecLabelRelationId,4,2   ; @SharedSecLabelRelationId
	.comm	_RowExclusiveLock,4,2           ; @RowExclusiveLock
	.comm	_SharedSecLabelObjectIndexId,4,2 ; @SharedSecLabelObjectIndexId
	.no_dead_strip	_SetSharedSecurityLabel
.subsections_via_symbols
