	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function dn_count_labels
LCPI0_0:
	.byte	46                              ## 0x2e
	.byte	46                              ## 0x2e
	.byte	46                              ## 0x2e
	.byte	46                              ## 0x2e
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
LCPI0_1:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_dn_count_labels
	.p2align	4, 0x90
_dn_count_labels:                       ## @dn_count_labels
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	movl	%eax, %ecx
	cmpl	$8, %eax
	jae	LBB0_4
## %bb.3:
	xorl	%edx, %edx
	xorl	%esi, %esi
	jmp	LBB0_11
LBB0_1:
	xorl	%ecx, %ecx
	jmp	LBB0_13
LBB0_4:
	movl	%ecx, %edx
	andl	$-8, %edx
	leaq	-8(%rdx), %rsi
	movq	%rsi, %r8
	shrq	$3, %r8
	incq	%r8
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.6:
	movq	%r8, %rsi
	andq	$-2, %rsi
	pxor	%xmm0, %xmm0
	xorl	%edi, %edi
	movdqa	LCPI0_0(%rip), %xmm2            ## xmm2 = <46,46,46,46,u,u,u,u,u,u,u,u,u,u,u,u>
	movdqa	LCPI0_1(%rip), %xmm3            ## xmm3 = [1,1,1,1]
	pxor	%xmm1, %xmm1
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movd	(%rbx,%rdi), %xmm4              ## xmm4 = mem[0],zero,zero,zero
	movd	4(%rbx,%rdi), %xmm5             ## xmm5 = mem[0],zero,zero,zero
	pcmpeqb	%xmm2, %xmm4
	pmovzxbd	%xmm4, %xmm4                    ## xmm4 = xmm4[0],zero,zero,zero,xmm4[1],zero,zero,zero,xmm4[2],zero,zero,zero,xmm4[3],zero,zero,zero
	pand	%xmm3, %xmm4
	paddd	%xmm0, %xmm4
	pcmpeqb	%xmm2, %xmm5
	pmovzxbd	%xmm5, %xmm5                    ## xmm5 = xmm5[0],zero,zero,zero,xmm5[1],zero,zero,zero,xmm5[2],zero,zero,zero,xmm5[3],zero,zero,zero
	pand	%xmm3, %xmm5
	paddd	%xmm1, %xmm5
	movd	8(%rbx,%rdi), %xmm0             ## xmm0 = mem[0],zero,zero,zero
	movd	12(%rbx,%rdi), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	pcmpeqb	%xmm2, %xmm0
	pmovzxbd	%xmm0, %xmm0                    ## xmm0 = xmm0[0],zero,zero,zero,xmm0[1],zero,zero,zero,xmm0[2],zero,zero,zero,xmm0[3],zero,zero,zero
	pand	%xmm3, %xmm0
	paddd	%xmm4, %xmm0
	pcmpeqb	%xmm2, %xmm1
	pmovzxbd	%xmm1, %xmm1                    ## xmm1 = xmm1[0],zero,zero,zero,xmm1[1],zero,zero,zero,xmm1[2],zero,zero,zero,xmm1[3],zero,zero,zero
	pand	%xmm3, %xmm1
	paddd	%xmm5, %xmm1
	addq	$16, %rdi
	addq	$-2, %rsi
	jne	LBB0_7
## %bb.8:
	testb	$1, %r8b
	je	LBB0_10
LBB0_9:
	movd	(%rbx,%rdi), %xmm2              ## xmm2 = mem[0],zero,zero,zero
	movd	4(%rbx,%rdi), %xmm3             ## xmm3 = mem[0],zero,zero,zero
	movdqa	LCPI0_0(%rip), %xmm4            ## xmm4 = <46,46,46,46,u,u,u,u,u,u,u,u,u,u,u,u>
	pcmpeqb	%xmm4, %xmm2
	pmovzxbd	%xmm2, %xmm2                    ## xmm2 = xmm2[0],zero,zero,zero,xmm2[1],zero,zero,zero,xmm2[2],zero,zero,zero,xmm2[3],zero,zero,zero
	movdqa	LCPI0_1(%rip), %xmm5            ## xmm5 = [1,1,1,1]
	pand	%xmm5, %xmm2
	paddd	%xmm2, %xmm0
	pcmpeqb	%xmm4, %xmm3
	pmovzxbd	%xmm3, %xmm2                    ## xmm2 = xmm3[0],zero,zero,zero,xmm3[1],zero,zero,zero,xmm3[2],zero,zero,zero,xmm3[3],zero,zero,zero
	pand	%xmm5, %xmm2
	paddd	%xmm2, %xmm1
LBB0_10:
	paddd	%xmm1, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	paddd	%xmm0, %xmm1
	pshufd	$85, %xmm1, %xmm0               ## xmm0 = xmm1[1,1,1,1]
	paddd	%xmm1, %xmm0
	movd	%xmm0, %esi
	cmpq	%rcx, %rdx
	je	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	xorl	%edi, %edi
	cmpb	$46, (%rbx,%rdx)
	sete	%dil
	addl	%edi, %esi
	incq	%rdx
	cmpq	%rdx, %rcx
	jne	LBB0_11
