	.file	"extr_kcrypto_aes.c_aes_checksum.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"gssaes"
	.text
	.p2align 4
	.type	aes_checksum, @function
aes_checksum:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, r8
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	r13, QWORD PTR [rdi]
	mov	edi, 1
	mov	rbx, rcx
	call	crypto_getreq@PLT
	mov	edx, DWORD PTR CRYPTO_SHA1_HMAC[rip]
	mov	rbp, rax
	mov	rax, QWORD PTR 56[rax]
	mov	rdi, rbp
	mov	QWORD PTR [rax], rbx
	add	rbx, r12
	mov	QWORD PTR 16[rax], rbx
	mov	QWORD PTR 8[rax], r12
	mov	QWORD PTR 40[rax], 0
	mov	QWORD PTR 32[rax], 0
	mov	DWORD PTR 24[rax], edx
	mov	eax, DWORD PTR 4[r13]
	mov	QWORD PTR 0[rbp], r12
	mov	DWORD PTR 48[rbp], eax
	mov	eax, DWORD PTR CRYPTO_F_IMBUF[rip]
	or	eax, DWORD PTR CRYPTO_F_CBIFSYNC[rip]
	mov	DWORD PTR 8[rbp], 12
	mov	DWORD PTR 12[rbp], eax
	mov	eax, DWORD PTR aes_crypto_cb[rip]
	mov	QWORD PTR 40[rbp], 0
	mov	QWORD PTR 32[rbp], r14
	mov	QWORD PTR 24[rbp], r13
	mov	DWORD PTR 16[rbp], eax
	call	crypto_dispatch@PLT
	mov	edi, DWORD PTR 4[r13]
	mov	ebx, eax
	call	crypto_ses2caps@PLT
	test	DWORD PTR CRYPTOCAP_F_SYNC[rip], eax
	je	.L6
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	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
	jmp	crypto_freereq@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	rdi, r13
	call	mtx_lock@PLT
	test	ebx, ebx
	jne	.L3
	mov	eax, DWORD PTR 12[rbp]
	test	DWORD PTR CRYPTO_F_DONE[rip], eax
	jne	.L3
	xor	r8d, r8d
	lea	rcx, .LC0[rip]
	xor	edx, edx
	mov	rsi, r13
	mov	rdi, rbp
	call	msleep@PLT
.L3:
	mov	rdi, r13
	call	mtx_unlock@PLT
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	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
	jmp	crypto_freereq@PLT
	.cfi_endproc
.LFE0:
	.size	aes_checksum, .-aes_checksum
	.comm	aes_crypto_cb,4,4
	.comm	CRYPTO_SHA1_HMAC,4,4
	.comm	CRYPTO_F_IMBUF,4,4
	.comm	CRYPTO_F_DONE,4,4
	.comm	CRYPTO_F_CBIFSYNC,4,4
	.comm	CRYPTOCAP_F_SYNC,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_kcrypto_aes.c_aes_checksum.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"gssaes\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	aes_checksum, %function
aes_checksum:
	@ args = 8, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r1, r0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r0, #1
	sub	sp, sp, #12
	mov	r5, r3
	ldr	r6, [r1]
	ldr	r7, [sp, #40]
	mov	r8, r2
	bl	crypto_getreq
	mov	ip, #0
	mov	lr, #12
	ldr	r3, .L7
	ldr	r1, [r0, #32]
	ldr	r2, [r3]
	ldr	r3, .L7+4
	add	r9, r5, r7
	ldr	r3, [r3]
	str	r5, [r1]
	orr	r3, r2, r3
	ldr	r2, .L7+8
	str	ip, [r1, #20]
	ldr	r5, [r2]
	ldr	r2, .L7+12
	str	r5, [r1, #12]
	str	ip, [r1, #16]
	str	r9, [r1, #8]
	str	r7, [r1, #4]
	ldr	r2, [r2]
	ldr	r1, [r6, #4]
	str	r3, [r0, #8]
	str	r1, [r0, #28]
	str	ip, [r0, #24]
	str	lr, [r0, #4]
	str	r2, [r0, #12]
	str	r8, [r0, #20]
	str	r7, [r0]
	str	r6, [r0, #16]
	mov	r4, r0
	bl	crypto_dispatch
	mov	r5, r0
	ldr	r0, [r6, #4]
	bl	crypto_ses2caps
	ldr	r3, .L7+16
	ldr	r3, [r3]
	tst	r0, r3
	beq	.L6
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, lr}
	b	crypto_freereq
.L6:
	mov	r0, r6
	bl	mtx_lock
	cmp	r5, #0
	bne	.L3
	ldr	r3, .L7+20
	ldr	r2, [r4, #8]
	ldr	r3, [r3]
	ands	r2, r2, r3
	bne	.L3
	mov	r1, r6
	mov	r0, r4
	ldr	r3, .L7+24
	str	r2, [sp]
	bl	msleep
.L3:
	mov	r0, r6
	bl	mtx_unlock
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, lr}
	b	crypto_freereq
.L8:
	.align	2
.L7:
	.word	CRYPTO_F_IMBUF
	.word	CRYPTO_F_CBIFSYNC
	.word	CRYPTO_SHA1_HMAC
	.word	aes_crypto_cb
	.word	CRYPTOCAP_F_SYNC
	.word	CRYPTO_F_DONE
	.word	.LC0
	.size	aes_checksum, .-aes_checksum
	.comm	aes_crypto_cb,4,4
	.comm	CRYPTO_SHA1_HMAC,4,4
	.comm	CRYPTO_F_IMBUF,4,4
	.comm	CRYPTO_F_DONE,4,4
	.comm	CRYPTO_F_CBIFSYNC,4,4
	.comm	CRYPTOCAP_F_SYNC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
