	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ugidfw_accmode2mbi             ## -- Begin function ugidfw_accmode2mbi
	.p2align	4, 0x90
_ugidfw_accmode2mbi:                    ## @ugidfw_accmode2mbi
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_VEXEC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	andl	%edi, %ecx
	je	LBB0_2
## %bb.1:
	movq	_MBI_EXEC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_2:
	movq	_VWRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%edi, %eax
	je	LBB0_4
## %bb.3:
	movq	_MBI_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	movq	_VREAD@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%edi, %edx
	je	LBB0_6
## %bb.5:
	movq	_MBI_READ@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
LBB0_6:
	movq	_VADMIN_PERMS@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	andl	%edi, %esi
	je	LBB0_8
## %bb.7:
	movq	_MBI_ADMIN@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
LBB0_8:
	orl	%esi, %edx
	orl	%ecx, %eax
	movq	_VSTAT_PERMS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%edi, %ecx
	je	LBB0_10
## %bb.9:
	movq	_MBI_STAT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_10:
	orl	%edx, %eax
	movq	_VAPPEND@GOTPCREL(%rip), %rdx
	andl	(%rdx), %edi
	je	LBB0_12
## %bb.11:
	movq	_MBI_APPEND@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
LBB0_12:
	orl	%edi, %ecx
	orl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VEXEC,4,2                      ## @VEXEC
	.comm	_MBI_EXEC,4,2                   ## @MBI_EXEC
	.comm	_VWRITE,4,2                     ## @VWRITE
	.comm	_MBI_WRITE,4,2                  ## @MBI_WRITE
	.comm	_VREAD,4,2                      ## @VREAD
	.comm	_MBI_READ,4,2                   ## @MBI_READ
	.comm	_VADMIN_PERMS,4,2               ## @VADMIN_PERMS
	.comm	_MBI_ADMIN,4,2                  ## @MBI_ADMIN
	.comm	_VSTAT_PERMS,4,2                ## @VSTAT_PERMS
	.comm	_MBI_STAT,4,2                   ## @MBI_STAT
	.comm	_VAPPEND,4,2                    ## @VAPPEND
	.comm	_MBI_APPEND,4,2                 ## @MBI_APPEND
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ugidfw_accmode2mbi             ; -- Begin function ugidfw_accmode2mbi
	.p2align	2
_ugidfw_accmode2mbi:                    ; @ugidfw_accmode2mbi
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _VEXEC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VEXEC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _MBI_EXEC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MBI_EXEC@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w8, w0
	csel	w8, wzr, w9, eq
Lloh6:
	adrp	x9, _VWRITE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _VWRITE@GOTPAGEOFF]
Lloh8:
	adrp	x10, _MBI_WRITE@GOTPAGE
Lloh9:
	ldr	x10, [x10, _MBI_WRITE@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
Lloh11:
	ldr	w10, [x10]
	tst	w9, w0
	csel	w9, wzr, w10, eq
Lloh12:
	adrp	x10, _VREAD@GOTPAGE
Lloh13:
	ldr	x10, [x10, _VREAD@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh14:
	ldr	w9, [x10]
Lloh15:
	adrp	x10, _MBI_READ@GOTPAGE
Lloh16:
	ldr	x10, [x10, _MBI_READ@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	tst	w9, w0
	csel	w9, wzr, w10, eq
	orr	w8, w8, w9
Lloh18:
	adrp	x9, _VADMIN_PERMS@GOTPAGE
Lloh19:
	ldr	x9, [x9, _VADMIN_PERMS@GOTPAGEOFF]
Lloh20:
	adrp	x10, _MBI_ADMIN@GOTPAGE
Lloh21:
	ldr	x10, [x10, _MBI_ADMIN@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
Lloh23:
	ldr	w10, [x10]
	tst	w9, w0
	csel	w9, wzr, w10, eq
Lloh24:
	adrp	x10, _VSTAT_PERMS@GOTPAGE
Lloh25:
	ldr	x10, [x10, _VSTAT_PERMS@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh26:
	ldr	w9, [x10]
Lloh27:
	adrp	x10, _MBI_STAT@GOTPAGE
Lloh28:
	ldr	x10, [x10, _MBI_STAT@GOTPAGEOFF]
Lloh29:
	ldr	w10, [x10]
	tst	w9, w0
	csel	w9, wzr, w10, eq
	orr	w8, w8, w9
Lloh30:
	adrp	x9, _VAPPEND@GOTPAGE
Lloh31:
	ldr	x9, [x9, _VAPPEND@GOTPAGEOFF]
Lloh32:
	adrp	x10, _MBI_APPEND@GOTPAGE
Lloh33:
	ldr	x10, [x10, _MBI_APPEND@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
Lloh35:
	ldr	w10, [x10]
	tst	w9, w0
	csel	w9, wzr, w10, eq
	orr	w0, w8, w9
	ret
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh34
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh22
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VEXEC,4,2                      ; @VEXEC
	.comm	_MBI_EXEC,4,2                   ; @MBI_EXEC
	.comm	_VWRITE,4,2                     ; @VWRITE
	.comm	_MBI_WRITE,4,2                  ; @MBI_WRITE
	.comm	_VREAD,4,2                      ; @VREAD
	.comm	_MBI_READ,4,2                   ; @MBI_READ
	.comm	_VADMIN_PERMS,4,2               ; @VADMIN_PERMS
	.comm	_MBI_ADMIN,4,2                  ; @MBI_ADMIN
	.comm	_VSTAT_PERMS,4,2                ; @VSTAT_PERMS
	.comm	_MBI_STAT,4,2                   ; @MBI_STAT
	.comm	_VAPPEND,4,2                    ; @VAPPEND
	.comm	_MBI_APPEND,4,2                 ; @MBI_APPEND
.subsections_via_symbols
