	.file	"175141927.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"ap_fifo"
.LC1:
	.string	""
.LC2:
	.string	"RAM_2P_BRAM"
	.text
	.globl	array_io
	.type	array_io, @function
array_io:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 32
	mov	rdi, rax
	mov	eax, 0
	call	_ssdm_SpecArrayDimSize@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	esi, 32
	mov	rdi, rax
	mov	eax, 0
	call	_ssdm_SpecArrayDimSize@PLT
	mov	rax, QWORD PTR -24[rbp]
	sub	rsp, 8
	lea	rdx, .LC1[rip]
	push	rdx
	lea	rdx, .LC1[rip]
	push	rdx
	lea	rdx, .LC1[rip]
	push	rdx
	mov	r9d, 0
	mov	r8d, 0
	mov	ecx, 0
	mov	edx, 0
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	_ssdm_op_SpecInterface@PLT
	add	rsp, 32
	mov	rax, QWORD PTR -32[rbp]
	lea	rdx, .LC1[rip]
	push	rdx
	lea	rdx, .LC1[rip]
	push	rdx
	lea	r9, .LC1[rip]
	mov	r8d, -1
	lea	rcx, .LC1[rip]
	lea	rdx, .LC2[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	_ssdm_op_SpecResource@PLT
	add	rsp, 16
.L2:
	mov	DWORD PTR -12[rbp], 0
	jmp	.L3
.L4:
	lea	rcx, .LC1[rip]
	mov	edx, 0
	mov	esi, 0
	mov	edi, 0
	mov	eax, 0
	call	_ssdm_Unroll@PLT
	mov	eax, DWORD PTR -12[rbp]
	cdq
	shr	edx, 29
	add	eax, edx
	and	eax, 7
	sub	eax, edx
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, acc.0[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rcx, [rax+rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rcx
	movzx	eax, WORD PTR [rax]
	cwde
	add	eax, edx
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rdx, acc.0[rip]
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, acc.0[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rcx, [rax+rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rcx
	mov	WORD PTR [rax], dx
	add	DWORD PTR -12[rbp], 1
.L3:
	cmp	DWORD PTR -12[rbp], 31
	jle	.L4
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	array_io, .-array_io
	.local	acc.0
	.comm	acc.0,32,32
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"175141927.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"ap_fifo\000"
	.align	2
.LC1:
	.ascii	"\000"
	.align	2
.LC2:
	.ascii	"RAM_2P_BRAM\000"
	.text
	.align	2
	.global	array_io
	.syntax unified
	.arm
	.fpu softvfp
	.type	array_io, %function
array_io:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	mov	r1, #32
	ldr	r0, [fp, #-24]
	bl	_ssdm_SpecArrayDimSize
	mov	r1, #32
	ldr	r0, [fp, #-28]
	bl	_ssdm_SpecArrayDimSize
	ldr	r3, .L5
	str	r3, [sp, #16]
	ldr	r3, .L5
	str	r3, [sp, #12]
	ldr	r3, .L5
	str	r3, [sp, #8]
	mov	r3, #0
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	ldr	r1, .L5+4
	ldr	r0, [fp, #-24]
	bl	_ssdm_op_SpecInterface
	ldr	r3, .L5
	str	r3, [sp, #12]
	ldr	r3, .L5
	str	r3, [sp, #8]
	ldr	r3, .L5
	str	r3, [sp, #4]
	mvn	r3, #0
	str	r3, [sp]
	ldr	r3, .L5
	ldr	r2, .L5+8
	ldr	r1, .L5
	ldr	r0, [fp, #-28]
	bl	_ssdm_op_SpecResource
.L2:
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L3
.L4:
	ldr	r3, .L5
	mov	r2, #0
	mov	r1, #0
	mov	r0, #0
	bl	_ssdm_Unroll
	ldr	r3, [fp, #-16]
	rsbs	r2, r3, #0
	and	r3, r3, #7
	and	r2, r2, #7
	rsbpl	r3, r2, #0
	str	r3, [fp, #-12]
	ldr	r2, .L5+12
	ldr	r3, [fp, #-12]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #-16]
	lsl	r2, r2, #1
	ldr	r1, [fp, #-28]
	add	r2, r1, r2
	ldrsh	r2, [r2]
	add	r3, r3, r2
	str	r3, [fp, #-8]
	ldr	r1, .L5+12
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-8]
	str	r2, [r1, r3, lsl #2]
	ldr	r2, .L5+12
	ldr	r3, [fp, #-12]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #1
	ldr	r1, [fp, #-24]
	add	r3, r1, r3
	lsl	r2, r2, #16
	asr	r2, r2, #16
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L3:
	ldr	r3, [fp, #-16]
	cmp	r3, #31
	ble	.L4
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	.LC1
	.word	.LC0
	.word	.LC2
	.word	acc.5052
	.size	array_io, .-array_io
	.local	acc.5052
	.comm	acc.5052,32,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
