	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dle_count
_dle_count:                             ## @dle_count
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	testl	%esi, %esi
	je	LBB0_1
## %bb.2:
	movq	_DLE@GOTPCREL(%rip), %rax
	movl	(%rax), %r11d
	leal	-1(%rsi), %r9d
	xorl	%eax, %eax
	cmpl	$7, %r9d
	jb	LBB0_11
## %bb.3:
	incq	%r9
	movq	%r9, %r8
	andq	$-8, %r8
	movd	%r11d, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	leaq	-8(%r8), %rax
	movq	%rax, %r10
	shrq	$3, %r10
	incq	%r10
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%r10, %rax
	andq	$-2, %rax
	pxor	%xmm1, %xmm1
	xorl	%edx, %edx
	pxor	%xmm2, %xmm2
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	pmovzxbd	(%rdi,%rdx), %xmm3              ## xmm3 = mem[0],zero,zero,zero,mem[1],zero,zero,zero,mem[2],zero,zero,zero,mem[3],zero,zero,zero
	pmovzxbd	4(%rdi,%rdx), %xmm4             ## xmm4 = mem[0],zero,zero,zero,mem[1],zero,zero,zero,mem[2],zero,zero,zero,mem[3],zero,zero,zero
	pcmpeqd	%xmm0, %xmm3
	psubd	%xmm3, %xmm1
	pcmpeqd	%xmm0, %xmm4
	psubd	%xmm4, %xmm2
	pmovzxbd	8(%rdi,%rdx), %xmm3             ## xmm3 = mem[0],zero,zero,zero,mem[1],zero,zero,zero,mem[2],zero,zero,zero,mem[3],zero,zero,zero
	pmovzxbd	12(%rdi,%rdx), %xmm4            ## xmm4 = mem[0],zero,zero,zero,mem[1],zero,zero,zero,mem[2],zero,zero,zero,mem[3],zero,zero,zero
	pcmpeqd	%xmm0, %xmm3
	psubd	%xmm3, %xmm1
	pcmpeqd	%xmm0, %xmm4
	psubd	%xmm4, %xmm2
	addq	$16, %rdx
	addq	$-2, %rax
	jne	LBB0_6
## %bb.7:
	testb	$1, %r10b
	je	LBB0_9
LBB0_8:
	pmovzxbd	(%rdi,%rdx), %xmm3              ## xmm3 = mem[0],zero,zero,zero,mem[1],zero,zero,zero,mem[2],zero,zero,zero,mem[3],zero,zero,zero
	pmovzxbd	4(%rdi,%rdx), %xmm4             ## xmm4 = mem[0],zero,zero,zero,mem[1],zero,zero,zero,mem[2],zero,zero,zero,mem[3],zero,zero,zero
	pcmpeqd	%xmm0, %xmm3
	psubd	%xmm3, %xmm1
	pcmpeqd	%xmm0, %xmm4
	psubd	%xmm4, %xmm2
LBB0_9:
	paddd	%xmm2, %xmm1
	pshufd	$238, %xmm1, %xmm0              ## xmm0 = xmm1[2,3,2,3]
	paddd	%xmm1, %xmm0
	pshufd	$85, %xmm0, %xmm1               ## xmm1 = xmm0[1,1,1,1]
	paddd	%xmm0, %xmm1
	movd	%xmm1, %eax
	cmpq	%r8, %r9
	je	LBB0_13
## %bb.10:
	subl	%r8d, %esi
	addq	%r8, %rdi
LBB0_11:
	movl	%esi, %r8d
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdi,%rsi), %ecx
	xorl	%edx, %edx
	cmpl	%ecx, %r11d
	sete	%dl
	addl	%edx, %eax
	incq	%rsi
	cmpl	%esi, %r8d
	jne	LBB0_12
LBB0_13:
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_4:
	pxor	%xmm1, %xmm1
	xorl	%edx, %edx
	pxor	%xmm2, %xmm2
	testb	$1, %r10b
	jne	LBB0_8
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_DLE,4,2                        ## @DLE
	.no_dead_strip	_dle_count
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function dle_count
lCPI0_0:
	.byte	8                               ; 0x8
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	9                               ; 0x9
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	10                              ; 0xa
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	11                              ; 0xb
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
lCPI0_1:
	.byte	4                               ; 0x4
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	5                               ; 0x5
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	6                               ; 0x6
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	7                               ; 0x7
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
lCPI0_2:
	.byte	0                               ; 0x0
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	1                               ; 0x1
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	2                               ; 0x2
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	3                               ; 0x3
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
lCPI0_3:
	.byte	12                              ; 0xc
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	13                              ; 0xd
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	14                              ; 0xe
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	15                              ; 0xf
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_dle_count:                             ; @dle_count
	.cfi_startproc
