	.file	"extr_tea.c_tea_decrypt.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	tea_decrypt, @function
tea_decrypt:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	crypto_tfm_ctx@PLT
	mov	edi, DWORD PTR 0[rbp]
	mov	r13, rax
	call	le32_to_cpu@PLT
	mov	edi, DWORD PTR 4[rbp]
	mov	r12d, eax
	call	le32_to_cpu@PLT
	mov	esi, DWORD PTR TEA_DELTA[rip]
	mov	ebp, eax
	mov	rax, QWORD PTR 0[r13]
	mov	edx, esi
	mov	r10d, DWORD PTR [rax]
	mov	r9d, DWORD PTR 4[rax]
	sal	edx, 5
	mov	r8d, DWORD PTR 8[rax]
	mov	edi, DWORD PTR 12[rax]
	mov	eax, DWORD PTR TEA_ROUNDS[rip]
	test	eax, eax
	jle	.L2
	lea	ecx, -1[rax]
	.p2align 4,,10
	.p2align 3
.L3:
	mov	eax, r12d
	mov	r11d, r12d
	sub	ecx, 1
	sal	eax, 4
	sar	r11d, 5
	add	r11d, edi
	add	eax, r8d
	xor	eax, r11d
	lea	r11d, [r12+rdx]
	xor	eax, r11d
	sub	ebp, eax
	mov	eax, ebp
	mov	r11d, ebp
	sal	eax, 4
	sar	r11d, 5
	add	r11d, r9d
	add	eax, r10d
	xor	eax, r11d
	lea	r11d, 0[rbp+rdx]
	sub	edx, esi
	xor	eax, r11d
	sub	r12d, eax
	cmp	ecx, -1
	jne	.L3
.L2:
	mov	edi, r12d
	call	cpu_to_le32@PLT
	mov	edi, ebp
	mov	DWORD PTR [rbx], eax
	call	cpu_to_le32@PLT
	mov	DWORD PTR 4[rbx], eax
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	tea_decrypt, .-tea_decrypt
	.comm	TEA_ROUNDS,4,4
	.comm	TEA_DELTA,4,4
	.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_tea.c_tea_decrypt.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	tea_decrypt, %function
tea_decrypt:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r2
	mov	r6, r1
	bl	crypto_tfm_ctx
	mov	r7, r0
	ldr	r0, [r4]
	bl	le32_to_cpu
	mov	r5, r0
	ldr	r0, [r4, #4]
	bl	le32_to_cpu
	ldr	r3, .L7
	ldr	r2, .L7+4
	ldr	r1, [r3]
	ldr	r3, [r7]
	cmp	r1, #0
	mov	r4, r0
	ldmib	r3, {r7, lr}
	ldr	ip, [r2]
	ldr	r8, [r3]
	ldr	r0, [r3, #12]
	ble	.L2
	sub	r1, r1, #1
	lsl	r2, ip, #5
.L3:
	add	r9, r0, r5, asr #5
	add	r3, lr, r5, lsl #4
	eor	r3, r3, r9
	add	r9, r5, r2
	eor	r3, r3, r9
	sub	r4, r4, r3
	add	r9, r7, r4, asr #5
	add	r3, r8, r4, lsl #4
	eor	r3, r3, r9
	sub	r1, r1, #1
	add	r9, r4, r2
	eor	r3, r3, r9
	cmn	r1, #1
	sub	r5, r5, r3
	sub	r2, r2, ip
	bne	.L3
.L2:
	mov	r0, r5
	bl	cpu_to_le32
	mov	r3, r0
	mov	r0, r4
	str	r3, [r6]
	bl	cpu_to_le32
	str	r0, [r6, #4]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L8:
	.align	2
.L7:
	.word	TEA_ROUNDS
	.word	TEA_DELTA
	.size	tea_decrypt, .-tea_decrypt
	.comm	TEA_ROUNDS,4,4
	.comm	TEA_DELTA,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
