	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function symbol__annotate_decay_histogram
LCPI0_0:
	.long	7                               ## 0x7
	.long	7                               ## 0x7
	.space	4
	.space	4
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_symbol__annotate_decay_histogram
	.p2align	4, 0x90
_symbol__annotate_decay_histogram:      ## @symbol__annotate_decay_histogram
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_symbol__annotation
	movq	%rax, %rdi
	movl	%r14d, %esi
	callq	_annotation__histogram
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_symbol__size
	movq	$0, 8(%r14)
	testl	%eax, %eax
	jle	LBB0_8
## %bb.1:
	movq	(%r14), %rcx
	movl	%eax, %edx
	cmpl	$4, %eax
	jae	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	xorl	%esi, %esi
	jmp	LBB0_6
LBB0_3:
	movl	%edx, %eax
	andl	$-4, %eax
	leaq	(,%rdx,4), %rsi
	andq	$-16, %rsi
	pxor	%xmm0, %xmm0
	xorl	%edi, %edi
	movdqa	LCPI0_0(%rip), %xmm2            ## xmm2 = <7,7,u,u>
	pxor	%xmm1, %xmm1
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rdi), %xmm3              ## xmm3 = mem[0],zero
	movq	8(%rcx,%rdi), %xmm4             ## xmm4 = mem[0],zero
	pmulld	%xmm2, %xmm3
	pmulld	%xmm2, %xmm4
	movdqa	%xmm3, %xmm5
	psrad	$31, %xmm5
	psrld	$29, %xmm5
	paddd	%xmm3, %xmm5
	psrad	$3, %xmm5
	movdqa	%xmm4, %xmm3
	psrad	$31, %xmm3
	psrld	$29, %xmm3
	paddd	%xmm4, %xmm3
	psrad	$3, %xmm3
	pmovsxdq	%xmm5, %xmm4
	punpcklqdq	%xmm3, %xmm5            ## xmm5 = xmm5[0],xmm3[0]
	movdqu	%xmm5, (%rcx,%rdi)
	paddq	%xmm4, %xmm0
	pmovsxdq	%xmm3, %xmm3
	paddq	%xmm3, %xmm1
	addq	$16, %rdi
	cmpq	%rdi, %rsi
	jne	LBB0_4
## %bb.5:
	paddq	%xmm0, %xmm1
	pshufd	$238, %xmm1, %xmm0              ## xmm0 = xmm1[2,3,2,3]
	paddq	%xmm1, %xmm0
	movq	%xmm0, %rsi
	cmpq	%rdx, %rax
	je	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rcx,%rax,4), %edi
	leal	(,%rdi,8), %ebx
	subl	%edi, %ebx
	leal	7(%rbx), %edi
	testl	%ebx, %ebx
	cmovnsl	%ebx, %edi
	sarl	$3, %edi
	movl	%edi, (%rcx,%rax,4)
	movslq	%edi, %rdi
	addq	%rdi, %rsi
	incq	%rax
	cmpq	%rax, %rdx
	jne	LBB0_6
LBB0_7:
	movq	%rsi, 8(%r14)
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_symbol__annotate_decay_histogram ; -- Begin function symbol__annotate_decay_histogram
	.p2align	2
_symbol__annotate_decay_histogram:      ; @symbol__annotate_decay_histogram
	.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, x1
	mov	x20, x0
	bl	_symbol__annotation
	mov	x1, x19
	bl	_annotation__histogram
	mov	x19, x0
	mov	x0, x20
	bl	_symbol__size
	str	xzr, [x19, #8]
	cmp	w0, #1
	b.lt	LBB0_9
; %bb.1:
	ldr	x9, [x19]
	mov	w8, w0
	cmp	w0, #8
	b.hs	LBB0_3
; %bb.2:
	mov	x10, #0
	mov	x11, #0
	b	LBB0_6
LBB0_3:
	and	x10, x8, #0xfffffff8
	add	x11, x9, #16
	movi.2d	v0, #0000000000000000
	movi.2s	v1, #7
	mov	x12, x10
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
	movi.2d	v4, #0000000000000000
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	d5, d6, [x11, #-16]
	ldp	d7, d16, [x11]
	mul.2s	v5, v5, v1
	mul.2s	v6, v6, v1
	mul.2s	v7, v7, v1
	mul.2s	v16, v16, v1
	cmlt.2s	v17, v5, #0
	usra.2s	v5, v17, #29
	sshr.2s	v5, v5, #3
	cmlt.2s	v17, v6, #0
	usra.2s	v6, v17, #29
	sshr.2s	v6, v6, #3
	cmlt.2s	v17, v7, #0
	usra.2s	v7, v17, #29
	sshr.2s	v7, v7, #3
	cmlt.2s	v17, v16, #0
	usra.2s	v16, v17, #29
	sshr.2s	v16, v16, #3
	stp	d5, d6, [x11, #-16]
	stp	d7, d16, [x11], #32
	saddw.2d	v0, v0, v5
	saddw.2d	v2, v2, v6
	saddw.2d	v3, v3, v7
	saddw.2d	v4, v4, v16
	subs	x12, x12, #8
	b.ne	LBB0_4
; %bb.5:
	add.2d	v0, v2, v0
	add.2d	v0, v3, v0
	add.2d	v0, v4, v0
	addp.2d	d0, v0
	fmov	x11, d0
	cmp	x10, x8
	b.eq	LBB0_8
LBB0_6:
	add	x9, x9, x10, lsl #2
	sub	x8, x8, x10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9]
	lsl	w12, w10, #3
	sub	w10, w12, w10
	add	w12, w10, #7
	cmp	w10, #0
	csel	w10, w12, w10, lt
	asr	w10, w10, #3
	str	w10, [x9], #4
	add	x11, x11, w10, sxtw
	subs	x8, x8, #1
	b.ne	LBB0_7
LBB0_8:
	str	x11, [x19, #8]
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
