	.file	"742733.c"
	.intel_syntax noprefix
	.text
	.globl	hex
	.data
	.align 8
	.type	hex, @object
	.size	hex, 8
hex:
	.quad	4112
	.globl	wordcpy_acc
	.align 8
	.type	wordcpy_acc, @object
	.size	wordcpy_acc, 8
wordcpy_acc:
	.quad	4160
	.globl	dot_acc
	.align 8
	.type	dot_acc, @object
	.size	dot_acc, 8
dot_acc:
	.quad	4352
	.globl	act_acc
	.align 8
	.type	act_acc, @object
	.size	act_acc, 8
act_acc:
	.quad	4608
	.globl	bank0
	.align 8
	.type	bank0, @object
	.size	bank0, 8
bank0:
	.quad	24576
	.globl	bank1
	.align 8
	.type	bank1, @object
	.size	bank1, 8
bank1:
	.quad	28672
	.globl	nn
	.align 8
	.type	nn, @object
	.size	nn, 8
nn:
	.quad	167772160
	.globl	input
	.align 8
	.type	input, @object
	.size	input, 8
input:
	.quad	176160768
	.globl	l1_acts
	.align 8
	.type	l1_acts, @object
	.size	l1_acts, 8
l1_acts:
	.quad	176164864
	.globl	l2_acts
	.align 8
	.type	l2_acts, @object
	.size	l2_acts, 8
l2_acts:
	.quad	176168960
	.globl	l3_acts
	.align 8
	.type	l3_acts, @object
	.size	l3_acts, 8
l3_acts:
	.quad	176173056
	.text
	.globl	hex7seg
	.type	hex7seg, @function
