	.file	"extr_ishtp-hid-client.c_ishtp_get_hid_descriptor.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"[hid-ish]: timed out for hid_descr_done\n"
	.align 8
.LC1:
	.string	"[hid-ish]: allocation HID desc fail\n"
	.text
	.p2align 4
	.type	ishtp_get_hid_descriptor, @function
ishtp_get_hid_descriptor:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	movsx	rbx, esi
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	r13, rsp
	call	ishtp_get_client_data@PLT
	mov	edx, 8
	xor	esi, esi
	mov	rdi, r13
	mov	DWORD PTR [rax], 0
	mov	rbp, rax
	call	memset@PLT
	mov	rdi, r12
	mov	edx, 8
	mov	rsi, r13
	mov	eax, DWORD PTR HOSTIF_GET_HID_DESCRIPTOR[rip]
	mov	DWORD PTR 4[rsp], eax
	mov	rax, QWORD PTR 24[rbp]
	mov	eax, DWORD PTR [rax+rbx*4]
	mov	DWORD PTR [rsp], eax
	call	ishtp_cl_send@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L1
	mov	ecx, DWORD PTR 0[rbp]
	test	ecx, ecx
	je	.L9
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L10
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	eax, DWORD PTR HZ[rip]
	mov	edi, DWORD PTR 16[rbp]
	xor	esi, esi
	lea	edx, [rax+rax*2]
	call	wait_event_interruptible_timeout@PLT
	mov	edx, DWORD PTR 0[rbp]
	test	edx, edx
	je	.L11
	mov	rax, QWORD PTR 8[rbp]
	mov	eax, DWORD PTR [rax+rbx*4]
	test	eax, eax
	jne	.L1
	mov	rdi, rbp
	call	cl_data_to_dev@PLT
	lea	rsi, .LC1[rip]
	mov	edi, eax
	call	dev_err@PLT
	mov	r12d, DWORD PTR ENOMEM[rip]
	neg	r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L11:
	mov	rdi, rbp
	call	cl_data_to_dev@PLT
	lea	rsi, .LC0[rip]
	mov	edi, eax
	call	dev_err@PLT
	mov	r12d, DWORD PTR EIO[rip]
	neg	r12d
	jmp	.L1
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ishtp_get_hid_descriptor, .-ishtp_get_hid_descriptor
	.comm	HZ,4,4
	.comm	HOSTIF_GET_HID_DESCRIPTOR,4,4
	.comm	ENOMEM,4,4
	.comm	EIO,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_ishtp-hid-client.c_ishtp_get_hid_descriptor.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"[hid-ish]: timed out for hid_descr_done\012\000"
	.align	2
.LC1:
	.ascii	"[hid-ish]: allocation HID desc fail\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ishtp_get_hid_descriptor, %function
ishtp_get_hid_descriptor:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L12
	sub	sp, sp, #16
	mov	r6, r1
	mov	r5, r0
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	ishtp_get_client_data
	mov	r3, #0
	ldr	r1, [r0, #12]
	str	r3, [r0]
	ldr	r2, .L12+4
	str	r3, [sp, #4]
	ldr	r1, [r1, r6, lsl #2]
	ldr	r3, [r2]
	str	r1, [sp, #4]
	mov	r4, r0
	mov	r2, #8
	mov	r0, r5
	add	r1, sp, #4
	str	r3, [sp, #8]
	bl	ishtp_cl_send
	subs	r5, r0, #0
	bne	.L1
	ldr	r3, [r4]
	cmp	r3, #0
	beq	.L9
.L1:
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	mov	r0, r5
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L9:
	ldr	r3, .L12+8
	mov	r1, r5
	ldr	r2, [r3]
	ldr	r0, [r4, #8]
	add	r2, r2, r2, lsl #1
	bl	wait_event_interruptible_timeout
	ldr	r3, [r4]
	cmp	r3, #0
	beq	.L11
	ldr	r3, [r4, #4]
	ldr	r3, [r3, r6, lsl #2]
	cmp	r3, #0
	bne	.L1
	mov	r0, r4
	bl	cl_data_to_dev
	ldr	r1, .L12+12
	bl	dev_err
	ldr	r3, .L12+16
	ldr	r0, [r3]
	rsb	r5, r0, #0
	b	.L1
.L11:
	mov	r0, r4
	bl	cl_data_to_dev
	ldr	r1, .L12+20
	bl	dev_err
	ldr	r3, .L12+24
	ldr	r0, [r3]
	rsb	r5, r0, #0
	b	.L1
.L10:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	.LC2
	.word	HOSTIF_GET_HID_DESCRIPTOR
	.word	HZ
	.word	.LC1
	.word	ENOMEM
	.word	.LC0
	.word	EIO
	.size	ishtp_get_hid_descriptor, .-ishtp_get_hid_descriptor
	.comm	HZ,4,4
	.comm	HOSTIF_GET_HID_DESCRIPTOR,4,4
	.comm	ENOMEM,4,4
	.comm	EIO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
