	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rvt_fast_reg_mr                ## -- Begin function rvt_fast_reg_mr
	.p2align	4, 0x90
_rvt_fast_reg_mr:                       ## @rvt_fast_reg_mr
	.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
	movl	%ecx, %r14d
	movl	%edx, %r15d
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_to_imr
	movq	(%rbx), %rcx
	cmpq	(%rax), %rcx
	jne	LBB0_1
## %bb.3:
	movl	8(%rax), %ecx
	testl	%ecx, %ecx
	je	LBB0_5
## %bb.4:
	cmpq	$0, 24(%rax)
	jne	LBB0_5
## %bb.6:
	xorl	%r15d, %ecx
	cmpl	$256, %ecx                      ## imm = 0x100
	jae	LBB0_5
## %bb.7:
	movl	%r15d, (%r12)
	movl	%r15d, 4(%r12)
	movl	%r15d, 8(%rax)
	movl	%r14d, 12(%rax)
	movl	8(%r12), %ecx
	movl	%ecx, 20(%rax)
	addq	$16, %rax
	xorl	%ebx, %ebx
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_atomic_set
	jmp	LBB0_8
LBB0_1:
	movq	_EACCES@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EACCES,4,2                     ## @EACCES
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rvt_fast_reg_mr                ; -- Begin function rvt_fast_reg_mr
	.p2align	2
_rvt_fast_reg_mr:                       ; @rvt_fast_reg_mr
	.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, x3
	mov	x21, x2
	mov	x20, x1
	mov	x22, x0
	mov	x0, x1
	bl	_to_imr
	ldr	x8, [x22]
	ldr	x9, [x0]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.1:
	ldr	w8, [x0, #8]
	cbz	w8, LBB0_6
; %bb.2:
	ldr	x9, [x0, #24]
	cbnz	x9, LBB0_6
; %bb.3:
	eor	w8, w8, w21
	cmp	w8, #256
	b.hs	LBB0_6
; %bb.4:
	stp	w21, w21, [x20]
	stp	w21, w19, [x0, #8]
	ldr	w8, [x20, #8]
	str	w8, [x0, #20]
	add	x0, x0, #16
	mov	w1, #0
	bl	_atomic_set
	mov	w0, #0
	b	LBB0_8
LBB0_5:
Lloh0:
	adrp	x8, _EACCES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EACCES@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_EACCES,4,2                     ; @EACCES
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
