	.file	"extr_block_splitter.c_CopyLiteralsToByteArray.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	CopyLiteralsToByteArray, @function
CopyLiteralsToByteArray:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	and	rcx, r8
	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
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	QWORD PTR [rsp], rdx
	mov	QWORD PTR 8[rsp], r9
	test	rsi, rsi
	je	.L1
	lea	rax, 1[r8]
	mov	rbx, r8
	mov	r15, rdi
	xor	ebp, ebp
	mov	QWORD PTR 16[rsp], rax
	lea	r12, [rdi+rsi*8]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	test	r14, r14
	jne	.L13
.L4:
	mov	rdi, r15
	add	r15, 8
	call	CommandCopyLen@PLT
	lea	rcx, [rax+r13]
	and	rcx, rbx
	cmp	r12, r15
	je	.L1
.L5:
	mov	r14, QWORD PTR [r15]
	lea	r13, [r14+rcx]
	cmp	r13, rbx
	jbe	.L3
	mov	rdx, QWORD PTR [rsp]
	mov	r13, QWORD PTR 16[rsp]
	mov	QWORD PTR 24[rsp], rcx
	lea	rsi, [rdx+rcx*4]
	mov	rdx, QWORD PTR 8[rsp]
	sub	r13, rcx
	lea	rdi, [rdx+rbp*4]
	mov	rdx, r13
	add	rbp, r13
	call	memcpy@PLT
	mov	rcx, QWORD PTR 24[rsp]
	sub	rcx, QWORD PTR 16[rsp]
	add	r14, rcx
	xor	ecx, ecx
	mov	r13, r14
	test	r14, r14
	je	.L4
.L13:
	mov	rax, QWORD PTR [rsp]
	mov	rdx, r14
	lea	rsi, [rax+rcx*4]
	mov	rax, QWORD PTR 8[rsp]
	lea	rdi, [rax+rbp*4]
	add	rbp, r14
	call	memcpy@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L1:
	add	rsp, 40
	.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
	.cfi_endproc
.LFE0:
	.size	CopyLiteralsToByteArray, .-CopyLiteralsToByteArray
	.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_block_splitter.c_CopyLiteralsToByteArray.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	CopyLiteralsToByteArray, %function
CopyLiteralsToByteArray:
	@ args = 8, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #20
	ldr	r8, [sp, #56]
	cmp	r1, #0
	str	r2, [sp, #4]
	and	r4, r3, r8
	beq	.L1
	add	r3, r8, #1
	mov	r5, r0
	mov	r9, #0
	add	r10, r0, r1, lsl #2
	str	r3, [sp, #12]
	b	.L5
.L3:
	cmp	r6, #0
	bne	.L13
.L4:
	mov	r0, fp
	bl	CommandCopyLen
	cmp	r10, r5
	add	r4, r0, r7
	and	r4, r4, r8
	beq	.L1
.L5:
	mov	fp, r5
	ldr	r6, [r5], #4
	add	r7, r6, r4
	cmp	r7, r8
	bls	.L3
	ldr	r3, [sp, #4]
	ldr	r7, [sp, #12]
	add	r1, r3, r4, lsl #2
	ldr	r3, [sp, #60]
	sub	r2, r7, r4
	add	r0, r3, r9, lsl #2
	sub	r4, r4, r7
	add	r6, r6, r4
	str	r2, [sp, #8]
	bl	memcpy
	ldr	r2, [sp, #8]
	cmp	r6, #0
	mov	r7, r6
	mov	r4, #0
	add	r9, r9, r2
	beq	.L4
.L13:
	ldr	r3, [sp, #4]
	mov	r2, r6
	add	r1, r3, r4, lsl #2
	ldr	r3, [sp, #60]
	add	r0, r3, r9, lsl #2
	bl	memcpy
	add	r9, r9, r6
	b	.L4
.L1:
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
	.size	CopyLiteralsToByteArray, .-CopyLiteralsToByteArray
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
