	.file	"extr_vdev.c_vdev_dtl_required.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	vdev_dtl_required
	.type	vdev_dtl_required, @function
vdev_dtl_required:
.LFB0:
	.cfi_startproc
	endbr64
	mov	edx, DWORD PTR RW_WRITER[rip]
	mov	rsi, QWORD PTR SCL_STATE_ALL[rip]
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, QWORD PTR 16[rdi]
	mov	r12, QWORD PTR 8[rdi]
	mov	r13d, DWORD PTR [rdi]
	mov	rdi, rbx
	call	spa_config_held@PLT
	xor	edi, edi
	cmp	QWORD PTR SCL_STATE_ALL[rip], rax
	sete	dil
	call	ASSERT@PLT
	cmp	QWORD PTR [rbx], rbp
	je	.L5
	cmp	rbp, r12
	je	.L5
	mov	eax, DWORD PTR B_TRUE[rip]
	mov	ecx, DWORD PTR B_FALSE[rip]
	xor	edx, edx
	xor	esi, esi
	mov	rdi, r12
	xor	r14d, r14d
	mov	DWORD PTR 0[rbp], eax
	call	vdev_dtl_reassess@PLT
	mov	esi, DWORD PTR DTL_OUTAGE[rip]
	mov	rdi, r12
	call	vdev_dtl_empty@PLT
	mov	DWORD PTR 0[rbp], r13d
	mov	ecx, DWORD PTR B_FALSE[rip]
	mov	rdi, r12
	test	eax, eax
	mov	ebx, eax
	sete	r14b
	xor	edx, edx
	xor	esi, esi
	call	vdev_dtl_reassess@PLT
	test	ebx, ebx
	je	.L1
	cmp	QWORD PTR zio_injection_enabled[rip], 0
	jne	.L11
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r14d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	r14d, DWORD PTR B_TRUE[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	mov	eax, r14d
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	edx, DWORD PTR ECHILD[rip]
	xor	esi, esi
	mov	rdi, rbp
	xor	r14d, r14d
	call	zio_handle_device_injection@PLT
	test	eax, eax
	setne	r14b
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	vdev_dtl_required, .-vdev_dtl_required
	.comm	zio_injection_enabled,8,8
	.comm	SCL_STATE_ALL,8,8
	.comm	RW_WRITER,4,4
	.comm	ECHILD,4,4
	.comm	DTL_OUTAGE,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
	.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_vdev.c_vdev_dtl_required.c"
	.text
	.align	2
	.global	vdev_dtl_required
	.syntax unified
	.arm
	.fpu softvfp
	.type	vdev_dtl_required, %function
vdev_dtl_required:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r0
	ldr	r3, .L14
	ldr	r5, [r0, #8]
	ldr	r6, .L14+4
	ldr	r2, [r3]
	mov	r0, r5
	ldr	r1, [r6]
	ldr	r7, [r4, #4]
	ldr	r8, [r4]
	bl	spa_config_held
	ldr	r3, [r6]
	sub	r0, r3, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ASSERT
	ldr	r5, [r5]
	ldr	r3, .L14+8
	cmp	r4, r7
	cmpne	r5, r4
	moveq	r5, #1
	movne	r5, #0
	beq	.L12
	ldr	r2, [r3]
	ldr	r10, .L14+12
	mov	r1, r5
	ldr	r3, [r10]
	mov	r0, r7
	str	r2, [r4]
	mov	r2, r5
	bl	vdev_dtl_reassess
	ldr	r3, .L14+16
	mov	r0, r7
	ldr	r1, [r3]
	bl	vdev_dtl_empty
	mov	r9, r0
	clz	r6, r0
	ldr	r3, [r10]
	mov	r0, r7
	mov	r2, r5
	mov	r1, r5
	str	r8, [r4]
	bl	vdev_dtl_reassess
	cmp	r9, #0
	lsr	r6, r6, #5
	beq	.L1
	ldr	r3, .L14+20
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L13
.L1:
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L12:
	ldr	r6, [r3]
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L13:
	ldr	r3, .L14+24
	mov	r1, r5
	mov	r0, r4
	ldr	r2, [r3]
	bl	zio_handle_device_injection
	subs	r6, r0, #0
	movne	r6, #1
	b	.L1
.L15:
	.align	2
.L14:
	.word	RW_WRITER
	.word	SCL_STATE_ALL
	.word	B_TRUE
	.word	B_FALSE
	.word	DTL_OUTAGE
	.word	zio_injection_enabled
	.word	ECHILD
	.size	vdev_dtl_required, .-vdev_dtl_required
	.comm	zio_injection_enabled,4,4
	.comm	SCL_STATE_ALL,4,4
	.comm	RW_WRITER,4,4
	.comm	ECHILD,4,4
	.comm	DTL_OUTAGE,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
