	.file	"extr_hid-core.c_hid_input_report.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	""
.LC1:
	.string	"un"
.LC2:
	.string	"empty report\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC3:
	.string	"\nreport (size %u) (%snumbered)\n"
	.section	.rodata.str1.1
.LC4:
	.string	"report %d (size %u) = "
.LC5:
	.string	" %02x"
.LC6:
	.string	"\n"
	.text
	.p2align 4
	.globl	hid_input_report
	.type	hid_input_report, @function
hid_input_report:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	DWORD PTR 16[rsp], esi
	mov	QWORD PTR [rsp], rdx
	mov	DWORD PTR 20[rsp], r8d
	test	rdi, rdi
	je	.L2
	mov	rax, QWORD PTR [rdi]
	mov	rbp, rdi
	mov	QWORD PTR 24[rsp], rax
	test	rax, rax
	je	.L2
	movsx	rax, DWORD PTR 16[rsp]
	mov	rdx, QWORD PTR 8[rdi]
	mov	r12d, ecx
	lea	r14, [rdx+rax*8]
	test	ecx, ecx
	je	.L25
	mov	esi, DWORD PTR GFP_ATOMIC[rip]
	mov	edi, DWORD PTR HID_DEBUG_BUFSIZE[rip]
	call	kmalloc@PLT
	mov	r15, rax
	test	rax, rax
	je	.L26
	cmp	QWORD PTR [r14], 0
	lea	rax, .LC1[rip]
	mov	ecx, r12d
	mov	rdi, r15
	lea	r8, .LC0[rip]
	lea	rdx, .LC3[rip]
	cmove	r8, rax
	mov	eax, DWORD PTR HID_DEBUG_BUFSIZE[rip]
	lea	esi, -1[rax]
	xor	eax, eax
	call	snprintf@PLT
	mov	rsi, r15
	mov	rdi, rbp
	call	hid_debug_event@PLT
	mov	rsi, QWORD PTR [rsp]
	mov	rdi, r14
	call	hid_get_report@PLT
	mov	QWORD PTR 8[rsp], rax
	test	rax, rax
	je	.L27
	mov	eax, DWORD PTR HID_DEBUG_BUFSIZE[rip]
	mov	r8d, r12d
	lea	rdx, .LC4[rip]
	mov	rdi, r15
	lea	esi, -1[rax]
	mov	rax, QWORD PTR 8[rsp]
	mov	ecx, DWORD PTR [rax]
	xor	eax, eax
	call	snprintf@PLT
	mov	rsi, r15
	mov	rdi, rbp
	call	hid_debug_event@PLT
	mov	rbx, QWORD PTR [rsp]
	lea	eax, -1[r12]
	mov	r13, rbx
	lea	r14, 4[rbx+rax*4]
	lea	rbx, .LC5[rip]
	.p2align 4,,10
	.p2align 3
.L10:
	mov	eax, DWORD PTR HID_DEBUG_BUFSIZE[rip]
	mov	ecx, DWORD PTR 0[r13]
	mov	rdx, rbx
	mov	rdi, r15
	add	r13, 4
	lea	esi, -1[rax]
	xor	eax, eax
	call	snprintf@PLT
	mov	rsi, r15
	mov	rdi, rbp
	call	hid_debug_event@PLT
	cmp	r13, r14
	jne	.L10
	mov	rdi, rbp
	lea	rsi, .LC6[rip]
	call	hid_debug_event@PLT
	mov	rdi, r15
	call	kfree@PLT
.L7:
	mov	rbx, QWORD PTR 24[rsp]
	cmp	QWORD PTR [rbx], 0
	je	.L11
	mov	r14, QWORD PTR 8[rsp]
	mov	rdi, rbp
	mov	rsi, r14
	call	hid_match_report@PLT
	test	rax, rax
	je	.L11
	mov	rdx, QWORD PTR [rsp]
	mov	ecx, r12d
	mov	rsi, r14
	mov	rdi, rbp
	call	[QWORD PTR [rbx]]
	test	eax, eax
	jne	.L28
.L11:
	mov	r8d, DWORD PTR 20[rsp]
	mov	rdx, QWORD PTR [rsp]
	mov	ecx, r12d
	mov	rdi, rbp
	mov	esi, DWORD PTR 16[rsp]
	call	hid_report_raw_event@PLT
	xor	eax, eax
.L1:
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	eax, DWORD PTR ENODEV[rip]
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	neg	eax
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L28:
	.cfi_restore_state
	mov	edx, 0
	cmovg	eax, edx
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L26:
	mov	rsi, QWORD PTR [rsp]
	mov	rdi, r14
	call	hid_get_report@PLT
	mov	QWORD PTR 8[rsp], rax
	jmp	.L7
.L25:
	lea	rdi, .LC2[rip]
	call	dbg_hid@PLT
	mov	eax, -1
	jmp	.L1
