	.file	"extr_hid-input.c___hidinput_change_resolution_multipliers.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	__hidinput_change_resolution_multipliers, @function
__hidinput_change_resolution_multipliers:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR [rsi]
	test	eax, eax
	je	.L17
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rsi
	cmp	eax, 1
	jg	.L18
.L4:
	test	eax, eax
	jle	.L5
	mov	rsi, QWORD PTR 8[rbx]
	mov	r9, QWORD PTR HID_GD_RESOLUTION_MULTIPLIER[rip]
	xor	edi, edi
	xor	r10d, r10d
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L7:
	add	rdi, 1
	cmp	DWORD PTR [rbx], edi
	jle	.L1
.L10:
	mov	rdx, QWORD PTR [rsi+rdi*8]
	test	ebp, ebp
	mov	ecx, DWORD PTR 28[rdx]
	cmove	ecx, DWORD PTR 24[rdx]
	cmp	DWORD PTR [rdx], 1
	jne	.L7
	mov	eax, DWORD PTR 4[rdx]
	test	eax, eax
	jle	.L7
	mov	r8, QWORD PTR 16[rdx]
	xor	eax, eax
	.p2align 4,,10
	.p2align 3
.L9:
	cmp	QWORD PTR [r8+rax*8], r9
	jne	.L8
	mov	r10, QWORD PTR 8[rdx]
	mov	DWORD PTR [r10+rax*4], ecx
	mov	r10d, 1
.L8:
	add	rax, 1
	cmp	DWORD PTR 4[rdx], eax
	jg	.L9
	add	rdi, 1
	cmp	DWORD PTR [rbx], edi
	jg	.L10
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r10d
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	mov	edx, DWORD PTR HID_REQ_GET_REPORT[rip]
	mov	r12, rdi
	call	hid_hw_request@PLT
	mov	rdi, r12
	call	hid_hw_wait@PLT
	mov	eax, DWORD PTR [rbx]
	jmp	.L4
.L5:
	xor	r10d, r10d
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	mov	eax, r10d
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	xor	r10d, r10d
	mov	eax, r10d
	ret
	.cfi_endproc
.LFE0:
	.size	__hidinput_change_resolution_multipliers, .-__hidinput_change_resolution_multipliers
	.comm	HID_REQ_GET_REPORT,4,4
	.comm	HID_GD_RESOLUTION_MULTIPLIER,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_hid-input.c___hidinput_change_resolution_multipliers.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	__hidinput_change_resolution_multipliers, %function
__hidinput_change_resolution_multipliers:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r4, [r1]
	cmp	r4, #0
	beq	.L5
	cmp	r4, #1
	mov	r8, r1
	mov	r7, r2
	bgt	.L15
.L4:
	cmp	r4, #0
	ble	.L5
	mov	r2, #0
	ldr	r3, .L16
	ldr	r9, [r8, #4]
	mov	r0, r2
	ldr	r1, [r3]
	sub	r9, r9, #4
	b	.L10
.L7:
	add	r2, r2, #1
	cmp	r4, r2
	pople	{r4, r5, r6, r7, r8, r9, r10, pc}
.L10:
	ldr	ip, [r9, #4]!
	cmp	r7, #0
	ldr	lr, [ip, #16]
	ldr	r3, [ip]
	ldr	r5, [ip, #20]
	moveq	r5, lr
	cmp	r3, #1
	bne	.L7
	ldr	r6, [ip, #4]
	cmp	r6, #0
	ble	.L7
	mov	r3, #0
	ldr	lr, [ip, #12]
	sub	lr, lr, #4
.L9:
	ldr	r4, [lr, #4]!
	cmp	r4, r1
	ldreq	r4, [ip, #8]
	moveq	r0, #1
	streq	r5, [r4, r3, lsl #2]
	ldreq	r6, [ip, #4]
	add	r3, r3, #1
	cmp	r6, r3
	bgt	.L9
	ldr	r4, [r8]
	b	.L7
.L15:
	mov	r5, r0
	ldr	r3, .L16+4
	ldr	r2, [r3]
	bl	hid_hw_request
	mov	r0, r5
	bl	hid_hw_wait
	ldr	r4, [r8]
	b	.L4
.L5:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L17:
	.align	2
.L16:
	.word	HID_GD_RESOLUTION_MULTIPLIER
	.word	HID_REQ_GET_REPORT
	.size	__hidinput_change_resolution_multipliers, .-__hidinput_change_resolution_multipliers
	.comm	HID_REQ_GET_REPORT,4,4
	.comm	HID_GD_RESOLUTION_MULTIPLIER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
