	.file	"extr_s5p-sss.c_s5p_aes_crypt.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"request size is not exact amount of AES blocks\n"
	.text
	.p2align 4
	.type	s5p_aes_crypt, @function
s5p_aes_crypt:
.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
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	crypto_ablkcipher_reqtfm@PLT
	mov	rdi, rbp
	mov	r12, rax
	call	ablkcipher_request_ctx@PLT
	mov	rdi, r12
	mov	r13, rax
	call	crypto_ablkcipher_ctx@PLT
	mov	edi, DWORD PTR 0[rbp]
	test	edi, edi
	jne	.L9
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, edi
	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
.L9:
	.cfi_restore_state
	mov	esi, DWORD PTR AES_BLOCK_SIZE[rip]
	mov	r12, QWORD PTR [rax]
	call	IS_ALIGNED@PLT
	test	eax, eax
	jne	.L3
	mov	rax, QWORD PTR FLAGS_AES_MODE_MASK[rip]
	and	rax, rbx
	cmp	rax, QWORD PTR FLAGS_AES_CTR[rip]
	jne	.L10
.L3:
	mov	QWORD PTR 0[r13], rbx
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rsi, rbp
	mov	rdi, r12
	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
	jmp	s5p_aes_handle_req@PLT
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	edi, DWORD PTR [r12]
	lea	rsi, .LC0[rip]
	call	dev_dbg@PLT
	mov	edi, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	neg	edi
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	mov	eax, edi
	ret
	.cfi_endproc
.LFE0:
	.size	s5p_aes_crypt, .-s5p_aes_crypt
	.comm	FLAGS_AES_MODE_MASK,8,8
	.comm	FLAGS_AES_CTR,8,8
	.comm	EINVAL,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_s5p-sss.c_s5p_aes_crypt.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"request size is not exact amount of AES blocks\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	s5p_aes_crypt, %function
s5p_aes_crypt:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r1
	mov	r4, r0
	bl	crypto_ablkcipher_reqtfm
	mov	r5, r0
	mov	r0, r4
	bl	ablkcipher_request_ctx
	mov	r3, r0
	mov	r0, r5
	mov	r5, r3
	bl	crypto_ablkcipher_ctx
	mov	r3, r0
	ldr	r0, [r4]
	cmp	r0, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r2, .L10
	ldr	r7, [r3]
	ldr	r1, [r2]
	bl	IS_ALIGNED
	cmp	r0, #0
	bne	.L3
	ldr	r3, .L10+4
	ldr	r2, .L10+8
	ldr	r3, [r3]
	ldr	r2, [r2]
	and	r3, r3, r6
	cmp	r3, r2
	bne	.L9
.L3:
	mov	r1, r4
	mov	r0, r7
	str	r6, [r5]
	pop	{r4, r5, r6, r7, r8, lr}
	b	s5p_aes_handle_req
.L9:
	ldr	r0, [r7]
	ldr	r1, .L10+12
	bl	dev_dbg
	ldr	r3, .L10+16
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	.align	2
.L10:
	.word	AES_BLOCK_SIZE
	.word	FLAGS_AES_MODE_MASK
	.word	FLAGS_AES_CTR
	.word	.LC0
	.word	EINVAL
	.size	s5p_aes_crypt, .-s5p_aes_crypt
	.comm	FLAGS_AES_MODE_MASK,4,4
	.comm	FLAGS_AES_CTR,4,4
	.comm	EINVAL,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