hex7seg:
.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, 64
	mov	DWORD PTR -52[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -48[rbp], 64
	mov	DWORD PTR -44[rbp], 121
	mov	DWORD PTR -40[rbp], 36
	mov	DWORD PTR -36[rbp], 48
	mov	DWORD PTR -32[rbp], 25
	mov	DWORD PTR -28[rbp], 18
	mov	DWORD PTR -24[rbp], 2
	mov	DWORD PTR -20[rbp], 120
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -12[rbp], 16
	cmp	DWORD PTR -52[rbp], 9
	ja	.L2
	mov	eax, DWORD PTR -52[rbp]
	mov	eax, DWORD PTR -48[rbp+rax*4]
	jmp	.L4
.L2:
	mov	eax, 63
.L4:
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	hex7seg, .-hex7seg
	.globl	wordcpy
	.type	wordcpy, @function
wordcpy:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	DWORD PTR -20[rbp], edx
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR wordcpy_acc[rip]
	add	rax, 4
	mov	DWORD PTR [rax], edx
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR wordcpy_acc[rip]
	add	rax, 8
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR wordcpy_acc[rip]
	lea	rdx, 12[rax]
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR [rdx], eax
	mov	rax, QWORD PTR wordcpy_acc[rip]
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR wordcpy_acc[rip]
	mov	eax, DWORD PTR [rax]
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	wordcpy, .-wordcpy
	.globl	dotprod_sw
	.type	dotprod_sw, @function
dotprod_sw:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	jmp	.L8
.L9:
	mov	eax, DWORD PTR -4[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	movsx	rdx, eax
	mov	eax, DWORD PTR -4[rbp]
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cdqe
	imul	rax, rdx
	sar	rax, 16
	add	DWORD PTR -8[rbp], eax
	add	DWORD PTR -4[rbp], 1
.L8:
	mov	eax, DWORD PTR -20[rbp]
	cmp	DWORD PTR -4[rbp], eax
	jb	.L9
	mov	eax, DWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	dotprod_sw, .-dotprod_sw
	.globl	dotprod_hw
	.type	dotprod_hw, @function
dotprod_hw:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR dot_acc[rip]
	add	rax, 8
	mov	DWORD PTR [rax], edx
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR dot_acc[rip]
	add	rax, 12
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR dot_acc[rip]
	lea	rdx, 20[rax]
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR [rdx], eax
	mov	rax, QWORD PTR dot_acc[rip]
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR dot_acc[rip]
	mov	eax, DWORD PTR [rax]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	dotprod_hw, .-dotprod_hw
	.globl	apply_layer_dot
	.type	apply_layer_dot, @function
apply_layer_dot:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 56
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	QWORD PTR -32[rbp], rdx
	mov	QWORD PTR -40[rbp], rcx
	mov	DWORD PTR -44[rbp], r8d
	mov	QWORD PTR -56[rbp], r9
	mov	DWORD PTR -12[rbp], 0
	mov	DWORD PTR -8[rbp], 0
	jmp	.L14
.L16:
	mov	eax, DWORD PTR -12[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	lea	rcx, [rdx+rax]
	mov	rdx, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	dotprod_sw
	add	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -44[rbp], 0
	je	.L15
	mov	eax, 0
	cmp	DWORD PTR -4[rbp], 0
	cmovns	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR -4[rbp], eax
.L15:
	mov	eax, DWORD PTR -12[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR 16[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -12[rbp], 1
	mov	eax, DWORD PTR -20[rbp]
	add	DWORD PTR -8[rbp], eax
.L14:
	mov	eax, DWORD PTR -24[rbp]
	cmp	DWORD PTR -12[rbp], eax
	jb	.L16
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	apply_layer_dot, .-apply_layer_dot
	.globl	apply_layer_act
	.type	apply_layer_act, @function
apply_layer_act:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	QWORD PTR -32[rbp], rdx
	mov	QWORD PTR -40[rbp], rcx
	mov	DWORD PTR -44[rbp], r8d
	mov	QWORD PTR -56[rbp], r9
	mov	rdx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR act_acc[rip]
	add	rax, 12
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR act_acc[rip]
	lea	rdx, 20[rax]
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR [rdx], eax
	mov	rax, QWORD PTR act_acc[rip]
	lea	rdx, 28[rax]
	mov	eax, DWORD PTR -44[rbp]
	mov	DWORD PTR [rdx], eax
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	jmp	.L18
.L19:
	mov	eax, DWORD PTR -8[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rdx, rax
	mov	rax, QWORD PTR act_acc[rip]
	add	rax, 4
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -4[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	rdx, rax
	mov	rax, QWORD PTR act_acc[rip]
	add	rax, 8
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -8[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	mov	rdx, rax
	mov	rax, QWORD PTR act_acc[rip]
	add	rax, 16
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR act_acc[rip]
	mov	DWORD PTR [rax], 0
	add	DWORD PTR -8[rbp], 1
	mov	eax, DWORD PTR -20[rbp]
	add	DWORD PTR -4[rbp], eax
.L18:
	mov	eax, DWORD PTR -24[rbp]
	cmp	DWORD PTR -8[rbp], eax
	jb	.L19
	mov	rax, QWORD PTR act_acc[rip]
	mov	eax, DWORD PTR [rax]
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	apply_layer_act, .-apply_layer_act
	.globl	max_index
	.type	max_index, @function
max_index:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -4[rbp], 1
	jmp	.L21
.L23:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jle	.L22
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR -8[rbp], eax
.L22:
	add	DWORD PTR -4[rbp], 1
.L21:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L23
	mov	eax, DWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	max_index, .-max_index
	.globl	copymem
	.type	copymem, @function
copymem:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 24
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	DWORD PTR -20[rbp], edx
	mov	edx, DWORD PTR -20[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	wordcpy
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	copymem, .-copymem
	.globl	main
	.type	main, @function
main:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	rax, QWORD PTR hex[rip]
	mov	DWORD PTR [rax], 63
	mov	rax, QWORD PTR nn[rip]
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 4000
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 3136000
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 4000
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 4000000
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 40
	mov	QWORD PTR -8[rbp], rax
	mov	rcx, QWORD PTR input[rip]
	mov	rax, QWORD PTR bank0[rip]
	mov	edx, 784
	mov	rsi, rcx
	mov	rdi, rax
	call	copymem
	mov	rcx, QWORD PTR l1_acts[rip]
	mov	rsi, QWORD PTR input[rip]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -48[rbp]
	push	rcx
	mov	r9, rsi
	mov	r8d, 1
	mov	rcx, rdx
	mov	rdx, rax
	mov	esi, 1000
	mov	edi, 784
	call	apply_layer_dot
	add	rsp, 8
	mov	rcx, QWORD PTR l2_acts[rip]
	mov	rsi, QWORD PTR l1_acts[rip]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -32[rbp]
	push	rcx
	mov	r9, rsi
	mov	r8d, 1
	mov	rcx, rdx
	mov	rdx, rax
	mov	esi, 1000
	mov	edi, 1000
	call	apply_layer_dot
	add	rsp, 8
	mov	rcx, QWORD PTR l3_acts[rip]
	mov	rsi, QWORD PTR l2_acts[rip]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -16[rbp]
	push	rcx
	mov	r9, rsi
	mov	r8d, 0
	mov	rcx, rdx
	mov	rdx, rax
	mov	esi, 10
	mov	edi, 1000
	call	apply_layer_dot
	add	rsp, 8
	mov	rax, QWORD PTR l3_acts[rip]
	mov	rsi, rax
	mov	edi, 10
	call	max_index
	mov	DWORD PTR -52[rbp], eax
	mov	eax, DWORD PTR -52[rbp]
	mov	edi, eax
	call	hex7seg
	mov	edx, eax
	mov	rax, QWORD PTR hex[rip]
	mov	DWORD PTR [rax], edx
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	main, .-main
	.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	"742733.c"
	.text
	.global	hex
	.data
	.align	2
	.type	hex, %object
	.size	hex, 4
hex:
	.word	4112
	.global	wordcpy_acc
	.align	2
	.type	wordcpy_acc, %object
	.size	wordcpy_acc, 4
wordcpy_acc:
	.word	4160
	.global	dot_acc
	.align	2
	.type	dot_acc, %object
	.size	dot_acc, 4
dot_acc:
	.word	4352
	.global	act_acc
	.align	2
	.type	act_acc, %object
	.size	act_acc, 4
act_acc:
	.word	4608
	.global	bank0
	.align	2
	.type	bank0, %object
	.size	bank0, 4
bank0:
	.word	24576
	.global	bank1
	.align	2
	.type	bank1, %object
	.size	bank1, 4
bank1:
	.word	28672
	.global	nn
	.align	2
	.type	nn, %object
	.size	nn, 4
nn:
	.word	167772160
	.global	input
	.align	2
	.type	input, %object
	.size	input, 4
input:
	.word	176160768
	.global	l1_acts
	.align	2
	.type	l1_acts, %object
	.size	l1_acts, 4
l1_acts:
	.word	176164864
	.global	l2_acts
	.align	2
	.type	l2_acts, %object
	.size	l2_acts, 4
l2_acts:
	.word	176168960
	.global	l3_acts
	.align	2
	.type	l3_acts, %object
	.size	l3_acts, 4
l3_acts:
	.word	176173056
	.section	.rodata
	.align	2
.LC0:
	.word	64
	.word	121
	.word	36
	.word	48
	.word	25
	.word	18
	.word	2
	.word	120
	.word	0
	.word	16
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	hex7seg
	.syntax unified
	.arm
	.fpu softvfp
	.type	hex7seg, %function
hex7seg:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-56]
	ldr	r3, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L6+4
	sub	ip, fp, #48
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	stm	ip, {r0, r1}
	ldr	r3, [fp, #-56]
	cmp	r3, #9
	bhi	.L2
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-44]
	b	.L4
.L2:
	mov	r3, #63
.L4:
	ldr	r2, .L6
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L5
	bl	__stack_chk_fail
.L5:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC1
	.word	.LC0
	.size	hex7seg, .-hex7seg
	.align	2
	.global	wordcpy
	.syntax unified
	.arm
	.fpu softvfp
	.type	wordcpy, %function
wordcpy:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r3, .L9
	ldr	r3, [r3]
	add	r3, r3, #4
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	ldr	r3, .L9
	ldr	r3, [r3]
	add	r3, r3, #8
	ldr	r2, [fp, #-12]
	str	r2, [r3]
	ldr	r3, .L9
	ldr	r3, [r3]
	add	r3, r3, #12
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r3, .L9
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L9
	ldr	r3, [r3]
	ldr	r3, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L10:
	.align	2
.L9:
	.word	wordcpy_acc
	.size	wordcpy, .-wordcpy
	.align	2
	.global	dotprod_sw
	.syntax unified
	.arm
	.fpu softvfp
	.type	dotprod_sw, %function
dotprod_sw:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	push	{r4, r5, fp}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L12
.L13:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r4, r3
	asr	r5, r4, #31
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	asr	r1, r0, #31
	mul	r2, r0, r5
	mul	r3, r4, r1
	add	ip, r2, r3
	umull	r2, r3, r4, r0
	add	r1, ip, r3
	mov	r3, r1
	mov	r0, #0
	mov	r1, #0
	lsr	r0, r2, #16
	orr	r0, r0, r3, lsl #16
	asr	r1, r3, #16
	mov	r2, r0
	ldr	r3, [fp, #-20]
	add	r3, r3, r2
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L12:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bcc	.L13
	ldr	r3, [fp, #-20]
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, r5, fp}
	bx	lr
	.size	dotprod_sw, .-dotprod_sw
	.align	2
	.global	dotprod_hw
	.syntax unified
	.arm
	.fpu softvfp
	.type	dotprod_hw, %function
dotprod_hw:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r3, .L17
	ldr	r3, [r3]
	add	r3, r3, #8
	ldr	r2, [fp, #-12]
	str	r2, [r3]
	ldr	r3, .L17
	ldr	r3, [r3]
	add	r3, r3, #12
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r3, .L17
	ldr	r3, [r3]
	add	r3, r3, #20
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	ldr	r3, .L17
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L17
	ldr	r3, [r3]
	ldr	r3, [r3]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L18:
	.align	2
.L17:
	.word	dot_acc
	.size	dotprod_hw, .-dotprod_hw
	.align	2
	.global	apply_layer_dot
	.syntax unified
	.arm
	.fpu softvfp
	.type	apply_layer_dot, %function
apply_layer_dot:
	@ args = 12, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L20
.L22:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r2, [fp, #8]
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	dotprod_sw
	mov	r2, r0
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #4]
	cmp	r3, #0
	beq	.L21
	ldr	r3, [fp, #-8]
	bic	r3, r3, r3, asr #31
	str	r3, [fp, #-8]
.L21:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #12]
	add	r3, r2, r3
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	str	r3, [fp, #-12]
.L20:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bcc	.L22
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	apply_layer_dot, .-apply_layer_dot
	.align	2
	.global	apply_layer_act
	.syntax unified
	.arm
	.fpu softvfp
	.type	apply_layer_act, %function
apply_layer_act:
	@ args = 12, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, .L26
	ldr	r3, [r3]
	add	r3, r3, #12
	ldr	r2, [fp, #8]
	str	r2, [r3]
	ldr	r3, .L26
	ldr	r3, [r3]
	add	r3, r3, #20
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r3, .L26
	ldr	r3, [r3]
	add	r3, r3, #28
	ldr	r2, [fp, #4]
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L24
.L25:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, .L26
	ldr	r3, [r3]
	add	r3, r3, #4
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r2, r2, r3
	ldr	r3, .L26
	ldr	r3, [r3]
	add	r3, r3, #8
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #12]
	add	r2, r2, r3
	ldr	r3, .L26
	ldr	r3, [r3]
	add	r3, r3, #16
	str	r2, [r3]
	ldr	r3, .L26
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	str	r3, [fp, #-8]
.L24:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bcc	.L25
	ldr	r3, .L26
	ldr	r3, [r3]
	ldr	r3, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L27:
	.align	2
.L26:
	.word	act_acc
	.size	apply_layer_act, .-apply_layer_act
	.align	2
	.global	max_index
	.syntax unified
	.arm
	.fpu softvfp
	.type	max_index, %function
max_index:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L29
.L31:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-20]
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L30
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-12]
.L30:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L29:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L31
	ldr	r3, [fp, #-12]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	max_index, .-max_index
	.align	2
	.global	copymem
	.syntax unified
	.arm
	.fpu softvfp
	.type	copymem, %function
copymem:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	wordcpy
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	copymem, .-copymem
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	ldr	r3, .L36
	ldr	r3, [r3]
	mov	r2, #63
	str	r2, [r3]
	ldr	r3, .L36+4
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	add	r3, r3, #4000
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	add	r3, r3, #3129344
	add	r3, r3, #6656
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	add	r3, r3, #4000
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	add	r3, r3, #3997696
	add	r3, r3, #2304
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	add	r3, r3, #40
	str	r3, [fp, #-12]
	ldr	r3, .L36+8
	ldr	r3, [r3]
	ldr	r2, .L36+12
	ldr	r1, [r2]
	mov	r2, #784
	mov	r0, r3
	bl	copymem
	ldr	r3, .L36+12
	ldr	r3, [r3]
	ldr	r2, .L36+16
	ldr	r2, [r2]
	str	r2, [sp, #8]
	str	r3, [sp, #4]
	mov	r3, #1
	str	r3, [sp]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-32]
	mov	r1, #1000
	mov	r0, #784
	bl	apply_layer_dot
	ldr	r3, .L36+16
	ldr	r3, [r3]
	ldr	r2, .L36+20
	ldr	r2, [r2]
	str	r2, [sp, #8]
	str	r3, [sp, #4]
	mov	r3, #1
	str	r3, [sp]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-24]
	mov	r1, #1000
	mov	r0, #1000
	bl	apply_layer_dot
	ldr	r3, .L36+20
	ldr	r3, [r3]
	ldr	r2, .L36+24
	ldr	r2, [r2]
	str	r2, [sp, #8]
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	mov	r1, #10
	mov	r0, #1000
	bl	apply_layer_dot
	ldr	r3, .L36+24
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	max_index
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	bl	hex7seg
	mov	r2, r0
	ldr	r3, .L36
	ldr	r3, [r3]
	str	r2, [r3]
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L37:
	.align	2
.L36:
	.word	hex
	.word	nn
	.word	bank0
	.word	input
	.word	l1_acts
	.word	l2_acts
	.word	l3_acts
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