.L27:
	mov	rdi, r15
	call	kfree@PLT
	mov	eax, -1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	hid_input_report, .-hid_input_report
	.comm	HID_DEBUG_BUFSIZE,4,4
	.comm	GFP_ATOMIC,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_hid-core.c_hid_input_report.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"un\000"
	.align	2
.LC2:
	.ascii	"empty report\012\000"
	.align	2
.LC3:
	.ascii	"\012report (size %u) (%snumbered)\012\000"
	.align	2
.LC4:
	.ascii	"report %d (size %u) = \000"
	.align	2
.LC5:
	.ascii	" %02x\000"
	.align	2
.LC6:
	.ascii	"\012\000"
	.text
	.align	2
	.global	hid_input_report
	.syntax unified
	.arm
	.fpu softvfp
	.type	hid_input_report, %function
hid_input_report:
	@ args = 4, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	subs	r6, r0, #0
	sub	sp, sp, #28
	str	r1, [sp, #12]
	beq	.L2
	mov	r8, r3
	ldr	r3, [r6]
	cmp	r3, #0
	str	r3, [sp, #20]
	beq	.L2
	ldr	r9, [r6, #4]
	ldr	r3, [sp, #12]
	cmp	r8, #0
	add	r4, r9, r3, lsl #2
	beq	.L28
	ldr	r3, .L31
	ldr	r7, .L31+4
	ldr	r1, [r3]
	ldr	r0, [r7]
	mov	r10, r2
	bl	kmalloc
	subs	r5, r0, #0
	beq	.L29
	ldr	r3, [sp, #12]
	ldr	r2, .L31+8
	ldr	ip, [r9, r3, lsl #2]
	ldr	r3, .L31+12
	cmp	ip, #0
	moveq	r3, r2
	ldr	r1, [r7]
	ldr	r2, .L31+16
	sub	r1, r1, #1
	str	r3, [sp]
	mov	r3, r8
	bl	snprintf
	mov	r1, r5
	mov	r0, r6
	bl	hid_debug_event
	mov	r1, r10
	mov	r0, r4
	bl	hid_get_report
	subs	r3, r0, #0
	str	r3, [sp, #16]
	beq	.L30
	ldr	r3, [sp, #16]
	ldr	r1, [r7]
	ldr	r3, [r3]
	ldr	r2, .L31+20
	sub	r1, r1, #1
	mov	r0, r5
	str	r8, [sp]
	bl	snprintf
	mov	r1, r5
	mov	r0, r6
	bl	hid_debug_event
	sub	r4, r10, #4
	ldr	fp, .L31+24
	add	r9, r4, r8, lsl #2
.L10:
	ldr	r1, [r7]
	ldr	r3, [r4, #4]!
	mov	r2, fp
	sub	r1, r1, #1
	mov	r0, r5
	bl	snprintf
	mov	r1, r5
	mov	r0, r6
	bl	hid_debug_event
	cmp	r4, r9
	bne	.L10
	mov	r0, r6
	ldr	r1, .L31+28
	bl	hid_debug_event
	mov	r0, r5
	bl	kfree
.L7:
	ldr	r4, [sp, #20]
	ldr	r3, [r4]
	cmp	r3, #0
	beq	.L11
	ldr	r5, [sp, #16]
	mov	r0, r6
	mov	r1, r5
	bl	hid_match_report
	cmp	r0, #0
	beq	.L11
	mov	r1, r5
	mov	r3, r8
	mov	r2, r10
	mov	r0, r6
	ldr	r4, [r4]
	blx	r4
	cmp	r0, #0
	andne	r0, r0, r0, asr #31
	bne	.L1
.L11:
	ldr	r3, [sp, #64]
	mov	r2, r10
	str	r3, [sp]
	mov	r0, r6
	mov	r3, r8
	ldr	r1, [sp, #12]
	bl	hid_report_raw_event
	mov	r0, #0
.L1:
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	ldr	r3, .L31+32
	ldr	r0, [r3]
	rsb	r0, r0, #0
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L29:
	mov	r0, r4
	mov	r1, r10
	bl	hid_get_report
	str	r0, [sp, #16]
	b	.L7
.L28:
	ldr	r0, .L31+36
	bl	dbg_hid
	mvn	r0, #0
	b	.L1
.L30:
	mov	r0, r5
	bl	kfree
	mvn	r0, #0
	b	.L1
.L32:
	.align	2
.L31:
	.word	GFP_ATOMIC
	.word	HID_DEBUG_BUFSIZE
	.word	.LC1
	.word	.LC0
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	ENODEV
	.word	.LC2
	.size	hid_input_report, .-hid_input_report
	.comm	HID_DEBUG_BUFSIZE,4,4
	.comm	GFP_ATOMIC,4,4
	.comm	ENODEV,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
