	.file	"extr_libzfs_status.c_find_vdev_problem.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	find_vdev_problem, @function
find_vdev_problem:
.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
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	cmp	QWORD PTR B_TRUE[rip], rdx
	lea	r14, 32[rsp]
	je	.L22
.L2:
	lea	r15, 8[rsp]
	mov	esi, DWORD PTR ZPOOL_CONFIG_CHILDREN[rip]
	mov	rcx, r14
	mov	rdi, r13
	mov	rdx, r15
	call	nvlist_lookup_nvlist_array@PLT
	test	rax, rax
	jne	.L5
	cmp	QWORD PTR 32[rsp], 0
	je	.L6
	xor	ebx, ebx
.L8:
	mov	rax, QWORD PTR 8[rsp]
	mov	rdx, rbp
	mov	rsi, r12
	mov	rdi, QWORD PTR [rax+rbx*8]
	call	find_vdev_problem
	test	rax, rax
	jne	.L20
	add	rbx, 1
	cmp	QWORD PTR 32[rsp], rbx
	ja	.L8
.L6:
	mov	esi, DWORD PTR ZPOOL_CONFIG_L2CACHE[rip]
	mov	rcx, r14
	mov	rdx, r15
	mov	rdi, r13
	call	nvlist_lookup_nvlist_array@PLT
	test	rax, rax
	jne	.L9
	cmp	QWORD PTR 32[rsp], 0
	je	.L9
	xor	ebx, ebx
.L11:
	mov	rax, QWORD PTR 8[rsp]
	mov	rdx, rbp
	mov	rsi, r12
	mov	rdi, QWORD PTR [rax+rbx*8]
	call	find_vdev_problem
	test	rax, rax
	jne	.L20
	add	rbx, 1
	cmp	QWORD PTR 32[rsp], rbx
	ja	.L11
