	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function flash_copy_from
_flash_copy_from:                       ## @flash_copy_from
	.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
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	testq	%rcx, %rcx
	je	LBB0_10
## %bb.1:
	movq	%rcx, %r14
	movq	%rdx, %r13
	movq	%rsi, %r12
	movq	%rcx, %r15
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %r14
	movq	%rdx, %r12
	movl	%ecx, %r13d
	testb	%bl, %bl
	jne	LBB0_10
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %ebx
	movl	%r13d, %edi
	callq	_ADRS
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_cobalt_bus_read32
	leal	(,%r13,8), %ecx
	movl	%eax, %edx
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %edx
	movl	%edx, (%r12)
	leal	1(%r13), %ecx
	leaq	4(%r12), %rdx
	decq	%r15
	sete	%bl
	je	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%ecx, %esi
	andl	$3, %esi
	je	LBB0_2
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	shll	$3, %ecx
	movl	%eax, %edx
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %edx
	movl	%edx, 4(%r12)
	leal	2(%r13), %ecx
	leaq	8(%r12), %rdx
	movq	%r14, %r15
	addq	$-2, %r15
	sete	%bl
	je	LBB0_2
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%ecx, %esi
	andl	$3, %esi
	je	LBB0_2
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	shll	$3, %ecx
	movl	%eax, %edx
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %edx
	movl	%edx, 8(%r12)
	leal	3(%r13), %ecx
	leaq	12(%r12), %rdx
	movq	%r14, %r15
	addq	$-3, %r15
	sete	%bl
	je	LBB0_2
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%ecx, %esi
	andl	$3, %esi
	je	LBB0_2
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	shll	$3, %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %eax
	movl	%eax, 12(%r12)
	addl	$4, %r13d
	addq	$16, %r12
	addq	$-4, %r14
	sete	%bl
	movl	%r13d, %ecx
	movq	%r12, %rdx
	movq	%r14, %r15
	jmp	LBB0_2
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_flash_copy_from
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function flash_copy_from
_flash_copy_from:                       ; @flash_copy_from
	.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
	cbz	x3, LBB0_10
; %bb.1:
	mov	x20, x3
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
	mov	x24, x1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x20, x9
	mov	x21, x24
	mov	x22, x8
	tbnz	w10, #0, LBB0_10
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w23, [x19]
	mov	x0, x22
	bl	_ADRS
	mov	x1, x0
	mov	x0, x23
	bl	_cobalt_bus_read32
	ubfiz	w8, w22, #3, #2
	asr	w8, w0, w8
	str	w8, [x24], #4
	add	w8, w22, #1
	subs	x9, x20, #1
	cset	w10, eq
	cbz	x9, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	and	w11, w8, #0x3
	cbz	w11, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ubfiz	w8, w8, #3, #2
	asr	w8, w0, w8
	str	w8, [x21, #4]
	add	w8, w22, #2
	add	x24, x21, #8
	subs	x9, x20, #2
	cset	w10, eq
	cbz	x9, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	and	w11, w8, #0x3
	cbz	w11, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ubfiz	w8, w8, #3, #2
	asr	w8, w0, w8
	str	w8, [x21, #8]
	add	w8, w22, #3
	add	x24, x21, #12
	subs	x9, x20, #3
	cset	w10, eq
	cbz	x9, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	and	w11, w8, #0x3
	cbz	w11, LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ubfiz	w8, w8, #3, #2
	asr	w8, w0, w8
	str	w8, [x21, #12]
	add	w8, w22, #4
	add	x24, x21, #16
	subs	x9, x20, #4
	cset	w10, eq
	b	LBB0_2
LBB0_10:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_flash_copy_from
.subsections_via_symbols
