	.file	"extr_milbeaut_usio.c_mlb_usio_start_tx.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mlb_usio_start_tx, @function
mlb_usio_start_tx:
.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
	mov	rdi, QWORD PTR MLB_USIO_REG_FCR[rip]
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	add	rdi, QWORD PTR 0[rbp]
	call	readw@PLT
	mov	edi, DWORD PTR MLB_USIO_FCR_FTIE[rip]
	mov	rsi, QWORD PTR MLB_USIO_REG_FCR[rip]
	add	rsi, QWORD PTR 0[rbp]
	mov	ebx, eax
	or	edi, eax
	call	writew@PLT
	test	DWORD PTR MLB_USIO_FCR_FDRQ[rip], ebx
	jne	.L10
.L1:
	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
.L10:
	.cfi_restore_state
	mov	r12, QWORD PTR MLB_USIO_REG_SCR[rip]
	add	r12, QWORD PTR 0[rbp]
	mov	rdi, r12
	call	readb@PLT
	or	eax, DWORD PTR MLB_USIO_SCR_TBIE[rip]
	mov	rsi, r12
	mov	edi, eax
	call	writeb@PLT
	mov	rdi, QWORD PTR MLB_USIO_REG_SSR[rip]
	add	rdi, QWORD PTR 0[rbp]
	call	readb@PLT
	test	DWORD PTR MLB_USIO_SSR_TBI[rip], eax
	je	.L1
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	mlb_usio_tx_chars@PLT
	.cfi_endproc
.LFE0:
	.size	mlb_usio_start_tx, .-mlb_usio_start_tx
	.comm	MLB_USIO_SSR_TBI,4,4
	.comm	MLB_USIO_SCR_TBIE,4,4
	.comm	MLB_USIO_REG_SSR,8,8
	.comm	MLB_USIO_REG_SCR,8,8
	.comm	MLB_USIO_REG_FCR,8,8
	.comm	MLB_USIO_FCR_FTIE,4,4
	.comm	MLB_USIO_FCR_FDRQ,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_milbeaut_usio.c_mlb_usio_start_tx.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mlb_usio_start_tx, %function
mlb_usio_start_tx:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r6, .L10
	mov	r4, r0
	ldr	r3, [r6]
	ldr	r0, [r0]
	add	r0, r0, r3
	bl	readw
	mov	r5, r0
	ldr	r2, .L10+4
	ldr	r3, [r6]
	ldr	r1, [r4]
	ldr	r0, [r2]
	add	r1, r1, r3
	orr	r0, r5, r0
	bl	writew
	ldr	r3, .L10+8
	ldr	r3, [r3]
	tst	r5, r3
	popeq	{r4, r5, r6, pc}
	ldr	r5, .L10+12
	ldr	r0, [r4]
	ldr	r3, [r5]
	add	r0, r0, r3
	bl	readb
	ldr	r3, .L10+16
	ldr	r2, [r5]
	ldr	r3, [r3]
	ldr	r1, [r4]
	orr	r0, r0, r3
	add	r1, r1, r2
	bl	writeb
	ldr	r3, .L10+20
	ldr	r0, [r4]
	ldr	r3, [r3]
	add	r0, r0, r3
	bl	readb
	ldr	r3, .L10+24
	ldr	r3, [r3]
	tst	r0, r3
	popeq	{r4, r5, r6, pc}
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	mlb_usio_tx_chars
.L11:
	.align	2
.L10:
	.word	MLB_USIO_REG_FCR
	.word	MLB_USIO_FCR_FTIE
	.word	MLB_USIO_FCR_FDRQ
	.word	MLB_USIO_REG_SCR
	.word	MLB_USIO_SCR_TBIE
	.word	MLB_USIO_REG_SSR
	.word	MLB_USIO_SSR_TBI
	.size	mlb_usio_start_tx, .-mlb_usio_start_tx
	.comm	MLB_USIO_SSR_TBI,4,4
	.comm	MLB_USIO_SCR_TBIE,4,4
	.comm	MLB_USIO_REG_SSR,4,4
	.comm	MLB_USIO_REG_SCR,4,4
	.comm	MLB_USIO_REG_FCR,4,4
	.comm	MLB_USIO_FCR_FTIE,4,4
	.comm	MLB_USIO_FCR_FDRQ,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
