	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtas_real_unmap
_rtas_real_unmap:                       ## @rtas_real_unmap
	.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
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_MA_OWNED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_rtas_mtx@GOTPCREL(%rip), %rdi
	callq	_mtx_assert
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	movq	_rtas_bounce_virt@GOTPCREL(%rip), %rax
	movq	_rtas_bounce_phys@GOTPCREL(%rip), %rcx
	addq	(%rax), %rbx
	subq	(%rcx), %rbx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memcpy                         ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rtas_mtx,4,2                   ## @rtas_mtx
	.comm	_MA_OWNED,4,2                   ## @MA_OWNED
	.comm	_rtas_bounce_virt,8,3           ## @rtas_bounce_virt
	.comm	_rtas_bounce_phys,8,3           ## @rtas_bounce_phys
	.no_dead_strip	_rtas_real_unmap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtas_real_unmap
_rtas_real_unmap:                       ; @rtas_real_unmap
	.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, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _MA_OWNED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MA_OWNED@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x0, _rtas_mtx@GOTPAGE
Lloh4:
	ldr	x0, [x0, _rtas_mtx@GOTPAGEOFF]
	bl	_mtx_assert
	cbz	x21, LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _rtas_bounce_virt@GOTPAGE
Lloh6:
	ldr	x8, [x8, _rtas_bounce_virt@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
Lloh8:
	adrp	x9, _rtas_bounce_phys@GOTPAGE
Lloh9:
	ldr	x9, [x9, _rtas_bounce_phys@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	add	x8, x8, x21
	sub	x1, x8, x9
	mov	x0, x20
	mov	x2, 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
	b	_memcpy
LBB0_2:
	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	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_rtas_mtx,4,2                   ; @rtas_mtx
	.comm	_MA_OWNED,4,2                   ; @MA_OWNED
	.comm	_rtas_bounce_virt,8,3           ; @rtas_bounce_virt
	.comm	_rtas_bounce_phys,8,3           ; @rtas_bounce_phys
	.no_dead_strip	_rtas_real_unmap
.subsections_via_symbols
