	.file	"extr_vdev_initialize.c_vdev_initialize_ranges.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	vdev_initialize_ranges, @function
vdev_initialize_ranges:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rsi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	r13, QWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	lea	rax, 20[rsp]
	mov	rsi, rax
	mov	rdi, r13
	mov	QWORD PTR 8[rsp], rax
	call	zfs_btree_first@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L6
.L2:
	mov	rsi, r13
	mov	rdi, rbp
	call	rs_get_end@PLT
	mov	rsi, r13
	mov	rdi, rbp
	mov	r12d, eax
	call	rs_get_start@PLT
	mov	esi, DWORD PTR zfs_initialize_chunk_size[rip]
	sub	r12d, eax
	lea	eax, -1[r12]
	mov	DWORD PTR [rsp], r12d
	cdq
	idiv	esi
	test	eax, eax
	js	.L4
	add	eax, 1
	xor	ebx, ebx
	mov	DWORD PTR 4[rsp], eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L13:
	add	ebx, 1
	cmp	ebx, DWORD PTR 4[rsp]
	je	.L4
	mov	esi, DWORD PTR zfs_initialize_chunk_size[rip]
.L5:
	mov	eax, esi
	mov	edi, DWORD PTR [rsp]
	imul	eax, ebx
	sub	edi, eax
	call	MIN@PLT
	mov	rsi, r13
	mov	rdi, rbp
	mov	r12d, eax
	call	rs_get_start@PLT
	mov	rcx, r15
	mov	edx, r12d
	mov	rdi, r14
	add	eax, DWORD PTR VDEV_LABEL_START_SIZE[rip]
	mov	esi, eax
	mov	eax, DWORD PTR zfs_initialize_chunk_size[rip]
	imul	eax, ebx
	add	esi, eax
	call	vdev_initialize_write@PLT
	test	eax, eax
	je	.L13
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L14
	add	rsp, 40
	.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
.L4:
	.cfi_restore_state
	mov	rdx, QWORD PTR 8[rsp]
	mov	rdi, r13
	mov	rsi, rdx
	call	zfs_btree_next@PLT
	mov	rbp, rax
	test	rax, rax
	jne	.L2
.L6:
	xor	eax, eax
	jmp	.L1
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	vdev_initialize_ranges, .-vdev_initialize_ranges
	.comm	zfs_initialize_chunk_size,4,4
	.comm	VDEV_LABEL_START_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_vdev_initialize.c_vdev_initialize_ranges.c"
	.text
	.global	__aeabi_idiv
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vdev_initialize_ranges, %function
vdev_initialize_ranges:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r9, [r0]
	sub	sp, sp, #20
	ldr	r3, .L18
	mov	r8, r0
	mov	r7, r1
	mov	r0, r9
	add	r1, sp, #8
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	zfs_btree_first
	subs	r6, r0, #0
	beq	.L2
	ldr	r10, .L18+4
	ldr	fp, .L18+8
.L6:
	mov	r1, r9
	mov	r0, r6
	bl	rs_get_end
	mov	r1, r9
	mov	r4, r0
	mov	r0, r6
	bl	rs_get_start
	sub	r3, r4, r0
	ldr	r1, [r10]
	sub	r0, r3, #1
	str	r3, [sp]
	bl	__aeabi_idiv
	cmp	r0, #0
	blt	.L3
	add	r3, r0, #1
	mov	r5, #0
	str	r3, [sp, #4]
	b	.L5
.L16:
	ldr	r3, [sp, #4]
	add	r5, r5, #1
	cmp	r3, r5
	beq	.L3
.L5:
	mov	r1, r9
	mov	r0, r6
	bl	rs_get_start
	ldr	r1, [r10]
	ldr	r2, [sp]
	mul	r3, r5, r1
	ldr	r4, [fp]
	add	r4, r0, r4
	sub	r0, r2, r3
	add	r4, r4, r3
	bl	MIN
	mov	r3, r7
	mov	r2, r0
	mov	r1, r4
	mov	r0, r8
	bl	vdev_initialize_write
	cmp	r0, #0
	beq	.L16
.L1:
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L17
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L3:
	add	r2, sp, #8
	mov	r1, r2
	mov	r0, r9
	bl	zfs_btree_next
	subs	r6, r0, #0
	bne	.L6
.L2:
	mov	r0, #0
	b	.L1
.L17:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	.LC0
	.word	zfs_initialize_chunk_size
	.word	VDEV_LABEL_START_SIZE
	.size	vdev_initialize_ranges, .-vdev_initialize_ranges
	.comm	zfs_initialize_chunk_size,4,4
	.comm	VDEV_LABEL_START_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
