	.file	"extr_agm.c_fill_pixels.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	fill_pixels, @function
fill_pixels:
.LFB0:
	.cfi_startproc
	endbr64
	mov	r10, QWORD PTR [rdi]
	mov	rax, QWORD PTR [rsi]
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, QWORD PTR [rdx]
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, QWORD PTR [rcx]
	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
	mov	r15, QWORD PTR 72[rsp]
	mov	r12, QWORD PTR 88[rsp]
	mov	rbx, QWORD PTR 64[rsp]
	mov	ebp, DWORD PTR [r15]
	mov	r15, QWORD PTR 80[rsp]
	mov	r11d, DWORD PTR [r12]
	mov	DWORD PTR -4[rsp], r8d
	mov	r15d, DWORD PTR [r15]
	test	r11d, r11d
	jne	.L2
	lea	r8d, [rbp+rbp]
	mov	r11, QWORD PTR [rbx]
	movsx	r8, r8d
	lea	r9, 0[0+r8*8]
	lea	r8, 8[0+r8*8]
	add	QWORD PTR [r10+r9], r11
	mov	r11, QWORD PTR 8[rbx]
	add	QWORD PTR [r10+r8], r11
	mov	r11, QWORD PTR 16[rbx]
	add	QWORD PTR [rax+r9], r11
	mov	r9, QWORD PTR 24[rbx]
	mov	r11d, 1
	add	QWORD PTR [rax+r8], r9
.L3:
	mov	QWORD PTR [rdi], r10
	mov	QWORD PTR [rsi], rax
	mov	rax, QWORD PTR 72[rsp]
	mov	QWORD PTR [rdx], r14
	mov	QWORD PTR [rcx], r13
	mov	DWORD PTR [r12], r11d
	mov	DWORD PTR [rax], ebp
	mov	rax, QWORD PTR 80[rsp]
	mov	DWORD PTR [rax], r15d
	xor	eax, eax
.L1:
	pop	rbx
	.cfi_remember_state
	.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
	cmp	r11d, 1
	je	.L13
	cmp	r11d, 2
	jne	.L3
	lea	r11d, [rbp+rbp]
	mov	r8, QWORD PTR [rbx]
	movsx	r11, r11d
	add	QWORD PTR [rax+r11*8], r8
	mov	r8, QWORD PTR 8[rbx]
	add	QWORD PTR 8[rax+r11*8], r8
	movsx	r11, ebp
	mov	r8, QWORD PTR 16[rbx]
	add	ebp, 1
	sal	r11, 3
	add	QWORD PTR [r14+r11], r8
	mov	rbx, QWORD PTR 24[rbx]
	add	QWORD PTR 0[r13+r11], rbx
	cmp	ebp, DWORD PTR 96[rsp]
	jl	.L10
	add	r15d, 1
	cmp	r15d, DWORD PTR 104[rsp]
	jge	.L9
	mov	r8d, DWORD PTR -4[rsp]
	movsx	r9, r9d
	xor	r11d, r11d
	xor	ebp, ebp
	sal	r9, 3
	add	r8d, r8d
	sub	r14, r9
	movsx	r8, r8d
	sal	r8, 3
	sub	r10, r8
	sub	rax, r8
	movsx	r8, DWORD PTR 56[rsp]
	sal	r8, 3
	sub	r13, r8
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L13:
	movsx	r11, ebp
	mov	r8, QWORD PTR [rbx]
	add	ebp, 1
	sal	r11, 3
	add	QWORD PTR [r14+r11], r8
	mov	r8, QWORD PTR 8[rbx]
	add	QWORD PTR 0[r13+r11], r8
	cmp	DWORD PTR 96[rsp], ebp
	jle	.L5
	lea	r8d, [rbp+rbp]
	movsx	r8, r8d
	lea	r9, [r10+r8*8]
	lea	r8, 8[0+r8*8]
.L6:
	mov	r11, QWORD PTR 16[rbx]
	add	QWORD PTR [r9], r11
	mov	r11d, 2
	mov	r9, QWORD PTR 24[rbx]
	add	QWORD PTR [r10+r8], r9
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L5:
	add	r15d, 1
	cmp	DWORD PTR 104[rsp], r15d
	jle	.L9
	mov	r8d, DWORD PTR -4[rsp]
	movsx	r9, r9d
	xor	ebp, ebp
	sal	r9, 3
	add	r8d, r8d
	sub	r14, r9
	movsx	r8, r8d
	sal	r8, 3
	sub	r10, r8
	sub	rax, r8
	movsx	r8, DWORD PTR 56[rsp]
	mov	r9, r10
	sal	r8, 3
	sub	r13, r8
	mov	r8d, 8
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L10:
	xor	r11d, r11d
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L9:
	mov	eax, 1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	fill_pixels, .-fill_pixels
	.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_agm.c_fill_pixels.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fill_pixels, %function
