	.file	"extr_initio.c_initio_se2_rd.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	initio_se2_rd, @function
initio_se2_rd:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	or	sil, -128
	xor	r12d, r12d
	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	ebx, 15
	call	initio_se2_instr@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rsi, QWORD PTR TUL_NVRAM[rip]
	mov	edi, DWORD PTR SE2CS[rip]
	or	edi, DWORD PTR SE2CLK[rip]
	add	rsi, rbp
	call	outb@PLT
	mov	edi, 30
	call	udelay@PLT
	mov	rsi, QWORD PTR TUL_NVRAM[rip]
	mov	edi, DWORD PTR SE2CS[rip]
	add	rsi, rbp
	call	outb@PLT
	mov	rdi, QWORD PTR TUL_NVRAM[rip]
	add	rdi, rbp
	call	inb@PLT
	mov	ecx, ebx
	and	eax, DWORD PTR SE2DI[rip]
	sub	ebx, 1
	sal	eax, cl
	mov	edi, 30
	add	r12d, eax
	call	udelay@PLT
	cmp	ebx, -1
	jne	.L2
	mov	rsi, QWORD PTR TUL_NVRAM[rip]
	xor	edi, edi
	add	rsi, rbp
	call	outb@PLT
	mov	edi, 30
	call	udelay@PLT
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	initio_se2_rd, .-initio_se2_rd
	.comm	TUL_NVRAM,8,8
	.comm	SE2DI,4,4
	.comm	SE2CS,4,4
	.comm	SE2CLK,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_se2_rd.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	initio_se2_rd, %function
initio_se2_rd:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	orr	r1, r1, #128
	mov	r5, r0
	mov	r4, #15
	bl	initio_se2_instr
	mov	r7, #0
	ldr	r6, .L6
	ldr	r8, .L6+4
	ldr	r10, .L6+8
	ldr	r9, .L6+12
.L2:
	ldr	r3, [r10]
	ldr	r1, [r6]
	ldr	r0, [r8]
	add	r1, r5, r1
	orr	r0, r0, r3
	bl	outb
	mov	r0, #30
	bl	udelay
	ldr	r1, [r6]
	ldr	r0, [r8]
	add	r1, r5, r1
	bl	outb
	ldr	r0, [r6]
	add	r0, r5, r0
	bl	inb
	mov	r3, r0
	ldr	r2, [r9]
	mov	r0, #30
	and	r3, r3, r2
	add	r7, r7, r3, lsl r4
	sub	r4, r4, #1
	bl	udelay
	cmn	r4, #1
	bne	.L2
	ldr	r1, [r6]
	mov	r0, #0
	add	r1, r5, r1
	bl	outb
	mov	r0, #30
	bl	udelay
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L7:
	.align	2
.L6:
	.word	TUL_NVRAM
	.word	SE2CS
	.word	SE2CLK
	.word	SE2DI
	.size	initio_se2_rd, .-initio_se2_rd
	.comm	TUL_NVRAM,4,4
	.comm	SE2DI,4,4
	.comm	SE2CS,4,4
	.comm	SE2CLK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
