	.file	"extr_serial_core.c_uart_update_timeout.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	uart_update_timeout
	.type	uart_update_timeout, @function
uart_update_timeout:
.LFB0:
	.cfi_startproc
	endbr64
	mov	r8d, edx
	mov	edx, DWORD PTR CSIZE[rip]
	mov	eax, 137
	and	edx, esi
	lea	ecx, -128[rdx]
	sub	eax, edx
	mov	edx, 10
	cmp	ecx, 3
	mov	ecx, DWORD PTR HZ[rip]
	cmovnb	eax, edx
	mov	edx, DWORD PTR CSTOPB[rip]
	and	edx, esi
	cmp	edx, 1
	mov	edx, DWORD PTR [rdi]
	sbb	eax, -1
	and	esi, DWORD PTR PARENB[rip]
	cmp	esi, 1
	sbb	eax, -1
	imul	edx, ecx
	imul	rcx, rcx, 1374389535
	imul	eax, edx
	xor	edx, edx
	shr	rcx, 36
	div	r8d
	add	eax, ecx
	mov	DWORD PTR 4[rdi], eax
	ret
	.cfi_endproc
.LFE0:
	.size	uart_update_timeout, .-uart_update_timeout
	.comm	PARENB,4,4
	.comm	HZ,4,4
	.comm	CSTOPB,4,4
	.comm	CSIZE,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_serial_core.c_uart_update_timeout.c"
	.text
	.global	__aeabi_uidiv
	.align	2
	.global	uart_update_timeout
	.syntax unified
	.arm
	.fpu softvfp
	.type	uart_update_timeout, %function
uart_update_timeout:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, r1
	ldr	r3, .L14
	mov	r1, r2
	ldr	r3, [r3]
	push	{r4, r5, r6, lr}
	and	r3, r3, ip
	sub	r2, r3, #128
	cmp	r2, #2
	movhi	r3, #10
	ldr	r2, .L14+4
	rsbls	r3, r3, #137
	ldr	r2, [r2]
	mov	r4, r0
	tst	ip, r2
	ldr	r2, .L14+8
	addne	r3, r3, #1
	ldr	r2, [r2]
	ldr	r0, [r0]
	tst	ip, r2
	ldr	r2, .L14+12
	addne	r3, r3, #1
	ldr	r5, [r2]
	mul	r0, r5, r0
	mul	r0, r3, r0
	bl	__aeabi_uidiv
	ldr	r3, .L14+16
	umull	r2, r5, r3, r5
	add	r5, r0, r5, lsr #4
	str	r5, [r4, #4]
	pop	{r4, r5, r6, pc}
.L15:
	.align	2
.L14:
	.word	CSIZE
	.word	CSTOPB
	.word	PARENB
	.word	HZ
	.word	1374389535
	.size	uart_update_timeout, .-uart_update_timeout
	.comm	PARENB,4,4
	.comm	HZ,4,4
	.comm	CSTOPB,4,4
	.comm	CSIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