; %bb.0:
	cbz	w1, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _DLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DLE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
	sub	w8, w1, #1
	cmp	w8, #7
	b.hs	LBB0_4
; %bb.2:
	mov	w8, #0
	mov	x14, x0
	b	LBB0_14
LBB0_3:
	mov	w0, #0
	ret
LBB0_4:
	add	x10, x8, #1
	dup.4s	v0, w9
	adrp	x11, lCPI0_1@PAGE
	adrp	x12, lCPI0_2@PAGE
	cmp	w8, #31
	b.hs	LBB0_6
; %bb.5:
	mov	w8, #0
	mov	x13, #0
	b	LBB0_10
LBB0_6:
	and	x13, x10, #0x1ffffffe0
	add	x8, x0, #16
	movi.2d	v1, #0000000000000000
Lloh3:
	adrp	x14, lCPI0_0@PAGE
Lloh4:
	ldr	q2, [x14, lCPI0_0@PAGEOFF]
	ldr	q3, [x11, lCPI0_1@PAGEOFF]
	ldr	q4, [x12, lCPI0_2@PAGEOFF]
	movi.2d	v6, #0000000000000000
Lloh5:
	adrp	x14, lCPI0_3@PAGE
Lloh6:
	ldr	q18, [x14, lCPI0_3@PAGEOFF]
	mov	x14, x13
	movi.2d	v5, #0000000000000000
	movi.2d	v16, #0000000000000000
	movi.2d	v7, #0000000000000000
	movi.2d	v19, #0000000000000000
	movi.2d	v17, #0000000000000000
	movi.2d	v20, #0000000000000000
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q21, q25, [x8, #-16]
	tbl.16b	v22, { v21 }, v2
	tbl.16b	v23, { v21 }, v3
	tbl.16b	v24, { v21 }, v4
	tbl.16b	v21, { v21 }, v18
	tbl.16b	v26, { v25 }, v2
	tbl.16b	v27, { v25 }, v3
	tbl.16b	v28, { v25 }, v4
	tbl.16b	v25, { v25 }, v18
	cmeq.4s	v21, v0, v21
	cmeq.4s	v24, v0, v24
	cmeq.4s	v23, v0, v23
	cmeq.4s	v22, v0, v22
	cmeq.4s	v25, v0, v25
	cmeq.4s	v28, v0, v28
	cmeq.4s	v27, v0, v27
	cmeq.4s	v26, v0, v26
	sub.4s	v5, v5, v22
	sub.4s	v6, v6, v23
	sub.4s	v1, v1, v24
	sub.4s	v16, v16, v21
	sub.4s	v17, v17, v26
	sub.4s	v19, v19, v27
	sub.4s	v7, v7, v28
	sub.4s	v20, v20, v25
	add	x8, x8, #32
	subs	x14, x14, #32
	b.ne	LBB0_7
; %bb.8:
	add.4s	v2, v19, v6
	add.4s	v3, v20, v16
	add.4s	v1, v7, v1
	add.4s	v4, v17, v5
	add.4s	v1, v1, v4
	add.4s	v2, v2, v3
	add.4s	v1, v1, v2
	addv.4s	s1, v1
	fmov	w8, s1
	cmp	x10, x13
	b.eq	LBB0_15
; %bb.9:
	tst	x10, #0x18
	b.eq	LBB0_13
LBB0_10:
	and	x15, x10, #0x1fffffff8
	sub	w1, w1, w15
	add	x14, x0, x15
	movi.2d	v1, #0000000000000000
	movi.2d	v2, #0000000000000000
	mov.s	v2[0], w8
	add	x8, x0, x13
	sub	x13, x13, x15
	ldr	q3, [x11, lCPI0_1@PAGEOFF]
	ldr	q4, [x12, lCPI0_2@PAGEOFF]
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	d5, [x8], #8
	tbl.16b	v6, { v5 }, v3
	tbl.16b	v5, { v5 }, v4
	cmeq.4s	v5, v0, v5
	cmeq.4s	v6, v0, v6
	sub.4s	v1, v1, v6
	sub.4s	v2, v2, v5
	adds	x13, x13, #8
	b.ne	LBB0_11
; %bb.12:
	add.4s	v0, v2, v1
	addv.4s	s0, v0
	fmov	w8, s0
	cmp	x10, x15
	b.ne	LBB0_14
	b	LBB0_15
LBB0_13:
	add	x14, x0, x13
	sub	w1, w1, w13
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x14], #1
	cmp	w9, w10
	cinc	w8, w8, eq
	sub	w1, w1, #1
	cbnz	w1, LBB0_14
LBB0_15:
	mov	x0, x8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpAdrp	Lloh3, Lloh5
	.loh AdrpLdr	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_DLE,4,2                        ; @DLE
	.no_dead_strip	_dle_count
.subsections_via_symbols
