	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_blake2s_init                   ## -- Begin function blake2s_init
	.p2align	4, 0x90
_blake2s_init:                          ## @blake2s_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	movl	$-1, %eax
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.1:
	movq	_BLAKE2S_OUTBYTES@GOTPCREL(%rip), %rcx
	cmpq	%rsi, (%rcx)
	jb	LBB0_3
## %bb.2:
	movq	%rdi, %rbx
	movq	%rsi, -24(%rbp)
	movq	$0, -32(%rbp)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, -80(%rbp)
	leaq	-40(%rbp), %rdi
	xorl	%esi, %esi
	callq	_store32
	leaq	-44(%rbp), %rdi
	xorl	%esi, %esi
	callq	_store32
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	callq	_store16
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movl	-68(%rbp), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	-72(%rbp), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	leaq	-80(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_blake2s_init_param
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-16(%rbp), %rcx
	jne	LBB0_5
## %bb.4:
	addq	$72, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_BLAKE2S_OUTBYTES,8,3           ## @BLAKE2S_OUTBYTES
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_blake2s_init                   ; -- Begin function blake2s_init
	.p2align	2
_blake2s_init:                          ; @blake2s_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	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, #-24]
	mov	w0, #-1
	cbz	x1, LBB0_3
; %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_3
; %bb.2:
	stp	xzr, x1, [sp, #56]
	movi.2s	v0, #1
	str	d0, [sp, #8]
	add	x20, sp, #8
	add	x0, x20, #40
	mov	w1, #0
	bl	_store32
	add	x0, x20, #36
	mov	w1, #0
	bl	_store32
	add	x0, x20, #32
	mov	w1, #0
	bl	_store16
	stp	xzr, xzr, [sp, #24]
	ldr	w0, [sp, #20]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w0, [sp, #16]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	add	x1, sp, #8
	mov	x0, x19
	bl	_blake2s_init_param
LBB0_3:
	ldur	x8, [x29, #-24]
Lloh6:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh7:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_BLAKE2S_OUTBYTES,8,3           ; @BLAKE2S_OUTBYTES
.subsections_via_symbols
