	.file	"extr_ocs_os.c_ocs_dma_copy_out.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ocs_dma_copy_out
	.type	ocs_dma_copy_out, @function
ocs_dma_copy_out:
.LFB0:
	.cfi_startproc
	endbr64
	test	rdi, rdi
	je	.L3
	mov	r8, rsi
	test	rsi, rsi
	je	.L3
	xor	eax, eax
	test	rdx, rdx
	jne	.L11
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdx
	cmp	QWORD PTR [rdi], rdx
	cmovle	rbx, QWORD PTR [rdi]
	mov	esi, DWORD PTR 8[rdi]
	mov	rdi, r8
	mov	rdx, rbx
	call	ocs_memcpy@PLT
	mov	eax, ebx
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
.L3:
	.cfi_restore 3
	mov	eax, -1
	ret
	.cfi_endproc
.LFE0:
	.size	ocs_dma_copy_out, .-ocs_dma_copy_out
	.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_ocs_os.c_ocs_dma_copy_out.c"
	.text
	.align	2
	.global	ocs_dma_copy_out
	.syntax unified
	.arm
	.fpu softvfp
	.type	ocs_dma_copy_out, %function
ocs_dma_copy_out:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r1, #0
	cmpne	r0, #0
	push	{r4, lr}
	beq	.L3
	cmp	r2, #0
	mov	r4, r2
	beq	.L2
	ldr	r2, [r0]
	mov	r3, r0
	cmp	r4, r2
	movge	r4, r2
	mov	r0, r1
	mov	r2, r4
	ldr	r1, [r3, #4]
	bl	ocs_memcpy
.L2:
	mov	r0, r4
	pop	{r4, pc}
.L3:
	mvn	r4, #0
	b	.L2
	.size	ocs_dma_copy_out, .-ocs_dma_copy_out
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
