	.file	"extr_grdc.c_set.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	set, @function
set:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, 7
	mov	ecx, esi
	movsx	rdi, edi
	xor	edx, edx
	sal	eax, cl
	mov	r8, QWORD PTR next[rip]
	mov	r10, QWORD PTR old[rip]
	mov	r9d, eax
	mov	rax, QWORD PTR disp[rip]
	lea	r11, [rax+rdi*4]
	mov	edi, 12
.L2:
	mov	eax, DWORD PTR [r11]
	mov	ecx, edi
	sub	edi, 3
	sar	eax, cl
	mov	ecx, esi
	and	eax, 7
	sal	eax, cl
	or	eax, DWORD PTR [r8+rdx]
	mov	DWORD PTR [r8+rdx], eax
	xor	eax, DWORD PTR [r10+rdx]
	add	rdx, 4
	and	eax, r9d
	or	eax, DWORD PTR mask[rip]
	mov	DWORD PTR mask[rip], eax
	cmp	edi, -3
	jne	.L2
	test	eax, r9d
	je	.L1
	or	eax, r9d
	mov	DWORD PTR mask[rip], eax
.L1:
	ret
	.cfi_endproc
.LFE0:
	.size	set, .-set
	.comm	old,8,8
	.comm	next,8,8
	.comm	mask,4,4
	.comm	disp,8,8
	.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_grdc.c_set.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	set, %function
set:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #7
	mov	ip, #12
	push	{r4, r5, r6, r7, lr}
	ldr	r2, .L10
	ldr	lr, .L10+4
	ldr	r4, .L10+8
	ldr	r2, [r2]
	ldr	lr, [lr]
	ldr	r4, [r4]
	ldr	r5, .L10+12
	add	r0, r2, r0, lsl #2
	lsl	r6, r3, r1
	sub	lr, lr, #4
	sub	r4, r4, #4
.L2:
	ldr	r2, [r0]
	ldr	r3, [lr, #4]!
	asr	r2, r2, ip
	and	r2, r2, #7
	orr	r3, r3, r2, lsl r1
	str	r3, [lr]
	ldr	r7, [r4, #4]!
	ldr	r2, [r5]
	eor	r3, r3, r7
	sub	ip, ip, #3
	and	r3, r3, r6
	orr	r3, r3, r2
	cmn	ip, #3
	str	r3, [r5]
	bne	.L2
	tst	r3, r6
	orrne	r3, r3, r6
	strne	r3, [r5]
	pop	{r4, r5, r6, r7, pc}
.L11:
	.align	2
.L10:
	.word	disp
	.word	next
	.word	old
	.word	mask
	.size	set, .-set
	.comm	old,4,4
	.comm	next,4,4
	.comm	mask,4,4
	.comm	disp,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
