	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function is_grouping
_is_grouping:                           ## @is_grouping
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	movl	$5, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	testq	%r15, %r15
	je	LBB0_3
## %bb.2:
	movq	_INT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_11
## %bb.4:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_14
## %bb.5:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_28
## %bb.6:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_10
## %bb.31:
	testq	%r14, %r14
	je	LBB0_33
## %bb.32:
	movl	$1, (%r14)
LBB0_33:
	movq	_VDEV_TYPE_L2CACHE@GOTPCREL(%rip), %rax
	jmp	LBB0_34
LBB0_8:
	movb	5(%rbx), %al
	testb	%al, %al
	je	LBB0_17
## %bb.9:
	cmpb	$48, %al
	je	LBB0_10
## %bb.23:
	addq	$5, %rbx
	movq	_errno@GOTPCREL(%rip), %r12
	movq	$0, (%r12)
	leaq	-40(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$10, %edx
	callq	_strtol
	movq	%rax, %rcx
	xorl	%eax, %eax
	cmpq	$0, (%r12)
	jne	LBB0_35
## %bb.24:
	testq	%rcx, %rcx
	jle	LBB0_35
## %bb.25:
	cmpq	$254, %rcx
	jg	LBB0_35
## %bb.26:
	movq	-40(%rbp), %rax
	cmpb	$0, (%rax)
	je	LBB0_18
LBB0_10:
	xorl	%eax, %eax
	jmp	LBB0_35
LBB0_11:
	testq	%r14, %r14
	je	LBB0_13
## %bb.12:
	movl	$2, (%r14)
LBB0_13:
	movq	_VDEV_TYPE_MIRROR@GOTPCREL(%rip), %rax
	jmp	LBB0_34
LBB0_14:
	testq	%r14, %r14
	je	LBB0_16
## %bb.15:
	movl	$1, (%r14)
LBB0_16:
	movq	_VDEV_TYPE_SPARE@GOTPCREL(%rip), %rax
	jmp	LBB0_34
LBB0_17:
	movl	$1, %ecx
LBB0_18:
	testq	%r14, %r14
	je	LBB0_20
## %bb.19:
	incl	%ecx
	movl	%ecx, (%r14)
LBB0_20:
	testq	%r15, %r15
	je	LBB0_22
## %bb.21:
	movl	$255, (%r15)
LBB0_22:
	movq	_VDEV_TYPE_RAIDZ@GOTPCREL(%rip), %rax
	jmp	LBB0_34
LBB0_28:
	testq	%r14, %r14
	je	LBB0_30
## %bb.29:
	movl	$1, (%r14)
LBB0_30:
	movq	_VDEV_TYPE_LOG@GOTPCREL(%rip), %rax
LBB0_34:
	movq	(%rax), %rax
LBB0_35:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"raidz"

	.comm	_errno,8,3                      ## @errno
	.comm	_VDEV_TYPE_RAIDZ,8,3            ## @VDEV_TYPE_RAIDZ
	.comm	_INT_MAX,4,2                    ## @INT_MAX
L_.str.1:                               ## @.str.1
	.asciz	"mirror"

	.comm	_VDEV_TYPE_MIRROR,8,3           ## @VDEV_TYPE_MIRROR
L_.str.2:                               ## @.str.2
	.asciz	"spare"

	.comm	_VDEV_TYPE_SPARE,8,3            ## @VDEV_TYPE_SPARE
L_.str.3:                               ## @.str.3
	.asciz	"log"

	.comm	_VDEV_TYPE_LOG,8,3              ## @VDEV_TYPE_LOG
L_.str.4:                               ## @.str.4
	.asciz	"cache"

	.comm	_VDEV_TYPE_L2CACHE,8,3          ## @VDEV_TYPE_L2CACHE
	.no_dead_strip	_is_grouping
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function is_grouping
_is_grouping:                           ; @is_grouping
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #5
	bl	_strncmp
	cbz	x0, LBB0_10
; %bb.1:
	cbz	x20, LBB0_3
; %bb.2:
Lloh2:
	adrp	x8, _INT_MAX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _INT_MAX@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x20]
LBB0_3:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_strcmp
	cbz	x0, LBB0_16
; %bb.4:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_strcmp
	cbz	x0, LBB0_19
