	.file	"769618.c"
	.intel_syntax noprefix
	.text
	.local	roll_state
	.comm	roll_state,24,16
	.type	roll_hash, @function
roll_hash:
.LFB6:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	BYTE PTR -4[rbp], al
	mov	eax, DWORD PTR roll_state[rip+12]
	mov	edx, DWORD PTR roll_state[rip+8]
	sub	eax, edx
	mov	DWORD PTR roll_state[rip+12], eax
	mov	ecx, DWORD PTR roll_state[rip+12]
	movzx	edx, BYTE PTR -4[rbp]
	mov	eax, edx
	sal	eax, 3
	sub	eax, edx
	add	eax, ecx
	mov	DWORD PTR roll_state[rip+12], eax
	mov	edx, DWORD PTR roll_state[rip+8]
	movzx	eax, BYTE PTR -4[rbp]
	add	eax, edx
	mov	DWORD PTR roll_state[rip+8], eax
	mov	esi, DWORD PTR roll_state[rip+8]
	mov	ecx, DWORD PTR roll_state[rip+20]
	mov	eax, ecx
	imul	rax, rax, 613566757
	shr	rax, 32
	mov	rdx, rax
	mov	eax, ecx
	sub	eax, edx
	shr	eax
	add	eax, edx
	shr	eax, 2
	mov	edx, eax
	mov	eax, edx
	sal	eax, 3
	sub	eax, edx
	sub	ecx, eax
	mov	edx, ecx
	mov	edx, edx
	lea	rax, roll_state[rip]
	movzx	eax, BYTE PTR [rdx+rax]
	movzx	edx, al
	mov	eax, esi
	sub	eax, edx
	mov	DWORD PTR roll_state[rip+8], eax
	mov	ecx, DWORD PTR roll_state[rip+20]
	mov	eax, ecx
	imul	rax, rax, 613566757
	shr	rax, 32
	mov	rdx, rax
	mov	eax, ecx
	sub	eax, edx
	shr	eax
	add	eax, edx
	shr	eax, 2
	mov	edx, eax
	mov	eax, edx
	sal	eax, 3
	sub	eax, edx
	sub	ecx, eax
	mov	edx, ecx
	mov	ecx, edx
	lea	rdx, roll_state[rip]
	movzx	eax, BYTE PTR -4[rbp]
	mov	BYTE PTR [rcx+rdx], al
	mov	eax, DWORD PTR roll_state[rip+20]
	add	eax, 1
	mov	DWORD PTR roll_state[rip+20], eax
	mov	eax, DWORD PTR roll_state[rip+16]
	sal	eax, 5
	mov	DWORD PTR roll_state[rip+16], eax
	mov	edx, DWORD PTR roll_state[rip+16]
	movzx	eax, BYTE PTR -4[rbp]
	xor	eax, edx
	mov	DWORD PTR roll_state[rip+16], eax
	mov	edx, DWORD PTR roll_state[rip+8]
	mov	eax, DWORD PTR roll_state[rip+12]
	add	edx, eax
	mov	eax, DWORD PTR roll_state[rip+16]
	add	eax, edx
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	roll_hash, .-roll_hash
	.type	roll_reset, @function
roll_reset:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	edx, 24
	mov	esi, 0
	lea	rdi, roll_state[rip]
	call	memset@PLT
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	roll_reset, .-roll_reset
	.type	sum_hash, @function
sum_hash:
.LFB8:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	DWORD PTR -8[rbp], esi
	mov	BYTE PTR -4[rbp], al
	mov	eax, DWORD PTR -8[rbp]
	imul	eax, eax, 16777619
	mov	DWORD PTR -8[rbp], eax
	movzx	eax, BYTE PTR -4[rbp]
	xor	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	sum_hash, .-sum_hash
	.section	.rodata
	.align 8
.LC0:
	.string	"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
.LC1:
	.string	"\n\n"
.LC2:
	.string	"%u:"
	.text
	.globl	spamsum
	.type	spamsum, @function
