	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rmd320_final
_rmd320_final:                          ## @rmd320_final
	.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	%rsi, %r14
	movq	%rdi, %r15
	callq	_shash_desc_ctx
	movq	%rax, %rbx
	movl	(%rax), %edi
	shll	$3, %edi
	callq	_cpu_to_le64
	movl	%eax, -28(%rbp)
	movl	(%rbx), %eax
	andl	$63, %eax
	xorl	%edx, %edx
	cmpl	$56, %eax
	setae	%dl
	shll	$6, %edx
	subl	%eax, %edx
	addl	$56, %edx
	leaq	_rmd320_final.padding(%rip), %rsi
	movq	%r15, %rdi
	callq	_rmd320_update
	leaq	-28(%rbp), %rsi
	movq	%r15, %rdi
	movl	$4, %edx
	callq	_rmd320_update
	movq	8(%rbx), %rdi
	callq	_cpu_to_le32p
	movl	%eax, (%r14)
	movq	8(%rbx), %rdi
	addq	$4, %rdi
	callq	_cpu_to_le32p
	movl	%eax, 4(%r14)
	movq	8(%rbx), %rdi
	addq	$8, %rdi
	callq	_cpu_to_le32p
	movl	%eax, 8(%r14)
	movq	8(%rbx), %rdi
	addq	$12, %rdi
	callq	_cpu_to_le32p
	movl	%eax, 12(%r14)
	movq	8(%rbx), %rdi
	addq	$16, %rdi
	callq	_cpu_to_le32p
	movl	%eax, 16(%r14)
	movq	8(%rbx), %rdi
	addq	$20, %rdi
	callq	_cpu_to_le32p
	movl	%eax, 20(%r14)
	movq	8(%rbx), %rdi
	addq	$24, %rdi
	callq	_cpu_to_le32p
	movl	%eax, 24(%r14)
	movq	8(%rbx), %rdi
	addq	$28, %rdi
	callq	_cpu_to_le32p
	movl	%eax, 28(%r14)
	movq	8(%rbx), %rdi
	addq	$32, %rdi
	callq	_cpu_to_le32p
	movl	%eax, 32(%r14)
	movq	8(%rbx), %rdi
	addq	$36, %rdi
	callq	_cpu_to_le32p
	movl	%eax, 36(%r14)
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @rmd320_final.padding
_rmd320_final.padding:
	.long	128                             ## 0x80
	.space	252

	.no_dead_strip	_rmd320_final
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rmd320_final
_rmd320_final:                          ; @rmd320_final
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
	mov	x21, x0
	bl	_shash_desc_ctx
	mov	x20, x0
	ldr	w8, [x0]
	lsl	w0, w8, #3
	bl	_cpu_to_le64
	str	w0, [sp, #12]
	ldr	w8, [x20]
	and	w8, w8, #0x3f
	mov	w9, #120
	mov	w10, #56
	cmp	w8, #56
	csel	w9, w10, w9, lo
	sub	w2, w9, w8
Lloh0:
	adrp	x1, _rmd320_final.padding@PAGE
Lloh1:
	add	x1, x1, _rmd320_final.padding@PAGEOFF
	mov	x0, x21
	bl	_rmd320_update
	add	x1, sp, #12
	mov	x0, x21
	mov	w2, #4
	bl	_rmd320_update
	ldr	x0, [x20, #8]
	bl	_cpu_to_le32p
	str	w0, [x19]
	ldr	x8, [x20, #8]
	add	x0, x8, #4
	bl	_cpu_to_le32p
	str	w0, [x19, #4]
	ldr	x8, [x20, #8]
	add	x0, x8, #8
	bl	_cpu_to_le32p
	str	w0, [x19, #8]
	ldr	x8, [x20, #8]
	add	x0, x8, #12
	bl	_cpu_to_le32p
	str	w0, [x19, #12]
	ldr	x8, [x20, #8]
	add	x0, x8, #16
	bl	_cpu_to_le32p
	str	w0, [x19, #16]
	ldr	x8, [x20, #8]
	add	x0, x8, #20
	bl	_cpu_to_le32p
	str	w0, [x19, #20]
	ldr	x8, [x20, #8]
	add	x0, x8, #24
	bl	_cpu_to_le32p
	str	w0, [x19, #24]
	ldr	x8, [x20, #8]
	add	x0, x8, #28
	bl	_cpu_to_le32p
	str	w0, [x19, #28]
	ldr	x8, [x20, #8]
	add	x0, x8, #32
	bl	_cpu_to_le32p
	str	w0, [x19, #32]
	ldr	x8, [x20, #8]
	add	x0, x8, #36
	bl	_cpu_to_le32p
	str	w0, [x19, #36]
	mov	x0, x20
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	mov	w0, #0
	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
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @rmd320_final.padding
_rmd320_final.padding:
	.long	128                             ; 0x80
	.space	252

	.no_dead_strip	_rmd320_final
.subsections_via_symbols
