	.file	"extr_8250_port.c_serial8250_disable_ms.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	serial8250_disable_ms, @function
serial8250_disable_ms:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	up_to_u8250p@PLT
	mov	rbx, rax
	mov	eax, DWORD PTR [rax]
	test	DWORD PTR UART_BUG_NOMSR[rip], eax
	je	.L5
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	edi, DWORD PTR 8[rbx]
	call	mctrl_gpio_disable_ms@PLT
	mov	edx, DWORD PTR UART_IER_MSI[rip]
	mov	esi, DWORD PTR UART_IER[rip]
	mov	rdi, rbp
	not	edx
	and	edx, DWORD PTR 4[rbx]
	mov	DWORD PTR 4[rbx], edx
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	serial_port_out@PLT
	.cfi_endproc
.LFE0:
	.size	serial8250_disable_ms, .-serial8250_disable_ms
	.comm	UART_IER_MSI,4,4
	.comm	UART_IER,4,4
	.comm	UART_BUG_NOMSR,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_8250_port.c_serial8250_disable_ms.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	serial8250_disable_ms, %function
serial8250_disable_ms:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	bl	up_to_u8250p
	ldr	r3, .L5
	ldr	r2, [r0]
	ldr	r3, [r3]
	tst	r2, r3
	popne	{r4, r5, r6, pc}
	mov	r4, r0
	ldr	r0, [r0, #8]
	bl	mctrl_gpio_disable_ms
	ldr	r3, .L5+4
	ldr	r2, [r4, #4]
	ldr	r1, [r3]
	ldr	r3, .L5+8
	bic	r2, r2, r1
	mov	r0, r5
	str	r2, [r4, #4]
	ldr	r1, [r3]
	pop	{r4, r5, r6, lr}
	b	serial_port_out
.L6:
	.align	2
.L5:
	.word	UART_BUG_NOMSR
	.word	UART_IER_MSI
	.word	UART_IER
	.size	serial8250_disable_ms, .-serial8250_disable_ms
	.comm	UART_IER_MSI,4,4
	.comm	UART_IER,4,4
	.comm	UART_BUG_NOMSR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
