	.file	"extr_aes-ce-glue.c_cbc_encrypt_walk.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	cbc_encrypt_walk, @function
cbc_encrypt_walk:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	crypto_skcipher_reqtfm@PLT
	mov	rdi, rax
	call	crypto_skcipher_ctx@PLT
	mov	esi, DWORD PTR [rbx]
	mov	ecx, DWORD PTR AES_BLOCK_SIZE[rip]
	xor	edx, edx
	mov	rbp, rax
	mov	eax, esi
	div	ecx
	cmp	esi, ecx
	jb	.L4
	mov	r12d, eax
	.p2align 4,,10
	.p2align 3
.L3:
	xor	eax, eax
	call	kernel_neon_begin@PLT
	mov	r13d, DWORD PTR 4[rbx]
	mov	rdi, rbp
	call	num_rounds@PLT
	mov	esi, DWORD PTR 8[rbx]
	mov	edi, DWORD PTR 12[rbx]
	mov	r8d, r12d
	mov	edx, DWORD PTR 0[rbp]
	mov	ecx, eax
	mov	r9d, r13d
	call	ce_aes_cbc_encrypt@PLT
	xor	eax, eax
	call	kernel_neon_end@PLT
	mov	eax, DWORD PTR [rbx]
	xor	edx, edx
	mov	rdi, rbx
	div	DWORD PTR AES_BLOCK_SIZE[rip]
	mov	esi, edx
	call	skcipher_walk_done@PLT
	mov	esi, DWORD PTR [rbx]
	mov	ecx, DWORD PTR AES_BLOCK_SIZE[rip]
	xor	edx, edx
	mov	r9d, eax
	mov	eax, esi
	div	ecx
	mov	r12d, eax
	cmp	esi, ecx
	jnb	.L3
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r9d
	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
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	add	rsp, 8
	.cfi_def_cfa_offset 40
	xor	r9d, r9d
	pop	rbx
	.cfi_def_cfa_offset 32
	mov	eax, r9d
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	cbc_encrypt_walk, .-cbc_encrypt_walk
	.comm	AES_BLOCK_SIZE,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_aes-ce-glue.c_cbc_encrypt_walk.c"
	.text
	.global	__aeabi_uidiv
	.global	__aeabi_uidivmod
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cbc_encrypt_walk, %function
cbc_encrypt_walk:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r1
	sub	sp, sp, #8
	bl	crypto_skcipher_reqtfm
	bl	crypto_skcipher_ctx
	ldr	r10, .L8
	ldr	r7, [r4]
	ldr	r6, [r10]
	mov	r9, r0
	mov	r1, r6
	mov	r0, r7
	bl	__aeabi_uidiv
	cmp	r7, r6
	bcc	.L4
	mov	r5, r0
.L3:
	bl	kernel_neon_begin
	mov	r0, r9
	ldr	r6, [r4, #12]
	ldr	r7, [r4, #8]
	ldr	r8, [r9]
	bl	num_rounds
	ldr	ip, [r4, #4]
	mov	r3, r0
	mov	r2, r8
	stm	sp, {r5, ip}
	mov	r1, r7
	mov	r0, r6
	bl	ce_aes_cbc_encrypt
	bl	kernel_neon_end
	ldr	r1, [r10]
	ldr	r0, [r4]
	bl	__aeabi_uidivmod
	mov	r0, r4
	bl	skcipher_walk_done
	ldr	r8, [r4]
	ldr	r7, [r10]
	mov	r6, r0
	mov	r1, r7
	mov	r0, r8
	bl	__aeabi_uidiv
	cmp	r8, r7
	mov	r5, r0
	bcs	.L3
	mov	r0, r6
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L4:
	mov	r6, #0
	mov	r0, r6
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L9:
	.align	2
.L8:
	.word	AES_BLOCK_SIZE
	.size	cbc_encrypt_walk, .-cbc_encrypt_walk
	.comm	AES_BLOCK_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
