	.file	"extr_ifxmips_async_aes.c_rfc3686_aes_encrypt.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	rfc3686_aes_encrypt, @function
rfc3686_aes_encrypt:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	sub	rsp, 80
	.cfi_def_cfa_offset 128
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 72[rsp], rax
	xor	eax, eax
	mov	r12, rsp
	call	crypto_ablkcipher_reqtfm@PLT
	mov	rdi, rax
	call	crypto_ablkcipher_ctx@PLT
	mov	edx, DWORD PTR CTR_RFC3686_NONCE_SIZE[rip]
	mov	rdi, r12
	mov	r13, QWORD PTR [rbx]
	mov	rsi, QWORD PTR [rax]
	mov	rbp, rax
	call	memcpy@PLT
	movsx	rax, DWORD PTR CTR_RFC3686_NONCE_SIZE[rip]
	mov	edx, DWORD PTR CTR_RFC3686_IV_SIZE[rip]
	mov	rsi, r13
	lea	rdi, [r12+rax*4]
	call	memcpy@PLT
	movsx	rdx, DWORD PTR CTR_RFC3686_IV_SIZE[rip]
	mov	edi, 1
	movsx	rax, DWORD PTR CTR_RFC3686_NONCE_SIZE[rip]
	add	rax, rdx
	lea	r14, [r12+rax*4]
	call	cpu_to_be32@PLT
	mov	QWORD PTR [rbx], r12
	mov	rdx, r12
	mov	rsi, rbx
	mov	DWORD PTR [r14], eax
	mov	ecx, DWORD PTR CRYPTO_DIR_ENCRYPT[rip]
	mov	r8d, 4
	mov	rdi, rbp
	call	lq_aes_queue_mgr@PLT
	mov	QWORD PTR [rbx], r13
	mov	rcx, QWORD PTR 72[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L5
	add	rsp, 80
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	rfc3686_aes_encrypt, .-rfc3686_aes_encrypt
	.comm	CTR_RFC3686_NONCE_SIZE,4,4
	.comm	CTR_RFC3686_IV_SIZE,4,4
	.comm	CRYPTO_DIR_ENCRYPT,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_ifxmips_async_aes.c_rfc3686_aes_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	rfc3686_aes_encrypt, %function
rfc3686_aes_encrypt:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r3, .L6
	sub	sp, sp, #84
	mov	r4, r0
	ldr	r3, [r3]
	str	r3, [sp, #76]
	mov	r3,#0
	bl	crypto_ablkcipher_reqtfm
	bl	crypto_ablkcipher_ctx
	ldr	r3, .L6+4
	add	r7, sp, #12
	ldr	r8, [r3]
	ldr	r1, [r0]
	mov	r6, r0
	mov	r2, r8
	mov	r0, r7
	ldr	r9, [r4]
	bl	memcpy
	ldr	r3, .L6+8
	mov	r1, r9
	ldr	r5, [r3]
	add	r0, r7, r8, lsl #2
	mov	r2, r5
	bl	memcpy
	mov	r0, #1
	bl	cpu_to_be32
	mov	lr, #4
	mov	ip, r0
	add	r2, sp, #80
	ldr	r3, .L6+12
	add	r5, r5, r8
	add	r5, r2, r5, lsl #2
	str	r7, [r4]
	str	lr, [sp]
	mov	r2, r7
	ldr	r3, [r3]
	mov	r0, r6
	mov	r1, r4
	str	ip, [r5, #-68]
	bl	lq_aes_queue_mgr
	ldr	r3, .L6
	str	r9, [r4]
	ldr	r2, [r3]
	ldr	r3, [sp, #76]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	add	sp, sp, #84
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	.LC0
	.word	CTR_RFC3686_NONCE_SIZE
	.word	CTR_RFC3686_IV_SIZE
	.word	CRYPTO_DIR_ENCRYPT
	.size	rfc3686_aes_encrypt, .-rfc3686_aes_encrypt
	.comm	CTR_RFC3686_NONCE_SIZE,4,4
	.comm	CTR_RFC3686_IV_SIZE,4,4
	.comm	CRYPTO_DIR_ENCRYPT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
