	.file	"extr_mmp.c_mmp_delay_update.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mmp_delay_update, @function
mmp_delay_update:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	eax, eax
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	call	gethrtime@PLT
	lea	rdi, 12[rbx]
	sub	rax, QWORD PTR [rbx]
	mov	rbp, rax
	call	MUTEX_HELD@PLT
	mov	edi, eax
	call	ASSERT@PLT
	mov	rdi, rbx
	call	spa_multihost@PLT
	mov	r8, rax
	mov	rax, QWORD PTR B_FALSE[rip]
	cmp	r8, rax
	je	.L9
	cmp	DWORD PTR 8[rbx], ebp
	jl	.L10
.L4:
	cmp	rax, r12
	je	.L1
	xor	eax, eax
	call	gethrtime@PLT
	mov	QWORD PTR [rbx], rax
	cmp	DWORD PTR 8[rbx], ebp
	jg	.L11
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	DWORD PTR 8[rbx], ebp
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L9:
	mov	DWORD PTR 8[rbx], 0
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	edi, DWORD PTR zfs_multihost_interval[rip]
	call	MMP_INTERVAL_OK@PLT
	mov	edi, eax
	call	MSEC2NSEC@PLT
	mov	rdi, rbx
	mov	r12d, eax
	call	vdev_count_leaves@PLT
	mov	edi, 1
	mov	esi, eax
	call	MAX@PLT
	mov	r8d, eax
	mov	eax, r12d
	cdq
	idiv	r8d
	mov	esi, eax
	mov	eax, DWORD PTR 8[rbx]
	mov	edi, eax
	sal	edi, 7
	sub	edi, eax
	add	ebp, edi
	lea	edi, 127[rbp]
	cmovns	edi, ebp
	sar	edi, 7
	call	MAX@PLT
	mov	DWORD PTR 8[rbx], eax
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	mmp_delay_update, .-mmp_delay_update
	.comm	zfs_multihost_interval,4,4
	.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_mmp.c_mmp_delay_update.c"
	.text
	.global	__aeabi_idiv
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mmp_delay_update, %function
mmp_delay_update:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r1
	mov	r4, r0
	bl	gethrtime
	mov	r5, r0
	mov	r0, r4
	ldr	r3, [r0], #8
	sub	r5, r5, r3
	bl	MUTEX_HELD
	bl	ASSERT
	mov	r0, r4
	bl	spa_multihost
	ldr	r3, .L10
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L9
	ldr	r2, [r4, #4]
	cmp	r2, r5
	strlt	r5, [r4, #4]
	cmp	r3, r6
	popeq	{r4, r5, r6, pc}
	bl	gethrtime
	ldr	r3, [r4, #4]
	str	r0, [r4]
	cmp	r3, r5
	pople	{r4, r5, r6, pc}
	ldr	r3, .L10+4
	ldr	r0, [r3]
	bl	MMP_INTERVAL_OK
	bl	MSEC2NSEC
	mov	r6, r0
	mov	r0, r4
	bl	vdev_count_leaves
	mov	r1, r0
	mov	r0, #1
	bl	MAX
	mov	r1, r0
	mov	r0, r6
	bl	__aeabi_idiv
	ldr	r3, [r4, #4]
	mov	r1, r0
	rsb	r3, r3, r3, lsl #7
	add	r5, r3, r5
	add	r0, r5, #127
	cmp	r5, #0
	movlt	r5, r0
	asr	r0, r5, #7
	bl	MAX
	str	r0, [r4, #4]
	pop	{r4, r5, r6, pc}
.L9:
	mov	r3, #0
	str	r3, [r4, #4]
	pop	{r4, r5, r6, pc}
.L11:
	.align	2
.L10:
	.word	B_FALSE
	.word	zfs_multihost_interval
	.size	mmp_delay_update, .-mmp_delay_update
	.comm	zfs_multihost_interval,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
