	.file	"extr_hash.c_mv_cesa_ahmac_sha1_setkey.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"mv-sha1"
	.text
	.p2align 4
	.type	mv_cesa_ahmac_sha1_setkey, @function
mv_cesa_ahmac_sha1_setkey:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	xor	ebx, ebx
	sub	rsp, 40
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	crypto_ahash_tfm@PLT
	mov	edi, eax
	call	crypto_tfm_ctx@PLT
	mov	rsi, r12
	lea	rcx, 8[rsp]
	mov	edx, r13d
	lea	r8, 16[rsp]
	lea	rdi, .LC0[rip]
	mov	rbp, rax
	call	mv_cesa_ahmac_setkey@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L3
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rax, QWORD PTR 0[rbp]
	lea	r13, [rax+rbx*8]
	mov	rax, QWORD PTR 8[rsp]
	mov	edi, DWORD PTR [rax+rbx*4]
	add	rbx, 1
	call	be32_to_cpu@PLT
	mov	QWORD PTR 0[r13], rax
.L3:
	mov	rdi, QWORD PTR 8[rsp]
	call	ARRAY_SIZE@PLT
	cmp	eax, ebx
	jg	.L4
	xor	ebx, ebx
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rax, QWORD PTR 0[rbp]
	lea	r13, 64[rax+rbx*8]
	mov	rax, QWORD PTR 16[rsp]
	mov	edi, DWORD PTR [rax+rbx*4]
	add	rbx, 1
	call	be32_to_cpu@PLT
	mov	QWORD PTR 0[r13], rax
.L5:
	mov	rdi, QWORD PTR 16[rsp]
	call	ARRAY_SIZE@PLT
	cmp	eax, ebx
	jg	.L6
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L10
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
.L10:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	mv_cesa_ahmac_sha1_setkey, .-mv_cesa_ahmac_sha1_setkey
	.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_hash.c_mv_cesa_ahmac_sha1_setkey.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"mv-sha1\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mv_cesa_ahmac_sha1_setkey, %function
mv_cesa_ahmac_sha1_setkey:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L11
	sub	sp, sp, #24
	mov	r4, r1
	mov	r5, r2
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	bl	crypto_ahash_tfm
	bl	crypto_tfm_ctx
	add	r3, sp, #16
	mov	r1, r4
	str	r3, [sp]
	mov	r6, r0
	mov	r2, r5
	ldr	r0, .L11+4
	add	r3, sp, #12
	bl	mv_cesa_ahmac_setkey
	subs	r7, r0, #0
	moveq	r4, r7
	beq	.L3
	b	.L1
.L4:
	ldr	r3, [sp, #12]
	ldr	r5, [r6]
	ldr	r0, [r3, r4, lsl #2]
	bl	be32_to_cpu
	str	r0, [r5, r4, lsl #2]
	add	r4, r4, #1
.L3:
	ldr	r0, [sp, #12]
	bl	ARRAY_SIZE
	cmp	r0, r4
	bgt	.L4
	mov	r4, #0
	b	.L5
.L6:
	ldr	r3, [sp, #16]
	ldr	r8, [r6]
	ldr	r0, [r3, r4, lsl #2]
	bl	be32_to_cpu
	lsl	r5, r4, #2
	add	r5, r5, #32
	add	r4, r4, #1
	str	r0, [r8, r5]
.L5:
	ldr	r0, [sp, #16]
	bl	ARRAY_SIZE
	cmp	r0, r4
	bgt	.L6
.L1:
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	mov	r0, r7
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	.LC1
	.word	.LC0
	.size	mv_cesa_ahmac_sha1_setkey, .-mv_cesa_ahmac_sha1_setkey
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
