	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ppc_SHA1_Final                 ## -- Begin function ppc_SHA1_Final
	.p2align	4, 0x90
_ppc_SHA1_Final:                        ## @ppc_SHA1_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	(%rsi), %ecx
	movq	8(%rsi), %rsi
	leal	1(%rcx), %eax
	movl	$128, (%rsi,%rcx,4)
	cmpl	$57, %eax
	jb	LBB0_4
## %bb.1:
	cmpl	$63, %eax
	ja	LBB0_3
## %bb.2:
	movl	%eax, %eax
	leaq	(%rsi,%rax,4), %rdi
	movl	$63, %edx
	subl	%ecx, %edx
	xorl	%esi, %esi
	callq	_memset
	movq	8(%rbx), %rsi
LBB0_3:
	movl	4(%rbx), %edi
	movl	$1, %edx
	callq	_ppc_sha1_core
	movq	8(%rbx), %rsi
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_4:
	cmpl	$56, %eax
	je	LBB0_6
LBB0_5:
	movl	%eax, %ecx
	leaq	(%rsi,%rcx,4), %rdi
	movl	$56, %edx
	subl	%eax, %edx
	xorl	%esi, %esi
	callq	_memset
	movq	8(%rbx), %rsi
LBB0_6:
	movl	24(%rbx), %eax
	movq	16(%rbx), %rcx
	movl	%eax, 28(%rcx)
	movl	4(%rbx), %edi
	movl	$1, %edx
	callq	_ppc_sha1_core
	movl	4(%rbx), %esi
	movq	%r14, %rdi
	movl	$20, %edx
	callq	_memcpy
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ppc_SHA1_Final                 ; -- Begin function ppc_SHA1_Final
	.p2align	2
_ppc_SHA1_Final:                        ; @ppc_SHA1_Final
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	ldr	w9, [x1]
	ldr	x1, [x1, #8]
	add	w8, w9, #1
	mov	w10, #128
	str	w10, [x1, x9, lsl #2]
	cmp	w8, #57
	b.lo	LBB0_4
; %bb.1:
	cmp	w8, #63
	b.hi	LBB0_3
; %bb.2:
	add	x0, x1, w8, uxtw #2
	mov	w8, #63
	sub	w2, w8, w9
	mov	w1, #0
	bl	_memset
	ldr	x1, [x20, #8]
LBB0_3:
	ldr	w0, [x20, #4]
	mov	w2, #1
	bl	_ppc_sha1_core
	mov	w8, #0
	ldr	x1, [x20, #8]
	b	LBB0_5
LBB0_4:
	cmp	w8, #56
	b.eq	LBB0_6
LBB0_5:
	add	x0, x1, w8, uxtw #2
	mov	w9, #56
	sub	w2, w9, w8
	mov	w1, #0
	bl	_memset
	ldr	x1, [x20, #8]
LBB0_6:
	ldr	w8, [x20, #24]
	ldr	x9, [x20, #16]
	str	w8, [x9, #28]
	ldr	w0, [x20, #4]
	mov	w2, #1
	bl	_ppc_sha1_core
	ldr	w1, [x20, #4]
	mov	x0, x19
	mov	w2, #20
	bl	_memcpy
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
