	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_namewidth                  ## -- Begin function get_namewidth
	.p2align	4, 0x90
_get_namewidth:                         ## @get_namewidth
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	xorl	%esi, %esi
	callq	_zpool_get_config
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_ZPOOL_CONFIG_VDEV_TREE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-24(%rbp), %rdx
	movq	%rax, %rdi
	callq	_nvlist_lookup_nvlist
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_verify
	cmpl	$0, 4(%r14)
	je	LBB0_3
## %bb.4:
	movq	-24(%rbp), %rsi
	movl	(%r14), %ecx
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_max_width
	jmp	LBB0_5
LBB0_1:
	movl	(%r14), %eax
	jmp	LBB0_6
LBB0_3:
	movq	%rbx, %rdi
	callq	_zpool_get_name
	movl	%eax, %edi
	callq	_strlen
LBB0_5:
	movl	%eax, (%r14)
LBB0_6:
	movl	$10, %ecx
	cmpl	$10, %eax
	jl	LBB0_8
## %bb.7:
	movl	$38, %ecx
	cmpl	$39, %eax
	jb	LBB0_9
LBB0_8:
	movl	%ecx, (%r14)
LBB0_9:
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ZPOOL_CONFIG_VDEV_TREE,4,2     ## @ZPOOL_CONFIG_VDEV_TREE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_namewidth                  ; -- Begin function get_namewidth
	.p2align	2
_get_namewidth:                         ; @get_namewidth
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	mov	x1, #0
	bl	_zpool_get_config
	cbz	x0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _ZPOOL_CONFIG_VDEV_TREE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ZPOOL_CONFIG_VDEV_TREE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_nvlist_lookup_nvlist
	cmp	x0, #0
	cset	w0, eq
	bl	_verify
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_6
; %bb.2:
	ldr	x1, [sp, #8]
	ldr	w3, [x19]
	mov	x0, x20
	mov	w2, #0
	bl	_max_width
	b	LBB0_7
LBB0_3:
	ldr	w0, [x19]
	cmp	w0, #10
	b.lt	LBB0_8
LBB0_4:
	cmp	w0, #39
	b.lo	LBB0_10
; %bb.5:
	mov	w8, #38
	b	LBB0_9
LBB0_6:
	mov	x0, x20
	bl	_zpool_get_name
	bl	_strlen
LBB0_7:
	str	w0, [x19]
	cmp	w0, #10
	b.ge	LBB0_4
LBB0_8:
	mov	w8, #10
LBB0_9:
	str	w8, [x19]
LBB0_10:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ZPOOL_CONFIG_VDEV_TREE,4,2     ; @ZPOOL_CONFIG_VDEV_TREE
.subsections_via_symbols
