	.file	"153268030.c"
	.intel_syntax noprefix
	.text
	.globl	field
	.bss
	.align 32
	.type	field, @object
	.size	field, 337
field:
	.zero	337
	.section	.rodata
.LC0:
	.string	"%d"
	.text
	.globl	settings
	.type	settings, @function
settings:
.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, 32
	mov	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	QWORD PTR -24[rbp], rdx
	mov	eax, DWORD PTR -12[rbp]
	mov	edx, eax
	lea	rsi, .LC0[rip]
	lea	rdi, field[rip+116]
	mov	eax, 0
	call	sprintf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, field[rip]
	call	strcpy@PLT
	mov	BYTE PTR field[rip+100], 0
	mov	BYTE PTR field[rip+108], 0
	mov	BYTE PTR field[rip+128], 0
	mov	BYTE PTR field[rip+140], 0
	mov	BYTE PTR field[rip+149], 0
	mov	BYTE PTR field[rip+249], 0
	mov	BYTE PTR field[rip+257], 0
	mov	BYTE PTR field[rip+289], 0
	mov	BYTE PTR field[rip+321], 0
	mov	BYTE PTR field[rip+329], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, rax
	lea	rax, field[rip]
	mov	ecx, 337
	mov	rsi, QWORD PTR [rax]
	mov	QWORD PTR [rdx], rsi
	mov	esi, ecx
	add	rsi, rdx
	lea	rdi, 8[rsi]
	mov	esi, ecx
	add	rsi, rax
	add	rsi, 8
	mov	rsi, QWORD PTR -16[rsi]
	mov	QWORD PTR -16[rdi], rsi
	lea	rdi, 8[rdx]
	and	rdi, -8
	sub	rdx, rdi
	sub	rax, rdx
	add	ecx, edx
	and	ecx, -8
	shr	ecx, 3
	mov	edx, ecx
	mov	edx, edx
	mov	rsi, rax
	mov	rcx, rdx
	rep movsq
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	settings, .-settings
	.globl	fileSize
	.type	fileSize, @function
fileSize:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	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	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	fileSize, .-fileSize
	.section	.rodata
.LC1:
	.string	"Filesize: %s\n"
	.text
	.globl	append
	.type	append, @function
