	.file	"561358.c"
	.intel_syntax noprefix
	.text
	.globl	io_ram
	.data
	.align 8
	.type	io_ram, @object
	.size	io_ram, 8
io_ram:
	.quad	3221225472
	.text
	.globl	io_read_block
	.type	io_read_block, @function
io_read_block:
.LFB0:
	.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 -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	mov	DWORD PTR -4[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -4[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -4[rbp]
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -32[rbp]
	add	rdx, rcx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -4[rbp], 1
.L2:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jb	.L3
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	io_read_block, .-io_read_block
	.globl	acc_block
	.type	acc_block, @function
acc_block:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 544
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -532[rbp], 0
	mov	rax, QWORD PTR io_ram[rip]
	lea	rcx, -528[rbp]
	mov	edx, 128
	mov	rsi, rcx
	mov	rdi, rax
	call	io_read_block
	mov	DWORD PTR -536[rbp], 0
	jmp	.L5
.L6:
	mov	eax, DWORD PTR -536[rbp]
	cdqe
	mov	eax, DWORD PTR -528[rbp+rax*4]
	add	DWORD PTR -532[rbp], eax
	add	DWORD PTR -536[rbp], 1
.L5:
	cmp	DWORD PTR -536[rbp], 127
	jle	.L6
	mov	rax, QWORD PTR io_ram[rip]
	mov	edx, DWORD PTR -532[rbp]
	mov	DWORD PTR [rax], edx
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	acc_block, .-acc_block
	.globl	random
	.type	random, @function
random:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR z.1[rip]
	movzx	eax, ax
	imul	edx, eax, 36969
	mov	eax, DWORD PTR z.1[rip]
	shr	eax, 16
	add	eax, edx
	mov	DWORD PTR z.1[rip], eax
	mov	eax, DWORD PTR w.0[rip]
	movzx	eax, ax
	imul	edx, eax, 18000
	mov	eax, DWORD PTR w.0[rip]
	shr	eax, 16
	add	eax, edx
	mov	DWORD PTR w.0[rip], eax
	mov	eax, DWORD PTR z.1[rip]
	sal	eax, 16
	mov	edx, eax
	mov	eax, DWORD PTR w.0[rip]
	add	eax, edx
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	random, .-random
	.globl	io_rw_test
	.type	io_rw_test, @function
io_rw_test:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 72
	.cfi_offset 3, -24
	mov	QWORD PTR -72[rbp], rdi
	mov	DWORD PTR -76[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	mov	eax, DWORD PTR -76[rbp]
	mov	edx, eax
	sub	rdx, 1
	mov	QWORD PTR -48[rbp], rdx
	mov	edx, eax
	mov	r10, rdx
	mov	r11d, 0
	mov	edx, eax
	mov	r8, rdx
	mov	r9d, 0
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L11:
	cmp	rsp, rdx
	je	.L12
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L11
.L12:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L13
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L13:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -40[rbp], rax
	mov	DWORD PTR -56[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	DWORD PTR -52[rbp], 0
	jmp	.L14
.L15:
	mov	eax, 0
	call	random
	mov	rdx, QWORD PTR -40[rbp]
	mov	ecx, DWORD PTR -52[rbp]
	mov	DWORD PTR [rdx+rcx*4], eax
	add	DWORD PTR -52[rbp], 1
.L14:
	mov	eax, DWORD PTR -52[rbp]
	cmp	eax, DWORD PTR -76[rbp]
	jb	.L15
	mov	DWORD PTR -52[rbp], 0
	jmp	.L16
.L17:
	mov	eax, DWORD PTR -52[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -72[rbp]
	lea	rcx, [rdx+rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR -52[rbp]
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	DWORD PTR [rcx], eax
	add	DWORD PTR -52[rbp], 1
.L16:
	mov	eax, DWORD PTR -52[rbp]
	cmp	eax, DWORD PTR -76[rbp]
	jb	.L17
	mov	DWORD PTR -52[rbp], 0
	jmp	.L18
.L20:
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR -52[rbp]
	mov	edx, DWORD PTR [rax+rdx*4]
	mov	eax, DWORD PTR -52[rbp]
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	je	.L19
	add	DWORD PTR -56[rbp], 1
.L19:
	add	DWORD PTR -52[rbp], 1
.L18:
	mov	eax, DWORD PTR -52[rbp]
	cmp	eax, DWORD PTR -76[rbp]
	jb	.L20
	cmp	DWORD PTR -56[rbp], 0
	je	.L21
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR [rax], 2989
	mov	rax, QWORD PTR -32[rbp]
	lea	rdx, 4[rax]
	mov	eax, DWORD PTR -56[rbp]
	mov	DWORD PTR [rdx], eax
	jmp	.L22
.L21:
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR [rax], 24589
	mov	rax, QWORD PTR -32[rbp]
	lea	rdx, 12[rax]
	mov	eax, DWORD PTR -56[rbp]
	mov	DWORD PTR [rdx], eax
.L22:
	mov	rsp, rbx
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L23
	call	__stack_chk_fail@PLT
.L23:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	io_rw_test, .-io_rw_test
	.globl	start
	.type	start, @function
start:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR io_ram[rip]
	mov	esi, 8
	mov	rdi, rax
	call	io_rw_test
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	start, .-start
	.data
	.align 4
	.type	z.1, @object
	.size	z.1, 4
z.1:
	.long	521288629
	.align 4
	.type	w.0, @object
	.size	w.0, 4
w.0:
	.long	362436069
	.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	"561358.c"
	.text
	.global	io_ram
	.data
	.align	2
	.type	io_ram, %object
	.size	io_ram, 4
io_ram:
	.word	-1073741824
	.text
	.align	2
	.global	io_read_block
	.syntax unified
	.arm
	.fpu softvfp
	.type	io_read_block, %function
io_read_block:
	@ args = 0, 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]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L2
.L3:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-20]
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bcc	.L3
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	io_read_block, .-io_read_block
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	acc_block
	.syntax unified
	.arm
	.fpu softvfp
	.type	acc_block, %function
acc_block:
	@ args = 0, pretend = 0, frame = 528
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #528
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-524]
	ldr	r3, .L8+4
	ldr	r3, [r3]
	sub	r1, fp, #520
	mov	r2, #128
	mov	r0, r3
	bl	io_read_block
	mov	r3, #0
	str	r3, [fp, #-528]
	b	.L5
.L6:
	ldr	r3, [fp, #-528]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-516]
	ldr	r2, [fp, #-524]
	add	r3, r2, r3
	str	r3, [fp, #-524]
	ldr	r3, [fp, #-528]
	add	r3, r3, #1
	str	r3, [fp, #-528]
.L5:
	ldr	r3, [fp, #-528]
	cmp	r3, #127
	ble	.L6
	ldr	r3, .L8+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-524]
	str	r2, [r3]
	nop
	ldr	r3, .L8
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L7
	bl	__stack_chk_fail
.L7:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC0
	.word	io_ram
	.size	acc_block, .-acc_block
	.align	2
	.global	random
	.syntax unified
	.arm
	.fpu softvfp
	.type	random, %function
random:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L12
	ldr	r3, [r3]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldr	r2, .L12+4
	mul	r2, r3, r2
	ldr	r3, .L12
	ldr	r3, [r3]
	lsr	r3, r3, #16
	add	r3, r2, r3
	ldr	r2, .L12
	str	r3, [r2]
	ldr	r3, .L12+8
	ldr	r3, [r3]
	lsl	r2, r3, #16
	lsr	r2, r2, #16
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #4
	sub	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, .L12+8
	ldr	r3, [r3]
	lsr	r3, r3, #16
	add	r3, r2, r3
	ldr	r2, .L12+8
	str	r3, [r2]
	ldr	r3, .L12
	ldr	r3, [r3]
	lsl	r2, r3, #16
	ldr	r3, .L12+8
	ldr	r3, [r3]
	add	r3, r2, r3
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L13:
	.align	2
.L12:
	.word	z.4214
	.word	36969
	.word	w.4215
	.size	random, .-random
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	io_rw_test
	.syntax unified
	.arm
	.fpu softvfp
	.type	io_rw_test, %function
io_rw_test:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, .L25
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, sp
	mov	r4, r3
	ldr	ip, [fp, #-44]
	mov	r3, ip
	sub	r3, r3, #1
	str	r3, [fp, #-28]
	mov	r0, ip
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r0, ip
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	lsl	r3, ip, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L15
.L16:
	bl	random
	mov	r1, r0
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-32]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L15:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	bcc	.L16
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L17
.L18:
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-32]
	ldr	r2, [r2, r1, lsl #2]
	str	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L17:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	bcc	.L18
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L19
.L21:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-32]
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-40]
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L20
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L20:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L19:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	bcc	.L21
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L22
	ldr	r3, [fp, #-20]
	ldr	r2, .L25+4
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	ldr	r2, [fp, #-36]
	str	r2, [r3]
	b	.L23
.L22:
	ldr	r3, [fp, #-20]
	ldr	r2, .L25+8
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #12
	ldr	r2, [fp, #-36]
	str	r2, [r3]
.L23:
	mov	sp, r4
	nop
	ldr	r3, .L25
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L24
	bl	__stack_chk_fail
.L24:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC1
	.word	2989
	.word	24589
	.size	io_rw_test, .-io_rw_test
	.align	2
	.global	start
	.syntax unified
	.arm
	.fpu softvfp
	.type	start, %function
start:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L28
	ldr	r3, [r3]
	mov	r1, #8
	mov	r0, r3
	bl	io_rw_test
	nop
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	io_ram
	.size	start, .-start
	.data
	.align	2
	.type	z.4214, %object
	.size	z.4214, 4
z.4214:
	.word	521288629
	.align	2
	.type	w.4215, %object
	.size	w.4215, 4
w.4215:
	.word	362436069
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
