	.file	"extr_geode-aes.c_geode_ecb_decrypt.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	geode_ecb_decrypt, @function
geode_ecb_decrypt:
.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
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	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 [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	crypto_blkcipher_ctx@PLT
	xor	edi, edi
	mov	rbp, rax
	mov	rax, QWORD PTR AES_KEYSIZE_128[rip]
	cmp	QWORD PTR 0[rbp], rax
	setne	dil
	call	unlikely@PLT
	test	rax, rax
	jne	.L12
	lea	r13, 12[rsp]
	mov	ecx, ebx
	mov	rdx, r15
	mov	rsi, r14
	mov	rdi, r13
	call	blkcipher_walk_init@PLT
	mov	rsi, r13
	mov	rdi, r12
	call	blkcipher_walk_virt@PLT
	mov	ebx, DWORD PTR 12[rsp]
	test	ebx, ebx
	je	.L1
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rax, QWORD PTR 16[rsp]
	xor	edx, edx
	mov	rdi, rbp
	mov	QWORD PTR 20[rbp], rax
	mov	eax, DWORD PTR AES_MODE_ECB[rip]
	mov	DWORD PTR 16[rbp], eax
	mov	eax, ebx
	div	DWORD PTR AES_BLOCK_SIZE[rip]
	mov	eax, ebx
	sub	eax, edx
	mov	DWORD PTR 8[rbp], eax
	mov	eax, DWORD PTR AES_DIR_DECRYPT[rip]
	mov	DWORD PTR 12[rbp], eax
	call	geode_aes_crypt@PLT
	mov	rsi, r13
	mov	rdi, r12
	sub	ebx, eax
	mov	edx, ebx
	call	blkcipher_walk_done@PLT
	mov	ebx, DWORD PTR 12[rsp]
	test	ebx, ebx
	jne	.L4
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L13
	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
.L12:
	.cfi_restore_state
	mov	ecx, ebx
	mov	rdx, r15
	mov	rsi, r14
	mov	rdi, r12
	call	fallback_blk_dec@PLT
	jmp	.L1
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	geode_ecb_decrypt, .-geode_ecb_decrypt
	.comm	AES_MODE_ECB,4,4
	.comm	AES_KEYSIZE_128,8,8
	.comm	AES_DIR_DECRYPT,4,4
	.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_geode-aes.c_geode_ecb_decrypt.c"
	.text
	.global	__aeabi_uidivmod
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	geode_ecb_decrypt, %function
geode_ecb_decrypt:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r8, r3
	ldr	r3, .L14
	sub	sp, sp, #20
	mov	r6, r0
	ldr	r0, [r0]
	mov	r5, r1
	mov	r7, r2
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	crypto_blkcipher_ctx
	ldr	r3, .L14+4
	mov	r4, r0
	ldr	r3, [r3]
	ldr	r0, [r0]
	subs	r0, r0, r3
	movne	r0, #1
	bl	unlikely
	cmp	r0, #0
	mov	r3, r8
	mov	r2, r7
	mov	r1, r5
	bne	.L12
	mov	r0, sp
	bl	blkcipher_walk_init
	mov	r1, sp
	mov	r0, r6
	bl	blkcipher_walk_virt
	ldr	r5, [sp]
	cmp	r5, #0
	beq	.L1
	ldr	r9, .L14+8
	ldr	r8, .L14+12
	ldr	r7, .L14+16
.L4:
	ldr	r2, [sp, #4]
	ldr	r1, [sp, #8]
	ldr	r3, [r9]
	str	r2, [r4, #16]
	mov	r0, r5
	str	r1, [r4, #20]
	str	r3, [r4, #12]
	ldr	r1, [r8]
	bl	__aeabi_uidivmod
	ldr	r3, [r7]
	sub	r1, r5, r1
	stmib	r4, {r1, r3}
	mov	r0, r4
	bl	geode_aes_crypt
	mov	r1, sp
	sub	r2, r5, r0
	mov	r0, r6
	bl	blkcipher_walk_done
	ldr	r5, [sp]
	cmp	r5, #0
	bne	.L4
.L1:
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L12:
	mov	r0, r6
	bl	fallback_blk_dec
	b	.L1
.L13:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	.LC0
	.word	AES_KEYSIZE_128
	.word	AES_MODE_ECB
	.word	AES_BLOCK_SIZE
	.word	AES_DIR_DECRYPT
	.size	geode_ecb_decrypt, .-geode_ecb_decrypt
	.comm	AES_MODE_ECB,4,4
	.comm	AES_KEYSIZE_128,4,4
	.comm	AES_DIR_DECRYPT,4,4
	.comm	AES_BLOCK_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
