	.file	"extr_netlabel_kapi.c_netlbl_bitmap_walk.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	netlbl_bitmap_walk
	.type	netlbl_bitmap_walk, @function
netlbl_bitmap_walk:
.LFB0:
	.cfi_startproc
	endbr64
	test	edx, edx
	lea	eax, 7[rdx]
	mov	r8d, edx
	mov	r10, rcx
	cmovns	eax, edx
	sar	r8d, 31
	shr	r8d, 29
	sar	eax, 3
	movsx	rcx, eax
	movzx	r9d, BYTE PTR [rdi+rcx]
	lea	ecx, [rdx+r8]
	and	ecx, 7
	sub	ecx, r8d
	mov	r8d, 128
	sar	r8d, cl
	mov	ecx, r8d
	cmp	edx, esi
	jge	.L10
	.p2align 4,,10
	.p2align 3
.L6:
	mov	r8d, ecx
	and	r8d, r9d
	test	r10, r10
	je	.L3
.L12:
	cmp	r8b, cl
	je	.L9
.L4:
	add	edx, 1
	cmp	esi, edx
	je	.L10
	shr	cl
	jne	.L6
	add	eax, 1
	movsx	rcx, eax
	movzx	r9d, BYTE PTR [rdi+rcx]
	mov	ecx, -128
	mov	r8d, ecx
	and	r8d, r9d
	test	r10, r10
	jne	.L12
.L3:
	test	r8b, r8b
	jne	.L4
.L9:
	mov	eax, edx
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	mov	eax, -1
	ret
	.cfi_endproc
.LFE0:
	.size	netlbl_bitmap_walk, .-netlbl_bitmap_walk
	.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_netlabel_kapi.c_netlbl_bitmap_walk.c"
	.text
	.align	2
	.global	netlbl_bitmap_walk
	.syntax unified
	.arm
	.fpu softvfp
	.type	netlbl_bitmap_walk, %function
netlbl_bitmap_walk:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r2, #0
	mov	ip, #128
	push	{r4, r5, lr}
	add	lr, r2, #7
	movge	lr, r2
	rsbs	r5, r2, #0
	and	r5, r5, #7
	and	r4, r2, #7
	rsbpl	r4, r5, #0
	asr	ip, ip, r4
	cmp	r2, r1
	ldrb	r4, [r0, lr, asr #3]	@ zero_extendqisi2
	and	ip, ip, #255
	asr	r5, lr, #3
	bge	.L10
.L6:
	cmp	r3, #0
	and	lr, ip, r4
	beq	.L3
.L14:
	cmp	lr, ip
	beq	.L9
.L4:
	add	r2, r2, #1
	cmp	r1, r2
	beq	.L10
	lsrs	ip, ip, #1
	bne	.L6
	mov	ip, #128
	add	r5, r5, #1
	ldrb	r4, [r0, r5]	@ zero_extendqisi2
	cmp	r3, #0
	and	lr, ip, r4
	bne	.L14
.L3:
	cmp	lr, #0
	bne	.L4
.L9:
	mov	r0, r2
	pop	{r4, r5, pc}
.L10:
	mvn	r0, #0
	pop	{r4, r5, pc}
	.size	netlbl_bitmap_walk, .-netlbl_bitmap_walk
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
