	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function selinux_get_mnt_opts
_selinux_get_mnt_opts:                  ## @selinux_get_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	%rsi, %r14
	movq	(%rdi), %r15
	movq	$0, -48(%rbp)
	movq	%rsi, %rdi
	callq	_security_init_mnt_opts
	movl	(%r15), %eax
	movq	_SE_SBINITIALIZED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_1
## %bb.2:
	movq	_ss_initialized@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	je	LBB0_1
## %bb.3:
	movq	_SE_MNTMASK@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	andb	%al, %cl
	testb	$1, %cl
	jne	LBB0_4
## %bb.5:
	testb	$2, %cl
	jne	LBB0_6
LBB0_7:
	testb	$4, %cl
	jne	LBB0_8
LBB0_9:
	testb	$8, %cl
	jne	LBB0_10
LBB0_11:
	testb	$16, %cl
	jne	LBB0_12
LBB0_13:
	testb	$32, %cl
	jne	LBB0_14
LBB0_15:
	testb	$64, %cl
	jne	LBB0_16
LBB0_17:
	testb	%cl, %cl
	js	LBB0_18
LBB0_19:
	movq	_SE_SBLABELSUPP@GOTPCREL(%rip), %rcx
	movl	(%r14), %edi
	testl	%eax, (%rcx)
	je	LBB0_21
## %bb.20:
	incl	%edi
	movl	%edi, (%r14)
LBB0_21:
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movl	$8, %esi
	callq	_kcalloc
	movq	%rax, 8(%r14)
	testq	%rax, %rax
	je	LBB0_22
## %bb.24:
	movl	(%r14), %edi
	movl	(%rbx), %edx
	movl	$4, %esi
	callq	_kcalloc
	movq	%rax, 16(%r14)
	testq	%rax, %rax
	je	LBB0_22
## %bb.25:
	movl	(%r15), %eax
	movq	_FSCONTEXT_MNT@GOTPCREL(%rip), %r13
	testl	%eax, (%r13)
	je	LBB0_26
## %bb.27:
	movl	24(%r15), %edi
	leaq	-48(%rbp), %rsi
	leaq	-52(%rbp), %rdx
	callq	_security_sid_to_context
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_23
## %bb.28:
	movq	-48(%rbp), %rax
	movq	8(%r14), %rcx
	movq	%rax, (%rcx)
	movl	(%r13), %eax
	movq	16(%r14), %rcx
	movl	%eax, (%rcx)
	movl	(%r15), %eax
	movl	$1, %esi
	jmp	LBB0_29
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_41
LBB0_22:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_23:
	movq	%r14, %rdi
	callq	_security_free_mnt_opts
LBB0_41:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	incl	(%r14)
	testb	$2, %cl
	je	LBB0_7
LBB0_6:
	incl	(%r14)
	testb	$4, %cl
	je	LBB0_9
LBB0_8:
	incl	(%r14)
	testb	$8, %cl
	je	LBB0_11
LBB0_10:
	incl	(%r14)
	testb	$16, %cl
	je	LBB0_13
LBB0_12:
	incl	(%r14)
	testb	$32, %cl
	je	LBB0_15
LBB0_14:
	incl	(%r14)
	testb	$64, %cl
	je	LBB0_17
LBB0_16:
	incl	(%r14)
	testb	%cl, %cl
	jns	LBB0_19
LBB0_18:
	incl	(%r14)
	jmp	LBB0_19
LBB0_26:
	xorl	%esi, %esi
LBB0_29:
	movq	_CONTEXT_MNT@GOTPCREL(%rip), %r13
	testl	%eax, (%r13)
	je	LBB0_32
## %bb.30:
	movl	%esi, %r12d
	movl	20(%r15), %edi
	leaq	-48(%rbp), %rsi
	leaq	-52(%rbp), %rdx
	callq	_security_sid_to_context
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_23
## %bb.31:
	movq	-48(%rbp), %rax
	movq	8(%r14), %rcx
	movl	%r12d, %esi
	movl	%r12d, %edx
	movq	%rax, (%rcx,%rdx,8)
	movl	(%r13), %eax
	movq	16(%r14), %rcx
	incl	%esi
	movl	%eax, (%rcx,%rdx,4)
	movl	(%r15), %eax
LBB0_32:
	movq	_DEFCONTEXT_MNT@GOTPCREL(%rip), %r13
	testl	%eax, (%r13)
	je	LBB0_35
## %bb.33:
	movl	%esi, %r12d
	movl	16(%r15), %edi
	leaq	-48(%rbp), %rsi
	leaq	-52(%rbp), %rdx
	callq	_security_sid_to_context
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_23
## %bb.34:
	movq	-48(%rbp), %rax
	movq	8(%r14), %rcx
	movl	%r12d, %esi
	movl	%r12d, %edx
	movq	%rax, (%rcx,%rdx,8)
	movl	(%r13), %eax
	movq	16(%r14), %rcx
	incl	%esi
	movl	%eax, (%rcx,%rdx,4)
	movl	(%r15), %eax
