	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mls_from_string                ## -- Begin function mls_from_string
	.p2align	4, 0x90
_mls_from_string:                       ## @mls_from_string
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_selinux_mls_enabled@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_1
## %bb.3:
	movq	%rsi, %r14
	movl	%edx, %esi
	callq	_kstrdup
	movq	%rax, -32(%rbp)
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r15
	movq	_SECSID_NULL@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_policydb@GOTPCREL(%rip), %rdi
	leaq	-32(%rbp), %rdx
	movl	$58, %esi
	movq	%r14, %rcx
	xorl	%r8d, %r8d
	callq	_mls_context_to_sid
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_kfree
	jmp	LBB0_6
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_selinux_mls_enabled,4,2        ## @selinux_mls_enabled
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_policydb,4,2                   ## @policydb
	.comm	_SECSID_NULL,4,2                ## @SECSID_NULL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mls_from_string                ; -- Begin function mls_from_string
	.p2align	2
_mls_from_string:                       ; @mls_from_string
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _selinux_mls_enabled@GOTPAGE
Lloh1:
	ldr	x8, [x8, _selinux_mls_enabled@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x19, x1
	mov	x1, x2
	bl	_kstrdup
	str	x0, [sp, #8]
	cbz	x0, LBB0_4
; %bb.2:
	mov	x20, x0
Lloh3:
	adrp	x8, _SECSID_NULL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SECSID_NULL@GOTPAGEOFF]
Lloh5:
	ldr	w5, [x8]
Lloh6:
	adrp	x0, _policydb@GOTPAGE
Lloh7:
	ldr	x0, [x0, _policydb@GOTPAGEOFF]
	add	x2, sp, #8
	mov	w1, #58
	mov	x3, x19
	mov	x4, #0
	bl	_mls_context_to_sid
	mov	x19, x0
	mov	x0, x20
	bl	_kfree
	b	LBB0_6
LBB0_3:
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh10:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w19, w8
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_selinux_mls_enabled,4,2        ; @selinux_mls_enabled
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_policydb,4,2                   ; @policydb
	.comm	_SECSID_NULL,4,2                ; @SECSID_NULL
.subsections_via_symbols
