	.file	"extr_cc_buffer_mgr.c_cc_prepare_aead_data_mlli.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	cc_prepare_aead_data_mlli, @function
cc_prepare_aead_data_mlli:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdx
	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	r12, rdi
	mov	rdi, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	QWORD PTR 24[rsp], rcx
	mov	QWORD PTR 16[rsp], r8
	mov	DWORD PTR 4[rsp], r9d
	call	aead_request_ctx@PLT
	mov	rdi, r12
	mov	rbx, rax
	mov	eax, DWORD PTR 76[rax]
	mov	r14d, DWORD PTR [rbx]
	mov	DWORD PTR 8[rsp], eax
	call	drvdata_to_dev@PLT
	mov	r13, rax
	mov	rax, QWORD PTR 8[rbp]
	cmp	QWORD PTR 0[rbp], rax
	je	.L14
	mov	eax, DWORD PTR 8[rsp]
	mov	r8d, DWORD PTR 60[rbx]
	lea	r12, 28[rbx]
	lea	r11, 52[rbx]
	cmp	eax, DWORD PTR DRV_CRYPTO_DIRECTION_DECRYPT[rip]
	je	.L15
	mov	QWORD PTR 8[rsp], r11
	mov	r9d, DWORD PTR 72[rbx]
	mov	rsi, r15
	mov	rdi, r13
	mov	rcx, QWORD PTR 32[rbx]
	mov	edx, DWORD PTR 24[rbx]
	push	r12
	.cfi_def_cfa_offset 104
	mov	ebp, DWORD PTR 12[rsp]
	push	rbp
	.cfi_def_cfa_offset 112
	call	cc_add_sg_entry@PLT
	mov	r11, QWORD PTR 24[rsp]
	mov	edx, DWORD PTR 48[rbx]
	mov	rsi, r15
	mov	r9d, DWORD PTR 56[rbx]
	mov	r8d, DWORD PTR 60[rbx]
	mov	rdi, r13
	mov	rcx, QWORD PTR 64[rbx]
	push	r11
	.cfi_def_cfa_offset 120
	push	rbp
	.cfi_def_cfa_offset 128
	call	cc_add_sg_entry@PLT
	mov	rax, QWORD PTR 48[rsp]
	mov	edi, DWORD PTR 24[rbx]
	mov	esi, r14d
	add	rsp, 32
	.cfi_def_cfa_offset 96
	mov	edx, DWORD PTR [rax]
	call	cc_is_icv_frag@PLT
	mov	QWORD PTR 40[rbx], rax
	test	rax, rax
	je	.L16
	mov	eax, DWORD PTR 20[rbx]
	mov	DWORD PTR 16[rbx], eax
	mov	eax, DWORD PTR 12[rbx]
	mov	DWORD PTR 4[rbx], eax
	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
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	mov	r9d, DWORD PTR 56[rbx]
	mov	rcx, QWORD PTR 64[rbx]
	mov	rsi, r15
	mov	rdi, r13
	mov	edx, DWORD PTR 48[rbx]
	push	r11
	.cfi_def_cfa_offset 104
	mov	eax, DWORD PTR 12[rsp]
	push	rax
	.cfi_def_cfa_offset 112
	call	cc_add_sg_entry@PLT
	mov	r9d, DWORD PTR 72[rbx]
	mov	r8d, DWORD PTR 60[rbx]
	mov	rsi, r15
	mov	rcx, QWORD PTR 32[rbx]
	mov	edx, DWORD PTR 24[rbx]
	push	r12
	.cfi_def_cfa_offset 120
	mov	rdi, r13
	mov	eax, DWORD PTR 28[rsp]
	push	rax
	.cfi_def_cfa_offset 128
	call	cc_add_sg_entry@PLT
	mov	rax, QWORD PTR 56[rsp]
	mov	edi, DWORD PTR 48[rbx]
	mov	esi, r14d
	add	rsp, 32
	.cfi_def_cfa_offset 96
	mov	edx, DWORD PTR [rax]
	call	cc_is_icv_frag@PLT
	mov	QWORD PTR 40[rbx], rax
	test	rax, rax
	je	.L8
.L12:
	mov	edx, DWORD PTR CC_SG_TO_BUF[rip]
	mov	rsi, rbp
	mov	rdi, r13
	call	cc_copy_mac@PLT
