	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40iw_get_user_access
_i40iw_get_user_access:                 ## @i40iw_get_user_access
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_IB_ACCESS_LOCAL_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	andl	%edi, %ecx
	je	LBB0_2
## %bb.1:
	movq	_I40IW_ACCESS_FLAGS_LOCALWRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_2:
	movq	_IB_ACCESS_REMOTE_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%edi, %eax
	je	LBB0_4
## %bb.3:
	movq	_I40IW_ACCESS_FLAGS_REMOTEWRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	movq	_IB_ACCESS_REMOTE_READ@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%edi, %edx
	je	LBB0_6
## %bb.5:
	movq	_I40IW_ACCESS_FLAGS_REMOTEREAD@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
LBB0_6:
	orl	%ecx, %eax
	movq	_IB_ACCESS_MW_BIND@GOTPCREL(%rip), %rcx
	andl	(%rcx), %edi
	je	LBB0_8
## %bb.7:
	movq	_I40IW_ACCESS_FLAGS_BIND_WINDOW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
LBB0_8:
	orl	%edi, %edx
	orl	%edx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_ACCESS_LOCAL_WRITE,4,2      ## @IB_ACCESS_LOCAL_WRITE
	.comm	_I40IW_ACCESS_FLAGS_LOCALWRITE,4,2 ## @I40IW_ACCESS_FLAGS_LOCALWRITE
	.comm	_IB_ACCESS_REMOTE_WRITE,4,2     ## @IB_ACCESS_REMOTE_WRITE
	.comm	_I40IW_ACCESS_FLAGS_REMOTEWRITE,4,2 ## @I40IW_ACCESS_FLAGS_REMOTEWRITE
	.comm	_IB_ACCESS_REMOTE_READ,4,2      ## @IB_ACCESS_REMOTE_READ
	.comm	_I40IW_ACCESS_FLAGS_REMOTEREAD,4,2 ## @I40IW_ACCESS_FLAGS_REMOTEREAD
	.comm	_IB_ACCESS_MW_BIND,4,2          ## @IB_ACCESS_MW_BIND
	.comm	_I40IW_ACCESS_FLAGS_BIND_WINDOW,4,2 ## @I40IW_ACCESS_FLAGS_BIND_WINDOW
	.no_dead_strip	_i40iw_get_user_access
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40iw_get_user_access
_i40iw_get_user_access:                 ; @i40iw_get_user_access
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _IB_ACCESS_LOCAL_WRITE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IB_ACCESS_LOCAL_WRITE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _I40IW_ACCESS_FLAGS_LOCALWRITE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _I40IW_ACCESS_FLAGS_LOCALWRITE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w8, w0
	csel	w8, wzr, w9, eq
Lloh6:
	adrp	x9, _IB_ACCESS_REMOTE_WRITE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IB_ACCESS_REMOTE_WRITE@GOTPAGEOFF]
Lloh8:
	adrp	x10, _I40IW_ACCESS_FLAGS_REMOTEWRITE@GOTPAGE
Lloh9:
	ldr	x10, [x10, _I40IW_ACCESS_FLAGS_REMOTEWRITE@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
Lloh11:
	ldr	w10, [x10]
	tst	w9, w0
	csel	w9, wzr, w10, eq
Lloh12:
	adrp	x10, _IB_ACCESS_REMOTE_READ@GOTPAGE
Lloh13:
	ldr	x10, [x10, _IB_ACCESS_REMOTE_READ@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh14:
	ldr	w9, [x10]
Lloh15:
	adrp	x10, _I40IW_ACCESS_FLAGS_REMOTEREAD@GOTPAGE
Lloh16:
	ldr	x10, [x10, _I40IW_ACCESS_FLAGS_REMOTEREAD@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	tst	w9, w0
	csel	w9, wzr, w10, eq
	orr	w8, w8, w9
Lloh18:
	adrp	x9, _IB_ACCESS_MW_BIND@GOTPAGE
Lloh19:
	ldr	x9, [x9, _IB_ACCESS_MW_BIND@GOTPAGEOFF]
Lloh20:
	adrp	x10, _I40IW_ACCESS_FLAGS_BIND_WINDOW@GOTPAGE
Lloh21:
	ldr	x10, [x10, _I40IW_ACCESS_FLAGS_BIND_WINDOW@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
Lloh23:
	ldr	w10, [x10]
	tst	w9, w0
	csel	w9, wzr, w10, eq
	orr	w0, w8, w9
	ret
	.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	_IB_ACCESS_LOCAL_WRITE,4,2      ; @IB_ACCESS_LOCAL_WRITE
	.comm	_I40IW_ACCESS_FLAGS_LOCALWRITE,4,2 ; @I40IW_ACCESS_FLAGS_LOCALWRITE
	.comm	_IB_ACCESS_REMOTE_WRITE,4,2     ; @IB_ACCESS_REMOTE_WRITE
	.comm	_I40IW_ACCESS_FLAGS_REMOTEWRITE,4,2 ; @I40IW_ACCESS_FLAGS_REMOTEWRITE
	.comm	_IB_ACCESS_REMOTE_READ,4,2      ; @IB_ACCESS_REMOTE_READ
	.comm	_I40IW_ACCESS_FLAGS_REMOTEREAD,4,2 ; @I40IW_ACCESS_FLAGS_REMOTEREAD
	.comm	_IB_ACCESS_MW_BIND,4,2          ; @IB_ACCESS_MW_BIND
	.comm	_I40IW_ACCESS_FLAGS_BIND_WINDOW,4,2 ; @I40IW_ACCESS_FLAGS_BIND_WINDOW
	.no_dead_strip	_i40iw_get_user_access
.subsections_via_symbols
