	.file	"193893936.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 32
	.type	hextable, @object
	.size	hextable, 256
hextable:
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	"\001\002\003\004\005\006\007\b\t"
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	"\n\013\f\r\016\017"
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	"\n\013\f\r\016\017"
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.align 32
	.type	monograph, @object
	.size	monograph, 70
monograph:
	.string	" etaoinsrhldcumgyfpwb.,vk0-'x)(1j2:q\"/5!?z346879%[]*=+|_;\\>$#^&@<~{}`"
	.align 32
	.type	digraph, @object
	.size	digraph, 249
digraph:
	.string	"thheineranreonatenndstorteesishaouittoedtingarsealntasleveofmehieanedecorollriliraiobeelchiccetamauromhoetnoutsicalailfouspeoteclodinsgelyacwiwhtreesounrswaowidadaissprctwemoolemncrtshpoieulimtsamiryofiospanildsaaykeminaoosudoigevghbliftuavplworybu"
	.align 32
	.type	trigraph, @object
	.size	trigraph, 277
trigraph:
	.ascii	"theingandionenthathe"
	.string	"rtiothafortererehisyouthiateverallatiithreaconwitareersintncestanoteveresisttedonsessaveearoutillwasourmenprocomestomeoneectivetinhinhavghtbutighoreainstroulperstiineuldsteturmanothounromblenteoveindhanhouwhifrousederameideortundrinctianthenendthoartredlin"
	.local	debug
	.comm	debug,4,4
	.local	verbose
	.comm	verbose,4,4
	.text
	.globl	capslock
	.type	capslock, @function
capslock:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	BYTE PTR -20[rbp], al
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L2
.L6:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 64
	jle	.L3
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 90
	jg	.L3
	cmp	BYTE PTR -20[rbp], 0
	je	.L4
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	add	eax, 32
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], dl
	jmp	.L3
.L4:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	sub	eax, 32
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], dl
.L3:
	add	QWORD PTR -8[rbp], 1
.L2:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L8
	mov	rdx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	cmp	QWORD PTR -8[rbp], rax
	jb	.L6
	nop
.L8:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	capslock, .-capslock
	.globl	unprintable_score
	.type	unprintable_score, @function
unprintable_score:
.LFB7:
	.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	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L10
.L15:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -5[rbp], al
	cmp	BYTE PTR -5[rbp], 31
	jbe	.L11
	cmp	BYTE PTR -5[rbp], 126
	jbe	.L12
.L11:
	mov	eax, -1
	jmp	.L13
.L12:
	add	DWORD PTR -4[rbp], 1
.L10:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L14
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	cmp	QWORD PTR -24[rbp], rax
	ja	.L15
.L14:
	mov	eax, 0
.L13:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	unprintable_score, .-unprintable_score
	.globl	stringXOR
	.type	stringXOR, @function
stringXOR:
.LFB8:
	.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	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	eax, ecx
	mov	BYTE PTR -44[rbp], al
	mov	DWORD PTR -4[rbp], 0
	jmp	.L17
.L18:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rcx, edx
	mov	rdx, QWORD PTR -40[rbp]
	add	rdx, rcx
	xor	al, BYTE PTR -44[rbp]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -4[rbp], 1
.L17:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	cmp	QWORD PTR -24[rbp], rax
	ja	.L18
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	stringXOR, .-stringXOR
	.section	.rodata
.LC0:
	.string	"DEBUG: \tScore=%4d\tText=%s\n"
	.text
	.globl	plaintext_score
	.type	plaintext_score, @function
