	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rxe_set_page
_rxe_set_page:                          ## @rxe_set_page
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	callq	_to_rmr
	movq	%rax, %rbx
	movq	(%rax), %rax
	xorl	%edi, %edi
	cmpq	8(%rbx), %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_6
LBB0_2:
	movq	(%rbx), %rcx
	movq	16(%rbx), %rsi
	movq	_RXE_BUF_PER_MAP@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rcx, %rax
	orq	%rdi, %rax
	shrq	$32, %rax
	je	LBB0_3
## %bb.4:
	movq	%rcx, %rax
	xorl	%edx, %edx
	divq	%rdi
	jmp	LBB0_5
LBB0_3:
	movl	%ecx, %eax
	xorl	%edx, %edx
	divl	%edi
                                        ## kill: def $edx killed $edx def $rdx
                                        ## kill: def $eax killed $eax def $rax
LBB0_5:
	movq	(%rsi,%rax,8), %rax
	movq	(%rax), %rax
	movl	%r14d, 4(%rax,%rdx,8)
	movl	(%r15), %esi
	movl	%esi, (%rax,%rdx,8)
	incq	%rcx
	movq	%rcx, (%rbx)
	xorl	%eax, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_RXE_BUF_PER_MAP,8,3            ## @RXE_BUF_PER_MAP
	.no_dead_strip	_rxe_set_page
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rxe_set_page
_rxe_set_page:                          ; @rxe_set_page
	.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
	bl	_to_rmr
	mov	x21, x0
	ldp	x8, x9, [x0]
	cmp	x8, x9
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_3
LBB0_2:
	ldr	x8, [x21, #16]
	ldr	x9, [x21]
Lloh3:
	adrp	x10, _RXE_BUF_PER_MAP@GOTPAGE
Lloh4:
	ldr	x10, [x10, _RXE_BUF_PER_MAP@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	udiv	x11, x9, x10
	ldr	x8, [x8, x11, lsl #3]
	msub	x10, x11, x10, x9
	ldr	x8, [x8]
	add	x8, x8, x10, lsl #3
	ldr	w10, [x20]
	stp	w10, w19, [x8]
	add	x8, x9, #1
	str	x8, [x21]
LBB0_3:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_RXE_BUF_PER_MAP,8,3            ; @RXE_BUF_PER_MAP
	.no_dead_strip	_rxe_set_page
.subsections_via_symbols
