	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hashwrite                      ## -- Begin function hashwrite
	.p2align	4, 0x90
_hashwrite:                             ## @hashwrite
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%edx, %edx
	je	LBB0_9
## %bb.1:
	movl	%edx, %r12d
	leaq	16(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	(%rdi), %r13d
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r15d, %eax
	addq	%rax, %rsi
	movl	%r13d, (%rdi)
	movl	%ebx, %r12d
	testl	%ebx, %ebx
	je	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	$8, %r14d
	subl	%r13d, %r14d
	cmpl	%r14d, %r12d
	movl	%r14d, %r15d
	cmovbl	%r12d, %r15d
	cmpq	$0, 24(%rdi)
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	20(%rax), %edi
	movq	%rsi, %rbx
	movl	%r15d, %edx
	callq	_crc32
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movl	%eax, 20(%rdi)
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r13d, %r13d
	movq	%rsi, %rcx
	cmpl	$8, %r15d
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rdi
	addq	%r13, %rdi
	movq	%rsi, %rbx
	movl	%r15d, %edx
	callq	_memcpy
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	8(%rdi), %rcx
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r12d, %ebx
	subl	%r15d, %ebx
	addl	%r15d, %r13d
	cmpl	%r12d, %r14d
	ja	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_the_hash_algo@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rsi, %r14
	movq	%rcx, %rsi
	movl	%r13d, %edx
	movq	%rcx, %r12
	callq	*(%rax)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movl	%r13d, %edx
	callq	_flush
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	xorl	%r13d, %r13d
	jmp	LBB0_8
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_the_hash_algo,8,3              ## @the_hash_algo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hashwrite                      ; -- Begin function hashwrite
	.p2align	2
_hashwrite:                             ; @hashwrite
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cbz	w2, LBB0_9
; %bb.1:
	mov	x23, x2
	mov	x19, x1
	mov	x20, x0
	mov	x21, x0
	ldr	w24, [x21], #16
	mov	w26, #8
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x19, x19, x22
	str	w24, [x20]
	mov	x23, x27
	cbz	w27, LBB0_9
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sub	w28, w26, w24
	cmp	w23, w28
	csel	w22, w23, w28, lo
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x20, #20]
	mov	x1, x19
	mov	x2, x22
	bl	_crc32
	str	w0, [x20, #20]
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w24, w24
	mov	x25, x19
	cmp	w22, #8
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20, #8]
	add	x0, x8, x24
	mov	x1, x19
	mov	x2, x22
	bl	_memcpy
	ldr	x25, [x20, #8]
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	sub	w27, w23, w22
	add	w24, w22, w24
	cmp	w28, w23
	b.hi	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh0:
	adrp	x8, _the_hash_algo@GOTPAGE
Lloh1:
	ldr	x8, [x8, _the_hash_algo@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x8, [x8]
	mov	x0, x21
	mov	x1, x25
	mov	x2, x24
	blr	x8
	mov	x0, x20
	mov	x1, x25
	mov	x2, x24
	bl	_flush
	mov	w24, #0
	b	LBB0_2
LBB0_9:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_the_hash_algo,8,3              ; @the_hash_algo
.subsections_via_symbols
