	.file	"extr_atafb_iplan2p8.c_atafb_iplan2p8_linefill.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	atafb_iplan2p8_linefill
	.type	atafb_iplan2p8_linefill, @function
atafb_iplan2p8_linefill:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r10d, edx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	imul	r10d, esi
	mov	r12, r9
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, ecx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	and	ebp, -16
	mov	ebx, r8d
	movsx	r10, r10d
	sub	rsp, 56
	.cfi_def_cfa_offset 96
	add	r10, QWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	mov	eax, 8
	cdq
	idiv	DWORD PTR BPL[rip]
	mov	r8d, eax
	mov	eax, ebp
	cdq
	idiv	r8d
	movsx	rbp, eax
	add	rbp, r10
	and	ecx, 15
	jne	.L16
	cmp	ebx, 15
	jg	.L17
.L3:
	test	ebx, ebx
	jne	.L18
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L19
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	mov	edx, DWORD PTR 96[rsp]
	mov	ecx, DWORD PTR [r9]
	lea	rdi, 4[rbp]
	lea	r13, 4[r9]
	mov	esi, DWORD PTR 104[rsp]
	sub	ebx, 8
	mov	r12, r13
	call	fill8_2col@PLT
	mov	edx, DWORD PTR BPL[rip]
	mov	eax, edx
	shr	eax, 31
	add	eax, edx
	sar	eax
	cdqe
	lea	rbp, 0[rbp+rax*4]
	cmp	ebx, 15
	jle	.L3
.L17:
	mov	esi, DWORD PTR 96[rsp]
	mov	edi, DWORD PTR 104[rsp]
	mov	rdx, rsp
	lea	rcx, 16[rsp]
	call	expand16_2col2mask@PLT
	mov	r8d, ebx
	mov	rsi, r12
	mov	rdx, rbp
	sar	r8d, 4
	lea	edi, -1[r8]
	mov	r8, rdi
	add	rdi, 1
	sal	rdi, 4
	add	rdi, rbp
	.p2align 4,,10
	.p2align 3
.L4:
	mov	ecx, DWORD PTR [rsi]
	add	rdx, 16
	add	rsi, 4
	mov	eax, ecx
	sal	eax, 16
	or	eax, ecx
	mov	ecx, DWORD PTR [rsp]
	and	ecx, eax
	xor	ecx, DWORD PTR 16[rsp]
	mov	DWORD PTR -16[rdx], ecx
	mov	ecx, DWORD PTR 4[rsp]
	and	ecx, eax
	xor	ecx, DWORD PTR 20[rsp]
	mov	DWORD PTR -12[rdx], ecx
	mov	ecx, DWORD PTR 8[rsp]
	and	ecx, eax
	xor	ecx, DWORD PTR 24[rsp]
	mov	DWORD PTR -8[rdx], ecx
	and	eax, DWORD PTR 12[rsp]
	xor	eax, DWORD PTR 28[rsp]
	mov	DWORD PTR -4[rdx], eax
	cmp	rdi, rdx
	jne	.L4
	movsx	r8, r8d
	and	ebx, 15
	add	r8, 1
	lea	r12, [r12+r8*4]
	sal	r8, 4
	add	rbp, r8
	test	ebx, ebx
	je	.L1
.L18:
	mov	ecx, DWORD PTR [r12]
	mov	edx, DWORD PTR 96[rsp]
	mov	rdi, rbp
	mov	esi, DWORD PTR 104[rsp]
	call	fill8_2col@PLT
	jmp	.L1
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	atafb_iplan2p8_linefill, .-atafb_iplan2p8_linefill
	.comm	BPL,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_atafb_iplan2p8.c_atafb_iplan2p8_linefill.c"
	.text
	.global	__aeabi_idiv
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	atafb_iplan2p8_linefill
	.syntax unified
	.arm
	.fpu softvfp
	.type	atafb_iplan2p8_linefill, %function
atafb_iplan2p8_linefill:
	@ args = 16, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r7, .L20
	mov	r6, r3
	bic	r9, r3, #15
	ldr	r3, .L20+4
	sub	sp, sp, #44
	mov	r5, r1
	mov	r8, r0
	ldr	r1, [r7]
	mov	r0, #8
	mov	r4, r2
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	bl	__aeabi_idiv
	mov	r1, r0
	mov	r0, r9
	bl	__aeabi_idiv
	ldr	r2, [r8]
	tst	r6, #15
	mla	r4, r5, r4, r2
	ldr	r6, [sp, #72]
	add	r5, r0, r4
	ldr	r4, [sp, #76]
	bne	.L16
	cmp	r6, #15
	bgt	.L17
.L3:
	cmp	r6, #0
	bne	.L18
.L1:
	ldr	r3, .L20+4
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L19
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L16:
	ldr	r3, [r4], #4
	add	r0, r5, #4
	ldr	r2, [sp, #80]
	ldr	r1, [sp, #84]
	bl	fill8_2col
	ldr	r3, [r7]
	sub	r6, r6, #8
	add	r3, r3, r3, lsr #31
	asr	r3, r3, #1
	cmp	r6, #15
	add	r5, r5, r3, lsl #2
	ble	.L3
.L17:
	add	r2, sp, #4
	ldr	r1, [sp, #80]
	ldr	r0, [sp, #84]
	add	r3, sp, #20
	bl	expand16_2col2mask
	asr	ip, r6, #4
	add	r0, r4, ip, lsl #2
	add	r2, r5, #16
.L4:
	ldr	r3, [r4], #4
	ldr	r1, [sp, #4]
	ldr	lr, [sp, #20]
	orr	r3, r3, r3, lsl #16
	and	r1, r1, r3
	eor	r1, r1, lr
	str	r1, [r2, #-16]
	ldr	r1, [sp, #8]
	ldr	lr, [sp, #24]
	and	r1, r1, r3
	eor	r1, r1, lr
	str	r1, [r2, #-12]
	ldr	r1, [sp, #12]
	ldr	lr, [sp, #28]
	and	r1, r1, r3
	eor	r1, r1, lr
	str	r1, [r2, #-8]
	ldr	lr, [sp, #16]
	ldr	r1, [sp, #32]
	and	r3, r3, lr
	eor	r3, r3, r1
	cmp	r4, r0
	str	r3, [r2, #-4]
	add	r2, r2, #16
	bne	.L4
	and	r6, r6, #15
	cmp	r6, #0
	add	r5, r5, ip, lsl #4
	beq	.L1
.L18:
	mov	r0, r5
	ldr	r3, [r4]
	ldr	r2, [sp, #80]
	ldr	r1, [sp, #84]
	bl	fill8_2col
	b	.L1
.L19:
	bl	__stack_chk_fail
.L21:
	.align	2
.L20:
	.word	BPL
	.word	.LC0
	.size	atafb_iplan2p8_linefill, .-atafb_iplan2p8_linefill
	.comm	BPL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
