	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function next_length
_next_length:                           ## @next_length
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_BTRFS_NAME_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	movl	$-1, %eax
	cmovnsl	%ecx, %eax
	incl	%eax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdi,%rcx), %edx
	testb	%dl, %dl
	je	LBB0_6
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$47, %dl
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$92, %dl
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	%ecx, %eax
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	incq	%rcx
	jmp	LBB0_1
LBB0_6:
	movl	%ecx, %eax
LBB0_7:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BTRFS_NAME_MAX,4,2             ## @BTRFS_NAME_MAX
	.no_dead_strip	_next_length
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function next_length
_next_length:                           ; @next_length
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	mov	x9, #0
Lloh0:
	adrp	x10, _BTRFS_NAME_MAX@GOTPAGE
Lloh1:
	ldr	x10, [x10, _BTRFS_NAME_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	cmp	w10, #0
	csinv	w10, w10, wzr, ge
	add	w0, w10, #1
	ldrb	w10, [x8, x9]
	cbz	w10, LBB0_5
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w10, #47
	b.eq	LBB0_5
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	w10, #92
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	w0, w9
	b.eq	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x9, x9, #1
	ldrb	w10, [x8, x9]
	cbnz	w10, LBB0_1
LBB0_5:
	mov	x0, x9
LBB0_6:
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BTRFS_NAME_MAX,4,2             ; @BTRFS_NAME_MAX
	.no_dead_strip	_next_length
.subsections_via_symbols