.L5:
	mov	eax, DWORD PTR 8[rbx]
	mov	DWORD PTR 4[rbx], eax
	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
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	lea	rax, 52[rbx]
	mov	rcx, QWORD PTR 64[rbx]
	mov	r9d, DWORD PTR 56[rbx]
	mov	rsi, r15
	mov	r8d, DWORD PTR 60[rbx]
	mov	edx, DWORD PTR 48[rbx]
	push	rax
	.cfi_def_cfa_offset 104
	mov	rdi, r13
	mov	eax, DWORD PTR 12[rsp]
	push	rax
	.cfi_def_cfa_offset 112
	call	cc_add_sg_entry@PLT
	mov	rax, QWORD PTR 40[rsp]
	mov	edi, DWORD PTR 48[rbx]
	mov	esi, r14d
	mov	edx, DWORD PTR [rax]
	call	cc_is_icv_frag@PLT
	mov	QWORD PTR 40[rbx], rax
	pop	rdx
	.cfi_def_cfa_offset 104
	pop	rcx
	.cfi_def_cfa_offset 96
	test	rax, rax
	je	.L8
	mov	eax, DWORD PTR 8[rsp]
	cmp	eax, DWORD PTR DRV_CRYPTO_DIRECTION_DECRYPT[rip]
	je	.L17
	mov	eax, DWORD PTR 12[rbx]
	mov	DWORD PTR 4[rbx], eax
	mov	eax, DWORD PTR 20[rbx]
	mov	DWORD PTR 16[rbx], eax
	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
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	movsx	rdx, DWORD PTR 24[rbx]
	mov	rax, QWORD PTR 32[rbx]
	lea	rbp, -4[rax+rdx*4]
	mov	rdi, rbp
	call	sg_dma_address@PLT
	mov	r15, QWORD PTR 16[rsp]
	mov	r8d, eax
.L11:
	mov	eax, DWORD PTR [r15]
	mov	rdi, rbp
	mov	DWORD PTR 4[rsp], eax
	sub	eax, r14d
	add	eax, r8d
	mov	DWORD PTR 16[rbx], eax
	call	sg_virt@PLT
	mov	r8d, eax
	mov	eax, DWORD PTR [r15]
	sub	eax, r14d
	add	eax, r8d
	mov	DWORD PTR 4[rbx], eax
	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
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	movsx	rdx, DWORD PTR 48[rbx]
	mov	rax, QWORD PTR 64[rbx]
	lea	rbp, -4[rax+rdx*4]
	mov	rdi, rbp
	call	sg_dma_address@PLT
	mov	r15, QWORD PTR 24[rsp]
	mov	r8d, eax
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L17:
	mov	eax, DWORD PTR [r12]
	test	eax, eax
	jne	.L5
	jmp	.L12
	.cfi_endproc
.LFE0:
	.size	cc_prepare_aead_data_mlli, .-cc_prepare_aead_data_mlli
	.comm	DRV_CRYPTO_DIRECTION_DECRYPT,4,4
	.comm	CC_SG_TO_BUF,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_cc_buffer_mgr.c_cc_prepare_aead_data_mlli.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cc_prepare_aead_data_mlli, %function
