	.file	"extr_stallion.c_stl_cd1400breakisr.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	stl_cd1400breakisr, @function
stl_cd1400breakisr:
.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
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, esi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	r13d, DWORD PTR [rdi]
	mov	edi, DWORD PTR 4[rdi]
	cmp	r13d, 1
	je	.L7
	jg	.L8
	add	edi, DWORD PTR COR2[rip]
	xor	r13d, r13d
	call	outb@PLT
	add	ebx, DWORD PTR EREG_DATA[rip]
	mov	edi, ebx
	call	inb@PLT
	mov	edi, DWORD PTR COR2_ETC[rip]
	mov	esi, ebx
	not	edi
	and	edi, eax
	call	outb@PLT
	mov	DWORD PTR [r12], 0
	mov	eax, r13d
	add	rsp, 8
	.cfi_remember_state
	.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
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	add	edi, DWORD PTR TDR[rip]
	mov	r13d, 1
	call	outb@PLT
	mov	esi, DWORD PTR EREG_DATA[rip]
	mov	edi, DWORD PTR ETC_CMD[rip]
	add	esi, ebx
	call	outb@PLT
	add	ebx, DWORD PTR EREG_DATA[rip]
	mov	edi, DWORD PTR ETC_STOPBREAK[rip]
	mov	esi, ebx
	call	outb@PLT
	mov	DWORD PTR [r12], -1
	mov	eax, r13d
	add	rsp, 8
	.cfi_remember_state
	.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
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	add	edi, DWORD PTR COR2[rip]
	call	outb@PLT
	mov	ebp, DWORD PTR EREG_DATA[rip]
	add	ebp, ebx
	mov	edi, ebp
	call	inb@PLT
	or	eax, DWORD PTR COR2_ETC[rip]
	mov	esi, ebp
	mov	edi, eax
	call	outb@PLT
	mov	esi, ebx
	mov	edi, DWORD PTR TDR[rip]
	add	edi, DWORD PTR 4[r12]
	call	outb@PLT
	mov	esi, DWORD PTR EREG_DATA[rip]
	mov	edi, DWORD PTR ETC_CMD[rip]
	add	esi, ebx
	call	outb@PLT
	mov	esi, DWORD PTR EREG_DATA[rip]
	mov	edi, DWORD PTR ETC_STARTBREAK[rip]
	add	esi, ebx
	call	outb@PLT
	mov	esi, ebx
	mov	edi, DWORD PTR SRER[rip]
	add	edi, DWORD PTR 4[r12]
	call	outb@PLT
	add	ebx, DWORD PTR EREG_DATA[rip]
	mov	edi, ebx
	call	inb@PLT
	mov	edi, DWORD PTR SRER_TXDATA[rip]
	mov	esi, ebx
	or	edi, DWORD PTR SRER_TXEMPTY[rip]
	not	edi
	and	edi, eax
	call	outb@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	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	stl_cd1400breakisr, .-stl_cd1400breakisr
	.comm	TDR,4,4
	.comm	SRER_TXEMPTY,4,4
	.comm	SRER_TXDATA,4,4
	.comm	SRER,4,4
	.comm	ETC_STOPBREAK,4,4
	.comm	ETC_STARTBREAK,4,4
	.comm	ETC_CMD,4,4
	.comm	EREG_DATA,4,4
	.comm	COR2_ETC,4,4
	.comm	COR2,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_stallion.c_stl_cd1400breakisr.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	stl_cd1400breakisr, %function
stl_cd1400breakisr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r5, [r0]
	mov	r4, r0
	cmp	r5, #1
	mov	r6, r1
	ldr	r3, [r0, #4]
	beq	.L7
	bgt	.L8
	ldr	r2, .L9
	ldr	r5, .L9+4
	ldr	r0, [r2]
	add	r0, r3, r0
	bl	outb
	ldr	r0, [r5]
	add	r0, r6, r0
	bl	inb
	ldr	r3, .L9+8
	ldr	r1, [r5]
	ldr	r3, [r3]
	add	r1, r6, r1
	bic	r0, r0, r3
	bl	outb
	mov	r3, #0
	mov	r5, r3
	str	r3, [r4]
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	ldr	r2, .L9+12
	ldr	r5, .L9+4
	ldr	r0, [r2]
	add	r0, r3, r0
	bl	outb
	ldr	r1, [r5]
	ldr	r3, .L9+16
	add	r1, r6, r1
	ldr	r0, [r3]
	bl	outb
	ldr	r1, [r5]
	ldr	r3, .L9+20
	add	r1, r6, r1
	ldr	r0, [r3]
	bl	outb
	mov	r5, #1
	mvn	r3, #0
	mov	r0, r5
	str	r3, [r4]
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	ldr	r2, .L9
	ldr	r7, .L9+4
	ldr	r0, [r2]
	add	r0, r3, r0
	bl	outb
	ldr	r0, [r7]
	add	r0, r6, r0
	bl	inb
	ldr	r3, .L9+8
	ldr	r1, [r7]
	ldr	r3, [r3]
	add	r1, r6, r1
	orr	r0, r0, r3
	bl	outb
	ldr	r3, .L9+12
	ldr	r0, [r4, #4]
	ldr	r3, [r3]
	mov	r1, r6
	add	r0, r0, r3
	bl	outb
	ldr	r1, [r7]
	ldr	r3, .L9+16
	add	r1, r6, r1
	ldr	r0, [r3]
	bl	outb
	ldr	r1, [r7]
	ldr	r3, .L9+24
	add	r1, r6, r1
	ldr	r0, [r3]
	bl	outb
	ldr	r3, .L9+28
	ldr	r0, [r4, #4]
	ldr	r3, [r3]
	mov	r1, r6
	add	r0, r0, r3
	bl	outb
	ldr	r0, [r7]
	add	r0, r6, r0
	bl	inb
	ldr	r3, .L9+32
	ldr	r2, .L9+36
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r1, [r7]
	orr	r3, r3, r2
	add	r1, r6, r1
	bic	r0, r0, r3
	bl	outb
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	.align	2
.L9:
	.word	COR2
	.word	EREG_DATA
	.word	COR2_ETC
	.word	TDR
	.word	ETC_CMD
	.word	ETC_STOPBREAK
	.word	ETC_STARTBREAK
	.word	SRER
	.word	SRER_TXDATA
	.word	SRER_TXEMPTY
	.size	stl_cd1400breakisr, .-stl_cd1400breakisr
	.comm	TDR,4,4
	.comm	SRER_TXEMPTY,4,4
	.comm	SRER_TXDATA,4,4
	.comm	SRER,4,4
	.comm	ETC_STOPBREAK,4,4
	.comm	ETC_STARTBREAK,4,4
	.comm	ETC_CMD,4,4
	.comm	EREG_DATA,4,4
	.comm	COR2_ETC,4,4
	.comm	COR2,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
