	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mls_posixshm_check_mmap
_mls_posixshm_check_mmap:               ## @mls_posixshm_check_mmap
	.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	%r15d, %r15d
	cmpl	$0, (%rax)
	je	LBB0_7
## %bb.1:
	movl	%ecx, %r14d
	movq	%rdx, %rbx
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	(%rdi), %rdi
	callq	_SLOT
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_SLOT
	movq	%rax, %r13
	movq	_VM_PROT_READ@GOTPCREL(%rip), %rax
	movq	_VM_PROT_EXECUTE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%r14d, %ecx
	je	LBB0_3
## %bb.2:
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_mls_dominate_effective
	testl	%eax, %eax
	je	LBB0_6
LBB0_3:
	movq	_VM_PROT_WRITE@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_7
## %bb.4:
	movq	_MAP_SHARED@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, (%rax)
	je	LBB0_7
## %bb.5:
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_mls_dominate_effective
	xorl	%r15d, %r15d
	testl	%eax, %eax
	jne	LBB0_7
LBB0_6:
	movq	_EACCES@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_7:
	movl	%r15d, %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	_VM_PROT_READ,4,2               ## @VM_PROT_READ
	.comm	_VM_PROT_EXECUTE,4,2            ## @VM_PROT_EXECUTE
	.comm	_EACCES,4,2                     ## @EACCES
	.comm	_VM_PROT_WRITE,4,2              ## @VM_PROT_WRITE
	.comm	_MAP_SHARED,4,2                 ## @MAP_SHARED
	.no_dead_strip	_mls_posixshm_check_mmap
.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_mmap
_mls_posixshm_check_mmap:               ; @mls_posixshm_check_mmap
	.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_6
; %bb.1:
	mov	x19, x4
	mov	x20, x3
	mov	x22, x2
	ldr	x0, [x0]
	bl	_SLOT
	mov	x21, x0
	mov	x0, x22
	bl	_SLOT
	mov	x22, x0
Lloh3:
	adrp	x8, _VM_PROT_READ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VM_PROT_READ@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _VM_PROT_EXECUTE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _VM_PROT_EXECUTE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w20
	b.eq	LBB0_3
; %bb.2:
	mov	x0, x21
	mov	x1, x22
	bl	_mls_dominate_effective
	cbz	w0, LBB0_8
LBB0_3:
Lloh9:
	adrp	x8, _VM_PROT_WRITE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _VM_PROT_WRITE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_6
; %bb.4:
Lloh12:
	adrp	x8, _MAP_SHARED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MAP_SHARED@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_6
; %bb.5:
	mov	x0, x22
	mov	x1, x21
	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_6:
	mov	w0, #0
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
LBB0_8:
Lloh18:
	adrp	x8, _EACCES@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EACCES@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.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	_VM_PROT_READ,4,2               ; @VM_PROT_READ
	.comm	_VM_PROT_EXECUTE,4,2            ; @VM_PROT_EXECUTE
	.comm	_EACCES,4,2                     ; @EACCES
	.comm	_VM_PROT_WRITE,4,2              ; @VM_PROT_WRITE
	.comm	_MAP_SHARED,4,2                 ; @MAP_SHARED
	.no_dead_strip	_mls_posixshm_check_mmap
.subsections_via_symbols
