	.file	"822870.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Usage: bytedump [filename] [--option]\n\tOptions:\n\t\t--bin = print bytes in binary\n\t\t--dec = print bytes in decimal\n\t\t--hex = print bytes in hexadecimal"
.LC1:
	.string	"rb"
	.align 8
.LC2:
	.string	"Error opening the file. Does it exist?"
.LC3:
	.string	"--bin"
.LC4:
	.string	"--dec"
.LC5:
	.string	"--hex"
	.align 8
.LC6:
	.string	"Incorrect usage. Third argument should either be --bin, --hex or --dec."
.LC7:
	.string	"\nTotal filesize: %d byte(s)"
	.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
	sub	rsp, 48
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -36[rbp], 3
	je	.L2
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	edi, -1
	call	exit@PLT
.L2:
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 8
	mov	rcx, QWORD PTR [rax]
	lea	rax, -24[rbp]
	lea	rdx, .LC1[rip]
	mov	rsi, rcx
	mov	rdi, rax
	mov	eax, 0
	call	fopen_s@PLT
	mov	rax, QWORD PTR -24[rbp]
	test	rax, rax
	jne	.L3
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	edi, -50
	call	exit@PLT
.L3:
	mov	QWORD PTR -16[rbp], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L4
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	printBinary
	jmp	.L5
.L4:
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L6
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	printDecimal
	jmp	.L5
.L6:
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L7
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	printHex
	jmp	.L5
.L7:
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	edi, -51
	call	exit@PLT
.L5:
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC8:
	.string	"1+:\t"
.LC9:
	.string	"%s   "
.LC10:
	.string	"\n%d+:\t"
	.text
	.globl	printBinary
	.type	printBinary, @function
