	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function file_mask_to_av
_file_mask_to_av:                       ## @file_mask_to_av
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_S_IFMT@GOTPCREL(%rip), %rax
	andl	(%rax), %edi
	movq	_S_IFDIR@GOTPCREL(%rip), %rax
	movq	_MAY_EXEC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	(%rax), %edi
	jne	LBB0_1
## %bb.9:
	andl	%esi, %ecx
	je	LBB0_11
## %bb.10:
	movq	_DIR__SEARCH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_11:
	movq	_MAY_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%esi, %eax
	je	LBB0_13
## %bb.12:
	movq	_DIR__WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_13:
	orl	%ecx, %eax
	movq	_MAY_READ@GOTPCREL(%rip), %rcx
	testl	%esi, (%rcx)
	je	LBB0_16
## %bb.14:
	movq	_DIR__READ@GOTPCREL(%rip), %rcx
	jmp	LBB0_15
LBB0_1:
	andl	%esi, %ecx
	je	LBB0_3
## %bb.2:
	movq	_FILE__EXECUTE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_3:
	movq	_MAY_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%esi, %eax
	je	LBB0_5
## %bb.4:
	movq	_FILE__READ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_5:
	orl	%ecx, %eax
	movq	_MAY_APPEND@GOTPCREL(%rip), %rcx
	testl	%esi, (%rcx)
	je	LBB0_7
## %bb.6:
	movq	_FILE__APPEND@GOTPCREL(%rip), %rcx
	jmp	LBB0_15
LBB0_7:
	movq	_MAY_WRITE@GOTPCREL(%rip), %rcx
	testl	%esi, (%rcx)
	je	LBB0_16
## %bb.8:
	movq	_FILE__WRITE@GOTPCREL(%rip), %rcx
LBB0_15:
	orl	(%rcx), %eax
LBB0_16:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_S_IFMT,4,2                     ## @S_IFMT
	.comm	_S_IFDIR,4,2                    ## @S_IFDIR
	.comm	_MAY_EXEC,4,2                   ## @MAY_EXEC
	.comm	_FILE__EXECUTE,4,2              ## @FILE__EXECUTE
	.comm	_MAY_READ,4,2                   ## @MAY_READ
	.comm	_FILE__READ,4,2                 ## @FILE__READ
	.comm	_MAY_APPEND,4,2                 ## @MAY_APPEND
	.comm	_FILE__APPEND,4,2               ## @FILE__APPEND
	.comm	_MAY_WRITE,4,2                  ## @MAY_WRITE
	.comm	_FILE__WRITE,4,2                ## @FILE__WRITE
	.comm	_DIR__SEARCH,4,2                ## @DIR__SEARCH
	.comm	_DIR__WRITE,4,2                 ## @DIR__WRITE
	.comm	_DIR__READ,4,2                  ## @DIR__READ
	.no_dead_strip	_file_mask_to_av
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function file_mask_to_av
_file_mask_to_av:                       ; @file_mask_to_av
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _S_IFMT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _S_IFMT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w9, w8, w0
Lloh3:
	adrp	x8, _S_IFDIR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _S_IFDIR@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x8]
Lloh6:
	adrp	x8, _MAY_EXEC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MAY_EXEC@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	and	w8, w8, w1
	cmp	w9, w10
	b.ne	LBB0_3
; %bb.1:
Lloh9:
	adrp	x9, _DIR__SEARCH@GOTPAGE
Lloh10:
	ldr	x9, [x9, _DIR__SEARCH@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _MAY_WRITE@GOTPAGE
Lloh13:
	ldr	x10, [x10, _MAY_WRITE@GOTPAGEOFF]
	cmp	w8, #0
	csel	w8, wzr, w9, eq
Lloh14:
	ldr	w9, [x10]
Lloh15:
	adrp	x10, _DIR__WRITE@GOTPAGE
Lloh16:
	ldr	x10, [x10, _DIR__WRITE@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	tst	w9, w1
	csel	w9, wzr, w10, eq
	orr	w0, w9, w8
Lloh18:
	adrp	x8, _MAY_READ@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MAY_READ@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	tst	w8, w1
	b.eq	LBB0_8
; %bb.2:
Lloh21:
	adrp	x8, _DIR__READ@GOTPAGE
Lloh22:
	ldr	x8, [x8, _DIR__READ@GOTPAGEOFF]
	b	LBB0_7
LBB0_3:
Lloh23:
	adrp	x9, _FILE__EXECUTE@GOTPAGE
Lloh24:
	ldr	x9, [x9, _FILE__EXECUTE@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
Lloh26:
	adrp	x10, _MAY_READ@GOTPAGE
Lloh27:
	ldr	x10, [x10, _MAY_READ@GOTPAGEOFF]
	cmp	w8, #0
	csel	w8, wzr, w9, eq
Lloh28:
	ldr	w9, [x10]
Lloh29:
	adrp	x10, _FILE__READ@GOTPAGE
Lloh30:
	ldr	x10, [x10, _FILE__READ@GOTPAGEOFF]
Lloh31:
	ldr	w10, [x10]
	tst	w9, w1
	csel	w9, wzr, w10, eq
	orr	w0, w9, w8
Lloh32:
	adrp	x8, _MAY_APPEND@GOTPAGE
Lloh33:
	ldr	x8, [x8, _MAY_APPEND@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	tst	w8, w1
	b.eq	LBB0_5
; %bb.4:
Lloh35:
	adrp	x8, _FILE__APPEND@GOTPAGE
Lloh36:
	ldr	x8, [x8, _FILE__APPEND@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
Lloh37:
	adrp	x8, _MAY_WRITE@GOTPAGE
Lloh38:
	ldr	x8, [x8, _MAY_WRITE@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	tst	w8, w1
	b.eq	LBB0_8
; %bb.6:
Lloh40:
	adrp	x8, _FILE__WRITE@GOTPAGE
Lloh41:
	ldr	x8, [x8, _FILE__WRITE@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	orr	w0, w8, w0
LBB0_8:
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_S_IFMT,4,2                     ; @S_IFMT
	.comm	_S_IFDIR,4,2                    ; @S_IFDIR
	.comm	_MAY_EXEC,4,2                   ; @MAY_EXEC
	.comm	_FILE__EXECUTE,4,2              ; @FILE__EXECUTE
	.comm	_MAY_READ,4,2                   ; @MAY_READ
	.comm	_FILE__READ,4,2                 ; @FILE__READ
	.comm	_MAY_APPEND,4,2                 ; @MAY_APPEND
	.comm	_FILE__APPEND,4,2               ; @FILE__APPEND
	.comm	_MAY_WRITE,4,2                  ; @MAY_WRITE
	.comm	_FILE__WRITE,4,2                ; @FILE__WRITE
	.comm	_DIR__SEARCH,4,2                ; @DIR__SEARCH
	.comm	_DIR__WRITE,4,2                 ; @DIR__WRITE
	.comm	_DIR__READ,4,2                  ; @DIR__READ
	.no_dead_strip	_file_mask_to_av
.subsections_via_symbols
