	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qedr_to_ib_qp_acc_flags
_qedr_to_ib_qp_acc_flags:               ## @qedr_to_ib_qp_acc_flags
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%ecx, %ecx
	cmpq	$0, 16(%rdi)
	movl	$0, %edx
	je	LBB0_2
## %bb.1:
	movq	_IB_ACCESS_REMOTE_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
LBB0_2:
	cmpq	$0, 8(%rdi)
	movl	$0, %eax
	je	LBB0_4
## %bb.3:
	movq	_IB_ACCESS_REMOTE_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	orl	%edx, %eax
	cmpq	$0, (%rdi)
	je	LBB0_6
## %bb.5:
	movq	_IB_ACCESS_REMOTE_ATOMIC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_6:
	orl	%ecx, %eax
	movq	_IB_ACCESS_LOCAL_WRITE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_ACCESS_REMOTE_WRITE,4,2     ## @IB_ACCESS_REMOTE_WRITE
	.comm	_IB_ACCESS_REMOTE_READ,4,2      ## @IB_ACCESS_REMOTE_READ
	.comm	_IB_ACCESS_REMOTE_ATOMIC,4,2    ## @IB_ACCESS_REMOTE_ATOMIC
	.comm	_IB_ACCESS_LOCAL_WRITE,4,2      ## @IB_ACCESS_LOCAL_WRITE
	.no_dead_strip	_qedr_to_ib_qp_acc_flags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qedr_to_ib_qp_acc_flags
_qedr_to_ib_qp_acc_flags:               ; @qedr_to_ib_qp_acc_flags
	.cfi_startproc
; %bb.0:
	ldp	x10, x8, [x0, #8]
Lloh0:
	adrp	x9, _IB_ACCESS_REMOTE_WRITE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IB_ACCESS_REMOTE_WRITE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	x8, #0
Lloh3:
	adrp	x8, _IB_ACCESS_REMOTE_READ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IB_ACCESS_REMOTE_READ@GOTPAGEOFF]
	csel	w9, wzr, w9, eq
Lloh5:
	ldr	w8, [x8]
	ldr	x11, [x0]
	cmp	x10, #0
	csel	w8, wzr, w8, eq
	orr	w8, w8, w9
Lloh6:
	adrp	x9, _IB_ACCESS_REMOTE_ATOMIC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IB_ACCESS_REMOTE_ATOMIC@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	x11, #0
	csel	w9, wzr, w9, eq
	orr	w8, w8, w9
Lloh9:
	adrp	x9, _IB_ACCESS_LOCAL_WRITE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IB_ACCESS_LOCAL_WRITE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w0, w8, w9
	ret
	.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	_IB_ACCESS_REMOTE_WRITE,4,2     ; @IB_ACCESS_REMOTE_WRITE
	.comm	_IB_ACCESS_REMOTE_READ,4,2      ; @IB_ACCESS_REMOTE_READ
	.comm	_IB_ACCESS_REMOTE_ATOMIC,4,2    ; @IB_ACCESS_REMOTE_ATOMIC
	.comm	_IB_ACCESS_LOCAL_WRITE,4,2      ; @IB_ACCESS_LOCAL_WRITE
	.no_dead_strip	_qedr_to_ib_qp_acc_flags
.subsections_via_symbols