printBinary:
.LFB7:
	.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	QWORD PTR -80[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	BYTE PTR -53[rbp], 0
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	QWORD PTR -48[rbp], 1
	jmp	.L11
.L15:
	mov	rdx, QWORD PTR -72[rbp]
	lea	rax, -53[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	movzx	eax, BYTE PTR -53[rbp]
	movzx	eax, al
	lea	rcx, -33[rbp]
	mov	edx, 2
	mov	rsi, rcx
	mov	edi, eax
	mov	eax, 0
	call	_itoa_s@PLT
	mov	DWORD PTR -52[rbp], 0
	jmp	.L12
.L13:
	mov	edi, 48
	call	putchar@PLT
	add	DWORD PTR -52[rbp], 1
.L12:
	mov	ebx, DWORD PTR -52[rbp]
	lea	rax, -33[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	eax, 8
	sub	rax, rdx
	cmp	rbx, rax
	jb	.L13
	lea	rax, -33[rbp]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rcx, QWORD PTR -48[rbp]
	movabs	rdx, -3689348814741910323
	mov	rax, rcx
	mul	rdx
	shr	rdx, 3
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	sub	rcx, rax
	mov	rdx, rcx
	test	rdx, rdx
	jne	.L14
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 1
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
.L14:
	add	QWORD PTR -48[rbp], 1
.L11:
	mov	rax, QWORD PTR -48[rbp]
	cmp	rax, QWORD PTR -80[rbp]
	jbe	.L15
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	printBinary, .-printBinary
	.section	.rodata
.LC11:
	.string	"1+:\t\t"
.LC12:
	.string	"%d\t"
.LC13:
	.string	"\n%d+:\t\t"
	.text
	.globl	printDecimal
	.type	printDecimal, @function
printDecimal:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	BYTE PTR -17[rbp], 0
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	QWORD PTR -16[rbp], 1
	jmp	.L18
.L20:
	mov	rdx, QWORD PTR -40[rbp]
	lea	rax, -17[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	movzx	eax, BYTE PTR -17[rbp]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rcx, QWORD PTR -16[rbp]
	movabs	rdx, -3689348814741910323
	mov	rax, rcx
	mul	rdx
	shr	rdx, 3
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	sub	rcx, rax
	mov	rdx, rcx
	test	rdx, rdx
	jne	.L19
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 1
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
.L19:
	add	QWORD PTR -16[rbp], 1
.L18:
	mov	rax, QWORD PTR -16[rbp]
	cmp	rax, QWORD PTR -48[rbp]
	jbe	.L20
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L21
	call	__stack_chk_fail@PLT
.L21:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	printDecimal, .-printDecimal
	.section	.rodata
.LC14:
	.string	"%02X\t"
	.text
	.globl	printHex
	.type	printHex, @function
printHex:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	BYTE PTR -17[rbp], 0
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	QWORD PTR -16[rbp], 1
	jmp	.L23
.L25:
	mov	rdx, QWORD PTR -40[rbp]
	lea	rax, -17[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	movzx	eax, BYTE PTR -17[rbp]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rcx, QWORD PTR -16[rbp]
	movabs	rdx, -3689348814741910323
	mov	rax, rcx
	mul	rdx
	shr	rdx, 3
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	sub	rcx, rax
	mov	rdx, rcx
	test	rdx, rdx
	jne	.L24
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 1
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
.L24:
	add	QWORD PTR -16[rbp], 1
.L23:
	mov	rax, QWORD PTR -16[rbp]
	cmp	rax, QWORD PTR -48[rbp]
	jbe	.L25
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L26
	call	__stack_chk_fail@PLT
.L26:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	printHex, .-printHex
	.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	"822870.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Usage: bytedump [filename] [--option]\012\011Option"
	.ascii	"s:\012\011\011--bin = print bytes in binary\012\011"
	.ascii	"\011--dec = print bytes in decimal\012\011\011--hex"
	.ascii	" = print bytes in hexadecimal\000"
	.align	2
.LC1:
	.ascii	"rb\000"
	.align	2
.LC2:
	.ascii	"Error opening the file. Does it exist?\000"
	.align	2
.LC3:
	.ascii	"--bin\000"
	.align	2
.LC4:
	.ascii	"--dec\000"
	.align	2
.LC5:
	.ascii	"--hex\000"
	.align	2
.LC6:
	.ascii	"Incorrect usage. Third argument should either be --"
	.ascii	"bin, --hex or --dec.\000"
	.align	2
.LC7:
	.ascii	"\012Total filesize: %d byte(s)\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-24]
	cmp	r3, #3
	beq	.L2
	ldr	r0, .L10+4
	bl	puts
	mvn	r0, #0
	bl	exit
.L2:
	ldr	r3, [fp, #-28]
	add	r3, r3, #4
	ldr	r1, [r3]
	sub	r3, fp, #16
	ldr	r2, .L10+8
	mov	r0, r3
	bl	fopen_s
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L3
	ldr	r0, .L10+12
	bl	puts
	mvn	r0, #49
	bl	exit
.L3:
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	mov	r2, #2
	mov	r1, #0
	mov	r0, r3
	bl	fseek
	ldr	r3, [fp, #-16]
	mov	r0, r3
	bl	ftell
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	fseek
	ldr	r3, [fp, #-28]
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r1, .L10+16
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L4
	ldr	r3, [fp, #-16]
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	printBinary
	b	.L5
.L4:
	ldr	r3, [fp, #-28]
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r1, .L10+20
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L6
	ldr	r3, [fp, #-16]
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	printDecimal
	b	.L5
.L6:
	ldr	r3, [fp, #-28]
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r1, .L10+24
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L7
	ldr	r3, [fp, #-16]
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	printHex
	b	.L5
.L7:
	ldr	r0, .L10+28
	bl	puts
	mvn	r0, #50
	bl	exit
.L5:
	ldr	r1, [fp, #-12]
	ldr	r0, .L10+32
	bl	printf
	mov	r3, #0
	ldr	r2, .L10
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L9
	bl	__stack_chk_fail
.L9:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC8
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	main, .-main
	.section	.rodata
	.align	2
.LC9:
	.ascii	"1+:\011\000"
	.align	2
.LC10:
	.ascii	"%s   \000"
	.align	2
.LC11:
	.ascii	"\012%d+:\011\000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	printBinary
	.syntax unified
	.arm
	.fpu softvfp
	.type	printBinary, %function
printBinary:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	strb	r3, [fp, #-29]
	ldr	r0, .L19+4
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-28]
	b	.L13
.L17:
	sub	r0, fp, #29
	ldr	r3, [fp, #-40]
	mov	r2, #1
	mov	r1, #1
	bl	fread
	ldrb	r3, [fp, #-29]	@ zero_extendqisi2
	mov	r0, r3
	sub	r3, fp, #20
	mov	r2, #2
	mov	r1, r3
	bl	_itoa_s
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L14
.L15:
	mov	r0, #48
	bl	putchar
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L14:
	sub	r3, fp, #20
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	rsb	r3, r3, #8
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bcc	.L15
	sub	r3, fp, #20
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L19+8
	bl	printf
	ldr	r1, [fp, #-28]
	ldr	r3, .L19+12
	umull	r2, r3, r1, r3
	lsr	r2, r3, #3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, r1, r3
	cmp	r2, #0
	bne	.L16
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L19+16
	bl	printf
.L16:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L13:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	bls	.L17
	nop
	ldr	r3, .L19
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L18
	bl	__stack_chk_fail
.L18:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC12
	.word	.LC9
	.word	.LC10
	.word	-858993459
	.word	.LC11
	.size	printBinary, .-printBinary
	.section	.rodata
	.align	2
.LC13:
	.ascii	"1+:\011\011\000"
	.align	2
.LC14:
	.ascii	"%d\011\000"
	.align	2
.LC15:
	.ascii	"\012%d+:\011\011\000"
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	printDecimal
	.syntax unified
	.arm
	.fpu softvfp
	.type	printDecimal, %function
printDecimal:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, .L26
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	strb	r3, [fp, #-13]
	ldr	r0, .L26+4
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L22
.L24:
	sub	r0, fp, #13
	ldr	r3, [fp, #-24]
	mov	r2, #1
	mov	r1, #1
	bl	fread
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L26+8
	bl	printf
	ldr	r1, [fp, #-12]
	ldr	r3, .L26+12
	umull	r2, r3, r1, r3
	lsr	r2, r3, #3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, r1, r3
	cmp	r2, #0
	bne	.L23
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L26+16
	bl	printf
.L23:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L22:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	bls	.L24
	nop
	ldr	r3, .L26
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L25
	bl	__stack_chk_fail
.L25:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L27:
	.align	2
.L26:
	.word	.LC16
	.word	.LC13
	.word	.LC14
	.word	-858993459
	.word	.LC15
	.size	printDecimal, .-printDecimal
	.section	.rodata
	.align	2
.LC17:
	.ascii	"%02X\011\000"
	.align	2
.LC18:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	printHex
	.syntax unified
	.arm
	.fpu softvfp
	.type	printHex, %function
printHex:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, .L33
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	strb	r3, [fp, #-13]
	ldr	r0, .L33+4
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L29
.L31:
	sub	r0, fp, #13
	ldr	r3, [fp, #-24]
	mov	r2, #1
	mov	r1, #1
	bl	fread
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L33+8
	bl	printf
	ldr	r1, [fp, #-12]
	ldr	r3, .L33+12
	umull	r2, r3, r1, r3
	lsr	r2, r3, #3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, r1, r3
	cmp	r2, #0
	bne	.L30
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L33+16
	bl	printf
.L30:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L29:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	bls	.L31
	nop
	ldr	r3, .L33
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L32
	bl	__stack_chk_fail
.L32:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L34:
	.align	2
.L33:
	.word	.LC18
	.word	.LC13
	.word	.LC17
	.word	-858993459
	.word	.LC15
	.size	printHex, .-printHex
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
