	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rxe_mem_init
_rxe_mem_init:                          ## @rxe_mem_init
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movl	%edi, %r14d
	movl	48(%rsi), %r12d
	shll	$8, %r12d
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_rxe_get_key
	orl	%r12d, %eax
	movq	_IB_ACCESS_REMOTE@GOTPCREL(%rip), %rcx
	testl	%r14d, (%rcx)
	cltq
	cmovneq	%rax, %r15
	movq	56(%rbx), %rcx
	movq	(%rcx), %rcx
	movq	_RXE_TYPE_MR@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_2
## %bb.1:
	movq	%rax, 40(%rbx)
	movq	%r15, 32(%rbx)
LBB0_2:
	movq	%rax, 24(%rbx)
	movq	%r15, 16(%rbx)
	movq	_RXE_MEM_STATE_INVALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_RXE_MEM_TYPE_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	_RXE_BUF_PER_MAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ilog2
	movl	%eax, (%rbx)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_ACCESS_REMOTE,4,2           ## @IB_ACCESS_REMOTE
	.comm	_RXE_TYPE_MR,8,3                ## @RXE_TYPE_MR
	.comm	_RXE_MEM_STATE_INVALID,4,2      ## @RXE_MEM_STATE_INVALID
	.comm	_RXE_MEM_TYPE_NONE,4,2          ## @RXE_MEM_TYPE_NONE
	.comm	_RXE_BUF_PER_MAP,4,2            ## @RXE_BUF_PER_MAP
	.no_dead_strip	_rxe_mem_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rxe_mem_init
_rxe_mem_init:                          ; @rxe_mem_init
	.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, x1
	mov	x20, x0
	ldr	w21, [x1, #48]
	bl	_rxe_get_key
	orr	w8, w0, w21, lsl #8
	sxtw	x8, w8
Lloh0:
	adrp	x9, _IB_ACCESS_REMOTE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IB_ACCESS_REMOTE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w20
	csel	x9, xzr, x8, eq
	ldr	x10, [x19, #56]
	ldr	x10, [x10]
Lloh3:
	adrp	x11, _RXE_TYPE_MR@GOTPAGE
Lloh4:
	ldr	x11, [x11, _RXE_TYPE_MR@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x11]
	cmp	x10, x11
	b.ne	LBB0_2
; %bb.1:
	stp	x9, x8, [x19, #32]
LBB0_2:
	stp	x9, x8, [x19, #16]
Lloh6:
	adrp	x8, _RXE_MEM_STATE_INVALID@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RXE_MEM_STATE_INVALID@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _RXE_MEM_TYPE_NONE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _RXE_MEM_TYPE_NONE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #4]
Lloh12:
	adrp	x8, _RXE_BUF_PER_MAP@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RXE_BUF_PER_MAP@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_ilog2
	str	w0, [x19]
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_ACCESS_REMOTE,4,2           ; @IB_ACCESS_REMOTE
	.comm	_RXE_TYPE_MR,8,3                ; @RXE_TYPE_MR
	.comm	_RXE_MEM_STATE_INVALID,4,2      ; @RXE_MEM_STATE_INVALID
	.comm	_RXE_MEM_TYPE_NONE,4,2          ; @RXE_MEM_TYPE_NONE
	.comm	_RXE_BUF_PER_MAP,4,2            ; @RXE_BUF_PER_MAP
	.no_dead_strip	_rxe_mem_init
.subsections_via_symbols