.L9:
	mov	rax, QWORD PTR B_FALSE[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	esi, DWORD PTR ZPOOL_CONFIG_VDEV_STATS[rip]
	lea	rcx, 24[rsp]
	lea	rdx, 16[rsp]
	mov	rdi, r13
	call	nvlist_lookup_uint64_array@PLT
	xor	edi, edi
	test	rax, rax
	sete	dil
	call	verify@PLT
	mov	rsi, QWORD PTR 24[rsp]
	mov	rdi, QWORD PTR 16[rsp]
	call	r12
	test	eax, eax
	je	.L6
	.p2align 4,,10
	.p2align 3
.L20:
	mov	rax, QWORD PTR B_TRUE[rip]
.L1:
	mov	rcx, QWORD PTR 40[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L23
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
	ret
	.p2align 4,,10
	.p2align 3
.L22:
	.cfi_restore_state
	mov	esi, DWORD PTR ZPOOL_CONFIG_TYPE[rip]
	mov	rdx, r14
	call	nvlist_lookup_string@PLT
	xor	edi, edi
	test	rax, rax
	sete	dil
	call	verify@PLT
	mov	esi, DWORD PTR VDEV_TYPE_REPLACING[rip]
	mov	rdi, QWORD PTR 32[rsp]
	call	strcmp@PLT
	test	rax, rax
	jne	.L2
	mov	rax, QWORD PTR B_FALSE[rip]
	jmp	.L1
.L23:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	find_vdev_problem, .-find_vdev_problem
	.comm	ZPOOL_CONFIG_VDEV_STATS,4,4
	.comm	ZPOOL_CONFIG_TYPE,4,4
	.comm	ZPOOL_CONFIG_L2CACHE,4,4
	.comm	ZPOOL_CONFIG_CHILDREN,4,4
	.comm	VDEV_TYPE_REPLACING,4,4
	.comm	B_TRUE,8,8
	.comm	B_FALSE,8,8
	.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_libzfs_status.c_find_vdev_problem.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	find_vdev_problem, %function
find_vdev_problem:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r5, r2
	ldr	r7, .L31
	ldr	r2, .L31+4
	ldr	r3, [r7]
	sub	sp, sp, #28
	cmp	r3, r5
	mov	r6, r1
	ldr	r2, [r2]
	str	r2, [sp, #20]
	mov	r2,#0
	mov	r8, r0
	addne	r9, sp, #16
	beq	.L29
.L2:
	ldr	r3, .L31+8
	mov	r0, r8
	ldr	r1, [r3]
	add	r2, sp, #4
	mov	r3, r9
	bl	nvlist_lookup_nvlist_array
	subs	r4, r0, #0
	bne	.L5
	ldr	r3, [sp, #16]
	cmp	r3, #0
	beq	.L6
.L8:
	ldr	r3, [sp, #4]
	mov	r2, r5
	mov	r1, r6
	ldr	r0, [r3, r4, lsl #2]
	bl	find_vdev_problem
	cmp	r0, #0
	bne	.L27
	ldr	r3, [sp, #16]
	add	r4, r4, #1
	cmp	r3, r4
	bhi	.L8
.L6:
	ldr	r1, .L31+12
	mov	r3, r9
	mov	r0, r8
	ldr	r1, [r1]
	add	r2, sp, #4
	bl	nvlist_lookup_nvlist_array
	subs	r4, r0, #0
	bne	.L9
	ldr	r3, [sp, #16]
	cmp	r3, #0
	beq	.L9
.L11:
	ldr	r3, [sp, #4]
	mov	r2, r5
	mov	r1, r6
	ldr	r0, [r3, r4, lsl #2]
	bl	find_vdev_problem
	cmp	r0, #0
	bne	.L27
	ldr	r3, [sp, #16]
	add	r4, r4, #1
	cmp	r3, r4
	bhi	.L11
.L9:
	ldr	r3, .L31+16
	ldr	r0, [r3]
	b	.L1
.L5:
	ldr	r2, .L31+20
	add	r3, sp, #12
	ldr	r1, [r2]
	mov	r0, r8
	add	r2, sp, #8
	bl	nvlist_lookup_uint64_array
	clz	r0, r0
	lsr	r0, r0, #5
	bl	verify
	ldr	r1, [sp, #12]
	ldr	r0, [sp, #8]
	blx	r6
	cmp	r0, #0
	beq	.L6
.L27:
	ldr	r0, [r7]
.L1:
	ldr	r3, .L31+4
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L30
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L29:
	ldr	r3, .L31+24
	add	r9, sp, #16
	ldr	r1, [r3]
	mov	r2, r9
	bl	nvlist_lookup_string
	clz	r0, r0
	lsr	r0, r0, #5
	bl	verify
	ldr	r3, .L31+28
	ldr	r0, [sp, #16]
	ldr	r1, [r3]
	bl	strcmp
	cmp	r0, #0
	bne	.L2
	ldr	r3, .L31+16
	ldr	r0, [r3]
	b	.L1
.L30:
	bl	__stack_chk_fail
.L32:
	.align	2
.L31:
	.word	B_TRUE
	.word	.LC0
	.word	ZPOOL_CONFIG_CHILDREN
	.word	ZPOOL_CONFIG_L2CACHE
	.word	B_FALSE
	.word	ZPOOL_CONFIG_VDEV_STATS
	.word	ZPOOL_CONFIG_TYPE
	.word	VDEV_TYPE_REPLACING
	.size	find_vdev_problem, .-find_vdev_problem
	.comm	ZPOOL_CONFIG_VDEV_STATS,4,4
	.comm	ZPOOL_CONFIG_TYPE,4,4
	.comm	ZPOOL_CONFIG_L2CACHE,4,4
	.comm	ZPOOL_CONFIG_CHILDREN,4,4
	.comm	VDEV_TYPE_REPLACING,4,4
	.comm	B_TRUE,4,4
	.comm	B_FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
