	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mac_policy_xlock
_mac_policy_xlock:                      ## @mac_policy_xlock
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_WARN_GIANTOK@GOTPCREL(%rip), %rax
	movq	_WARN_SLEEPOK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	leaq	L_.str(%rip), %rdx
	xorl	%esi, %esi
	callq	_WITNESS_WARN
	movq	_mac_late@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_1
## %bb.2:
	movq	_mac_policy_sx@GOTPCREL(%rip), %rdi
	callq	_sx_xlock
	movq	_mac_policy_rm@GOTPCREL(%rip), %rdi
	popq	%rbp
	jmp	_rm_wlock                       ## TAILCALL
LBB0_1:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WARN_GIANTOK,4,2               ## @WARN_GIANTOK
	.comm	_WARN_SLEEPOK,4,2               ## @WARN_SLEEPOK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mac_policy_xlock()"

	.comm	_mac_late,4,2                   ## @mac_late
	.comm	_mac_policy_sx,4,2              ## @mac_policy_sx
	.comm	_mac_policy_rm,4,2              ## @mac_policy_rm
	.no_dead_strip	_mac_policy_xlock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mac_policy_xlock
_mac_policy_xlock:                      ; @mac_policy_xlock
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _WARN_GIANTOK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WARN_GIANTOK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _WARN_SLEEPOK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _WARN_SLEEPOK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w0, w9, w8
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x1, #0
	bl	_WITNESS_WARN
Lloh8:
	adrp	x8, _mac_late@GOTPAGE
Lloh9:
	ldr	x8, [x8, _mac_late@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cbz	w8, LBB0_2
; %bb.1:
Lloh11:
	adrp	x0, _mac_policy_sx@GOTPAGE
Lloh12:
	ldr	x0, [x0, _mac_policy_sx@GOTPAGEOFF]
	bl	_sx_xlock
Lloh13:
	adrp	x0, _mac_policy_rm@GOTPAGE
Lloh14:
	ldr	x0, [x0, _mac_policy_rm@GOTPAGEOFF]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_rm_wlock
LBB0_2:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_WARN_GIANTOK,4,2               ; @WARN_GIANTOK
	.comm	_WARN_SLEEPOK,4,2               ; @WARN_SLEEPOK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mac_policy_xlock()"

	.comm	_mac_late,4,2                   ; @mac_late
	.comm	_mac_policy_sx,4,2              ; @mac_policy_sx
	.comm	_mac_policy_rm,4,2              ; @mac_policy_rm
	.no_dead_strip	_mac_policy_xlock
.subsections_via_symbols
