	.file	"31389059.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Position: %d\n"
.LC1:
	.string	"Payload byte (dec): %d\n"
.LC2:
	.string	"Key byte (dec): %d\n"
.LC3:
	.string	"Encrypted byte (dec): %d\n\n"
.LC4:
	.string	"\nEncrypted: "
.LC5:
	.string	"\\x%02x"
	.text
	.globl	encrypt
	.type	encrypt, @function
encrypt:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 88
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	QWORD PTR -104[rbp], rdi
	mov	QWORD PTR -112[rbp], rsi
	mov	QWORD PTR -120[rbp], rdx
	mov	eax, ecx
	mov	WORD PTR -124[rbp], ax
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -84[rbp], eax
	mov	eax, DWORD PTR -84[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -72[rbp], rdx
	movsx	rdx, eax
	mov	r14, rdx
	mov	r15d, 0
	movsx	rdx, eax
	mov	r12, rdx
	mov	r13d, 0
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L2:
	cmp	rsp, rdx
	je	.L3
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L2
.L3:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L4
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L4:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -64[rbp], rax
	mov	DWORD PTR -88[rbp], 0
	jmp	.L5
.L7:
	mov	eax, DWORD PTR -88[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	DWORD PTR -80[rbp], eax
	mov	eax, DWORD PTR -88[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	DWORD PTR -76[rbp], eax
	mov	eax, DWORD PTR -76[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 8
	sub	rax, rdx
	sal	rax, 2
	lea	rdx, -1020[rax]
	mov	rax, QWORD PTR -104[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -80[rbp]
	sub	eax, 1
	cdqe
	mov	ecx, DWORD PTR [rdx+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -88[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [rax+rdx*4], ecx
	cmp	WORD PTR -124[rbp], 0
	je	.L6
	mov	eax, DWORD PTR -88[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -88[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -76[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -88[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
.L6:
	add	DWORD PTR -88[rbp], 1
.L5:
	mov	eax, DWORD PTR -88[rbp]
	cmp	eax, DWORD PTR -84[rbp]
	jl	.L7
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -92[rbp], 0
	jmp	.L8
.L9:
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -92[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -92[rbp], 1
.L8:
	mov	eax, DWORD PTR -92[rbp]
	cmp	eax, DWORD PTR -84[rbp]
	jl	.L9
	mov	edi, 10
	call	putchar@PLT
	mov	eax, 0
	mov	rsp, rbx
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	encrypt, .-encrypt
	.section	.rodata
.LC6:
	.string	"Decrypted byte (dec): %d\n\n"
.LC7:
	.string	"\nDecrypted: "
	.text
	.globl	decrypt
	.type	decrypt, @function
decrypt:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 104
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	QWORD PTR -120[rbp], rdi
	mov	QWORD PTR -128[rbp], rsi
	mov	QWORD PTR -136[rbp], rdx
	mov	eax, ecx
	mov	edx, r8d
	mov	WORD PTR -140[rbp], ax
	mov	eax, edx
	mov	WORD PTR -144[rbp], ax
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	mov	rax, QWORD PTR -136[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -92[rbp], eax
	mov	eax, DWORD PTR -92[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -80[rbp], rdx
	movsx	rdx, eax
	mov	r14, rdx
	mov	r15d, 0
	movsx	rdx, eax
	mov	r12, rdx
	mov	r13d, 0
	cdqe
	mov	edx, 16
	sub	rdx, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L13:
	cmp	rsp, rdx
	je	.L14
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L13
.L14:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L15
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L15:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -72[rbp], rax
	mov	DWORD PTR -96[rbp], 0
	jmp	.L16
.L22:
	mov	eax, DWORD PTR -96[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	DWORD PTR -88[rbp], eax
	mov	eax, DWORD PTR -96[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -128[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	DWORD PTR -84[rbp], eax
	mov	DWORD PTR -100[rbp], 0
	jmp	.L17
.L21:
	mov	eax, DWORD PTR -84[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 8
	sub	rax, rdx
	sal	rax, 2
	lea	rdx, -1020[rax]
	mov	rax, QWORD PTR -120[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	DWORD PTR -88[rbp], eax
	jne	.L18
	cmp	WORD PTR -144[rbp], 0
	je	.L19
	mov	eax, DWORD PTR -96[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -96[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -84[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, DWORD PTR -100[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
.L19:
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, DWORD PTR -100[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	ecx, eax
	mov	rdx, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	mov	BYTE PTR [rdx+rax], cl
	jmp	.L20
.L18:
	add	DWORD PTR -100[rbp], 1
.L17:
	cmp	DWORD PTR -100[rbp], 254
	jle	.L21
.L20:
	add	DWORD PTR -96[rbp], 1
.L16:
	mov	eax, DWORD PTR -96[rbp]
	cmp	eax, DWORD PTR -92[rbp]
	jl	.L22
	cmp	WORD PTR -140[rbp], 1
	jne	.L23
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR -64[rbp], rax
	mov	rdx, QWORD PTR -64[rbp]
	mov	eax, 0
	call	rdx
	jmp	.L24
.L23:
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -104[rbp], 0
	jmp	.L25
.L26:
	mov	rdx, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR -104[rbp]
	cdqe
	movzx	eax, BYTE PTR [rdx+rax]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -104[rbp], 1
.L25:
	mov	eax, DWORD PTR -104[rbp]
	cmp	eax, DWORD PTR -92[rbp]
	jl	.L26
	mov	edi, 10
	call	putchar@PLT
.L24:
	mov	eax, 0
	mov	rsp, rbx
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L28
	call	__stack_chk_fail@PLT
.L28:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	decrypt, .-decrypt
	.globl	parseByteString
	.type	parseByteString, @function
parseByteString:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 104
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	QWORD PTR -136[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	mov	rax, QWORD PTR -136[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -100[rbp], eax
	mov	eax, DWORD PTR -100[rbp]
	mov	edx, eax
	sub	rdx, 1
	mov	QWORD PTR -88[rbp], rdx
	mov	edx, eax
	mov	r14, rdx
	mov	r15d, 0
	mov	edx, eax
	mov	r12, rdx
	mov	r13d, 0
	mov	edx, eax
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L30:
	cmp	rsp, rdx
	je	.L31
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L30
.L31:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L32
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L32:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -80[rbp], rax
	mov	rdx, QWORD PTR -136[rbp]
	mov	rax, QWORD PTR -80[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	DWORD PTR -104[rbp], 0
	mov	DWORD PTR -108[rbp], 0
	jmp	.L33
.L35:
	mov	rdx, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR -108[rbp]
	movzx	eax, BYTE PTR [rdx+rax]
	cmp	al, 120
	jne	.L34
	add	DWORD PTR -104[rbp], 1
.L34:
	add	DWORD PTR -108[rbp], 1
.L33:
	mov	eax, DWORD PTR -108[rbp]
	cmp	eax, DWORD PTR -100[rbp]
	jb	.L35
	mov	eax, DWORD PTR -104[rbp]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -72[rbp], rax
	mov	WORD PTR -59[rbp], 30812
	mov	BYTE PTR -57[rbp], 0
	lea	rdx, -59[rbp]
	mov	rax, QWORD PTR -80[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -96[rbp], rax
	mov	DWORD PTR -112[rbp], 0
	jmp	.L36
.L37:
	mov	rax, QWORD PTR -96[rbp]
	mov	edx, 16
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	mov	BYTE PTR -113[rbp], al
	mov	eax, DWORD PTR -112[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -72[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -113[rbp]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -112[rbp], 1
	lea	rax, -59[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -96[rbp], rax
.L36:
	cmp	QWORD PTR -96[rbp], 0
	jne	.L37
	mov	rax, QWORD PTR -72[rbp]
	mov	rsp, rbx
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L39
	call	__stack_chk_fail@PLT
.L39:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	parseByteString, .-parseByteString
	.section	.rodata
.LC8:
	.string	"Key: "
.LC9:
	.string	"%02x "
.LC10:
	.string	"Payload: "
.LC12:
	.string	"e"
.LC13:
	.string	"d"
.LC14:
	.string	"x"
	.text
	.globl	main
	.type	main, @function
main:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	lea	r11, -258048[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 2184
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	DWORD PTR -260260[rbp], edi
	mov	QWORD PTR -260272[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -260260[rbp], 5
	sete	al
	movzx	eax, al
	mov	WORD PTR -260242[rbp], ax
	mov	DWORD PTR -260224[rbp], 0
	jmp	.L41
.L46:
	mov	eax, DWORD PTR -260224[rbp]
	mov	DWORD PTR -260228[rbp], eax
	jmp	.L42
.L43:
	mov	eax, DWORD PTR -260228[rbp]
	sub	eax, DWORD PTR -260224[rbp]
	mov	edx, DWORD PTR -260228[rbp]
	lea	ecx, 1[rdx]
	movsx	rsi, eax
	mov	eax, DWORD PTR -260224[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 8
	sub	rax, rdx
	add	rax, rsi
	mov	DWORD PTR -260160[rbp+rax*4], ecx
	add	DWORD PTR -260228[rbp], 1
.L42:
	cmp	DWORD PTR -260228[rbp], 254
	jle	.L43
	mov	DWORD PTR -260232[rbp], 0
	jmp	.L44
.L45:
	mov	eax, 255
	sub	eax, DWORD PTR -260224[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -260232[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -260232[rbp]
	lea	ecx, 1[rax]
	movsx	rsi, edx
	mov	eax, DWORD PTR -260224[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 8
	sub	rax, rdx
	add	rax, rsi
	mov	DWORD PTR -260160[rbp+rax*4], ecx
	add	DWORD PTR -260232[rbp], 1
.L44:
	mov	eax, DWORD PTR -260232[rbp]
	cmp	eax, DWORD PTR -260224[rbp]
	jl	.L45
	add	DWORD PTR -260224[rbp], 1
.L41:
	cmp	DWORD PTR -260224[rbp], 254
	jle	.L46
	mov	rax, QWORD PTR -260272[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -260200[rbp], rax
	mov	rax, QWORD PTR -260272[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	parseByteString
	mov	QWORD PTR -260192[rbp], rax
	mov	rax, QWORD PTR -260192[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -260208[rbp], eax
	cmp	WORD PTR -260242[rbp], 0
	je	.L47
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -260236[rbp], 0
	jmp	.L48
.L49:
	mov	edx, DWORD PTR -260236[rbp]
	mov	rax, QWORD PTR -260192[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -260236[rbp], 1
.L48:
	mov	ebx, DWORD PTR -260236[rbp]
	mov	rax, QWORD PTR -260192[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jb	.L49
	mov	edi, 10
	call	putchar@PLT
.L47:
	mov	rax, QWORD PTR -260272[rbp]
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	parseByteString
	mov	QWORD PTR -260184[rbp], rax
	mov	rax, QWORD PTR -260184[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -260204[rbp], eax
	cmp	WORD PTR -260242[rbp], 0
	je	.L50
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -260240[rbp], 0
	jmp	.L51
.L52:
	mov	edx, DWORD PTR -260240[rbp]
	mov	rax, QWORD PTR -260184[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -260240[rbp], 1
.L51:
	mov	ebx, DWORD PTR -260240[rbp]
	mov	rax, QWORD PTR -260184[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jb	.L52
	mov	edi, 10
	call	putchar@PLT
.L50:
	mov	eax, DWORD PTR -260208[rbp]
	mov	DWORD PTR -260220[rbp], eax
	mov	DWORD PTR -260216[rbp], 1
	mov	eax, DWORD PTR -260204[rbp]
	cmp	eax, DWORD PTR -260208[rbp]
	jle	.L53
	mov	eax, DWORD PTR -260204[rbp]
	cdq
	idiv	DWORD PTR -260208[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR .LC11[rip]
	addsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	add	eax, 1
	mov	DWORD PTR -260216[rbp], eax
	mov	eax, DWORD PTR -260208[rbp]
	imul	eax, DWORD PTR -260216[rbp]
	mov	DWORD PTR -260220[rbp], eax
.L53:
	mov	eax, DWORD PTR -260220[rbp]
	mov	rdx, rsp
	mov	rbx, rdx
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -260176[rbp], rdx
	movsx	rdx, eax
	mov	r14, rdx
	mov	r15d, 0
	movsx	rdx, eax
	mov	r12, rdx
	mov	r13d, 0
	cdqe
	mov	edx, 16
	sub	rdx, 1
	add	rax, rdx
	mov	ecx, 16
	mov	edx, 0
	div	rcx
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L54:
	cmp	rsp, rdx
	je	.L55
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L54
.L55:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L56
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L56:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -260168[rbp], rax
	mov	rax, QWORD PTR -260168[rbp]
	mov	BYTE PTR [rax], 0
	mov	DWORD PTR -260212[rbp], 0
	jmp	.L57
.L58:
	mov	rdx, QWORD PTR -260192[rbp]
	mov	rax, QWORD PTR -260168[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	add	DWORD PTR -260212[rbp], 1
.L57:
	mov	eax, DWORD PTR -260212[rbp]
	cmp	eax, DWORD PTR -260216[rbp]
	jl	.L58
	mov	rax, QWORD PTR -260200[rbp]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L59
	movsx	ecx, WORD PTR -260242[rbp]
	mov	rdx, QWORD PTR -260184[rbp]
	mov	rsi, QWORD PTR -260168[rbp]
	lea	rax, -260160[rbp]
	mov	rdi, rax
	call	encrypt
	jmp	.L60
.L59:
	mov	rax, QWORD PTR -260200[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L61
	movsx	ecx, WORD PTR -260242[rbp]
	mov	rdx, QWORD PTR -260184[rbp]
	mov	rsi, QWORD PTR -260168[rbp]
	lea	rax, -260160[rbp]
	mov	r8d, ecx
	mov	ecx, 0
	mov	rdi, rax
	call	decrypt
	jmp	.L60
.L61:
	mov	rax, QWORD PTR -260200[rbp]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L62
	movsx	ecx, WORD PTR -260242[rbp]
	mov	rdx, QWORD PTR -260184[rbp]
	mov	rsi, QWORD PTR -260168[rbp]
	lea	rax, -260160[rbp]
	mov	r8d, ecx
	mov	ecx, 1
	mov	rdi, rax
	call	decrypt
	jmp	.L60
.L62:
	mov	eax, 0
.L60:
	mov	rsp, rbx
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L64
	call	__stack_chk_fail@PLT
.L64:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC11:
	.long	0
	.long	1071644672
	.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	"31389059.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Position: %d\012\000"
	.align	2
.LC1:
	.ascii	"Payload byte (dec): %d\012\000"
	.align	2
.LC2:
	.ascii	"Key byte (dec): %d\012\000"
	.align	2
.LC3:
	.ascii	"Encrypted byte (dec): %d\012\012\000"
	.align	2
.LC4:
	.ascii	"\012Encrypted: \000"
	.align	2
.LC5:
	.ascii	"\\x%02x\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	encrypt
	.syntax unified
	.arm
	.fpu softvfp
	.type	encrypt, %function
encrypt:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #52
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	str	r2, [fp, #-56]
	strh	r3, [fp, #-58]	@ movhi
	ldr	r3, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, sp
	mov	r4, r3
	ldr	r0, [fp, #-56]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-36]
	ldr	ip, [fp, #-36]
	sub	r3, ip, #1
	str	r3, [fp, #-32]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L2
.L4:
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-20]
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #8
	sub	r3, r3, r2
	lsl	r3, r3, #2
	sub	r3, r3, #1020
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r2, [fp, #-24]
	sub	r2, r2, #1
	ldr	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-40]
	str	r1, [r3, r2, lsl #2]
	ldrsh	r3, [fp, #-58]
	cmp	r3, #0
	beq	.L3
	ldr	r1, [fp, #-40]
	ldr	r0, .L9+4
	bl	printf
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L9+8
	bl	printf
	ldr	r1, [fp, #-20]
	ldr	r0, .L9+12
	bl	printf
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-40]
	ldr	r3, [r3, r2, lsl #2]
	mov	r1, r3
	ldr	r0, .L9+16
	bl	printf
.L3:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L2:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	blt	.L4
	ldr	r0, .L9+20
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L5
.L6:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-44]
	ldr	r3, [r3, r2, lsl #2]
	mov	r1, r3
	ldr	r0, .L9+24
	bl	printf
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L5:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	blt	.L6
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	mov	sp, r4
	ldr	r2, .L9
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L8
	bl	__stack_chk_fail
.L8:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC6
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	encrypt, .-encrypt
	.section	.rodata
	.align	2
.LC7:
	.ascii	"Decrypted byte (dec): %d\012\012\000"
	.align	2
.LC8:
	.ascii	"\012Decrypted: \000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	decrypt
	.syntax unified
	.arm
	.fpu softvfp
	.type	decrypt, %function
decrypt:
	@ args = 4, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #60
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	str	r2, [fp, #-64]
	strh	r3, [fp, #-66]	@ movhi
	ldr	r3, .L25
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, sp
	mov	r4, r3
	ldr	r0, [fp, #-64]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-40]
	ldr	ip, [fp, #-40]
	sub	r3, ip, #1
	str	r3, [fp, #-36]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L12
.L18:
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L13
.L17:
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #8
	sub	r3, r3, r2
	lsl	r3, r3, #2
	sub	r3, r3, #1020
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldr	r2, [fp, #-48]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bne	.L14
	ldrsh	r3, [fp, #4]
	cmp	r3, #0
	beq	.L15
	ldr	r1, [fp, #-44]
	ldr	r0, .L25+4
	bl	printf
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L25+8
	bl	printf
	ldr	r1, [fp, #-20]
	ldr	r0, .L25+12
	bl	printf
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #-48]
	ldr	r3, [r3, r2, lsl #2]
	mov	r1, r3
	ldr	r0, .L25+16
	bl	printf
.L15:
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #-48]
	ldr	r3, [r3, r2, lsl #2]
	and	r1, r3, #255
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-44]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	b	.L16
.L14:
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L13:
	ldr	r3, [fp, #-48]
	cmp	r3, #254
	ble	.L17
.L16:
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L12:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	blt	.L18
	ldrsh	r3, [fp, #-66]
	cmp	r3, #1
	bne	.L19
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	blx	r3
	b	.L20
.L19:
	ldr	r0, .L25+20
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L21
.L22:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-52]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L25+24
	bl	printf
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L21:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	blt	.L22
	mov	r0, #10
	bl	putchar
.L20:
	mov	r3, #0
	mov	sp, r4
	ldr	r2, .L25
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L24
	bl	__stack_chk_fail
.L24:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC9
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC7
	.word	.LC8
	.word	.LC5
	.size	decrypt, .-decrypt
	.section	.rodata
	.align	2
.LC10:
	.ascii	"\\x\000"
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	parseByteString
	.syntax unified
	.arm
	.fpu softvfp
	.type	parseByteString, %function
parseByteString:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #60
	str	r0, [fp, #-64]
	ldr	r3, .L35
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, sp
	mov	r4, r3
	ldr	r0, [fp, #-64]
	bl	strlen
	str	r0, [fp, #-36]
	ldr	ip, [fp, #-36]
	mov	r3, ip
	sub	r3, r3, #1
	str	r3, [fp, #-32]
	mov	r0, ip
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r0, ip
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	add	r3, ip, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #0
	str	r3, [fp, #-28]
	ldr	r1, [fp, #-64]
	ldr	r0, [fp, #-28]
	bl	strcpy
	mov	r3, #0
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L28
.L30:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-52]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #120
	bne	.L29
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L29:
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L28:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	bcc	.L30
	ldr	r0, [fp, #-48]
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-24]
	ldr	r2, .L35+4
	sub	r3, fp, #20
	ldr	r2, [r2]
	strh	r2, [r3]	@ movhi
	add	r3, r3, #2
	lsr	r2, r2, #16
	strb	r2, [r3]
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, [fp, #-28]
	bl	strtok
	str	r0, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L31
.L32:
	mov	r2, #16
	mov	r1, #0
	ldr	r0, [fp, #-44]
	bl	strtol
	mov	r3, r0
	strb	r3, [fp, #-53]
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r2, [fp, #-53]
	strb	r2, [r3]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
	sub	r3, fp, #20
	mov	r1, r3
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-44]
.L31:
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bne	.L32
	ldr	r3, [fp, #-24]
	mov	sp, r4
	ldr	r2, .L35
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L34
	bl	__stack_chk_fail
.L34:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L36:
	.align	2
.L35:
	.word	.LC11
	.word	.LC10
	.size	parseByteString, .-parseByteString
	.section	.rodata
	.align	2
.LC12:
	.ascii	"Key: \000"
	.align	2
.LC13:
	.ascii	"%02x \000"
	.align	2
.LC14:
	.ascii	"Payload: \000"
	.global	__aeabi_idiv
	.global	__aeabi_i2d
	.global	__aeabi_dadd
	.global	__aeabi_d2iz
	.align	2
.LC15:
	.ascii	"e\000"
	.align	2
.LC16:
	.ascii	"d\000"
	.align	2
.LC17:
	.ascii	"x\000"
	.align	2
.LC18:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 260176
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #260096
	sub	sp, sp, #92
	sub	r3, fp, #258048
	sub	r3, r3, #12
	str	r0, [r3, #-2124]
	sub	r3, fp, #258048
	sub	r3, r3, #12
	str	r1, [r3, #-2128]
	ldr	r3, .L59
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #258048
	sub	r3, r3, #12
	ldr	r3, [r3, #-2124]
	cmp	r3, #5
	moveq	r3, #1
	movne	r3, #0
	and	r2, r3, #255
	sub	r3, fp, #258048
	sub	r3, r3, #12
	sub	r3, r3, #2112
	sub	r3, r3, #6
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #258048
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2100]
	b	.L38
.L43:
	sub	r3, fp, #258048
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #258048
	sub	r3, r3, #12
	ldr	r3, [r3, #-2100]
	str	r3, [r2, #-2104]
	b	.L39
.L40:
	sub	r3, fp, #258048
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #258048
	sub	r3, r3, #12
	ldr	r2, [r2, #-2104]
	ldr	r3, [r3, #-2100]
	sub	r0, r2, r3
	sub	r3, fp, #258048
	sub	r3, r3, #12
	ldr	r3, [r3, #-2104]
	add	r1, r3, #1
	sub	r3, fp, #258048
	sub	r3, r3, #12
	mov	ip, r3
	sub	r3, fp, #258048
	sub	r3, r3, #12
	ldr	r2, [r3, #-2100]
	mov	r3, r2
	lsl	r3, r3, #8
	sub	r3, r3, r2
	add	r3, r3, r0
	lsl	r3, r3, #2
	add	r3, ip, r3
	str	r1, [r3, #-2056]
	sub	r3, fp, #258048
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #258048
	sub	r3, r3, #12
	ldr	r3, [r3, #-2104]
	add	r3, r3, #1
	str	r3, [r2, #-2104]
.L39:
	sub	r3, fp, #258048
	sub	r3, r3, #12
	ldr	r3, [r3, #-2104]
	cmp	r3, #254
	ble	.L40
	sub	r3, fp, #258048
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2108]
	b	.L41
.L42:
	sub	r3, fp, #258048
	sub	r3, r3, #12
	ldr	r3, [r3, #-2100]
	rsb	r2, r3, #255
	sub	r3, fp, #258048
	sub	r3, r3, #12
	ldr	r3, [r3, #-2108]
	add	r0, r2, r3
	sub	r3, fp, #258048
	sub	r3, r3, #12
	ldr	r3, [r3, #-2108]
	add	r1, r3, #1
	sub	r3, fp, #258048
	sub	r3, r3, #12
	mov	ip, r3
	sub	r3, fp, #258048
	sub	r3, r3, #12
	ldr	r2, [r3, #-2100]
	mov	r3, r2
	lsl	r3, r3, #8
	sub	r3, r3, r2
	add	r3, r3, r0
	lsl	r3, r3, #2
	add	r3, ip, r3
	str	r1, [r3, #-2056]
	sub	r3, fp, #258048
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #258048
	sub	r3, r3, #12
	ldr	r3, [r3, #-2108]
	add	r3, r3, #1
	str	r3, [r2, #-2108]
.L41:
	sub	r3, fp, #258048
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #258048
	sub	r3, r3, #12
	ldr	r2, [r2, #-2108]
	ldr	r3, [r3, #-2100]
	cmp	r2, r3
	blt	.L42
	sub	r3, fp, #258048
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #258048
	sub	r3, r3, #12
	ldr	r3, [r3, #-2100]
	add	r3, r3, #1
	str	r3, [r2, #-2100]
.L38:
	sub	r3, fp, #258048
	sub	r3, r3, #12
	ldr	r3, [r3, #-2100]
	cmp	r3, #254
	ble	.L43
	sub	r3, fp, #258048
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #258048
	sub	r3, r3, #12
	ldr	r3, [r3, #-2128]
	ldr	r3, [r3, #4]
	str	r3, [r2, #-2084]
	sub	r3, fp, #258048
	sub	r3, r3, #12
	ldr	r3, [r3, #-2128]
	add	r3, r3, #8
	ldr	r3, [r3]
	sub	r2, fp, #258048
	sub	r2, r2, #12
	mov	r4, r2
	mov	r0, r3
	bl	parseByteString
	str	r0, [r4, #-2080]
	sub	r3, fp, #258048
	sub	r3, r3, #12
	ldr	r0, [r3, #-2080]
	bl	strlen
	mov	r3, r0
	sub	r2, fp, #258048
	sub	r2, r2, #12
	str	r3, [r2, #-2076]
	sub	r3, fp, #258048
	sub	r3, r3, #12
	sub	r3, r3, #2112
	sub	r3, r3, #6
	ldrsh	r3, [r3]
	cmp	r3, #0
	beq	.L44
	ldr	r0, .L59+4
	bl	printf
	sub	r3, fp, #258048
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2112]
	b	.L45
.L46:
	sub	r3, fp, #258048
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #258048
	sub	r3, r3, #12
	ldr	r2, [r2, #-2080]
	ldr	r3, [r3, #-2112]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L59+8
	bl	printf
	sub	r3, fp, #258048
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #258048
	sub	r3, r3, #12
	ldr	r3, [r3, #-2112]
	add	r3, r3, #1
	str	r3, [r2, #-2112]
.L45:
	sub	r3, fp, #258048
	sub	r3, r3, #12
	ldr	r0, [r3, #-2080]
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #258048
	sub	r3, r3, #12
	ldr	r3, [r3, #-2112]
	cmp	r3, r2
	bcc	.L46
	mov	r0, #10
	bl	putchar
.L44:
	sub	r3, fp, #258048
	sub	r3, r3, #12
	ldr	r3, [r3, #-2128]
	add	r3, r3, #12
	ldr	r3, [r3]
	sub	r2, fp, #258048
	sub	r2, r2, #12
	mov	r4, r2
	mov	r0, r3
	bl	parseByteString
	str	r0, [r4, #-2072]
	sub	r3, fp, #258048
	sub	r3, r3, #12
	ldr	r0, [r3, #-2072]
	bl	strlen
	mov	r3, r0
	sub	r2, fp, #258048
	sub	r2, r2, #12
	str	r3, [r2, #-2068]
	sub	r3, fp, #258048
	sub	r3, r3, #12
	sub	r3, r3, #2112
	sub	r3, r3, #6
	ldrsh	r3, [r3]
	cmp	r3, #0
	beq	.L47
	ldr	r0, .L59+12
	bl	printf
	sub	r3, fp, #258048
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2116]
	b	.L48
.L49:
	sub	r3, fp, #258048
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #258048
	sub	r3, r3, #12
	ldr	r2, [r2, #-2072]
	ldr	r3, [r3, #-2116]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L59+8
	bl	printf
	sub	r3, fp, #258048
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #258048
	sub	r3, r3, #12
	ldr	r3, [r3, #-2116]
	add	r3, r3, #1
	str	r3, [r2, #-2116]
.L48:
	sub	r3, fp, #258048
	sub	r3, r3, #12
	ldr	r0, [r3, #-2072]
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #258048
	sub	r3, r3, #12
	ldr	r3, [r3, #-2116]
	cmp	r3, r2
	bcc	.L49
	mov	r0, #10
	bl	putchar
.L47:
	sub	r3, fp, #258048
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #258048
	sub	r3, r3, #12
	ldr	r3, [r3, #-2076]
	str	r3, [r2, #-2096]
	sub	r3, fp, #258048
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-2092]
	sub	r3, fp, #258048
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #258048
	sub	r3, r3, #12
	ldr	r2, [r2, #-2068]
	ldr	r3, [r3, #-2076]
	cmp	r2, r3
	ble	.L50
	sub	r3, fp, #258048
	sub	r3, r3, #12
	sub	r2, fp, #258048
	sub	r2, r2, #12
	ldr	r1, [r2, #-2076]
	ldr	r0, [r3, #-2068]
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L59+16
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	sub	r2, fp, #258048
	sub	r2, r2, #12
	add	r3, r3, #1
	str	r3, [r2, #-2092]
	sub	r3, fp, #258048
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #258048
	sub	r3, r3, #12
	sub	r2, fp, #258048
	sub	r2, r2, #12
	ldr	r3, [r3, #-2076]
	ldr	r2, [r2, #-2092]
	mul	r3, r2, r3
	str	r3, [r1, #-2096]
.L50:
	sub	r3, fp, #258048
	sub	r3, r3, #12
	ldr	ip, [r3, #-2096]
	mov	r3, sp
	mov	r4, r3
	sub	r3, ip, #1
	sub	r2, fp, #258048
	sub	r2, r2, #12
	str	r3, [r2, #-2064]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	sub	r2, fp, #258048
	sub	r2, r2, #12
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #0
	str	r3, [r2, #-2060]
	sub	r3, fp, #258048
	sub	r3, r3, #12
	ldr	r3, [r3, #-2060]
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #258048
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2088]
	b	.L51
.L52:
	sub	r3, fp, #258048
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #258048
	sub	r3, r3, #12
	ldr	r1, [r2, #-2080]
	ldr	r0, [r3, #-2060]
	bl	strcat
	sub	r3, fp, #258048
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #258048
	sub	r3, r3, #12
	ldr	r3, [r3, #-2088]
	add	r3, r3, #1
	str	r3, [r2, #-2088]
.L51:
	sub	r3, fp, #258048
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #258048
	sub	r3, r3, #12
	ldr	r2, [r2, #-2088]
	ldr	r3, [r3, #-2092]
	cmp	r2, r3
	blt	.L52
	sub	r3, fp, #258048
	sub	r3, r3, #12
	ldr	r1, .L59+20
	ldr	r0, [r3, #-2084]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L53
	sub	r3, fp, #258048
	sub	r3, r3, #12
	sub	r3, r3, #2112
	sub	r3, r3, #6
	ldrsh	r3, [r3]
	sub	r2, fp, #258048
	sub	r2, r2, #12
	sub	r1, fp, #258048
	sub	r1, r1, #12
	sub	r0, fp, #260096
	sub	r0, r0, #12
	sub	r0, r0, #8
	ldr	r2, [r2, #-2072]
	ldr	r1, [r1, #-2060]
	bl	encrypt
	mov	r3, r0
	b	.L54
.L53:
	sub	r3, fp, #258048
	sub	r3, r3, #12
	ldr	r1, .L59+24
	ldr	r0, [r3, #-2084]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L55
	sub	r3, fp, #258048
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #258048
	sub	r3, r3, #12
	mov	r1, r3
	sub	r0, fp, #260096
	sub	r0, r0, #12
	sub	r0, r0, #8
	sub	r3, fp, #258048
	sub	r3, r3, #12
	sub	r3, r3, #2112
	sub	r3, r3, #6
	ldrsh	r3, [r3]
	str	r3, [sp]
	mov	r3, #0
	ldr	r2, [r2, #-2072]
	ldr	r1, [r1, #-2060]
	bl	decrypt
	mov	r3, r0
	b	.L54
.L55:
	sub	r3, fp, #258048
	sub	r3, r3, #12
	ldr	r1, .L59+28
	ldr	r0, [r3, #-2084]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L56
	sub	r3, fp, #258048
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #258048
	sub	r3, r3, #12
	mov	r1, r3
	sub	r0, fp, #260096
	sub	r0, r0, #12
	sub	r0, r0, #8
	sub	r3, fp, #258048
	sub	r3, r3, #12
	sub	r3, r3, #2112
	sub	r3, r3, #6
	ldrsh	r3, [r3]
	str	r3, [sp]
	mov	r3, #1
	ldr	r2, [r2, #-2072]
	ldr	r1, [r1, #-2060]
	bl	decrypt
	mov	r3, r0
	b	.L54
.L56:
	mov	r3, #0
.L54:
	mov	sp, r4
	ldr	r2, .L59
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L58
	bl	__stack_chk_fail
.L58:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L60:
	.align	2
.L59:
	.word	.LC18
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	1071644672
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
