	.file	"extr_ftdi_sio.c_read_latency_timer.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Unable to read latency timer: %i\n"
	.text
	.p2align 4
	.type	read_latency_timer, @function
read_latency_timer:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	usb_get_serial_port_data@PLT
	mov	rbx, rax
	mov	rax, QWORD PTR [rax]
	cmp	rax, QWORD PTR SIO[rip]
	je	.L2
	cmp	rax, QWORD PTR FT8U232AM[rip]
	je	.L2
	mov	rdi, rbp
	call	_read_latency_timer@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L8
	mov	DWORD PTR 8[rbx], eax
	xor	r12d, r12d
.L1:
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	r12d, DWORD PTR EINVAL[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	neg	r12d
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	edx, eax
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	call	dev_err@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	read_latency_timer, .-read_latency_timer
	.comm	SIO,8,8
	.comm	FT8U232AM,8,8
	.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_ftdi_sio.c_read_latency_timer.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Unable to read latency timer: %i\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_latency_timer, %function
read_latency_timer:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r0
	bl	usb_get_serial_port_data
	ldr	r2, .L9
	ldr	r3, [r0]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L2
	ldr	r2, .L9+4
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L2
	mov	r5, r0
	mov	r0, r6
	bl	_read_latency_timer
	subs	r4, r0, #0
	strge	r4, [r5, #4]
	movge	r4, #0
	blt	.L8
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r3, .L9+8
	ldr	r4, [r3]
	rsb	r4, r4, #0
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L8:
	mov	r0, r6
	mov	r2, r4
	ldr	r1, .L9+12
	bl	dev_err
	b	.L1
.L10:
	.align	2
.L9:
	.word	SIO
	.word	FT8U232AM
	.word	EINVAL
	.word	.LC0
	.size	read_latency_timer, .-read_latency_timer
	.comm	SIO,4,4
	.comm	FT8U232AM,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
