	.file	"extr_safexcel_hash.c_safexcel_hmac_init_iv.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	safexcel_hmac_init_iv, @function
safexcel_hmac_init_iv:
.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
	mov	r14d, esi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rcx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	sub	rsp, 32
	.cfi_def_cfa_offset 80
	mov	edx, DWORD PTR safexcel_ahash_complete[rip]
	mov	esi, DWORD PTR CRYPTO_TFM_REQ_MAY_BACKLOG[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	lea	rcx, 16[rsp]
	lea	r15, 12[rsp]
	call	ahash_request_set_callback@PLT
	mov	rsi, r12
	mov	edx, r14d
	mov	rdi, r15
	call	sg_init_one@PLT
	mov	rdx, r12
	mov	ecx, r14d
	mov	rsi, r15
	mov	rdi, rbp
	lea	r12, 20[rsp]
	call	ahash_request_set_crypt@PLT
	mov	rdi, r12
	call	init_completion@PLT
	mov	rdi, rbp
	call	crypto_ahash_init@PLT
	test	eax, eax
	je	.L10
.L1:
	mov	rdx, QWORD PTR 24[rsp]
	xor	rdx, QWORD PTR fs:40
	jne	.L11
	add	rsp, 32
	.cfi_remember_state
	.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
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	rdi, rbp
	call	ahash_request_ctx@PLT
	mov	rdi, rbp
	movabs	rsi, 4294967297
	mov	QWORD PTR [rax], rsi
	call	crypto_ahash_update@PLT
	test	eax, eax
	je	.L3
	mov	edx, eax
	add	edx, DWORD PTR EINPROGRESS[rip]
	je	.L3
	mov	ecx, eax
	add	ecx, DWORD PTR EBUSY[rip]
	jne	.L1
.L3:
	mov	rdi, r12
	call	wait_for_completion_interruptible@PLT
	mov	eax, DWORD PTR 16[rsp]
	test	eax, eax
	jne	.L1
	mov	rsi, r13
	mov	rdi, rbp
	call	crypto_ahash_export@PLT
	jmp	.L1
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	safexcel_hmac_init_iv, .-safexcel_hmac_init_iv
	.comm	safexcel_ahash_complete,4,4
	.comm	EINPROGRESS,4,4
	.comm	EBUSY,4,4
	.comm	CRYPTO_TFM_REQ_MAY_BACKLOG,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_safexcel_hash.c_safexcel_hmac_init_iv.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	safexcel_hmac_init_iv, %function
safexcel_hmac_init_iv:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r6, r1
	mov	r5, r2
	mov	r4, r0
	mov	r7, r3
	ldr	r2, .L12
	ldr	r3, .L12+4
	sub	sp, sp, #20
	ldr	ip, .L12+8
	ldr	r1, [r3]
	ldr	r2, [r2]
	add	r3, sp, #4
	ldr	ip, [ip]
	str	ip, [sp, #12]
	mov	ip,#0
	bl	ahash_request_set_callback
	mov	r2, r6
	mov	r1, r5
	mov	r0, sp
	bl	sg_init_one
	mov	r3, r6
	mov	r2, r5
	mov	r1, sp
	mov	r0, r4
	bl	ahash_request_set_crypt
	add	r0, sp, #8
	bl	init_completion
	mov	r0, r4
	bl	crypto_ahash_init
	cmp	r0, #0
	beq	.L10
.L1:
	ldr	r3, .L12+8
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L10:
	mov	r0, r4
	bl	ahash_request_ctx
	mov	r3, #1
	str	r3, [r0]
	str	r3, [r0, #4]
	mov	r0, r4
	bl	crypto_ahash_update
	cmp	r0, #0
	beq	.L3
	ldr	r3, .L12+12
	ldr	r3, [r3]
	cmn	r0, r3
	beq	.L3
	ldr	r3, .L12+16
	ldr	r3, [r3]
	cmn	r0, r3
	bne	.L1
.L3:
	add	r0, sp, #8
	bl	wait_for_completion_interruptible
	ldr	r0, [sp, #4]
	cmp	r0, #0
	bne	.L1
	mov	r1, r7
	mov	r0, r4
	bl	crypto_ahash_export
	b	.L1
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	safexcel_ahash_complete
	.word	CRYPTO_TFM_REQ_MAY_BACKLOG
	.word	.LC0
	.word	EINPROGRESS
	.word	EBUSY
	.size	safexcel_hmac_init_iv, .-safexcel_hmac_init_iv
	.comm	safexcel_ahash_complete,4,4
	.comm	EINPROGRESS,4,4
	.comm	EBUSY,4,4
	.comm	CRYPTO_TFM_REQ_MAY_BACKLOG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
