	.file	"extr_artpec6_crypto.c_artpec6_crypto_aead_set_key.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	artpec6_crypto_aead_set_key, @function
artpec6_crypto_aead_set_key:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	call	crypto_tfm_ctx@PLT
	mov	edx, r12d
	and	edx, -9
	cmp	edx, 16
	je	.L2
	cmp	r12d, 32
	jne	.L12
.L2:
	mov	DWORD PTR [rax], r12d
	mov	edi, DWORD PTR 4[rax]
	mov	edx, r12d
	mov	rsi, r13
	call	memcpy@PLT
	xor	eax, eax
.L1:
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
.L12:
	.cfi_restore_state
	mov	esi, DWORD PTR CRYPTO_TFM_RES_BAD_KEY_LEN[rip]
	mov	rdi, rbp
	call	crypto_aead_set_flags@PLT
	mov	eax, -1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	artpec6_crypto_aead_set_key, .-artpec6_crypto_aead_set_key
	.comm	CRYPTO_TFM_RES_BAD_KEY_LEN,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_artpec6_crypto.c_artpec6_crypto_aead_set_key.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	artpec6_crypto_aead_set_key, %function
artpec6_crypto_aead_set_key:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r2
	mov	r6, r1
	mov	r7, r0
	bl	crypto_tfm_ctx
	bic	r3, r4, #8
	cmp	r3, #16
	cmpne	r4, #32
	movne	r5, #1
	moveq	r5, #0
	bne	.L6
	str	r4, [r0]
	mov	r2, r4
	mov	r1, r6
	ldr	r0, [r0, #4]
	bl	memcpy
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	ldr	r3, .L7
	mov	r0, r7
	ldr	r1, [r3]
	bl	crypto_aead_set_flags
	mvn	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	.align	2
.L7:
	.word	CRYPTO_TFM_RES_BAD_KEY_LEN
	.size	artpec6_crypto_aead_set_key, .-artpec6_crypto_aead_set_key
	.comm	CRYPTO_TFM_RES_BAD_KEY_LEN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
