	.file	"extr_authencesn.c_crypto_authenc_esn_decrypt.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	crypto_authenc_esn_decrypt, @function
crypto_authenc_esn_decrypt:
.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
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 72
	.cfi_def_cfa_offset 128
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	call	crypto_aead_reqtfm@PLT
	mov	rdi, r13
	mov	r12, rax
	call	aead_request_ctx@PLT
	mov	rdi, r12
	mov	rbp, rax
	call	crypto_aead_ctx@PLT
	mov	rdi, r12
	mov	rbx, rax
	mov	rax, QWORD PTR 8[rbp]
	mov	QWORD PTR 16[rsp], rax
	mov	rax, QWORD PTR 8[rbx]
	mov	QWORD PTR 24[rsp], rax
	call	crypto_aead_authsize@PLT
	mov	r15, QWORD PTR [rbx]
	mov	r12d, eax
	mov	rdi, r15
	call	crypto_ahash_alignmask@PLT
	mov	rdi, QWORD PTR 8[rbp]
	lea	rsi, 1[rax]
	call	PTR_ALIGN@PLT
	mov	rdi, r15
	mov	ebx, DWORD PTR 4[r13]
	mov	r14, rax
	mov	QWORD PTR 32[rsp], rax
	mov	eax, DWORD PTR 0[r13]
	sub	ebx, r12d
	mov	DWORD PTR 8[rsp], eax
	call	crypto_ahash_digestsize@PLT
	mov	rsi, QWORD PTR 8[r13]
	cdqe
	lea	r10, [r14+rax*4]
	mov	r14, QWORD PTR 16[r13]
	cmp	rsi, r14
	je	.L13
	add	ebx, DWORD PTR 8[rsp]
	mov	rdi, r13
	mov	QWORD PTR 40[rsp], r10
	mov	esi, ebx
	call	crypto_authenc_esn_copy@PLT
	test	eax, eax
	jne	.L1
	mov	rsi, QWORD PTR 8[r13]
	mov	r10, QWORD PTR 40[rsp]
.L3:
	xor	r8d, r8d
	mov	ecx, r12d
	mov	edx, ebx
	mov	rdi, r10
	call	scatterwalk_map_and_copy@PLT
	test	r12d, r12d
	je	.L6
	lea	rdi, 48[rsp]
	xor	r8d, r8d
	xor	edx, edx
	mov	rsi, r14
	mov	ecx, 8
	mov	QWORD PTR 8[rsp], rdi
	mov	r12, QWORD PTR 16[rsp]
	add	r12, QWORD PTR 24[rsp]
	call	scatterwalk_map_and_copy@PLT
	mov	rdi, QWORD PTR 8[rsp]
	mov	rsi, r14
	mov	r8d, 1
	mov	ecx, 4
	mov	edx, 4
	call	scatterwalk_map_and_copy@PLT
	mov	r8d, 1
	mov	edx, ebx
	mov	rsi, r14
	mov	ecx, 4
	lea	rdi, 52[rsp]
	call	scatterwalk_map_and_copy@PLT
	mov	edi, DWORD PTR 0[rbp]
	mov	esi, 2
	call	sg_init_table@PLT
	mov	edi, DWORD PTR 0[rbp]
	mov	edx, 4
	mov	rsi, r14
	call	scatterwalk_ffwd@PLT
	mov	rsi, r15
	mov	rdi, r12
	mov	rbp, rax
	call	ahash_request_set_tfm@PLT
	mov	rdx, QWORD PTR 32[rsp]
	mov	ecx, ebx
	mov	rsi, rbp
	mov	rdi, r12
	call	ahash_request_set_crypt@PLT
	mov	r14d, DWORD PTR authenc_esn_verify_ahash_done[rip]
	mov	rdi, r13
	call	aead_request_flags@PLT
	mov	rdi, r12
	mov	rcx, r13
	mov	esi, eax
	mov	edx, r14d
	call	ahash_request_set_callback@PLT
	mov	rdi, r12
	call	crypto_ahash_digest@PLT
	test	eax, eax
	jne	.L1
.L6:
	mov	rdi, r13
	call	aead_request_flags@PLT
	mov	rdi, r13
	mov	esi, eax
	call	crypto_authenc_esn_decrypt_tail@PLT
