	.file	"extr_8250.c_autoconfig_8250.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	autoconfig_8250, @function
autoconfig_8250:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	eax, DWORD PTR PORT_8250[rip]
	mov	DWORD PTR [rdi], eax
	mov	esi, DWORD PTR UART_SCR[rip]
	call	serial_in@PLT
	mov	esi, DWORD PTR UART_SCR[rip]
	mov	edx, 165
	mov	rdi, rbx
	mov	ebp, eax
	call	serial_outp@PLT
	mov	esi, DWORD PTR UART_SCR[rip]
	mov	rdi, rbx
	call	serial_in@PLT
	mov	esi, DWORD PTR UART_SCR[rip]
	mov	edx, 90
	mov	rdi, rbx
	mov	r12d, eax
	call	serial_outp@PLT
	mov	esi, DWORD PTR UART_SCR[rip]
	mov	rdi, rbx
	call	serial_in@PLT
	mov	esi, DWORD PTR UART_SCR[rip]
	movzx	edx, bpl
	mov	rdi, rbx
	mov	r13d, eax
	call	serial_outp@PLT
	cmp	r12b, -91
	jne	.L1
	cmp	r13b, 90
	jne	.L1
	mov	eax, DWORD PTR PORT_16450[rip]
	mov	DWORD PTR [rbx], eax
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	autoconfig_8250, .-autoconfig_8250
	.comm	UART_SCR,4,4
	.comm	PORT_8250,4,4
	.comm	PORT_16450,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.c_autoconfig_8250.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	autoconfig_8250, %function
autoconfig_8250:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L8
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, [r3]
	ldr	r5, .L8+4
	str	r3, [r0]
	ldr	r1, [r5]
	mov	r4, r0
	bl	serial_in
	mov	r2, #165
	mov	r8, r0
	ldr	r1, [r5]
	mov	r0, r4
	bl	serial_outp
	ldr	r1, [r5]
	mov	r0, r4
	bl	serial_in
	mov	r2, #90
	mov	r7, r0
	ldr	r1, [r5]
	mov	r0, r4
	bl	serial_outp
	ldr	r1, [r5]
	mov	r0, r4
	bl	serial_in
	mov	r6, r0
	mov	r2, r8
	mov	r0, r4
	ldr	r1, [r5]
	bl	serial_outp
	cmp	r7, #165
	cmpeq	r6, #90
	ldreq	r3, .L8+8
	ldreq	r3, [r3]
	streq	r3, [r4]
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	.align	2
.L8:
	.word	PORT_8250
	.word	UART_SCR
	.word	PORT_16450
	.size	autoconfig_8250, .-autoconfig_8250
	.comm	UART_SCR,4,4
	.comm	PORT_8250,4,4
	.comm	PORT_16450,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
