	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function emmh32_update
_emmh32_update:                         ## @emmh32_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
	testl	%edx, %edx
	je	LBB0_23
## %bb.1:
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	(%rdi), %eax
	andq	$3, %rax
	je	LBB0_13
## %bb.2:
	movq	8(%r14), %rcx
	movl	(%rbx), %edx
	movl	%edx, (%rcx,%rax,4)
	incl	(%r14)
	leal	-1(%r15), %r12d
	cmpq	$3, %rax
	jne	LBB0_4
## %bb.3:
	addq	$4, %rbx
	jmp	LBB0_12
LBB0_4:
	testl	%r12d, %r12d
	je	LBB0_23
## %bb.5:
	movl	4(%rbx), %edx
	movl	%edx, 4(%rcx,%rax,4)
	incl	(%r14)
	leal	-2(%r15), %r12d
	cmpq	$2, %rax
	jne	LBB0_7
## %bb.6:
	addq	$8, %rbx
	jmp	LBB0_12
LBB0_7:
	testl	%r12d, %r12d
	je	LBB0_23
## %bb.8:
	movl	8(%rbx), %edx
	movl	%edx, 8(%rcx,%rax,4)
	incl	(%r14)
	leal	-3(%r15), %r12d
	cmpq	$1, %rax
	jne	LBB0_10
## %bb.9:
	addq	$12, %rbx
	jmp	LBB0_12
LBB0_10:
	testl	%r12d, %r12d
	je	LBB0_23
## %bb.11:
	movl	12(%rbx), %edx
	addq	$16, %rbx
	movl	%edx, 12(%rcx,%rax,4)
	incl	(%r14)
	addl	$-4, %r15d
	movl	%r15d, %r12d
LBB0_12:
	movl	16(%r14), %edi
	callq	_ntohl
	movl	%eax, %edi
	callq	_MIC_ACCUM
	movl	%r12d, %r15d
LBB0_13:
	cmpl	$4, %r15d
	jl	LBB0_14
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	callq	_ntohl
	movl	%eax, %edi
	callq	_MIC_ACCUM
	addl	$4, (%r14)
	addq	$16, %rbx
	leal	-4(%r15), %edx
	cmpl	$7, %r15d
	movl	%edx, %r15d
	ja	LBB0_18
## %bb.15:
	testl	%edx, %edx
	jg	LBB0_16
	jmp	LBB0_23
LBB0_14:
	movl	%r15d, %edx
	testl	%edx, %edx
	jle	LBB0_23
LBB0_16:
	movq	8(%r14), %rax
	movl	%edx, %ecx
	cmpl	$1, %edx
	jne	LBB0_19
## %bb.17:
	xorl	%edx, %edx
	jmp	LBB0_21
LBB0_19:
	movl	%ecx, %esi
	andl	$-2, %esi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	movl	%edi, (%rax,%rdx,4)
	incl	(%r14)
	movl	4(%rbx), %edi
	addq	$8, %rbx
	movl	%edi, 4(%rax,%rdx,4)
	addq	$2, %rdx
	incl	(%r14)
	cmpq	%rdx, %rsi
	jne	LBB0_20
LBB0_21:
	testb	$1, %cl
	je	LBB0_23
## %bb.22:
	movl	(%rbx), %ecx
	movl	%ecx, (%rax,%rdx,4)
	incl	(%r14)
LBB0_23:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_emmh32_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function emmh32_update
_emmh32_update:                         ; @emmh32_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	w2, LBB0_19
; %bb.1:
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x0]
	and	x9, x8, #0x3
	cbz	w9, LBB0_13
; %bb.2:
	ldr	x8, [x19, #8]
	mov	x11, x20
	ldr	w10, [x11], #4
	str	w10, [x8, x9, lsl #2]
	add	x10, x9, #1
	ldr	w12, [x19]
	add	w12, w12, #1
	str	w12, [x19]
	sub	w22, w21, #1
	cmp	x10, #4
	b.ne	LBB0_4
; %bb.3:
	mov	x20, x11
	b	LBB0_12
LBB0_4:
	cbz	w22, LBB0_19
; %bb.5:
	ldr	w11, [x20, #4]
	str	w11, [x8, x10, lsl #2]
	add	x10, x9, #2
	ldr	w11, [x19]
	add	w11, w11, #1
	str	w11, [x19]
	sub	w22, w21, #2
	cmp	x10, #4
	b.ne	LBB0_7
; %bb.6:
	add	x20, x20, #8
	b	LBB0_12
LBB0_7:
	cbz	w22, LBB0_19
; %bb.8:
	ldr	w11, [x20, #8]
	str	w11, [x8, x10, lsl #2]
	add	x9, x9, #3
	ldr	w10, [x19]
	add	w10, w10, #1
	str	w10, [x19]
	sub	w22, w21, #3
	cmp	x9, #4
	b.ne	LBB0_10
; %bb.9:
	add	x20, x20, #12
	b	LBB0_12
LBB0_10:
	cbz	w22, LBB0_19
; %bb.11:
	ldr	w10, [x20, #12]
	str	w10, [x8, x9, lsl #2]
	add	x20, x20, #16
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	sub	w22, w21, #4
LBB0_12:
	ldr	w0, [x19, #16]
	bl	_ntohl
	bl	_MIC_ACCUM
	mov	x21, x22
LBB0_13:
	cmp	w21, #4
	b.lt	LBB0_16
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20], #16
	bl	_ntohl
	bl	_MIC_ACCUM
	ldr	w8, [x19]
	add	w8, w8, #4
	str	w8, [x19]
	sub	w9, w21, #4
	cmp	w21, #7
	mov	x21, x9
	b.hi	LBB0_14
; %bb.15:
	cmp	w9, #1
	b.ge	LBB0_17
	b	LBB0_19
LBB0_16:
	mov	x9, x21
	cmp	w9, #1
	b.lt	LBB0_19
LBB0_17:
	ldr	x8, [x19, #8]
	mov	w9, w9
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x20], #4
	str	w10, [x8], #4
	ldr	w10, [x19]
	add	w10, w10, #1
	str	w10, [x19]
	subs	x9, x9, #1
	b.ne	LBB0_18
LBB0_19:
	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
	.no_dead_strip	_emmh32_update
.subsections_via_symbols
