	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Sha256_Update                  ## -- Begin function Sha256_Update
	.p2align	4, 0x90
_Sha256_Update:                         ## @Sha256_Update
	.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
	testq	%rdx, %rdx
	je	LBB0_8
## %bb.1:
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	8(%rdi), %rcx
	movl	%ecx, %eax
	andl	$63, %eax
	addq	%rdx, %rcx
	movq	%rcx, 8(%rdi)
	movl	$64, %ebx
	subl	%eax, %ebx
	cmpq	%rdx, %rbx
	jbe	LBB0_3
## %bb.2:
	movl	%eax, %edi
	addq	(%r14), %rdi
	movq	%r12, %rsi
	jmp	LBB0_7
LBB0_3:
	subq	%rbx, %r15
	movl	%eax, %edi
	addq	(%r14), %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_memcpy
	leaq	(%r12,%rbx,4), %rbx
	movq	%r14, %rdi
	callq	_Sha256_WriteByteBlock
	cmpq	$64, %r15
	jb	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	addq	$-64, %r15
	movq	(%r14), %rdi
	movl	$64, %edx
	movq	%rbx, %rsi
	callq	_memcpy
	addq	$256, %rbx                      ## imm = 0x100
	movq	%r14, %rdi
	callq	_Sha256_WriteByteBlock
	cmpq	$63, %r15
	ja	LBB0_4
LBB0_5:
	testq	%r15, %r15
	je	LBB0_8
## %bb.6:
	movq	(%r14), %rdi
	movq	%rbx, %rsi
LBB0_7:
	movq	%r15, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memcpy                         ## TAILCALL
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	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	_Sha256_Update                  ; -- Begin function Sha256_Update
	.p2align	2
_Sha256_Update:                         ; @Sha256_Update
	.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
	cbz	x2, LBB0_8
; %bb.1:
	mov	x21, x1
	mov	x19, x0
	ldr	x9, [x0, #8]
	and	w8, w9, #0x3f
	add	x9, x9, x2
	str	x9, [x0, #8]
	mov	w9, #64
	sub	w22, w9, w8
	cmp	x22, x2
	b.ls	LBB0_3
; %bb.2:
	ldr	x9, [x19]
	add	x0, x9, w8, uxtw
	mov	x1, x21
	b	LBB0_7
LBB0_3:
	sub	x20, x2, x22
	ldr	x9, [x19]
	add	x0, x9, w8, uxtw
	mov	x1, x21
	mov	x2, x22
	bl	_memcpy
	add	x21, x21, x22, lsl #2
	mov	x0, x19
	bl	_Sha256_WriteByteBlock
	cmp	x20, #64
	b.lo	LBB0_5
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sub	x20, x20, #64
	ldr	x0, [x19]
	mov	x1, x21
	mov	w2, #64
	bl	_memcpy
	add	x21, x21, #256
	mov	x0, x19
	bl	_Sha256_WriteByteBlock
	cmp	x20, #63
	b.hi	LBB0_4
LBB0_5:
	cbz	x20, LBB0_8
; %bb.6:
	ldr	x0, [x19]
	mov	x1, x21
	mov	x2, x20
LBB0_7:
	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	_memcpy
LBB0_8:
	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
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
