	.file	"593775.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"=\257\272B\235\236\2640\264\"\332\200,\237\254A"
	.text
	.globl	crypt_cipher
	.type	crypt_cipher, @function
crypt_cipher:
.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, 208
	mov	DWORD PTR -180[rbp], edi
	mov	QWORD PTR -192[rbp], rsi
	mov	QWORD PTR -200[rbp], rdx
	mov	QWORD PTR -208[rbp], rcx
	mov	DWORD PTR -184[rbp], r8d
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	QWORD PTR -144[rbp], 0
	mov	QWORD PTR -136[rbp], 0
	mov	QWORD PTR -128[rbp], 0
	mov	QWORD PTR -120[rbp], 0
	mov	QWORD PTR -112[rbp], 0
	mov	QWORD PTR -104[rbp], 0
	mov	QWORD PTR -96[rbp], 0
	lea	rax, -80[rbp]
	mov	QWORD PTR -112[rbp], rax
	mov	QWORD PTR -104[rbp], 64
	mov	rax, QWORD PTR -104[rbp]
	cmp	rax, 15
	jbe	.L2
	mov	rax, QWORD PTR -112[rbp]
	jmp	.L3
.L2:
	mov	eax, 0
.L3:
	mov	QWORD PTR -176[rbp], rax
	mov	rax, QWORD PTR -176[rbp]
	mov	DWORD PTR 8[rax], 279
	mov	rax, QWORD PTR -176[rbp]
	mov	DWORD PTR 12[rax], 3
	mov	rax, QWORD PTR -176[rbp]
	mov	QWORD PTR [rax], 20
	mov	rax, QWORD PTR -176[rbp]
	lea	rdx, 16[rax]
	mov	eax, DWORD PTR -184[rbp]
	mov	DWORD PTR [rdx], eax
	mov	rdx, QWORD PTR -176[rbp]
	lea	rax, -144[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	__cmsg_nxthdr@PLT
	mov	QWORD PTR -176[rbp], rax
	mov	rax, QWORD PTR -176[rbp]
	mov	DWORD PTR 8[rax], 279
	mov	rax, QWORD PTR -176[rbp]
	mov	DWORD PTR 12[rax], 2
	mov	rax, QWORD PTR -176[rbp]
	mov	QWORD PTR [rax], 36
	mov	rax, QWORD PTR -176[rbp]
	add	rax, 16
	mov	QWORD PTR -168[rbp], rax
	mov	rax, QWORD PTR -168[rbp]
	mov	DWORD PTR [rax], 16
	mov	rax, QWORD PTR -168[rbp]
	add	rax, 4
	mov	edx, 16
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	memcpy@PLT
	mov	rax, QWORD PTR -192[rbp]
	mov	QWORD PTR -160[rbp], rax
	mov	rax, QWORD PTR -200[rbp]
	mov	QWORD PTR -152[rbp], rax
	lea	rax, -160[rbp]
	mov	QWORD PTR -128[rbp], rax
	mov	QWORD PTR -120[rbp], 1
	lea	rcx, -144[rbp]
	mov	eax, DWORD PTR -180[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	sendmsg@PLT
	mov	rcx, QWORD PTR -208[rbp]
	mov	eax, DWORD PTR -180[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L4
	call	__stack_chk_fail@PLT
.L4:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	crypt_cipher, .-crypt_cipher
	.globl	crypt_cipher_encrypt
	.type	crypt_cipher_encrypt, @function
crypt_cipher_encrypt:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	mov	QWORD PTR -32[rbp], rcx
	mov	rcx, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rsi, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	r8d, 1
	mov	edi, eax
	call	crypt_cipher
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	crypt_cipher_encrypt, .-crypt_cipher_encrypt
	.globl	crypt_cipher_decrypt
	.type	crypt_cipher_decrypt, @function
crypt_cipher_decrypt:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	mov	QWORD PTR -32[rbp], rcx
	mov	rcx, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rsi, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	r8d, 0
	mov	edi, eax
	call	crypt_cipher
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	crypt_cipher_decrypt, .-crypt_cipher_decrypt
	.globl	crypt_cipher_init
	.type	crypt_cipher_init, @function
crypt_cipher_init:
.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, 120
	.cfi_offset 3, -24
	mov	QWORD PTR -120[rbp], rdi
	mov	QWORD PTR -128[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	edi, 8
	call	malloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	mov	QWORD PTR [rax], rdx
	lea	rdx, -112[rbp]
	mov	eax, 0
	mov	ecx, 11
	mov	rdi, rdx
	rep stosq
	mov	WORD PTR -112[rbp], 38
	movabs	rax, 8243109524985310067
	mov	QWORD PTR -110[rbp], rax
	mov	DWORD PTR -102[rbp], 0
	mov	WORD PTR -98[rbp], 0
	movabs	rax, 2986842445840605795
	mov	edx, 0
	mov	QWORD PTR -88[rbp], rax
	mov	QWORD PTR -80[rbp], rdx
	mov	QWORD PTR -72[rbp], 0
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	rax, QWORD PTR -120[rbp]
	mov	rbx, QWORD PTR [rax]
	mov	edx, 0
	mov	esi, 5
	mov	edi, 38
	call	socket@PLT
	mov	DWORD PTR [rbx], eax
	mov	rax, QWORD PTR -120[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR [rax]
	lea	rcx, -112[rbp]
	mov	edx, 88
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR [rax]
	mov	rdx, QWORD PTR -128[rbp]
	mov	r8d, 16
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 279
	mov	edi, eax
	call	setsockopt@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR [rax]
	mov	rdx, QWORD PTR -120[rbp]
	mov	rbx, QWORD PTR [rdx]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR 4[rbx], eax
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	crypt_cipher_init, .-crypt_cipher_init
	.globl	crypt_cipher_destroy
	.type	crypt_cipher_destroy, @function
crypt_cipher_destroy:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	js	.L12
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	close@PLT
.L12:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 4[rax]
	test	eax, eax
	js	.L13
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	edi, eax
	call	close@PLT
.L13:
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 8
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	crypt_cipher_destroy, .-crypt_cipher_destroy
	.section	.rodata
.LC1:
	.string	"plain test"
.LC2:
	.string	"data: %s\n"
.LC3:
	.string	"ENCRYPT: "
.LC4:
	.string	"%02x"
.LC5:
	.string	"DECRYPT: "
	.text
	.globl	main
	.type	main, @function
main:
.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, 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movabs	rax, 6602761071845550342
	movabs	rdx, 432365582348922449
	mov	QWORD PTR -48[rbp], rax
	mov	QWORD PTR -40[rbp], rdx
	lea	rdx, -48[rbp]
	lea	rax, -80[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	crypt_cipher_init
	lea	rax, .LC1[rip]
	mov	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR 4[rax]
	lea	rdx, -64[rbp]
	mov	rsi, QWORD PTR -72[rbp]
	mov	rcx, rdx
	mov	edx, 16
	mov	edi, eax
	call	crypt_cipher_encrypt
	mov	DWORD PTR -84[rbp], 0
	jmp	.L15
.L16:
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	movzx	eax, BYTE PTR -64[rbp+rax]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -84[rbp], 1
.L15:
	cmp	DWORD PTR -84[rbp], 15
	jle	.L16
	mov	edi, 10
	call	putchar@PLT
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR 4[rax]
	lea	rdx, -32[rbp]
	lea	rsi, -64[rbp]
	mov	rcx, rdx
	mov	edx, 16
	mov	edi, eax
	call	crypt_cipher_decrypt
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	puts@PLT
	mov	rax, QWORD PTR -80[rbp]
	mov	rdi, rax
	call	crypt_cipher_destroy
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.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	"593775.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"=\257\272B\235\236\2640\264\"\332\200,\237\254A\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	crypt_cipher
	.syntax unified
	.arm
	.fpu softvfp
	.type	crypt_cipher, %function
crypt_cipher:
	@ args = 4, pretend = 0, frame = 112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #112
	str	r0, [fp, #-104]
	str	r1, [fp, #-108]
	str	r2, [fp, #-112]
	str	r3, [fp, #-116]
	ldr	r3, .L5
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-56]
	sub	r3, fp, #52
	mov	r2, #44
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #84
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	str	r2, [r3, #12]
	str	r2, [r3, #16]
	str	r2, [r3, #20]
	str	r2, [r3, #24]
	sub	r3, fp, #56
	str	r3, [fp, #-68]
	mov	r3, #48
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-64]
	cmp	r3, #11
	bls	.L2
	ldr	r3, [fp, #-68]
	b	.L3
.L2:
	mov	r3, #0
.L3:
	str	r3, [fp, #-100]
	ldr	r3, [fp, #-100]
	ldr	r2, .L5+4
	str	r2, [r3, #4]
	ldr	r3, [fp, #-100]
	mov	r2, #3
	str	r2, [r3, #8]
	ldr	r3, [fp, #-100]
	mov	r2, #16
	str	r2, [r3]
	ldr	r3, [fp, #-100]
	add	r3, r3, #12
	ldr	r2, [fp, #4]
	str	r2, [r3]
	sub	r3, fp, #84
	ldr	r1, [fp, #-100]
	mov	r0, r3
	bl	__cmsg_nxthdr
	str	r0, [fp, #-100]
	ldr	r3, [fp, #-100]
	ldr	r2, .L5+4
	str	r2, [r3, #4]
	ldr	r3, [fp, #-100]
	mov	r2, #2
	str	r2, [r3, #8]
	ldr	r3, [fp, #-100]
	mov	r2, #32
	str	r2, [r3]
	ldr	r3, [fp, #-100]
	add	r3, r3, #12
	str	r3, [fp, #-96]
	ldr	r3, [fp, #-96]
	mov	r2, #16
	str	r2, [r3]
	ldr	r3, [fp, #-96]
	add	r3, r3, #4
	mov	r2, #16
	ldr	r1, .L5+8
	mov	r0, r3
	bl	memcpy
	ldr	r3, [fp, #-108]
	str	r3, [fp, #-92]
	ldr	r3, [fp, #-112]
	str	r3, [fp, #-88]
	sub	r3, fp, #92
	str	r3, [fp, #-76]
	mov	r3, #1
	str	r3, [fp, #-72]
	sub	r3, fp, #84
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-104]
	bl	sendmsg
	mov	r2, #16
	ldr	r1, [fp, #-116]
	ldr	r0, [fp, #-104]
	bl	read
	nop
	ldr	r3, .L5
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L4
	bl	__stack_chk_fail
.L4:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	.LC1
	.word	279
	.word	.LC0
	.size	crypt_cipher, .-crypt_cipher
	.align	2
	.global	crypt_cipher_encrypt
	.syntax unified
	.arm
	.fpu softvfp
	.type	crypt_cipher_encrypt, %function
crypt_cipher_encrypt:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	mov	r3, #1
	str	r3, [sp]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	crypt_cipher
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	crypt_cipher_encrypt, .-crypt_cipher_encrypt
	.align	2
	.global	crypt_cipher_decrypt
	.syntax unified
	.arm
	.fpu softvfp
	.type	crypt_cipher_decrypt, %function
crypt_cipher_decrypt:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [sp]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	crypt_cipher
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	crypt_cipher_decrypt, .-crypt_cipher_decrypt
	.section	.rodata
	.align	2
.LC2:
	.ascii	"skcipher\000"
	.space	5
	.align	2
.LC3:
	.ascii	"cbc(aes)\000"
	.space	55
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	crypt_cipher_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	crypt_cipher_init, %function
crypt_cipher_init:
	@ args = 0, pretend = 0, frame = 104
	@ 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]
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-112]
	str	r2, [r3]
	sub	r3, fp, #104
	mov	r2, #88
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #38
	strh	r3, [fp, #-104]	@ movhi
	ldr	r2, .L13+4
	sub	r3, fp, #102
	mov	r1, r2
	mov	r2, #9
	mov	r0, r3
	bl	memcpy
	sub	r3, fp, #93
	mov	r2, #0
	mov	r1, r2
	strb	r1, [r3]
	mov	r1, r2
	strb	r1, [r3, #1]
	mov	r1, r2
	strb	r1, [r3, #2]
	mov	r1, r2
	strb	r1, [r3, #3]
	strb	r2, [r3, #4]
	ldr	r2, .L13+8
	sub	r3, fp, #80
	ldm	r2, {r0, r1, r2}
	stmia	r3!, {r0, r1}
	strb	r2, [r3]
	sub	r3, fp, #71
	mov	r2, #55
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, [fp, #-112]
	ldr	r4, [r3]
	mov	r2, #0
	mov	r1, #5
	mov	r0, #38
	bl	socket
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-112]
	ldr	r3, [r3]
	ldr	r3, [r3]
	sub	r1, fp, #104
	mov	r2, #88
	mov	r0, r3
	bl	bind
	ldr	r3, [fp, #-112]
	ldr	r3, [r3]
	ldr	r0, [r3]
	mov	r3, #16
	str	r3, [sp]
	ldr	r3, [fp, #-116]
	mov	r2, #1
	ldr	r1, .L13+12
	bl	setsockopt
	ldr	r3, [fp, #-112]
	ldr	r3, [r3]
	ldr	r0, [r3]
	ldr	r3, [fp, #-112]
	ldr	r4, [r3]
	mov	r2, #0
	mov	r1, #0
	bl	accept
	mov	r3, r0
	str	r3, [r4, #4]
	nop
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC4
	.word	.LC2
	.word	.LC3
	.word	279
	.size	crypt_cipher_init, .-crypt_cipher_init
	.align	2
	.global	crypt_cipher_destroy
	.syntax unified
	.arm
	.fpu softvfp
	.type	crypt_cipher_destroy, %function
crypt_cipher_destroy:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #0
	blt	.L16
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r0, r3
	bl	close
.L16:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	blt	.L17
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	close
.L17:
	mov	r2, #8
	mov	r1, #0
	ldr	r0, [fp, #-8]
	bl	memset
	ldr	r0, [fp, #-8]
	bl	free
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	crypt_cipher_destroy, .-crypt_cipher_destroy
	.section	.rodata
	.align	2
.LC6:
	.ascii	"plain test\000"
	.align	2
.LC7:
	.ascii	"data: %s\012\000"
	.align	2
.LC8:
	.ascii	"ENCRYPT: \000"
	.align	2
.LC9:
	.ascii	"%02x\000"
	.align	2
.LC10:
	.ascii	"DECRYPT: \000"
	.align	2
.LC5:
	.ascii	"\006\251!@6\270\241[Q.\003\3254\022\000\006"
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	ldr	r3, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L23+4
	sub	ip, fp, #40
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	sub	r2, fp, #40
	sub	r3, fp, #68
	mov	r1, r2
	mov	r0, r3
	bl	crypt_cipher_init
	ldr	r3, .L23+8
	str	r3, [fp, #-60]
	ldr	r1, [fp, #-60]
	ldr	r0, .L23+12
	bl	printf
	ldr	r0, .L23+16
	bl	printf
	ldr	r3, [fp, #-68]
	ldr	r0, [r3, #4]
	sub	r3, fp, #56
	mov	r2, #16
	ldr	r1, [fp, #-60]
	bl	crypt_cipher_encrypt
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L19
.L20:
	sub	r2, fp, #56
	ldr	r3, [fp, #-64]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L23+20
	bl	printf
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L19:
	ldr	r3, [fp, #-64]
	cmp	r3, #15
	ble	.L20
	mov	r0, #10
	bl	putchar
	ldr	r0, .L23+24
	bl	printf
	ldr	r3, [fp, #-68]
	ldr	r0, [r3, #4]
	sub	r3, fp, #24
	sub	r1, fp, #56
	mov	r2, #16
	bl	crypt_cipher_decrypt
	sub	r3, fp, #24
	mov	r0, r3
	bl	puts
	ldr	r3, [fp, #-68]
	mov	r0, r3
	bl	crypt_cipher_destroy
	mov	r3, #0
	ldr	r2, .L23
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L22
	bl	__stack_chk_fail
.L22:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC11
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
