	.file	"extr_sdio_uart.c_sdio_uart_unthrottle.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	sdio_uart_unthrottle, @function
sdio_uart_unthrottle:
.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
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	r12, QWORD PTR [rdi]
	call	I_IXOFF@PLT
	test	rax, rax
	jne	.L5
	mov	rdi, rbp
	call	C_CRTSCTS@PLT
	test	rax, rax
	je	.L1
.L5:
	mov	rdi, r12
	call	sdio_uart_claim_func@PLT
	test	rax, rax
	je	.L19
.L1:
	add	rsp, 8
	.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
.L19:
	.cfi_restore_state
	mov	rdi, rbp
	call	I_IXOFF@PLT
	test	rax, rax
	je	.L7
	cmp	QWORD PTR 8[r12], 0
	je	.L8
	mov	QWORD PTR 8[r12], 0
.L7:
	mov	rdi, rbp
	call	C_CRTSCTS@PLT
	test	rax, rax
	jne	.L20
.L9:
	mov	edi, DWORD PTR [r12]
	call	sdio_uart_irq@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	sdio_uart_release_func@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	rdi, rbp
	call	START_CHAR@PLT
	mov	rdi, r12
	mov	QWORD PTR 8[r12], rax
	call	sdio_uart_start_tx@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L20:
	mov	esi, DWORD PTR TIOCM_RTS[rip]
	mov	rdi, r12
	call	sdio_uart_set_mctrl@PLT
	jmp	.L9
	.cfi_endproc
.LFE0:
	.size	sdio_uart_unthrottle, .-sdio_uart_unthrottle
	.comm	TIOCM_RTS,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_sdio_uart.c_sdio_uart_unthrottle.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sdio_uart_unthrottle, %function
sdio_uart_unthrottle:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r6, [r0]
	bl	I_IXOFF
	cmp	r0, #0
	bne	.L5
	mov	r0, r4
	bl	C_CRTSCTS
	cmp	r0, #0
	popeq	{r4, r5, r6, pc}
.L5:
	mov	r0, r6
	bl	sdio_uart_claim_func
	subs	r5, r0, #0
	popne	{r4, r5, r6, pc}
	mov	r0, r4
	bl	I_IXOFF
	cmp	r0, #0
	beq	.L7
	ldr	r3, [r6, #4]
	cmp	r3, #0
	strne	r5, [r6, #4]
	beq	.L20
.L7:
	mov	r0, r4
	bl	C_CRTSCTS
	cmp	r0, #0
	bne	.L21
.L9:
	ldr	r0, [r6]
	bl	sdio_uart_irq
	mov	r0, r6
	pop	{r4, r5, r6, lr}
	b	sdio_uart_release_func
.L20:
	mov	r0, r4
	bl	START_CHAR
	mov	r3, r0
	mov	r0, r6
	str	r3, [r6, #4]
	bl	sdio_uart_start_tx
	b	.L7
.L21:
	ldr	r3, .L22
	mov	r0, r6
	ldr	r1, [r3]
	bl	sdio_uart_set_mctrl
	b	.L9
.L23:
	.align	2
.L22:
	.word	TIOCM_RTS
	.size	sdio_uart_unthrottle, .-sdio_uart_unthrottle
	.comm	TIOCM_RTS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
