	.file	"extr_twofish.c_twofish_decrypt.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	twofish_decrypt, @function
twofish_decrypt:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, 152
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	mov	rdi, rdx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdx
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	QWORD PTR 8[rsp], rsi
	mov	QWORD PTR 16[rsp], rcx
	mov	QWORD PTR 24[rsp], rdx
	call	AV_RL32@PLT
	mov	rdx, QWORD PTR 0[rbp]
	lea	rdi, 16[rbx]
	xor	eax, DWORD PTR 16[rdx]
	mov	r15d, eax
	call	AV_RL32@PLT
	mov	rdx, QWORD PTR 0[rbp]
	lea	rdi, 32[rbx]
	xor	eax, DWORD PTR 20[rdx]
	mov	r14d, eax
	call	AV_RL32@PLT
	mov	rdx, QWORD PTR 0[rbp]
	lea	rdi, 48[rbx]
	xor	eax, DWORD PTR 24[rdx]
	mov	r13d, eax
	call	AV_RL32@PLT
	mov	rdx, QWORD PTR 0[rbp]
	xor	eax, DWORD PTR 28[rdx]
	mov	DWORD PTR [rsp], eax
	.p2align 4,,10
	.p2align 3
.L2:
	mov	esi, r15d
	mov	rdi, rbp
	call	MDS_mul@PLT
	mov	edi, r14d
	mov	esi, 8
	mov	ebx, eax
	call	LR@PLT
	mov	rdi, rbp
	mov	esi, eax
	call	MDS_mul@PLT
	mov	edi, r13d
	mov	esi, 1
	mov	DWORD PTR 4[rsp], eax
	call	LR@PLT
	mov	rsi, QWORD PTR 0[rbp]
	mov	ecx, DWORD PTR 4[rsp]
	mov	r13d, DWORD PTR [rsi+r12]
	add	ebx, ecx
	lea	edi, [rbx+rcx]
	add	edi, DWORD PTR 4[rsi+r12]
	mov	esi, 1
	xor	edi, DWORD PTR [rsp]
	add	r13d, ebx
	xor	r13d, eax
	call	RR@PLT
	mov	esi, r13d
	mov	rdi, rbp
	mov	DWORD PTR [rsp], eax
	call	MDS_mul@PLT
	mov	edi, DWORD PTR [rsp]
	mov	esi, 8
	mov	ebx, eax
	call	LR@PLT
	mov	rdi, rbp
	mov	esi, eax
	call	MDS_mul@PLT
	mov	edi, r15d
	mov	esi, 1
	mov	DWORD PTR 4[rsp], eax
	call	LR@PLT
	mov	rsi, QWORD PTR 0[rbp]
	mov	ecx, DWORD PTR 4[rsp]
	mov	r8d, DWORD PTR -8[rsi+r12]
	add	ebx, ecx
	lea	edi, [rbx+rcx]
	add	edi, DWORD PTR -4[rsi+r12]
	mov	esi, 1
	sub	r12, 16
	add	r8d, ebx
	xor	edi, r14d
	mov	r15d, r8d
	xor	r15d, eax
	call	RR@PLT
	mov	r14d, eax
	cmp	r12, 24
	jne	.L2
	mov	rax, QWORD PTR 0[rbp]
	mov	rbx, QWORD PTR 16[rsp]
	mov	r12d, DWORD PTR [rsp]
	xor	r15d, DWORD PTR 8[rax]
	xor	r13d, DWORD PTR [rax]
	xor	r12d, DWORD PTR 4[rax]
	mov	ebp, r15d
	xor	r14d, DWORD PTR 12[rax]
	test	rbx, rbx
	je	.L3
	mov	rdi, rbx
	call	AV_RL32@PLT
	lea	rdi, 16[rbx]
	xor	r13d, eax
	call	AV_RL32@PLT
	lea	rdi, 32[rbx]
	xor	r12d, eax
	call	AV_RL32@PLT
	lea	rdi, 48[rbx]
	xor	ebp, eax
	call	AV_RL32@PLT
	mov	rsi, QWORD PTR 24[rsp]
	mov	edx, 16
	mov	rdi, rbx
	xor	r14d, eax
	call	memcpy@PLT
