	.file	"extr_de620.c_de620_write_block.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	de620_write_block, @function
de620_write_block:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, DWORD PTR NIC_Cmd[rip]
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, DWORD PTR DS0[rip]
	or	ebp, DWORD PTR DS1[rip]
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	xor	ebp, r13d
	test	edx, edx
	jle	.L2
	sub	edx, 1
	mov	rbx, rsi
	shr	edx
	lea	r14, 8[rsi+rdx*8]
	.p2align 4,,10
	.p2align 3
.L3:
	mov	edi, DWORD PTR [rbx]
	mov	esi, DWORD PTR DATA_PORT[rip]
	add	rbx, 8
	call	outb@PLT
	mov	esi, DWORD PTR COMMAND_PORT[rip]
	mov	edi, ebp
	call	outb@PLT
	mov	edi, DWORD PTR -4[rbx]
	mov	esi, DWORD PTR DATA_PORT[rip]
	call	outb@PLT
	mov	esi, DWORD PTR COMMAND_PORT[rip]
	mov	edi, r13d
	call	outb@PLT
	cmp	r14, rbx
	jne	.L3
.L2:
	mov	esi, DWORD PTR W_DUMMY[rip]
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	rdi, r12
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	de620_send_command@PLT
	.cfi_endproc
.LFE0:
	.size	de620_write_block, .-de620_write_block
	.comm	tot_cnt,4,4
	.comm	W_DUMMY,4,4
	.comm	NIC_Cmd,4,4
	.comm	DS1,4,4
	.comm	DS0,4,4
	.comm	DATA_PORT,4,4
	.comm	COMMAND_PORT,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_de620.c_de620_write_block.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	de620_write_block, %function
de620_write_block:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r3, .L7
	ldr	lr, .L7+4
	ldr	ip, .L7+8
	ldr	r9, [lr]
	ldr	r3, [r3]
	ldr	r7, [ip]
	orr	r9, r9, r3
	subs	r5, r2, #0
	mov	r8, r0
	eor	r9, r9, r7
	ble	.L2
	ldr	r10, .L7+12
	ldr	r6, .L7+16
	add	r4, r1, #8
.L3:
	ldr	r1, [r10]
	ldr	r0, [r4, #-8]
	bl	outb
	ldr	r1, [r6]
	mov	r0, r9
	bl	outb
	ldr	r1, [r10]
	ldr	r0, [r4, #-4]
	bl	outb
	sub	r5, r5, #2
	mov	r0, r7
	ldr	r1, [r6]
	bl	outb
	cmp	r5, #0
	add	r4, r4, #8
	bgt	.L3
.L2:
	ldr	r3, .L7+20
	mov	r0, r8
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r1, [r3]
	b	de620_send_command
.L8:
	.align	2
.L7:
	.word	DS1
	.word	DS0
	.word	NIC_Cmd
	.word	DATA_PORT
	.word	COMMAND_PORT
	.word	W_DUMMY
	.size	de620_write_block, .-de620_write_block
	.comm	tot_cnt,4,4
	.comm	W_DUMMY,4,4
	.comm	NIC_Cmd,4,4
	.comm	DS1,4,4
	.comm	DS0,4,4
	.comm	DATA_PORT,4,4
	.comm	COMMAND_PORT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
