	.file	"extr_bitmap.c___bitmap_clear.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	__bitmap_clear
	.type	__bitmap_clear, @function
__bitmap_clear:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, edx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	mov	edi, esi
	call	BIT_WORD@PLT
	mov	edi, r12d
	mov	r13d, DWORD PTR BITS_PER_LONG[rip]
	cdqe
	lea	rbp, [rbx+rax*8]
	call	BITMAP_FIRST_WORD_MASK@PLT
	xor	edx, edx
	mov	rbx, rax
	mov	eax, r12d
	div	r13d
	sub	r13d, edx
	mov	edx, r14d
	sub	edx, r13d
	js	.L5
	mov	ecx, DWORD PTR BITS_PER_LONG[rip]
	.p2align 4,,10
	.p2align 3
.L3:
	not	rbx
	mov	eax, edx
	and	QWORD PTR 0[rbp], rbx
	add	rbp, 8
	mov	rbx, -1
	sub	edx, ecx
	jns	.L3
.L2:
	test	eax, eax
	jne	.L12
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	lea	edi, [r14+r12]
	call	BITMAP_LAST_WORD_MASK@PLT
	and	rbx, rax
	not	rbx
	and	QWORD PTR 0[rbp], rbx
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	eax, r14d
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	__bitmap_clear, .-__bitmap_clear
	.comm	BITS_PER_LONG,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_bitmap.c___bitmap_clear.c"
	.text
	.global	__aeabi_uidivmod
	.align	2
	.global	__bitmap_clear
	.syntax unified
	.arm
	.fpu softvfp
	.type	__bitmap_clear, %function
__bitmap_clear:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, r0
	mov	r0, r1
	mov	r7, r1
	mov	r8, r2
	bl	BIT_WORD
	mov	r3, r0
	ldr	r9, .L13
	mov	r0, r7
	ldr	r4, [r9]
	add	r5, r5, r3, lsl #2
	bl	BITMAP_FIRST_WORD_MASK
	mov	r1, r4
	mov	r6, r0
	mov	r0, r7
	bl	__aeabi_uidivmod
	sub	r4, r4, r1
	subs	r3, r8, r4
	bmi	.L5
	ldr	r2, [r9]
.L3:
	ldr	ip, [r5]
	mov	r1, r3
	bic	ip, ip, r6
	subs	r3, r3, r2
	mvn	r6, #0
	str	ip, [r5], #4
	bpl	.L3
	cmp	r1, #0
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
.L12:
	add	r0, r8, r7
	bl	BITMAP_LAST_WORD_MASK
	ldr	r3, [r5]
	and	ip, r0, r6
	bic	r3, r3, ip
	str	r3, [r5]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L5:
	mov	r1, r8
	cmp	r1, #0
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
	b	.L12
.L14:
	.align	2
.L13:
	.word	BITS_PER_LONG
	.size	__bitmap_clear, .-__bitmap_clear
	.comm	BITS_PER_LONG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
