	.file	"extr_mkhilinkfw.c_do_decrypt.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	do_decrypt, @function
do_decrypt:
.LFB0:
	.cfi_startproc
	endbr64
	mov	edx, esi
	lea	eax, 4[rsi]
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	sub	edx, 3
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	cmovns	eax, edx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	sar	eax, 3
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	je	.L2
	sub	eax, 1
	lea	rbp, 3[rdi]
	lea	r13, schedule[rip]
	lea	r14, 7[rdi+rax*4]
	.p2align 4,,10
	.p2align 3
.L3:
	mov	ecx, DWORD PTR DES_DECRYPT[rip]
	mov	rsi, rbp
	mov	rdi, rbp
	mov	rdx, r13
	add	rbp, 4
	call	DES_ecb_encrypt@PLT
	cmp	rbp, r14
	jne	.L3
.L2:
	test	r12d, r12d
	lea	esi, 7[r12]
	cmovs	r12d, esi
	sar	r12d, 3
	je	.L1
	lea	eax, -1[r12]
	lea	rbp, schedule[rip]
	lea	r12, 4[rbx+rax*4]
	.p2align 4,,10
	.p2align 3
.L5:
	mov	ecx, DWORD PTR DES_DECRYPT[rip]
	mov	rsi, rbx
	mov	rdi, rbx
	mov	rdx, rbp
	add	rbx, 4
	call	DES_ecb_encrypt@PLT
	cmp	r12, rbx
	jne	.L5
.L1:
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	do_decrypt, .-do_decrypt
	.comm	schedule,4,4
	.comm	DES_DECRYPT,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_mkhilinkfw.c_do_decrypt.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_decrypt, %function
do_decrypt:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	subs	r8, r1, #3
	addmi	r8, r1, #4
	asrs	r8, r8, #3
	mov	r6, r1
	mov	r4, r0
	beq	.L2
	add	r8, r0, r8, lsl #2
	ldr	r7, .L16
	ldr	r9, .L16+4
	add	r5, r0, #3
	add	r8, r8, #3
.L3:
	mov	r1, r5
	mov	r0, r5
	mov	r2, r9
	ldr	r3, [r7]
	add	r5, r5, #4
	bl	DES_ecb_encrypt
	cmp	r8, r5
	bne	.L3
.L2:
	add	r5, r6, #7
	cmp	r6, #0
	movlt	r6, r5
	asrs	r6, r6, #3
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
	ldr	r7, .L16
	ldr	r8, .L16+4
	add	r6, r4, r6, lsl #2
.L5:
	mov	r1, r4
	mov	r0, r4
	mov	r2, r8
	ldr	r3, [r7]
	add	r4, r4, #4
	bl	DES_ecb_encrypt
	cmp	r6, r4
	bne	.L5
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L17:
	.align	2
.L16:
	.word	DES_DECRYPT
	.word	schedule
	.size	do_decrypt, .-do_decrypt
	.comm	schedule,4,4
	.comm	DES_DECRYPT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
