	.file	"extr_spi-zynqmp-gqspi.c_zynqmp_qspi_filltxfifo.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	zynqmp_qspi_filltxfifo, @function
zynqmp_qspi_filltxfifo:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR [rdi]
	test	eax, eax
	jle	.L1
	mov	ebp, esi
	test	esi, esi
	jle	.L1
	mov	esi, DWORD PTR 4[rdi]
	mov	rbx, rdi
	xor	r13d, r13d
	lea	r12, 4[rsp]
	.p2align 4,,10
	.p2align 3
.L6:
	mov	edx, 4
	mov	rdi, r12
	call	memcpy@PLT
	mov	edx, DWORD PTR 4[rsp]
	mov	esi, DWORD PTR GQSPI_TXD_OFST[rip]
	mov	rdi, rbx
	call	zynqmp_gqspi_write@PLT
	mov	eax, DWORD PTR [rbx]
	cmp	eax, 3
	jg	.L19
	add	DWORD PTR 4[rbx], eax
	mov	DWORD PTR [rbx], 0
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L20
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
	ret
	.p2align 4,,10
	.p2align 3
.L19:
	.cfi_restore_state
	mov	ecx, DWORD PTR 4[rbx]
	sub	eax, 4
	add	r13d, 1
	mov	DWORD PTR [rbx], eax
	lea	esi, 4[rcx]
	mov	DWORD PTR 4[rbx], esi
	test	eax, eax
	jle	.L1
	cmp	ebp, r13d
	jg	.L6
	jmp	.L1
.L20:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	zynqmp_qspi_filltxfifo, .-zynqmp_qspi_filltxfifo
	.comm	GQSPI_TXD_OFST,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_spi-zynqmp-gqspi.c_zynqmp_qspi_filltxfifo.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	zynqmp_qspi_filltxfifo, %function
zynqmp_qspi_filltxfifo:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0]
	push	{r4, r5, r6, r7, lr}
	cmp	r3, #0
	cmpgt	r1, #0
	ldr	r2, .L13
	sub	sp, sp, #12
	ldr	r2, [r2]
	str	r2, [sp, #4]
	mov	r2,#0
	ble	.L1
	mov	r4, r0
	mov	r5, #0
	mov	r6, r1
	ldr	r7, .L13+4
	ldr	r1, [r0, #4]
.L5:
	mov	r2, #4
	mov	r0, sp
	bl	memcpy
	mov	r0, r4
	ldr	r2, [sp]
	ldr	r1, [r7]
	bl	zynqmp_gqspi_write
	ldr	r3, [r4]
	cmp	r3, #3
	bgt	.L11
	mov	r1, #0
	ldr	r2, [r4, #4]
	str	r1, [r4]
	add	r3, r2, r3
	str	r3, [r4, #4]
.L1:
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L11:
	sub	r3, r3, #4
	add	r5, r5, #1
	cmp	r3, #0
	cmpgt	r6, r5
	ldr	r1, [r4, #4]
	str	r3, [r4]
	add	r1, r1, #4
	str	r1, [r4, #4]
	bgt	.L5
	b	.L1
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	.LC0
	.word	GQSPI_TXD_OFST
	.size	zynqmp_qspi_filltxfifo, .-zynqmp_qspi_filltxfifo
	.comm	GQSPI_TXD_OFST,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
