	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_blake2s_init_key               ## -- Begin function blake2s_init_key
	.p2align	4, 0x90
_blake2s_init_key:                      ## @blake2s_init_key
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$-1, %ebx
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.1:
	movq	_BLAKE2S_OUTBYTES@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	jb	LBB0_7
## %bb.2:
	movq	%rdx, %r15
	testq	%rdx, %rdx
	je	LBB0_7
## %bb.3:
	movq	%rcx, %r12
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.4:
	movq	_BLAKE2S_KEYBYTES@GOTPCREL(%rip), %rax
	cmpq	%r12, (%rax)
	jb	LBB0_7
## %bb.5:
	movq	%rdi, %r14
	movq	%rsi, -64(%rbp)
	movq	%r12, -72(%rbp)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, -128(%rbp)
	leaq	-80(%rbp), %rdi
	xorl	%esi, %esi
	callq	_store32
	leaq	-84(%rbp), %rdi
	xorl	%esi, %esi
	callq	_store32
	leaq	-88(%rbp), %rdi
	xorl	%esi, %esi
	callq	_store16
	xorps	%xmm0, %xmm0
	movups	%xmm0, -104(%rbp)
	movq	-120(%rbp), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	-112(%rbp), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	leaq	-128(%rbp), %rsi
	movq	%r14, %rdi
	callq	_blake2s_init_param
	testq	%rax, %rax
	js	LBB0_7
## %bb.6:
	movq	%rsp, -136(%rbp)                ## 8-byte Spill
	movq	_BLAKE2S_BLOCKBYTES@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movl	(%r13), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_memset
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_memcpy
	movl	(%r13), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_blake2s_update
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_secure_zero_memory
	movq	-136(%rbp), %rsp                ## 8-byte Reload
	xorl	%ebx, %ebx
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_BLAKE2S_OUTBYTES,8,3           ## @BLAKE2S_OUTBYTES
	.comm	_BLAKE2S_KEYBYTES,8,3           ## @BLAKE2S_KEYBYTES
	.comm	_BLAKE2S_BLOCKBYTES,4,2         ## @BLAKE2S_BLOCKBYTES
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_blake2s_init_key               ; -- Begin function blake2s_init_key
	.p2align	2
_blake2s_init_key:                      ; @blake2s_init_key
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	sub	sp, sp, #80
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	mov	w0, #-1
	cbz	x1, LBB0_8
; %bb.1:
Lloh3:
	adrp	x8, _BLAKE2S_OUTBYTES@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BLAKE2S_OUTBYTES@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x8, x1
	b.lo	LBB0_8
; %bb.2:
	mov	x21, x2
	mov	w0, #-1
	cbz	x2, LBB0_8
; %bb.3:
	mov	x20, x3
	cbz	x3, LBB0_8
; %bb.4:
Lloh6:
	adrp	x8, _BLAKE2S_KEYBYTES@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BLAKE2S_KEYBYTES@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x8, x20
	b.lo	LBB0_8
; %bb.5:
	stp	x20, x1, [x29, #-72]
	movi.2s	v0, #1
	stur	d0, [x29, #-128]
	sub	x22, x29, #128
	add	x0, x22, #48
	mov	w1, #0
	bl	_store32
	add	x0, x22, #44
	mov	w1, #0
	bl	_store32
	add	x0, x22, #40
	mov	w1, #0
	bl	_store16
	stp	xzr, xzr, [x29, #-104]
	ldur	x0, [x29, #-120]
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldur	x0, [x29, #-112]
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	sub	x1, x29, #128
	mov	x0, x19
	bl	_blake2s_init_param
	tbnz	x0, #63, LBB0_7
; %bb.6:
	mov	x23, sp
Lloh9:
	adrp	x24, _BLAKE2S_BLOCKBYTES@GOTPAGE
Lloh10:
	ldr	x24, [x24, _BLAKE2S_BLOCKBYTES@GOTPAGEOFF]
	ldr	w8, [x24]
	lsl	x8, x8, #3
	mov	x9, x8
Lloh11:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh12:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x22, x9, x8
	mov	sp, x22
	ldr	w2, [x24]
	mov	x0, x22
	mov	w1, #0
	bl	_memset
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	bl	_memcpy
	ldr	w2, [x24]
	mov	x0, x19
	mov	x1, x22
	bl	_blake2s_update
	ldr	w1, [x24]
	mov	x0, x22
	bl	_secure_zero_memory
	mov	sp, x23
	mov	w0, #0
	b	LBB0_8
LBB0_7:
	mov	w0, #-1
LBB0_8:
	ldur	x8, [x29, #-56]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_BLAKE2S_OUTBYTES,8,3           ; @BLAKE2S_OUTBYTES
	.comm	_BLAKE2S_KEYBYTES,8,3           ; @BLAKE2S_KEYBYTES
	.comm	_BLAKE2S_BLOCKBYTES,4,2         ; @BLAKE2S_BLOCKBYTES
.subsections_via_symbols
