	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lstlen
_lstlen:                                ## @lstlen
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movb	(%rdi), %cl
	testb	%cl, %cl
	je	LBB0_12
## %bb.1:
	movq	_NAME_SYN@GOTPCREL(%rip), %rax
	movq	_NAME_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	(%rax), %edx
	movsbl	%dl, %r8d
	xorl	%edx, %edx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rdx, %rax
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	movb	1(%rdi), %cl
	incq	%rdi
	movq	%rax, %rdx
	testb	%cl, %cl
	je	LBB0_11
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
                                        ##     Child Loop BB0_6 Depth 2
	movsbl	%cl, %eax
	cmpl	%eax, %r8d
	jge	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	xorl	%r9d, %r9d
	cmpb	$32, %cl
	setl	%r9b
	leaq	(%rdi,%r9), %rcx
	leaq	(%rdx,%rsi), %rax
	testq	%rdx, %rdx
	cmoveq	%rdx, %rax
	cmpb	$0, (%rdi,%r9)
	je	LBB0_10
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	incq	%rax
	leaq	1(%rcx), %rdi
	cmpb	$0, 1(%rcx)
	movq	%rdi, %rcx
	jne	LBB0_6
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	testb	%cl, %cl
	je	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpb	$0, 1(%rdi)
	leaq	1(%rdi), %rdi
	jne	LBB0_8
	jmp	LBB0_2
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rcx, %rdi
	jmp	LBB0_3
LBB0_11:
	popq	%rbp
	retq
LBB0_12:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NAME_SYN,4,2                   ## @NAME_SYN
	.comm	_NAME_MASK,4,2                  ## @NAME_MASK
	.no_dead_strip	_lstlen
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lstlen
_lstlen:                                ; @lstlen
	.cfi_startproc
; %bb.0:
	ldrb	w10, [x0]
	cbz	w10, LBB0_9
; %bb.1:
	mov	x8, #0
Lloh0:
	adrp	x9, _NAME_SYN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NAME_SYN@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x11, _NAME_MASK@GOTPAGE
Lloh4:
	ldr	x11, [x11, _NAME_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
	and	w9, w11, w9
	sxtb	w9, w9
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w10, [x0, #1]!
	cbz	w10, LBB0_8
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;     Child Loop BB0_5 Depth 2
	cmp	w9, w10, sxtb
	b.ge	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	sxtb	w10, w10
	cmp	w10, #32
	cinc	x0, x0, lt
	add	x10, x8, x1
	cmp	x8, #0
	csel	x8, xzr, x10, eq
	ldrb	w10, [x0]
	cbz	w10, LBB0_2
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x8, x8, #1
	ldrb	w10, [x0, #1]!
	cbnz	w10, LBB0_5
	b	LBB0_2
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	tst	w10, #0xff
	b.eq	LBB0_2
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w10, [x0, #1]!
	cbnz	w10, LBB0_7
	b	LBB0_2
LBB0_8:
	mov	x0, x8
	ret
LBB0_9:
	mov	x0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NAME_SYN,4,2                   ; @NAME_SYN
	.comm	_NAME_MASK,4,2                  ; @NAME_MASK
	.no_dead_strip	_lstlen
.subsections_via_symbols
