	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RMD160Final                    ## -- Begin function RMD160Final
	.p2align	4, 0x90
_RMD160Final:                           ## @RMD160Final
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movl	(%rsi), %esi
	leaq	-64(%rbp), %r15
	movq	%r15, %rdi
	callq	_PUT_64BIT_LE
	movl	(%rbx), %eax
	leal	7(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$3, %ecx
	leal	63(%rcx), %eax
	testl	%ecx, %ecx
	cmovnsl	%ecx, %eax
	andl	$-64, %eax
	subl	%eax, %ecx
	xorl	%edx, %edx
	cmpl	$56, %ecx
	setge	%dl
	shll	$6, %edx
	movq	_PADDING@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	subl	%ecx, %edx
	addl	$56, %edx
	movq	%rbx, %rdi
	callq	_RMD160Update
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$8, %edx
	callq	_RMD160Update
	testq	%r14, %r14
	je	LBB0_2
## %bb.1:
	movq	8(%rbx), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_PUT_32BIT_LE
	leaq	16(%r14), %rdi
	movq	8(%rbx), %rax
	movl	4(%rax), %esi
	callq	_PUT_32BIT_LE
	leaq	32(%r14), %rdi
	movq	8(%rbx), %rax
	movl	8(%rax), %esi
	callq	_PUT_32BIT_LE
	leaq	48(%r14), %rdi
	movq	8(%rbx), %rax
	movl	12(%rax), %esi
	callq	_PUT_32BIT_LE
	addq	$64, %r14
	movq	8(%rbx), %rax
	movl	16(%rax), %esi
	movq	%r14, %rdi
	callq	_PUT_32BIT_LE
LBB0_2:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PADDING,8,3                    ## @PADDING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RMD160Final                    ; -- Begin function RMD160Final
	.p2align	2
_RMD160Final:                           ; @RMD160Final
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	ldr	w1, [x1]
	add	x0, sp, #8
	bl	_PUT_64BIT_LE
	ldr	w8, [x19]
	add	w9, w8, #7
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #3
	and	w9, w8, #0x3f
	negs	w8, w8
	and	w8, w8, #0x3f
	csneg	w8, w9, w8, mi
	mov	w9, #64
	mov	w10, #128
	cmp	w8, #55
	csel	w9, w10, w9, gt
Lloh3:
	adrp	x10, _PADDING@GOTPAGE
Lloh4:
	ldr	x10, [x10, _PADDING@GOTPAGEOFF]
Lloh5:
	ldr	x1, [x10]
	sub	w8, w9, w8
	sub	w2, w8, #8
	mov	x0, x19
	bl	_RMD160Update
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #8
	bl	_RMD160Update
	cbz	x20, LBB0_2
; %bb.1:
	ldr	x8, [x19, #8]
	ldr	w1, [x8]
	mov	x0, x20
	bl	_PUT_32BIT_LE
	add	x0, x20, #16
	ldr	x8, [x19, #8]
	ldr	w1, [x8, #4]
	bl	_PUT_32BIT_LE
	add	x0, x20, #32
	ldr	x8, [x19, #8]
	ldr	w1, [x8, #8]
	bl	_PUT_32BIT_LE
	add	x0, x20, #48
	ldr	x8, [x19, #8]
	ldr	w1, [x8, #12]
	bl	_PUT_32BIT_LE
	add	x0, x20, #64
	ldr	x8, [x19, #8]
	ldr	w1, [x8, #16]
	bl	_PUT_32BIT_LE
LBB0_2:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	ldur	x8, [x29, #-24]
Lloh6:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh7:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_PADDING,8,3                    ; @PADDING
.subsections_via_symbols
