	.file	"extr_ua101.c_copy_capture_data.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	copy_capture_data, @function
copy_capture_data:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rsi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, edx
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR 16[rdi]
	mov	ecx, DWORD PTR [rdi]
	mov	r12, QWORD PTR [rax]
	mov	eax, DWORD PTR 4[rdi]
	mov	esi, eax
	mov	rdx, QWORD PTR 16[r12]
	mov	r8d, DWORD PTR [r12]
	lea	r14d, [rax+rbx]
	imul	esi, ecx
	lea	rdi, [rdx+rsi*4]
	mov	rsi, QWORD PTR [r15]
	cmp	r14d, r8d
	ja	.L2
	imul	ecx, ebx
	mov	edx, ecx
	call	memcpy@PLT
.L3:
	mov	edx, DWORD PTR 4[rbp]
	mov	ecx, DWORD PTR [r12]
	add	edx, ebx
	mov	eax, edx
	sub	eax, ecx
	cmp	edx, ecx
	cmovb	eax, edx
	mov	rdx, QWORD PTR 8[r12]
	add	rbx, QWORD PTR 8[rbp]
	mov	QWORD PTR 8[rbp], rbx
	mov	DWORD PTR 4[rbp], eax
	xor	eax, eax
	cmp	rbx, rdx
	jl	.L1
	sub	rbx, rdx
	mov	eax, 1
	mov	QWORD PTR 8[rbp], rbx
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	r13d, r8d
	mov	DWORD PTR 12[rsp], r8d
	sub	r13d, eax
	mov	DWORD PTR 8[rsp], ecx
	imul	r13d, ecx
	mov	edx, r13d
	call	memcpy@PLT
	mov	r8d, DWORD PTR 12[rsp]
	mov	edx, r14d
	mov	esi, r13d
	mov	ecx, DWORD PTR 8[rsp]
	mov	rdi, QWORD PTR 16[r12]
	sub	edx, r8d
	add	rsi, QWORD PTR [r15]
	imul	edx, ecx
	call	memcpy@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	copy_capture_data, .-copy_capture_data
	.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_ua101.c_copy_capture_data.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	copy_capture_data, %function
copy_capture_data:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r5, r2
	ldr	r3, [r0, #12]
	ldr	r2, [r0, #4]
	ldr	r10, [r0]
	ldr	r7, [r3]
	mul	r3, r10, r2
	ldr	fp, [r7]
	mov	r4, r0
	add	r9, r2, r5
	ldr	r0, [r7, #8]
	cmp	r9, fp
	mov	r8, r1
	add	r0, r0, r3, lsl #2
	ldr	r1, [r1]
	bhi	.L2
	mul	r2, r5, r10
	bl	memcpy
.L3:
	ldr	r3, [r4, #4]
	ldr	r2, [r7]
	add	r3, r5, r3
	cmp	r3, r2
	str	r3, [r4, #4]
	subcs	r3, r3, r2
	ldr	r2, [r4, #8]
	strcs	r3, [r4, #4]
	ldr	r3, [r7, #4]
	add	r5, r5, r2
	cmp	r5, r3
	str	r5, [r4, #8]
	subge	r5, r5, r3
	movge	r0, #1
	strge	r5, [r4, #8]
	movlt	r0, #0
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	sub	r2, fp, r2
	mul	r6, r10, r2
	mov	r2, r6
	bl	memcpy
	ldr	r1, [r8]
	sub	r2, r9, fp
	mul	r2, r10, r2
	ldr	r0, [r7, #8]
	add	r1, r6, r1
	bl	memcpy
	b	.L3
	.size	copy_capture_data, .-copy_capture_data
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