spamsum:
.LFB9:
	.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, 168
	.cfi_offset 3, -24
	mov	QWORD PTR -152[rbp], rdi
	mov	DWORD PTR -156[rbp], esi
	mov	DWORD PTR -160[rbp], edx
	mov	DWORD PTR -164[rbp], ecx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	lea	rax, .LC0[rip]
	mov	QWORD PTR -96[rbp], rax
	mov	eax, DWORD PTR -160[rbp]
	and	eax, 2
	test	eax, eax
	je	.L8
	mov	rax, QWORD PTR -152[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strstr@PLT
	mov	QWORD PTR -88[rbp], rax
	cmp	QWORD PTR -88[rbp], 0
	je	.L8
	mov	rax, QWORD PTR -88[rbp]
	add	rax, 2
	sub	rax, QWORD PTR -152[rbp]
	sub	DWORD PTR -156[rbp], eax
	mov	rax, QWORD PTR -88[rbp]
	add	rax, 2
	mov	QWORD PTR -152[rbp], rax
.L8:
	mov	eax, DWORD PTR -160[rbp]
	and	eax, 1
	test	eax, eax
	je	.L9
	mov	DWORD PTR -112[rbp], 0
	mov	DWORD PTR -108[rbp], 0
	jmp	.L10
.L13:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	ecx, DWORD PTR -108[rbp]
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L30
	add	DWORD PTR -112[rbp], 1
	jmp	.L12
.L30:
	nop
.L12:
	add	DWORD PTR -108[rbp], 1
.L10:
	mov	eax, DWORD PTR -108[rbp]
	cmp	eax, DWORD PTR -156[rbp]
	jb	.L13
	mov	eax, DWORD PTR -112[rbp]
	mov	DWORD PTR -132[rbp], eax
	jmp	.L14
.L9:
	mov	eax, DWORD PTR -156[rbp]
	mov	DWORD PTR -132[rbp], eax
.L14:
	cmp	DWORD PTR -164[rbp], 0
	jne	.L15
	mov	DWORD PTR -100[rbp], 3
	jmp	.L16
.L17:
	sal	DWORD PTR -100[rbp]
.L16:
	mov	eax, DWORD PTR -100[rbp]
	sal	eax, 6
	cmp	DWORD PTR -132[rbp], eax
	ja	.L17
	jmp	.L18
.L15:
	mov	eax, DWORD PTR -164[rbp]
	mov	DWORD PTR -100[rbp], eax
.L18:
	mov	edi, 116
	call	malloc@PLT
	mov	QWORD PTR -80[rbp], rax
	cmp	QWORD PTR -80[rbp], 0
	jne	.L31
	mov	eax, 0
	jmp	.L28
.L31:
	nop
.L19:
	mov	edx, DWORD PTR -100[rbp]
	mov	rax, QWORD PTR -80[rbp]
	mov	ecx, edx
	lea	rdx, .LC2[rip]
	mov	esi, 12
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	mov	rax, QWORD PTR -80[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, QWORD PTR -80[rbp]
	add	rax, rdx
	mov	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, 65
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -64[rbp]
	mov	edx, 33
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -116[rbp], 0
	mov	eax, DWORD PTR -116[rbp]
	mov	DWORD PTR -104[rbp], eax
	mov	DWORD PTR -124[rbp], 671226215
	mov	eax, DWORD PTR -124[rbp]
	mov	DWORD PTR -120[rbp], eax
	call	roll_reset
	mov	DWORD PTR -128[rbp], eax
	mov	DWORD PTR -108[rbp], 0
	jmp	.L21
.L25:
	mov	eax, DWORD PTR -160[rbp]
	and	eax, 1
	test	eax, eax
	je	.L22
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	ecx, DWORD PTR -108[rbp]
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L32
.L22:
	mov	edx, DWORD PTR -108[rbp]
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	edi, eax
	call	roll_hash
	mov	DWORD PTR -128[rbp], eax
	mov	edx, DWORD PTR -108[rbp]
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	edx, DWORD PTR -124[rbp]
	mov	esi, edx
	mov	edi, eax
	call	sum_hash
	mov	DWORD PTR -124[rbp], eax
	mov	edx, DWORD PTR -108[rbp]
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	edx, DWORD PTR -120[rbp]
	mov	esi, edx
	mov	edi, eax
	call	sum_hash
	mov	DWORD PTR -120[rbp], eax
	mov	eax, DWORD PTR -128[rbp]
	mov	edx, 0
	div	DWORD PTR -100[rbp]
	mov	eax, DWORD PTR -100[rbp]
	sub	eax, 1
	cmp	edx, eax
	jne	.L24
	mov	eax, DWORD PTR -124[rbp]
	and	eax, 63
	mov	rdx, rax
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	ecx, DWORD PTR -116[rbp]
	mov	rdx, QWORD PTR -72[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	cmp	DWORD PTR -116[rbp], 62
	ja	.L24
	mov	DWORD PTR -124[rbp], 671226215
	add	DWORD PTR -116[rbp], 1
.L24:
	mov	eax, DWORD PTR -100[rbp]
	lea	ecx, [rax+rax]
	mov	eax, DWORD PTR -128[rbp]
	mov	edx, 0
	div	ecx
	mov	eax, DWORD PTR -100[rbp]
	add	eax, eax
	sub	eax, 1
	cmp	edx, eax
	jne	.L23
	mov	eax, DWORD PTR -120[rbp]
	and	eax, 63
	mov	rdx, rax
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	edx, eax
	mov	eax, DWORD PTR -104[rbp]
	mov	BYTE PTR -64[rbp+rax], dl
	cmp	DWORD PTR -104[rbp], 30
	ja	.L23
	mov	DWORD PTR -120[rbp], 671226215
	add	DWORD PTR -104[rbp], 1
	jmp	.L23
.L32:
	nop
.L23:
	add	DWORD PTR -108[rbp], 1
.L21:
	mov	eax, DWORD PTR -108[rbp]
	cmp	eax, DWORD PTR -156[rbp]
	jb	.L25
	cmp	DWORD PTR -128[rbp], 0
	je	.L26
	mov	eax, DWORD PTR -124[rbp]
	and	eax, 63
	mov	rdx, rax
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	ecx, DWORD PTR -116[rbp]
	mov	rdx, QWORD PTR -72[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	mov	eax, DWORD PTR -120[rbp]
	and	eax, 63
	mov	rdx, rax
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	edx, eax
	mov	eax, DWORD PTR -104[rbp]
	mov	BYTE PTR -64[rbp+rax], dl
.L26:
	mov	edx, DWORD PTR -116[rbp]
	mov	rax, QWORD PTR -72[rbp]
	lea	rbx, [rdx+rax]
	mov	rdi, rbx
	call	strlen@PLT
	add	rax, rbx
	mov	WORD PTR [rax], 58
	mov	edx, DWORD PTR -116[rbp]
	mov	rax, QWORD PTR -72[rbp]
	add	rdx, rax
	lea	rax, -64[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcat@PLT
	cmp	DWORD PTR -164[rbp], 0
	jne	.L27
	cmp	DWORD PTR -100[rbp], 3
	jbe	.L27
	cmp	DWORD PTR -116[rbp], 31
	ja	.L27
	mov	eax, DWORD PTR -100[rbp]
	shr	eax
	mov	DWORD PTR -100[rbp], eax
	jmp	.L19
.L27:
	mov	rax, QWORD PTR -80[rbp]
.L28:
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L29
	call	__stack_chk_fail@PLT
.L29:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	spamsum, .-spamsum
	.section	.rodata
.LC3:
	.string	"%02x"
	.text
	.globl	spamsum_hex
	.type	spamsum_hex, @function
spamsum_hex:
.LFB10:
	.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, 184
	.cfi_offset 3, -24
	mov	QWORD PTR -168[rbp], rdi
	mov	DWORD PTR -172[rbp], esi
	mov	DWORD PTR -176[rbp], edx
	mov	DWORD PTR -180[rbp], ecx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -176[rbp]
	and	eax, 2
	test	eax, eax
	je	.L34
	mov	rax, QWORD PTR -168[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strstr@PLT
	mov	QWORD PTR -120[rbp], rax
	cmp	QWORD PTR -120[rbp], 0
	je	.L34
	mov	rax, QWORD PTR -120[rbp]
	add	rax, 2
	sub	rax, QWORD PTR -168[rbp]
	sub	DWORD PTR -172[rbp], eax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, 2
	mov	QWORD PTR -168[rbp], rax
.L34:
	mov	eax, DWORD PTR -176[rbp]
	and	eax, 1
	test	eax, eax
	je	.L35
	mov	DWORD PTR -136[rbp], 0
	mov	DWORD PTR -132[rbp], 0
	jmp	.L36
.L39:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	ecx, DWORD PTR -132[rbp]
	mov	rax, QWORD PTR -168[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L56
	add	DWORD PTR -136[rbp], 1
	jmp	.L38
.L56:
	nop
.L38:
	add	DWORD PTR -132[rbp], 1
.L36:
	mov	eax, DWORD PTR -132[rbp]
	cmp	eax, DWORD PTR -172[rbp]
	jb	.L39
	mov	eax, DWORD PTR -136[rbp]
	mov	DWORD PTR -156[rbp], eax
	jmp	.L40
.L35:
	mov	eax, DWORD PTR -172[rbp]
	mov	DWORD PTR -156[rbp], eax
.L40:
	cmp	DWORD PTR -180[rbp], 0
	jne	.L41
	mov	DWORD PTR -124[rbp], 3
	jmp	.L42
.L43:
	sal	DWORD PTR -124[rbp]
.L42:
	mov	eax, DWORD PTR -124[rbp]
	sal	eax, 7
	cmp	DWORD PTR -156[rbp], eax
	ja	.L43
	jmp	.L44
.L41:
	mov	eax, DWORD PTR -180[rbp]
	mov	DWORD PTR -124[rbp], eax
.L44:
	mov	edi, 212
	call	malloc@PLT
	mov	QWORD PTR -112[rbp], rax
	cmp	QWORD PTR -112[rbp], 0
	jne	.L57
	mov	eax, 0
	jmp	.L54
.L57:
	nop
.L45:
	mov	edx, DWORD PTR -124[rbp]
	mov	rax, QWORD PTR -112[rbp]
	mov	ecx, edx
	lea	rdx, .LC2[rip]
	mov	esi, 12
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	mov	rax, QWORD PTR -112[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	QWORD PTR -104[rbp], rax
	mov	rax, QWORD PTR -104[rbp]
	mov	edx, 129
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -96[rbp]
	mov	edx, 65
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -140[rbp], 0
	mov	eax, DWORD PTR -140[rbp]
	mov	DWORD PTR -128[rbp], eax
	mov	DWORD PTR -148[rbp], 671226215
	mov	eax, DWORD PTR -148[rbp]
	mov	DWORD PTR -144[rbp], eax
	call	roll_reset
	mov	DWORD PTR -152[rbp], eax
	mov	DWORD PTR -132[rbp], 0
	jmp	.L47
.L51:
	mov	eax, DWORD PTR -176[rbp]
	and	eax, 1
	test	eax, eax
	je	.L48
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	ecx, DWORD PTR -132[rbp]
	mov	rax, QWORD PTR -168[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L58
.L48:
	mov	edx, DWORD PTR -132[rbp]
	mov	rax, QWORD PTR -168[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	edi, eax
	call	roll_hash
	mov	DWORD PTR -152[rbp], eax
	mov	edx, DWORD PTR -132[rbp]
	mov	rax, QWORD PTR -168[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	edx, DWORD PTR -148[rbp]
	mov	esi, edx
	mov	edi, eax
	call	sum_hash
	mov	DWORD PTR -148[rbp], eax
	mov	edx, DWORD PTR -132[rbp]
	mov	rax, QWORD PTR -168[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	edx, DWORD PTR -144[rbp]
	mov	esi, edx
	mov	edi, eax
	call	sum_hash
	mov	DWORD PTR -144[rbp], eax
	mov	eax, DWORD PTR -152[rbp]
	mov	edx, 0
	div	DWORD PTR -124[rbp]
	mov	eax, DWORD PTR -124[rbp]
	sub	eax, 1
	cmp	edx, eax
	jne	.L50
	mov	edx, DWORD PTR -140[rbp]
	mov	rax, QWORD PTR -104[rbp]
	lea	rdi, [rdx+rax]
	mov	eax, DWORD PTR -148[rbp]
	mov	ecx, eax
	lea	rdx, .LC3[rip]
	mov	esi, 2
	mov	eax, 0
	call	snprintf@PLT
	cmp	DWORD PTR -140[rbp], 126
	ja	.L50
	mov	DWORD PTR -148[rbp], 671226215
	add	DWORD PTR -140[rbp], 1
.L50:
	mov	eax, DWORD PTR -124[rbp]
	lea	ecx, [rax+rax]
	mov	eax, DWORD PTR -152[rbp]
	mov	edx, 0
	div	ecx
	mov	eax, DWORD PTR -124[rbp]
	add	eax, eax
	sub	eax, 1
	cmp	edx, eax
	jne	.L49
	lea	rdx, -96[rbp]
	mov	eax, DWORD PTR -128[rbp]
	lea	rdi, [rdx+rax]
	mov	eax, DWORD PTR -144[rbp]
	mov	ecx, eax
	lea	rdx, .LC3[rip]
	mov	esi, 2
	mov	eax, 0
	call	snprintf@PLT
	cmp	DWORD PTR -128[rbp], 62
	ja	.L49
	mov	DWORD PTR -144[rbp], 671226215
	add	DWORD PTR -128[rbp], 1
	jmp	.L49
.L58:
	nop
.L49:
	add	DWORD PTR -132[rbp], 1
.L47:
	mov	eax, DWORD PTR -132[rbp]
	cmp	eax, DWORD PTR -172[rbp]
	jb	.L51
	cmp	DWORD PTR -152[rbp], 0
	je	.L52
	mov	edx, DWORD PTR -140[rbp]
	mov	rax, QWORD PTR -104[rbp]
	lea	rdi, [rdx+rax]
	mov	eax, DWORD PTR -148[rbp]
	mov	ecx, eax
	lea	rdx, .LC3[rip]
	mov	esi, 2
	mov	eax, 0
	call	snprintf@PLT
	lea	rdx, -96[rbp]
	mov	eax, DWORD PTR -128[rbp]
	lea	rdi, [rdx+rax]
	mov	eax, DWORD PTR -144[rbp]
	mov	ecx, eax
	lea	rdx, .LC3[rip]
	mov	esi, 2
	mov	eax, 0
	call	snprintf@PLT
.L52:
	mov	edx, DWORD PTR -140[rbp]
	mov	rax, QWORD PTR -104[rbp]
	lea	rbx, [rdx+rax]
	mov	rdi, rbx
	call	strlen@PLT
	add	rax, rbx
	mov	WORD PTR [rax], 58
	mov	edx, DWORD PTR -140[rbp]
	mov	rax, QWORD PTR -104[rbp]
	add	rdx, rax
	lea	rax, -96[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcat@PLT
	cmp	DWORD PTR -180[rbp], 0
	jne	.L53
	cmp	DWORD PTR -124[rbp], 3
	jbe	.L53
	cmp	DWORD PTR -140[rbp], 63
	ja	.L53
	mov	eax, DWORD PTR -124[rbp]
	shr	eax
	mov	DWORD PTR -124[rbp], eax
	jmp	.L45
.L53:
	mov	rax, QWORD PTR -112[rbp]
.L54:
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L55
	call	__stack_chk_fail@PLT
.L55:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	spamsum_hex, .-spamsum_hex
	.type	has_common_substring, @function
has_common_substring:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 304
	mov	QWORD PTR -296[rbp], rdi
	mov	QWORD PTR -304[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	call	roll_reset
	lea	rax, -272[rbp]
	mov	edx, 256
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -288[rbp], 0
	jmp	.L60
.L61:
	mov	eax, DWORD PTR -288[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -296[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	edi, eax
	call	roll_hash
	mov	edx, DWORD PTR -288[rbp]
	movsx	rdx, edx
	mov	DWORD PTR -272[rbp+rdx*4], eax
	add	DWORD PTR -288[rbp], 1
.L60:
	mov	eax, DWORD PTR -288[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -296[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L61
	mov	eax, DWORD PTR -288[rbp]
	mov	DWORD PTR -280[rbp], eax
	call	roll_reset
	mov	DWORD PTR -288[rbp], 0
	jmp	.L62
.L69:
	mov	eax, DWORD PTR -288[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -304[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	edi, eax
	call	roll_hash
	mov	DWORD PTR -276[rbp], eax
	cmp	DWORD PTR -288[rbp], 5
	jle	.L72
	mov	DWORD PTR -284[rbp], 6
	jmp	.L65
.L68:
	mov	eax, DWORD PTR -284[rbp]
	cdqe
	mov	eax, DWORD PTR -272[rbp+rax*4]
	test	eax, eax
	je	.L66
	mov	eax, DWORD PTR -284[rbp]
	cdqe
	mov	eax, DWORD PTR -272[rbp+rax*4]
	cmp	DWORD PTR -276[rbp], eax
	jne	.L66
	mov	eax, DWORD PTR -288[rbp]
	cdqe
	lea	rdx, -6[rax]
	mov	rax, QWORD PTR -304[rbp]
	add	rax, rdx
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 6
	jbe	.L66
	mov	eax, DWORD PTR -284[rbp]
	cdqe
	lea	rdx, -6[rax]
	mov	rax, QWORD PTR -296[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -288[rbp]
	cdqe
	lea	rdx, -6[rax]
	mov	rax, QWORD PTR -304[rbp]
	add	rax, rdx
	mov	edx, 7
	mov	rsi, rcx
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L66
	mov	eax, 1
	jmp	.L70
.L66:
	add	DWORD PTR -284[rbp], 1
.L65:
	mov	eax, DWORD PTR -284[rbp]
	cmp	eax, DWORD PTR -280[rbp]
	jl	.L68
	jmp	.L64
.L72:
	nop
.L64:
	add	DWORD PTR -288[rbp], 1
.L62:
	mov	eax, DWORD PTR -288[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -304[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L69
	mov	eax, 0
.L70:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L71
	call	__stack_chk_fail@PLT
.L71:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	has_common_substring, .-has_common_substring
	.type	eliminate_sequences, @function
eliminate_sequences:
.LFB12:
	.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	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strdup@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L74
	mov	eax, 0
	jmp	.L75
.L74:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -12[rbp], eax
	mov	DWORD PTR -16[rbp], 3
	mov	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR -20[rbp], eax
	jmp	.L76
.L79:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rcx, -1[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	jne	.L77
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rcx, -2[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	jne	.L77
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rcx, -3[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	je	.L78
.L77:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -16[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -16[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR [rcx]
	mov	BYTE PTR [rdx], al
.L78:
	add	DWORD PTR -20[rbp], 1
.L76:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -12[rbp]
	jl	.L79
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -8[rbp]
.L75:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	eliminate_sequences, .-eliminate_sequences
	.type	score_strings, @function
score_strings:
.LFB13:
	.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	DWORD PTR -36[rbp], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -12[rbp], eax
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -8[rbp], eax
	cmp	DWORD PTR -12[rbp], 64
	ja	.L81
	cmp	DWORD PTR -8[rbp], 64
	jbe	.L82
.L81:
	mov	eax, 0
	jmp	.L83
.L82:
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	has_common_substring
	test	eax, eax
	jne	.L84
	mov	eax, 0
	jmp	.L83
.L84:
	mov	ecx, DWORD PTR -8[rbp]
	mov	esi, DWORD PTR -12[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	edit_distn@PLT
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	sal	eax, 6
	mov	ecx, DWORD PTR -12[rbp]
	mov	edx, DWORD PTR -8[rbp]
	add	ecx, edx
	mov	edx, 0
	div	ecx
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	imul	eax, eax, 100
	shr	eax, 6
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 99
	jbe	.L85
	mov	eax, 0
	jmp	.L83
.L85:
	mov	eax, 100
	sub	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
.L83:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	score_strings, .-score_strings
	.globl	spamsum_match
	.type	spamsum_match, @function
spamsum_match:
.LFB14:
	.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	QWORD PTR -88[rbp], rdi
	mov	QWORD PTR -96[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -68[rbp], 0
	lea	rdx, -76[rbp]
	mov	rax, QWORD PTR -88[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 1
	jne	.L87
	lea	rdx, -72[rbp]
	mov	rax, QWORD PTR -96[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 1
	je	.L88
.L87:
	mov	eax, 0
	jmp	.L100
.L88:
	mov	edx, DWORD PTR -76[rbp]
	mov	eax, DWORD PTR -72[rbp]
	cmp	edx, eax
	je	.L90
	mov	eax, DWORD PTR -72[rbp]
	lea	edx, [rax+rax]
	mov	eax, DWORD PTR -76[rbp]
	cmp	edx, eax
	je	.L90
	mov	eax, DWORD PTR -76[rbp]
	lea	edx, [rax+rax]
	mov	eax, DWORD PTR -72[rbp]
	cmp	edx, eax
	je	.L90
	mov	eax, 0
	jmp	.L100
.L90:
	mov	rax, QWORD PTR -88[rbp]
	mov	esi, 58
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -88[rbp], rax
	mov	rax, QWORD PTR -96[rbp]
	mov	esi, 58
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -96[rbp], rax
	cmp	QWORD PTR -88[rbp], 0
	je	.L91
	cmp	QWORD PTR -96[rbp], 0
	jne	.L92
.L91:
	mov	eax, 0
	jmp	.L100
.L92:
	mov	rax, QWORD PTR -88[rbp]
	add	rax, 1
	mov	rdi, rax
	call	eliminate_sequences
	mov	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR -96[rbp]
	add	rax, 1
	mov	rdi, rax
	call	eliminate_sequences
	mov	QWORD PTR -48[rbp], rax
	cmp	QWORD PTR -56[rbp], 0
	je	.L93
	cmp	QWORD PTR -48[rbp], 0
	jne	.L94
.L93:
	mov	eax, -4
	jmp	.L100
.L94:
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	esi, 58
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	esi, 58
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	je	.L95
	cmp	QWORD PTR -16[rbp], 0
	jne	.L96
.L95:
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
	jmp	.L100
.L96:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -16[rbp], rdx
	mov	BYTE PTR [rax], 0
	mov	edx, DWORD PTR -76[rbp]
	mov	eax, DWORD PTR -72[rbp]
	cmp	edx, eax
	jne	.L97
	mov	edx, DWORD PTR -76[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	score_strings
	mov	DWORD PTR -64[rbp], eax
	mov	edx, DWORD PTR -72[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	score_strings
	mov	DWORD PTR -60[rbp], eax
	mov	eax, DWORD PTR -64[rbp]
	cmp	DWORD PTR -60[rbp], eax
	cmovnb	eax, DWORD PTR -60[rbp]
	mov	DWORD PTR -68[rbp], eax
	jmp	.L98
.L97:
	mov	eax, DWORD PTR -72[rbp]
	lea	edx, [rax+rax]
	mov	eax, DWORD PTR -76[rbp]
	cmp	edx, eax
	jne	.L99
	mov	edx, DWORD PTR -76[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	score_strings
	mov	DWORD PTR -68[rbp], eax
	jmp	.L98
.L99:
	mov	edx, DWORD PTR -72[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	score_strings
	mov	DWORD PTR -68[rbp], eax
.L98:
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, DWORD PTR -68[rbp]
.L100:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L101
	call	__stack_chk_fail@PLT
.L101:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	spamsum_match, .-spamsum_match
	.section	.rodata
.LC4:
	.string	"r"
	.text
	.globl	spamsum_match_db
	.type	spamsum_match_db, @function
spamsum_match_db:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 176
	mov	QWORD PTR -152[rbp], rdi
	mov	QWORD PTR -160[rbp], rsi
	mov	DWORD PTR -164[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -132[rbp], 0
	mov	rax, QWORD PTR -152[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -120[rbp], rax
	cmp	QWORD PTR -120[rbp], 0
	jne	.L105
	mov	eax, 0
	jmp	.L109
.L108:
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -128[rbp], eax
	mov	eax, DWORD PTR -128[rbp]
	sub	eax, 1
	cdqe
	movzx	eax, BYTE PTR -112[rbp+rax]
	cmp	al, 10
	jne	.L106
	mov	eax, DWORD PTR -128[rbp]
	sub	eax, 1
	cdqe
	mov	BYTE PTR -112[rbp+rax], 0
.L106:
	lea	rdx, -112[rbp]
	mov	rax, QWORD PTR -160[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	spamsum_match
	mov	DWORD PTR -124[rbp], eax
	mov	eax, DWORD PTR -124[rbp]
	cmp	eax, DWORD PTR -132[rbp]
	jbe	.L105
	mov	eax, DWORD PTR -124[rbp]
	mov	DWORD PTR -132[rbp], eax
	mov	eax, DWORD PTR -132[rbp]
	cmp	eax, DWORD PTR -164[rbp]
	jnb	.L111
.L105:
	mov	rdx, QWORD PTR -120[rbp]
	lea	rax, -112[rbp]
	mov	esi, 99
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L108
	jmp	.L107
.L111:
	nop
.L107:
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -132[rbp]
.L109:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L110
	call	__stack_chk_fail@PLT
.L110:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	spamsum_match_db, .-spamsum_match_db
	.type	spamsum_stdin, @function
spamsum_stdin:
.LFB16:
	.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 2112
	mov	DWORD PTR -10292[rbp], edi
	mov	DWORD PTR -10296[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -10280[rbp], 0
	mov	edi, 10240
	call	malloc@PLT
	mov	QWORD PTR -10272[rbp], rax
	cmp	QWORD PTR -10272[rbp], 0
	jne	.L113
	mov	eax, 0
	jmp	.L120
.L113:
	lea	rax, -10256[rbp]
	mov	edx, 10240
	mov	rsi, rax
	mov	edi, 0
	call	read@PLT
	mov	DWORD PTR -10276[rbp], eax
	cmp	DWORD PTR -10276[rbp], -1
	jne	.L115
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 4
	je	.L123
.L115:
	cmp	DWORD PTR -10276[rbp], 0
	jle	.L124
	mov	edx, DWORD PTR -10276[rbp]
	mov	eax, DWORD PTR -10280[rbp]
	add	eax, edx
	mov	edx, eax
	mov	rax, QWORD PTR -10272[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR -10272[rbp], rax
	cmp	QWORD PTR -10272[rbp], 0
	jne	.L119
	mov	eax, 0
	jmp	.L120
.L119:
	mov	eax, DWORD PTR -10276[rbp]
	movsx	rdx, eax
	mov	ecx, DWORD PTR -10280[rbp]
	mov	rax, QWORD PTR -10272[rbp]
	add	rcx, rax
	lea	rax, -10256[rbp]
	mov	rsi, rax
	mov	rdi, rcx
	call	memcpy@PLT
	mov	eax, DWORD PTR -10276[rbp]
	add	DWORD PTR -10280[rbp], eax
	jmp	.L113
.L123:
	nop
	jmp	.L113
.L124:
	nop
	mov	ecx, DWORD PTR -10296[rbp]
	mov	edx, DWORD PTR -10292[rbp]
	mov	esi, DWORD PTR -10280[rbp]
	mov	rax, QWORD PTR -10272[rbp]
	mov	rdi, rax
	call	spamsum
	mov	QWORD PTR -10264[rbp], rax
	mov	rax, QWORD PTR -10272[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -10264[rbp]
.L120:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L121
	call	__stack_chk_fail@PLT
.L121:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	spamsum_stdin, .-spamsum_stdin
	.section	.rodata
.LC5:
	.string	"-"
.LC6:
	.string	"fstat"
.LC7:
	.string	"mmap"
	.text
	.globl	spamsum_file
	.type	spamsum_file, @function
spamsum_file:
.LFB17:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 208
	mov	QWORD PTR -200[rbp], rdi
	mov	DWORD PTR -204[rbp], esi
	mov	DWORD PTR -208[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -200[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L126
	mov	edx, DWORD PTR -208[rbp]
	mov	eax, DWORD PTR -204[rbp]
	mov	esi, edx
	mov	edi, eax
	call	spamsum_stdin
	jmp	.L131
.L126:
	mov	rax, QWORD PTR -200[rbp]
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -180[rbp], eax
	cmp	DWORD PTR -180[rbp], -1
	jne	.L128
	mov	rax, QWORD PTR -200[rbp]
	mov	rdi, rax
	call	perror@PLT
	mov	eax, 0
	jmp	.L131
.L128:
	lea	rdx, -160[rbp]
	mov	eax, DWORD PTR -180[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fstat@PLT
	cmp	eax, -1
	jne	.L129
	lea	rdi, .LC6[rip]
	call	perror@PLT
	mov	eax, 0
	jmp	.L131
.L129:
	mov	rax, QWORD PTR -112[rbp]
	mov	rsi, rax
	mov	eax, DWORD PTR -180[rbp]
	mov	r9d, 0
	mov	r8d, eax
	mov	ecx, 2
	mov	edx, 1
	mov	edi, 0
	call	mmap@PLT
	mov	QWORD PTR -176[rbp], rax
	cmp	QWORD PTR -176[rbp], -1
	jne	.L130
	lea	rdi, .LC7[rip]
	call	perror@PLT
	mov	eax, 0
	jmp	.L131
.L130:
	mov	eax, DWORD PTR -180[rbp]
	mov	edi, eax
	call	close@PLT
	mov	rax, QWORD PTR -112[rbp]
	mov	esi, eax
	mov	ecx, DWORD PTR -208[rbp]
	mov	edx, DWORD PTR -204[rbp]
	mov	rax, QWORD PTR -176[rbp]
	mov	rdi, rax
	call	spamsum
	mov	QWORD PTR -168[rbp], rax
	mov	rax, QWORD PTR -112[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -176[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	munmap@PLT
	mov	rax, QWORD PTR -168[rbp]
.L131:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L132
	call	__stack_chk_fail@PLT
.L132:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	spamsum_file, .-spamsum_file
	.section	.rodata
	.align 8
.LC8:
	.ascii	"\nspamsum v1.1 written by Andrew Tridgell <tridge@samba.org>"
	.ascii	"\n\nspamsum computes a signature string that is particular g"
	.ascii	"ood for detecting if two emails\nare very similar. This can "
	.ascii	"be used to detect SPAM.\n\nSyntax:\n   spamsum [options] <fi"
	.ascii	"les>\nor\n   spamsum [options] -d sigs.txt -c SIG\nor\n   sp"
	.ascii	"amsum [options] -d sigs.txt -C file\n\nWhen called with a li"
	.ascii	"st of filenames spamsum will write out the\nsignatures of ea"
	.ascii	"ch file on a separate line. You can specify the\nfilename '-"
	.ascii	"' for standard input.\n\nWhen called with the second form, s"
	.ascii	"pamsum will print the best score\nfor the given signature wi"
	.ascii	"th the signatures in the given database. A\nscore of 100 mea"
	.ascii	"ns a perfect match, and a score of 0 means a complete\nmisma"
	.ascii	"tch.\n\nWhen checking, spamsum returns 0 (success) when the "
	.ascii	"message *is* spam,\n1 for internal errors, and 2 for message"
	.ascii	"s whose signature is not\nfound.\n\nThe 3rd form is just lik"
	.ascii	"e the second form, but you pass a file\ncontaining a message"
	.ascii	" instead of a pre-comput"
	.string	"ed signature.\n\nOptions:\n   -W              ignore whitespace\n   -H              skip past mail headers\n   -B <bsize>      force a block size of bsize\n   -T <threshold>  set the threshold above which spamsum will stop\n                   looking (default 90)"
	.text
	.type	show_help, @function
show_help:
.LFB18:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC8[rip]
	call	puts@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	show_help, .-show_help
	.section	.rodata
.LC9:
	.string	"%u\n"
.LC10:
	.string	"B:WHd:c:C:hT:"
	.text
	.globl	main
	.type	main, @function
main:
.LFB19:
	.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	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	QWORD PTR -16[rbp], 0
	mov	DWORD PTR -36[rbp], 0
	mov	DWORD PTR -32[rbp], 0
	mov	DWORD PTR -28[rbp], 90
	jmp	.L135
.L151:
	mov	eax, DWORD PTR -24[rbp]
	sub	eax, 66
	cmp	eax, 34
	ja	.L136
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L138[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L138[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L138:
	.long	.L144-.L138
	.long	.L143-.L138
	.long	.L136-.L138
	.long	.L136-.L138
	.long	.L136-.L138
	.long	.L136-.L138
	.long	.L142-.L138
	.long	.L136-.L138
	.long	.L136-.L138
	.long	.L136-.L138
	.long	.L136-.L138
	.long	.L136-.L138
	.long	.L136-.L138
	.long	.L136-.L138
	.long	.L136-.L138
	.long	.L136-.L138
	.long	.L136-.L138
	.long	.L136-.L138
	.long	.L141-.L138
	.long	.L136-.L138
	.long	.L136-.L138
	.long	.L140-.L138
	.long	.L136-.L138
	.long	.L136-.L138
	.long	.L136-.L138
	.long	.L136-.L138
	.long	.L136-.L138
	.long	.L136-.L138
	.long	.L136-.L138
	.long	.L136-.L138
	.long	.L136-.L138
	.long	.L136-.L138
	.long	.L136-.L138
	.long	.L139-.L138
	.long	.L137-.L138
	.text
.L140:
	or	DWORD PTR -36[rbp], 1
	jmp	.L135
.L142:
	or	DWORD PTR -36[rbp], 2
	jmp	.L135
.L137:
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L135
.L144:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -32[rbp], eax
	jmp	.L135
.L141:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -28[rbp], eax
	jmp	.L135
.L139:
	cmp	QWORD PTR -16[rbp], 0
	jne	.L145
	call	show_help
	mov	edi, 1
	call	exit@PLT
.L145:
	mov	rcx, QWORD PTR optarg[rip]
	mov	edx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	spamsum_match_db
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jb	.L146
	mov	eax, 0
	jmp	.L147
.L146:
	mov	eax, 2
.L147:
	mov	edi, eax
	call	exit@PLT
.L143:
	cmp	QWORD PTR -16[rbp], 0
	jne	.L148
	call	show_help
	mov	edi, 1
	call	exit@PLT
.L148:
	mov	rax, QWORD PTR optarg[rip]
	mov	edx, DWORD PTR -32[rbp]
	mov	ecx, DWORD PTR -36[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	spamsum_file
	mov	rcx, rax
	mov	edx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	spamsum_match_db
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jb	.L149
	mov	eax, 0
	jmp	.L150
.L149:
	mov	eax, 2
.L150:
	mov	edi, eax
	call	exit@PLT
.L136:
	call	show_help
	mov	edi, 0
	call	exit@PLT
.L135:
	mov	rcx, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR -52[rbp]
	lea	rdx, .LC10[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	getopt@PLT
	mov	DWORD PTR -24[rbp], eax
	cmp	DWORD PTR -24[rbp], -1
	jne	.L151
	mov	eax, DWORD PTR optind[rip]
	sub	DWORD PTR -52[rbp], eax
	mov	eax, DWORD PTR optind[rip]
	cdqe
	sal	rax, 3
	add	QWORD PTR -64[rbp], rax
	cmp	DWORD PTR -52[rbp], 0
	jne	.L152
	call	show_help
	mov	eax, 0
	jmp	.L153
.L152:
	mov	DWORD PTR -40[rbp], 0
	jmp	.L154
.L155:
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR -32[rbp]
	mov	ecx, DWORD PTR -36[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	spamsum_file
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	puts@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	add	DWORD PTR -40[rbp], 1
.L154:
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jl	.L155
	mov	eax, 0
.L153:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.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	"769618.c"
	.text
	.local	roll_state
	.comm	roll_state,24,4
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	roll_hash, %function
roll_hash:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r3, r0
	strb	r3, [fp, #-5]
	ldr	r3, .L3
	ldr	r2, [r3, #12]
	ldr	r3, .L3
	ldr	r3, [r3, #8]
	sub	r3, r2, r3
	ldr	r2, .L3
	str	r3, [r2, #12]
	ldr	r3, .L3
	ldr	r1, [r3, #12]
	ldrb	r2, [fp, #-5]	@ zero_extendqisi2
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	add	r3, r1, r3
	ldr	r2, .L3
	str	r3, [r2, #12]
	ldr	r3, .L3
	ldr	r2, [r3, #8]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	add	r3, r2, r3
	ldr	r2, .L3
	str	r3, [r2, #8]
	ldr	r3, .L3
	ldr	r0, [r3, #8]
	ldr	r3, .L3
	ldr	r1, [r3, #20]
	ldr	r3, .L3+4
	umull	r2, r3, r1, r3
	sub	r2, r1, r3
	lsr	r2, r2, #1
	add	r3, r3, r2
	lsr	r2, r3, #2
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	sub	r2, r1, r3
	ldr	r3, .L3
	ldrb	r3, [r3, r2]	@ zero_extendqisi2
	sub	r3, r0, r3
	ldr	r2, .L3
	str	r3, [r2, #8]
	ldr	r3, .L3
	ldr	r1, [r3, #20]
	ldr	r3, .L3+4
	umull	r2, r3, r1, r3
	sub	r2, r1, r3
	lsr	r2, r2, #1
	add	r3, r3, r2
	lsr	r2, r3, #2
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	sub	r2, r1, r3
	ldr	r1, .L3
	ldrb	r3, [fp, #-5]
	strb	r3, [r1, r2]
	ldr	r3, .L3
	ldr	r3, [r3, #20]
	add	r3, r3, #1
	ldr	r2, .L3
	str	r3, [r2, #20]
	ldr	r3, .L3
	ldr	r3, [r3, #16]
	lsl	r3, r3, #5
	ldr	r2, .L3
	str	r3, [r2, #16]
	ldr	r3, .L3
	ldr	r2, [r3, #16]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	eor	r3, r3, r2
	ldr	r2, .L3
	str	r3, [r2, #16]
	ldr	r3, .L3
	ldr	r2, [r3, #8]
	ldr	r3, .L3
	ldr	r3, [r3, #12]
	add	r2, r2, r3
	ldr	r3, .L3
	ldr	r3, [r3, #16]
	add	r3, r2, r3
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L4:
	.align	2
.L3:
	.word	roll_state
	.word	613566757
	.size	roll_hash, .-roll_hash
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	roll_reset, %function
roll_reset:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mov	r2, #24
	mov	r1, #0
	ldr	r0, .L7
	bl	memset
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	roll_state
	.size	roll_reset, .-roll_reset
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sum_hash, %function
sum_hash:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r3, r0
	str	r1, [fp, #-12]
	strb	r3, [fp, #-5]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #16
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	str	r3, [fp, #-12]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	ldr	r2, [fp, #-12]
	eor	r3, r3, r2
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	sum_hash, .-sum_hash
	.section	.rodata
	.align	2
.LC0:
	.ascii	"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxy"
	.ascii	"z0123456789+/\000"
	.align	2
.LC1:
	.ascii	"\012\012\000"
	.align	2
.LC2:
	.ascii	"%u:\000"
	.global	__aeabi_uidivmod
	.align	2
.LC3:
	.ascii	":\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	spamsum
	.syntax unified
	.arm
	.fpu softvfp
	.type	spamsum, %function
spamsum:
	@ args = 0, pretend = 0, frame = 112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #116
	str	r0, [fp, #-112]
	str	r1, [fp, #-116]
	str	r2, [fp, #-120]
	str	r3, [fp, #-124]
	ldr	r3, .L37
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, .L37+4
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-120]
	and	r3, r3, #2
	cmp	r3, #0
	beq	.L12
	ldr	r1, .L37+8
	ldr	r0, [fp, #-112]
	bl	strstr
	str	r0, [fp, #-64]
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	beq	.L12
	ldr	r3, [fp, #-64]
	add	r2, r3, #2
	ldr	r3, [fp, #-112]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-116]
	sub	r3, r3, r2
	str	r3, [fp, #-116]
	ldr	r3, [fp, #-64]
	add	r3, r3, #2
	str	r3, [fp, #-112]
.L12:
	ldr	r3, [fp, #-120]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L13
	mov	r3, #0
	str	r3, [fp, #-84]
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L14
.L17:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r1, [fp, #-112]
	ldr	r3, [fp, #-80]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L34
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
	b	.L16
.L34:
	nop
.L16:
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L14:
	ldr	r2, [fp, #-80]
	ldr	r3, [fp, #-116]
	cmp	r2, r3
	bcc	.L17
	ldr	r3, [fp, #-84]
	str	r3, [fp, #-104]
	b	.L18
.L13:
	ldr	r3, [fp, #-116]
	str	r3, [fp, #-104]
.L18:
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	bne	.L19
	mov	r3, #3
	str	r3, [fp, #-72]
	b	.L20
.L21:
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #1
	str	r3, [fp, #-72]
.L20:
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #6
	ldr	r2, [fp, #-104]
	cmp	r2, r3
	bhi	.L21
	b	.L22
.L19:
	ldr	r3, [fp, #-124]
	str	r3, [fp, #-72]
.L22:
	mov	r0, #116
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	bne	.L35
	mov	r3, #0
	b	.L32
.L35:
	nop
.L23:
	ldr	r3, [fp, #-72]
	ldr	r2, .L37+12
	mov	r1, #12
	ldr	r0, [fp, #-60]
	bl	snprintf
	ldr	r0, [fp, #-60]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-60]
	add	r3, r3, r2
	str	r3, [fp, #-56]
	mov	r2, #65
	mov	r1, #0
	ldr	r0, [fp, #-56]
	bl	memset
	sub	r3, fp, #52
	mov	r2, #33
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-88]
	ldr	r3, [fp, #-88]
	str	r3, [fp, #-76]
	ldr	r3, .L37+16
	str	r3, [fp, #-96]
	ldr	r3, [fp, #-96]
	str	r3, [fp, #-92]
	bl	roll_reset
	str	r0, [fp, #-100]
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L25
.L29:
	ldr	r3, [fp, #-120]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L26
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r1, [fp, #-112]
	ldr	r3, [fp, #-80]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L36
.L26:
	ldr	r2, [fp, #-112]
	ldr	r3, [fp, #-80]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	roll_hash
	str	r0, [fp, #-100]
	ldr	r2, [fp, #-112]
	ldr	r3, [fp, #-80]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldr	r1, [fp, #-96]
	mov	r0, r3
	bl	sum_hash
	str	r0, [fp, #-96]
	ldr	r2, [fp, #-112]
	ldr	r3, [fp, #-80]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldr	r1, [fp, #-92]
	mov	r0, r3
	bl	sum_hash
	str	r0, [fp, #-92]
	ldr	r3, [fp, #-100]
	ldr	r1, [fp, #-72]
	mov	r0, r3
	bl	__aeabi_uidivmod
	mov	r3, r1
	mov	r2, r3
	ldr	r3, [fp, #-72]
	sub	r3, r3, #1
	cmp	r2, r3
	bne	.L28
	ldr	r3, [fp, #-96]
	and	r3, r3, #63
	ldr	r2, [fp, #-68]
	add	r2, r2, r3
	ldr	r1, [fp, #-56]
	ldr	r3, [fp, #-88]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-88]
	cmp	r3, #62
	bhi	.L28
	ldr	r3, .L37+16
	str	r3, [fp, #-96]
	ldr	r3, [fp, #-88]
	add	r3, r3, #1
	str	r3, [fp, #-88]
.L28:
	ldr	r3, [fp, #-72]
	lsl	r2, r3, #1
	ldr	r3, [fp, #-100]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_uidivmod
	mov	r3, r1
	mov	r2, r3
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #1
	sub	r3, r3, #1
	cmp	r2, r3
	bne	.L27
	ldr	r3, [fp, #-92]
	and	r3, r3, #63
	ldr	r2, [fp, #-68]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r2, fp, #52
	ldr	r3, [fp, #-76]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-76]
	cmp	r3, #30
	bhi	.L27
	ldr	r3, .L37+16
	str	r3, [fp, #-92]
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
	b	.L27
.L36:
	nop
.L27:
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L25:
	ldr	r2, [fp, #-80]
	ldr	r3, [fp, #-116]
	cmp	r2, r3
	bcc	.L29
	ldr	r3, [fp, #-100]
	cmp	r3, #0
	beq	.L30
	ldr	r3, [fp, #-96]
	and	r3, r3, #63
	ldr	r2, [fp, #-68]
	add	r2, r2, r3
	ldr	r1, [fp, #-56]
	ldr	r3, [fp, #-88]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-92]
	and	r3, r3, #63
	ldr	r2, [fp, #-68]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r2, fp, #52
	ldr	r3, [fp, #-76]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
.L30:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-88]
	add	r4, r2, r3
	mov	r0, r4
	bl	strlen
	mov	r3, r0
	add	r3, r4, r3
	ldr	r2, .L37+20
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-88]
	add	r3, r2, r3
	sub	r2, fp, #52
	mov	r1, r2
	mov	r0, r3
	bl	strcat
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	bne	.L31
	ldr	r3, [fp, #-72]
	cmp	r3, #3
	bls	.L31
	ldr	r3, [fp, #-88]
	cmp	r3, #31
	bhi	.L31
	ldr	r3, [fp, #-72]
	lsr	r3, r3, #1
	str	r3, [fp, #-72]
	b	.L23
.L31:
	ldr	r3, [fp, #-60]
.L32:
	ldr	r2, .L37
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L33
	bl	__stack_chk_fail
.L33:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L38:
	.align	2
.L37:
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	671226215
	.word	.LC3
	.size	spamsum, .-spamsum
	.section	.rodata
	.align	2
.LC5:
	.ascii	"%02x\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	spamsum_hex
	.syntax unified
	.arm
	.fpu softvfp
	.type	spamsum_hex, %function
spamsum_hex:
	@ args = 0, pretend = 0, frame = 136
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #140
	str	r0, [fp, #-136]
	str	r1, [fp, #-140]
	str	r2, [fp, #-144]
	str	r3, [fp, #-148]
	ldr	r3, .L65
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-144]
	and	r3, r3, #2
	cmp	r3, #0
	beq	.L40
	ldr	r1, .L65+4
	ldr	r0, [fp, #-136]
	bl	strstr
	str	r0, [fp, #-96]
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	beq	.L40
	ldr	r3, [fp, #-96]
	add	r2, r3, #2
	ldr	r3, [fp, #-136]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-140]
	sub	r3, r3, r2
	str	r3, [fp, #-140]
	ldr	r3, [fp, #-96]
	add	r3, r3, #2
	str	r3, [fp, #-136]
.L40:
	ldr	r3, [fp, #-144]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L41
	mov	r3, #0
	str	r3, [fp, #-112]
	mov	r3, #0
	str	r3, [fp, #-108]
	b	.L42
.L45:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r1, [fp, #-136]
	ldr	r3, [fp, #-108]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L62
	ldr	r3, [fp, #-112]
	add	r3, r3, #1
	str	r3, [fp, #-112]
	b	.L44
.L62:
	nop
.L44:
	ldr	r3, [fp, #-108]
	add	r3, r3, #1
	str	r3, [fp, #-108]
.L42:
	ldr	r2, [fp, #-108]
	ldr	r3, [fp, #-140]
	cmp	r2, r3
	bcc	.L45
	ldr	r3, [fp, #-112]
	str	r3, [fp, #-132]
	b	.L46
.L41:
	ldr	r3, [fp, #-140]
	str	r3, [fp, #-132]
.L46:
	ldr	r3, [fp, #-148]
	cmp	r3, #0
	bne	.L47
	mov	r3, #3
	str	r3, [fp, #-100]
	b	.L48
.L49:
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #1
	str	r3, [fp, #-100]
.L48:
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #7
	ldr	r2, [fp, #-132]
	cmp	r2, r3
	bhi	.L49
	b	.L50
.L47:
	ldr	r3, [fp, #-148]
	str	r3, [fp, #-100]
.L50:
	mov	r0, #212
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-92]
	ldr	r3, [fp, #-92]
	cmp	r3, #0
	bne	.L63
	mov	r3, #0
	b	.L60
.L63:
	nop
.L51:
	ldr	r3, [fp, #-100]
	ldr	r2, .L65+8
	mov	r1, #12
	ldr	r0, [fp, #-92]
	bl	snprintf
	ldr	r0, [fp, #-92]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-92]
	add	r3, r3, r2
	str	r3, [fp, #-88]
	mov	r2, #129
	mov	r1, #0
	ldr	r0, [fp, #-88]
	bl	memset
	sub	r3, fp, #84
	mov	r2, #65
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-116]
	ldr	r3, [fp, #-116]
	str	r3, [fp, #-104]
	ldr	r3, .L65+12
	str	r3, [fp, #-124]
	ldr	r3, [fp, #-124]
	str	r3, [fp, #-120]
	bl	roll_reset
	str	r0, [fp, #-128]
	mov	r3, #0
	str	r3, [fp, #-108]
	b	.L53
.L57:
	ldr	r3, [fp, #-144]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L54
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r1, [fp, #-136]
	ldr	r3, [fp, #-108]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L64
.L54:
	ldr	r2, [fp, #-136]
	ldr	r3, [fp, #-108]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	roll_hash
	str	r0, [fp, #-128]
	ldr	r2, [fp, #-136]
	ldr	r3, [fp, #-108]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldr	r1, [fp, #-124]
	mov	r0, r3
	bl	sum_hash
	str	r0, [fp, #-124]
	ldr	r2, [fp, #-136]
	ldr	r3, [fp, #-108]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldr	r1, [fp, #-120]
	mov	r0, r3
	bl	sum_hash
	str	r0, [fp, #-120]
	ldr	r3, [fp, #-128]
	ldr	r1, [fp, #-100]
	mov	r0, r3
	bl	__aeabi_uidivmod
	mov	r3, r1
	mov	r2, r3
	ldr	r3, [fp, #-100]
	sub	r3, r3, #1
	cmp	r2, r3
	bne	.L56
	ldr	r2, [fp, #-88]
	ldr	r3, [fp, #-116]
	add	r0, r2, r3
	ldr	r3, [fp, #-124]
	ldr	r2, .L65+16
	mov	r1, #2
	bl	snprintf
	ldr	r3, [fp, #-116]
	cmp	r3, #126
	bhi	.L56
	ldr	r3, .L65+12
	str	r3, [fp, #-124]
	ldr	r3, [fp, #-116]
	add	r3, r3, #1
	str	r3, [fp, #-116]
.L56:
	ldr	r3, [fp, #-100]
	lsl	r2, r3, #1
	ldr	r3, [fp, #-128]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_uidivmod
	mov	r3, r1
	mov	r2, r3
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #1
	sub	r3, r3, #1
	cmp	r2, r3
	bne	.L55
	sub	r2, fp, #84
	ldr	r3, [fp, #-104]
	add	r0, r2, r3
	ldr	r3, [fp, #-120]
	ldr	r2, .L65+16
	mov	r1, #2
	bl	snprintf
	ldr	r3, [fp, #-104]
	cmp	r3, #62
	bhi	.L55
	ldr	r3, .L65+12
	str	r3, [fp, #-120]
	ldr	r3, [fp, #-104]
	add	r3, r3, #1
	str	r3, [fp, #-104]
	b	.L55
.L64:
	nop
.L55:
	ldr	r3, [fp, #-108]
	add	r3, r3, #1
	str	r3, [fp, #-108]
.L53:
	ldr	r2, [fp, #-108]
	ldr	r3, [fp, #-140]
	cmp	r2, r3
	bcc	.L57
	ldr	r3, [fp, #-128]
	cmp	r3, #0
	beq	.L58
	ldr	r2, [fp, #-88]
	ldr	r3, [fp, #-116]
	add	r0, r2, r3
	ldr	r3, [fp, #-124]
	ldr	r2, .L65+16
	mov	r1, #2
	bl	snprintf
	sub	r2, fp, #84
	ldr	r3, [fp, #-104]
	add	r0, r2, r3
	ldr	r3, [fp, #-120]
	ldr	r2, .L65+16
	mov	r1, #2
	bl	snprintf
.L58:
	ldr	r2, [fp, #-88]
	ldr	r3, [fp, #-116]
	add	r4, r2, r3
	mov	r0, r4
	bl	strlen
	mov	r3, r0
	add	r3, r4, r3
	ldr	r2, .L65+20
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
	ldr	r2, [fp, #-88]
	ldr	r3, [fp, #-116]
	add	r3, r2, r3
	sub	r2, fp, #84
	mov	r1, r2
	mov	r0, r3
	bl	strcat
	ldr	r3, [fp, #-148]
	cmp	r3, #0
	bne	.L59
	ldr	r3, [fp, #-100]
	cmp	r3, #3
	bls	.L59
	ldr	r3, [fp, #-116]
	cmp	r3, #63
	bhi	.L59
	ldr	r3, [fp, #-100]
	lsr	r3, r3, #1
	str	r3, [fp, #-100]
	b	.L51
.L59:
	ldr	r3, [fp, #-92]
.L60:
	ldr	r2, .L65
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L61
	bl	__stack_chk_fail
.L61:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L66:
	.align	2
.L65:
	.word	.LC6
	.word	.LC1
	.word	.LC2
	.word	671226215
	.word	.LC5
	.word	.LC3
	.size	spamsum_hex, .-spamsum_hex
	.section	.rodata
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	has_common_substring, %function
has_common_substring:
	@ args = 0, pretend = 0, frame = 288
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #288
	str	r0, [fp, #-288]
	str	r1, [fp, #-292]
	ldr	r3, .L81
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	roll_reset
	sub	r3, fp, #264
	mov	r2, #256
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-280]
	b	.L68
.L69:
	ldr	r3, [fp, #-280]
	ldr	r2, [fp, #-288]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	roll_hash
	mov	r2, r0
	ldr	r3, [fp, #-280]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-260]
	ldr	r3, [fp, #-280]
	add	r3, r3, #1
	str	r3, [fp, #-280]
.L68:
	ldr	r3, [fp, #-280]
	ldr	r2, [fp, #-288]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L69
	ldr	r3, [fp, #-280]
	str	r3, [fp, #-272]
	bl	roll_reset
	mov	r3, #0
	str	r3, [fp, #-280]
	b	.L70
.L77:
	ldr	r3, [fp, #-280]
	ldr	r2, [fp, #-292]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	roll_hash
	str	r0, [fp, #-268]
	ldr	r3, [fp, #-280]
	cmp	r3, #5
	ble	.L80
	mov	r3, #6
	str	r3, [fp, #-276]
	b	.L73
.L76:
	ldr	r3, [fp, #-276]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-260]
	cmp	r3, #0
	beq	.L74
	ldr	r3, [fp, #-276]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-260]
	ldr	r2, [fp, #-268]
	cmp	r2, r3
	bne	.L74
	ldr	r3, [fp, #-280]
	sub	r3, r3, #6
	ldr	r2, [fp, #-292]
	add	r3, r2, r3
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	cmp	r3, #6
	bls	.L74
	ldr	r3, [fp, #-280]
	sub	r3, r3, #6
	ldr	r2, [fp, #-292]
	add	r0, r2, r3
	ldr	r3, [fp, #-276]
	sub	r3, r3, #6
	ldr	r2, [fp, #-288]
	add	r3, r2, r3
	mov	r2, #7
	mov	r1, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L74
	mov	r3, #1
	b	.L78
.L74:
	ldr	r3, [fp, #-276]
	add	r3, r3, #1
	str	r3, [fp, #-276]
.L73:
	ldr	r2, [fp, #-276]
	ldr	r3, [fp, #-272]
	cmp	r2, r3
	blt	.L76
	b	.L72
.L80:
	nop
.L72:
	ldr	r3, [fp, #-280]
	add	r3, r3, #1
	str	r3, [fp, #-280]
.L70:
	ldr	r3, [fp, #-280]
	ldr	r2, [fp, #-292]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L77
	mov	r3, #0
.L78:
	ldr	r2, .L81
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L79
	bl	__stack_chk_fail
.L79:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L82:
	.align	2
.L81:
	.word	.LC7
	.size	has_common_substring, .-has_common_substring
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	eliminate_sequences, %function
eliminate_sequences:
	@ 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]
	ldr	r0, [fp, #-24]
	bl	strdup
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L84
	mov	r3, #0
	b	.L85
.L84:
	ldr	r0, [fp, #-24]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-8]
	mov	r3, #3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-20]
	b	.L86
.L89:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	ldr	r1, [fp, #-24]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L87
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-20]
	sub	r3, r3, #2
	ldr	r1, [fp, #-24]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L87
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-20]
	sub	r3, r3, #3
	ldr	r1, [fp, #-24]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L88
.L87:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, [fp, #-16]
	add	r1, r3, #1
	str	r1, [fp, #-16]
	mov	r1, r3
	ldr	r3, [fp, #-12]
	add	r3, r3, r1
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
.L88:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L86:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	blt	.L89
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
.L85:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	eliminate_sequences, .-eliminate_sequences
	.global	__aeabi_uidiv
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	score_strings, %function
score_strings:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	ldr	r0, [fp, #-24]
	bl	strlen
	str	r0, [fp, #-16]
	ldr	r0, [fp, #-28]
	bl	strlen
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-16]
	cmp	r3, #64
	bhi	.L91
	ldr	r3, [fp, #-12]
	cmp	r3, #64
	bls	.L92
.L91:
	mov	r3, #0
	b	.L93
.L92:
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	bl	has_common_substring
	mov	r3, r0
	cmp	r3, #0
	bne	.L94
	mov	r3, #0
	b	.L93
.L94:
	ldr	r1, [fp, #-16]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-28]
	ldr	r0, [fp, #-24]
	bl	edit_distn
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	lsl	r0, r3, #6
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	mov	r1, r3
	bl	__aeabi_uidiv
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	lsr	r3, r3, #6
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #99
	bls	.L95
	mov	r3, #0
	b	.L93
.L95:
	ldr	r3, [fp, #-8]
	rsb	r3, r3, #100
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
.L93:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	score_strings, .-score_strings
	.section	.rodata
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	spamsum_match
	.syntax unified
	.arm
	.fpu softvfp
	.type	spamsum_match, %function
spamsum_match:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	ldr	r3, .L112
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-44]
	sub	r3, fp, #52
	mov	r2, r3
	ldr	r1, .L112+4
	ldr	r0, [fp, #-56]
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #1
	bne	.L97
	sub	r3, fp, #48
	mov	r2, r3
	ldr	r1, .L112+4
	ldr	r0, [fp, #-60]
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #1
	beq	.L98
.L97:
	mov	r3, #0
	b	.L110
.L98:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	beq	.L100
	ldr	r3, [fp, #-48]
	lsl	r2, r3, #1
	ldr	r3, [fp, #-52]
	cmp	r2, r3
	beq	.L100
	ldr	r3, [fp, #-52]
	lsl	r2, r3, #1
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	beq	.L100
	mov	r3, #0
	b	.L110
.L100:
	mov	r1, #58
	ldr	r0, [fp, #-56]
	bl	strchr
	str	r0, [fp, #-56]
	mov	r1, #58
	ldr	r0, [fp, #-60]
	bl	strchr
	str	r0, [fp, #-60]
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	beq	.L101
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	bne	.L102
.L101:
	mov	r3, #0
	b	.L110
.L102:
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	mov	r0, r3
	bl	eliminate_sequences
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	mov	r0, r3
	bl	eliminate_sequences
	str	r0, [fp, #-36]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	beq	.L103
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L104
.L103:
	mvn	r3, #3
	b	.L110
.L104:
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-28]
	mov	r1, #58
	ldr	r0, [fp, #-40]
	bl	strchr
	str	r0, [fp, #-24]
	mov	r1, #58
	ldr	r0, [fp, #-36]
	bl	strchr
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L105
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L106
.L105:
	ldr	r0, [fp, #-40]
	bl	free
	ldr	r0, [fp, #-36]
	bl	free
	mov	r3, #0
	b	.L110
.L106:
	ldr	r3, [fp, #-24]
	add	r2, r3, #1
	str	r2, [fp, #-24]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r2, r3, #1
	str	r2, [fp, #-20]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	bne	.L107
	ldr	r3, [fp, #-52]
	mov	r2, r3
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-32]
	bl	score_strings
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-48]
	mov	r2, r3
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-24]
	bl	score_strings
	str	r0, [fp, #-12]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	movcs	r3, r2
	movcc	r3, r3
	str	r3, [fp, #-44]
	b	.L108
.L107:
	ldr	r3, [fp, #-48]
	lsl	r2, r3, #1
	ldr	r3, [fp, #-52]
	cmp	r2, r3
	bne	.L109
	ldr	r3, [fp, #-52]
	mov	r2, r3
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-32]
	bl	score_strings
	str	r0, [fp, #-44]
	b	.L108
.L109:
	ldr	r3, [fp, #-48]
	mov	r2, r3
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	bl	score_strings
	str	r0, [fp, #-44]
.L108:
	ldr	r0, [fp, #-40]
	bl	free
	ldr	r0, [fp, #-36]
	bl	free
	ldr	r3, [fp, #-44]
.L110:
	ldr	r2, .L112
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L111
	bl	__stack_chk_fail
.L111:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L113:
	.align	2
.L112:
	.word	.LC8
	.word	.LC2
	.size	spamsum_match, .-spamsum_match
	.section	.rodata
	.align	2
.LC9:
	.ascii	"r\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	spamsum_match_db
	.syntax unified
	.arm
	.fpu softvfp
	.type	spamsum_match_db, %function
spamsum_match_db:
	@ args = 0, pretend = 0, frame = 136
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #136
	str	r0, [fp, #-128]
	str	r1, [fp, #-132]
	str	r2, [fp, #-136]
	ldr	r3, .L124
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-124]
	ldr	r1, .L124+4
	ldr	r0, [fp, #-128]
	bl	fopen
	str	r0, [fp, #-120]
	ldr	r3, [fp, #-120]
	cmp	r3, #0
	bne	.L117
	mov	r3, #0
	b	.L121
.L120:
	sub	r3, fp, #108
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-116]
	ldr	r3, [fp, #-116]
	sub	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r3, [r3, #-104]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L118
	ldr	r3, [fp, #-116]
	sub	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-104]
.L118:
	sub	r3, fp, #108
	mov	r1, r3
	ldr	r0, [fp, #-132]
	bl	spamsum_match
	str	r0, [fp, #-112]
	ldr	r2, [fp, #-112]
	ldr	r3, [fp, #-124]
	cmp	r2, r3
	bls	.L117
	ldr	r3, [fp, #-112]
	str	r3, [fp, #-124]
	ldr	r2, [fp, #-124]
	ldr	r3, [fp, #-136]
	cmp	r2, r3
	bcs	.L123
.L117:
	sub	r3, fp, #108
	ldr	r2, [fp, #-120]
	mov	r1, #99
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L120
	b	.L119
.L123:
	nop
.L119:
	ldr	r0, [fp, #-120]
	bl	fclose
	ldr	r3, [fp, #-124]
.L121:
	ldr	r2, .L124
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L122
	bl	__stack_chk_fail
.L122:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L125:
	.align	2
.L124:
	.word	.LC10
	.word	.LC9
	.size	spamsum_match_db, .-spamsum_match_db
	.section	.rodata
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	spamsum_stdin, %function
spamsum_stdin:
	@ args = 0, pretend = 0, frame = 10272
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #10240
	sub	sp, sp, #36
	sub	r3, fp, #8192
	sub	r3, r3, #12
	str	r0, [r3, #-2076]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	str	r1, [r3, #-2080]
	ldr	r3, .L139
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2064]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	mov	r0, #10240
	bl	malloc
	mov	r3, r0
	str	r3, [r4, #-2068]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-2068]
	cmp	r3, #0
	bne	.L127
	mov	r3, #0
	b	.L134
.L127:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, #10240
	mov	r1, r3
	mov	r0, #0
	bl	read
	str	r0, [r4, #-2060]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-2060]
	cmn	r3, #1
	bne	.L129
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #4
	beq	.L137
.L129:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-2060]
	cmp	r3, #0
	ble	.L138
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, [r3, #-2060]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-2064]
	add	r3, r2, r3
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r4, r2
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r1, r3
	ldr	r0, [r2, #-2068]
	bl	realloc
	str	r0, [r4, #-2068]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-2068]
	cmp	r3, #0
	bne	.L133
	mov	r3, #0
	b	.L134
.L133:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, [r2, #-2068]
	ldr	r3, [r3, #-2064]
	add	r0, r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, [r3, #-2060]
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	bl	memcpy
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-2060]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r1, r2
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-2064]
	add	r3, r2, r3
	str	r3, [r1, #-2064]
	b	.L127
.L137:
	nop
	b	.L127
.L138:
	nop
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r2, fp, #8192
	sub	r2, r2, #12
	sub	r1, fp, #8192
	sub	r1, r1, #12
	sub	r0, fp, #8192
	sub	r0, r0, #12
	ldr	r3, [r3, #-2080]
	ldr	r2, [r2, #-2076]
	ldr	r1, [r1, #-2064]
	ldr	r0, [r0, #-2068]
	bl	spamsum
	str	r0, [r4, #-2056]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-2068]
	bl	free
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-2056]
.L134:
	ldr	r2, .L139
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L135
	bl	__stack_chk_fail
.L135:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L140:
	.align	2
.L139:
	.word	.LC11
	.size	spamsum_stdin, .-spamsum_stdin
	.section	.rodata
	.align	2
.LC12:
	.ascii	"-\000"
	.align	2
.LC13:
	.ascii	"fstat\000"
	.align	2
.LC14:
	.ascii	"mmap\000"
	.align	2
.LC15:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	spamsum_file
	.syntax unified
	.arm
	.fpu softvfp
	.type	spamsum_file, %function
spamsum_file:
	@ args = 0, pretend = 0, frame = 128
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #136
	str	r0, [fp, #-120]
	str	r1, [fp, #-124]
	str	r2, [fp, #-128]
	ldr	r3, .L149
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L149+4
	ldr	r0, [fp, #-120]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L142
	ldr	r1, [fp, #-128]
	ldr	r0, [fp, #-124]
	bl	spamsum_stdin
	mov	r3, r0
	b	.L147
.L142:
	mov	r1, #0
	ldr	r0, [fp, #-120]
	bl	open
	str	r0, [fp, #-112]
	ldr	r3, [fp, #-112]
	cmn	r3, #1
	bne	.L144
	ldr	r0, [fp, #-120]
	bl	perror
	mov	r3, #0
	b	.L147
.L144:
	sub	r3, fp, #100
	mov	r1, r3
	ldr	r0, [fp, #-112]
	bl	fstat
	mov	r3, r0
	cmn	r3, #1
	bne	.L145
	ldr	r0, .L149+8
	bl	perror
	mov	r3, #0
	b	.L147
.L145:
	ldr	r3, [fp, #-56]
	mov	r1, r3
	mov	r3, #0
	str	r3, [sp, #4]
	ldr	r3, [fp, #-112]
	str	r3, [sp]
	mov	r3, #2
	mov	r2, #1
	mov	r0, #0
	bl	mmap
	str	r0, [fp, #-108]
	ldr	r3, [fp, #-108]
	cmn	r3, #1
	bne	.L146
	ldr	r0, .L149+12
	bl	perror
	mov	r3, #0
	b	.L147
.L146:
	ldr	r0, [fp, #-112]
	bl	close
	ldr	r3, [fp, #-56]
	mov	r1, r3
	ldr	r3, [fp, #-128]
	ldr	r2, [fp, #-124]
	ldr	r0, [fp, #-108]
	bl	spamsum
	str	r0, [fp, #-104]
	ldr	r3, [fp, #-56]
	mov	r1, r3
	ldr	r0, [fp, #-108]
	bl	munmap
	ldr	r3, [fp, #-104]
.L147:
	ldr	r2, .L149
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L148
	bl	__stack_chk_fail
.L148:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L150:
	.align	2
.L149:
	.word	.LC15
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.size	spamsum_file, .-spamsum_file
	.section	.rodata
	.align	2
.LC16:
	.ascii	"\012spamsum v1.1 written by Andrew Tridgell <tridge"
	.ascii	"@samba.org>\012\012spamsum computes a signature str"
	.ascii	"ing that is particular good for detecting if two em"
	.ascii	"ails\012are very similar. This can be used to detec"
	.ascii	"t SPAM.\012\012Syntax:\012   spamsum [options] <fil"
	.ascii	"es>\012or\012   spamsum [options] -d sigs.txt -c SI"
	.ascii	"G\012or\012   spamsum [options] -d sigs.txt -C file"
	.ascii	"\012\012When called with a list of filenames spamsu"
	.ascii	"m will write out the\012signatures of each file on "
	.ascii	"a separate line. You can specify the\012filename '-"
	.ascii	"' for standard input.\012\012When called with the s"
	.ascii	"econd form, spamsum will print the best score\012fo"
	.ascii	"r the given signature with the signatures in the gi"
	.ascii	"ven database. A\012score of 100 means a perfect mat"
	.ascii	"ch, and a score of 0 means a complete\012mismatch.\012"
	.ascii	"\012When checking, spamsum returns 0 (success) when"
	.ascii	" the message *is* spam,\0121 for internal errors, a"
	.ascii	"nd 2 for messages whose signature is not\012found.\012"
	.ascii	"\012The 3rd form is just like the second form, but "
	.ascii	"you pass a file\012containing a message instead of "
	.ascii	"a pre-computed signature.\012\012Options:\012   -W "
	.ascii	"             ignore whitespace\012   -H            "
	.ascii	"  skip past mail headers\012   -B <bsize>      forc"
	.ascii	"e a block size of bsize\012   -T <threshold>  set t"
	.ascii	"he threshold above which spamsum will stop\012     "
	.ascii	"              looking (default 90)\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	show_help, %function
show_help:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L152
	bl	puts
	nop
	pop	{fp, pc}
.L153:
	.align	2
.L152:
	.word	.LC16
	.size	show_help, .-show_help
	.section	.rodata
	.align	2
.LC17:
	.ascii	"%u\012\000"
	.align	2
.LC18:
	.ascii	"B:WHd:c:C:hT:\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #90
	str	r3, [fp, #-20]
	b	.L155
.L171:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #66
	cmp	r3, #34
	ldrls	pc, [pc, r3, asl #2]
	b	.L156
.L158:
	.word	.L164
	.word	.L163
	.word	.L156
	.word	.L156
	.word	.L156
	.word	.L156
	.word	.L162
	.word	.L156
	.word	.L156
	.word	.L156
	.word	.L156
	.word	.L156
	.word	.L156
	.word	.L156
	.word	.L156
	.word	.L156
	.word	.L156
	.word	.L156
	.word	.L161
	.word	.L156
	.word	.L156
	.word	.L160
	.word	.L156
	.word	.L156
	.word	.L156
	.word	.L156
	.word	.L156
	.word	.L156
	.word	.L156
	.word	.L156
	.word	.L156
	.word	.L156
	.word	.L156
	.word	.L159
	.word	.L157
.L160:
	ldr	r3, [fp, #-28]
	orr	r3, r3, #1
	str	r3, [fp, #-28]
	b	.L155
.L162:
	ldr	r3, [fp, #-28]
	orr	r3, r3, #2
	str	r3, [fp, #-28]
	b	.L155
.L157:
	ldr	r3, .L176
	ldr	r3, [r3]
	str	r3, [fp, #-36]
	b	.L155
.L164:
	ldr	r3, .L176
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	str	r3, [fp, #-24]
	b	.L155
.L161:
	ldr	r3, .L176
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	str	r3, [fp, #-20]
	b	.L155
.L159:
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L165
	bl	show_help
	mov	r0, #1
	bl	exit
.L165:
	ldr	r3, .L176
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	mov	r1, r3
	ldr	r0, [fp, #-36]
	bl	spamsum_match_db
	str	r0, [fp, #-8]
	ldr	r1, [fp, #-8]
	ldr	r0, .L176+4
	bl	printf
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bcc	.L166
	mov	r3, #0
	b	.L167
.L166:
	mov	r3, #2
.L167:
	mov	r0, r3
	bl	exit
.L163:
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L168
	bl	show_help
	mov	r0, #1
	bl	exit
.L168:
	ldr	r3, .L176
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-28]
	mov	r0, r3
	bl	spamsum_file
	mov	r3, r0
	ldr	r2, [fp, #-20]
	mov	r1, r3
	ldr	r0, [fp, #-36]
	bl	spamsum_match_db
	str	r0, [fp, #-8]
	ldr	r1, [fp, #-8]
	ldr	r0, .L176+4
	bl	printf
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bcc	.L169
	mov	r3, #0
	b	.L170
.L169:
	mov	r3, #2
.L170:
	mov	r0, r3
	bl	exit
.L156:
	bl	show_help
	mov	r0, #0
	bl	exit
.L155:
	ldr	r2, .L176+8
	ldr	r1, [fp, #-44]
	ldr	r0, [fp, #-40]
	bl	getopt
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmn	r3, #1
	bne	.L171
	ldr	r3, .L176+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-40]
	sub	r3, r2, r3
	str	r3, [fp, #-40]
	ldr	r3, .L176+12
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L172
	bl	show_help
	mov	r3, #0
	b	.L173
.L172:
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L174
.L175:
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-28]
	mov	r0, r3
	bl	spamsum_file
	str	r0, [fp, #-12]
	ldr	r0, [fp, #-12]
	bl	puts
	ldr	r0, [fp, #-12]
	bl	free
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L174:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	blt	.L175
	mov	r3, #0
.L173:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L177:
	.align	2
.L176:
	.word	optarg
	.word	.LC17
	.word	.LC18
	.word	optind
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
