	.file	"extr_mxser.c_mxser_set_must_enum_value.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mxser_set_must_enum_value, @function
mxser_set_must_enum_value:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	mov	rdi, QWORD PTR UART_LCR[rip]
	add	rdi, rbx
	call	inb@PLT
	mov	rsi, QWORD PTR UART_LCR[rip]
	mov	edi, DWORD PTR MOXA_MUST_ENTER_ENCHANCE[rip]
	mov	ebp, eax
	add	rsi, rbx
	call	outb@PLT
	mov	rdi, QWORD PTR MOXA_MUST_EFR_REGISTER[rip]
	add	rdi, rbx
	call	inb@PLT
	mov	edi, DWORD PTR MOXA_MUST_EFR_BANK_MASK[rip]
	mov	rsi, QWORD PTR MOXA_MUST_EFR_REGISTER[rip]
	not	edi
	add	rsi, rbx
	and	edi, eax
	or	edi, DWORD PTR MOXA_MUST_EFR_BANK2[rip]
	call	outb@PLT
	mov	rsi, QWORD PTR MOXA_MUST_ENUM_REGISTER[rip]
	mov	edi, r12d
	add	rsi, rbx
	call	outb@PLT
	add	rbx, QWORD PTR UART_LCR[rip]
	mov	edi, ebp
	mov	rsi, rbx
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	outb@PLT
	.cfi_endproc
.LFE0:
	.size	mxser_set_must_enum_value, .-mxser_set_must_enum_value
	.comm	UART_LCR,8,8
	.comm	MOXA_MUST_ENUM_REGISTER,8,8
	.comm	MOXA_MUST_ENTER_ENCHANCE,4,4
	.comm	MOXA_MUST_EFR_REGISTER,8,8
	.comm	MOXA_MUST_EFR_BANK_MASK,4,4
	.comm	MOXA_MUST_EFR_BANK2,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_mxser.c_mxser_set_must_enum_value.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mxser_set_must_enum_value, %function
mxser_set_must_enum_value:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	r6, .L4
	mov	r7, r1
	ldr	r0, [r6]
	ldr	r8, .L4+4
	add	r0, r4, r0
	bl	inb
	ldr	r3, .L4+8
	ldr	r1, [r6]
	mov	r5, r0
	add	r1, r4, r1
	ldr	r0, [r3]
	bl	outb
	ldr	r0, [r8]
	add	r0, r4, r0
	bl	inb
	ldr	r2, .L4+12
	ldr	r3, .L4+16
	ldr	r2, [r2]
	ldr	r1, [r8]
	ldr	r3, [r3]
	bic	r0, r0, r2
	add	r1, r4, r1
	orr	r0, r0, r3
	bl	outb
	ldr	r3, .L4+20
	mov	r0, r7
	ldr	r1, [r3]
	add	r1, r4, r1
	bl	outb
	ldr	r1, [r6]
	mov	r0, r5
	add	r1, r4, r1
	pop	{r4, r5, r6, r7, r8, lr}
	b	outb
.L5:
	.align	2
.L4:
	.word	UART_LCR
	.word	MOXA_MUST_EFR_REGISTER
	.word	MOXA_MUST_ENTER_ENCHANCE
	.word	MOXA_MUST_EFR_BANK_MASK
	.word	MOXA_MUST_EFR_BANK2
	.word	MOXA_MUST_ENUM_REGISTER
	.size	mxser_set_must_enum_value, .-mxser_set_must_enum_value
	.comm	UART_LCR,4,4
	.comm	MOXA_MUST_ENUM_REGISTER,4,4
	.comm	MOXA_MUST_ENTER_ENCHANCE,4,4
	.comm	MOXA_MUST_EFR_REGISTER,4,4
	.comm	MOXA_MUST_EFR_BANK_MASK,4,4
	.comm	MOXA_MUST_EFR_BANK2,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