cc_prepare_aead_data_mlli:
	@ args = 8, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r6, r0
	sub	sp, sp, #20
	mov	r0, r1
	mov	r5, r1
	mov	r9, r2
	mov	r8, r3
	bl	aead_request_ctx
	mov	r4, r0
	mov	r0, r6
	ldr	fp, [r4, #64]
	ldr	r10, [r4]
	bl	drvdata_to_dev
	ldm	r5, {r2, r3}
	cmp	r2, r3
	mov	r7, r0
	beq	.L13
	ldr	r3, .L17
	ldr	ip, [r4, #52]
	ldr	r3, [r3]
	add	r6, r4, #28
	cmp	fp, r3
	add	fp, r4, #44
	beq	.L14
	ldr	r1, [sp, #60]
	ldr	r3, [r4, #32]
	ldr	r2, [r4, #24]
	str	r1, [sp, #8]
	str	r6, [sp, #12]
	ldr	lr, [r4, #60]
	mov	r1, r9
	stm	sp, {ip, lr}
	bl	cc_add_sg_entry
	ldr	r1, [sp, #60]
	ldr	r3, [r4, #56]
	ldr	r2, [r4, #40]
	str	r1, [sp, #8]
	str	fp, [sp, #12]
	ldr	r0, [r4, #48]
	mov	r1, r9
	str	r0, [sp, #4]
	ldr	ip, [r4, #52]
	mov	r0, r7
	str	ip, [sp]
	bl	cc_add_sg_entry
	ldr	r3, [sp, #56]
	mov	r1, r10
	ldr	r2, [r3]
	ldr	r0, [r4, #24]
	bl	cc_is_icv_frag
	cmp	r0, #0
	str	r0, [r4, #36]
	beq	.L15
	ldr	r2, [r4, #20]
	ldr	r3, [r4, #12]
	str	r2, [r4, #16]
	str	r3, [r4, #4]
.L1:
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L14:
	ldr	r1, [sp, #60]
	ldr	r3, [r4, #56]
	ldr	r2, [r4, #40]
	str	r1, [sp, #8]
	str	fp, [sp, #12]
	ldr	lr, [r4, #48]
	mov	r1, r9
	stm	sp, {ip, lr}
	bl	cc_add_sg_entry
	ldr	r1, [sp, #60]
	ldr	r3, [r4, #32]
	ldr	r2, [r4, #24]
	str	r1, [sp, #8]
	str	r6, [sp, #12]
	ldr	r0, [r4, #60]
	mov	r1, r9
	str	r0, [sp, #4]
	ldr	r0, [r4, #52]
	str	r0, [sp]
	mov	r0, r7
	bl	cc_add_sg_entry
	mov	r1, r10
	ldr	r2, [r8]
	ldr	r0, [r4, #40]
	bl	cc_is_icv_frag
	cmp	r0, #0
	str	r0, [r4, #36]
	beq	.L8
.L11:
	ldr	r3, .L17+4
	mov	r1, r5
	mov	r0, r7
	ldr	r2, [r3]
	bl	cc_copy_mac
.L5:
	ldr	r3, [r4, #8]
	str	r3, [r4, #4]
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L13:
	ldr	r1, [sp, #60]
	add	ip, r4, #44
	ldr	r3, [r4, #56]
	ldr	r2, [r4, #40]
	str	r1, [sp, #8]
	str	ip, [sp, #12]
	ldr	ip, [r4, #48]
	mov	r1, r9
	str	ip, [sp, #4]
	ldr	ip, [r4, #52]
	str	ip, [sp]
	bl	cc_add_sg_entry
	mov	r1, r10
	ldr	r2, [r8]
	ldr	r0, [r4, #40]
	bl	cc_is_icv_frag
	cmp	r0, #0
	str	r0, [r4, #36]
	beq	.L8
	ldr	r3, .L17
	ldr	r3, [r3]
	cmp	fp, r3
	beq	.L16
	ldr	r2, [r4, #12]
	ldr	r3, [r4, #20]
	str	r2, [r4, #4]
	str	r3, [r4, #16]
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L15:
	ldr	r3, [r4, #24]
	ldr	r5, [r4, #32]
	sub	r3, r3, #-1073741823
	add	r5, r5, r3, lsl #2
	mov	r0, r5
	bl	sg_dma_address
	mov	r2, r0
	ldr	r3, [sp, #56]
	mov	r0, r5
	ldr	r3, [r3]
	sub	r3, r3, r10
	add	r3, r3, r2
	str	r3, [r4, #16]
	bl	sg_virt
	ldr	r3, [sp, #56]
	ldr	r3, [r3]
	sub	r10, r3, r10
	add	r10, r10, r0
	str	r10, [r4, #4]
	b	.L1
.L8:
	ldr	r3, [r4, #40]
	ldr	r5, [r4, #56]
	sub	r3, r3, #-1073741823
	add	r5, r5, r3, lsl #2
	mov	r0, r5
	bl	sg_dma_address
	mov	r2, r0
	ldr	r3, [r8]
	mov	r0, r5
	sub	r3, r3, r10
	add	r3, r3, r2
	str	r3, [r4, #16]
	bl	sg_virt
	ldr	r3, [r8]
	sub	r10, r3, r10
	add	r10, r10, r0
	str	r10, [r4, #4]
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L16:
	ldr	r3, [r6]
	cmp	r3, #0
	bne	.L5
	b	.L11
.L18:
	.align	2
.L17:
	.word	DRV_CRYPTO_DIRECTION_DECRYPT
	.word	CC_SG_TO_BUF
	.size	cc_prepare_aead_data_mlli, .-cc_prepare_aead_data_mlli
	.comm	DRV_CRYPTO_DIRECTION_DECRYPT,4,4
	.comm	CC_SG_TO_BUF,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
