	.file	"extr_bitops.c_setUnsignedBitfield.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	setUnsignedBitfield
	.type	setUnsignedBitfield, @function
setUnsignedBitfield:
.LFB0:
	.cfi_startproc
	endbr64
	test	rdx, rdx
	jle	.L7
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	r9, rcx
	lea	r11d, -1[rdx+rsi]
	mov	r10d, 1
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	lea	rbx, [rdx+rsi]
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rbp, rsi
	mov	r8, rsi
	mov	eax, r10d
	not	rbp
	sar	r8, 3
	and	ebp, 7
	add	r8, rdi
	mov	ecx, ebp
	sal	eax, cl
	mov	ecx, r11d
	not	eax
	and	al, BYTE PTR [r8]
	sub	ecx, esi
	add	rsi, 1
	movzx	edx, al
	mov	rax, r9
	sar	rax, cl
	mov	ecx, ebp
	and	eax, 1
	sal	rax, cl
	or	rax, rdx
	mov	BYTE PTR [r8], al
	cmp	rsi, rbx
	jne	.L3
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore 3
	.cfi_restore 6
	ret
	.cfi_endproc
.LFE0:
	.size	setUnsignedBitfield, .-setUnsignedBitfield
	.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_bitops.c_setUnsignedBitfield.c"
	.text
	.align	2
	.global	setUnsignedBitfield
	.syntax unified
	.arm
	.fpu softvfp
	.type	setUnsignedBitfield, %function
setUnsignedBitfield:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r2, #0
	bxle	lr
	push	{r4, r5, r6, lr}
	mov	r6, #1
	sub	r5, r2, #1
	add	r5, r5, r1
	add	r4, r2, r1
.L3:
	mvn	lr, r1
	ldrb	r2, [r0, r1, asr #3]	@ zero_extendqisi2
	sub	ip, r5, r1
	and	lr, lr, #7
	asr	ip, r3, ip
	bic	r2, r2, r6, lsl lr
	and	ip, ip, #1
	orr	r2, r2, ip, lsl lr
	strb	r2, [r0, r1, asr #3]
	add	r1, r1, #1
	cmp	r1, r4
	bne	.L3
	pop	{r4, r5, r6, pc}
	.size	setUnsignedBitfield, .-setUnsignedBitfield
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
