	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_capsicum
_check_capsicum:                        ## @check_capsicum
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	L_.str(%rip), %rdi
	callq	_ATF_REQUIRE_FEATURE
	leaq	L_.str.1(%rip), %rdi
	callq	_ATF_REQUIRE_FEATURE
	movq	_O_EXEC@GOTPCREL(%rip), %rax
	movq	_O_CLOEXEC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdi
	callq	_open
	movq	_rootfd@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	notl	%eax
	shrl	$31, %eax
	movl	%eax, %edi
	popq	%rbp
	jmp	_ATF_REQUIRE                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"security_capabilities"

L_.str.1:                               ## @.str.1
	.asciz	"security_capability_mode"

L_.str.2:                               ## @.str.2
	.asciz	"/"

	.comm	_O_EXEC,4,2                     ## @O_EXEC
	.comm	_O_CLOEXEC,4,2                  ## @O_CLOEXEC
	.comm	_rootfd,4,2                     ## @rootfd
	.no_dead_strip	_check_capsicum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_capsicum
_check_capsicum:                        ; @check_capsicum
	.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	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_ATF_REQUIRE_FEATURE
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_ATF_REQUIRE_FEATURE
Lloh4:
	adrp	x8, _O_EXEC@GOTPAGE
Lloh5:
	ldr	x8, [x8, _O_EXEC@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _O_CLOEXEC@GOTPAGE
Lloh8:
	ldr	x9, [x9, _O_CLOEXEC@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	orr	w1, w9, w8
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_open
Lloh12:
	adrp	x8, _rootfd@GOTPAGE
Lloh13:
	ldr	x8, [x8, _rootfd@GOTPAGEOFF]
Lloh14:
	str	w0, [x8]
	mvn	w8, w0
	lsr	w0, w8, #31
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_ATF_REQUIRE
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"security_capabilities"

l_.str.1:                               ; @.str.1
	.asciz	"security_capability_mode"

l_.str.2:                               ; @.str.2
	.asciz	"/"

	.comm	_O_EXEC,4,2                     ; @O_EXEC
	.comm	_O_CLOEXEC,4,2                  ; @O_CLOEXEC
	.comm	_rootfd,4,2                     ; @rootfd
	.no_dead_strip	_check_capsicum
.subsections_via_symbols
