	.file	"912657.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Missing argument filename or too many arguments"
.LC1:
	.string	"r"
	.align 8
.LC2:
	.string	"zenity --entry --text='Encryption Password' --hide-text"
.LC3:
	.string	"Failed to execute"
.LC4:
	.string	"echo -n '%s' | "
.LC5:
	.string	"sudo cryptsetup open -d - "
.LC6:
	.string	"%s %s '%s' '%s'"
	.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
	push	rbx
	sub	rsp, 264
	.cfi_offset 3, -24
	mov	DWORD PTR -260[rbp], edi
	mov	QWORD PTR -272[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -260[rbp], 2
	je	.L2
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L12
.L2:
	mov	rax, QWORD PTR -272[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	add	eax, 1
	mov	DWORD PTR -236[rbp], eax
	mov	eax, DWORD PTR -236[rbp]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -224[rbp], rax
	mov	edx, DWORD PTR -236[rbp]
	mov	rax, QWORD PTR -272[rbp]
	add	rax, 8
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -224[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	mov	eax, DWORD PTR -236[rbp]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -216[rbp], rax
	mov	edx, DWORD PTR -236[rbp]
	mov	rax, QWORD PTR -272[rbp]
	add	rax, 8
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -216[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	mov	rax, QWORD PTR -216[rbp]
	mov	rdi, rax
	call	__xpg_basename@PLT
	mov	QWORD PTR -216[rbp], rax
	mov	rax, QWORD PTR -216[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -244[rbp], eax
	jmp	.L4
.L7:
	mov	edx, DWORD PTR -244[rbp]
	mov	rax, QWORD PTR -216[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 46
	jne	.L5
	mov	edx, DWORD PTR -244[rbp]
	mov	rax, QWORD PTR -216[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	jmp	.L6
.L5:
	sub	DWORD PTR -244[rbp], 1
.L4:
	cmp	DWORD PTR -244[rbp], 0
	jne	.L7
.L6:
	mov	QWORD PTR -232[rbp], 0
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	call	popen@PLT
	mov	QWORD PTR -208[rbp], rax
	cmp	QWORD PTR -208[rbp], 0
	jne	.L8
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L12
.L8:
	mov	DWORD PTR -240[rbp], 0
	jmp	.L9
.L11:
	sub	DWORD PTR -240[rbp], -128
	mov	eax, DWORD PTR -240[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -232[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR -232[rbp], rax
	lea	rax, -160[rbp]
	mov	esi, 10
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -168[rbp], rax
	cmp	QWORD PTR -168[rbp], 0
	je	.L10
	mov	rax, QWORD PTR -168[rbp]
	mov	BYTE PTR [rax], 0
.L10:
	mov	eax, DWORD PTR -240[rbp]
	cdqe
	lea	rdx, -128[rax]
	mov	rax, QWORD PTR -232[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR -160[rbp]
	mov	rbx, QWORD PTR -152[rbp]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR -144[rbp]
	mov	rbx, QWORD PTR -136[rbp]
	mov	QWORD PTR 16[rax], rcx
	mov	QWORD PTR 24[rax], rbx
	mov	rcx, QWORD PTR -128[rbp]
	mov	rbx, QWORD PTR -120[rbp]
	mov	QWORD PTR 32[rax], rcx
	mov	QWORD PTR 40[rax], rbx
	mov	rcx, QWORD PTR -112[rbp]
	mov	rbx, QWORD PTR -104[rbp]
	mov	QWORD PTR 48[rax], rcx
	mov	QWORD PTR 56[rax], rbx
	mov	rcx, QWORD PTR -96[rbp]
	mov	rbx, QWORD PTR -88[rbp]
	mov	QWORD PTR 64[rax], rcx
	mov	QWORD PTR 72[rax], rbx
	mov	rcx, QWORD PTR -80[rbp]
	mov	rbx, QWORD PTR -72[rbp]
	mov	QWORD PTR 80[rax], rcx
	mov	QWORD PTR 88[rax], rbx
	mov	rcx, QWORD PTR -64[rbp]
	mov	rbx, QWORD PTR -56[rbp]
	mov	QWORD PTR 96[rax], rcx
	mov	QWORD PTR 104[rax], rbx
	mov	rcx, QWORD PTR -48[rbp]
	mov	rbx, QWORD PTR -40[rbp]
	mov	QWORD PTR 112[rax], rcx
	mov	QWORD PTR 120[rax], rbx
.L9:
	mov	rdx, QWORD PTR -208[rbp]
	lea	rax, -160[rbp]
	mov	esi, 128
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L11
	mov	rax, QWORD PTR -208[rbp]
	mov	rdi, rax
	call	pclose@PLT
	lea	rax, .LC4[rip]
	mov	QWORD PTR -200[rbp], rax
	mov	rax, QWORD PTR -200[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rbx, rax
	mov	rax, QWORD PTR -232[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	rax, rbx
	add	rax, 1
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -192[rbp], rax
	mov	rdx, QWORD PTR -232[rbp]
	mov	rcx, QWORD PTR -200[rbp]
	mov	rax, QWORD PTR -192[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, .LC5[rip]
	mov	QWORD PTR -184[rbp], rax
	mov	rax, QWORD PTR -184[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rbx, rax
	mov	rax, QWORD PTR -192[rbp]
	mov	rdi, rax
	call	strlen@PLT
	lea	rdx, [rbx+rax]
	mov	eax, DWORD PTR -236[rbp]
	add	rax, rdx
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -176[rbp], rax
	mov	rdi, QWORD PTR -216[rbp]
	mov	rsi, QWORD PTR -224[rbp]
	mov	rcx, QWORD PTR -184[rbp]
	mov	rdx, QWORD PTR -192[rbp]
	mov	rax, QWORD PTR -176[rbp]
	mov	r9, rdi
	mov	r8, rsi
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	rax, QWORD PTR -176[rbp]
	mov	rdi, rax
	call	system@PLT
	mov	eax, 0
.L12:
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	mov	rbx, QWORD PTR -8[rbp]
	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	"912657.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Missing argument filename or too many arguments\000"
	.align	2
.LC1:
	.ascii	"r\000"
	.align	2
.LC2:
	.ascii	"zenity --entry --text='Encryption Password' --hide-"
	.ascii	"text\000"
	.align	2
.LC3:
	.ascii	"Failed to execute\000"
	.align	2
.LC4:
	.ascii	"echo -n '%s' | \000"
	.align	2
.LC5:
	.ascii	"sudo cryptsetup open -d - \000"
	.align	2
.LC6:
	.ascii	"%s %s '%s' '%s'\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 192
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #204
	str	r0, [fp, #-200]
	str	r1, [fp, #-204]
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-200]
	cmp	r3, #2
	beq	.L2
	ldr	r0, .L14+4
	bl	puts
	mov	r3, #1
	b	.L12
.L2:
	ldr	r3, [fp, #-204]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	add	r3, r3, #1
	str	r3, [fp, #-180]
	ldr	r0, [fp, #-180]
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-176]
	ldr	r3, [fp, #-204]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r2, [fp, #-180]
	mov	r1, r3
	ldr	r0, [fp, #-176]
	bl	memcpy
	ldr	r0, [fp, #-180]
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-172]
	ldr	r3, [fp, #-204]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r2, [fp, #-180]
	mov	r1, r3
	ldr	r0, [fp, #-172]
	bl	memcpy
	ldr	r0, [fp, #-172]
	bl	__xpg_basename
	str	r0, [fp, #-172]
	ldr	r0, [fp, #-172]
	bl	strlen
	str	r0, [fp, #-192]
	b	.L4
.L7:
	ldr	r2, [fp, #-172]
	ldr	r3, [fp, #-192]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #46
	bne	.L5
	ldr	r2, [fp, #-172]
	ldr	r3, [fp, #-192]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	b	.L6
.L5:
	ldr	r3, [fp, #-192]
	sub	r3, r3, #1
	str	r3, [fp, #-192]
.L4:
	ldr	r3, [fp, #-192]
	cmp	r3, #0
	bne	.L7
.L6:
	mov	r3, #0
	str	r3, [fp, #-188]
	ldr	r1, .L14+8
	ldr	r0, .L14+12
	bl	popen
	str	r0, [fp, #-168]
	ldr	r3, [fp, #-168]
	cmp	r3, #0
	bne	.L8
	ldr	r0, .L14+16
	bl	printf
	mov	r3, #1
	b	.L12
.L8:
	mov	r3, #0
	str	r3, [fp, #-184]
	b	.L9
.L11:
	ldr	r3, [fp, #-184]
	add	r3, r3, #128
	str	r3, [fp, #-184]
	ldr	r3, [fp, #-184]
	mov	r1, r3
	ldr	r0, [fp, #-188]
	bl	realloc
	str	r0, [fp, #-188]
	sub	r3, fp, #144
	mov	r1, #10
	mov	r0, r3
	bl	strchr
	str	r0, [fp, #-148]
	ldr	r3, [fp, #-148]
	cmp	r3, #0
	beq	.L10
	ldr	r3, [fp, #-148]
	mov	r2, #0
	strb	r2, [r3]
.L10:
	ldr	r3, [fp, #-184]
	sub	r3, r3, #128
	ldr	r2, [fp, #-188]
	add	r3, r2, r3
	mov	r0, r3
	sub	r3, fp, #144
	mov	r2, #128
	mov	r1, r3
	bl	memcpy
.L9:
	sub	r3, fp, #144
	ldr	r2, [fp, #-168]
	mov	r1, #128
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L11
	ldr	r0, [fp, #-168]
	bl	pclose
	ldr	r3, .L14+20
	str	r3, [fp, #-164]
	ldr	r0, [fp, #-164]
	bl	strlen
	mov	r4, r0
	ldr	r0, [fp, #-188]
	bl	strlen
	mov	r3, r0
	add	r3, r4, r3
	add	r3, r3, #1
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-160]
	ldr	r2, [fp, #-188]
	ldr	r1, [fp, #-164]
	ldr	r0, [fp, #-160]
	bl	sprintf
	ldr	r3, .L14+24
	str	r3, [fp, #-156]
	ldr	r0, [fp, #-156]
	bl	strlen
	mov	r4, r0
	ldr	r0, [fp, #-160]
	bl	strlen
	mov	r3, r0
	add	r2, r4, r3
	ldr	r3, [fp, #-180]
	add	r3, r2, r3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-152]
	ldr	r3, [fp, #-172]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-176]
	str	r3, [sp]
	ldr	r3, [fp, #-156]
	ldr	r2, [fp, #-160]
	ldr	r1, .L14+28
	ldr	r0, [fp, #-152]
	bl	sprintf
	ldr	r0, [fp, #-152]
	bl	system
	mov	r3, #0
.L12:
	ldr	r2, .L14
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC7
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
