	.file	"954129.c"
	.intel_syntax noprefix
	.text
	.globl	HashGen
	.type	HashGen, @function
HashGen:
.LFB6:
	.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	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	xor	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 8
	xor	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 2[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 16
	xor	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 3[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 24
	xor	DWORD PTR -8[rbp], eax
	add	DWORD PTR -4[rbp], 1
.L2:
	mov	eax, DWORD PTR -28[rbp]
	lea	edx, -4[rax]
	mov	eax, DWORD PTR -4[rbp]
	cmp	edx, eax
	ja	.L3
	mov	eax, DWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	HashGen, .-HashGen
	.section	.rodata
.LC0:
	.string	"wb"
.LC1:
	.string	"Cannot create %s!\n"
.LC2:
	.string	"No files specified to pack!"
.LC3:
	.string	"rb"
.LC4:
	.string	"Cannot open %s!\n"
.LC5:
	.string	"%s\t\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 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
	cmp	DWORD PTR -84[rbp], 2
	jg	.L6
	mov	eax, -1
	jmp	.L17
.L6:
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -56[rbp], rax
	cmp	QWORD PTR -56[rbp], 0
	jne	.L8
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L17
.L8:
	mov	eax, DWORD PTR -84[rbp]
	sub	eax, 2
	mov	DWORD PTR -80[rbp], eax
	mov	eax, DWORD PTR -80[rbp]
	test	eax, eax
	jne	.L9
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L9:
	mov	rdx, QWORD PTR -56[rbp]
	lea	rax, -80[rbp]
	mov	rcx, rdx
	mov	edx, 4
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	DWORD PTR -76[rbp], 0
	jmp	.L10
.L11:
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	fputc@PLT
	add	DWORD PTR -76[rbp], 1
.L10:
	cmp	DWORD PTR -76[rbp], 11
	jle	.L11
	mov	DWORD PTR -72[rbp], 0
	jmp	.L12
.L13:
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	fputc@PLT
	add	DWORD PTR -72[rbp], 1
.L12:
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	mov	edx, DWORD PTR -80[rbp]
	movsx	rdx, edx
	sal	rdx, 4
	cmp	rax, rdx
	jb	.L13
	mov	DWORD PTR -68[rbp], 0
	jmp	.L14
.L16:
	mov	eax, DWORD PTR -68[rbp]
	add	eax, 1
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -48[rbp], rax
	cmp	QWORD PTR -48[rbp], 0
	jne	.L15
	mov	eax, DWORD PTR -68[rbp]
	add	eax, 1
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L17
.L15:
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	DWORD PTR -64[rbp], eax
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	rewind@PLT
	mov	eax, DWORD PTR -64[rbp]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -40[rbp], rax
	mov	edx, DWORD PTR -64[rbp]
	mov	rcx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	DWORD PTR -60[rbp], eax
	mov	edx, DWORD PTR -64[rbp]
	mov	rcx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	eax, DWORD PTR -64[rbp]
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -60[rbp]
	mov	DWORD PTR -32[rbp], eax
	mov	edx, DWORD PTR -64[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	HashGen
	mov	DWORD PTR -24[rbp], eax
	mov	DWORD PTR -20[rbp], 0
	mov	eax, DWORD PTR -68[rbp]
	add	eax, 1
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	add	rax, 1
	sal	rax, 4
	mov	rcx, rax
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -56[rbp]
	lea	rax, -32[rbp]
	mov	rcx, rdx
	mov	edx, 16
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	free@PLT
	add	DWORD PTR -68[rbp], 1
.L14:
	mov	eax, DWORD PTR -80[rbp]
	cmp	DWORD PTR -68[rbp], eax
	jl	.L16
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
.L17:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"954129.c"
	.text
	.align	2
	.global	HashGen
	.syntax unified
	.arm
	.fpu softvfp
	.type	HashGen, %function
HashGen:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L2
.L3:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-12]
	eor	r3, r3, r2
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #8
	mov	r2, r3
	ldr	r3, [fp, #-12]
	eor	r3, r3, r2
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-8]
	add	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #16
	mov	r2, r3
	ldr	r3, [fp, #-12]
	eor	r3, r3, r2
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-8]
	add	r3, r3, #3
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #24
	mov	r2, r3
	ldr	r3, [fp, #-12]
	eor	r3, r3, r2
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r3, [fp, #-20]
	sub	r2, r3, #4
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	bhi	.L3
	ldr	r3, [fp, #-12]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	HashGen, .-HashGen
	.section	.rodata
	.align	2
.LC0:
	.ascii	"wb\000"
	.align	2
.LC1:
	.ascii	"Cannot create %s!\012\000"
	.align	2
.LC2:
	.ascii	"No files specified to pack!\000"
	.align	2
.LC3:
	.ascii	"rb\000"
	.align	2
.LC4:
	.ascii	"Cannot open %s!\012\000"
	.align	2
.LC5:
	.ascii	"%s\011\012\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-64]
	cmp	r3, #2
	bgt	.L6
	mvn	r3, #0
	b	.L17
.L6:
	ldr	r3, [fp, #-64]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-68]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L19+4
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-44]
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bne	.L8
	ldr	r3, [fp, #-64]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-68]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L19+8
	bl	printf
	mvn	r3, #0
	b	.L17
.L8:
	ldr	r3, [fp, #-64]
	sub	r3, r3, #2
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	bne	.L9
	ldr	r0, .L19+12
	bl	printf
.L9:
	sub	r0, fp, #60
	ldr	r3, [fp, #-44]
	mov	r2, #4
	mov	r1, #1
	bl	fwrite
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L10
.L11:
	ldr	r1, [fp, #-44]
	mov	r0, #0
	bl	fputc
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L10:
	ldr	r3, [fp, #-56]
	cmp	r3, #11
	ble	.L11
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L12
.L13:
	ldr	r1, [fp, #-44]
	mov	r0, #0
	bl	fputc
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L12:
	ldr	r3, [fp, #-60]
	lsl	r2, r3, #4
	ldr	r3, [fp, #-52]
	cmp	r2, r3
	bhi	.L13
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L14
.L16:
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-68]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L19+16
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L15
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-68]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L19+20
	bl	printf
	mvn	r3, #0
	b	.L17
.L15:
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [fp, #-40]
	bl	fseek
	ldr	r0, [fp, #-40]
	bl	ftell
	mov	r3, r0
	str	r3, [fp, #-36]
	ldr	r0, [fp, #-40]
	bl	rewind
	ldr	r0, [fp, #-36]
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-36]
	mov	r1, #1
	ldr	r0, [fp, #-32]
	bl	fread
	ldr	r0, [fp, #-40]
	bl	fclose
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [fp, #-44]
	bl	fseek
	ldr	r0, [fp, #-44]
	bl	ftell
	mov	r3, r0
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-36]
	mov	r1, #1
	ldr	r0, [fp, #-32]
	bl	fwrite
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-32]
	bl	HashGen
	mov	r3, r0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-68]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L19+24
	bl	printf
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	lsl	r3, r3, #4
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-44]
	bl	fseek
	sub	r0, fp, #24
	ldr	r3, [fp, #-44]
	mov	r2, #16
	mov	r1, #1
	bl	fwrite
	ldr	r0, [fp, #-32]
	bl	free
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L14:
	ldr	r3, [fp, #-60]
	ldr	r2, [fp, #-48]
	cmp	r2, r3
	blt	.L16
	ldr	r0, [fp, #-44]
	bl	fclose
	mov	r3, #0
.L17:
	ldr	r2, .L19
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L18
	bl	__stack_chk_fail
.L18:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC6
	.word	.LC0
	.word	.LC1
	.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
