	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_selinux_kernel_status_page     ## -- Begin function selinux_kernel_status_page
	.p2align	4, 0x90
_selinux_kernel_status_page:            ## @selinux_kernel_status_page
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_selinux_status_lock@GOTPCREL(%rip), %rdi
	callq	_mutex_lock
	movq	_selinux_status_page@GOTPCREL(%rip), %r14
	movq	(%r14), %rbx
	testq	%rbx, %rbx
	jne	LBB0_4
## %bb.1:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movq	___GFP_ZERO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	callq	_alloc_page
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %rdi
	callq	_page_address
	movq	%rax, %rbx
	movq	_SELINUX_KERNEL_STATUS_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	$0, 24(%rbx)
	movq	_selinux_enforcing@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	$0, 8(%rbx)
	xorl	%eax, %eax
	callq	_security_get_allow_unknown
	xorl	%ecx, %ecx
	testl	%eax, %eax
	sete	%cl
	movl	%ecx, (%rbx)
	movq	(%r14), %rbx
	jmp	LBB0_4
LBB0_2:
	xorl	%ebx, %ebx
LBB0_4:
	movq	_selinux_status_lock@GOTPCREL(%rip), %rdi
	callq	_mutex_unlock
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_selinux_status_lock,4,2        ## @selinux_status_lock
	.comm	_selinux_status_page,8,3        ## @selinux_status_page
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	___GFP_ZERO,4,2                 ## @__GFP_ZERO
	.comm	_SELINUX_KERNEL_STATUS_VERSION,4,2 ## @SELINUX_KERNEL_STATUS_VERSION
	.comm	_selinux_enforcing,4,2          ## @selinux_enforcing
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_selinux_kernel_status_page     ; -- Begin function selinux_kernel_status_page
	.p2align	2
_selinux_kernel_status_page:            ; @selinux_kernel_status_page
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x0, _selinux_status_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _selinux_status_lock@GOTPAGEOFF]
	bl	_mutex_lock
Lloh2:
	adrp	x20, _selinux_status_page@GOTPAGE
Lloh3:
	ldr	x20, [x20, _selinux_status_page@GOTPAGEOFF]
	ldr	x19, [x20]
	cbnz	x19, LBB0_4
; %bb.1:
Lloh4:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, ___GFP_ZERO@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___GFP_ZERO@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	orr	w0, w9, w8
	bl	_alloc_page
	str	x0, [x20]
	cbz	x0, LBB0_3
; %bb.2:
	bl	_page_address
	mov	x19, x0
Lloh10:
	adrp	x8, _SELINUX_KERNEL_STATUS_VERSION@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SELINUX_KERNEL_STATUS_VERSION@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [x0, #32]
	str	xzr, [x0, #24]
Lloh13:
	adrp	x8, _selinux_enforcing@GOTPAGE
Lloh14:
	ldr	x8, [x8, _selinux_enforcing@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [x0, #16]
	str	xzr, [x0, #8]
	bl	_security_get_allow_unknown
	cmp	w0, #0
	cset	w8, eq
	str	w8, [x19]
	ldr	x19, [x20]
	b	LBB0_4
LBB0_3:
	mov	x19, #0
LBB0_4:
Lloh16:
	adrp	x0, _selinux_status_lock@GOTPAGE
Lloh17:
	ldr	x0, [x0, _selinux_status_lock@GOTPAGEOFF]
	bl	_mutex_unlock
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_selinux_status_lock,4,2        ; @selinux_status_lock
	.comm	_selinux_status_page,8,3        ; @selinux_status_page
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	___GFP_ZERO,4,2                 ; @__GFP_ZERO
	.comm	_SELINUX_KERNEL_STATUS_VERSION,4,2 ; @SELINUX_KERNEL_STATUS_VERSION
	.comm	_selinux_enforcing,4,2          ; @selinux_enforcing
.subsections_via_symbols
