	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stm32_hash_write_key
_stm32_hash_write_key:                  ## @stm32_hash_write_key
	.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	%rdi, %r14
	movl	(%rdi), %edi
	callq	_crypto_ahash_reqtfm
	movq	%rax, %rdi
	callq	_crypto_ahash_ctx
	movl	(%rax), %r15d
	testl	%r15d, %r15d
	je	LBB0_1
## %bb.2:
	movq	8(%rax), %rbx
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_stm32_hash_set_nblw
	testl	%r15d, %r15d
	jle	LBB0_5
## %bb.3:
	addl	$4, %r15d
	movq	_HASH_DIN@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %esi
	movl	(%rbx), %edx
	movq	%r14, %rdi
	callq	_stm32_hash_write
	addq	$4, %rbx
	addl	$-4, %r15d
	cmpl	$4, %r15d
	ja	LBB0_4
LBB0_5:
	movq	_HASH_STR@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_stm32_hash_read
	movq	_HASH_STR_DCAL@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_stm32_hash_write
	movq	_EINPROGRESS@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_6
LBB0_1:
	xorl	%eax, %eax
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HASH_DIN,4,2                   ## @HASH_DIN
	.comm	_HASH_STR,4,2                   ## @HASH_STR
	.comm	_HASH_STR_DCAL,4,2              ## @HASH_STR_DCAL
	.comm	_EINPROGRESS,4,2                ## @EINPROGRESS
	.no_dead_strip	_stm32_hash_write_key
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stm32_hash_write_key
_stm32_hash_write_key:                  ; @stm32_hash_write_key
	.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, x0
	ldr	w0, [x0]
	bl	_crypto_ahash_reqtfm
	bl	_crypto_ahash_ctx
	ldr	w20, [x0]
	cbz	w20, LBB0_5
; %bb.1:
	ldr	x21, [x0, #8]
	mov	x0, x19
	mov	x1, x20
	bl	_stm32_hash_set_nblw
	cmp	w20, #1
	b.lt	LBB0_4
; %bb.2:
	add	w20, w20, #4
Lloh0:
	adrp	x22, _HASH_DIN@GOTPAGE
Lloh1:
	ldr	x22, [x22, _HASH_DIN@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x22]
	ldr	w2, [x21], #4
	mov	x0, x19
	bl	_stm32_hash_write
	sub	w20, w20, #4
	cmp	w20, #4
	b.hi	LBB0_3
LBB0_4:
Lloh2:
	adrp	x20, _HASH_STR@GOTPAGE
Lloh3:
	ldr	x20, [x20, _HASH_STR@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_stm32_hash_read
Lloh4:
	adrp	x8, _HASH_STR_DCAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _HASH_STR_DCAL@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	orr	w2, w8, w0
	ldr	w1, [x20]
	mov	x0, x19
	bl	_stm32_hash_write
Lloh7:
	adrp	x8, _EINPROGRESS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EINPROGRESS@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_6
LBB0_5:
	mov	w0, #0
LBB0_6:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_HASH_DIN,4,2                   ; @HASH_DIN
	.comm	_HASH_STR,4,2                   ; @HASH_STR
	.comm	_HASH_STR_DCAL,4,2              ; @HASH_STR_DCAL
	.comm	_EINPROGRESS,4,2                ; @EINPROGRESS
	.no_dead_strip	_stm32_hash_write_key
.subsections_via_symbols
