	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RMD160Update                   ## -- Begin function RMD160Update
	.p2align	4, 0x90
_RMD160Update:                          ## @RMD160Update
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r14
	movq	%rdi, %r13
	movl	(%rdi), %ecx
	leal	7(%rcx), %eax
	testl	%ecx, %ecx
	cmovnsl	%ecx, %eax
	sarl	$3, %eax
	leal	63(%rax), %edx
	testl	%eax, %eax
	cmovnsl	%eax, %edx
	andl	$-64, %edx
	subl	%edx, %eax
	movl	$64, %r12d
	subl	%eax, %r12d
	leal	(%rcx,%rbx,8), %ecx
	movl	%ecx, (%rdi)
	xorl	%r15d, %r15d
	cmpl	%ebx, %r12d
	jle	LBB0_2
## %bb.1:
                                        ## kill: def $eax killed $eax killed $rax
	cmpl	%ebx, %r15d
	jl	LBB0_11
LBB0_10:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	$0, %r15d
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movslq	%eax, %rdi
	shlq	$2, %rdi
	addq	8(%r13), %rdi
	movq	%r14, %rsi
	movl	%r12d, %edx
	callq	_memcpy
	movl	16(%r13), %edi
	movq	8(%r13), %rsi
	callq	_RMD160Transform
	movl	%r12d, %r15d
LBB0_4:
	leal	64(%r15), %eax
	cmpl	%ebx, %eax
	jg	LBB0_8
## %bb.5:
	movl	%r15d, %r15d
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movslq	%ebx, %r12
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	leaq	(%r14,%r15,4), %rbx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %r14
	addq	$64, %r15
	movl	16(%r13), %edi
	movq	%rbx, %rsi
	callq	_RMD160Transform
	addq	$256, %rbx                      ## imm = 0x100
	subq	$-128, %r14
	cmpq	%r12, %r14
	jle	LBB0_6
## %bb.7:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	-48(%rbp), %r14                 ## 8-byte Reload
LBB0_8:
	xorl	%eax, %eax
	cmpl	%ebx, %r15d
	jge	LBB0_10
LBB0_11:
	movslq	%eax, %rdi
	shlq	$2, %rdi
	addq	8(%r13), %rdi
	movslq	%r15d, %rax
	leaq	(%r14,%rax,4), %rsi
	subl	%r15d, %ebx
	movl	%ebx, %edx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memcpy                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RMD160Update                   ; -- Begin function RMD160Update
	.p2align	2
_RMD160Update:                          ; @RMD160Update
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	w10, [x0]
	add	w9, w10, #7
	cmp	w10, #0
	csel	w9, w9, w10, lt
	asr	w9, w9, #3
	and	w11, w9, #0x3f
	negs	w9, w9
	and	w9, w9, #0x3f
	csneg	w9, w11, w9, mi
	add	w10, w10, w2, lsl #3
	str	w10, [x0]
	mov	w10, #64
	sub	w22, w10, w9
	cmp	w22, w2
	b.le	LBB0_2
; %bb.1:
	mov	w8, #0
	cmp	w8, w19
	b.ge	LBB0_7
	b	LBB0_11
LBB0_2:
	cbz	w9, LBB0_4
; %bb.3:
	ldr	x8, [x21, #8]
	add	x0, x8, w9, sxtw #2
	mov	x1, x20
	mov	x2, x22
	bl	_memcpy
	ldr	w0, [x21, #16]
	ldr	x1, [x21, #8]
	bl	_RMD160Transform
	mov	x8, x22
	b	LBB0_5
LBB0_4:
	mov	w8, #0
LBB0_5:
	add	w9, w8, #64
	cmp	w9, w19
	b.le	LBB0_8
; %bb.6:
	mov	w9, #0
	cmp	w8, w19
	b.lt	LBB0_11
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_8:
	mov	w23, w8
	sxtw	x24, w19
	add	x22, x20, w8, uxtw #2
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x25, x23
	add	x23, x23, #64
	ldr	w0, [x21, #16]
	mov	x1, x22
	bl	_RMD160Transform
	add	x22, x22, #256
	add	x8, x25, #128
	cmp	x8, x24
	b.le	LBB0_9
; %bb.10:
	mov	w9, #0
	mov	x8, x23
	cmp	w8, w19
	b.ge	LBB0_7
LBB0_11:
	ldr	x10, [x21, #8]
	add	x0, x10, w9, sxtw #2
	add	x1, x20, w8, sxtw #2
	sub	w2, w19, w8
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_memcpy
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
