	.file	"extr_blake2s.c_blake2s_init_keySUFFIX.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	blake2s_init_key
	.type	blake2s_init_key, @function
blake2s_init_key:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 72
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	test	rsi, rsi
	je	.L4
	cmp	QWORD PTR BLAKE2S_OUTBYTES[rip], rsi
	jb	.L4
	mov	r13, rdx
	test	rdx, rdx
	je	.L4
	mov	r12, rcx
	test	rcx, rcx
	je	.L4
	cmp	QWORD PTR BLAKE2S_KEYBYTES[rip], rcx
	jb	.L4
	mov	QWORD PTR -112[rbp], rsi
	lea	rsi, -112[rbp]
	mov	r14, rdi
	movabs	rax, 4294967297
	mov	QWORD PTR -104[rbp], rcx
	mov	QWORD PTR -96[rbp], rax
	mov	QWORD PTR -88[rbp], 0
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	call	blake2s_init_param@PLT
	test	rax, rax
	js	.L4
	movsx	rax, DWORD PTR BLAKE2S_BLOCKBYTES[rip]
	mov	rcx, rsp
	mov	rbx, rsp
	mov	r8, rax
	lea	rax, 15[0+rax*4]
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L6
.L14:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L14
.L6:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L15
.L7:
	mov	r15, rsp
	mov	edx, r8d
	xor	esi, esi
	mov	rdi, r15
	call	memset@PLT
	mov	rdx, r12
	mov	rsi, r13
	mov	rdi, r15
	call	memcpy@PLT
	mov	edx, DWORD PTR BLAKE2S_BLOCKBYTES[rip]
	mov	rsi, r15
	mov	rdi, r14
	call	blake2s_update@PLT
	mov	esi, DWORD PTR BLAKE2S_BLOCKBYTES[rip]
	mov	rdi, r15
	call	secure_zero_memory@PLT
	xor	eax, eax
	mov	rsp, rbx
.L1:
	mov	rbx, QWORD PTR -56[rbp]
	xor	rbx, QWORD PTR fs:40
	jne	.L16
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L4:
	mov	eax, -1
	jmp	.L1
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	blake2s_init_key, .-blake2s_init_key
	.comm	BLAKE2S_OUTBYTES,8,8
	.comm	BLAKE2S_KEYBYTES,8,8
	.comm	BLAKE2S_BLOCKBYTES,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_blake2s.c_blake2s_init_keySUFFIX.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	blake2s_init_key
	.syntax unified
	.arm
	.fpu softvfp
	.type	blake2s_init_key, %function
blake2s_init_key:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #60
	mov	r5, r3
	ldr	r3, .L9
	cmp	r1, #0
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	str	r0, [fp, #-88]
	beq	.L4
	ldr	r3, .L9+4
	ldr	r3, [r3]
	cmp	r3, r1
	bcc	.L4
	clz	r4, r5
	cmp	r2, #0
	lsr	r4, r4, #5
	moveq	r4, #1
	cmp	r4, #0
	mov	r6, r2
	bne	.L4
	ldr	r3, .L9+8
	ldr	r3, [r3]
	cmp	r3, r5
	bcc	.L4
	mov	r3, #1
	str	r1, [fp, #-80]
	sub	r1, fp, #80
	str	r5, [fp, #-76]
	str	r4, [fp, #-64]
	str	r4, [fp, #-60]
	str	r4, [fp, #-56]
	str	r4, [fp, #-52]
	str	r4, [fp, #-48]
	str	r4, [fp, #-44]
	str	r3, [fp, #-72]
	str	r3, [fp, #-68]
	bl	blake2s_init_param
	cmp	r0, #0
	blt	.L4
	ldr	r10, .L9+12
	mov	r9, sp
	ldr	r8, [r10]
	mov	r1, r4
	lsl	r3, r8, #2
	add	r3, r3, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	mov	r7, sp
	mov	r2, r8
	mov	r0, r7
	bl	memset
	mov	r2, r5
	mov	r1, r6
	mov	r0, r7
	bl	memcpy
	mov	r2, r8
	mov	r1, r7
	ldr	r0, [fp, #-88]
	bl	blake2s_update
	mov	r0, r7
	ldr	r1, [r10]
	bl	secure_zero_memory
	mov	r0, r4
	mov	sp, r9
.L1:
	ldr	r3, .L9
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L4:
	mvn	r0, #0
	b	.L1
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	.LC0
	.word	BLAKE2S_OUTBYTES
	.word	BLAKE2S_KEYBYTES
	.word	BLAKE2S_BLOCKBYTES
	.size	blake2s_init_key, .-blake2s_init_key
	.comm	BLAKE2S_OUTBYTES,4,4
	.comm	BLAKE2S_KEYBYTES,4,4
	.comm	BLAKE2S_BLOCKBYTES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
