	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function selinux_sb_clone_mnt_opts
_selinux_sb_clone_mnt_opts:             ## @selinux_sb_clone_mnt_opts
	.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	8(%rsi), %rbx
	movq	_ss_initialized@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_1
## %bb.4:
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	8(%rdi), %r12
	movl	(%r12), %r15d
	movq	_FSCONTEXT_MNT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_CONTEXT_MNT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_ROOTCONTEXT_MNT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_SE_SBINITIALIZED@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	movl	(%rax), %eax
	andl	%r15d, %eax
	sete	%dil
	callq	_BUG_ON
	movq	_SE_SBINITIALIZED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_5
## %bb.15:
	movq	%r13, %rdi
	movq	%r14, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_selinux_cmp_sb_context         ## TAILCALL
LBB0_1:
	movq	_sb_security_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock
	addq	$32, %rbx
	movq	%rbx, %rdi
	callq	_list_empty
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_superblock_security_head@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_list_add
LBB0_3:
	movq	_sb_security_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock
	jmp	LBB0_14
LBB0_5:
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	leaq	4(%rbx), %rdi
	movq	%rdi, %r13
	callq	_mutex_lock
	movl	(%r12), %eax
	movl	%eax, (%rbx)
	movq	16(%r12), %rax
	movq	%rax, 16(%rbx)
	movl	28(%r12), %eax
	movl	%eax, 28(%rbx)
	movl	24(%r12), %eax
	movl	%eax, 24(%rbx)
	testl	%r15d, -52(%rbp)                ## 4-byte Folded Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	je	LBB0_11
## %bb.6:
	movq	8(%r12), %rax
	testl	%r15d, -44(%rbp)                ## 4-byte Folded Reload
	je	LBB0_7
## %bb.8:
	testl	%r15d, %edx
	je	LBB0_9
LBB0_10:
	movq	%rax, 8(%rbx)
LBB0_11:
	testl	%r15d, %edx
	je	LBB0_13
## %bb.12:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%r14), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	movq	(%rax), %rax
	movq	%rax, (%rcx)
LBB0_13:
	movq	%r14, %rdi
	callq	_sb_finish_set_opts
	movq	%r13, %rdi
	callq	_mutex_unlock
LBB0_14:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%rax, 16(%rbx)
	testl	%r15d, %edx
	jne	LBB0_10
LBB0_9:
	movq	(%r14), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_FSCONTEXT_MNT,4,2              ## @FSCONTEXT_MNT
	.comm	_CONTEXT_MNT,4,2                ## @CONTEXT_MNT
	.comm	_ROOTCONTEXT_MNT,4,2            ## @ROOTCONTEXT_MNT
	.comm	_ss_initialized,4,2             ## @ss_initialized
	.comm	_sb_security_lock,4,2           ## @sb_security_lock
	.comm	_superblock_security_head,4,2   ## @superblock_security_head
	.comm	_SE_SBINITIALIZED,4,2           ## @SE_SBINITIALIZED
	.no_dead_strip	_selinux_sb_clone_mnt_opts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function selinux_sb_clone_mnt_opts
_selinux_sb_clone_mnt_opts:             ; @selinux_sb_clone_mnt_opts
	.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
	ldr	x22, [x1, #8]
Lloh0:
	adrp	x8, _ss_initialized@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ss_initialized@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	ldr	x23, [x0, #8]
	ldr	w24, [x23]
Lloh3:
	adrp	x8, _FSCONTEXT_MNT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FSCONTEXT_MNT@GOTPAGEOFF]
Lloh5:
	ldr	w25, [x8]
Lloh6:
	adrp	x8, _CONTEXT_MNT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CONTEXT_MNT@GOTPAGEOFF]
Lloh8:
	ldr	w21, [x8]
Lloh9:
	adrp	x8, _ROOTCONTEXT_MNT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ROOTCONTEXT_MNT@GOTPAGEOFF]
Lloh11:
	ldr	w26, [x8]
Lloh12:
	adrp	x27, _SE_SBINITIALIZED@GOTPAGE
Lloh13:
	ldr	x27, [x27, _SE_SBINITIALIZED@GOTPAGEOFF]
	ldr	w8, [x27]
	tst	w8, w24
	cset	w0, eq
	bl	_BUG_ON
	ldr	w8, [x22]
	ldr	w9, [x27]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.2:
	mov	x0, x20
	mov	x1, x19
	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
	b	_selinux_cmp_sb_context
LBB0_3:
Lloh14:
	adrp	x0, _sb_security_lock@GOTPAGE
Lloh15:
	ldr	x0, [x0, _sb_security_lock@GOTPAGEOFF]
	bl	_spin_lock
	add	x19, x22, #32
	mov	x0, x19
	bl	_list_empty
	cbz	x0, LBB0_5
; %bb.4:
Lloh16:
	adrp	x1, _superblock_security_head@GOTPAGE
Lloh17:
	ldr	x1, [x1, _superblock_security_head@GOTPAGEOFF]
	mov	x0, x19
	bl	_list_add
LBB0_5:
Lloh18:
	adrp	x0, _sb_security_lock@GOTPAGE
Lloh19:
	ldr	x0, [x0, _sb_security_lock@GOTPAGEOFF]
	bl	_spin_unlock
	b	LBB0_13
LBB0_6:
	and	w27, w21, w24
	and	w26, w26, w24
	add	x21, x22, #4
	mov	x0, x21
	bl	_mutex_lock
	ldr	w8, [x23]
	str	w8, [x22]
	ldr	x8, [x23, #16]
	str	x8, [x22, #16]
	ldr	d0, [x23, #24]
	str	d0, [x22, #24]
	cbz	w27, LBB0_10
; %bb.7:
	ldr	x8, [x23, #8]
	and	w9, w25, w24
	cbz	w9, LBB0_14
; %bb.8:
	cbz	w26, LBB0_15
LBB0_9:
	str	x8, [x22, #8]
LBB0_10:
	cbz	w26, LBB0_12
; %bb.11:
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x9, [x19]
	ldr	x9, [x9]
	ldr	x9, [x9]
	ldr	x8, [x8]
	str	x8, [x9]
LBB0_12:
	mov	x0, x19
	bl	_sb_finish_set_opts
	mov	x0, x21
	bl	_mutex_unlock
LBB0_13:
	mov	w0, #0
	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:
	str	x8, [x22, #16]
	cbnz	w26, LBB0_9
LBB0_15:
	ldr	x9, [x19]
	ldr	x9, [x9]
	ldr	x9, [x9]
	str	x8, [x9]
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_FSCONTEXT_MNT,4,2              ; @FSCONTEXT_MNT
	.comm	_CONTEXT_MNT,4,2                ; @CONTEXT_MNT
	.comm	_ROOTCONTEXT_MNT,4,2            ; @ROOTCONTEXT_MNT
	.comm	_ss_initialized,4,2             ; @ss_initialized
	.comm	_sb_security_lock,4,2           ; @sb_security_lock
	.comm	_superblock_security_head,4,2   ; @superblock_security_head
	.comm	_SE_SBINITIALIZED,4,2           ; @SE_SBINITIALIZED
	.no_dead_strip	_selinux_sb_clone_mnt_opts
.subsections_via_symbols
