	.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	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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	cmpl	$129, %edi
	je	LBB0_3
## %bb.1:
	cmpl	$130, %edi
	jne	LBB0_9
## %bb.2:
	xorl	%eax, %eax
	callq	_EVP_md5
	jmp	LBB0_4
LBB0_3:
	xorl	%eax, %eax
	callq	_EVP_sha1
LBB0_4:
	movq	%rax, %r12
	movl	$4, %edi
	callq	_os_zalloc
	testq	%rax, %rax
	je	LBB0_9
## %bb.5:
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_HMAC_CTX_new
	movl	%eax, (%rbx)
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movl	%eax, %edi
	movq	%r15, %rsi
	movq	%r14, %rdx
	movq	%r12, %rcx
	xorl	%r8d, %r8d
	callq	_HMAC_Init_ex
	cmpl	$1, %eax
	je	LBB0_10
## %bb.8:
	movl	(%rbx), %edi
	callq	_HMAC_CTX_free
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_bin_clear_free
	jmp	LBB0_9
LBB0_6:
	movq	%rbx, %rdi
	callq	_os_free
LBB0_9:
	xorl	%ebx, %ebx
LBB0_10:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- 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:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x21, x1
	cmp	w0, #129
	b.eq	LBB0_3
; %bb.1:
	cmp	w0, #130
	b.ne	LBB0_9
; %bb.2:
	bl	_EVP_md5
	b	LBB0_4
LBB0_3:
	bl	_EVP_sha1
LBB0_4:
	mov	x22, x0
	mov	w0, #4
	bl	_os_zalloc
	mov	x20, x0
	cbz	x0, LBB0_10
; %bb.5:
	bl	_HMAC_CTX_new
	str	w0, [x20]
	cbz	w0, LBB0_8
; %bb.6:
	mov	x1, x21
	mov	x2, x19
	mov	x3, x22
	mov	x4, #0
	bl	_HMAC_Init_ex
	cmp	w0, #1
	b.eq	LBB0_10
; %bb.7:
	ldr	w0, [x20]
	bl	_HMAC_CTX_free
	mov	x0, x20
	mov	w1, #4
	bl	_bin_clear_free
	b	LBB0_9
LBB0_8:
	mov	x0, x20
	bl	_os_free
LBB0_9:
	mov	x20, #0
LBB0_10:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
