	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bootfs_name_valid
_bootfs_name_valid:                     ## @bootfs_name_valid
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_strlen
	movl	%eax, %r14d
	movq	_ZFS_TYPE_FILESYSTEM@GOTPCREL(%rip), %rax
	movq	_ZFS_TYPE_SNAPSHOT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%r15, %rdi
	callq	_zfs_name_valid
	movq	_B_FALSE@GOTPCREL(%rip), %r12
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_5
## %bb.2:
	movslq	%r14d, %rax
	movb	(%r15,%rax), %al
	movq	_B_TRUE@GOTPCREL(%rip), %rcx
	movq	%rcx, %r12
	testb	%al, %al
	je	LBB0_4
## %bb.3:
	movq	_B_FALSE@GOTPCREL(%rip), %r12
LBB0_4:
	cmpb	$47, %al
	cmoveq	%rcx, %r12
LBB0_5:
	movl	(%r12), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ZFS_TYPE_FILESYSTEM,4,2        ## @ZFS_TYPE_FILESYSTEM
	.comm	_ZFS_TYPE_SNAPSHOT,4,2          ## @ZFS_TYPE_SNAPSHOT
	.comm	_B_FALSE,4,2                    ## @B_FALSE
	.comm	_B_TRUE,4,2                     ## @B_TRUE
	.no_dead_strip	_bootfs_name_valid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bootfs_name_valid
_bootfs_name_valid:                     ; @bootfs_name_valid
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x21, x0
	bl	_strlen
	mov	x20, x0
Lloh0:
	adrp	x8, _ZFS_TYPE_FILESYSTEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ZFS_TYPE_FILESYSTEM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _ZFS_TYPE_SNAPSHOT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ZFS_TYPE_SNAPSHOT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x19
	bl	_zfs_name_valid
	cbz	w0, LBB0_3
; %bb.1:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_strncmp
Lloh6:
	adrp	x8, _B_FALSE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _B_FALSE@GOTPAGEOFF]
	cbnz	x0, LBB0_4
; %bb.2:
	ldrb	w9, [x19, w20, sxtw]
	cmp	w9, #0
	mov	w10, #47
	ccmp	w9, w10, #4, ne
Lloh8:
	adrp	x9, _B_TRUE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _B_TRUE@GOTPAGEOFF]
	csel	x8, x9, x8, eq
	b	LBB0_4
LBB0_3:
Lloh10:
	adrp	x8, _B_FALSE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _B_FALSE@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ZFS_TYPE_FILESYSTEM,4,2        ; @ZFS_TYPE_FILESYSTEM
	.comm	_ZFS_TYPE_SNAPSHOT,4,2          ; @ZFS_TYPE_SNAPSHOT
	.comm	_B_FALSE,4,2                    ; @B_FALSE
	.comm	_B_TRUE,4,2                     ; @B_TRUE
	.no_dead_strip	_bootfs_name_valid
.subsections_via_symbols
