	.file	"extr_chcr_algo.c_chcr_add_aead_dst_ent.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	chcr_add_aead_dst_ent
	.type	chcr_add_aead_dst_ent, @function
chcr_add_aead_dst_ent:
.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
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	QWORD PTR 8[rsp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	aead_request_ctx@PLT
	mov	rdi, rbx
	mov	r13, rax
	call	crypto_aead_reqtfm@PLT
	mov	r14, rax
	mov	rdi, rax
	call	crypto_aead_authsize@PLT
	mov	rdi, r14
	lea	r14, 20[rsp]
	mov	ebp, eax
	call	a_ctx@PLT
	mov	rsi, QWORD PTR 8[rsp]
	mov	rdi, r14
	mov	r15, rax
	call	dsgl_walk_init@PLT
	mov	edx, DWORD PTR 8[r13]
	mov	rsi, QWORD PTR IV[rip]
	mov	rdi, r14
	add	rsi, QWORD PTR 16[r13]
	call	dsgl_walk_add_page@PLT
	mov	eax, ebp
	mov	rdx, QWORD PTR 8[rbx]
	add	rdx, QWORD PTR 16[rbx]
	neg	eax
	cmp	QWORD PTR 0[r13], 0
	mov	esi, DWORD PTR [rbx]
	mov	rdi, r14
	cmovne	ebp, eax
	xor	ecx, ecx
	add	rdx, rbp
	call	dsgl_walk_add_sg@PLT
	mov	edx, DWORD PTR [r15]
	movzx	esi, r12w
	mov	rdi, r14
	call	dsgl_walk_end@PLT
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L7
	add	rsp, 40
	.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
.L7:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	chcr_add_aead_dst_ent, .-chcr_add_aead_dst_ent
	.comm	IV,8,8
	.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_chcr_algo.c_chcr_add_aead_dst_ent.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	chcr_add_aead_dst_ent
	.syntax unified
	.arm
	.fpu softvfp
	.type	chcr_add_aead_dst_ent, %function
chcr_add_aead_dst_ent:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r3, .L10
	sub	sp, sp, #12
	mov	r7, r2
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	mov	r4, r0
	mov	r9, r1
	bl	aead_request_ctx
	mov	r5, r0
	mov	r0, r4
	bl	crypto_aead_reqtfm
	mov	r8, r0
	bl	crypto_aead_authsize
	mov	r6, r0
	mov	r0, r8
	bl	a_ctx
	mov	r8, r0
	mov	r1, r9
	mov	r0, sp
	bl	dsgl_walk_init
	ldr	r3, .L10+4
	ldr	r1, [r5, #8]
	ldr	r3, [r3]
	ldr	r2, [r5, #4]
	add	r1, r1, r3
	mov	r0, sp
	bl	dsgl_walk_add_page
	ldr	r1, [r5]
	ldr	r3, [r4, #4]
	ldr	r2, [r4, #8]
	cmp	r1, #0
	rsbne	r6, r6, #0
	add	r2, r2, r3
	ldr	r1, [r4]
	mov	r3, #0
	add	r2, r2, r6
	mov	r0, sp
	bl	dsgl_walk_add_sg
	ldr	r2, [r8]
	mov	r1, r7
	mov	r0, sp
	bl	dsgl_walk_end
	ldr	r3, .L10
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L9:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	.LC0
	.word	IV
	.size	chcr_add_aead_dst_ent, .-chcr_add_aead_dst_ent
	.comm	IV,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
