	.file	"extr_uinput.c_uinput_flush_requests.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	uinput_flush_requests, @function
uinput_flush_requests:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	spin_lock@PLT
	mov	eax, DWORD PTR UINPUT_NUM_REQUESTS[rip]
	test	eax, eax
	jle	.L2
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rax, QWORD PTR 8[rbp]
	mov	rsi, QWORD PTR [rax+rbx*8]
	test	rsi, rsi
	je	.L3
	mov	eax, DWORD PTR ENODEV[rip]
	mov	rdi, rbp
	neg	eax
	mov	DWORD PTR [rsi], eax
	call	uinput_request_done@PLT
.L3:
	add	rbx, 1
	cmp	DWORD PTR UINPUT_NUM_REQUESTS[rip], ebx
	jg	.L4
.L2:
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	spin_unlock@PLT
	.cfi_endproc
.LFE0:
	.size	uinput_flush_requests, .-uinput_flush_requests
	.comm	UINPUT_NUM_REQUESTS,4,4
	.comm	ENODEV,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_uinput.c_uinput_flush_requests.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	uinput_flush_requests, %function
uinput_flush_requests:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r6, .L11
	mov	r5, r0
	bl	spin_lock
	ldr	r3, [r6]
	cmp	r3, #0
	ble	.L2
	mov	r4, #0
	ldr	r7, .L11+4
.L4:
	ldr	r3, [r5, #4]
	ldr	r1, [r3, r4, lsl #2]
	add	r4, r4, #1
	cmp	r1, #0
	beq	.L3
	ldr	r3, [r7]
	mov	r0, r5
	rsb	r3, r3, #0
	str	r3, [r1]
	bl	uinput_request_done
.L3:
	ldr	r3, [r6]
	cmp	r3, r4
	bgt	.L4
.L2:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, lr}
	b	spin_unlock
.L12:
	.align	2
.L11:
	.word	UINPUT_NUM_REQUESTS
	.word	ENODEV
	.size	uinput_flush_requests, .-uinput_flush_requests
	.comm	UINPUT_NUM_REQUESTS,4,4
	.comm	ENODEV,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
