	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_ripemd_final                ## -- Begin function av_ripemd_final
	.p2align	4, 0x90
_av_ripemd_final:                       ## @av_ripemd_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r14
	movl	(%rdi), %edi
	shll	$3, %edi
	callq	_av_le2ne64
	movl	%eax, -36(%rbp)
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_av_ripemd_update
	movl	(%r14), %eax
	andl	$63, %eax
	cmpl	$56, %eax
	je	LBB0_3
## %bb.1:
	leaq	L_.str.1(%rip), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	$1, %edx
	callq	_av_ripemd_update
	movl	(%r14), %eax
	andl	$63, %eax
	cmpl	$56, %eax
	jne	LBB0_2
LBB0_3:
	leaq	-36(%rbp), %rsi
	movq	%r14, %rdi
	movl	$8, %edx
	callq	_av_ripemd_update
	cmpl	$0, 4(%r14)
	jle	LBB0_6
## %bb.4:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r12, %rdi
	callq	_AV_WL32
	incq	%rbx
	movslq	4(%r14), %rax
	addq	$4, %r12
	cmpq	%rax, %rbx
	jl	LBB0_5
LBB0_6:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\200"

L_.str.1:                               ## @.str.1
	.space	1

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_ripemd_final                ; -- Begin function av_ripemd_final
	.p2align	2
_av_ripemd_final:                       ; @av_ripemd_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	x20, x0
	ldr	w8, [x0]
	lsl	w0, w8, #3
	bl	_av_le2ne64
	str	w0, [sp, #12]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	w2, #1
	bl	_av_ripemd_update
	ldr	w8, [x20]
	and	w8, w8, #0x3f
	cmp	w8, #56
	b.eq	LBB0_3
; %bb.1:
Lloh2:
	adrp	x21, l_.str.1@PAGE
Lloh3:
	add	x21, x21, l_.str.1@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	mov	w2, #1
	bl	_av_ripemd_update
	ldr	w8, [x20]
	and	w8, w8, #0x3f
	cmp	w8, #56
	b.ne	LBB0_2
LBB0_3:
	add	x1, sp, #12
	mov	x0, x20
	mov	w2, #8
	bl	_av_ripemd_update
	ldr	w8, [x20, #4]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x21, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	ldr	w1, [x8, x21, lsl #2]
	mov	x0, x19
	bl	_AV_WL32
	add	x21, x21, #1
	ldrsw	x8, [x20, #4]
	add	x19, x19, #4
	cmp	x21, x8
	b.lt	LBB0_5
LBB0_6:
	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
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\200"

l_.str.1:                               ; @.str.1
	.space	1

.subsections_via_symbols
