	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dcp_sha_init
_dcp_sha_init:                          ## @dcp_sha_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	callq	_crypto_ahash_reqtfm
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_crypto_ahash_ctx
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_crypto_hash_alg_common
	movq	%rax, %rbx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movq	_MXS_DCP_CONTROL1_HASH_SELECT_SHA1@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_MXS_DCP_CONTROL1_HASH_SELECT_SHA256@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movl	%eax, 24(%r14)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%r14)
	movq	_DCP_CHAN_HASH_SHA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	movq	%r14, %rdi
	callq	_mutex_init
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sha1"

	.comm	_MXS_DCP_CONTROL1_HASH_SELECT_SHA1,4,2 ## @MXS_DCP_CONTROL1_HASH_SELECT_SHA1
	.comm	_MXS_DCP_CONTROL1_HASH_SELECT_SHA256,4,2 ## @MXS_DCP_CONTROL1_HASH_SELECT_SHA256
	.comm	_DCP_CHAN_HASH_SHA,4,2          ## @DCP_CHAN_HASH_SHA
	.no_dead_strip	_dcp_sha_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dcp_sha_init
_dcp_sha_init:                          ; @dcp_sha_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	_crypto_ahash_reqtfm
	mov	x19, x0
	bl	_crypto_ahash_ctx
	mov	x20, x0
	mov	x0, x19
	bl	_crypto_hash_alg_common
	mov	x19, x0
	mov	x0, x20
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	ldr	w0, [x19]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
Lloh2:
	adrp	x8, _MXS_DCP_CONTROL1_HASH_SELECT_SHA1@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MXS_DCP_CONTROL1_HASH_SELECT_SHA1@GOTPAGEOFF]
Lloh4:
	adrp	x9, _MXS_DCP_CONTROL1_HASH_SELECT_SHA256@GOTPAGE
Lloh5:
	ldr	x9, [x9, _MXS_DCP_CONTROL1_HASH_SELECT_SHA256@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x9, eq
	ldr	w8, [x8]
	str	w8, [x20, #24]
	stp	xzr, xzr, [x20, #8]
Lloh6:
	adrp	x8, _DCP_CHAN_HASH_SHA@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DCP_CHAN_HASH_SHA@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x20, #4]
	mov	x0, x20
	bl	_mutex_init
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sha1"

	.comm	_MXS_DCP_CONTROL1_HASH_SELECT_SHA1,4,2 ; @MXS_DCP_CONTROL1_HASH_SELECT_SHA1
	.comm	_MXS_DCP_CONTROL1_HASH_SELECT_SHA256,4,2 ; @MXS_DCP_CONTROL1_HASH_SELECT_SHA256
	.comm	_DCP_CHAN_HASH_SHA,4,2          ; @DCP_CHAN_HASH_SHA
	.no_dead_strip	_dcp_sha_init
.subsections_via_symbols
