	.file	"extr_initio.c_initio_state_6.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	initio_state_6, @function
initio_state_6:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	lea	r12, .L5[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, QWORD PTR 16[rdi]
.L2:
	mov	eax, DWORD PTR 0[rbp]
	add	eax, -128
	cmp	eax, 4
	ja	.L3
	movsx	rax, DWORD PTR [r12+rax*4]
	add	rax, r12
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L5:
	.long	.L9-.L5
	.long	.L8-.L5
	.long	.L7-.L5
	.long	.L6-.L5
	.long	.L4-.L5
	.text
	.p2align 4,,10
	.p2align 3
.L6:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	initio_xpad_out@PLT
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	DWORD PTR [rbx], 6
	mov	rdi, rbp
	call	initio_msgin@PLT
	cmp	eax, -1
	jne	.L2
.L11:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, -1
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	edi, DWORD PTR MSG_NOP[rip]
	mov	rsi, QWORD PTR TUL_SFifo[rip]
	add	rsi, QWORD PTR 8[rbp]
	call	outb@PLT
	mov	edi, DWORD PTR TSC_XF_FIFO_OUT[rip]
	mov	rsi, QWORD PTR TUL_SCmd[rip]
	add	rsi, QWORD PTR 8[rbp]
	call	outb@PLT
	mov	rdi, rbp
	call	wait_tulip@PLT
	cmp	eax, -1
	jne	.L2
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rdi, rbp
	call	initio_status_msg@PLT
	cmp	eax, -1
	jne	.L2
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L4:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	initio_xpad_in@PLT
.L3:
	.cfi_restore_state
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	initio_bad_seq@PLT
	.cfi_endproc
.LFE0:
	.size	initio_state_6, .-initio_state_6
	.comm	TUL_SFifo,8,8
	.comm	TUL_SCmd,8,8
	.comm	TSC_XF_FIFO_OUT,4,4
	.comm	MSG_NOP,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_initio.c_initio_state_6.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	initio_state_6, %function
initio_state_6:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r10, r0
	mov	r9, #6
	ldr	r8, [r0, #8]
	ldr	r7, .L21
	ldr	r6, .L21+4
	ldr	r5, .L21+8
	ldr	r4, .L21+12
.L2:
	ldr	r3, [r10]
	sub	r3, r3, #128
	cmp	r3, #4
	ldrls	pc, [pc, r3, asl #2]
	b	.L3
.L5:
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L4
.L4:
	mov	r0, r10
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	initio_xpad_in
.L6:
	mov	r0, r10
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	initio_xpad_out
.L7:
	mov	r0, r10
	str	r9, [r8]
	bl	initio_msgin
	cmn	r0, #1
	bne	.L2
.L11:
	mvn	r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L8:
	ldr	r3, [r7]
	ldr	r1, [r10, #4]
	ldr	r0, [r6]
	add	r1, r1, r3
	bl	outb
	ldr	r3, [r5]
	ldr	r1, [r10, #4]
	ldr	r0, [r4]
	add	r1, r1, r3
	bl	outb
	mov	r0, r10
	bl	wait_tulip
	cmn	r0, #1
	bne	.L2
	b	.L11
.L9:
	mov	r0, r10
	bl	initio_status_msg
	cmn	r0, #1
	bne	.L2
	b	.L11
.L3:
	mov	r0, r10
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	initio_bad_seq
.L22:
	.align	2
.L21:
	.word	TUL_SFifo
	.word	MSG_NOP
	.word	TUL_SCmd
	.word	TSC_XF_FIFO_OUT
	.size	initio_state_6, .-initio_state_6
	.comm	TUL_SFifo,4,4
	.comm	TUL_SCmd,4,4
	.comm	TSC_XF_FIFO_OUT,4,4
	.comm	MSG_NOP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
