	.file	"extr_aesni-intel_glue.c_cbc_encrypt.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	cbc_encrypt, @function
cbc_encrypt:
.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
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, ecx
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	edi, DWORD PTR 4[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	r12, rsp
	call	crypto_blkcipher_ctx@PLT
	mov	edi, eax
	call	aes_ctx@PLT
	mov	ecx, ebx
	mov	rdx, r15
	mov	rsi, r14
	mov	rdi, r12
	mov	r13, rax
	call	blkcipher_walk_init@PLT
	mov	rsi, r12
	mov	rdi, rbp
	call	blkcipher_walk_virt@PLT
	mov	r14d, eax
	mov	eax, DWORD PTR CRYPTO_TFM_REQ_MAY_SLEEP[rip]
	not	eax
	and	DWORD PTR 0[rbp], eax
	xor	eax, eax
	call	kernel_fpu_begin@PLT
	mov	ebx, DWORD PTR [rsp]
	test	ebx, ebx
	je	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	mov	ecx, DWORD PTR AES_BLOCK_MASK[rip]
	mov	r8d, DWORD PTR 4[rsp]
	mov	rdi, r13
	mov	edx, DWORD PTR 8[rsp]
	mov	esi, DWORD PTR 12[rsp]
	and	ecx, ebx
	call	aesni_cbc_enc@PLT
	mov	eax, DWORD PTR AES_BLOCK_SIZE[rip]
	mov	rsi, r12
	mov	rdi, rbp
	lea	edx, -1[rax]
	and	edx, ebx
	call	blkcipher_walk_done@PLT
	mov	ebx, DWORD PTR [rsp]
	mov	r14d, eax
	test	ebx, ebx
	jne	.L3
.L2:
	xor	eax, eax
	call	kernel_fpu_end@PLT
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L11
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r14d
	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
.L11:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	cbc_encrypt, .-cbc_encrypt
	.comm	CRYPTO_TFM_REQ_MAY_SLEEP,4,4
	.comm	AES_BLOCK_SIZE,4,4
	.comm	AES_BLOCK_MASK,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_aesni-intel_glue.c_cbc_encrypt.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cbc_encrypt, %function
cbc_encrypt:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r8, r3
	ldr	r3, .L12
	sub	sp, sp, #36
	mov	r5, r0
	ldr	r0, [r0, #4]
	mov	r4, r1
	mov	r7, r2
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	bl	crypto_blkcipher_ctx
	bl	aes_ctx
	mov	r3, r8
	mov	r2, r7
	mov	r1, r4
	mov	r6, r0
	add	r0, sp, #12
	bl	blkcipher_walk_init
	add	r1, sp, #12
	mov	r0, r5
	bl	blkcipher_walk_virt
	ldr	r2, .L12+4
	ldr	r3, [r5]
	ldr	r2, [r2]
	mov	r9, r0
	bic	r3, r3, r2
	str	r3, [r5]
	bl	kernel_fpu_begin
	ldr	r4, [sp, #12]
	cmp	r4, #0
	beq	.L2
	ldr	r8, .L12+8
	ldr	r7, .L12+12
.L3:
	ldr	r3, [r8]
	ldr	r2, [sp, #16]
	and	r3, r3, r4
	ldr	r1, [sp, #24]
	str	r2, [sp]
	mov	r0, r6
	ldr	r2, [sp, #20]
	bl	aesni_cbc_enc
	ldr	r2, [r7]
	mov	r0, r5
	sub	r2, r2, #1
	and	r2, r2, r4
	add	r1, sp, #12
	bl	blkcipher_walk_done
	ldr	r4, [sp, #12]
	mov	r9, r0
	cmp	r4, #0
	bne	.L3
.L2:
	bl	kernel_fpu_end
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	mov	r0, r9
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	.LC0
	.word	CRYPTO_TFM_REQ_MAY_SLEEP
	.word	AES_BLOCK_MASK
	.word	AES_BLOCK_SIZE
	.size	cbc_encrypt, .-cbc_encrypt
	.comm	CRYPTO_TFM_REQ_MAY_SLEEP,4,4
	.comm	AES_BLOCK_SIZE,4,4
	.comm	AES_BLOCK_MASK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