LBB0_35:
	movq	_SE_SBLABELSUPP@GOTPCREL(%rip), %rcx
	movq	_ROOTCONTEXT_MNT@GOTPCREL(%rip), %r12
	testl	%eax, (%r12)
	je	LBB0_38
## %bb.36:
	movl	%esi, %r13d
	movq	8(%r15), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	leaq	-48(%rbp), %rsi
	leaq	-52(%rbp), %rdx
	callq	_security_sid_to_context
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_23
## %bb.37:
	movq	-48(%rbp), %rax
	movq	8(%r14), %rcx
	movl	%r13d, %esi
	movl	%r13d, %edx
	movq	%rax, (%rcx,%rdx,8)
	movl	(%r12), %eax
	movq	16(%r14), %rcx
	incl	%esi
	movl	%eax, (%rcx,%rdx,4)
	movl	(%r15), %eax
	movq	_SE_SBLABELSUPP@GOTPCREL(%rip), %rcx
LBB0_38:
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_40
## %bb.39:
	movq	8(%r14), %rax
	movl	%esi, %edx
	movq	$0, (%rax,%rdx,8)
	movq	16(%r14), %rax
	incl	%esi
	movl	%ecx, (%rax,%rdx,4)
LBB0_40:
	xorl	%edi, %edi
	cmpl	(%r14), %esi
	setne	%dil
	callq	_BUG_ON
	xorl	%ebx, %ebx
	jmp	LBB0_41
	.cfi_endproc
                                        ## -- End function
	.comm	_SE_SBINITIALIZED,4,2           ## @SE_SBINITIALIZED
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ss_initialized,4,2             ## @ss_initialized
	.comm	_SE_MNTMASK,1,0                 ## @SE_MNTMASK
	.comm	_SE_SBLABELSUPP,4,2             ## @SE_SBLABELSUPP
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_FSCONTEXT_MNT,4,2              ## @FSCONTEXT_MNT
	.comm	_CONTEXT_MNT,4,2                ## @CONTEXT_MNT
	.comm	_DEFCONTEXT_MNT,4,2             ## @DEFCONTEXT_MNT
	.comm	_ROOTCONTEXT_MNT,4,2            ## @ROOTCONTEXT_MNT
	.no_dead_strip	_selinux_get_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_get_mnt_opts
_selinux_get_mnt_opts:                  ; @selinux_get_mnt_opts
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x1
	ldr	x21, [x0]
	str	xzr, [sp, #8]
	mov	x0, x1
	bl	_security_init_mnt_opts
	ldr	w8, [x21]
Lloh0:
	adrp	x9, _SE_SBINITIALIZED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SE_SBINITIALIZED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_17
; %bb.1:
Lloh3:
	adrp	x9, _ss_initialized@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ss_initialized@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cbz	w9, LBB0_17
; %bb.2:
Lloh6:
	adrp	x9, _SE_MNTMASK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SE_MNTMASK@GOTPAGEOFF]
	ldrb	w9, [x9]
	and	w9, w8, w9
	tbnz	w9, #0, LBB0_21
; %bb.3:
	tbnz	w9, #1, LBB0_22
LBB0_4:
	tbnz	w9, #2, LBB0_23
LBB0_5:
	tbnz	w9, #3, LBB0_24
LBB0_6:
	tbnz	w9, #4, LBB0_25
LBB0_7:
	tbnz	w9, #5, LBB0_26
LBB0_8:
	tbnz	w9, #6, LBB0_27
LBB0_9:
	tbnz	w9, #7, LBB0_28
LBB0_10:
Lloh8:
	adrp	x22, _SE_SBLABELSUPP@GOTPAGE
Lloh9:
	ldr	x22, [x22, _SE_SBLABELSUPP@GOTPAGEOFF]
	ldr	w9, [x22]
	ldr	w0, [x19]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.11:
	add	w0, w0, #1
	str	w0, [x19]
LBB0_12:
Lloh10:
	adrp	x20, _GFP_ATOMIC@GOTPAGE
