	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _ldst_memtomem
__ldst_memtomem:                        ## @_ldst_memtomem
	.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	%ecx, %r12d
	movq	%rsi, %r14
	movl	%edi, %r15d
	movq	(%rdx), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	callq	_get_revision
	movq	_PERIPH_REV_R1P0@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_1
## %bb.4:
	xorl	%ebx, %ebx
	testl	%r12d, %r12d
	je	LBB0_7
## %bb.5:
	movq	_ALWAYS@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%ebx, %rbx
	leaq	(%r14,%rbx,4), %rsi
	movl	(%r13), %edx
	movl	%r15d, %edi
	callq	__emit_LD
	addl	%eax, %ebx
	movslq	%ebx, %rbx
	leaq	(%r14,%rbx,4), %rsi
	movl	%r15d, %edi
	callq	__emit_RMB
	addl	%eax, %ebx
	movslq	%ebx, %rbx
	leaq	(%r14,%rbx,4), %rsi
	movl	(%r13), %edx
	movl	%r15d, %edi
	callq	__emit_ST
	addl	%eax, %ebx
	movslq	%ebx, %rbx
	leaq	(%r14,%rbx,4), %rsi
	movl	%r15d, %edi
	callq	__emit_WMB
	addl	%eax, %ebx
	decl	%r12d
	jne	LBB0_6
	jmp	LBB0_7
LBB0_1:
	xorl	%ebx, %ebx
	testl	%r12d, %r12d
	je	LBB0_7
## %bb.2:
	movq	_ALWAYS@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%ebx, %rbx
	leaq	(%r14,%rbx,4), %rsi
	movl	(%r13), %edx
	movl	%r15d, %edi
	callq	__emit_LD
	addl	%eax, %ebx
	movslq	%ebx, %rbx
	leaq	(%r14,%rbx,4), %rsi
	movl	(%r13), %edx
	movl	%r15d, %edi
	callq	__emit_ST
	addl	%eax, %ebx
	decl	%r12d
	jne	LBB0_3
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PERIPH_REV_R1P0,8,3            ## @PERIPH_REV_R1P0
	.comm	_ALWAYS,4,2                     ## @ALWAYS
	.no_dead_strip	__ldst_memtomem
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _ldst_memtomem
__ldst_memtomem:                        ; @_ldst_memtomem
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x20, x1
	mov	x21, x0
	ldr	x8, [x2]
	ldr	x8, [x8]
	ldr	w0, [x8]
	bl	_get_revision
Lloh0:
	adrp	x8, _PERIPH_REV_R1P0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PERIPH_REV_R1P0@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ge	LBB0_4
; %bb.1:
	mov	w22, #0
	cbz	w19, LBB0_7
; %bb.2:
Lloh3:
	adrp	x23, _ALWAYS@GOTPAGE
Lloh4:
	ldr	x23, [x23, _ALWAYS@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sub	w19, w19, #1
	add	x1, x20, w22, sxtw #2
	ldr	w2, [x23]
	mov	x0, x21
	bl	__emit_LD
	add	w22, w22, w0
	add	x1, x20, w22, sxtw #2
	mov	x0, x21
	bl	__emit_RMB
	add	w22, w22, w0
	add	x1, x20, w22, sxtw #2
	ldr	w2, [x23]
	mov	x0, x21
	bl	__emit_ST
	add	w22, w22, w0
	add	x1, x20, w22, sxtw #2
	mov	x0, x21
	bl	__emit_WMB
	add	w22, w22, w0
	cbnz	w19, LBB0_3
	b	LBB0_7
LBB0_4:
	mov	w22, #0
	cbz	w19, LBB0_7
; %bb.5:
Lloh5:
	adrp	x23, _ALWAYS@GOTPAGE
Lloh6:
	ldr	x23, [x23, _ALWAYS@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	sub	w19, w19, #1
	add	x1, x20, w22, sxtw #2
	ldr	w2, [x23]
	mov	x0, x21
	bl	__emit_LD
	add	w22, w22, w0
	add	x1, x20, w22, sxtw #2
	ldr	w2, [x23]
	mov	x0, x21
	bl	__emit_ST
	add	w22, w22, w0
	cbnz	w19, LBB0_6
LBB0_7:
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_PERIPH_REV_R1P0,8,3            ; @PERIPH_REV_R1P0
	.comm	_ALWAYS,4,2                     ; @ALWAYS
	.no_dead_strip	__ldst_memtomem
.subsections_via_symbols