.L1:
	mov	rcx, QWORD PTR 56[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L14
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.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
.L13:
	.cfi_restore_state
	add	ebx, DWORD PTR 8[rsp]
	jmp	.L3
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	crypto_authenc_esn_decrypt, .-crypto_authenc_esn_decrypt
	.comm	authenc_esn_verify_ahash_done,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_authencesn.c_crypto_authenc_esn_decrypt.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	crypto_authenc_esn_decrypt, %function
crypto_authenc_esn_decrypt:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L14
	sub	sp, sp, #44
	mov	r4, r0
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	bl	crypto_aead_reqtfm
	mov	r6, r0
	mov	r0, r4
	bl	aead_request_ctx
	mov	r5, r0
	mov	r0, r6
	bl	crypto_aead_ctx
	mov	r7, r0
	ldr	r3, [r5, #4]
	mov	r0, r6
	str	r3, [sp, #12]
	ldr	r3, [r7, #4]
	str	r3, [sp, #16]
	bl	crypto_aead_authsize
	ldr	r10, [r7]
	mov	r6, r0
	mov	r0, r10
	ldr	r7, [r5, #4]
	bl	crypto_ahash_alignmask
	mov	r1, r0
	mov	r0, r7
	add	r1, r1, #1
	bl	PTR_ALIGN
	ldm	r4, {r7, fp}
	mov	r8, r0
	mov	r0, r10
	bl	crypto_ahash_digestsize
	ldr	r9, [r4, #12]
	ldr	r1, [r4, #8]
	sub	fp, fp, r6
	cmp	r1, r9
	add	r3, r8, r0, lsl #2
	addeq	r7, r7, fp
	beq	.L3
	add	r7, r7, fp
	mov	r1, r7
	mov	r0, r4
	str	r3, [sp, #20]
	bl	crypto_authenc_esn_copy
	cmp	r0, #0
	bne	.L1
	ldr	r1, [r4, #8]
	ldr	r3, [sp, #20]
.L3:
	mov	fp, #0
	mov	r0, r3
	mov	r2, r7
	mov	r3, r6
	str	fp, [sp]
	bl	scatterwalk_map_and_copy
	cmp	r6, fp
	bne	.L5
.L6:
	mov	r0, r4
	bl	aead_request_flags
	mov	r1, r0
	mov	r0, r4
	bl	crypto_authenc_esn_decrypt_tail
.L1:
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L5:
	mov	r2, fp
	mov	r3, #8
	mov	r1, r9
	str	fp, [sp]
	add	r0, sp, #28
	bl	scatterwalk_map_and_copy
	mov	r6, #1
	mov	r3, #4
	mov	r1, r9
	mov	r2, r3
	str	r6, [sp]
	add	r0, sp, #28
	bl	scatterwalk_map_and_copy
	mov	r3, #4
	mov	r2, r7
	mov	r1, r9
	str	r6, [sp]
	add	r0, sp, #32
	bl	scatterwalk_map_and_copy
	mov	r1, #2
	ldr	r0, [r5]
	bl	sg_init_table
	mov	r1, r9
	mov	r2, #4
	ldr	r0, [r5]
	bl	scatterwalk_ffwd
	mov	r6, r0
	ldr	r3, [sp, #12]
	ldr	r2, [sp, #16]
	mov	r1, r10
	add	r5, r3, r2
	mov	r0, r5
	bl	ahash_request_set_tfm
	mov	r3, r7
	mov	r2, r8
	mov	r1, r6
	mov	r0, r5
	bl	ahash_request_set_crypt
	mov	r0, r4
	bl	aead_request_flags
	ldr	r3, .L14+4
	mov	r1, r0
	ldr	r2, [r3]
	mov	r0, r5
	mov	r3, r4
	bl	ahash_request_set_callback
	mov	r0, r5
	bl	crypto_ahash_digest
	cmp	r0, #0
	beq	.L6
	b	.L1
.L13:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	.LC0
	.word	authenc_esn_verify_ahash_done
	.size	crypto_authenc_esn_decrypt, .-crypto_authenc_esn_decrypt
	.comm	authenc_esn_verify_ahash_done,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
