	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function shash_update_unaligned
_shash_update_unaligned:                ## @shash_update_unaligned
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r13
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_crypto_shash_alg
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_crypto_shash_alignmask
	leaq	1(%rax), %r12
	movl	%eax, %ecx
	andl	%r13d, %ecx
	movl	%r12d, %ebx
	subl	%ecx, %ebx
	movl	%ebx, %edi
	movq	%rax, %rsi
	callq	_shash_align_buffer_size
	movl	%eax, %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rdi
	movq	%r12, %rsi
	callq	_PTR_ALIGN
	movq	%rax, %r14
	cmpl	%r15d, %ebx
	movl	%r15d, -52(%rbp)                ## 4-byte Spill
	cmovael	%r15d, %ebx
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movq	%rax, %rdi
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, %rsi
	movl	%ebx, %edx
	callq	_memcpy
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	*(%r15)
	movl	%eax, %r12d
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_memset
	testl	%r12d, %r12d
	jne	LBB0_2
## %bb.1:
	movl	%ebx, %eax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rsi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	subl	%ebx, %edx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	*(%r15)
	movl	%eax, %r12d
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	movl	%r12d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_shash_update_unaligned
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function shash_update_unaligned
_shash_update_unaligned:                ; @shash_update_unaligned
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #16
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	ldr	x23, [x0]
	mov	x0, x23
	bl	_crypto_shash_alg
	mov	x22, x0
	mov	x0, x23
	bl	_crypto_shash_alignmask
	mov	x1, x0
	add	x23, x0, #1
	and	w8, w1, w21
	sub	w24, w23, w8
	mov	x0, x24
	bl	_shash_align_buffer_size
	mov	w8, w0
	lsl	x9, x8, #2
	add	x8, x9, #15
	and	x8, x8, #0x7fffffff0
Lloh3:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh4:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x0, x9, x8
	mov	sp, x0
	mov	x1, x23
	bl	_PTR_ALIGN
	mov	x25, x0
	cmp	w24, w20
	csel	w23, w24, w20, lo
	mov	x1, x21
	mov	x2, x23
	bl	_memcpy
	ldr	x8, [x22]
	mov	x0, x19
	mov	x1, x25
	mov	x2, x23
	blr	x8
	mov	x24, x0
	mov	x0, x25
	mov	w1, #0
	mov	x2, x23
	bl	_memset
	cbnz	w24, LBB0_2
; %bb.1:
	ldr	x8, [x22]
	add	x1, x21, w23, uxtw #2
	sub	w2, w20, w23
	mov	x0, x19
	blr	x8
	mov	x24, x0
LBB0_2:
	ldur	x8, [x29, #-72]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x24
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_shash_update_unaligned
.subsections_via_symbols
