	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Sha256_Final                   ## -- Begin function Sha256_Final
	.p2align	4, 0x90
_Sha256_Final:                          ## @Sha256_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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r12
	movl	(%rdi), %eax
	andl	$63, %eax
	movq	8(%rdi), %rdi
	movl	$128, (%rdi,%rax,4)
	leal	1(%rax), %ebx
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%ebx, %eax
	movl	$0, (%rdi,%rax,4)
	incl	%ebx
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$56, %ebx
	je	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	andl	$63, %ebx
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	callq	_Sha256_WriteByteBlock
	movq	8(%r12), %rdi
	jmp	LBB0_4
LBB0_5:
	movl	(%r12), %r15d
	shll	$3, %r15d
	addq	$224, %rdi
	callq	_SetBe32
	movl	$240, %edi
	addq	8(%r12), %rdi
	movl	%r15d, %esi
	callq	_SetBe32
	movq	%r12, %rdi
	callq	_Sha256_WriteByteBlock
	movq	16(%r12), %rax
	movl	(%rax), %esi
	movl	4(%rax), %r15d
	movq	%r14, %rdi
	callq	_SetBe32
	leaq	16(%r14), %rdi
	movl	%r15d, %esi
	callq	_SetBe32
	leaq	32(%r14), %rdi
	movq	16(%r12), %rax
	movl	8(%rax), %esi
	movl	12(%rax), %r15d
	callq	_SetBe32
	leaq	48(%r14), %rdi
	movl	%r15d, %esi
	callq	_SetBe32
	leaq	64(%r14), %rdi
	movq	16(%r12), %rax
	movl	16(%rax), %esi
	movl	20(%rax), %r15d
	callq	_SetBe32
	leaq	80(%r14), %rdi
	movl	%r15d, %esi
	callq	_SetBe32
	leaq	96(%r14), %rdi
	movq	16(%r12), %rax
	movl	24(%rax), %esi
	movl	28(%rax), %r15d
	callq	_SetBe32
	addq	$112, %r14
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_SetBe32
	movq	%r12, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Sha256_Init                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Sha256_Final                   ; -- Begin function Sha256_Final
	.p2align	2
_Sha256_Final:                          ; @Sha256_Final
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x1
	mov	x19, x0
	ldr	w8, [x0]
	and	x9, x8, #0x3f
	ldr	x8, [x0, #8]
	mov	w10, #128
	str	w10, [x8, x9, lsl #2]
	add	w9, w9, #1
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	str	wzr, [x8, w21, uxtw #2]
	add	w9, w21, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w9, #56
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ands	w21, w9, #0x3f
	b.ne	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	bl	_Sha256_WriteByteBlock
	ldr	x8, [x19, #8]
	b	LBB0_1
LBB0_5:
	ldr	w9, [x19]
	lsl	w21, w9, #3
	add	x0, x8, #224
	bl	_SetBe32
	ldr	x8, [x19, #8]
	add	x0, x8, #240
	mov	x1, x21
	bl	_SetBe32
	mov	x0, x19
	bl	_Sha256_WriteByteBlock
	ldr	x8, [x19, #16]
	ldp	w1, w21, [x8]
	mov	x0, x20
	bl	_SetBe32
	add	x0, x20, #16
	mov	x1, x21
	bl	_SetBe32
	add	x0, x20, #32
	ldr	x8, [x19, #16]
	ldp	w1, w21, [x8, #8]
	bl	_SetBe32
	add	x0, x20, #48
	mov	x1, x21
	bl	_SetBe32
	add	x0, x20, #64
	ldr	x8, [x19, #16]
	ldp	w1, w21, [x8, #16]
	bl	_SetBe32
	add	x0, x20, #80
	mov	x1, x21
	bl	_SetBe32
	add	x0, x20, #96
	ldr	x8, [x19, #16]
	ldp	w1, w21, [x8, #24]
	bl	_SetBe32
	add	x0, x20, #112
	mov	x1, x21
	bl	_SetBe32
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_Sha256_Init
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
