	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dump_metaslabs
_dump_metaslabs:                        ## @dump_metaslabs
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %r15
	movq	(%r15), %r12
	leaq	L_str(%rip), %rdi
	callq	_puts
	movq	_dump_opt@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	xorl	%r14d, %r14d
	cmpl	$0, 400(%rax)
	jne	LBB0_13
## %bb.1:
	movq	_zopt_objects@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	testl	%eax, %eax
	jle	LBB0_13
## %bb.2:
	movq	_zopt_object@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %r14
	cmpq	%r12, %r14
	jb	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	movl	%r14d, %esi
	callq	_fatal
	movl	(%r13), %eax
LBB0_4:
	cmpl	$2, %eax
	jl	LBB0_12
## %bb.5:
	movq	24(%r15), %rax
	movq	(%rax,%r14,8), %r15
	movq	%r15, %rdi
	callq	_print_vdev_metaslab_header
	cmpl	$2, (%r13)
	jb	LBB0_11
## %bb.6:
	movl	$1, %ebx
	movq	_stderr@GOTPCREL(%rip), %r12
	leaq	L_.str.2(%rip), %r14
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r12), %edi
	movq	%r14, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_fprintf
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	incq	%rbx
	movslq	(%r13), %rax
	cmpq	%rax, %rbx
	jae	LBB0_11
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	_zopt_object@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rbx,8), %rdx
	cmpq	8(%r15), %rdx
	jae	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	16(%r15), %rax
	movl	(%rax,%rdx,4), %edi
	callq	_dump_metaslab
	jmp	LBB0_10
LBB0_12:
	leaq	1(%r14), %r12
LBB0_13:
	cmpq	%r12, %r14
	jb	LBB0_14
LBB0_18:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	$10, %edi
	callq	_putchar
	incq	%r14
	cmpq	%r12, %r14
	je	LBB0_18
LBB0_14:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_16 Depth 2
	movq	24(%r15), %rax
	movq	(%rax,%r14,8), %r13
	movq	%r13, %rdi
	callq	_print_vdev_metaslab_header
	movq	%r13, %rdi
	callq	_print_vdev_indirect
	cmpq	$0, 8(%r13)
	je	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_16:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%r13), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_dump_metaslab
	incq	%rbx
	cmpq	8(%r13), %rbx
	jb	LBB0_16
	jmp	LBB0_17
LBB0_11:
	movl	$10, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_putchar                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_dump_opt,8,3                   ## @dump_opt
	.comm	_zopt_objects,4,2               ## @zopt_objects
	.comm	_zopt_object,8,3                ## @zopt_object
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"bad vdev id: %llu"

	.comm	_stderr,4,2                     ## @stderr
L_.str.2:                               ## @.str.2
	.asciz	"bad metaslab number %llu\n"

L_str:                                  ## @str
	.asciz	"\nMetaslabs:"

	.no_dead_strip	_dump_metaslabs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dump_metaslabs
_dump_metaslabs:                        ; @dump_metaslabs
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	x21, [x0]
	ldr	x22, [x21]
Lloh0:
	adrp	x0, l_str@PAGE
Lloh1:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
Lloh2:
	adrp	x8, _dump_opt@GOTPAGE
Lloh3:
	ldr	x8, [x8, _dump_opt@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldr	w9, [x8, #400]
Lloh5:
	adrp	x23, _zopt_objects@GOTPAGE
Lloh6:
	ldr	x23, [x23, _zopt_objects@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w9, #0
	ccmp	w8, #1, #8, eq
	b.ge	LBB0_2
; %bb.1:
	mov	x19, #0
	cmp	x19, x22
	b.lo	LBB0_14
	b	LBB0_12
LBB0_2:
Lloh7:
	adrp	x24, _zopt_object@GOTPAGE
Lloh8:
	ldr	x24, [x24, _zopt_object@GOTPAGEOFF]
	ldr	x9, [x24]
	ldr	x19, [x9]
	cmp	x19, x22
	b.lo	LBB0_4
; %bb.3:
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_fatal
	ldr	w8, [x23]
LBB0_4:
	cmp	w8, #2
	b.lt	LBB0_11
; %bb.5:
	ldr	x8, [x21, #24]
	ldr	x19, [x8, x19, lsl #3]
	mov	x0, x19
	bl	_print_vdev_metaslab_header
	ldr	w8, [x23]
	cmp	w8, #2
	b.lo	LBB0_17
; %bb.6:
	mov	w21, #1
Lloh11:
	adrp	x22, _stderr@GOTPAGE
Lloh12:
	ldr	x22, [x22, _stderr@GOTPAGEOFF]
Lloh13:
	adrp	x20, l_.str.2@PAGE
Lloh14:
	add	x20, x20, l_.str.2@PAGEOFF
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldr	w0, [x22]
	mov	x1, x20
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_fprintf
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x23]
	cmp	x21, x8
	b.hs	LBB0_17
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	ldr	x2, [x8, x21, lsl #3]
	ldr	x8, [x19, #8]
	cmp	x2, x8
	b.hs	LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x19, #16]
	ldr	w0, [x8, x2, lsl #2]
	bl	_dump_metaslab
	b	LBB0_8
LBB0_11:
	add	x22, x19, #1
	cmp	x19, x22
	b.lo	LBB0_14
LBB0_12:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	w0, #10
	bl	_putchar
	add	x19, x19, #1
	cmp	x19, x22
	b.eq	LBB0_12
LBB0_14:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_16 Depth 2
	ldr	x8, [x21, #24]
	ldr	x20, [x8, x19, lsl #3]
	mov	x0, x20
	bl	_print_vdev_metaslab_header
	mov	x0, x20
	bl	_print_vdev_indirect
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x23, #0
LBB0_16:                                ;   Parent Loop BB0_14 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x20, #16]
	ldr	w0, [x8, x23, lsl #2]
	bl	_dump_metaslab
	add	x23, x23, #1
	ldr	x8, [x20, #8]
	cmp	x23, x8
	b.lo	LBB0_16
	b	LBB0_13
LBB0_17:
	mov	w0, #10
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_putchar
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_dump_opt,8,3                   ; @dump_opt
	.comm	_zopt_objects,4,2               ; @zopt_objects
	.comm	_zopt_object,8,3                ; @zopt_object
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"bad vdev id: %llu"

	.comm	_stderr,4,2                     ; @stderr
l_.str.2:                               ; @.str.2
	.asciz	"bad metaslab number %llu\n"

l_str:                                  ; @str
	.asciz	"\nMetaslabs:"

	.no_dead_strip	_dump_metaslabs
.subsections_via_symbols
