	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function crypto_hash_init
LCPI0_0:
	.long	54                              ## 0x36
	.long	54                              ## 0x36
	.long	54                              ## 0x36
	.long	54                              ## 0x36
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_crypto_hash_init
	.p2align	4, 0x90
_crypto_hash_init:                      ## @crypto_hash_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$400, %rsp                      ## imm = 0x190
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r15
	movl	%edi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movl	$48, %edi
	callq	_os_zalloc
	testq	%rax, %rax
	je	LBB0_20
## %bb.1:
	movq	%rax, %r14
	movl	%ebx, (%rax)
	addl	$-131, %ebx
	cmpl	$4, %ebx
	ja	LBB0_19
## %bb.2:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_4:
	movq	%r14, %rdi
	addq	$28, %rdi
	callq	_SHA1Init
	jmp	LBB0_21
LBB0_3:
	movq	%r14, %rdi
	addq	$32, %rdi
	callq	_MD5Init
	jmp	LBB0_21
LBB0_12:
	cmpq	$257, %r12                      ## imm = 0x101
	jb	LBB0_14
## %bb.13:
	leaq	28(%r14), %rbx
	movq	%rbx, %rdi
	callq	_SHA1Init
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
	callq	_SHA1Update
	leaq	-432(%rbp), %r15
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_SHA1Final
	movl	$20, %r12d
LBB0_14:
	movq	8(%r14), %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_os_memcpy
	movq	%r12, 16(%r14)
	leaq	-304(%rbp), %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_os_memcpy
	cmpq	$255, %r12
	ja	LBB0_16
## %bb.15:
	leaq	-304(,%r12,4), %rdi
	addq	%rbp, %rdi
	movl	$256, %edx                      ## imm = 0x100
	subl	%r12d, %edx
	xorl	%esi, %esi
	callq	_os_memset
LBB0_16:
	xorl	%eax, %eax
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [54,54,54,54]
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movaps	-304(%rbp,%rax,4), %xmm1
	xorps	%xmm0, %xmm1
	movaps	-288(%rbp,%rax,4), %xmm2
	xorps	%xmm0, %xmm2
	movaps	%xmm1, -304(%rbp,%rax,4)
	movaps	%xmm2, -288(%rbp,%rax,4)
	movaps	-272(%rbp,%rax,4), %xmm1
	xorps	%xmm0, %xmm1
	movaps	-256(%rbp,%rax,4), %xmm2
	xorps	%xmm0, %xmm2
	movaps	%xmm1, -272(%rbp,%rax,4)
	movaps	%xmm2, -256(%rbp,%rax,4)
	addq	$16, %rax
	cmpq	$256, %rax                      ## imm = 0x100
	jne	LBB0_17