; %bb.5:
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_strcmp
	cbz	x0, LBB0_28
; %bb.6:
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_strcmp
	cbnz	x0, LBB0_15
; %bb.7:
	cbz	x19, LBB0_9
; %bb.8:
	mov	w8, #1
	str	w8, [x19]
LBB0_9:
Lloh13:
	adrp	x8, _VDEV_TYPE_L2CACHE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _VDEV_TYPE_L2CACHE@GOTPAGEOFF]
	b	LBB0_31
LBB0_10:
	ldrb	w8, [x21, #5]!
	cbz	w8, LBB0_22
; %bb.11:
	cmp	w8, #48
	b.eq	LBB0_15
; %bb.12:
Lloh15:
	adrp	x22, _errno@GOTPAGE
Lloh16:
	ldr	x22, [x22, _errno@GOTPAGEOFF]
	str	xzr, [x22]
	add	x1, sp, #8
	mov	x0, x21
	mov	w2, #10
	bl	_strtol
	mov	x8, x0
	mov	x0, #0
	ldr	x9, [x22]
	cmp	x9, #0
	ccmp	x8, #1, #8, eq
	b.lt	LBB0_32
; %bb.13:
	cmp	x8, #254
	b.gt	LBB0_32
; %bb.14:
	ldr	x9, [sp, #8]
	ldrb	w9, [x9]
	cbz	w9, LBB0_23
LBB0_15:
	mov	x0, #0
	b	LBB0_32
LBB0_16:
	cbz	x19, LBB0_18
; %bb.17:
	mov	w8, #2
	str	w8, [x19]
LBB0_18:
Lloh17:
	adrp	x8, _VDEV_TYPE_MIRROR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _VDEV_TYPE_MIRROR@GOTPAGEOFF]
	b	LBB0_31
LBB0_19:
	cbz	x19, LBB0_21
; %bb.20:
	mov	w8, #1
	str	w8, [x19]
LBB0_21:
Lloh19:
	adrp	x8, _VDEV_TYPE_SPARE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _VDEV_TYPE_SPARE@GOTPAGEOFF]
	b	LBB0_31
LBB0_22:
	mov	w8, #1
LBB0_23:
	cbz	x19, LBB0_25
; %bb.24:
	add	w8, w8, #1
	str	w8, [x19]
LBB0_25:
	cbz	x20, LBB0_27
; %bb.26:
	mov	w8, #255
	str	w8, [x20]
LBB0_27:
Lloh21:
	adrp	x8, _VDEV_TYPE_RAIDZ@GOTPAGE
Lloh22:
	ldr	x8, [x8, _VDEV_TYPE_RAIDZ@GOTPAGEOFF]
	b	LBB0_31
LBB0_28:
	cbz	x19, LBB0_30
; %bb.29:
	mov	w8, #1
	str	w8, [x19]
LBB0_30:
Lloh23:
	adrp	x8, _VDEV_TYPE_LOG@GOTPAGE
Lloh24:
	ldr	x8, [x8, _VDEV_TYPE_LOG@GOTPAGEOFF]
LBB0_31:
	ldr	x0, [x8]
LBB0_32:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"raidz"

	.comm	_errno,8,3                      ; @errno
	.comm	_VDEV_TYPE_RAIDZ,8,3            ; @VDEV_TYPE_RAIDZ
	.comm	_INT_MAX,4,2                    ; @INT_MAX
l_.str.1:                               ; @.str.1
	.asciz	"mirror"

	.comm	_VDEV_TYPE_MIRROR,8,3           ; @VDEV_TYPE_MIRROR
l_.str.2:                               ; @.str.2
	.asciz	"spare"

	.comm	_VDEV_TYPE_SPARE,8,3            ; @VDEV_TYPE_SPARE
l_.str.3:                               ; @.str.3
	.asciz	"log"

	.comm	_VDEV_TYPE_LOG,8,3              ; @VDEV_TYPE_LOG
l_.str.4:                               ; @.str.4
	.asciz	"cache"

	.comm	_VDEV_TYPE_L2CACHE,8,3          ; @VDEV_TYPE_L2CACHE
	.no_dead_strip	_is_grouping
.subsections_via_symbols
