	.file	"126462.c"
	.intel_syntax noprefix
	.text
	.globl	data
	.bss
	.align 32
	.type	data, @object
	.size	data, 240
data:
	.zero	240
	.section	.rodata
.LC0:
	.string	"/dev/mega"
.LC1:
	.string	"Cannot open device file\n"
.LC2:
	.string	"Read only %d bytes!\n"
.LC3:
	.string	"Read data:"
	.align 8
.LC4:
	.string	"%02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X\n"
.LC5:
	.string	"Finished."
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 56
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	DWORD PTR -68[rbp], edi
	mov	QWORD PTR -80[rbp], rsi
	mov	esi, 0
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -52[rbp], eax
	cmp	DWORD PTR -52[rbp], 0
	jns	.L2
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 24
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	fwrite@PLT
	mov	eax, -1
	jmp	.L3
.L2:
	mov	eax, DWORD PTR -52[rbp]
	mov	edx, 240
	lea	rsi, data[rip]
	mov	edi, eax
	mov	eax, 0
	call	read@PLT
	mov	DWORD PTR -56[rbp], eax
	cmp	DWORD PTR -56[rbp], 240
	je	.L4
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -56[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L4:
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	DWORD PTR -56[rbp], 0
	jmp	.L5
.L6:
	mov	eax, DWORD PTR -56[rbp]
	sal	eax, 4
	add	eax, 15
	cdqe
	lea	rdx, data[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	edi, al
	mov	eax, DWORD PTR -56[rbp]
	sal	eax, 4
	add	eax, 14
	cdqe
	lea	rdx, data[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	mov	DWORD PTR -72[rbp], eax
	mov	eax, DWORD PTR -56[rbp]
	sal	eax, 4
	add	eax, 13
	cdqe
	lea	rdx, data[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	r15d, al
	mov	eax, DWORD PTR -56[rbp]
	sal	eax, 4
	add	eax, 12
	cdqe
	lea	rdx, data[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	r14d, al
	mov	eax, DWORD PTR -56[rbp]
	sal	eax, 4
	add	eax, 11
	cdqe
	lea	rdx, data[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	r13d, al
	mov	eax, DWORD PTR -56[rbp]
	sal	eax, 4
	add	eax, 10
	cdqe
	lea	rdx, data[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	r12d, al
	mov	eax, DWORD PTR -56[rbp]
	sal	eax, 4
	add	eax, 9
	cdqe
	lea	rdx, data[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	ebx, al
	mov	eax, DWORD PTR -56[rbp]
	sal	eax, 4
	add	eax, 8
	cdqe
	lea	rdx, data[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	r11d, al
	mov	eax, DWORD PTR -56[rbp]
	sal	eax, 4
	add	eax, 7
	cdqe
	lea	rdx, data[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	r10d, al
	mov	eax, DWORD PTR -56[rbp]
	sal	eax, 4
	add	eax, 6
	cdqe
	lea	rdx, data[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	r9d, al
	mov	eax, DWORD PTR -56[rbp]
	sal	eax, 4
	add	eax, 5
	cdqe
	lea	rdx, data[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	r8d, al
	mov	eax, DWORD PTR -56[rbp]
	sal	eax, 4
	add	eax, 4
	cdqe
	lea	rdx, data[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	ecx, al
	mov	DWORD PTR -84[rbp], ecx
	mov	eax, DWORD PTR -56[rbp]
	sal	eax, 4
	add	eax, 3
	cdqe
	lea	rdx, data[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	esi, al
	mov	DWORD PTR -88[rbp], esi
	mov	eax, DWORD PTR -56[rbp]
	sal	eax, 4
	add	eax, 2
	cdqe
	lea	rdx, data[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	ecx, al
	mov	eax, DWORD PTR -56[rbp]
	sal	eax, 4
	add	eax, 1
	movsx	rdx, eax
	lea	rax, data[rip]
	movzx	eax, BYTE PTR [rdx+rax]
	movsx	esi, al
	mov	eax, DWORD PTR -56[rbp]
	sal	eax, 4
	movsx	rdx, eax
	lea	rax, data[rip]
	movzx	eax, BYTE PTR [rdx+rax]
	movsx	eax, al
	sub	rsp, 8
	push	rdi
	mov	edi, DWORD PTR -72[rbp]
	push	rdi
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	push	r11
	push	r10
	push	r9
	push	r8
	mov	r9d, DWORD PTR -84[rbp]
	mov	r8d, DWORD PTR -88[rbp]
	mov	edx, esi
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 96
	add	DWORD PTR -56[rbp], 1
.L5:
	cmp	DWORD PTR -56[rbp], 14
	jle	.L6
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -52[rbp]
	mov	edi, eax
	mov	eax, 0
	call	close@PLT
	mov	eax, 0
.L3:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"126462.c"
	.text
	.comm	data,240,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"/dev/mega\000"
	.align	2
.LC1:
	.ascii	"Cannot open device file\012\000"
	.align	2
.LC2:
	.ascii	"Read only %d bytes!\012\000"
	.align	2
.LC3:
	.ascii	"Read data:\000"
	.align	2
.LC4:
	.ascii	"%02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %"
	.ascii	"02X %02X %02X %02X %02X %02X\012\000"
	.align	2
.LC5:
	.ascii	"Finished.\000"
	.text
	.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	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #92
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	mov	r1, #0
	ldr	r0, .L7
	bl	open
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bge	.L2
	ldr	r3, .L7+4
	ldr	r3, [r3]
	mov	r2, #24
	mov	r1, #1
	ldr	r0, .L7+8
	bl	fwrite
	mvn	r3, #0
	b	.L3
.L2:
	mov	r2, #240
	ldr	r1, .L7+12
	ldr	r0, [fp, #-40]
	bl	read
	str	r0, [fp, #-44]
	ldr	r3, [fp, #-44]
	cmp	r3, #240
	beq	.L4
	ldr	r3, .L7+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-44]
	ldr	r1, .L7+16
	mov	r0, r3
	bl	fprintf
.L4:
	ldr	r0, .L7+20
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L5
.L6:
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #4
	ldr	r2, .L7+12
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #4
	add	r3, r3, #1
	ldr	r2, .L7+12
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #4
	add	r3, r3, #2
	ldr	r2, .L7+12
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #4
	add	r3, r3, #3
	ldr	r2, .L7+12
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	lr, r3
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #4
	add	r3, r3, #4
	ldr	r2, .L7+12
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	r4, r3
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #4
	add	r3, r3, #5
	ldr	r2, .L7+12
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	r5, r3
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #4
	add	r3, r3, #6
	ldr	r2, .L7+12
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	r6, r3
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #4
	add	r3, r3, #7
	ldr	r2, .L7+12
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	r7, r3
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #4
	add	r3, r3, #8
	ldr	r2, .L7+12
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	r8, r3
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #4
	add	r3, r3, #9
	ldr	r2, .L7+12
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	r9, r3
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #4
	add	r3, r3, #10
	ldr	r2, .L7+12
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	r10, r3
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #4
	add	r3, r3, #11
	ldr	r2, .L7+12
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #4
	add	r3, r3, #12
	ldr	r2, .L7+12
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	ip, r3
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #4
	add	r2, r3, #13
	ldr	r3, .L7+12
	ldrb	r3, [r3, r2]	@ zero_extendqisi2
	mov	r0, r3
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #4
	add	r2, r3, #14
	ldr	r3, .L7+12
	ldrb	r3, [r3, r2]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #4
	add	r2, r3, #15
	ldr	r3, .L7+12
	ldrb	r3, [r3, r2]	@ zero_extendqisi2
	str	r3, [sp, #48]
	str	r1, [sp, #44]
	str	r0, [sp, #40]
	str	ip, [sp, #36]
	ldr	r0, [fp, #-68]
	str	r0, [sp, #32]
	str	r10, [sp, #28]
	str	r9, [sp, #24]
	str	r8, [sp, #20]
	str	r7, [sp, #16]
	str	r6, [sp, #12]
	str	r5, [sp, #8]
	str	r4, [sp, #4]
	str	lr, [sp]
	ldr	r3, [fp, #-64]
	ldr	r2, [fp, #-60]
	ldr	r1, [fp, #-56]
	ldr	r0, .L7+24
	bl	printf
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L5:
	ldr	r3, [fp, #-44]
	cmp	r3, #14
	ble	.L6
	ldr	r0, .L7+28
	bl	puts
	ldr	r0, [fp, #-40]
	bl	close
	mov	r3, #0
.L3:
	mov	r0, r3
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC0
	.word	stderr
	.word	.LC1
	.word	data
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