## %bb.18:
	movq	%r14, %rbx
	addq	$28, %rbx
	movq	%rbx, %rdi
	callq	_SHA1Init
	leaq	-304(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$256, %edx                      ## imm = 0x100
	callq	_SHA1Update
	jmp	LBB0_21
LBB0_19:
	movq	%r14, %rdi
	callq	_os_free
LBB0_20:
	xorl	%r14d, %r14d
LBB0_21:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_23
## %bb.22:
	movq	%r14, %rax
	addq	$400, %rsp                      ## imm = 0x190
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	cmpq	$257, %r12                      ## imm = 0x101
	jb	LBB0_7
## %bb.6:
	leaq	32(%r14), %rbx
	movq	%rbx, %rdi
	callq	_MD5Init
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
	callq	_MD5Update
	leaq	-432(%rbp), %r15
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_MD5Final
	movl	$16, %r12d
LBB0_7:
	movq	8(%r14), %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_os_memcpy
	movq	%r12, 16(%r14)
	leaq	-304(%rbp), %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_os_memcpy
	cmpq	$255, %r12
	ja	LBB0_9
## %bb.8:
	leaq	-304(,%r12,4), %rdi
	addq	%rbp, %rdi
	movl	$256, %edx                      ## imm = 0x100
	subl	%r12d, %edx
	xorl	%esi, %esi
	callq	_os_memset
LBB0_9:
	xorl	%eax, %eax
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [54,54,54,54]
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movaps	-304(%rbp,%rax,4), %xmm1
	xorps	%xmm0, %xmm1
	movaps	-288(%rbp,%rax,4), %xmm2
	xorps	%xmm0, %xmm2
	movaps	%xmm1, -304(%rbp,%rax,4)
	movaps	%xmm2, -288(%rbp,%rax,4)
	movaps	-272(%rbp,%rax,4), %xmm1
	xorps	%xmm0, %xmm1
	movaps	-256(%rbp,%rax,4), %xmm2
	xorps	%xmm0, %xmm2
	movaps	%xmm1, -272(%rbp,%rax,4)
	movaps	%xmm2, -256(%rbp,%rax,4)
	addq	$16, %rax
	cmpq	$256, %rax                      ## imm = 0x100
	jne	LBB0_10
## %bb.11:
	movq	%r14, %rbx
	addq	$32, %rbx
	movq	%rbx, %rdi
	callq	_MD5Init
	leaq	-304(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$256, %edx                      ## imm = 0x100
	callq	_MD5Update
	jmp	LBB0_21
LBB0_23:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_3
	.long	L0_0_set_19
	.long	L0_0_set_12
	.long	L0_0_set_5
	.end_data_region
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_crypto_hash_init               ; -- Begin function crypto_hash_init
	.p2align	2
_crypto_hash_init:                      ; @crypto_hash_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #464
	.cfi_def_cfa_offset 464
	stp	x28, x27, [sp, #400]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #416]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #432]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #448]            ; 16-byte Folded Spill
	add	x29, sp, #448
	.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 w27, -56
	.cfi_offset w28, -64
	mov	x20, x2
	mov	x21, x1
	mov	x22, 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, #48
	bl	_os_zalloc
	mov	x19, x0
	cbz	x0, LBB0_20
; %bb.1:
	str	w22, [x19]
	sub	w8, w22, #131
	cmp	w8, #4
	b.hi	LBB0_12
; %bb.2:
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
	add	x0, x19, #28
	bl	_SHA1Init
	b	LBB0_20
LBB0_4:
	add	x0, x19, #32
	bl	_MD5Init
	b	LBB0_20
LBB0_5:
	cmp	x20, #257
	b.lo	LBB0_7
; %bb.6:
	add	x22, x19, #28
	mov	x0, x22
	bl	_SHA1Init
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	bl	_SHA1Update
	add	x21, sp, #8
	add	x0, sp, #8
	mov	x1, x22
	bl	_SHA1Final
	mov	w20, #20
LBB0_7:
	ldr	x0, [x19, #8]
	mov	x1, x21
	mov	x2, x20
	bl	_os_memcpy
	str	x20, [x19, #16]
	add	x22, sp, #136
	add	x0, sp, #136
	mov	x1, x21
	mov	x2, x20
	bl	_os_memcpy
	cmp	x20, #255
	b.hi	LBB0_9
; %bb.8:
	add	x0, x22, x20, lsl #2
	mov	w8, #256
	sub	w2, w8, w20
	mov	w1, #0
	bl	_os_memset
LBB0_9:
	mov	x8, #0
	movi.4s	v0, #54
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	add	x9, x22, x8
	ldp	q1, q2, [x9]
	ldp	q3, q4, [x9, #32]
	eor.16b	v1, v1, v0
	eor.16b	v2, v2, v0
	eor.16b	v3, v3, v0
	eor.16b	v4, v4, v0
	stp	q1, q2, [x9]
	stp	q3, q4, [x9, #32]
	add	x8, x8, #64
	cmp	x8, #1024
	b.ne	LBB0_10
; %bb.11:
	add	x20, x19, #28
	mov	x0, x20
	bl	_SHA1Init
	add	x1, sp, #136
	mov	x0, x20
	mov	w2, #256
	bl	_SHA1Update
	b	LBB0_20
LBB0_12:
	mov	x0, x19
	bl	_os_free
	mov	x19, #0
	b	LBB0_20
LBB0_13:
	cmp	x20, #257
	b.lo	LBB0_15
; %bb.14:
	add	x22, x19, #32
	mov	x0, x22
	bl	_MD5Init
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	bl	_MD5Update
	add	x21, sp, #8
	add	x0, sp, #8
	mov	x1, x22
	bl	_MD5Final
	mov	w20, #16
LBB0_15:
	ldr	x0, [x19, #8]
	mov	x1, x21
	mov	x2, x20
	bl	_os_memcpy
	str	x20, [x19, #16]
	add	x22, sp, #136
	add	x0, sp, #136
	mov	x1, x21
	mov	x2, x20
	bl	_os_memcpy
	cmp	x20, #255
	b.hi	LBB0_17
; %bb.16:
	add	x0, x22, x20, lsl #2
	mov	w8, #256
	sub	w2, w8, w20
	mov	w1, #0
	bl	_os_memset
LBB0_17:
	mov	x8, #0
	movi.4s	v0, #54
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	add	x9, x22, x8
	ldp	q1, q2, [x9]
	ldp	q3, q4, [x9, #32]
	eor.16b	v1, v1, v0
	eor.16b	v2, v2, v0
	eor.16b	v3, v3, v0
	eor.16b	v4, v4, v0
	stp	q1, q2, [x9]
	stp	q3, q4, [x9, #32]
	add	x8, x8, #64
	cmp	x8, #1024
	b.ne	LBB0_18
; %bb.19:
	add	x20, x19, #32
	mov	x0, x20
	bl	_MD5Init
	add	x1, sp, #136
	mov	x0, x20
	mov	w2, #256
	bl	_MD5Update
LBB0_20:
	ldur	x8, [x29, #-56]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_22
; %bb.21:
	mov	x0, x19
	ldp	x29, x30, [sp, #448]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #432]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #416]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #400]            ; 16-byte Folded Reload
	add	sp, sp, #464
	ret
LBB0_22:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
                                        ; -- End function
.subsections_via_symbols
