	.file	"extr_falcon.c_falcon_copy_chunk.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	falcon_copy_chunk, @function
falcon_copy_chunk:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	DWORD PTR FALCON_MEMORY_IMEM[rip], ecx
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, QWORD PTR FALCON_DMATRFCMD_SIZE_256B[rip]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	mov	rsi, rdx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	jne	.L2
	or	r13, QWORD PTR FALCON_DMATRFCMD_IMEM[rip]
.L2:
	mov	edx, DWORD PTR FALCON_DMATRFMOFFS[rip]
	mov	rdi, rbp
	call	falcon_writel@PLT
	mov	edx, DWORD PTR FALCON_DMATRFFBOFFS[rip]
	mov	rsi, r12
	mov	rdi, rbp
	call	falcon_writel@PLT
	mov	edx, DWORD PTR FALCON_DMATRFCMD[rip]
	mov	rdi, rbp
	mov	rsi, r13
	call	falcon_writel@PLT
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	falcon_dma_wait_idle@PLT
	.cfi_endproc
.LFE0:
	.size	falcon_copy_chunk, .-falcon_copy_chunk
	.comm	FALCON_MEMORY_IMEM,4,4
	.comm	FALCON_DMATRFMOFFS,4,4
	.comm	FALCON_DMATRFFBOFFS,4,4
	.comm	FALCON_DMATRFCMD_SIZE_256B,8,8
	.comm	FALCON_DMATRFCMD_IMEM,8,8
	.comm	FALCON_DMATRFCMD,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_falcon.c_falcon_copy_chunk.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	falcon_copy_chunk, %function
falcon_copy_chunk:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	mov	r5, r1
	ldr	ip, .L5
	ldr	r0, .L5+4
	ldr	ip, [ip]
	ldr	r6, [r0]
	cmp	ip, r3
	ldreq	r3, .L5+8
	mov	r1, r2
	ldreq	r3, [r3]
	mov	r0, r4
	orreq	r6, r6, r3
	ldr	r3, .L5+12
	ldr	r2, [r3]
	bl	falcon_writel
	ldr	r3, .L5+16
	mov	r1, r5
	ldr	r2, [r3]
	mov	r0, r4
	bl	falcon_writel
	ldr	r3, .L5+20
	mov	r1, r6
	mov	r0, r4
	ldr	r2, [r3]
	bl	falcon_writel
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	falcon_dma_wait_idle
.L6:
	.align	2
.L5:
	.word	FALCON_MEMORY_IMEM
	.word	FALCON_DMATRFCMD_SIZE_256B
	.word	FALCON_DMATRFCMD_IMEM
	.word	FALCON_DMATRFMOFFS
	.word	FALCON_DMATRFFBOFFS
	.word	FALCON_DMATRFCMD
	.size	falcon_copy_chunk, .-falcon_copy_chunk
	.comm	FALCON_MEMORY_IMEM,4,4
	.comm	FALCON_DMATRFMOFFS,4,4
	.comm	FALCON_DMATRFFBOFFS,4,4
	.comm	FALCON_DMATRFCMD_SIZE_256B,4,4
	.comm	FALCON_DMATRFCMD_IMEM,4,4
	.comm	FALCON_DMATRFCMD,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