LBB0_12:
	cmpb	$42, (%rbx)
	sete	%cl
	testl	%esi, %esi
	setne	%dl
	andb	%cl, %dl
	movzbl	%dl, %ecx
	subl	%ecx, %esi
	decl	%eax
	xorl	%ecx, %ecx
	cmpb	$46, (%rbx,%rax)
	setne	%cl
	addl	%esi, %ecx
LBB0_13:
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_5:
	pxor	%xmm0, %xmm0
	xorl	%edi, %edi
	pxor	%xmm1, %xmm1
	testb	$1, %r8b
	jne	LBB0_9
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dn_count_labels                ; -- Begin function dn_count_labels
	.p2align	2
_dn_count_labels:                       ; @dn_count_labels
	.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	_strlen
	subs	w8, w0, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w9, w0
	cmp	w0, #8
	b.hs	LBB0_4
; %bb.2:
	mov	x10, #0
	mov	w11, #0
	b	LBB0_13
LBB0_3:
	mov	w0, #0
	b	LBB0_16
LBB0_4:
	cmp	w0, #32
	b.hs	LBB0_6
; %bb.5:
	mov	w11, #0
	mov	x10, #0
	b	LBB0_10
LBB0_6:
	movi.2d	v0, #0000000000000000
	and	x10, x9, #0xffffffe0
	movi.16b	v1, #46
	add	x11, x19, #16
	movi.4s	v2, #1
	mov	x12, x10
	movi.2d	v4, #0000000000000000
	movi.2d	v3, #0000000000000000
	movi.2d	v5, #0000000000000000
	movi.2d	v6, #0000000000000000
	movi.2d	v16, #0000000000000000
	movi.2d	v7, #0000000000000000
	movi.2d	v17, #0000000000000000
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q18, q19, [x11, #-16]
	cmeq.16b	v18, v18, v1
	ushll.8h	v20, v18, #0
	ushll.4s	v21, v20, #0
	and.16b	v21, v21, v2
	ushll2.4s	v20, v20, #0
	and.16b	v20, v20, v2
	ushll2.8h	v18, v18, #0
	ushll.4s	v22, v18, #0
	and.16b	v22, v22, v2
	ushll2.4s	v18, v18, #0
	and.16b	v18, v18, v2
	cmeq.16b	v19, v19, v1
	ushll.8h	v23, v19, #0
	ushll.4s	v24, v23, #0
	and.16b	v24, v24, v2
	ushll2.4s	v23, v23, #0
	and.16b	v23, v23, v2
	ushll2.8h	v19, v19, #0
	ushll.4s	v25, v19, #0
	and.16b	v25, v25, v2
	ushll2.4s	v19, v19, #0
	and.16b	v19, v19, v2
	add.4s	v5, v5, v18
	add.4s	v3, v3, v22
	add.4s	v4, v4, v20
	add.4s	v0, v0, v21
	add.4s	v17, v17, v19
	add.4s	v7, v7, v25
	add.4s	v16, v16, v23
	add.4s	v6, v6, v24
	add	x11, x11, #32
	subs	x12, x12, #32
	b.ne	LBB0_7
; %bb.8:
	add.4s	v1, v16, v4
	add.4s	v2, v17, v5
	add.4s	v0, v6, v0
	add.4s	v3, v7, v3
	add.4s	v0, v0, v3
	add.4s	v1, v1, v2
	add.4s	v0, v0, v1
	addv.4s	s0, v0
	fmov	w11, s0
	cmp	x10, x9
	b.eq	LBB0_15
; %bb.9:
	tst	x9, #0x18
	b.eq	LBB0_13
LBB0_10:
	mov	x12, x10
	and	x10, x9, #0xfffffff8
	movi.2d	v0, #0000000000000000
	movi.2d	v1, #0000000000000000
	mov.s	v1[0], w11
	add	x11, x19, x12
	sub	x12, x12, x10
	movi.8b	v2, #46
	movi.4s	v3, #1
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	d4, [x11], #8
	cmeq.8b	v4, v4, v2
	ushll.8h	v4, v4, #0
	ushll.4s	v5, v4, #0
	and.16b	v5, v5, v3
	ushll2.4s	v4, v4, #0
	and.16b	v4, v4, v3
	add.4s	v0, v0, v4
	add.4s	v1, v1, v5
	adds	x12, x12, #8
	b.ne	LBB0_11
; %bb.12:
	add.4s	v0, v1, v0
	addv.4s	s0, v0
	fmov	w11, s0
	cmp	x10, x9
	b.eq	LBB0_15
LBB0_13:
	add	x12, x19, x10
	sub	x9, x9, x10
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x12], #1
	cmp	w10, #46
	cinc	w11, w11, eq
	subs	x9, x9, #1
	b.ne	LBB0_14
LBB0_15:
	ldrb	w9, [x19]
	cmp	w9, #42
	ccmp	w11, #0, #4, eq
	cset	w9, ne
	sub	w9, w11, w9
	ldrb	w8, [x19, w8, uxtw]
	cmp	w8, #46
	cinc	w0, w9, ne
LBB0_16:
	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
