	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function falcon_copy_chunk
_falcon_copy_chunk:                     ## @falcon_copy_chunk
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	_FALCON_DMATRFCMD_SIZE_256B@GOTPCREL(%rip), %rax
	movq	_FALCON_MEMORY_IMEM@GOTPCREL(%rip), %rsi
	cmpl	%ecx, (%rsi)
	jne	LBB0_1
## %bb.2:
	movq	_FALCON_DMATRFCMD_IMEM@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r15
	jmp	LBB0_3
LBB0_1:
	xorl	%r15d, %r15d
LBB0_3:
	orq	(%rax), %r15
	movq	_FALCON_DMATRFMOFFS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rbx, %rdi
	movq	%rdx, %rsi
	movl	%eax, %edx
	callq	_falcon_writel
	movq	_FALCON_DMATRFFBOFFS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_falcon_writel
	movq	_FALCON_DMATRFCMD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_falcon_writel
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_falcon_dma_wait_idle           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FALCON_DMATRFCMD_SIZE_256B,8,3 ## @FALCON_DMATRFCMD_SIZE_256B
	.comm	_FALCON_MEMORY_IMEM,4,2         ## @FALCON_MEMORY_IMEM
	.comm	_FALCON_DMATRFCMD_IMEM,8,3      ## @FALCON_DMATRFCMD_IMEM
	.comm	_FALCON_DMATRFMOFFS,4,2         ## @FALCON_DMATRFMOFFS
	.comm	_FALCON_DMATRFFBOFFS,4,2        ## @FALCON_DMATRFFBOFFS
	.comm	_FALCON_DMATRFCMD,4,2           ## @FALCON_DMATRFCMD
	.no_dead_strip	_falcon_copy_chunk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function falcon_copy_chunk
_falcon_copy_chunk:                     ; @falcon_copy_chunk
	.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	x8, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x9, _FALCON_DMATRFCMD_SIZE_256B@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FALCON_DMATRFCMD_SIZE_256B@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _FALCON_MEMORY_IMEM@GOTPAGE
Lloh4:
	ldr	x10, [x10, _FALCON_MEMORY_IMEM@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
Lloh6:
	adrp	x11, _FALCON_DMATRFCMD_IMEM@GOTPAGE
Lloh7:
	ldr	x11, [x11, _FALCON_DMATRFCMD_IMEM@GOTPAGEOFF]
Lloh8:
	ldr	x11, [x11]
	cmp	w10, w3
	csel	x10, x11, xzr, eq
	orr	x21, x10, x9
Lloh9:
	adrp	x9, _FALCON_DMATRFMOFFS@GOTPAGE
Lloh10:
	ldr	x9, [x9, _FALCON_DMATRFMOFFS@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x9]
	mov	x1, x8
	bl	_falcon_writel
Lloh12:
	adrp	x8, _FALCON_DMATRFFBOFFS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FALCON_DMATRFFBOFFS@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_falcon_writel
Lloh15:
	adrp	x8, _FALCON_DMATRFCMD@GOTPAGE
Lloh16:
	ldr	x8, [x8, _FALCON_DMATRFCMD@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	bl	_falcon_writel
	mov	x0, x20
	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	_falcon_dma_wait_idle
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FALCON_DMATRFCMD_SIZE_256B,8,3 ; @FALCON_DMATRFCMD_SIZE_256B
	.comm	_FALCON_MEMORY_IMEM,4,2         ; @FALCON_MEMORY_IMEM
	.comm	_FALCON_DMATRFCMD_IMEM,8,3      ; @FALCON_DMATRFCMD_IMEM
	.comm	_FALCON_DMATRFMOFFS,4,2         ; @FALCON_DMATRFMOFFS
	.comm	_FALCON_DMATRFFBOFFS,4,2        ; @FALCON_DMATRFFBOFFS
	.comm	_FALCON_DMATRFCMD,4,2           ; @FALCON_DMATRFCMD
	.no_dead_strip	_falcon_copy_chunk
.subsections_via_symbols
