	.file	"extr_sysfillrect.c_bitfill_unaligned.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	bitfill_unaligned, @function
bitfill_unaligned:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	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, 24
	.cfi_def_cfa_offset 80
	mov	eax, DWORD PTR 80[rsp]
	test	eax, eax
	jne	.L26
.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
.L26:
	.cfi_restore_state
	mov	rbx, rsi
	mov	rsi, -1
	mov	r15, rdi
	mov	r14d, edx
	mov	r13d, r9d
	mov	rbp, rcx
	mov	r12d, r8d
	call	FB_SHIFT_HIGH@PLT
	mov	ecx, DWORD PTR 80[rsp]
	xor	edx, edx
	mov	rdi, r15
	mov	QWORD PTR 8[rsp], rax
	mov	rsi, -1
	add	ecx, r14d
	mov	eax, ecx
	mov	DWORD PTR 4[rsp], ecx
	div	DWORD PTR 88[rsp]
	call	FB_SHIFT_HIGH@PLT
	mov	ecx, DWORD PTR 4[rsp]
	cmp	ecx, DWORD PTR 88[rsp]
	not	rax
	mov	r9, QWORD PTR 8[rsp]
	mov	r15, rax
	ja	.L4
	mov	rax, r9
	mov	rsi, QWORD PTR [rbx]
	mov	rdi, rbp
	and	rax, r15
	test	r15, r15
	cmovne	r9, rax
	mov	rdx, r9
	call	comp@PLT
	mov	QWORD PTR [rbx], rax
	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
.L4:
	.cfi_restore_state
	test	r9, r9
	jne	.L27
.L6:
	mov	eax, DWORD PTR 80[rsp]
	xor	edx, edx
	div	DWORD PTR 88[rsp]
	mov	edx, eax
	cmp	eax, 3
	jbe	.L7
	lea	edx, -4[rax]
	shr	edx, 2
	add	rdx, 1
	sal	rdx, 5
	add	rdx, rbx
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rsi, rbp
	mov	ecx, r12d
	mov	QWORD PTR [rbx], rbp
	add	rbx, 32
	sal	rsi, cl
	mov	ecx, r13d
	shr	rbp, cl
	mov	ecx, r12d
	or	rsi, rbp
	mov	rbp, rsi
	mov	QWORD PTR -24[rbx], rsi
	sal	rbp, cl
	mov	ecx, r13d
	shr	rsi, cl
	mov	ecx, r12d
	or	rbp, rsi
	mov	rsi, rbp
	mov	QWORD PTR -16[rbx], rbp
	sal	rsi, cl
	mov	ecx, r13d
	shr	rbp, cl
	mov	ecx, r12d
	or	rsi, rbp
	mov	rbp, rsi
	mov	QWORD PTR -8[rbx], rsi
	sal	rbp, cl
	mov	ecx, r13d
	shr	rsi, cl
	or	rbp, rsi
	cmp	rbx, rdx
	jne	.L8
	and	eax, 3
	mov	edx, eax
.L7:
	lea	eax, -1[rdx]
	mov	r14, rbx
	test	edx, edx
	je	.L9
	lea	r14, 8[rbx+rax*8]
.L10:
	mov	rax, rbp
	mov	ecx, r12d
	add	rbx, 8
	mov	QWORD PTR -8[rbx], rbp
	sal	rax, cl
	mov	ecx, r13d
	shr	rbp, cl
	or	rbp, rax
	cmp	r14, rbx
	jne	.L10
.L9:
	test	r15, r15
	je	.L1
	mov	rsi, QWORD PTR [r14]
	mov	rdx, r15
	mov	rdi, rbp
	call	comp@PLT
	mov	QWORD PTR [r14], rax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L27:
	mov	rsi, QWORD PTR [rbx]
	mov	rdi, rbp
	mov	rdx, r9
	add	rbx, 8
	call	comp@PLT
	mov	ecx, r12d
	mov	QWORD PTR -8[rbx], rax
	mov	rax, rbp
	sal	rax, cl
	mov	ecx, r13d
	shr	rbp, cl
	or	rbp, rax
	mov	eax, DWORD PTR 88[rsp]
	sub	eax, r14d
	sub	DWORD PTR 80[rsp], eax
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	bitfill_unaligned, .-bitfill_unaligned
	.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_sysfillrect.c_bitfill_unaligned.c"
	.text
	.global	__aeabi_uidivmod
	.global	__aeabi_uidiv
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bitfill_unaligned, %function
bitfill_unaligned:
	@ args = 16, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #12
	ldr	r10, [sp, #56]
	ldr	r5, [sp, #48]
	cmp	r10, #0
	ldr	r6, [sp, #52]
	bne	.L26
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L26:
	mov	r8, r2
	mov	r7, r1
	mvn	r1, #0
	mov	r9, r0
	mov	r4, r3
	bl	FB_SHIFT_HIGH
	add	r3, r8, r10
	ldr	r1, [sp, #60]
	mov	fp, r0
	mov	r0, r3
	str	r3, [sp, #4]
	bl	__aeabi_uidivmod
	mov	r0, r9
	mov	r2, r1
	mvn	r1, #0
	bl	FB_SHIFT_HIGH
	ldr	r2, [sp, #60]
	ldr	r3, [sp, #4]
	mvn	r9, r0
	cmp	r3, r2
	bhi	.L4
	cmp	r9, #0
	andne	fp, fp, r9
	mov	r2, fp
	mov	r0, r4
	ldr	r1, [r7]
	bl	comp
	str	r0, [r7]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L4:
	cmp	fp, #0
	bne	.L27
.L6:
	mov	r0, r10
	ldr	r1, [sp, #60]
	bl	__aeabi_uidiv
	cmp	r0, #3
	bls	.L7
	mov	lr, r0
	add	r2, r7, #16
.L8:
	lsr	r3, r4, r6
	orr	r3, r3, r4, lsl r5
	lsr	ip, r3, r6
	orr	ip, ip, r3, lsl r5
	lsr	r1, ip, r6
	orr	r1, r1, ip, lsl r5
	sub	lr, lr, #4
	str	r4, [r2, #-16]
	cmp	lr, #3
	lsr	r4, r1, r6
	str	r3, [r2, #-12]
	str	ip, [r2, #-8]
	str	r1, [r2, #-4]
	orr	r4, r4, r1, lsl r5
	add	r2, r2, #16
	bhi	.L8
	sub	r3, r0, #4
	lsr	r3, r3, #2
	add	r3, r3, #1
	add	r7, r7, r3, lsl #4
	and	r0, r0, #3
.L7:
	cmp	r0, #0
	moveq	r8, r7
	beq	.L9
	add	r8, r7, r0, lsl #2
.L10:
	str	r4, [r7], #4
	lsr	r3, r4, r6
	cmp	r7, r8
	orr	r4, r3, r4, lsl r5
	bne	.L10
.L9:
	cmp	r9, #0
	beq	.L1
	mov	r2, r9
	mov	r0, r4
	ldr	r1, [r8]
	bl	comp
	str	r0, [r8]
	b	.L1
.L27:
	mov	r0, r4
	ldr	r1, [r7]
	mov	r2, fp
	bl	comp
	ldr	r3, [sp, #60]
	str	r0, [r7], #4
	sub	r8, r3, r8
	lsr	r3, r4, r6
	sub	r10, r10, r8
	orr	r4, r3, r4, lsl r5
	b	.L6
	.size	bitfill_unaligned, .-bitfill_unaligned
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
