	.file	"200143973.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Usage: %s [options] <filePath>\n"
	.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, 96
	mov	DWORD PTR -84[rbp], edi
	mov	QWORD PTR -96[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -48[rbp], 0
	mov	DWORD PTR -40[rbp], 16
	mov	QWORD PTR -32[rbp], 0
	mov	DWORD PTR -24[rbp], 1
	mov	DWORD PTR -20[rbp], 0
	cmp	DWORD PTR -84[rbp], 1
	jg	.L2
	mov	rax, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	jmp	.L10
.L2:
	mov	DWORD PTR -72[rbp], 1
	jmp	.L4
.L9:
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L5
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	rax, 1
	mov	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	esi, 61
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -64[rbp], rax
	cmp	QWORD PTR -64[rbp], 0
	je	.L6
	mov	rax, QWORD PTR -64[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -64[rbp], rdx
	mov	BYTE PTR [rax], 0
.L6:
	mov	rdx, QWORD PTR -64[rbp]
	mov	rcx, QWORD PTR -56[rbp]
	lea	rax, -48[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	process_option
	mov	DWORD PTR -68[rbp], eax
	cmp	DWORD PTR -68[rbp], 0
	je	.L7
	jmp	.L8
.L5:
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -48[rbp], rax
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	file_output_hex
	jmp	.L8
.L7:
	add	DWORD PTR -72[rbp], 1
.L4:
	mov	eax, DWORD PTR -72[rbp]
	cmp	eax, DWORD PTR -84[rbp]
	jl	.L9
.L8:
	mov	eax, 0
.L10:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC1:
	.string	"?"
.LC2:
	.string	"filehex v.0.1.3.alpha"
	.align 8
.LC3:
	.string	"(c) 2018 Patrick Goldinger. All rights reserved.\n"
	.align 8
.LC4:
	.string	"usage: filehex [options] <filePath>"
	.align 8
.LC5:
	.string	"e.g. : filehex -n=512 /home/user/test.txt\n"
.LC6:
	.string	"  ?     shows this help."
	.align 8
.LC7:
	.string	"  n=    maximal length of read bytes."
	.align 8
.LC8:
	.string	"  o=    show(1) / hide(0) offset (Default is 1)."
	.align 8
.LC9:
	.string	"  z=    bytes displayed per line."
.LC10:
	.string	"n"
.LC11:
	.string	"%ld"
	.align 8
.LC12:
	.string	"The argument value given for parameter 'n' is invalid.\n"
.LC13:
	.string	"o"
	.align 8
.LC14:
	.string	"The argument value given for parameter 'o' is invalid.\n"
.LC15:
	.string	"z"
	.align 8
.LC16:
	.string	"The argument value given for parameter 'z' is invalid.\n"
.LC17:
	.string	"e"
	.text
	.globl	process_option
	.type	process_option, @function
process_option:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L13
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rdi, .LC8[rip]
	call	puts@PLT
	lea	rdi, .LC9[rip]
	call	puts@PLT
	jmp	.L14
.L13:
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L15
	lea	rdx, -16[rbp]
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	rax, QWORD PTR -16[rbp]
	test	rax, rax
	jns	.L16
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 55
	mov	esi, 1
	lea	rdi, .LC12[rip]
	call	fwrite@PLT
	mov	eax, -1
	jmp	.L23
.L16:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 16[rax], rdx
	jmp	.L14
.L15:
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L18
	lea	rdx, -16[rbp]
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	rax, QWORD PTR -16[rbp]
	test	rax, rax
	js	.L19
	mov	rax, QWORD PTR -16[rbp]
	cmp	rax, 1
	jle	.L20
.L19:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 55
	mov	esi, 1
	lea	rdi, .LC14[rip]
	call	fwrite@PLT
	mov	eax, -1
	jmp	.L23
.L20:
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 24[rax], edx
	jmp	.L14
.L18:
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L21
	lea	rdx, -16[rbp]
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	rax, QWORD PTR -16[rbp]
	test	rax, rax
	jg	.L22
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 55
	mov	esi, 1
	lea	rdi, .LC16[rip]
	call	fwrite@PLT
	mov	eax, -1
	jmp	.L23
.L22:
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 8[rax], edx
	jmp	.L14
.L21:
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L14
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 28[rax], 1
.L14:
	mov	eax, 0
.L23:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	process_option, .-process_option
	.section	.rodata
	.align 8
.LC18:
	.string	"Edit mode currently not supported!"
	.align 8
.LC19:
	.string	"Something went wrong while allocating the buffer...\n"
.LC20:
	.string	"rb"
.LC21:
	.string	"'%s': %s\n"
.LC22:
	.string	"%08x  "
.LC23:
	.string	"%02x "
.LC24:
	.string	"   "
	.text
	.globl	file_output_hex
	.type	file_output_hex, @function
file_output_hex:
.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	QWORD PTR -56[rbp], rdi
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 28[rax]
	cmp	eax, 1
	jne	.L26
	lea	rdi, .LC18[rip]
	call	puts@PLT
.L26:
	mov	DWORD PTR -40[rbp], 0
	mov	DWORD PTR -36[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	eax, eax
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L27
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 52
	mov	esi, 1
	lea	rdi, .LC19[rip]
	call	fwrite@PLT
	mov	eax, -1
	jmp	.L28
.L27:
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L30
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	jmp	.L28
.L48:
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	je	.L31
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	edx, DWORD PTR -40[rbp]
	sub	rax, rdx
	mov	rdx, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR 8[rdx]
	mov	edx, edx
	cmp	rax, rdx
	cmova	rax, rdx
	mov	QWORD PTR -32[rbp], rax
	jmp	.L32
.L31:
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	eax, eax
	mov	QWORD PTR -32[rbp], rax
.L32:
	mov	rcx, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	je	.L49
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 24[rax]
	cmp	eax, 1
	jne	.L35
	mov	eax, DWORD PTR -40[rbp]
	mov	esi, eax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
.L35:
	mov	DWORD PTR -48[rbp], 0
	jmp	.L36
.L40:
	mov	edx, DWORD PTR -48[rbp]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	ecx, DWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	mov	edx, DWORD PTR -48[rbp]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -48[rbp]
	add	eax, 1
	mov	eax, eax
	cmp	QWORD PTR -24[rbp], rax
	jne	.L37
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	eax, eax
	cmp	QWORD PTR -24[rbp], rax
	jnb	.L37
	mov	DWORD PTR -36[rbp], 1
	mov	eax, DWORD PTR -48[rbp]
	add	eax, 1
	mov	DWORD PTR -44[rbp], eax
	jmp	.L38
.L39:
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -44[rbp], 1
.L38:
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	DWORD PTR -44[rbp], eax
	jb	.L39
.L37:
	add	DWORD PTR -48[rbp], 1
.L36:
	mov	eax, DWORD PTR -48[rbp]
	cmp	QWORD PTR -24[rbp], rax
	ja	.L40
	mov	edi, 32
	call	putchar@PLT
	mov	DWORD PTR -48[rbp], 0
	jmp	.L41
.L47:
	mov	edx, DWORD PTR -48[rbp]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 31
	jbe	.L42
	mov	edx, DWORD PTR -48[rbp]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	jmp	.L43
.L42:
	mov	eax, 46
.L43:
	mov	edi, eax
	call	putchar@PLT
	mov	eax, DWORD PTR -48[rbp]
	add	eax, 1
	mov	eax, eax
	cmp	QWORD PTR -24[rbp], rax
	jne	.L44
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	eax, eax
	cmp	QWORD PTR -24[rbp], rax
	jnb	.L44
	mov	DWORD PTR -36[rbp], 1
	mov	eax, DWORD PTR -48[rbp]
	add	eax, 1
	mov	DWORD PTR -44[rbp], eax
	jmp	.L45
.L46:
	mov	edi, 32
	call	putchar@PLT
	add	DWORD PTR -44[rbp], 1
.L45:
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	DWORD PTR -44[rbp], eax
	jb	.L46
.L44:
	add	DWORD PTR -48[rbp], 1
.L41:
	mov	eax, DWORD PTR -48[rbp]
	cmp	QWORD PTR -24[rbp], rax
	ja	.L47
	mov	rax, QWORD PTR -24[rbp]
	add	DWORD PTR -40[rbp], eax
	mov	edi, 10
	call	putchar@PLT
.L30:
	cmp	DWORD PTR -36[rbp], 0
	je	.L48
	jmp	.L34
.L49:
	nop
.L34:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
.L28:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	file_output_hex, .-file_output_hex
	.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	"200143973.c"
	.text
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Usage: %s [options] <filePath>\012\000"
	.align	2
.LC0:
	.word	0
	.word	16
	.word	0
	.word	1
	.word	0
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L12+4
	sub	ip, fp, #28
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldr	r3, [lr]
	str	r3, [ip]
	ldr	r3, [fp, #-48]
	cmp	r3, #1
	bgt	.L2
	ldr	r3, [fp, #-52]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L12+8
	bl	printf
	mov	r3, #0
	b	.L10
.L2:
	mov	r3, #1
	str	r3, [fp, #-44]
	b	.L4
.L9:
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L5
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #1
	str	r3, [fp, #-36]
	mov	r1, #61
	ldr	r0, [fp, #-36]
	bl	strchr
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	beq	.L6
	ldr	r3, [fp, #-40]
	add	r2, r3, #1
	str	r2, [fp, #-40]
	mov	r2, #0
	strb	r2, [r3]
.L6:
	sub	r3, fp, #28
	ldr	r2, [fp, #-40]
	ldr	r1, [fp, #-36]
	mov	r0, r3
	bl	process_option
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L7
	b	.L8
.L5:
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-28]
	sub	r3, fp, #28
	mov	r0, r3
	bl	file_output_hex
	b	.L8
.L7:
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L4:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	blt	.L9
.L8:
	mov	r3, #0
.L10:
	ldr	r2, .L12
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.size	main, .-main
	.section	.rodata
	.align	2
.LC3:
	.ascii	"?\000"
	.align	2
.LC4:
	.ascii	"filehex v.0.1.3.alpha\000"
	.align	2
.LC5:
	.ascii	"(c) 2018 Patrick Goldinger. All rights reserved.\012"
	.ascii	"\000"
	.align	2
.LC6:
	.ascii	"usage: filehex [options] <filePath>\000"
	.align	2
.LC7:
	.ascii	"e.g. : filehex -n=512 /home/user/test.txt\012\000"
	.align	2
.LC8:
	.ascii	"  ?     shows this help.\000"
	.align	2
.LC9:
	.ascii	"  n=    maximal length of read bytes.\000"
	.align	2
.LC10:
	.ascii	"  o=    show(1) / hide(0) offset (Default is 1).\000"
	.align	2
.LC11:
	.ascii	"  z=    bytes displayed per line.\000"
	.align	2
.LC12:
	.ascii	"n\000"
	.align	2
.LC13:
	.ascii	"%ld\000"
	.align	2
.LC14:
	.ascii	"The argument value given for parameter 'n' is inval"
	.ascii	"id.\012\000"
	.align	2
.LC15:
	.ascii	"o\000"
	.align	2
.LC16:
	.ascii	"The argument value given for parameter 'o' is inval"
	.ascii	"id.\012\000"
	.align	2
.LC17:
	.ascii	"z\000"
	.align	2
.LC18:
	.ascii	"The argument value given for parameter 'z' is inval"
	.ascii	"id.\012\000"
	.align	2
.LC19:
	.ascii	"e\000"
	.align	2
.LC20:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	process_option
	.syntax unified
	.arm
	.fpu softvfp
	.type	process_option, %function
process_option:
	@ 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, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, .L27
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L27+4
	ldr	r0, [fp, #-20]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L15
	ldr	r0, .L27+8
	bl	puts
	ldr	r0, .L27+12
	bl	puts
	ldr	r0, .L27+16
	bl	puts
	ldr	r0, .L27+20
	bl	puts
	ldr	r0, .L27+24
	bl	puts
	ldr	r0, .L27+28
	bl	puts
	ldr	r0, .L27+32
	bl	puts
	ldr	r0, .L27+36
	bl	puts
	b	.L16
.L15:
	ldr	r1, .L27+40
	ldr	r0, [fp, #-20]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L17
	sub	r3, fp, #12
	mov	r2, r3
	ldr	r1, .L27+44
	ldr	r0, [fp, #-24]
	bl	__isoc99_sscanf
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bge	.L18
	ldr	r3, .L27+48
	ldr	r3, [r3]
	mov	r2, #55
	mov	r1, #1
	ldr	r0, .L27+52
	bl	fwrite
	mvn	r3, #0
	b	.L25
.L18:
	ldr	r3, [fp, #-12]
	mov	r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3, #8]
	b	.L16
.L17:
	ldr	r1, .L27+56
	ldr	r0, [fp, #-20]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L20
	sub	r3, fp, #12
	mov	r2, r3
	ldr	r1, .L27+44
	ldr	r0, [fp, #-24]
	bl	__isoc99_sscanf
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	blt	.L21
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	ble	.L22
.L21:
	ldr	r3, .L27+48
	ldr	r3, [r3]
	mov	r2, #55
	mov	r1, #1
	ldr	r0, .L27+60
	bl	fwrite
	mvn	r3, #0
	b	.L25
.L22:
	ldr	r3, [fp, #-12]
	mov	r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3, #12]
	b	.L16
.L20:
	ldr	r1, .L27+64
	ldr	r0, [fp, #-20]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L23
	sub	r3, fp, #12
	mov	r2, r3
	ldr	r1, .L27+44
	ldr	r0, [fp, #-24]
	bl	__isoc99_sscanf
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bgt	.L24
	ldr	r3, .L27+48
	ldr	r3, [r3]
	mov	r2, #55
	mov	r1, #1
	ldr	r0, .L27+68
	bl	fwrite
	mvn	r3, #0
	b	.L25
.L24:
	ldr	r3, [fp, #-12]
	mov	r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3, #4]
	b	.L16
.L23:
	ldr	r1, .L27+72
	ldr	r0, [fp, #-20]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L16
	ldr	r3, [fp, #-16]
	mov	r2, #1
	str	r2, [r3, #16]
.L16:
	mov	r3, #0
.L25:
	ldr	r2, .L27
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L26
	bl	__stack_chk_fail
.L26:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	.LC20
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	stderr
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.size	process_option, .-process_option
	.section	.rodata
	.align	2
.LC21:
	.ascii	"Edit mode currently not supported!\000"
	.align	2
.LC22:
	.ascii	"Something went wrong while allocating the buffer..."
	.ascii	"\012\000"
	.align	2
.LC23:
	.ascii	"rb\000"
	.align	2
.LC24:
	.ascii	"'%s': %s\012\000"
	.align	2
.LC25:
	.ascii	"%08x  \000"
	.align	2
.LC26:
	.ascii	"%02x \000"
	.align	2
.LC27:
	.ascii	"   \000"
	.text
	.align	2
	.global	file_output_hex
	.syntax unified
	.arm
	.fpu softvfp
	.type	file_output_hex, %function
file_output_hex:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #40
	str	r0, [fp, #-48]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #16]
	cmp	r3, #1
	bne	.L30
	ldr	r0, .L54
	bl	puts
.L30:
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L31
	ldr	r3, .L54+4
	ldr	r3, [r3]
	mov	r2, #52
	mov	r1, #1
	ldr	r0, .L54+8
	bl	fwrite
	mvn	r3, #0
	b	.L32
.L31:
	ldr	r3, [fp, #-48]
	ldr	r3, [r3]
	ldr	r1, .L54+12
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L34
	ldr	r3, .L54+4
	ldr	r4, [r3]
	ldr	r3, [fp, #-48]
	ldr	r5, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r5
	ldr	r1, .L54+16
	mov	r0, r4
	bl	fprintf
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	b	.L32
.L52:
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	beq	.L35
	ldr	r3, [fp, #-48]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-36]
	sub	r2, r2, r3
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	movcc	r3, r2
	movcs	r3, r3
	str	r3, [fp, #-28]
	b	.L36
.L35:
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-28]
.L36:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-28]
	mov	r1, #1
	ldr	r0, [fp, #-20]
	bl	fread
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L53
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #12]
	cmp	r3, #1
	bne	.L39
	ldr	r1, [fp, #-36]
	ldr	r0, .L54+20
	bl	printf
.L39:
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L40
.L44:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-44]
	add	r2, r2, r3
	ldr	r1, [fp, #-20]
	ldr	r3, [fp, #-44]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-44]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L54+24
	bl	printf
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bne	.L41
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bcs	.L41
	mov	r3, #1
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-40]
	b	.L42
.L43:
	ldr	r0, .L54+28
	bl	printf
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L42:
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	bcc	.L43
.L41:
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L40:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bcc	.L44
	mov	r0, #32
	bl	putchar
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L45
.L51:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-44]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #31
	bls	.L46
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-44]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	b	.L47
.L46:
	mov	r3, #46
.L47:
	mov	r0, r3
	bl	putchar
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bne	.L48
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bcs	.L48
	mov	r3, #1
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-40]
	b	.L49
.L50:
	mov	r0, #32
	bl	putchar
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L49:
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	bcc	.L50
.L48:
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L45:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bcc	.L51
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	str	r3, [fp, #-36]
	mov	r0, #10
	bl	putchar
.L34:
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L52
	b	.L38
.L53:
	nop
.L38:
	ldr	r0, [fp, #-20]
	bl	free
	ldr	r0, [fp, #-16]
	bl	fclose
	mov	r3, #0
.L32:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L55:
	.align	2
.L54:
	.word	.LC21
	.word	stderr
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.size	file_output_hex, .-file_output_hex
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
