	.file	"extr_si4713-i2c.c_dev_to_usecs.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	dev_to_usecs, @function
dev_to_usecs:
.LFB0:
	.cfi_startproc
	endbr64
	mov	r8d, edx
	mov	eax, DWORD PTR EINVAL[rip]
	shr	r8d, 31
	add	r8d, edx
	neg	eax
	sar	r8d
	cmp	edx, 1
	jle	.L2
	movsx	rdi, edi
	xor	edx, edx
	xor	ecx, ecx
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	add	ecx, 1
	add	rdx, 2
	cmp	ecx, r8d
	jge	.L2
.L4:
	cmp	QWORD PTR [rsi+rdx*8], rdi
	jne	.L3
	mov	eax, DWORD PTR 8[rsi+rdx*8]
.L2:
	cdqe
	ret
	.cfi_endproc
.LFE0:
	.size	dev_to_usecs, .-dev_to_usecs
	.comm	EINVAL,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_si4713-i2c.c_dev_to_usecs.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dev_to_usecs, %function
dev_to_usecs:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L9
	cmp	r2, #1
	ldr	r3, [r3]
	push	{r4, lr}
	add	r2, r2, r2, lsr #31
	rsb	r4, r3, #0
	ble	.L2
	mov	r3, #0
	asr	ip, r2, #1
	b	.L5
.L3:
	cmp	r3, ip
	bge	.L2
.L5:
	ldr	r2, [r1, r3, lsl #3]
	lsl	lr, r3, #3
	cmp	r2, r0
	add	r3, r3, #1
	bne	.L3
	add	r1, r1, lr
	ldr	r0, [r1, #4]
	pop	{r4, pc}
.L2:
	mov	r0, r4
	pop	{r4, pc}
.L10:
	.align	2
.L9:
	.word	EINVAL
	.size	dev_to_usecs, .-dev_to_usecs
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
