	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	(%rdi), %ecx
	andl	$63, %ecx
	movq	8(%rdi), %rax
	movl	$128, (%rax,%rcx,4)
	leal	1(%rcx), %ebx
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%ebx, %ecx
	movl	$0, (%rax,%rcx,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	%r15, %rdi
	callq	_Sha256_WriteByteBlock
	movq	8(%r15), %rax
	jmp	LBB0_4
LBB0_5:
	movq	%r15, %rdi
	callq	_Sha256_WriteByteBlock
	movq	16(%r15), %rax
	movsbq	3(%rax), %rax
	movq	%rax, (%r14)
	movq	16(%r15), %rax
	movswq	2(%rax), %rax
	movq	%rax, 8(%r14)
	movq	16(%r15), %rax
	movl	(%rax), %eax
	sarl	$8, %eax
	cltq
	movq	%rax, 16(%r14)
	movq	16(%r15), %rax
	movslq	(%rax), %rax
	movq	%rax, 24(%r14)
	movq	16(%r15), %rax
	movsbq	7(%rax), %rax
	movq	%rax, 32(%r14)
	movq	16(%r15), %rax
	movswq	6(%rax), %rax
	movq	%rax, 40(%r14)
	movq	16(%r15), %rax
	movl	4(%rax), %eax
	sarl	$8, %eax
	cltq
	movq	%rax, 48(%r14)
	movq	16(%r15), %rax
	movslq	4(%rax), %rax
	movq	%rax, 56(%r14)
	movq	16(%r15), %rax
	movsbq	11(%rax), %rax
	movq	%rax, 64(%r14)
	movq	16(%r15), %rax
	movswq	10(%rax), %rax
	movq	%rax, 72(%r14)
	movq	16(%r15), %rax
	movl	8(%rax), %eax
	sarl	$8, %eax
	cltq
	movq	%rax, 80(%r14)
	movq	16(%r15), %rax
	movslq	8(%rax), %rax
	movq	%rax, 88(%r14)
	movq	16(%r15), %rax
	movsbq	15(%rax), %rax
	movq	%rax, 96(%r14)
	movq	16(%r15), %rax
	movswq	14(%rax), %rax
	movq	%rax, 104(%r14)
	movq	16(%r15), %rax
	movl	12(%rax), %eax
	sarl	$8, %eax
	cltq
	movq	%rax, 112(%r14)
	movq	16(%r15), %rax
	movslq	12(%rax), %rax
	movq	%rax, 120(%r14)
	movq	16(%r15), %rax
	movsbq	19(%rax), %rax
	movq	%rax, 128(%r14)
	movq	16(%r15), %rax
	movswq	18(%rax), %rax
	movq	%rax, 136(%r14)
	movq	16(%r15), %rax
	movl	16(%rax), %eax
	sarl	$8, %eax
	cltq
	movq	%rax, 144(%r14)
	movq	16(%r15), %rax
	movslq	16(%rax), %rax
	movq	%rax, 152(%r14)
	movq	16(%r15), %rax
	movsbq	23(%rax), %rax
	movq	%rax, 160(%r14)
	movq	16(%r15), %rax
	movswq	22(%rax), %rax
	movq	%rax, 168(%r14)
	movq	16(%r15), %rax
	movl	20(%rax), %eax
	sarl	$8, %eax
	cltq
	movq	%rax, 176(%r14)
	movq	16(%r15), %rax
	movslq	20(%rax), %rax
	movq	%rax, 184(%r14)
	movq	16(%r15), %rax
	movsbq	27(%rax), %rax
	movq	%rax, 192(%r14)
	movq	16(%r15), %rax
	movswq	26(%rax), %rax
	movq	%rax, 200(%r14)
	movq	16(%r15), %rax
	movl	24(%rax), %eax
	sarl	$8, %eax
	cltq
	movq	%rax, 208(%r14)
	movq	16(%r15), %rax
	movslq	24(%rax), %rax
	movq	%rax, 216(%r14)
	movq	16(%r15), %rax
	movsbq	31(%rax), %rax
	movq	%rax, 224(%r14)
	movq	16(%r15), %rax
	movswq	30(%rax), %rax
	movq	%rax, 232(%r14)
	movq	16(%r15), %rax
	movl	28(%rax), %eax
	sarl	$8, %eax
	cltq
	movq	%rax, 240(%r14)
	movq	16(%r15), %rax
	movslq	28(%rax), %rax
	movq	%rax, 248(%r14)
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	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:
	mov	x0, x19
	bl	_Sha256_WriteByteBlock
	ldr	x8, [x19, #16]
	ldrsb	x8, [x8, #3]
	str	x8, [x20]
	ldr	x8, [x19, #16]
	ldrsh	x8, [x8, #2]
	str	x8, [x20, #8]
	ldr	x8, [x19, #16]
	ldr	w8, [x8]
	sbfx	x8, x8, #8, #24
	str	x8, [x20, #16]
	ldr	x8, [x19, #16]
	ldrsw	x8, [x8]
	str	x8, [x20, #24]
	ldr	x8, [x19, #16]
	ldrsb	x8, [x8, #7]
	str	x8, [x20, #32]
	ldr	x8, [x19, #16]
	ldrsh	x8, [x8, #6]
	str	x8, [x20, #40]
	ldr	x8, [x19, #16]
	ldr	w8, [x8, #4]
	sbfx	x8, x8, #8, #24
	str	x8, [x20, #48]
	ldr	x8, [x19, #16]
	ldrsw	x8, [x8, #4]
	str	x8, [x20, #56]
	ldr	x8, [x19, #16]
	ldrsb	x8, [x8, #11]
	str	x8, [x20, #64]
	ldr	x8, [x19, #16]
	ldrsh	x8, [x8, #10]
	str	x8, [x20, #72]
	ldr	x8, [x19, #16]
	ldr	w8, [x8, #8]
	sbfx	x8, x8, #8, #24
	str	x8, [x20, #80]
	ldr	x8, [x19, #16]
	ldrsw	x8, [x8, #8]
	str	x8, [x20, #88]
	ldr	x8, [x19, #16]
	ldrsb	x8, [x8, #15]
	str	x8, [x20, #96]
	ldr	x8, [x19, #16]
	ldrsh	x8, [x8, #14]
	str	x8, [x20, #104]
	ldr	x8, [x19, #16]
	ldr	w8, [x8, #12]
	sbfx	x8, x8, #8, #24
	str	x8, [x20, #112]
	ldr	x8, [x19, #16]
	ldrsw	x8, [x8, #12]
	str	x8, [x20, #120]
	ldr	x8, [x19, #16]
	ldrsb	x8, [x8, #19]
	str	x8, [x20, #128]
	ldr	x8, [x19, #16]
	ldrsh	x8, [x8, #18]
	str	x8, [x20, #136]
	ldr	x8, [x19, #16]
	ldr	w8, [x8, #16]
	sbfx	x8, x8, #8, #24
	str	x8, [x20, #144]
	ldr	x8, [x19, #16]
	ldrsw	x8, [x8, #16]
	str	x8, [x20, #152]
	ldr	x8, [x19, #16]
	ldrsb	x8, [x8, #23]
	str	x8, [x20, #160]
	ldr	x8, [x19, #16]
	ldrsh	x8, [x8, #22]
	str	x8, [x20, #168]
	ldr	x8, [x19, #16]
	ldr	w8, [x8, #20]
	sbfx	x8, x8, #8, #24
	str	x8, [x20, #176]
	ldr	x8, [x19, #16]
	ldrsw	x8, [x8, #20]
	str	x8, [x20, #184]
	ldr	x8, [x19, #16]
	ldrsb	x8, [x8, #27]
	str	x8, [x20, #192]
	ldr	x8, [x19, #16]
	ldrsh	x8, [x8, #26]
	str	x8, [x20, #200]
	ldr	x8, [x19, #16]
	ldr	w8, [x8, #24]
	sbfx	x8, x8, #8, #24
	str	x8, [x20, #208]
	ldr	x8, [x19, #16]
	ldrsw	x8, [x8, #24]
	str	x8, [x20, #216]
	ldr	x8, [x19, #16]
	ldrsb	x8, [x8, #31]
	str	x8, [x20, #224]
	ldr	x8, [x19, #16]
	ldrsh	x8, [x8, #30]
	str	x8, [x20, #232]
	ldr	x8, [x19, #16]
	ldr	w8, [x8, #28]
	sbfx	x8, x8, #8, #24
	str	x8, [x20, #240]
	ldr	x8, [x19, #16]
	ldrsw	x8, [x8, #28]
	str	x8, [x20, #248]
	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
