	.file	"extr_ixj.c_SCI_Control.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	SCI_Control, @function
SCI_Control:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	cmp	esi, 130
	je	.L2
	jg	.L3
	cmp	esi, 128
	je	.L4
	cmp	esi, 129
	jne	.L10
	movabs	rax, 4294967296
	mov	QWORD PTR 8[rdi], rax
.L8:
	mov	edi, DWORD PTR 4[rbp]
	mov	esi, DWORD PTR 0[rbp]
	call	outb_p@PLT
	mov	rdi, rbp
	call	SCI_WaitHighSCI@PLT
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	test	eax, eax
	setne	al
	movzx	eax, al
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	cmp	esi, 131
	jne	.L10
	mov	QWORD PTR 8[rdi], 1
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L10:
	xor	eax, eax
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	QWORD PTR 8[rdi], 0
	mov	edi, DWORD PTR 4[rdi]
	mov	esi, DWORD PTR 0[rbp]
	call	outb_p@PLT
	mov	eax, 1
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	movabs	rax, 4294967297
	mov	QWORD PTR 8[rdi], rax
	jmp	.L8
	.cfi_endproc
.LFE0:
	.size	SCI_Control, .-SCI_Control
	.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_ixj.c_SCI_Control.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	SCI_Control, %function
SCI_Control:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	sub	r1, r1, #128
	push	{r4, lr}
	mov	r4, r0
	cmp	r1, #3
	ldrls	pc, [pc, r1, asl #2]
	b	.L9
.L4:
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L3:
	mov	r2, #1
	mov	r3, #0
	str	r2, [r0, #8]
	str	r3, [r0, #12]
.L8:
	ldr	r1, [r4]
	ldr	r0, [r4, #4]
	bl	outb_p
	mov	r0, r4
	bl	SCI_WaitHighSCI
	subs	r0, r0, #0
	movne	r0, #1
	pop	{r4, pc}
.L5:
	mov	r3, #1
	str	r3, [r0, #8]
	str	r3, [r0, #12]
	b	.L8
.L6:
	mov	r2, #0
	mov	r3, #1
	str	r2, [r0, #8]
	str	r3, [r0, #12]
	b	.L8
.L7:
	mov	r3, #0
	ldr	r1, [r0]
	str	r3, [r0, #8]
	str	r3, [r0, #12]
	ldr	r0, [r0, #4]
	bl	outb_p
	mov	r0, #1
	pop	{r4, pc}
.L9:
	mov	r0, #0
	pop	{r4, pc}
	.size	SCI_Control, .-SCI_Control
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
