	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mls_posixshm_check_open
_mls_posixshm_check_open:               ## @mls_posixshm_check_open
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_mls_enabled@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	cmpl	$0, (%rax)
	je	LBB0_6
## %bb.1:
	movl	%ecx, %r13d
	movq	%rdx, %rbx
	movq	(%rdi), %rdi
	callq	_SLOT
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_SLOT
	movq	%rax, %r12
	movq	_VREAD@GOTPCREL(%rip), %rax
	movq	_VEXEC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_VSTAT_PERMS@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	testl	%r13d, %ecx
	je	LBB0_3
## %bb.2:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_mls_dominate_effective
	testl	%eax, %eax
	je	LBB0_5
LBB0_3:
	movq	_VMODIFY_PERMS@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_6
## %bb.4:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_mls_dominate_effective
	xorl	%r14d, %r14d
	testl	%eax, %eax
	jne	LBB0_6
LBB0_5:
	movq	_EACCES@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_6:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mls_enabled,4,2                ## @mls_enabled
	.comm	_VREAD,4,2                      ## @VREAD
	.comm	_VEXEC,4,2                      ## @VEXEC
	.comm	_VSTAT_PERMS,4,2                ## @VSTAT_PERMS
	.comm	_EACCES,4,2                     ## @EACCES
	.comm	_VMODIFY_PERMS,4,2              ## @VMODIFY_PERMS
	.no_dead_strip	_mls_posixshm_check_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mls_posixshm_check_open
_mls_posixshm_check_open:               ; @mls_posixshm_check_open
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x8, _mls_enabled@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mls_enabled@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_5
; %bb.1:
	mov	x19, x3
	mov	x21, x2
	ldr	x0, [x0]
	bl	_SLOT
	mov	x20, x0
	mov	x0, x21
	bl	_SLOT
	mov	x21, x0
Lloh3:
	adrp	x8, _VREAD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VREAD@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _VEXEC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _VEXEC@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _VSTAT_PERMS@GOTPAGE
Lloh10:
	ldr	x9, [x9, _VSTAT_PERMS@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
	tst	w8, w19
	b.eq	LBB0_3
; %bb.2:
	mov	x0, x20
	mov	x1, x21
	bl	_mls_dominate_effective
	cbz	w0, LBB0_6
LBB0_3:
Lloh12:
	adrp	x8, _VMODIFY_PERMS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _VMODIFY_PERMS@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_5
; %bb.4:
	mov	x0, x21
	mov	x1, x20
	bl	_mls_dominate_effective
Lloh15:
	adrp	x8, _EACCES@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EACCES@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cmp	w0, #0
	csel	w0, w8, wzr, eq
	b	LBB0_7
LBB0_5:
	mov	w0, #0
	b	LBB0_7
LBB0_6:
Lloh18:
	adrp	x8, _EACCES@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EACCES@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_mls_enabled,4,2                ; @mls_enabled
	.comm	_VREAD,4,2                      ; @VREAD
	.comm	_VEXEC,4,2                      ; @VEXEC
	.comm	_VSTAT_PERMS,4,2                ; @VSTAT_PERMS
	.comm	_EACCES,4,2                     ; @EACCES
	.comm	_VMODIFY_PERMS,4,2              ; @VMODIFY_PERMS
	.no_dead_strip	_mls_posixshm_check_open
.subsections_via_symbols
