	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smack_flags_to_may
_smack_flags_to_may:                    ## @smack_flags_to_may
	.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_IRUGO@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	andl	%edi, %ecx
	je	LBB0_2
## %bb.1:
	movq	_MAY_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_2:
	movq	_S_IWUGO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%edi, %eax
	je	LBB0_4
## %bb.3:
	movq	_MAY_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	orl	%ecx, %eax
	movq	_S_IXUGO@GOTPCREL(%rip), %rcx
	andl	(%rcx), %edi
	je	LBB0_6
## %bb.5:
	movq	_MAY_EXEC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
LBB0_6:
	orl	%edi, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_S_IRUGO,4,2                    ## @S_IRUGO
	.comm	_MAY_READ,4,2                   ## @MAY_READ
	.comm	_S_IWUGO,4,2                    ## @S_IWUGO
	.comm	_MAY_WRITE,4,2                  ## @MAY_WRITE
	.comm	_S_IXUGO,4,2                    ## @S_IXUGO
	.comm	_MAY_EXEC,4,2                   ## @MAY_EXEC
	.no_dead_strip	_smack_flags_to_may
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smack_flags_to_may
_smack_flags_to_may:                    ; @smack_flags_to_may
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _S_IRUGO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _S_IRUGO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _MAY_READ@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MAY_READ@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w8, w0
Lloh6:
	adrp	x8, _S_IWUGO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _S_IWUGO@GOTPAGEOFF]
	csel	w9, wzr, w9, eq
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x10, _MAY_WRITE@GOTPAGE
Lloh10:
	ldr	x10, [x10, _MAY_WRITE@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	tst	w8, w0
	csel	w8, wzr, w10, eq
	orr	w8, w8, w9
Lloh12:
	adrp	x9, _S_IXUGO@GOTPAGE
Lloh13:
	ldr	x9, [x9, _S_IXUGO@GOTPAGEOFF]
Lloh14:
	adrp	x10, _MAY_EXEC@GOTPAGE
Lloh15:
	ldr	x10, [x10, _MAY_EXEC@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
Lloh17:
	ldr	w10, [x10]
	tst	w9, w0
	csel	w9, wzr, w10, eq
	orr	w0, w8, w9
	ret
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_S_IRUGO,4,2                    ; @S_IRUGO
	.comm	_MAY_READ,4,2                   ; @MAY_READ
	.comm	_S_IWUGO,4,2                    ; @S_IWUGO
	.comm	_MAY_WRITE,4,2                  ; @MAY_WRITE
	.comm	_S_IXUGO,4,2                    ; @S_IXUGO
	.comm	_MAY_EXEC,4,2                   ; @MAY_EXEC
	.no_dead_strip	_smack_flags_to_may
.subsections_via_symbols
