	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function may_create
_may_create:                            ## @may_create
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -60(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_current_cred
	movq	(%rax), %rax
	movq	(%rbx), %rcx
	movq	8(%rbx), %r14
	movq	(%rcx), %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movl	(%rax), %r12d
	movl	4(%rax), %r15d
	movl	%r12d, -44(%rbp)
	movq	_FS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_COMMON_AUDIT_DATA_INIT
	movq	%r13, -56(%rbp)
	movl	(%r14), %esi
	movq	_SECCLASS_DIR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_DIR__ADD_NAME@GOTPCREL(%rip), %rax
	movq	_DIR__SEARCH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%r15d, %edi
	movq	%rbx, %r8
	callq	_avc_has_perm
	testl	%eax, %eax
	je	LBB0_1
LBB0_7:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
	testl	%r12d, %r12d
	je	LBB0_3
## %bb.2:
	movq	_SE_SBLABELSUPP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	testl	%eax, (%rcx)
	jne	LBB0_5
LBB0_3:
	movl	(%r14), %esi
	leaq	-44(%rbp), %rcx
	movl	%r15d, %edi
	movl	%ebx, %edx
	callq	_security_transition_sid
	testl	%eax, %eax
	jne	LBB0_7
## %bb.4:
	movl	-44(%rbp), %r12d
LBB0_5:
	movq	_FILE__CREATE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-56(%rbp), %r8
	movl	%r15d, %edi
	movl	%r12d, %esi
	movl	%ebx, %edx
	callq	_avc_has_perm
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	movl	-44(%rbp), %edi
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %esi
	movq	_SECCLASS_FILESYSTEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_FILESYSTEM__ASSOCIATE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-56(%rbp), %r8
	callq	_avc_has_perm
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_FS,4,2                         ## @FS
	.comm	_SECCLASS_DIR,4,2               ## @SECCLASS_DIR
	.comm	_DIR__ADD_NAME,4,2              ## @DIR__ADD_NAME
	.comm	_DIR__SEARCH,4,2                ## @DIR__SEARCH
	.comm	_SE_SBLABELSUPP,4,2             ## @SE_SBLABELSUPP
	.comm	_FILE__CREATE,4,2               ## @FILE__CREATE
	.comm	_SECCLASS_FILESYSTEM,4,2        ## @SECCLASS_FILESYSTEM
	.comm	_FILESYSTEM__ASSOCIATE,4,2      ## @FILESYSTEM__ASSOCIATE
	.no_dead_strip	_may_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function may_create
_may_create:                            ; @may_create
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x22, x1
	mov	x20, x0
	bl	_current_cred
	ldr	x8, [x0]
	ldp	x9, x24, [x20]
	ldr	x23, [x9]
	ldp	w21, w20, [x8]
	str	w21, [sp, #12]
Lloh0:
	adrp	x8, _FS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, sp
	bl	_COMMON_AUDIT_DATA_INIT
	str	x22, [sp]
	ldr	w1, [x24]
Lloh3:
	adrp	x8, _SECCLASS_DIR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SECCLASS_DIR@GOTPAGEOFF]
Lloh5:
	adrp	x9, _DIR__ADD_NAME@GOTPAGE
Lloh6:
	ldr	x9, [x9, _DIR__ADD_NAME@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
Lloh8:
	ldr	w8, [x9]
Lloh9:
	adrp	x9, _DIR__SEARCH@GOTPAGE
Lloh10:
	ldr	x9, [x9, _DIR__SEARCH@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w3, w9, w8
	mov	x4, sp
	mov	x0, x20
	bl	_avc_has_perm
	cbz	w0, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_2:
	cbz	w21, LBB0_4
; %bb.3:
	ldr	w8, [x23]
Lloh12:
	adrp	x9, _SE_SBLABELSUPP@GOTPAGE
Lloh13:
	ldr	x9, [x9, _SE_SBLABELSUPP@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_6
LBB0_4:
	ldr	w1, [x24]
	add	x3, sp, #12
	mov	x0, x20
	mov	x2, x19
	bl	_security_transition_sid
	cbnz	w0, LBB0_1
; %bb.5:
	ldr	w21, [sp, #12]
LBB0_6:
Lloh15:
	adrp	x8, _FILE__CREATE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _FILE__CREATE@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
	mov	x4, sp
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_avc_has_perm
	cbnz	w0, LBB0_1
; %bb.7:
	ldr	w0, [sp, #12]
	ldr	w1, [x23, #4]
Lloh18:
	adrp	x8, _SECCLASS_FILESYSTEM@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SECCLASS_FILESYSTEM@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
Lloh21:
	adrp	x8, _FILESYSTEM__ASSOCIATE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _FILESYSTEM__ASSOCIATE@GOTPAGEOFF]
Lloh23:
	ldr	w3, [x8]
	mov	x4, sp
	bl	_avc_has_perm
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_FS,4,2                         ; @FS
	.comm	_SECCLASS_DIR,4,2               ; @SECCLASS_DIR
	.comm	_DIR__ADD_NAME,4,2              ; @DIR__ADD_NAME
	.comm	_DIR__SEARCH,4,2                ; @DIR__SEARCH
	.comm	_SE_SBLABELSUPP,4,2             ; @SE_SBLABELSUPP
	.comm	_FILE__CREATE,4,2               ; @FILE__CREATE
	.comm	_SECCLASS_FILESYSTEM,4,2        ; @SECCLASS_FILESYSTEM
	.comm	_FILESYSTEM__ASSOCIATE,4,2      ; @FILESYSTEM__ASSOCIATE
	.no_dead_strip	_may_create
.subsections_via_symbols