plaintext_score:
.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, 112
	mov	QWORD PTR -104[rbp], rdi
	mov	QWORD PTR -112[rbp], rsi
	mov	rdx, QWORD PTR -112[rbp]
	mov	rax, QWORD PTR -104[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	unprintable_score
	mov	DWORD PTR -92[rbp], eax
	cmp	DWORD PTR -92[rbp], 0
	jns	.L20
	mov	eax, DWORD PTR -92[rbp]
	jmp	.L21
.L20:
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	QWORD PTR -88[rbp], 0
	jmp	.L22
.L24:
	mov	rdx, QWORD PTR -112[rbp]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -88[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	add	QWORD PTR -88[rbp], 1
.L22:
	mov	rdx, QWORD PTR -112[rbp]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L23
	mov	rax, QWORD PTR -88[rbp]
	cmp	rax, QWORD PTR -104[rbp]
	jb	.L24
.L23:
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -104[rbp]
	mov	rsi, rax
	mov	edi, 1
	call	capslock
	cmp	QWORD PTR -104[rbp], 2
	jbe	.L25
	mov	QWORD PTR -80[rbp], 0
	jmp	.L26
.L30:
	mov	QWORD PTR -72[rbp], 0
	mov	QWORD PTR -64[rbp], 277
	jmp	.L27
.L29:
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	edx, al
	lea	rcx, trigraph[rip]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	cmp	edx, eax
	jne	.L28
	mov	rax, QWORD PTR -80[rbp]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	edx, al
	mov	rax, QWORD PTR -72[rbp]
	lea	rcx, 1[rax]
	lea	rax, trigraph[rip]
	movzx	eax, BYTE PTR [rcx+rax]
	movzx	eax, al
	cmp	edx, eax
	jne	.L28
	mov	rax, QWORD PTR -80[rbp]
	lea	rdx, 2[rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	edx, al
	mov	rax, QWORD PTR -72[rbp]
	lea	rcx, 2[rax]
	lea	rax, trigraph[rip]
	movzx	eax, BYTE PTR [rcx+rax]
	movzx	eax, al
	cmp	edx, eax
	jne	.L28
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -92[rbp]
	add	eax, edx
	mov	DWORD PTR -92[rbp], eax
.L28:
	add	QWORD PTR -72[rbp], 3
	sub	QWORD PTR -64[rbp], 3
.L27:
	cmp	QWORD PTR -72[rbp], 276
	jbe	.L29
	add	QWORD PTR -80[rbp], 1
.L26:
	mov	rax, QWORD PTR -80[rbp]
	lea	rdx, 2[rax]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L25
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 2
	cmp	QWORD PTR -104[rbp], rax
	ja	.L30
.L25:
	cmp	QWORD PTR -104[rbp], 1
	jbe	.L31
	mov	QWORD PTR -56[rbp], 0
	jmp	.L32
.L36:
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 249
	jmp	.L33
.L35:
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	edx, al
	lea	rcx, digraph[rip]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	cmp	edx, eax
	jne	.L34
	mov	rax, QWORD PTR -56[rbp]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	edx, al
	mov	rax, QWORD PTR -48[rbp]
	lea	rcx, 1[rax]
	lea	rax, digraph[rip]
	movzx	eax, BYTE PTR [rcx+rax]
	movzx	eax, al
	cmp	edx, eax
	jne	.L34
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -92[rbp]
	add	eax, edx
	mov	DWORD PTR -92[rbp], eax
.L34:
	add	QWORD PTR -48[rbp], 2
	sub	QWORD PTR -40[rbp], 2
.L33:
	cmp	QWORD PTR -48[rbp], 248
	jbe	.L35
	add	QWORD PTR -56[rbp], 1
.L32:
	mov	rax, QWORD PTR -56[rbp]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L31
	mov	rax, QWORD PTR -56[rbp]
	add	rax, 1
	cmp	QWORD PTR -104[rbp], rax
	ja	.L36
.L31:
	mov	QWORD PTR -32[rbp], 0
	jmp	.L37
.L42:
	mov	QWORD PTR -24[rbp], 0
	mov	QWORD PTR -16[rbp], 70
	jmp	.L38
.L40:
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	edx, al
	lea	rcx, monograph[rip]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	cmp	edx, eax
	jne	.L39
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -92[rbp]
	add	eax, edx
	mov	DWORD PTR -92[rbp], eax
.L39:
	add	QWORD PTR -24[rbp], 1
	sub	QWORD PTR -16[rbp], 1
.L38:
	cmp	QWORD PTR -24[rbp], 69
	jbe	.L40
	add	QWORD PTR -32[rbp], 1
.L37:
	mov	rdx, QWORD PTR -112[rbp]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L41
	mov	rax, QWORD PTR -32[rbp]
	cmp	rax, QWORD PTR -104[rbp]
	jb	.L42
.L41:
	mov	eax, DWORD PTR debug[rip]
	test	eax, eax
	je	.L43
	mov	rdx, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR -92[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
.L43:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, DWORD PTR -92[rbp]
.L21:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	plaintext_score, .-plaintext_score
	.globl	cipher_score
	.type	cipher_score, @function
cipher_score:
.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, 64
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	mov	BYTE PTR -26[rbp], 0
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	je	.L45
	cmp	QWORD PTR -8[rbp], 0
	jne	.L46
.L45:
	mov	eax, 1
	jmp	.L47
.L46:
	mov	DWORD PTR -20[rbp], 0
	mov	DWORD PTR -24[rbp], -2
	mov	BYTE PTR -25[rbp], 0
.L49:
	movzx	eax, BYTE PTR -26[rbp]
	movsx	ecx, al
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	stringXOR
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	plaintext_score
	mov	DWORD PTR -20[rbp], eax
	movzx	eax, BYTE PTR -26[rbp]
	add	eax, 1
	mov	BYTE PTR -26[rbp], al
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -24[rbp]
	jl	.L48
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -24[rbp], eax
	movzx	eax, BYTE PTR -26[rbp]
	mov	BYTE PTR -25[rbp], al
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 1[rax]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
.L48:
	cmp	BYTE PTR -26[rbp], 0
	jne	.L49
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -56[rbp]
	movzx	edx, BYTE PTR -25[rbp]
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR -24[rbp]
	mov	DWORD PTR 4[rax], edx
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rcx, QWORD PTR -8[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
.L47:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	cipher_score, .-cipher_score
	.globl	hex2char
	.type	hex2char, @function
hex2char:
.LFB11:
	.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	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	jmp	.L51
.L52:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edx, eax
	lea	rax, hextable[rip]
	movzx	eax, BYTE PTR [rdx+rax]
	movzx	eax, al
	sal	eax, 4
	mov	BYTE PTR -9[rbp], al
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edx, eax
	lea	rax, hextable[rip]
	movzx	eax, BYTE PTR [rdx+rax]
	or	BYTE PTR -9[rbp], al
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -9[rbp]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -8[rbp], 2
	add	DWORD PTR -4[rbp], 1
.L51:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	cmp	QWORD PTR -24[rbp], rax
	ja	.L52
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	hex2char, .-hex2char
	.section	.rodata
.LC1:
	.string	"-d"
.LC2:
	.string	"-f"
.LC3:
	.string	"-v"
.LC4:
	.string	"-"
.LC5:
	.string	"r"
	.align 8
.LC6:
	.string	"Best line was %d XORed with %x, with a score of %d.\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 384
	mov	DWORD PTR -372[rbp], edi
	mov	QWORD PTR -384[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -336[rbp], 0
	mov	QWORD PTR -272[rbp], 0
	mov	QWORD PTR -264[rbp], 0
	lea	rdx, -256[rbp]
	mov	eax, 0
	mov	ecx, 29
	mov	rdi, rdx
	rep stosq
	mov	rdx, rdi
	mov	DWORD PTR [rdx], eax
	add	rdx, 4
	mov	WORD PTR [rdx], ax
	add	rdx, 2
	mov	BYTE PTR [rdx], al
	add	rdx, 1
	mov	DWORD PTR -364[rbp], 1
	jmp	.L55
.L60:
	mov	eax, DWORD PTR -364[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -384[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L56
	mov	DWORD PTR debug[rip], 1
	jmp	.L57
.L56:
	mov	eax, DWORD PTR -364[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -384[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L58
	add	DWORD PTR -364[rbp], 1
	mov	eax, DWORD PTR -364[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -384[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	lea	rax, -272[rbp]
	mov	edx, 254
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	jmp	.L57
.L58:
	mov	eax, DWORD PTR -364[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -384[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L57
	mov	DWORD PTR verbose[rip], 1
.L57:
	add	DWORD PTR -364[rbp], 1
.L55:
	mov	eax, DWORD PTR -364[rbp]
	cmp	eax, DWORD PTR -372[rbp]
	jge	.L59
	mov	eax, DWORD PTR -364[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -384[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L60
.L59:
	mov	DWORD PTR -352[rbp], 0
	movzx	eax, BYTE PTR -272[rbp]
	test	al, al
	je	.L61
	lea	rax, -272[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -328[rbp], rax
	jmp	.L66
.L61:
	mov	rax, QWORD PTR stdin[rip]
	mov	QWORD PTR -328[rbp], rax
.L66:
	mov	rax, QWORD PTR -328[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	BYTE PTR -365[rbp], al
	cmp	BYTE PTR -365[rbp], 10
	jne	.L63
	add	DWORD PTR -356[rbp], 1
	mov	eax, DWORD PTR -360[rbp]
	cmp	eax, DWORD PTR -352[rbp]
	jle	.L64
	mov	eax, DWORD PTR -360[rbp]
	mov	DWORD PTR -352[rbp], eax
.L64:
	mov	DWORD PTR -360[rbp], 0
	jmp	.L65
.L63:
	cmp	BYTE PTR -365[rbp], -1
	je	.L65
	add	DWORD PTR -360[rbp], 1
.L65:
	cmp	BYTE PTR -365[rbp], -1
	jne	.L66
	cmp	DWORD PTR -360[rbp], 0
	je	.L67
	add	DWORD PTR -356[rbp], 1
	mov	eax, DWORD PTR -360[rbp]
	cmp	eax, DWORD PTR -352[rbp]
	jle	.L67
	mov	eax, DWORD PTR -360[rbp]
	mov	DWORD PTR -352[rbp], eax
.L67:
	mov	rax, QWORD PTR -328[rbp]
	mov	rdi, rax
	call	rewind@PLT
	mov	eax, DWORD PTR -352[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR -332[rbp], eax
	mov	eax, DWORD PTR -352[rbp]
	add	eax, 1
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -320[rbp], rax
	mov	eax, DWORD PTR -332[rbp]
	add	eax, 1
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -312[rbp], rax
	mov	eax, DWORD PTR -332[rbp]
	add	eax, 1
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -304[rbp], rax
	mov	rax, QWORD PTR -304[rbp]
	mov	QWORD PTR -280[rbp], rax
	mov	DWORD PTR -348[rbp], -2
	mov	eax, DWORD PTR -332[rbp]
	add	eax, 1
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -296[rbp], rax
	mov	DWORD PTR -344[rbp], 0
	mov	DWORD PTR -340[rbp], 0
	mov	BYTE PTR -366[rbp], 0
	jmp	.L68
.L70:
	mov	rax, QWORD PTR -320[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	je	.L68
	mov	eax, DWORD PTR -352[rbp]
	cdqe
	mov	rdx, QWORD PTR -312[rbp]
	mov	rcx, QWORD PTR -320[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	hex2char
	mov	eax, DWORD PTR -332[rbp]
	cdqe
	lea	rdx, -288[rbp]
	mov	rcx, QWORD PTR -312[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	cipher_score
	mov	eax, DWORD PTR -284[rbp]
	cmp	DWORD PTR -348[rbp], eax
	jge	.L69
	mov	eax, DWORD PTR -284[rbp]
	mov	DWORD PTR -348[rbp], eax
	movzx	eax, BYTE PTR -288[rbp]
	mov	BYTE PTR -366[rbp], al
	mov	eax, DWORD PTR -332[rbp]
	add	eax, 1
	movsx	rdx, eax
	mov	rcx, QWORD PTR -280[rbp]
	mov	rax, QWORD PTR -296[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	mov	eax, DWORD PTR -344[rbp]
	mov	DWORD PTR -340[rbp], eax
.L69:
	add	DWORD PTR -344[rbp], 1
.L68:
	mov	eax, DWORD PTR -352[rbp]
	lea	ecx, 1[rax]
	mov	rdx, QWORD PTR -328[rbp]
	mov	rax, QWORD PTR -320[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L70
	mov	eax, DWORD PTR verbose[rip]
	test	eax, eax
	je	.L71
	movzx	edx, BYTE PTR -366[rbp]
	mov	ecx, DWORD PTR -348[rbp]
	mov	eax, DWORD PTR -340[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
.L71:
	mov	rax, QWORD PTR -296[rbp]
	mov	rdi, rax
	call	puts@PLT
	mov	rax, QWORD PTR -304[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -296[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -312[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -320[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -328[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -336[rbp]
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L73
	call	__stack_chk_fail@PLT
.L73:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.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	"193893936.c"
	.text
	.section	.rodata
	.align	2
	.type	hextable, %object
	.size	hextable, 256
hextable:
	.ascii	"\000\000\000\000\000\000\000\000\000\000\000\000\000"
	.ascii	"\000\000\000\000\000\000\000\000\000\000\000\000\000"
	.ascii	"\000\000\000\000\000\000\000\000\000\000\000\000\000"
	.ascii	"\000\000\000\000\000\000\000\000\000\000\001\002\003"
	.ascii	"\004\005\006\007\010\011\000\000\000\000\000\000\000"
	.ascii	"\012\013\014\015\016\017\000\000\000\000\000\000\000"
	.ascii	"\000\000\000\000\000\000\000\000\000\000\000\000\000"
	.ascii	"\000\000\000\000\000\000\012\013\014\015\016\017\000"
	.ascii	"\000\000\000\000\000\000\000\000\000\000\000\000\000"
	.ascii	"\000\000\000\000\000\000\000\000\000\000\000\000\000"
	.ascii	"\000\000\000\000\000\000\000\000\000\000\000\000\000"
	.ascii	"\000\000\000\000\000\000\000\000\000\000\000\000\000"
	.ascii	"\000\000\000\000\000\000\000\000\000\000\000\000\000"
	.ascii	"\000\000\000\000\000\000\000\000\000\000\000\000\000"
	.ascii	"\000\000\000\000\000\000\000\000\000\000\000\000\000"
	.ascii	"\000\000\000\000\000\000\000\000\000\000\000\000\000"
	.ascii	"\000\000\000\000\000\000\000\000\000\000\000\000\000"
	.ascii	"\000\000\000\000\000\000\000\000\000\000\000\000\000"
	.ascii	"\000\000\000\000\000\000\000\000\000\000\000\000\000"
	.ascii	"\000\000\000\000\000\000\000\000\000"
	.align	2
	.type	monograph, %object
	.size	monograph, 70
monograph:
	.ascii	" etaoinsrhldcumgyfpwb.,vk0-'x)(1j2:q\"/5!?z346879%["
	.ascii	"]*=+|_;\\>$#^&@<~{}`\000"
	.align	2
	.type	digraph, %object
	.size	digraph, 249
digraph:
	.ascii	"thheineranreonatenndstorteesishaouittoedtingarsealn"
	.ascii	"tasleveofmehieanedecorollriliraiobeelchiccetamaurom"
	.ascii	"hoetnoutsicalailfouspeoteclodinsgelyacwiwhtreesounr"
	.ascii	"swaowidadaissprctwemoolemncrtshpoieulimtsamiryofios"
	.ascii	"panildsaaykeminaoosudoigevghbliftuavplworybu\000"
	.align	2
	.type	trigraph, %object
	.size	trigraph, 277
trigraph:
	.ascii	"theingandionenthathertiothafortererehisyouthiatever"
	.ascii	"allatiithreaconwitareersintncestanoteveresisttedons"
	.ascii	"essaveearoutillwasourmenprocomestomeoneectivetinhin"
	.ascii	"havghtbutighoreainstroulperstiineuldsteturmanothoun"
	.ascii	"romblenteoveindhanhouwhifrousederameideortundrincti"
	.ascii	"anthenendthoartredlin\000"
	.local	debug
	.comm	debug,4,4
	.local	verbose
	.comm	verbose,4,4
	.text
	.align	2
	.global	capslock
	.syntax unified
	.arm
	.fpu softvfp
	.type	capslock, %function
capslock:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	mov	r3, r0
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	strb	r3, [fp, #-13]
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-8]
	b	.L2
.L6:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #64
	bls	.L3
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #90
	bhi	.L3
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L4
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r3, #32
	and	r2, r3, #255
	ldr	r3, [fp, #-8]
	strb	r2, [r3]
	b	.L3
.L4:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #32
	and	r2, r3, #255
	ldr	r3, [fp, #-8]
	strb	r2, [r3]
.L3:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L8
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bcc	.L6
	nop
.L8:
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	capslock, .-capslock
	.align	2
	.global	unprintable_score
	.syntax unified
	.arm
	.fpu softvfp
	.type	unprintable_score, %function
unprintable_score:
	@ 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, #-8]
	b	.L10
.L15:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-9]
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #31
	bls	.L11
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #126
	bls	.L12
.L11:
	mvn	r3, #0
	b	.L13
.L12:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L10:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L14
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bhi	.L15
.L14:
	mov	r3, #0
.L13:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	unprintable_score, .-unprintable_score
	.align	2
	.global	stringXOR
	.syntax unified
	.arm
	.fpu softvfp
	.type	stringXOR, %function
stringXOR:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	strb	r3, [fp, #-25]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L17
.L18:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r2, [fp, #-25]
	eor	r2, r2, r1
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L17:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bhi	.L18
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	stringXOR, .-stringXOR
	.section	.rodata
	.align	2
.LC0:
	.ascii	"DEBUG: \011Score=%4d\011Text=%s\012\000"
	.text
	.align	2
	.global	plaintext_score
	.syntax unified
	.arm
	.fpu softvfp
	.type	plaintext_score, %function
plaintext_score:
	@ 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	r1, [fp, #-60]
	ldr	r0, [fp, #-56]
	bl	unprintable_score
	str	r0, [fp, #-52]
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	bge	.L20
	ldr	r3, [fp, #-52]
	b	.L21
.L20:
	ldr	r0, [fp, #-56]
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L22
.L24:
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-48]
	add	r2, r2, r3
	ldr	r1, [fp, #-8]
	ldr	r3, [fp, #-48]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L22:
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-48]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L23
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-56]
	cmp	r2, r3
	bcc	.L24
.L23:
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #-56]
	mov	r0, #1
	bl	capslock
	ldr	r3, [fp, #-56]
	cmp	r3, #2
	bls	.L25
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L26
.L30:
	mov	r3, #0
	str	r3, [fp, #-40]
	ldr	r3, .L44
	str	r3, [fp, #-36]
	b	.L27
.L29:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-44]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r1, .L44+4
	ldr	r3, [fp, #-40]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L28
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	ldr	r1, .L44+4
	ldrb	r3, [r1, r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L28
	ldr	r3, [fp, #-44]
	add	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-40]
	add	r3, r3, #2
	ldr	r1, .L44+4
	ldrb	r3, [r1, r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L28
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	str	r3, [fp, #-52]
.L28:
	ldr	r3, [fp, #-40]
	add	r3, r3, #3
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-36]
	sub	r3, r3, #3
	str	r3, [fp, #-36]
.L27:
	ldr	r3, [fp, #-40]
	cmp	r3, #276
	bls	.L29
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L26:
	ldr	r3, [fp, #-44]
	add	r3, r3, #2
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L25
	ldr	r3, [fp, #-44]
	add	r3, r3, #2
	ldr	r2, [fp, #-56]
	cmp	r2, r3
	bhi	.L30
.L25:
	ldr	r3, [fp, #-56]
	cmp	r3, #1
	bls	.L31
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L32
.L36:
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #249
	str	r3, [fp, #-24]
	b	.L33
.L35:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r1, .L44+8
	ldr	r3, [fp, #-28]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L34
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	ldr	r1, .L44+8
	ldrb	r3, [r1, r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L34
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	str	r3, [fp, #-52]
.L34:
	ldr	r3, [fp, #-28]
	add	r3, r3, #2
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-24]
	sub	r3, r3, #2
	str	r3, [fp, #-24]
.L33:
	ldr	r3, [fp, #-28]
	cmp	r3, #248
	bls	.L35
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L32:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L31
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	ldr	r2, [fp, #-56]
	cmp	r2, r3
	bhi	.L36
.L31:
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L37
.L42:
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #70
	str	r3, [fp, #-12]
	b	.L38
.L40:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r1, .L44+12
	ldr	r3, [fp, #-16]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L39
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	str	r3, [fp, #-52]
.L39:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
.L38:
	ldr	r3, [fp, #-16]
	cmp	r3, #69
	bls	.L40
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L37:
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L41
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-56]
	cmp	r2, r3
	bcc	.L42
.L41:
	ldr	r3, .L44+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L43
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #-52]
	ldr	r0, .L44+20
	bl	printf
.L43:
	ldr	r0, [fp, #-8]
	bl	free
	ldr	r3, [fp, #-52]
.L21:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L45:
	.align	2
.L44:
	.word	277
	.word	trigraph
	.word	digraph
	.word	monograph
	.word	debug
	.word	.LC0
	.size	plaintext_score, .-plaintext_score
	.align	2
	.global	cipher_score
	.syntax unified
	.arm
	.fpu softvfp
	.type	cipher_score, %function
cipher_score:
	@ 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, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	mov	r3, #0
	strb	r3, [fp, #-22]
	ldr	r0, [fp, #-32]
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r0, [fp, #-32]
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L47
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L48
.L47:
	mov	r3, #1
	b	.L49
.L48:
	mov	r3, #0
	str	r3, [fp, #-8]
	mvn	r3, #1
	str	r3, [fp, #-20]
	mov	r3, #0
	strb	r3, [fp, #-21]
.L51:
	ldrb	r3, [fp, #-22]	@ zero_extendqisi2
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-32]
	bl	stringXOR
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-32]
	bl	plaintext_score
	str	r0, [fp, #-8]
	ldrb	r3, [fp, #-22]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-22]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L50
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-20]
	ldrb	r3, [fp, #-22]
	strb	r3, [fp, #-21]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	mov	r2, r3
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-12]
	bl	memcpy
.L50:
	ldrb	r3, [fp, #-22]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L51
	ldr	r0, [fp, #-16]
	bl	free
	ldr	r3, [fp, #-40]
	ldrb	r2, [fp, #-21]
	strb	r2, [r3]
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-20]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-40]
	ldr	r0, [r3, #8]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	mov	r2, r3
	ldr	r1, [fp, #-12]
	bl	memcpy
	ldr	r0, [fp, #-12]
	bl	free
	mov	r3, #0
.L49:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	cipher_score, .-cipher_score
	.align	2
	.global	hex2char
	.syntax unified
	.arm
	.fpu softvfp
	.type	hex2char, %function
hex2char:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #36
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L53
.L54:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L56
	ldrb	r3, [r3, r2]	@ zero_extendqisi2
	lsl	r3, r3, #4
	strb	r3, [fp, #-13]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L56
	ldrb	r2, [r3, r2]	@ zero_extendqisi2
	ldrb	r3, [fp, #-13]
	orr	r3, r2, r3
	strb	r3, [fp, #-13]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r2, [fp, #-13]
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #2
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L53:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bhi	.L54
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L57:
	.align	2
.L56:
	.word	hextable
	.size	hex2char, .-hex2char
	.section	.rodata
	.align	2
.LC1:
	.ascii	"-d\000"
	.align	2
.LC2:
	.ascii	"-f\000"
	.align	2
.LC3:
	.ascii	"-v\000"
	.align	2
.LC4:
	.ascii	"-\000"
	.align	2
.LC5:
	.ascii	"r\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 = 312
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #312
	str	r0, [fp, #-312]
	str	r1, [fp, #-316]
	ldr	r3, .L72
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-300]
	mov	r3, #0
	str	r3, [fp, #-264]
	sub	r3, fp, #260
	mov	r2, #251
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #1
	str	r3, [fp, #-296]
	b	.L59
.L64:
	ldr	r3, [fp, #-296]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-316]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L72+4
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L60
	ldr	r3, .L72+8
	mov	r2, #1
	str	r2, [r3]
	b	.L61
.L60:
	ldr	r3, [fp, #-296]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-316]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L72+12
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L62
	ldr	r3, [fp, #-296]
	add	r3, r3, #1
	str	r3, [fp, #-296]
	ldr	r3, [fp, #-296]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-316]
	add	r3, r2, r3
	ldr	r1, [r3]
	sub	r3, fp, #264
	mov	r2, #254
	mov	r0, r3
	bl	strncpy
	b	.L61
.L62:
	ldr	r3, [fp, #-296]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-316]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L72+16
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L61
	ldr	r3, .L72+20
	mov	r2, #1
	str	r2, [r3]
.L61:
	ldr	r3, [fp, #-296]
	add	r3, r3, #1
	str	r3, [fp, #-296]
.L59:
	ldr	r2, [fp, #-296]
	ldr	r3, [fp, #-312]
	cmp	r2, r3
	bge	.L63
	ldr	r3, [fp, #-296]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-316]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L72+24
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L64
.L63:
	mov	r3, #0
	str	r3, [fp, #-292]
	ldrb	r3, [fp, #-264]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L65
	sub	r3, fp, #264
	ldr	r1, .L72+28
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-288]
	b	.L70
.L65:
	ldr	r3, .L72+32
	ldr	r3, [r3]
	str	r3, [fp, #-288]
.L70:
	ldr	r0, [fp, #-288]
	bl	fgetc
	mov	r3, r0
	strb	r3, [fp, #-301]
	ldrb	r3, [fp, #-301]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L67
	ldr	r3, [fp, #-284]
	add	r3, r3, #1
	str	r3, [fp, #-284]
	ldr	r2, [fp, #-280]
	ldr	r3, [fp, #-292]
	cmp	r2, r3
	ble	.L68
	ldr	r3, [fp, #-280]
	str	r3, [fp, #-292]
.L68:
	mov	r3, #0
	str	r3, [fp, #-280]
	b	.L70
.L67:
	ldr	r3, [fp, #-280]
	add	r3, r3, #1
	str	r3, [fp, #-280]
	b	.L70
.L73:
	.align	2
.L72:
	.word	.LC6
	.word	.LC1
	.word	debug
	.word	.LC2
	.word	.LC3
	.word	verbose
	.word	.LC4
	.word	.LC5
	.word	stdin
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
