	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sha256_update
_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r15
	callq	_shash_desc_ctx
	movq	%rax, %r13
	movl	(%rax), %eax
	movl	%eax, %r12d
	andl	$63, %r12d
	addl	%r14d, %eax
	movl	%eax, (%r13)
	leal	(%r12,%r14), %ecx
	xorl	%eax, %eax
	cmpl	$64, %ecx
	jb	LBB0_1
## %bb.2:
	testl	%r12d, %r12d
	je	LBB0_3
## %bb.4:
	movq	%r12, %rdi
	shlq	$2, %rdi
	addq	8(%r13), %rdi
	movl	$64, %edx
	subl	%r12d, %edx
	negl	%r12d
	movq	%r15, %rsi
	callq	_memcpy
	movq	8(%r13), %rsi
	movl	%r12d, %eax
	jmp	LBB0_5
LBB0_1:
	movq	%r15, %rsi
	jmp	LBB0_7
LBB0_3:
	xorl	%eax, %eax
	movq	%r15, %rsi
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, %ebx
	movl	16(%r13), %edi
	callq	_sha256_transform
	leal	64(%rbx), %eax
	leaq	(%r15,%rax,4), %rsi
	addl	$127, %ebx
	cmpl	%r14d, %ebx
	jb	LBB0_5
## %bb.6:
	xorl	%r12d, %r12d
LBB0_7:
	movl	%r12d, %edi
	shlq	$2, %rdi
	addq	8(%r13), %rdi
	subl	%eax, %r14d
	movl	%r14d, %edx
	callq	_memcpy
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_sha256_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sha256_update
_sha256_update:                         ; @sha256_update
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x20, x1
	bl	_shash_desc_ctx
	mov	x21, x0
	ldr	w9, [x0]
	and	x8, x9, #0x3f
	add	w9, w9, w19
	str	w9, [x0]
	add	w9, w8, w19
	cmp	w9, #64
	b.lo	LBB0_3
; %bb.1:
	cbz	w8, LBB0_4
; %bb.2:
	neg	w22, w8
	ldr	x9, [x21, #8]
	add	x0, x9, x8, lsl #2
	mov	w9, #64
	sub	w2, w9, w8
	mov	x1, x20
	bl	_memcpy
	ldr	x1, [x21, #8]
	b	LBB0_5
LBB0_3:
	mov	w22, #0
	b	LBB0_7
LBB0_4:
	mov	w22, #0
	mov	x1, x20
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x23, x22
	ldr	w0, [x21, #16]
	bl	_sha256_transform
	add	w22, w22, #64
	add	x1, x20, w22, uxtw #2
	add	w8, w23, #127
	cmp	w8, w19
	b.lo	LBB0_5
; %bb.6:
	mov	w8, #0
	mov	x20, x1
LBB0_7:
	ldr	x9, [x21, #8]
	add	x0, x9, w8, uxtw #2
	sub	w2, w19, w22
	mov	x1, x20
	bl	_memcpy
	mov	w0, #0
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_sha256_update
.subsections_via_symbols
