	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stm32_hash_copy_hash
_stm32_hash_copy_hash:                  ## @stm32_hash_copy_hash
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	callq	_ahash_request_ctx
	movq	%rax, %r14
	movq	_HASH_FLAGS_ALGO_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%r14), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_4
## %bb.1:
	cltq
	leaq	l_switch.table.stm32_hash_copy_hash(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	movl	(%rax), %r12d
	cmpq	$4, %r12
	jb	LBB0_4
## %bb.2:
	movq	8(%r14), %r13
	shrq	$2, %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%r14), %r15d
	movl	%ebx, %edi
	callq	_HASH_HREG
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_stm32_hash_read
	movl	%eax, %edi
	callq	_be32_to_cpu
	movl	%eax, (%r13,%rbx,4)
	incq	%rbx
	cmpq	%rbx, %r12
	jne	LBB0_3
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HASH_FLAGS_ALGO_MASK,4,2       ## @HASH_FLAGS_ALGO_MASK
	.comm	_MD5_DIGEST_SIZE,4,2            ## @MD5_DIGEST_SIZE
	.comm	_SHA1_DIGEST_SIZE,4,2           ## @SHA1_DIGEST_SIZE
	.comm	_SHA224_DIGEST_SIZE,4,2         ## @SHA224_DIGEST_SIZE
	.comm	_SHA256_DIGEST_SIZE,4,2         ## @SHA256_DIGEST_SIZE
	.no_dead_strip	_stm32_hash_copy_hash
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.stm32_hash_copy_hash
l_switch.table.stm32_hash_copy_hash:
	.quad	_SHA256_DIGEST_SIZE
	.quad	_SHA224_DIGEST_SIZE
	.quad	_SHA1_DIGEST_SIZE
	.quad	_MD5_DIGEST_SIZE

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stm32_hash_copy_hash
_stm32_hash_copy_hash:                  ; @stm32_hash_copy_hash
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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 w23, -56
	.cfi_offset w24, -64
	bl	_ahash_request_ctx
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _HASH_FLAGS_ALGO_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HASH_FLAGS_ALGO_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w8, w9, w8
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_4
; %bb.1:
Lloh3:
	adrp	x9, l_switch.table.stm32_hash_copy_hash@PAGE
Lloh4:
	add	x9, x9, l_switch.table.stm32_hash_copy_hash@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	ldr	w8, [x8]
	cmp	w8, #4
	b.lo	LBB0_4
; %bb.2:
	mov	x19, x0
	mov	x20, #0
	ldr	x22, [x0, #8]
	lsr	x23, x8, #2
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w21, [x19, #4]
	mov	x0, x20
	bl	_HASH_HREG
	mov	x1, x0
	mov	x0, x21
	bl	_stm32_hash_read
	bl	_be32_to_cpu
	str	w0, [x22, x20, lsl #2]
	add	x20, x20, #1
	cmp	x23, x20
	b.ne	LBB0_3
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_HASH_FLAGS_ALGO_MASK,4,2       ; @HASH_FLAGS_ALGO_MASK
	.comm	_MD5_DIGEST_SIZE,4,2            ; @MD5_DIGEST_SIZE
	.comm	_SHA1_DIGEST_SIZE,4,2           ; @SHA1_DIGEST_SIZE
	.comm	_SHA224_DIGEST_SIZE,4,2         ; @SHA224_DIGEST_SIZE
	.comm	_SHA256_DIGEST_SIZE,4,2         ; @SHA256_DIGEST_SIZE
	.no_dead_strip	_stm32_hash_copy_hash
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.stm32_hash_copy_hash
l_switch.table.stm32_hash_copy_hash:
	.quad	_SHA256_DIGEST_SIZE
	.quad	_SHA224_DIGEST_SIZE
	.quad	_SHA1_DIGEST_SIZE
	.quad	_MD5_DIGEST_SIZE

.subsections_via_symbols
