	.file	"extr_zdb.c_dump_metaslab_groups.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"\tvdev %10llu\t\tmetaslabs%5llu\t\tfragmentation"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"-"
.LC2:
	.string	"%3s\n"
.LC3:
	.string	"%3llu%%\n"
.LC4:
	.string	"\tpool %s\tfragmentation"
.LC5:
	.string	"\t%3s\n"
.LC6:
	.string	"\t%3llu%%\n"
	.text
	.p2align 4
	.type	dump_metaslab_groups, @function
dump_metaslab_groups:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	r13, QWORD PTR [rdi]
	call	spa_normal_class@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	metaslab_class_histogram_verify@PLT
	mov	eax, DWORD PTR 0[r13]
	test	eax, eax
	je	.L2
	xor	ebx, ebx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L3:
	add	ebx, 1
	cmp	DWORD PTR 0[r13], ebx
	jbe	.L2
.L6:
	mov	rdx, QWORD PTR 32[r13]
	mov	eax, ebx
	mov	r15, QWORD PTR [rdx+rax*8]
	mov	r14, QWORD PTR 24[r15]
	cmp	QWORD PTR 16[r14], rbp
	jne	.L3
	mov	rdi, r14
	call	metaslab_group_histogram_verify@PLT
	mov	rdi, r14
	call	metaslab_group_fragmentation@PLT
	mov	rsi, QWORD PTR 16[r15]
	mov	rdx, QWORD PTR 8[r15]
	lea	rdi, .LC0[rip]
	mov	QWORD PTR [r14], rax
	xor	eax, eax
	call	printf@PLT
	mov	rsi, QWORD PTR [r14]
	cmp	rsi, QWORD PTR ZFS_FRAG_INVALID[rip]
	je	.L12
	lea	rdi, .LC3[rip]
	xor	eax, eax
	call	printf@PLT
.L5:
	mov	edi, DWORD PTR 8[r14]
	mov	esi, DWORD PTR RANGE_TREE_HISTOGRAM_SIZE[rip]
	xor	edx, edx
	add	ebx, 1
	call	dump_histogram@PLT
	cmp	DWORD PTR 0[r13], ebx
	ja	.L6
.L2:
	mov	rdi, r12
	call	spa_name@PLT
	lea	rdi, .LC4[rip]
	mov	rsi, rax
	xor	eax, eax
	call	printf@PLT
	mov	rdi, rbp
	call	metaslab_class_fragmentation@PLT
	cmp	QWORD PTR ZFS_FRAG_INVALID[rip], rax
	mov	rsi, rax
	je	.L13
	lea	rdi, .LC6[rip]
	xor	eax, eax
	call	printf@PLT
.L8:
	mov	edi, DWORD PTR 0[rbp]
	mov	esi, DWORD PTR RANGE_TREE_HISTOGRAM_SIZE[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xor	edx, edx
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	dump_histogram@PLT
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	xor	eax, eax
	call	printf@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L13:
	lea	rsi, .LC1[rip]
	lea	rdi, .LC5[rip]
	xor	eax, eax
	call	printf@PLT
	jmp	.L8
	.cfi_endproc
.LFE0:
	.size	dump_metaslab_groups, .-dump_metaslab_groups
	.comm	ZFS_FRAG_INVALID,8,8
	.comm	RANGE_TREE_HISTOGRAM_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_zdb.c_dump_metaslab_groups.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\011vdev %10llu\011\011metaslabs%5llu\011\011fragme"
	.ascii	"ntation\000"
	.align	2
.LC1:
	.ascii	"-\000"
	.align	2
.LC2:
	.ascii	"%3s\012\000"
	.align	2
.LC3:
	.ascii	"%3llu%%\012\000"
	.align	2
.LC4:
	.ascii	"\011pool %s\011fragmentation\000"
	.align	2
.LC5:
	.ascii	"\011%3s\012\000"
	.align	2
.LC6:
	.ascii	"\011%3llu%%\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dump_metaslab_groups, %function
dump_metaslab_groups:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #12
	ldr	fp, [r0]
	str	r0, [sp, #4]
	bl	spa_normal_class
	mov	r6, r0
	bl	metaslab_class_histogram_verify
	ldr	r0, [fp]
	cmp	r0, #0
	beq	.L15
	mov	r4, #0
	ldr	r9, .L16
	ldr	r8, .L16+4
	ldr	r10, .L16+8
	b	.L6
.L3:
	add	r4, r4, #1
	cmp	r0, r4
	bls	.L2
.L6:
	ldr	r3, [fp, #16]
	ldr	r7, [r3, r4, lsl #2]
	ldr	r5, [r7, #12]
	ldr	r3, [r5, #8]
	cmp	r3, r6
	bne	.L3
	mov	r0, r5
	bl	metaslab_group_histogram_verify
	mov	r0, r5
	bl	metaslab_group_fragmentation
	ldr	r2, [r7, #4]
	ldr	r1, [r7, #8]
	str	r0, [r5]
	mov	r0, r10
	bl	printf
	ldr	r1, [r5]
	ldr	r3, [r9]
	add	r4, r4, #1
	cmp	r1, r3
	ldreq	r1, .L16+12
	ldreq	r0, .L16+16
	ldrne	r0, .L16+20
	bl	printf
	mov	r2, #0
	ldr	r0, [r5, #4]
	ldr	r1, [r8]
	bl	dump_histogram
	ldr	r0, [fp]
	cmp	r0, r4
	bhi	.L6
.L2:
	ldr	r0, [sp, #4]
	bl	spa_name
	mov	r1, r0
	ldr	r0, .L16+24
	bl	printf
	mov	r0, r6
	bl	metaslab_class_fragmentation
	ldr	r3, [r9]
	mov	r1, r0
	cmp	r3, r0
	ldreq	r1, .L16+12
	ldreq	r0, .L16+28
	ldrne	r0, .L16+32
	bl	printf
	mov	r2, #0
	ldr	r1, [r8]
	ldr	r0, [r6]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	dump_histogram
.L15:
	ldr	r9, .L16
	ldr	r8, .L16+4
	b	.L2
.L17:
	.align	2
.L16:
	.word	ZFS_FRAG_INVALID
	.word	RANGE_TREE_HISTOGRAM_SIZE
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	dump_metaslab_groups, .-dump_metaslab_groups
	.comm	ZFS_FRAG_INVALID,4,4
	.comm	RANGE_TREE_HISTOGRAM_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
