	.file	"extr_crypto_rc2.c_rc2_dcrypt8.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	rc2_dcrypt8, @function
rc2_dcrypt8:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	r9, rdi
	mov	r8, rsi
	mov	r10d, 15
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	eax, DWORD PTR 28[rsi]
	mov	edi, DWORD PTR 20[rsi]
	mov	ecx, DWORD PTR 12[rsi]
	mov	r11, QWORD PTR [r9]
	sal	eax, 8
	or	eax, DWORD PTR 24[rsi]
	sal	edi, 8
	sal	ecx, 8
	or	edi, DWORD PTR 16[rsi]
	or	ecx, DWORD PTR 8[rsi]
	mov	esi, DWORD PTR 4[rsi]
	lea	r9, 480[r11]
	sal	esi, 8
	or	esi, DWORD PTR [r8]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L2:
	sub	r10d, 1
	sub	r9, 32
	cmp	r10d, -1
	je	.L12
.L4:
	movzx	r8d, ax
	mov	ebp, edi
	mov	eax, r8d
	sar	r8d, 5
	sal	eax, 11
	sal	ebp, 13
	or	eax, r8d
	mov	r8d, ecx
	sub	eax, DWORD PTR 24[r9]
	xor	r8d, esi
	and	r8d, edi
	sar	edi, 3
	xor	r8d, esi
	or	ebp, edi
	sub	ebp, DWORD PTR 16[r9]
	sub	eax, r8d
	movzx	eax, ax
	mov	r8d, eax
	xor	r8d, esi
	and	r8d, ecx
	movzx	ecx, cx
	xor	r8d, eax
	mov	ebx, ecx
	sar	ecx, 2
	sub	ebp, r8d
	mov	r8d, eax
	sal	ebx, 14
	xor	r8d, ebp
	or	ebx, ecx
	sub	ebx, DWORD PTR 8[r9]
	mov	edi, ebp
	and	r8d, esi
	movzx	esi, si
	xor	r8d, ebp
	sub	ebx, r8d
	mov	r8d, esi
	sar	esi
	sal	r8d, 15
	mov	ecx, ebx
	or	r8d, esi
	mov	esi, ebp
	sub	r8d, DWORD PTR [r9]
	xor	esi, ebx
	and	esi, eax
	xor	esi, ebx
	sub	r8d, esi
	mov	esi, r8d
	cmp	r10d, 5
	je	.L5
	cmp	r10d, 11
	jne	.L2
.L5:
	mov	ecx, ebp
	mov	edi, ebp
	sub	r10d, 1
	sub	r9, 32
	and	ecx, 63
	sub	eax, DWORD PTR [r11+rcx*8]
	mov	ecx, ebx
	and	ecx, 63
	mov	esi, eax
	sub	edi, DWORD PTR [r11+rcx*8]
	mov	ecx, r8d
	and	esi, 63
	and	ecx, 63
	sub	r8d, DWORD PTR [r11+rsi*8]
	sub	ebx, DWORD PTR [r11+rcx*8]
	mov	esi, r8d
	mov	ecx, ebx
	cmp	r10d, -1
	jne	.L4
.L12:
	mov	DWORD PTR [rdx], esi
	sar	esi, 8
	pop	rbx
	.cfi_def_cfa_offset 16
	mov	DWORD PTR 8[rdx], ecx
	sar	ecx, 8
	pop	rbp
	.cfi_def_cfa_offset 8
	mov	DWORD PTR 16[rdx], edi
	sar	edi, 8
	mov	DWORD PTR 24[rdx], eax
	sar	eax, 8
	mov	DWORD PTR 4[rdx], esi
	mov	DWORD PTR 12[rdx], ecx
	mov	DWORD PTR 20[rdx], edi
	mov	DWORD PTR 28[rdx], eax
	ret
	.cfi_endproc
.LFE0:
	.size	rc2_dcrypt8, .-rc2_dcrypt8
	.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_crypto_rc2.c_rc2_dcrypt8.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rc2_dcrypt8, %function
rc2_dcrypt8:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r7, [r0]
	mov	r5, #15
	mov	r4, r7
	ldr	ip, [r1, #16]
	ldr	r6, [r1, #8]
	ldr	r8, [r1, #12]
	add	r0, r1, #20
	ldm	r0, {r0, r3, lr}
	orr	r3, r3, lr, lsl #8
	orr	ip, ip, r0, lsl #8
	ldm	r1, {r0, lr}
	orr	r1, r6, r8, lsl #8
	ldr	r6, .L10
	orr	r0, r0, lr, lsl #8
.L3:
	cmp	r5, #11
	cmpne	r5, #5
	eor	lr, r1, r0
	and	r8, r3, r6
	ldr	r9, [r4, #252]
	and	lr, lr, ip
	eor	lr, lr, r0
	asr	r3, r8, #5
	add	lr, lr, r9
	orr	r3, r3, r8, lsl #11
	sub	r3, r3, lr
	and	r3, r3, r6
	eor	lr, r3, r0
	ldr	r9, [r4, #248]
	and	lr, lr, r1
	asr	r8, ip, #3
	eor	lr, lr, r3
	add	lr, lr, r9
	orr	ip, r8, ip, lsl #13
	sub	ip, ip, lr
	eor	lr, r3, ip
	and	r8, r1, r6
	ldr	r9, [r4, #244]
	and	lr, lr, r0
	asr	r1, r8, #2
	eor	lr, lr, ip
	add	lr, lr, r9
	orr	r1, r1, r8, lsl #14
	sub	r1, r1, lr
	eor	lr, ip, r1
	and	r8, r0, r6
	ldr	r9, [r4, #240]
	and	lr, lr, r3
	eor	lr, lr, r1
	asr	r0, r8, #1
	add	lr, lr, r9
	orr	r0, r0, r8, lsl #15
	sub	r5, r5, #1
	sub	r0, r0, lr
	bne	.L2
	and	lr, ip, #63
	ldr	lr, [r7, lr, lsl #2]
	and	r8, r0, #63
	sub	r3, r3, lr
	and	r9, r3, #63
	and	lr, r1, #63
	ldr	r9, [r7, r9, lsl #2]
	ldr	r8, [r7, r8, lsl #2]
	ldr	lr, [r7, lr, lsl #2]
	sub	r0, r0, r9
	sub	r1, r1, r8
	sub	ip, ip, lr
.L2:
	cmn	r5, #1
	sub	r4, r4, #16
	bne	.L3
	asr	r4, r0, #8
	asr	lr, r1, #8
	str	r0, [r2]
	str	r1, [r2, #8]
	asr	r0, ip, #8
	asr	r1, r3, #8
	str	r4, [r2, #4]
	str	lr, [r2, #12]
	str	ip, [r2, #16]
	str	r0, [r2, #20]
	str	r3, [r2, #24]
	str	r1, [r2, #28]
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L11:
	.align	2
.L10:
	.word	65535
	.size	rc2_dcrypt8, .-rc2_dcrypt8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