append:
.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 48
	mov	QWORD PTR -4136[rbp], rdi
	mov	QWORD PTR -4144[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -4136[rbp]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 337
	lea	rdi, 16[rbp]
	call	fwrite@PLT
	lea	rax, 132[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L6
.L7:
	mov	rdx, QWORD PTR -4144[rbp]
	lea	rax, -4112[rbp]
	mov	rcx, rdx
	mov	edx, 4096
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	QWORD PTR -4120[rbp], rax
	cmp	QWORD PTR -4120[rbp], 0
	je	.L6
	mov	rcx, QWORD PTR -4136[rbp]
	mov	rdx, QWORD PTR -4120[rbp]
	lea	rax, -4112[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
.L6:
	mov	rax, QWORD PTR -4144[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L7
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	append, .-append
	.section	.rodata
.LC2:
	.string	"r"
.LC3:
	.string	"Error!"
.LC4:
	.string	"Filename: %s\nFilesize: %s\n"
	.text
	.globl	reads
	.type	reads, @function
reads:
.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, 384
	mov	QWORD PTR -376[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -376[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -360[rbp], rax
	cmp	QWORD PTR -360[rbp], 0
	jne	.L12
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L9
.L13:
	lea	rax, -352[rbp]
	lea	rdx, 116[rax]
	lea	rax, -352[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -352[rbp]
	add	rax, 116
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -364[rbp], eax
	mov	eax, DWORD PTR -364[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -360[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
.L12:
	mov	rdx, QWORD PTR -360[rbp]
	lea	rax, -352[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 337
	mov	rdi, rax
	call	fread@PLT
	test	rax, rax
	jne	.L13
	mov	rax, QWORD PTR -360[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L9:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	reads, .-reads
	.section	.rodata
.LC5:
	.string	"Output file: %s\n"
.LC6:
	.string	"wb"
.LC7:
	.string	"Input file: %s\n"
.LC8:
	.string	"Command line opts:"
	.align 8
.LC9:
	.string	"-r <filename> : Reads struct headers from file"
	.align 8
.LC10:
	.string	"-f <output file> <filename> ... : Tars files into output file"
.LC11:
	.string	"-h : Prints the above info"
.LC12:
	.string	":if:lrx"
.LC13:
	.string	"File can't be opened!"
.LC14:
	.string	"Input file %d: %s\n"
.LC15:
	.string	"rb"
	.text
	.globl	main
	.type	main, @function
main:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 416
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -44[rbp], 1
	jmp	.L16
.L21:
	cmp	DWORD PTR -40[rbp], 102
	je	.L17
	cmp	DWORD PTR -40[rbp], 114
	je	.L18
	jmp	.L29
.L17:
	mov	rax, QWORD PTR optarg[rip]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR optarg[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -24[rbp], rax
	jmp	.L16
.L18:
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	reads
	mov	eax, 0
	jmp	.L20
.L29:
	lea	rdi, .LC8[rip]
	call	puts@PLT
	lea	rdi, .LC9[rip]
	call	puts@PLT
	lea	rdi, .LC10[rip]
	call	puts@PLT
	lea	rdi, .LC11[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L20
.L16:
	mov	rcx, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR -52[rbp]
	lea	rdx, .LC12[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	getopt@PLT
	mov	DWORD PTR -40[rbp], eax
	cmp	DWORD PTR -40[rbp], -1
	jne	.L21
	cmp	QWORD PTR -24[rbp], 0
	jne	.L23
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L20
.L27:
	mov	eax, DWORD PTR optind[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -44[rbp]
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR optind[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	cmp	QWORD PTR -32[rbp], rax
	je	.L30
	mov	eax, DWORD PTR optind[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -32[rbp], rax
	mov	eax, DWORD PTR optind[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L26
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L20
.L26:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fileSize
	mov	DWORD PTR -36[rbp], eax
	mov	eax, DWORD PTR optind[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	lea	rax, -416[rbp]
	mov	ecx, DWORD PTR -36[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	settings
	lea	rdx, field[rip]
	lea	rax, -416[rbp]
	mov	ecx, 42
	mov	rdi, rdx
	mov	rsi, rax
	rep movsq
	mov	rax, rsi
	mov	rdx, rdi
	movzx	ecx, BYTE PTR [rax]
	mov	BYTE PTR [rdx], cl
	mov	r9, QWORD PTR -16[rbp]
	mov	r8, QWORD PTR -24[rbp]
	sub	rsp, 8
	sub	rsp, 344
	mov	rax, rsp
	mov	rdx, rax
	lea	rax, field[rip]
	mov	ecx, 42
	mov	rdi, rdx
	mov	rsi, rax
	rep movsq
	mov	rax, rsi
	mov	rdx, rdi
	movzx	ecx, BYTE PTR [rax]
	mov	BYTE PTR [rdx], cl
	mov	rsi, r9
	mov	rdi, r8
	call	append
	add	rsp, 352
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	add	DWORD PTR -44[rbp], 1
	jmp	.L25
.L30:
	nop
.L25:
	mov	eax, DWORD PTR optind[rip]
	add	eax, 1
	mov	DWORD PTR optind[rip], eax
.L23:
	mov	eax, DWORD PTR optind[rip]
	cmp	DWORD PTR -52[rbp], eax
	jg	.L27
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
.L20:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L28
	call	__stack_chk_fail@PLT
.L28:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.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	"153268030.c"
	.text
	.comm	field,337,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\000"
	.text
	.align	2
	.global	settings
	.syntax unified
	.arm
	.fpu softvfp
	.type	settings, %function
settings:
	@ 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, #-12]
	ldr	r1, .L3
	ldr	r0, .L3+4
	bl	sprintf
	ldr	r1, [fp, #-16]
	ldr	r0, .L3+8
	bl	strcpy
	ldr	r3, .L3+8
	mov	r2, #0
	strb	r2, [r3, #100]
	ldr	r3, .L3+8
	mov	r2, #0
	strb	r2, [r3, #108]
	ldr	r3, .L3+8
	mov	r2, #0
	strb	r2, [r3, #128]
	ldr	r3, .L3+8
	mov	r2, #0
	strb	r2, [r3, #140]
	ldr	r3, .L3+8
	mov	r2, #0
	strb	r2, [r3, #149]
	ldr	r3, .L3+8
	mov	r2, #0
	strb	r2, [r3, #249]
	ldr	r3, .L3+8
	mov	r2, #0
	strb	r2, [r3, #257]
	ldr	r3, .L3+8
	mov	r2, #0
	strb	r2, [r3, #289]
	ldr	r3, .L3+8
	mov	r2, #0
	strb	r2, [r3, #321]
	ldr	r3, .L3+8
	mov	r2, #0
	strb	r2, [r3, #329]
	ldr	r3, [fp, #-8]
	ldr	r2, .L3+8
	mov	r0, r3
	mov	r1, r2
	ldr	r3, .L3+12
	mov	r2, r3
	bl	memcpy
	ldr	r0, [fp, #-8]
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	.LC0
	.word	field+116
	.word	field
	.word	337
	.size	settings, .-settings
	.align	2
	.global	fileSize
	.syntax unified
	.arm
	.fpu softvfp
	.type	fileSize, %function
fileSize:
	@ 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, #-16]
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [fp, #-16]
	bl	fseek
	ldr	r0, [fp, #-16]
	bl	ftell
	str	r0, [fp, #-8]
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-16]
	bl	fseek
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	fileSize, .-fileSize
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Filesize: %s\012\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	append
	.syntax unified
	.arm
	.fpu softvfp
	.type	append, %function
append:
	@ args = 340, pretend = 8, frame = 4112
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #8
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #4096
	sub	sp, sp, #20
	sub	ip, fp, #4096
	sub	ip, ip, #12
	str	r0, [ip, #-12]
	sub	r0, fp, #4096
	sub	r0, r0, #12
	str	r1, [r0, #-16]
	add	r1, fp, #4
	stm	r1, {r2, r3}
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	mov	r2, #1
	ldr	r1, .L11+4
	add	r0, fp, #4
	bl	fwrite
	add	r3, fp, #120
	mov	r1, r3
	ldr	r0, .L11+8
	bl	printf
	b	.L8
.L9:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r0, fp, #4096
	sub	r0, r0, #12
	sub	r0, r0, #4
	ldr	r3, [r3, #-16]
	mov	r2, #4096
	mov	r1, #1
	bl	fread
	str	r0, [r4, #-8]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	cmp	r3, #0
	beq	.L8
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r2, fp, #4096
	sub	r2, r2, #12
	sub	r0, fp, #4096
	sub	r0, r0, #12
	sub	r0, r0, #4
	ldr	r3, [r3, #-12]
	ldr	r2, [r2, #-8]
	mov	r1, #1
	bl	fwrite
.L8:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-16]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L9
	nop
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L10
	bl	__stack_chk_fail
.L10:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, lr}
	add	sp, sp, #8
	bx	lr
.L12:
	.align	2
.L11:
	.word	.LC2
	.word	337
	.word	.LC1
	.size	append, .-append
	.section	.rodata
	.align	2
.LC3:
	.ascii	"r\000"
	.align	2
.LC4:
	.ascii	"Error!\000"
	.align	2
.LC5:
	.ascii	"Filename: %s\012Filesize: %s\012\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	reads
	.syntax unified
	.arm
	.fpu softvfp
	.type	reads, %function
reads:
	@ args = 0, pretend = 0, frame = 360
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #360
	str	r0, [fp, #-360]
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L19+4
	ldr	r0, [fp, #-360]
	bl	fopen
	str	r0, [fp, #-356]
	ldr	r3, [fp, #-356]
	cmp	r3, #0
	bne	.L16
	ldr	r0, .L19+8
	bl	printf
	b	.L13
.L17:
	sub	r3, fp, #348
	add	r2, r3, #116
	sub	r3, fp, #348
	mov	r1, r3
	ldr	r0, .L19+12
	bl	printf
	sub	r3, fp, #348
	add	r3, r3, #116
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-352]
	mov	r2, #1
	ldr	r1, [fp, #-352]
	ldr	r0, [fp, #-356]
	bl	fseek
.L16:
	sub	r0, fp, #348
	ldr	r3, [fp, #-356]
	mov	r2, #1
	ldr	r1, .L19+16
	bl	fread
	mov	r3, r0
	cmp	r3, #0
	bne	.L17
	ldr	r0, [fp, #-356]
	bl	fclose
.L13:
	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	.LC6
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	337
	.size	reads, .-reads
	.section	.rodata
	.align	2
.LC7:
	.ascii	"Output file: %s\012\000"
	.align	2
.LC8:
	.ascii	"wb\000"
	.align	2
.LC9:
	.ascii	"Input file: %s\012\000"
	.align	2
.LC10:
	.ascii	"Command line opts:\000"
	.align	2
.LC11:
	.ascii	"-r <filename> : Reads struct headers from file\000"
	.align	2
.LC12:
	.ascii	"-f <output file> <filename> ... : Tars files into o"
	.ascii	"utput file\000"
	.align	2
.LC13:
	.ascii	"-h : Prints the above info\000"
	.align	2
.LC14:
	.ascii	":if:lrx\000"
	.align	2
.LC15:
	.ascii	"File can't be opened!\000"
	.align	2
.LC16:
	.ascii	"Input file %d: %s\012\000"
	.align	2
.LC17:
	.ascii	"rb\000"
	.align	2
.LC18:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 384
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #720
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	ldr	r3, .L37
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #1
	str	r3, [fp, #-40]
	b	.L22
.L27:
	ldr	r3, [fp, #-28]
	cmp	r3, #102
	beq	.L23
	ldr	r3, [fp, #-28]
	cmp	r3, #114
	beq	.L24
	b	.L35
.L23:
	ldr	r3, .L37+4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L37+8
	bl	printf
	ldr	r3, .L37+4
	ldr	r3, [r3]
	ldr	r1, .L37+12
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-32]
	b	.L22
.L24:
	ldr	r3, [fp, #-52]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L37+16
	bl	printf
	ldr	r3, [fp, #-52]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	reads
	mov	r3, #0
	b	.L26
.L35:
	ldr	r0, .L37+20
	bl	puts
	ldr	r0, .L37+24
	bl	puts
	ldr	r0, .L37+28
	bl	puts
	ldr	r0, .L37+32
	bl	puts
	mov	r3, #0
	b	.L26
.L22:
	ldr	r2, .L37+36
	ldr	r1, [fp, #-52]
	ldr	r0, [fp, #-48]
	bl	getopt
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmn	r3, #1
	bne	.L27
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L29
	ldr	r0, .L37+40
	bl	printf
	mov	r3, #1
	b	.L26
.L33:
	ldr	r3, .L37+44
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, [fp, #-40]
	ldr	r0, .L37+48
	bl	printf
	ldr	r3, .L37+44
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	beq	.L36
	ldr	r3, .L37+44
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-36]
	ldr	r3, .L37+44
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L37+52
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L32
	ldr	r0, .L37+40
	bl	printf
	mov	r3, #1
	b	.L26
.L32:
	ldr	r0, [fp, #-24]
	bl	fileSize
	str	r0, [fp, #-20]
	ldr	r3, .L37+44
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r4, .L37+56
	sub	r3, fp, #396
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	settings
	mov	r0, r4
	sub	r3, fp, #396
	ldr	r2, .L37+60
	mov	r1, r3
	bl	memcpy
	ldr	r3, .L37+56
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldrb	r1, [r3, #1]	@ zero_extendqisi2
	lsl	r1, r1, #8
	orr	r2, r1, r2
	ldrb	r1, [r3, #2]	@ zero_extendqisi2
	lsl	r1, r1, #16
	orr	r2, r1, r2
	ldrb	r1, [r3, #3]	@ zero_extendqisi2
	lsl	r1, r1, #24
	orr	r2, r1, r2
	mov	r5, #0
	mov	r5, r2
	ldrb	r2, [r3, #4]	@ zero_extendqisi2
	ldrb	r1, [r3, #5]	@ zero_extendqisi2
	lsl	r1, r1, #8
	orr	r2, r1, r2
	ldrb	r1, [r3, #6]	@ zero_extendqisi2
	lsl	r1, r1, #16
	orr	r2, r1, r2
	ldrb	r1, [r3, #7]	@ zero_extendqisi2
	lsl	r1, r1, #24
	orr	r2, r1, r2
	mov	r4, #0
	mov	r4, r2
	mov	r0, sp
	add	r3, r3, #8
	ldr	r2, .L37+64
	mov	r1, r3
	bl	memcpy
	mov	r2, r5
	mov	r3, r4
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-32]
	bl	append
	ldr	r0, [fp, #-24]
	bl	fclose
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
	b	.L31
.L36:
	nop
.L31:
	ldr	r3, .L37+44
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L37+44
	str	r3, [r2]
.L29:
	ldr	r3, .L37+44
	ldr	r3, [r3]
	ldr	r2, [fp, #-48]
	cmp	r2, r3
	bgt	.L33
	ldr	r0, [fp, #-32]
	bl	fclose
	mov	r3, #0
.L26:
	ldr	r2, .L37
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L34
	bl	__stack_chk_fail
.L34:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L38:
	.align	2
.L37:
	.word	.LC18
	.word	optarg
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	optind
	.word	.LC16
	.word	.LC17
	.word	field
	.word	337
	.word	329
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