fill_pixels:
	@ args = 36, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	lr, r0
	sub	sp, sp, #12
	ldr	r0, [sp, #72]
	ldr	r5, [lr]
	ldr	r6, [r0]
	ldr	r0, [sp, #64]
	cmp	r6, #0
	ldr	ip, [r0]
	ldr	r0, [sp, #68]
	ldr	r4, [r1]
	ldr	r0, [r0]
	ldr	r9, [r2]
	ldr	r8, [r3]
	ldr	r7, [sp, #60]
	str	r0, [sp]
	bne	.L2
	ldr	r10, [r7]
	ldr	r6, [r5, ip, lsl #3]
	lsl	r0, ip, #3
	add	r6, r6, r10
	str	r6, [r5, ip, lsl #3]
	mov	r6, #1
	add	r0, r0, #4
	ldr	fp, [r7, #4]
	ldr	r10, [r5, r0]
	add	r10, r10, fp
	str	r10, [r5, r0]
	ldr	fp, [r7, #8]
	ldr	r10, [r4, ip, lsl #3]
	add	r10, r10, fp
	str	r10, [r4, ip, lsl #3]
	ldr	r10, [r7, #12]
	ldr	r7, [r4, r0]
	add	r7, r7, r10
	str	r7, [r4, r0]
.L3:
	mov	r0, #0
	str	r5, [lr]
	str	r4, [r1]
	str	r9, [r2]
	str	r8, [r3]
	ldr	r3, [sp, #72]
	ldr	r2, [sp]
	str	r6, [r3]
	ldr	r3, [sp, #64]
	str	ip, [r3]
	ldr	r3, [sp, #68]
	str	r2, [r3]
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	cmp	r6, #1
	beq	.L13
	cmp	r6, #2
	bne	.L3
	ldr	r6, [r4, ip, lsl #3]
	ldr	r10, [r7]
	lsl	r0, ip, #3
	add	r6, r6, r10
	str	r6, [r4, ip, lsl #3]
	add	r0, r0, #4
	ldr	r6, [r4, r0]
	ldr	r10, [r7, #4]
	add	r6, r6, r10
	str	r6, [r4, r0]
	ldr	r0, [r9, ip, lsl #2]
	ldr	r6, [r7, #8]
	add	r0, r0, r6
	str	r0, [r9, ip, lsl #2]
	ldr	r0, [r8, ip, lsl #2]
	ldr	r6, [r7, #12]
	add	r0, r0, r6
	str	r0, [r8, ip, lsl #2]
	ldr	r0, [sp, #76]
	add	ip, ip, #1
	cmp	ip, r0
	blt	.L10
	ldr	r0, [sp]
	add	ip, r0, #1
	ldr	r0, [sp, #80]
	str	ip, [sp]
	cmp	ip, r0
	bge	.L9
	mov	r6, #0
	ldr	r0, [sp, #48]
	mov	ip, r6
	sub	r5, r5, r0, lsl #3
	sub	r4, r4, r0, lsl #3
	ldr	r0, [sp, #52]
	sub	r9, r9, r0, lsl #2
	ldr	r0, [sp, #56]
	sub	r8, r8, r0, lsl #2
	b	.L3
.L13:
	ldr	r0, [r9, ip, lsl #2]
	ldr	r6, [r7]
	add	r0, r0, r6
	str	r0, [r9, ip, lsl #2]
	ldr	r0, [r8, ip, lsl #2]
	ldr	r6, [r7, #4]
	add	r0, r0, r6
	str	r0, [r8, ip, lsl #2]
	ldr	r0, [sp, #76]
	add	ip, ip, #1
	cmp	r0, ip
	ble	.L5
	lsl	r0, ip, #3
	add	r0, r0, #4
	str	r0, [sp, #4]
	add	r10, r5, ip, lsl #3
.L6:
	ldr	r0, [r10]
	ldr	fp, [r7, #8]
	mov	r6, #2
	add	r0, r0, fp
	str	r0, [r10]
	ldr	r10, [sp, #4]
	ldr	r7, [r7, #12]
	ldr	r0, [r5, r10]
	add	r0, r0, r7
	str	r0, [r5, r10]
	b	.L3
.L5:
	ldr	r0, [sp]
	add	ip, r0, #1
	ldr	r0, [sp, #80]
	str	ip, [sp]
	cmp	r0, ip
	ble	.L9
	ldr	r0, [sp, #48]
	mov	ip, #0
	sub	r5, r5, r0, lsl #3
	mov	r0, #4
	str	r0, [sp, #4]
	ldr	r0, [sp, #48]
	mov	r10, r5
	sub	r4, r4, r0, lsl #3
	ldr	r0, [sp, #52]
	sub	r9, r9, r0, lsl #2
	ldr	r0, [sp, #56]
	sub	r8, r8, r0, lsl #2
	b	.L6
.L10:
	mov	r6, #0
	b	.L3
.L9:
	mov	r0, #1
	b	.L1
	.size	fill_pixels, .-fill_pixels
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