.L3:
	mov	rbx, QWORD PTR 8[rsp]
	mov	esi, ebp
	mov	rdi, rbx
	call	AV_WL32@PLT
	lea	rdi, 16[rbx]
	mov	esi, r14d
	call	AV_WL32@PLT
	lea	rdi, 32[rbx]
	mov	esi, r13d
	call	AV_WL32@PLT
	add	rsp, 40
	.cfi_def_cfa_offset 56
	lea	rdi, 48[rbx]
	mov	esi, r12d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	AV_WL32@PLT
	.cfi_endproc
.LFE0:
	.size	twofish_decrypt, .-twofish_decrypt
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_twofish.c_twofish_decrypt.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	twofish_decrypt, %function
twofish_decrypt:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r6, r0
	sub	sp, sp, #20
	mov	r0, r2
	mov	r4, r2
	stmib	sp, {r1, r3}
	str	r2, [sp, #12]
	bl	AV_RL32
	mov	fp, r0
	ldr	r3, [r6]
	add	r0, r4, #16
	ldr	r3, [r3, #16]
	mov	r9, #152
	eor	fp, fp, r3
	bl	AV_RL32
	mov	r7, r0
	ldr	r3, [r6]
	add	r0, r4, #32
	ldr	r3, [r3, #20]
	eor	r7, r7, r3
	bl	AV_RL32
	mov	r5, r0
	ldr	r3, [r6]
	add	r0, r4, #48
	ldr	r3, [r3, #24]
	eor	r5, r5, r3
	bl	AV_RL32
	ldr	r3, [r6]
	ldr	r3, [r3, #28]
	eor	r8, r0, r3
.L2:
	mov	r1, fp
	mov	r0, r6
	bl	MDS_mul
	mov	r1, #8
	mov	r10, r0
	mov	r0, r7
	bl	LR
	mov	r1, r0
	mov	r0, r6
	bl	MDS_mul
	mov	r1, #1
	mov	r4, r0
	mov	r0, r5
	bl	LR
	mov	ip, r0
	ldr	r1, [r6]
	add	r3, r10, r4
	ldr	r5, [r1, r9]!
	add	r0, r3, r4
	ldr	r4, [r1, #4]
	add	r5, r3, r5
	add	r0, r0, r4
	mov	r1, #1
	eor	r0, r0, r8
	eor	r5, r5, ip
	bl	RR
	mov	r1, r5
	mov	r8, r0
	mov	r0, r6
	bl	MDS_mul
	mov	r1, #8
	mov	r4, r0
	mov	r0, r8
	bl	LR
	mov	r1, r0
	mov	r0, r6
	bl	MDS_mul
	mov	r1, #1
	mov	r10, r0
	mov	r0, fp
	bl	LR
	ldr	r1, [r6]
	add	r4, r4, r10
	add	r1, r1, r9
	ldr	ip, [r1, #-4]
	mov	fp, r0
	ldr	r1, [r1, #-8]
	add	r0, r4, r10
	add	r0, r0, ip
	eor	r0, r0, r7
	add	r4, r4, r1
	mov	r1, #1
	bl	RR
	sub	r9, r9, #16
	cmp	r9, #24
	mov	r7, r0
	eor	fp, fp, r4
	bne	.L2
	ldr	r3, [r6]
	ldr	r6, [sp, #8]
	ldr	r1, [r3]
	ldr	r0, [r3, #4]
	ldr	r4, [r3, #8]
	ldr	r3, [r3, #12]
	cmp	r6, #0
	eor	r5, r5, r1
	eor	r8, r8, r0
	eor	r4, r4, fp
	eor	r7, r7, r3
	beq	.L3
	mov	r0, r6
	bl	AV_RL32
	mov	r3, r0
	add	r0, r6, #16
	eor	r5, r5, r3
	bl	AV_RL32
	mov	r3, r0
	add	r0, r6, #32
	eor	r8, r8, r3
	bl	AV_RL32
	mov	r3, r0
	add	r0, r6, #48
	eor	r4, r4, r3
	bl	AV_RL32
	mov	r3, r0
	mov	r2, #16
	mov	r0, r6
	ldr	r1, [sp, #12]
	eor	r7, r7, r3
	bl	memcpy
.L3:
	mov	r1, r4
	ldr	r4, [sp, #4]
	mov	r0, r4
	bl	AV_WL32
	mov	r1, r7
	add	r0, r4, #16
	bl	AV_WL32
	mov	r1, r5
	add	r0, r4, #32
	bl	AV_WL32
	mov	r1, r8
	add	r0, r4, #48
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	AV_WL32
	.size	twofish_decrypt, .-twofish_decrypt
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
