	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function convert_access
_convert_access:                        ## @convert_access
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r15d
	movq	_IB_ACCESS_REMOTE_ATOMIC@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	movl	$0, %r14d
	testl	%edi, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_MLX4_WQE_FMR_AND_BIND_PERM_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_be32
	movl	%eax, %r14d
LBB0_2:
	movq	_IB_ACCESS_REMOTE_WRITE@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_MLX4_WQE_FMR_AND_BIND_PERM_REMOTE_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_be32
	movl	%eax, %ebx
LBB0_4:
	movq	_IB_ACCESS_REMOTE_READ@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	movl	$0, %r13d
	testl	%r15d, (%rax)
	je	LBB0_6
## %bb.5:
	movq	_MLX4_WQE_FMR_AND_BIND_PERM_REMOTE_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_be32
	movl	%eax, %r13d
LBB0_6:
	movq	_IB_ACCESS_LOCAL_WRITE@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_8
## %bb.7:
	movq	_MLX4_WQE_FMR_PERM_LOCAL_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_be32
	movl	%eax, %r12d
LBB0_8:
	orl	%r14d, %ebx
	orl	%r13d, %ebx
	orl	%r12d, %ebx
	movq	_MLX4_WQE_FMR_PERM_LOCAL_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_be32
	orl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_ACCESS_REMOTE_ATOMIC,4,2    ## @IB_ACCESS_REMOTE_ATOMIC
	.comm	_MLX4_WQE_FMR_AND_BIND_PERM_ATOMIC,4,2 ## @MLX4_WQE_FMR_AND_BIND_PERM_ATOMIC
	.comm	_IB_ACCESS_REMOTE_WRITE,4,2     ## @IB_ACCESS_REMOTE_WRITE
	.comm	_MLX4_WQE_FMR_AND_BIND_PERM_REMOTE_WRITE,4,2 ## @MLX4_WQE_FMR_AND_BIND_PERM_REMOTE_WRITE
	.comm	_IB_ACCESS_REMOTE_READ,4,2      ## @IB_ACCESS_REMOTE_READ
	.comm	_MLX4_WQE_FMR_AND_BIND_PERM_REMOTE_READ,4,2 ## @MLX4_WQE_FMR_AND_BIND_PERM_REMOTE_READ
	.comm	_IB_ACCESS_LOCAL_WRITE,4,2      ## @IB_ACCESS_LOCAL_WRITE
	.comm	_MLX4_WQE_FMR_PERM_LOCAL_WRITE,4,2 ## @MLX4_WQE_FMR_PERM_LOCAL_WRITE
	.comm	_MLX4_WQE_FMR_PERM_LOCAL_READ,4,2 ## @MLX4_WQE_FMR_PERM_LOCAL_READ
	.no_dead_strip	_convert_access
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function convert_access
_convert_access:                        ; @convert_access
	.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	x20, x0
Lloh0:
	adrp	x8, _IB_ACCESS_REMOTE_ATOMIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IB_ACCESS_REMOTE_ATOMIC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _MLX4_WQE_FMR_AND_BIND_PERM_ATOMIC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MLX4_WQE_FMR_AND_BIND_PERM_ATOMIC@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_cpu_to_be32
	mov	x19, x0
	b	LBB0_3
LBB0_2:
	mov	w19, #0
LBB0_3:
Lloh6:
	adrp	x8, _IB_ACCESS_REMOTE_WRITE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IB_ACCESS_REMOTE_WRITE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_5
; %bb.4:
Lloh9:
	adrp	x8, _MLX4_WQE_FMR_AND_BIND_PERM_REMOTE_WRITE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MLX4_WQE_FMR_AND_BIND_PERM_REMOTE_WRITE@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_cpu_to_be32
	mov	x21, x0
	b	LBB0_6
LBB0_5:
	mov	w21, #0
LBB0_6:
Lloh12:
	adrp	x8, _IB_ACCESS_REMOTE_READ@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IB_ACCESS_REMOTE_READ@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_8
; %bb.7:
Lloh15:
	adrp	x8, _MLX4_WQE_FMR_AND_BIND_PERM_REMOTE_READ@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MLX4_WQE_FMR_AND_BIND_PERM_REMOTE_READ@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_cpu_to_be32
	mov	x22, x0
	b	LBB0_9
LBB0_8:
	mov	w22, #0
LBB0_9:
Lloh18:
	adrp	x8, _IB_ACCESS_LOCAL_WRITE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IB_ACCESS_LOCAL_WRITE@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_11
; %bb.10:
Lloh21:
	adrp	x8, _MLX4_WQE_FMR_PERM_LOCAL_WRITE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _MLX4_WQE_FMR_PERM_LOCAL_WRITE@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	bl	_cpu_to_be32
	b	LBB0_12
LBB0_11:
	mov	w0, #0
LBB0_12:
	orr	w8, w21, w19
	orr	w8, w8, w22
	orr	w19, w8, w0
Lloh24:
	adrp	x8, _MLX4_WQE_FMR_PERM_LOCAL_READ@GOTPAGE
Lloh25:
	ldr	x8, [x8, _MLX4_WQE_FMR_PERM_LOCAL_READ@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	bl	_cpu_to_be32
	orr	w0, w19, w0
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_ACCESS_REMOTE_ATOMIC,4,2    ; @IB_ACCESS_REMOTE_ATOMIC
	.comm	_MLX4_WQE_FMR_AND_BIND_PERM_ATOMIC,4,2 ; @MLX4_WQE_FMR_AND_BIND_PERM_ATOMIC
	.comm	_IB_ACCESS_REMOTE_WRITE,4,2     ; @IB_ACCESS_REMOTE_WRITE
	.comm	_MLX4_WQE_FMR_AND_BIND_PERM_REMOTE_WRITE,4,2 ; @MLX4_WQE_FMR_AND_BIND_PERM_REMOTE_WRITE
	.comm	_IB_ACCESS_REMOTE_READ,4,2      ; @IB_ACCESS_REMOTE_READ
	.comm	_MLX4_WQE_FMR_AND_BIND_PERM_REMOTE_READ,4,2 ; @MLX4_WQE_FMR_AND_BIND_PERM_REMOTE_READ
	.comm	_IB_ACCESS_LOCAL_WRITE,4,2      ; @IB_ACCESS_LOCAL_WRITE
	.comm	_MLX4_WQE_FMR_PERM_LOCAL_WRITE,4,2 ; @MLX4_WQE_FMR_PERM_LOCAL_WRITE
	.comm	_MLX4_WQE_FMR_PERM_LOCAL_READ,4,2 ; @MLX4_WQE_FMR_PERM_LOCAL_READ
	.no_dead_strip	_convert_access
.subsections_via_symbols
