	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function map_acemask
_map_acemask:                           ## @map_acemask
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r15d
	movl	%edi, %ebx
	movq	_ACLLVL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_dprintf
	xorl	%edi, %edi
	movl	%ebx, %esi
	callq	_print_windows_access_mask
	testl	$251658240, %ebx                ## imm = 0xF000000
	je	LBB0_13
## %bb.1:
	movq	_GENERIC_ALL@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_6
## %bb.2:
	movq	_NF4DIR@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	jne	LBB0_5
## %bb.3:
	movq	_ACE4_ALL_DIR@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_13:
	andl	$16777215, %ebx                 ## imm = 0xFFFFFF
	jmp	LBB0_14
LBB0_6:
	movq	_GENERIC_READ@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_8
## %bb.7:
	movq	_ACE4_GENERIC_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
LBB0_8:
	movq	_GENERIC_WRITE@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_10
## %bb.9:
	movq	_ACE4_GENERIC_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
LBB0_10:
	movq	_GENERIC_EXECUTE@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_11
## %bb.12:
	movq	_ACE4_GENERIC_EXECUTE@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_5:
	movq	_ACE4_ALL_FILE@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%r14), %ebx
	orl	(%rax), %ebx
LBB0_14:
	movl	%ebx, (%r14)
LBB0_15:
	xorl	%edi, %edi
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_print_nfs_access_mask          ## TAILCALL
LBB0_11:
	movl	(%r14), %ebx
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_ACLLVL,4,2                     ## @ACLLVL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ACE MASK: %x\n"

	.comm	_GENERIC_ALL,4,2                ## @GENERIC_ALL
	.comm	_NF4DIR,4,2                     ## @NF4DIR
	.comm	_ACE4_ALL_DIR,4,2               ## @ACE4_ALL_DIR
	.comm	_ACE4_ALL_FILE,4,2              ## @ACE4_ALL_FILE
	.comm	_GENERIC_READ,4,2               ## @GENERIC_READ
	.comm	_ACE4_GENERIC_READ,4,2          ## @ACE4_GENERIC_READ
	.comm	_GENERIC_WRITE,4,2              ## @GENERIC_WRITE
	.comm	_ACE4_GENERIC_WRITE,4,2         ## @ACE4_GENERIC_WRITE
	.comm	_GENERIC_EXECUTE,4,2            ## @GENERIC_EXECUTE
	.comm	_ACE4_GENERIC_EXECUTE,4,2       ## @ACE4_GENERIC_EXECUTE
	.no_dead_strip	_map_acemask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function map_acemask
_map_acemask:                           ; @map_acemask
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _ACLLVL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ACLLVL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_dprintf
	mov	w0, #0
	mov	x1, x20
	bl	_print_windows_access_mask
	tst	w20, #0xf000000
	b.eq	LBB0_4
; %bb.1:
Lloh5:
	adrp	x8, _GENERIC_ALL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GENERIC_ALL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_5
; %bb.2:
Lloh8:
	adrp	x8, _NF4DIR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NF4DIR@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_11
; %bb.3:
Lloh11:
	adrp	x8, _ACE4_ALL_DIR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ACE4_ALL_DIR@GOTPAGEOFF]
	b	LBB0_12
LBB0_4:
	and	w1, w20, #0xffffff
	b	LBB0_13
LBB0_5:
Lloh13:
	adrp	x8, _GENERIC_READ@GOTPAGE
Lloh14:
	ldr	x8, [x8, _GENERIC_READ@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_7
; %bb.6:
Lloh16:
	adrp	x8, _ACE4_GENERIC_READ@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ACE4_GENERIC_READ@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_7:
Lloh19:
	adrp	x8, _GENERIC_WRITE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _GENERIC_WRITE@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_9
; %bb.8:
Lloh22:
	adrp	x8, _ACE4_GENERIC_WRITE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ACE4_GENERIC_WRITE@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_9:
Lloh25:
	adrp	x8, _GENERIC_EXECUTE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _GENERIC_EXECUTE@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_15
; %bb.10:
Lloh28:
	adrp	x8, _ACE4_GENERIC_EXECUTE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ACE4_GENERIC_EXECUTE@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
Lloh30:
	adrp	x8, _ACE4_ALL_FILE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ACE4_ALL_FILE@GOTPAGEOFF]
LBB0_12:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w1, w9, w8
LBB0_13:
	str	w1, [x19]
LBB0_14:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_print_nfs_access_mask
LBB0_15:
	ldr	w1, [x19]
	b	LBB0_14
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_ACLLVL,4,2                     ; @ACLLVL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ACE MASK: %x\n"

	.comm	_GENERIC_ALL,4,2                ; @GENERIC_ALL
	.comm	_NF4DIR,4,2                     ; @NF4DIR
	.comm	_ACE4_ALL_DIR,4,2               ; @ACE4_ALL_DIR
	.comm	_ACE4_ALL_FILE,4,2              ; @ACE4_ALL_FILE
	.comm	_GENERIC_READ,4,2               ; @GENERIC_READ
	.comm	_ACE4_GENERIC_READ,4,2          ; @ACE4_GENERIC_READ
	.comm	_GENERIC_WRITE,4,2              ; @GENERIC_WRITE
	.comm	_ACE4_GENERIC_WRITE,4,2         ; @ACE4_GENERIC_WRITE
	.comm	_GENERIC_EXECUTE,4,2            ; @GENERIC_EXECUTE
	.comm	_ACE4_GENERIC_EXECUTE,4,2       ; @ACE4_GENERIC_EXECUTE
	.no_dead_strip	_map_acemask
.subsections_via_symbols
