	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s5p_hash_update
_s5p_hash_update:                       ## @s5p_hash_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_ahash_request_ctx
	movq	(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.1:
	movq	%rax, %r14
	movq	(%rax), %rdi
	leaq	(%rdi,%rcx), %rax
	movq	_BUFLEN@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jle	LBB0_2
## %bb.4:
	movq	%rbx, %rdi
	movl	$1, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_s5p_hash_enqueue               ## TAILCALL
LBB0_2:
	addq	8(%r14), %rdi
	movl	8(%rbx), %esi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_scatterwalk_map_and_copy
	movq	(%rbx), %rax
	addq	%rax, (%r14)
LBB0_3:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BUFLEN,8,3                     ## @BUFLEN
	.no_dead_strip	_s5p_hash_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s5p_hash_update
_s5p_hash_update:                       ; @s5p_hash_update
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_ahash_request_ctx
	ldr	x3, [x19]
	cbz	x3, LBB0_4
; %bb.1:
	mov	x20, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _BUFLEN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BUFLEN@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x10, x8, x3
	cmp	x10, x9
	b.le	LBB0_3
; %bb.2:
	mov	x0, x19
	mov	w1, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_s5p_hash_enqueue
LBB0_3:
	ldr	x9, [x20, #8]
	add	x0, x9, x8
	ldr	w1, [x19, #8]
	mov	w2, #0
	mov	w4, #0
	bl	_scatterwalk_map_and_copy
	ldr	x8, [x19]
	ldr	x9, [x20]
	add	x8, x9, x8
	str	x8, [x20]
LBB0_4:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BUFLEN,8,3                     ; @BUFLEN
	.no_dead_strip	_s5p_hash_update
.subsections_via_symbols
