	.file	"423393.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"usage: %s -c <coverfile (.ppm)> -m <message filename> -s <stegofile> -p <password>\n"
.LC1:
	.string	"-c"
.LC2:
	.string	"-m"
.LC3:
	.string	"-s"
.LC4:
	.string	"-p"
.LC5:
	.string	"rm crypto.txt"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 336
	mov	DWORD PTR -324[rbp], edi
	mov	QWORD PTR -336[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -324[rbp], 9
	je	.L2
	mov	rax, QWORD PTR -336[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	jmp	.L10
.L2:
	mov	DWORD PTR -308[rbp], 0
	jmp	.L4
.L9:
	mov	eax, DWORD PTR -308[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -336[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L5
	mov	edi, 9
	call	malloc@PLT
	mov	QWORD PTR -304[rbp], rax
	mov	eax, DWORD PTR -308[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -336[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -304[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	jmp	.L6
.L5:
	mov	eax, DWORD PTR -308[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -336[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L7
	mov	edi, 9
	call	malloc@PLT
	mov	QWORD PTR -296[rbp], rax
	mov	eax, DWORD PTR -308[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -336[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -296[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	jmp	.L6
.L7:
	mov	eax, DWORD PTR -308[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -336[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L8
	mov	edi, 9
	call	malloc@PLT
	mov	QWORD PTR -288[rbp], rax
	mov	eax, DWORD PTR -308[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -336[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -288[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	jmp	.L6
.L8:
	mov	eax, DWORD PTR -308[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -336[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L6
	mov	edi, 9
	call	malloc@PLT
	mov	QWORD PTR -280[rbp], rax
	mov	eax, DWORD PTR -308[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -336[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -280[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
.L6:
	add	DWORD PTR -308[rbp], 1
.L4:
	mov	eax, DWORD PTR -308[rbp]
	cmp	eax, DWORD PTR -324[rbp]
	jl	.L9
	lea	rax, -272[rbp]
	movabs	rcx, 7578749359360388910
	mov	QWORD PTR [rax], rcx
	mov	WORD PTR 8[rax], 32
	mov	rdx, QWORD PTR -296[rbp]
	lea	rax, -272[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	lea	rax, -272[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -272[rbp]
	add	rax, rdx
	movabs	rsi, 8104634774501403936
	movabs	rdi, 3251726991655595892
	mov	QWORD PTR [rax], rsi
	mov	QWORD PTR 8[rax], rdi
	mov	WORD PTR 16[rax], 8304
	mov	BYTE PTR 18[rax], 0
	mov	rdx, QWORD PTR -280[rbp]
	lea	rax, -272[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	lea	rax, -272[rbp]
	mov	rdi, rax
	call	system@PLT
	lea	rax, -272[rbp]
	movabs	rcx, 7146403790821076782
	mov	QWORD PTR [rax], rcx
	mov	WORD PTR 8[rax], 32
	mov	rdx, QWORD PTR -304[rbp]
	lea	rax, -272[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	lea	rax, -272[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -272[rbp]
	add	rax, rdx
	movabs	rsi, 8104634774501272864
	movabs	rdi, 3251726991655595892
	mov	QWORD PTR [rax], rsi
	mov	QWORD PTR 8[rax], rdi
	mov	WORD PTR 16[rax], 8307
	mov	BYTE PTR 18[rax], 0
	mov	rdx, QWORD PTR -288[rbp]
	lea	rax, -272[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	lea	rax, -272[rbp]
	mov	rdi, rax
	call	system@PLT
	lea	rdi, .LC5[rip]
	call	system@PLT
	mov	eax, 0
.L10:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"423393.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"usage: %s -c <coverfile (.ppm)> -m <message filenam"
	.ascii	"e> -s <stegofile> -p <password>\012\000"
	.align	2
.LC1:
	.ascii	"-c\000"
	.align	2
.LC2:
	.ascii	"-m\000"
	.align	2
.LC3:
	.ascii	"-s\000"
	.align	2
.LC4:
	.ascii	"-p\000"
	.align	2
.LC5:
	.ascii	"./enc -i \000"
	.align	2
.LC6:
	.ascii	" -o crypto.txt -p \000"
	.align	2
.LC7:
	.ascii	"./emb -c \000"
	.align	2
.LC8:
	.ascii	" -m crypto.txt -s \000"
	.align	2
.LC9:
	.ascii	"rm crypto.txt\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-288]
	cmp	r3, #9
	beq	.L2
	ldr	r3, [fp, #-292]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L12+4
	bl	printf
	mov	r3, #0
	b	.L10
.L2:
	mov	r3, #0
	str	r3, [fp, #-268]
	b	.L4
.L9:
	ldr	r3, [fp, #-268]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-292]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L12+8
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L5
	mov	r0, #5
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-284]
	ldr	r3, [fp, #-268]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-292]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-284]
	bl	strcpy
	b	.L6
.L5:
	ldr	r3, [fp, #-268]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-292]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L12+12
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L7
	mov	r0, #5
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-280]
	ldr	r3, [fp, #-268]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-292]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-280]
	bl	strcpy
	b	.L6
.L7:
	ldr	r3, [fp, #-268]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-292]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L12+16
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L8
	mov	r0, #5
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-276]
	ldr	r3, [fp, #-268]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-292]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-276]
	bl	strcpy
	b	.L6
.L8:
	ldr	r3, [fp, #-268]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-292]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L12+20
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L6
	mov	r0, #5
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-272]
	ldr	r3, [fp, #-268]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-292]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-272]
	bl	strcpy
.L6:
	ldr	r3, [fp, #-268]
	add	r3, r3, #1
	str	r3, [fp, #-268]
.L4:
	ldr	r2, [fp, #-268]
	ldr	r3, [fp, #-288]
	cmp	r2, r3
	blt	.L9
	sub	r3, fp, #264
	ldr	r2, .L12+24
	ldm	r2, {r0, r1, r2}
	stmia	r3!, {r0, r1}
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #264
	ldr	r1, [fp, #-280]
	mov	r0, r3
	bl	strcat
	sub	r3, fp, #264
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #264
	add	r3, r3, r2
	ldr	r2, .L12+28
	mov	r0, r3
	mov	r1, r2
	mov	r3, #19
	mov	r2, r3
	bl	memcpy
	sub	r3, fp, #264
	ldr	r1, [fp, #-272]
	mov	r0, r3
	bl	strcat
	sub	r3, fp, #264
	mov	r0, r3
	bl	system
	sub	r3, fp, #264
	ldr	r2, .L12+32
	ldm	r2, {r0, r1, r2}
	stmia	r3!, {r0, r1}
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #264
	ldr	r1, [fp, #-284]
	mov	r0, r3
	bl	strcat
	sub	r3, fp, #264
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #264
	add	r3, r3, r2
	ldr	r2, .L12+36
	mov	r0, r3
	mov	r1, r2
	mov	r3, #19
	mov	r2, r3
	bl	memcpy
	sub	r3, fp, #264
	ldr	r1, [fp, #-276]
	mov	r0, r3
	bl	strcat
	sub	r3, fp, #264
	mov	r0, r3
	bl	system
	ldr	r0, .L12+40
	bl	system
	mov	r3, #0
.L10:
	ldr	r2, .L12
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC10
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
