	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s5p_hash_init
_s5p_hash_init:                         ## @s5p_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_ahash_request_ctx
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_crypto_ahash_reqtfm
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_crypto_ahash_ctx
	movq	(%rax), %rax
	movq	%rax, 48(%r14)
	movq	$0, (%r14)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%r14)
	movups	%xmm0, 16(%r14)
	movl	(%rax), %r15d
	movq	%rbx, %rdi
	callq	_crypto_ahash_digestsize
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edi
	movl	%eax, %edx
	callq	_dev_dbg
	movq	%rbx, %rdi
	callq	_crypto_ahash_digestsize
	cmpl	$128, %eax
	je	LBB0_6
## %bb.1:
	cmpl	$129, %eax
	je	LBB0_5
## %bb.2:
	cmpl	$130, %eax
	jne	LBB0_7
## %bb.3:
	movq	_SSS_HASH_ENGINE_MD5@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r14)
	movq	_HASH_MD5_MAX_REG@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_6:
	movq	_SSS_HASH_ENGINE_SHA256@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r14)
	movq	_HASH_SHA256_MAX_REG@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_5:
	movq	_SSS_HASH_ENGINE_SHA1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r14)
	movq	_HASH_SHA1_MAX_REG@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_7:
	movl	$1, (%r14)
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"init: digest size: %d\n"

	.comm	_SSS_HASH_ENGINE_MD5,4,2        ## @SSS_HASH_ENGINE_MD5
	.comm	_HASH_MD5_MAX_REG,4,2           ## @HASH_MD5_MAX_REG
	.comm	_SSS_HASH_ENGINE_SHA1,4,2       ## @SSS_HASH_ENGINE_SHA1
	.comm	_HASH_SHA1_MAX_REG,4,2          ## @HASH_SHA1_MAX_REG
	.comm	_SSS_HASH_ENGINE_SHA256,4,2     ## @SSS_HASH_ENGINE_SHA256
	.comm	_HASH_SHA256_MAX_REG,4,2        ## @HASH_SHA256_MAX_REG
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_s5p_hash_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s5p_hash_init
_s5p_hash_init:                         ; @s5p_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	x20, x0
	bl	_ahash_request_ctx
	mov	x19, x0
	mov	x0, x20
	bl	_crypto_ahash_reqtfm
	mov	x20, x0
	bl	_crypto_ahash_ctx
	ldr	x8, [x0]
	str	x8, [x19, #48]
	str	xzr, [x19]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x19, #16]
	ldr	w21, [x8]
	mov	x0, x20
	bl	_crypto_ahash_digestsize
	mov	x2, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_dev_dbg
	mov	x0, x20
	bl	_crypto_ahash_digestsize
	cmp	w0, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w0, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w0, #130
	b.ne	LBB0_7
; %bb.3:
	mov	w0, #0
Lloh2:
	adrp	x8, _SSS_HASH_ENGINE_MD5@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SSS_HASH_ENGINE_MD5@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _HASH_MD5_MAX_REG@GOTPAGE
Lloh6:
	ldr	x9, [x9, _HASH_MD5_MAX_REG@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
	mov	w0, #0
Lloh7:
	adrp	x8, _SSS_HASH_ENGINE_SHA256@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SSS_HASH_ENGINE_SHA256@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _HASH_SHA256_MAX_REG@GOTPAGE
Lloh11:
	ldr	x9, [x9, _HASH_SHA256_MAX_REG@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
	mov	w0, #0
Lloh12:
	adrp	x8, _SSS_HASH_ENGINE_SHA1@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SSS_HASH_ENGINE_SHA1@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _HASH_SHA1_MAX_REG@GOTPAGE
Lloh16:
	ldr	x9, [x9, _HASH_SHA1_MAX_REG@GOTPAGEOFF]
LBB0_6:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #8]
	b	LBB0_8
LBB0_7:
	mov	w8, #1
	str	w8, [x19]
Lloh17:
	adrp	x8, _EINVAL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"init: digest size: %d\n"

	.comm	_SSS_HASH_ENGINE_MD5,4,2        ; @SSS_HASH_ENGINE_MD5
	.comm	_HASH_MD5_MAX_REG,4,2           ; @HASH_MD5_MAX_REG
	.comm	_SSS_HASH_ENGINE_SHA1,4,2       ; @SSS_HASH_ENGINE_SHA1
	.comm	_HASH_SHA1_MAX_REG,4,2          ; @HASH_SHA1_MAX_REG
	.comm	_SSS_HASH_ENGINE_SHA256,4,2     ; @SSS_HASH_ENGINE_SHA256
	.comm	_HASH_SHA256_MAX_REG,4,2        ; @HASH_SHA256_MAX_REG
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_s5p_hash_init
.subsections_via_symbols