Lloh11:
	ldr	x20, [x20, _GFP_ATOMIC@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	w1, #8
	bl	_kcalloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_18
; %bb.13:
	ldr	w0, [x19]
	ldr	w2, [x20]
	mov	w1, #4
	bl	_kcalloc
	str	x0, [x19, #16]
	cbz	x0, LBB0_18
; %bb.14:
	ldr	w8, [x21]
Lloh12:
	adrp	x23, _FSCONTEXT_MNT@GOTPAGE
Lloh13:
	ldr	x23, [x23, _FSCONTEXT_MNT@GOTPAGEOFF]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_29
; %bb.15:
	ldr	w0, [x21, #24]
	add	x1, sp, #8
	add	x2, sp, #4
	bl	_security_sid_to_context
	mov	x20, x0
	cbnz	w0, LBB0_19
; %bb.16:
	ldr	x8, [sp, #8]
	ldr	x9, [x19, #8]
	str	x8, [x9]
	ldr	w8, [x23]
	ldr	x9, [x19, #16]
	str	w8, [x9]
	ldr	w8, [x21]
	mov	w23, #1
	b	LBB0_30
LBB0_17:
Lloh14:
	adrp	x8, _EINVAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_20
LBB0_18:
Lloh17:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_19:
	mov	x0, x19
	bl	_security_free_mnt_opts
LBB0_20:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_21:
	ldr	w10, [x19]
	add	w10, w10, #1
	str	w10, [x19]
	tbz	w9, #1, LBB0_4
LBB0_22:
	ldr	w10, [x19]
	add	w10, w10, #1
	str	w10, [x19]
	tbz	w9, #2, LBB0_5
LBB0_23:
	ldr	w10, [x19]
	add	w10, w10, #1
	str	w10, [x19]
	tbz	w9, #3, LBB0_6
LBB0_24:
	ldr	w10, [x19]
	add	w10, w10, #1
	str	w10, [x19]
	tbz	w9, #4, LBB0_7
LBB0_25:
	ldr	w10, [x19]
	add	w10, w10, #1
	str	w10, [x19]
	tbz	w9, #5, LBB0_8
LBB0_26:
	ldr	w10, [x19]
	add	w10, w10, #1
	str	w10, [x19]
	tbz	w9, #6, LBB0_9
LBB0_27:
	ldr	w10, [x19]
	add	w10, w10, #1
	str	w10, [x19]
	tbz	w9, #7, LBB0_10
LBB0_28:
	ldr	w9, [x19]
	add	w9, w9, #1
	str	w9, [x19]
	b	LBB0_10
LBB0_29:
	mov	w23, #0
LBB0_30:
Lloh20:
	adrp	x24, _CONTEXT_MNT@GOTPAGE
Lloh21:
	ldr	x24, [x24, _CONTEXT_MNT@GOTPAGEOFF]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_33
; %bb.31:
	ldr	w0, [x21, #20]
	add	x1, sp, #8
	add	x2, sp, #4
	bl	_security_sid_to_context
	mov	x20, x0
	cbnz	w0, LBB0_19
; %bb.32:
	ldr	x8, [sp, #8]
	ldr	x9, [x19, #8]
	str	x8, [x9, w23, uxtw #3]
	ldr	w8, [x24]
	ldr	x9, [x19, #16]
	str	w8, [x9, w23, uxtw #2]
	add	w23, w23, #1
	ldr	w8, [x21]
LBB0_33:
Lloh22:
	adrp	x24, _DEFCONTEXT_MNT@GOTPAGE
Lloh23:
	ldr	x24, [x24, _DEFCONTEXT_MNT@GOTPAGEOFF]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_36
; %bb.34:
	ldr	w0, [x21, #16]
	add	x1, sp, #8
	add	x2, sp, #4
	bl	_security_sid_to_context
	mov	x20, x0
	cbnz	w0, LBB0_19
; %bb.35:
	ldr	x8, [sp, #8]
	ldr	x9, [x19, #8]
	str	x8, [x9, w23, uxtw #3]
	ldr	w8, [x24]
	ldr	x9, [x19, #16]
	str	w8, [x9, w23, uxtw #2]
	add	w23, w23, #1
	ldr	w8, [x21]
LBB0_36:
Lloh24:
	adrp	x24, _ROOTCONTEXT_MNT@GOTPAGE
Lloh25:
	ldr	x24, [x24, _ROOTCONTEXT_MNT@GOTPAGEOFF]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_39
; %bb.37:
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	w0, [x8]
	add	x1, sp, #8
	add	x2, sp, #4
	bl	_security_sid_to_context
	mov	x20, x0
	cbnz	w0, LBB0_19
; %bb.38:
	ldr	x8, [sp, #8]
	ldr	x9, [x19, #8]
	str	x8, [x9, w23, uxtw #3]
	ldr	w8, [x24]
	ldr	x9, [x19, #16]
	str	w8, [x9, w23, uxtw #2]
	add	w23, w23, #1
	ldr	w8, [x21]
LBB0_39:
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_41
; %bb.40:
	ldr	x8, [x19, #8]
	str	xzr, [x8, w23, uxtw #3]
	ldr	x8, [x19, #16]
	str	w9, [x8, w23, uxtw #2]
	add	w23, w23, #1
LBB0_41:
	ldr	w8, [x19]
	cmp	w23, w8
	cset	w0, ne
	bl	_BUG_ON
	mov	w20, #0
	b	LBB0_20
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_SE_SBINITIALIZED,4,2           ; @SE_SBINITIALIZED
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ss_initialized,4,2             ; @ss_initialized
	.comm	_SE_MNTMASK,1,0                 ; @SE_MNTMASK
	.comm	_SE_SBLABELSUPP,4,2             ; @SE_SBLABELSUPP
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_FSCONTEXT_MNT,4,2              ; @FSCONTEXT_MNT
	.comm	_CONTEXT_MNT,4,2                ; @CONTEXT_MNT
	.comm	_DEFCONTEXT_MNT,4,2             ; @DEFCONTEXT_MNT
	.comm	_ROOTCONTEXT_MNT,4,2            ; @ROOTCONTEXT_MNT
	.no_dead_strip	_selinux_get_mnt_opts
.subsections_via_symbols
