	.file	"extr_solo6x10-eeprom.c_solo_eeprom_cmd.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	solo_eeprom_cmd, @function
solo_eeprom_cmd:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	esi, DWORD PTR SOLO_EEPROM_ACCESS_EN[rip]
	call	solo_eeprom_reg_write@PLT
	mov	esi, DWORD PTR SOLO_EEPROM_ENABLE[rip]
	mov	rdi, r13
	call	solo_eeprom_reg_write@PLT
	mov	r12d, DWORD PTR ADDR_LEN[rip]
	add	r12d, 4
	js	.L2
	.p2align 4,,10
	.p2align 3
.L4:
	mov	ecx, r12d
	mov	ebx, ebp
	mov	esi, DWORD PTR SOLO_EEPROM_ENABLE[rip]
	mov	rdi, r13
	sar	ebx, cl
	and	ebx, 1
	cmovne	ebx, DWORD PTR EE_DATA_WRITE[rip]
	sub	r12d, 1
	or	esi, ebx
	call	solo_eeprom_reg_write@PLT
	mov	esi, DWORD PTR SOLO_EEPROM_ENABLE[rip]
	mov	rdi, r13
	or	esi, DWORD PTR EE_SHIFT_CLK[rip]
	or	esi, ebx
	call	solo_eeprom_reg_write@PLT
	cmp	r12d, -1
	jne	.L4
.L2:
	mov	esi, DWORD PTR SOLO_EEPROM_ENABLE[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rdi, r13
	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
	jmp	solo_eeprom_reg_write@PLT
	.cfi_endproc
.LFE0:
	.size	solo_eeprom_cmd, .-solo_eeprom_cmd
	.comm	SOLO_EEPROM_ENABLE,4,4
	.comm	SOLO_EEPROM_ACCESS_EN,4,4
	.comm	EE_SHIFT_CLK,4,4
	.comm	EE_DATA_WRITE,4,4
	.comm	ADDR_LEN,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_solo6x10-eeprom.c_solo_eeprom_cmd.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	solo_eeprom_cmd, %function
solo_eeprom_cmd:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, r0
	ldr	r3, .L11
	ldr	r6, .L11+4
	mov	r7, r1
	ldr	r1, [r3]
	bl	solo_eeprom_reg_write
	mov	r0, r5
	ldr	r1, [r6]
	bl	solo_eeprom_reg_write
	ldr	r3, .L11+8
	ldr	r10, [r3]
	adds	r10, r10, #4
	bmi	.L2
	ldr	r8, .L11+12
	ldr	r9, .L11+16
.L4:
	asr	r4, r7, r10
	ands	r4, r4, #1
	ldrne	r4, [r9]
	ldr	r1, [r6]
	mov	r0, r5
	orr	r1, r4, r1
	bl	solo_eeprom_reg_write
	ldr	r1, [r6]
	ldr	r3, [r8]
	mov	r0, r5
	orr	r1, r1, r3
	sub	r10, r10, #1
	orr	r1, r1, r4
	bl	solo_eeprom_reg_write
	cmn	r10, #1
	bne	.L4
.L2:
	mov	r0, r5
	ldr	r1, [r6]
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	solo_eeprom_reg_write
.L12:
	.align	2
.L11:
	.word	SOLO_EEPROM_ACCESS_EN
	.word	SOLO_EEPROM_ENABLE
	.word	ADDR_LEN
	.word	EE_SHIFT_CLK
	.word	EE_DATA_WRITE
	.size	solo_eeprom_cmd, .-solo_eeprom_cmd
	.comm	SOLO_EEPROM_ENABLE,4,4
	.comm	SOLO_EEPROM_ACCESS_EN,4,4
	.comm	EE_SHIFT_CLK,4,4
	.comm	EE_DATA_WRITE,4,4
	.comm	ADDR_LEN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
