	.file	"extr_em28xx-input.c_em28xx_get_key_winfast_usbii_deluxe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"read error\n"
	.text
	.p2align 4
	.globl	em28xx_get_key_winfast_usbii_deluxe
	.type	em28xx_get_key_winfast_usbii_deluxe, @function
em28xx_get_key_winfast_usbii_deluxe:
.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, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 88
	.cfi_def_cfa_offset 128
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 72[rsp], rax
	xor	eax, eax
	lea	rax, 13[rsp]
	lea	rcx, 14[rsp]
	mov	QWORD PTR 24[rsp], 1
	mov	QWORD PTR 16[rsp], rax
	mov	rax, QWORD PTR [rdi]
	lea	r13, 16[rsp]
	mov	BYTE PTR 13[rsp], 16
	mov	rsi, r13
	mov	edx, DWORD PTR 4[rax]
	mov	edi, DWORD PTR [rax]
	mov	QWORD PTR 40[rsp], rcx
	mov	ecx, DWORD PTR I2C_M_RD[rip]
	mov	DWORD PTR 48[rsp], 1
	mov	DWORD PTR 32[rsp], edx
	mov	DWORD PTR 56[rsp], edx
	mov	edx, 2
	mov	DWORD PTR 52[rsp], ecx
	call	i2c_transfer@PLT
	cmp	eax, 2
	jne	.L12
	cmp	BYTE PTR 14[rsp], 0
	jne	.L4
.L6:
	xor	eax, eax
.L1:
	mov	rbx, QWORD PTR 72[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L14
	add	rsp, 88
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
.L4:
	.cfi_restore_state
	lea	rax, 15[rsp]
	mov	BYTE PTR 13[rsp], 0
	mov	edx, 2
	mov	rsi, r13
	mov	QWORD PTR 40[rsp], rax
	mov	rax, QWORD PTR [rbx]
	mov	edi, DWORD PTR [rax]
	call	i2c_transfer@PLT
	cmp	eax, 2
	jne	.L12
	movzx	eax, BYTE PTR 15[rsp]
	test	al, al
	je	.L6
	mov	BYTE PTR [r12], al
	mov	BYTE PTR 0[rbp], al
	mov	eax, 1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	lea	rdi, .LC0[rip]
	call	i2cdprintk@PLT
	mov	eax, DWORD PTR EIO[rip]
	neg	eax
	jmp	.L1
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	em28xx_get_key_winfast_usbii_deluxe, .-em28xx_get_key_winfast_usbii_deluxe
	.comm	I2C_M_RD,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_em28xx-input.c_em28xx_get_key_winfast_usbii_deluxe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"read error\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	em28xx_get_key_winfast_usbii_deluxe
	.syntax unified
	.arm
	.fpu softvfp
	.type	em28xx_get_key_winfast_usbii_deluxe, %function
em28xx_get_key_winfast_usbii_deluxe:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, #16
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, #1
	mov	r8, #0
	mov	r7, r1
	ldr	r1, [r0]
	sub	sp, sp, #40
	mov	r5, r0
	mov	r6, r2
	ldr	r0, .L15
	ldr	r2, .L15+4
	ldr	r3, [r1, #4]
	strb	ip, [sp, #1]
	ldr	r2, [r2]
	str	r2, [sp, #36]
	mov	r2,#0
	ldr	ip, [r0]
	add	r2, sp, r4
	ldr	r0, [r1]
	str	r3, [sp, #16]
	str	r3, [sp, #32]
	str	r2, [sp, #4]
	add	r3, sp, #2
	mov	r2, #2
	add	r1, sp, #4
	str	ip, [sp, #28]
	str	r4, [sp, #8]
	str	r4, [sp, #24]
	str	r8, [sp, #12]
	str	r3, [sp, #20]
	bl	i2c_transfer
	cmp	r0, #2
	bne	.L12
	ldrb	r3, [sp, #2]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L4
.L6:
	mov	r0, #0
.L1:
	ldr	r3, .L15+4
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	add	sp, sp, #40
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L4:
	ldr	r3, [r5]
	strb	r8, [sp, #1]
	mov	r2, r0
	add	r1, sp, #4
	ldr	r0, [r3]
	add	r3, sp, #3
	str	r3, [sp, #20]
	bl	i2c_transfer
	cmp	r0, #2
	bne	.L12
	ldrb	r3, [sp, #3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L6
	strb	r3, [r7]
	mov	r0, r4
	strb	r3, [r6]
	b	.L1
.L12:
	ldr	r0, .L15+8
	bl	i2cdprintk
	ldr	r3, .L15+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L14:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	I2C_M_RD
	.word	.LC1
	.word	.LC0
	.word	EIO
	.size	em28xx_get_key_winfast_usbii_deluxe, .-em28xx_get_key_winfast_usbii_deluxe
	.comm	I2C_M_RD,4,4
	.comm	EIO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
