	.file	"extr_zpool_vdev.c_get_replication.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"mismatched replication level: %s contains both files and devices\n"
	.align 8
.LC1:
	.string	"%s contains devices of different sizes\n"
	.align 8
.LC2:
	.string	"mismatched replication level: %s and %s vdevs with different redundancy, %llu vs. %llu (%llu-way) are present\n"
	.align 8
.LC3:
	.string	"mismatched replication level: both %s and %s vdevs are present\n"
	.align 8
.LC4:
	.string	"mismatched replication level: both %llu and %llu device parity %s vdevs are present\n"
	.align 8
.LC5:
	.string	"mismatched replication level: both %llu-way and %llu-way %s vdevs are present\n"
	.text
	.p2align 4
	.type	get_replication, @function
get_replication:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pxor	xmm0, xmm0
	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
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	mov	edi, 24
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 232
	.cfi_def_cfa_offset 288
	mov	QWORD PTR 40[rsp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 216[rsp], rax
	xor	eax, eax
	movaps	XMMWORD PTR 160[rsp], xmm0
	mov	QWORD PTR 176[rsp], 0
	call	safe_malloc@PLT
	mov	esi, DWORD PTR ZPOOL_CONFIG_CHILDREN[rip]
	lea	rcx, 88[rsp]
	mov	rdi, rbp
	lea	rdx, 80[rsp]
	mov	QWORD PTR 16[rsp], rax
	call	nvlist_lookup_nvlist_array@PLT
	xor	edi, edi
	test	rax, rax
	sete	dil
	call	verify@PLT
	cmp	QWORD PTR 88[rsp], 0
	je	.L2
	lea	rax, 76[rsp]
	xor	r15d, r15d
	lea	r13, 152[rsp]
	mov	QWORD PTR [rsp], rax
	lea	rax, 112[rsp]
	mov	QWORD PTR 32[rsp], rax
	lea	rax, 104[rsp]
	mov	QWORD PTR 48[rsp], rax
	jmp	.L36
	.p2align 4,,10
	.p2align 3
.L25:
	mov	rax, QWORD PTR 128[rsp]
	mov	rdx, QWORD PTR 120[rsp]
	mov	eax, DWORD PTR 8[rax]
	sub	eax, 1
	cmp	DWORD PTR 12[rdx], eax
	je	.L22
	mov	rax, QWORD PTR 16[rsp]
	test	rax, rax
	je	.L27
	mov	rdi, rax
	call	free@PLT
.L27:
	cmp	QWORD PTR 40[rsp], 0
	je	.L20
	mov	rdx, QWORD PTR 128[rsp]
	mov	rax, QWORD PTR 120[rsp]
	lea	rdi, .LC2[rip]
	mov	ebx, DWORD PTR 8[rdx]
	mov	r14d, DWORD PTR 12[rax]
	mov	r12, QWORD PTR [rdx]
	mov	rbp, QWORD PTR [rax]
	call	gettext@PLT
	mov	r9d, ebx
	lea	r8d, -1[rbx]
	mov	ecx, r14d
	mov	edi, eax
	mov	rdx, r12
	mov	rsi, rbp
	xor	eax, eax
	call	vdev_error@PLT
	mov	QWORD PTR 16[rsp], 0
.L22:
	mov	rax, QWORD PTR 208[rsp]
	movdqa	xmm1, XMMWORD PTR 192[rsp]
	mov	QWORD PTR 176[rsp], rax
	movaps	XMMWORD PTR 160[rsp], xmm1
.L34:
	add	r15, 1
	cmp	QWORD PTR 88[rsp], r15
	jbe	.L2
.L36:
	mov	eax, DWORD PTR B_FALSE[rip]
	mov	rdx, QWORD PTR [rsp]
	mov	esi, DWORD PTR ZPOOL_CONFIG_IS_LOG[rip]
	mov	DWORD PTR 76[rsp], eax
	mov	rax, QWORD PTR 80[rsp]
	mov	rbp, QWORD PTR [rax+r15*8]
	mov	rdi, rbp
	call	nvlist_lookup_uint64@PLT
	mov	edx, DWORD PTR 76[rsp]
	test	edx, edx
	jne	.L34
	mov	esi, DWORD PTR ZPOOL_CONFIG_TYPE[rip]
	mov	rdx, QWORD PTR 32[rsp]
	mov	rdi, rbp
	call	nvlist_lookup_string@PLT
	xor	edi, edi
	test	rax, rax
	sete	dil
	call	verify@PLT
	mov	rsi, QWORD PTR VDEV_TYPE_HOLE[rip]
	mov	rdi, QWORD PTR 112[rsp]
	call	strcmp@PLT
	test	rax, rax
	je	.L34
	mov	rcx, QWORD PTR 48[rsp]
	mov	esi, DWORD PTR ZPOOL_CONFIG_CHILDREN[rip]
	lea	rdx, 96[rsp]
	mov	rdi, rbp
	call	nvlist_lookup_nvlist_array@PLT
	test	rax, rax
	je	.L4
	mov	rax, QWORD PTR 112[rsp]
	mov	QWORD PTR 200[rsp], 1
	mov	QWORD PTR 192[rsp], rax
.L5:
	cmp	QWORD PTR 160[rsp], 0
	je	.L22
	lea	rbx, 128[rsp]
	lea	r14, 120[rsp]
	lea	rbp, 192[rsp]
	lea	r12, 160[rsp]
	mov	rcx, rbx
	mov	rdx, r14
	mov	rsi, rbp
	mov	rdi, r12
	call	is_raidz_mirror@PLT
	test	rax, rax
	jne	.L25
	mov	rcx, rbx
	mov	rdx, r14
	mov	rsi, r12
	mov	rdi, rbp
	call	is_raidz_mirror@PLT
	test	rax, rax
	jne	.L25
	mov	rsi, QWORD PTR 192[rsp]
	mov	rdi, QWORD PTR 160[rsp]
	call	strcmp@PLT
	test	rax, rax
	je	.L29
	mov	rax, QWORD PTR 16[rsp]
	test	rax, rax
	je	.L30
	mov	rdi, rax
	call	free@PLT
.L30:
	cmp	QWORD PTR 40[rsp], 0
	je	.L20
	mov	r12, QWORD PTR 192[rsp]
	mov	rbp, QWORD PTR 160[rsp]
	lea	rdi, .LC3[rip]
	call	gettext@PLT
	mov	edi, eax
	mov	rdx, r12
	mov	rsi, rbp
	xor	eax, eax
	call	vdev_error@PLT
	mov	QWORD PTR 16[rsp], 0
	jmp	.L22
.L4:
	mov	rdi, QWORD PTR 112[rsp]
	mov	rsi, QWORD PTR VDEV_TYPE_RAIDZ[rip]
	mov	DWORD PTR 200[rsp], 0
	mov	QWORD PTR 192[rsp], rdi
	call	strcmp@PLT
	test	rax, rax
	je	.L109
	mov	DWORD PTR 204[rsp], 0
.L7:
	mov	QWORD PTR 112[rsp], 0
	cmp	QWORD PTR 104[rsp], 0
	je	.L5
	mov	QWORD PTR 24[rsp], -1
	xor	eax, eax
	xor	r14d, r14d
	lea	r12, 136[rsp]
	mov	QWORD PTR 56[rsp], r15
	lea	rbx, 144[rsp]
	mov	r15, rax
	.p2align 4,,10
	.p2align 3
.L21:
	mov	rax, QWORD PTR 96[rsp]
	mov	rbp, QWORD PTR [rax+r14*8]
	add	DWORD PTR 200[rsp], 1
	jmp	.L106
	.p2align 4,,10
	.p2align 3
.L9:
	mov	esi, DWORD PTR ZPOOL_CONFIG_CHILDREN[rip]
	mov	rcx, r13
	mov	rdx, rbx
	mov	rdi, rbp
	call	nvlist_lookup_nvlist_array@PLT
	xor	edi, edi
	test	rax, rax
	sete	dil
	call	verify@PLT
	xor	edi, edi
	cmp	QWORD PTR 152[rsp], 2
	sete	dil
	call	assert@PLT
	mov	rax, QWORD PTR 144[rsp]
	mov	rbp, QWORD PTR [rax]
.L106:
	mov	esi, DWORD PTR ZPOOL_CONFIG_TYPE[rip]
	mov	rdx, r12
	mov	rdi, rbp
	call	nvlist_lookup_string@PLT
	xor	edi, edi
	test	rax, rax
	sete	dil
	call	verify@PLT
	mov	rsi, QWORD PTR VDEV_TYPE_REPLACING[rip]
	mov	rdi, QWORD PTR 136[rsp]
	call	strcmp@PLT
	test	rax, rax
	je	.L9
	mov	rsi, QWORD PTR VDEV_TYPE_SPARE[rip]
	mov	rdi, QWORD PTR 136[rsp]
	call	strcmp@PLT
	test	rax, rax
	je	.L9
	mov	esi, DWORD PTR ZPOOL_CONFIG_PATH[rip]
	mov	rdi, rbp
	mov	rdx, rbx
	call	nvlist_lookup_string@PLT
	xor	edi, edi
	test	rax, rax
	sete	dil
	call	verify@PLT
	test	r15, r15
	jne	.L10
	mov	rdi, QWORD PTR 112[rsp]
	test	rdi, rdi
	je	.L10
	mov	rsi, QWORD PTR 136[rsp]
	call	strcmp@PLT
	mov	r15, rax
	test	rax, rax
	je	.L10
	mov	rax, QWORD PTR 16[rsp]
	test	rax, rax
	je	.L11
	mov	rdi, rax
	call	free@PLT
.L11:
	cmp	QWORD PTR 40[rsp], 0
	je	.L20
	mov	rbp, QWORD PTR 192[rsp]
	lea	rdi, .LC0[rip]
	call	gettext@PLT
	mov	edi, eax
	mov	rsi, rbp
	xor	eax, eax
	call	vdev_error@PLT
	mov	r15, QWORD PTR B_TRUE[rip]
	mov	QWORD PTR 16[rsp], 0
	.p2align 4,,10
	.p2align 3
.L10:
	mov	esi, DWORD PTR O_RDONLY[rip]
	mov	rdi, QWORD PTR 144[rsp]
	call	open@PLT
	mov	rsi, r13
	mov	ebp, eax
	test	eax, eax
	js	.L13
	mov	edi, eax
	call	fstat64_blk@PLT
	mov	edi, ebp
	mov	DWORD PTR 12[rsp], eax
	call	close@PLT
	mov	edx, DWORD PTR 12[rsp]
.L14:
	test	edx, edx
	jne	.L17
	mov	rbp, QWORD PTR 152[rsp]
	test	rbp, rbp
	je	.L17
	cmp	rbp, QWORD PTR MAXOFFSET_T[rip]
	je	.L17
	test	r15, r15
	jne	.L18
	mov	rcx, QWORD PTR 24[rsp]
	cmp	rcx, -1
	je	.L18
	mov	rax, rbp
	sub	rax, rcx
	cqo
	xor	rax, rdx
	sub	rax, rdx
	cmp	rax, QWORD PTR ZPOOL_FUZZ[rip]
	jle	.L38
	mov	rax, QWORD PTR 16[rsp]
	test	rax, rax
	je	.L19
	mov	rdi, rax
	call	free@PLT
.L19:
	cmp	QWORD PTR 40[rsp], 0
	je	.L20
	mov	r15, QWORD PTR 192[rsp]
	lea	rdi, .LC1[rip]
	call	gettext@PLT
	mov	edi, eax
	mov	rsi, r15
	xor	eax, eax
	call	vdev_error@PLT
	mov	r15, QWORD PTR B_TRUE[rip]
	mov	QWORD PTR 16[rsp], 0
.L18:
	mov	rax, QWORD PTR 136[rsp]
	mov	QWORD PTR 24[rsp], rbp
	mov	QWORD PTR 112[rsp], rax
.L17:
	add	r14, 1
	cmp	QWORD PTR 104[rsp], r14
	ja	.L21
	mov	r15, QWORD PTR 56[rsp]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rdi, QWORD PTR 144[rsp]
	call	stat64@PLT
	mov	edx, eax
	jmp	.L14
.L38:
	xor	r15d, r15d
	jmp	.L18
.L2:
	mov	rcx, QWORD PTR 16[rsp]
	test	rcx, rcx
	je	.L1
	movdqa	xmm2, XMMWORD PTR 192[rsp]
	movups	XMMWORD PTR [rcx], xmm2
	mov	rax, QWORD PTR 208[rsp]
	mov	QWORD PTR 16[rcx], rax
.L1:
	mov	rax, QWORD PTR 216[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L110
	mov	rax, QWORD PTR 16[rsp]
	add	rsp, 232
	.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
.L109:
	.cfi_restore_state
	mov	esi, DWORD PTR ZPOOL_CONFIG_NPARITY[rip]
	lea	rdx, 204[rsp]
	mov	rdi, rbp
	call	nvlist_lookup_uint64@PLT
	xor	edi, edi
	test	eax, eax
	sete	dil
	call	verify@PLT
	mov	eax, DWORD PTR 204[rsp]
	xor	edi, edi
	test	eax, eax
	setne	dil
	call	assert@PLT
	jmp	.L7
.L20:
	mov	QWORD PTR 16[rsp], 0
	jmp	.L1
.L29:
	mov	eax, DWORD PTR 204[rsp]
	cmp	DWORD PTR 172[rsp], eax
	je	.L31
	mov	rax, QWORD PTR 16[rsp]
	test	rax, rax
	je	.L32
	mov	rdi, rax
	call	free@PLT
.L32:
	cmp	QWORD PTR 40[rsp], 0
	je	.L20
	mov	r14, QWORD PTR 192[rsp]
	mov	r12d, DWORD PTR 204[rsp]
	lea	rdi, .LC4[rip]
	mov	ebp, DWORD PTR 172[rsp]
.L107:
	call	gettext@PLT
	mov	rcx, r14
	mov	edx, r12d
	mov	esi, ebp
	mov	edi, eax
	xor	eax, eax
	call	vdev_error@PLT
	mov	QWORD PTR 16[rsp], 0
	jmp	.L22
.L31:
	mov	eax, DWORD PTR 200[rsp]
	cmp	DWORD PTR 168[rsp], eax
	je	.L22
	mov	rax, QWORD PTR 16[rsp]
	test	rax, rax
	je	.L33
	mov	rdi, rax
	call	free@PLT
.L33:
	cmp	QWORD PTR 40[rsp], 0
	je	.L20
	mov	r14, QWORD PTR 192[rsp]
	mov	r12d, DWORD PTR 200[rsp]
	lea	rdi, .LC5[rip]
	mov	ebp, DWORD PTR 168[rsp]
	jmp	.L107
.L110:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	get_replication, .-get_replication
	.comm	ZPOOL_FUZZ,8,8
	.comm	ZPOOL_CONFIG_TYPE,4,4
	.comm	ZPOOL_CONFIG_PATH,4,4
	.comm	ZPOOL_CONFIG_NPARITY,4,4
	.comm	ZPOOL_CONFIG_IS_LOG,4,4
	.comm	ZPOOL_CONFIG_CHILDREN,4,4
	.comm	VDEV_TYPE_SPARE,8,8
	.comm	VDEV_TYPE_REPLACING,8,8
	.comm	VDEV_TYPE_RAIDZ,8,8
	.comm	VDEV_TYPE_HOLE,8,8
	.comm	O_RDONLY,4,4
	.comm	MAXOFFSET_T,8,8
	.comm	B_TRUE,8,8
	.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_zpool_vdev.c_get_replication.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"mismatched replication level: %s contains both file"
	.ascii	"s and devices\012\000"
	.align	2
.LC1:
	.ascii	"%s contains devices of different sizes\012\000"
	.align	2
.LC2:
	.ascii	"mismatched replication level: %s and %s vdevs with "
	.ascii	"different redundancy, %llu vs. %llu (%llu-way) are "
	.ascii	"present\012\000"
	.align	2
.LC3:
	.ascii	"mismatched replication level: both %s and %s vdevs "
	.ascii	"are present\012\000"
	.align	2
.LC4:
	.ascii	"mismatched replication level: both %llu and %llu de"
	.ascii	"vice parity %s vdevs are present\012\000"
	.align	2
.LC5:
	.ascii	"mismatched replication level: both %llu-way and %ll"
	.ascii	"u-way %s vdevs are present\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_replication, %function
get_replication:
	@ args = 0, pretend = 0, frame = 104
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r10, #0
	sub	sp, sp, #116
	ldr	r3, .L117
	str	r1, [sp, #24]
	mov	r5, r0
	mov	r0, #16
	ldr	r3, [r3]
	str	r3, [sp, #108]
	mov	r3,#0
	str	r10, [sp, #76]
	str	r10, [sp, #80]
	str	r10, [sp, #84]
	str	r10, [sp, #88]
	bl	safe_malloc
	mov	ip, r0
	ldr	r9, .L117+4
	add	r3, sp, #36
	ldr	r1, [r9]
	add	r2, sp, #32
	mov	r0, r5
	str	ip, [sp, #20]
	bl	nvlist_lookup_nvlist_array
	clz	r0, r0
	lsr	r0, r0, #5
	bl	verify
	ldr	r3, [sp, #36]
	cmp	r3, r10
	beq	.L2
	ldr	fp, .L117+8
	b	.L36
.L113:
	mov	r2, #1
	ldr	r3, [sp, #48]
	str	r5, [sp, #100]
	str	r2, [sp, #96]
	str	r3, [sp, #92]
.L5:
	ldr	r3, [sp, #76]
	add	r4, sp, #92
	cmp	r3, #0
	beq	.L22
	mov	r1, r4
	add	r3, sp, #56
	add	r2, sp, #52
	add	r0, sp, #76
	bl	is_raidz_mirror
	cmp	r0, #0
	beq	.L23
.L25:
	ldr	r3, [sp, #56]
	ldr	r2, [sp, #52]
	ldr	r3, [r3, #4]
	ldr	r2, [r2, #8]
	sub	r3, r3, #1
	cmp	r2, r3
	beq	.L22
	ldr	r3, [sp, #20]
	cmp	r3, #0
	beq	.L27
	mov	r0, r3
	bl	free
.L27:
	ldr	r3, [sp, #24]
	cmp	r3, #0
	beq	.L20
	ldr	r0, .L117+12
	bl	gettext
	ldr	r3, [sp, #56]
	ldr	r1, [sp, #52]
	ldm	r3, {r2, ip}
	sub	lr, ip, #1
	ldr	r3, [r1, #8]
	ldr	r1, [r1]
	str	lr, [sp]
	str	ip, [sp, #4]
	bl	vdev_error
	mov	r3, #0
	str	r3, [sp, #20]
.L22:
	add	ip, sp, #76
	ldm	r4, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
.L34:
	ldr	r3, [sp, #36]
	add	r10, r10, #1
	cmp	r3, r10
	bls	.L2
.L36:
	ldr	r2, [sp, #32]
	ldr	r3, .L117+16
	ldr	r4, [r2, r10, lsl #2]
	ldr	r1, .L117+20
	ldr	r3, [r3]
	mov	r0, r4
	ldr	r1, [r1]
	add	r2, sp, #60
	str	r3, [sp, #60]
	bl	nvlist_lookup_uint64
	ldr	r5, [sp, #60]
	cmp	r5, #0
	bne	.L34
	ldr	r1, [fp]
	add	r2, sp, #48
	mov	r0, r4
	bl	nvlist_lookup_string
	clz	r0, r0
	lsr	r0, r0, #5
	bl	verify
	ldr	r3, .L117+24
	ldr	r0, [sp, #48]
	ldr	r1, [r3]
	bl	strcmp
	cmp	r0, #0
	beq	.L34
	add	r3, sp, #44
	mov	r0, r4
	ldr	r1, [r9]
	add	r2, sp, #40
	bl	nvlist_lookup_nvlist_array
	subs	r3, r0, #0
	mov	r7, r3
	bne	.L113
	ldr	r3, .L117+28
	ldr	r0, [sp, #48]
	ldr	r1, [r3]
	str	r7, [sp, #96]
	str	r0, [sp, #92]
	bl	strcmp
	cmp	r0, #0
	movne	r3, r7
	strne	r3, [sp, #100]
	beq	.L114
.L7:
	mov	r8, #0
	ldr	r3, [sp, #44]
	str	r8, [sp, #48]
	cmp	r3, r8
	beq	.L5
	mvn	r3, #0
	ldr	r5, .L117+32
	ldr	r6, .L117+36
	str	r3, [sp, #8]
	str	r3, [sp, #16]
	str	r10, [sp, #28]
.L21:
	ldr	r2, [sp, #40]
	ldr	r3, [sp, #96]
	ldr	r4, [r2, r8, lsl #2]
	add	r3, r3, #1
	mov	r0, r4
	ldr	r1, [fp]
	add	r2, sp, #64
	str	r3, [sp, #96]
	bl	nvlist_lookup_string
	clz	r0, r0
	lsr	r0, r0, #5
	bl	verify
	b	.L8
.L9:
	ldr	r1, [r9]
	add	r3, sp, #72
	add	r2, sp, #68
	mov	r0, r4
	bl	nvlist_lookup_nvlist_array
	clz	r0, r0
	lsr	r0, r0, #5
	bl	verify
	ldr	r0, [sp, #72]
	sub	r0, r0, #2
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	ldr	r3, [sp, #68]
	ldr	r1, [fp]
	ldr	r4, [r3]
	add	r2, sp, #64
	mov	r0, r4
	bl	nvlist_lookup_string
	clz	r0, r0
	lsr	r0, r0, #5
	bl	verify
.L8:
	ldr	r10, [sp, #64]
	ldr	r1, [r5]
	mov	r0, r10
	bl	strcmp
	cmp	r0, #0
	beq	.L9
	mov	r0, r10
	ldr	r1, [r6]
	bl	strcmp
	cmp	r0, #0
	beq	.L9
	ldr	r3, .L117+40
	add	r2, sp, #68
	ldr	r1, [r3]
	mov	r0, r4
	bl	nvlist_lookup_string
	clz	r0, r0
	lsr	r0, r0, #5
	bl	verify
	cmp	r7, #0
	bne	.L10
	ldr	r0, [sp, #48]
	cmp	r0, #0
	beq	.L10
	ldr	r1, [sp, #64]
	bl	strcmp
	subs	r7, r0, #0
	beq	.L10
	ldr	r3, [sp, #20]
	cmp	r3, #0
	beq	.L11
	mov	r0, r3
	bl	free
.L11:
	ldr	r3, [sp, #24]
	cmp	r3, #0
	beq	.L20
	mov	r3, #0
	ldr	r0, .L117+44
	str	r3, [sp, #20]
	bl	gettext
	ldr	r1, [sp, #92]
	bl	vdev_error
	ldr	r3, .L117+48
	ldr	r7, [r3]
.L10:
	ldr	r3, .L117+52
	ldr	r0, [sp, #68]
	ldr	r1, [r3]
	bl	open
	subs	r4, r0, #0
	add	r1, sp, #72
	blt	.L13
	bl	fstat64_blk
	mov	r3, r0
	mov	r0, r4
	mov	r4, r3
	bl	close
.L14:
	cmp	r4, #0
	bne	.L17
	ldr	r2, [sp, #72]
	cmp	r2, #0
	beq	.L17
	ldr	r3, .L117+56
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L17
	ldr	r3, [sp, #8]
	ldr	r1, [sp, #16]
	and	r3, r3, r1
	adds	r3, r3, #1
	movne	r3, #1
	cmp	r7, #0
	movne	r3, #0
	cmp	r3, #0
	asr	r3, r2, #31
	bne	.L115
.L18:
	str	r3, [sp, #16]
	ldr	r3, [sp, #64]
	str	r2, [sp, #8]
	str	r3, [sp, #48]
.L17:
	ldr	r3, [sp, #44]
	add	r8, r8, #1
	cmp	r3, r8
	bhi	.L21
	ldr	r10, [sp, #28]
	b	.L5
.L13:
	ldr	r0, [sp, #68]
	bl	stat64
	mov	r4, r0
	b	.L14
.L115:
	ldr	r1, [sp, #8]
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	subs	r0, r2, r1
	ldr	r1, [sp, #16]
	sbc	r1, r3, r1
	bl	labs
	ldr	r3, .L117+60
	ldr	r1, [r3]
	add	r3, sp, #8
	ldmia	r3, {r2-r3}
	cmp	r0, r1
	ble	.L38
	ldr	r0, [sp, #20]
	cmp	r0, #0
	beq	.L19
	bl	free
	add	r3, sp, #8
	ldmia	r3, {r2-r3}
.L19:
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	ldr	r3, [sp, #24]
	cmp	r3, #0
	beq	.L20
	ldr	r0, .L117+64
	bl	gettext
	ldr	r1, [sp, #92]
	bl	vdev_error
	mov	r3, #0
	str	r3, [sp, #20]
	ldr	r3, .L117+48
	ldr	r7, [r3]
	add	r3, sp, #8
	ldmia	r3, {r2-r3}
	b	.L18
.L38:
	mov	r7, r4
	b	.L18
.L23:
	mov	r0, r4
	add	r3, sp, #56
	add	r2, sp, #52
	add	r1, sp, #76
	bl	is_raidz_mirror
	cmp	r0, #0
	bne	.L25
	ldr	r1, [sp, #92]
	ldr	r0, [sp, #76]
	bl	strcmp
	cmp	r0, #0
	beq	.L29
	ldr	r3, [sp, #20]
	cmp	r3, #0
	beq	.L30
	mov	r0, r3
	bl	free
.L30:
	ldr	r3, [sp, #24]
	cmp	r3, #0
	beq	.L20
	ldr	r0, .L117+68
	bl	gettext
	ldr	r2, [sp, #92]
	ldr	r1, [sp, #76]
	bl	vdev_error
	mov	r3, #0
	str	r3, [sp, #20]
	b	.L22
.L114:
	ldr	r3, .L117+72
	add	r2, sp, #100
	ldr	r1, [r3]
	mov	r0, r4
	bl	nvlist_lookup_uint64
	clz	r0, r0
	lsr	r0, r0, #5
	bl	verify
	ldr	r0, [sp, #100]
	subs	r0, r0, #0
	movne	r0, #1
	bl	assert
	b	.L7
.L2:
	ldr	ip, [sp, #20]
	cmp	ip, #0
	addne	r3, sp, #92
	ldmne	r3, {r0, r1, r2, r3}
	stmne	ip, {r0, r1, r2, r3}
.L1:
	ldr	r3, .L117
	ldr	r2, [r3]
	ldr	r3, [sp, #108]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L116
	ldr	r0, [sp, #20]
	add	sp, sp, #116
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L29:
	ldr	r2, [sp, #84]
	ldr	r3, [sp, #100]
	cmp	r2, r3
	beq	.L31
	ldr	r3, [sp, #20]
	cmp	r3, #0
	beq	.L32
	mov	r0, r3
	bl	free
.L32:
	ldr	r3, [sp, #24]
	cmp	r3, #0
	beq	.L20
	ldr	r0, .L117+76
	bl	gettext
	ldr	r3, [sp, #92]
	ldr	r2, [sp, #100]
	ldr	r1, [sp, #84]
	bl	vdev_error
	mov	r3, #0
	str	r3, [sp, #20]
	b	.L22
.L20:
	mov	r3, #0
	str	r3, [sp, #20]
	b	.L1
.L31:
	ldr	r2, [sp, #80]
	ldr	r3, [sp, #96]
	cmp	r2, r3
	beq	.L22
	ldr	r3, [sp, #20]
	cmp	r3, #0
	beq	.L33
	mov	r0, r3
	bl	free
.L33:
	ldr	r3, [sp, #24]
	cmp	r3, #0
	beq	.L20
	ldr	r0, .L117+80
	bl	gettext
	ldr	r3, [sp, #92]
	ldr	r2, [sp, #96]
	ldr	r1, [sp, #80]
	bl	vdev_error
	mov	r3, #0
	str	r3, [sp, #20]
	b	.L22
.L116:
	bl	__stack_chk_fail
.L118:
	.align	2
.L117:
	.word	.LC6
	.word	ZPOOL_CONFIG_CHILDREN
	.word	ZPOOL_CONFIG_TYPE
	.word	.LC2
	.word	B_FALSE
	.word	ZPOOL_CONFIG_IS_LOG
	.word	VDEV_TYPE_HOLE
	.word	VDEV_TYPE_RAIDZ
	.word	VDEV_TYPE_REPLACING
	.word	VDEV_TYPE_SPARE
	.word	ZPOOL_CONFIG_PATH
	.word	.LC0
	.word	B_TRUE
	.word	O_RDONLY
	.word	MAXOFFSET_T
	.word	ZPOOL_FUZZ
	.word	.LC1
	.word	.LC3
	.word	ZPOOL_CONFIG_NPARITY
	.word	.LC4
	.word	.LC5
	.size	get_replication, .-get_replication
	.comm	ZPOOL_FUZZ,4,4
	.comm	ZPOOL_CONFIG_TYPE,4,4
	.comm	ZPOOL_CONFIG_PATH,4,4
	.comm	ZPOOL_CONFIG_NPARITY,4,4
	.comm	ZPOOL_CONFIG_IS_LOG,4,4
	.comm	ZPOOL_CONFIG_CHILDREN,4,4
	.comm	VDEV_TYPE_SPARE,4,4
	.comm	VDEV_TYPE_REPLACING,4,4
	.comm	VDEV_TYPE_RAIDZ,4,4
	.comm	VDEV_TYPE_HOLE,4,4
	.comm	O_RDONLY,4,4
	.comm	MAXOFFSET_T,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
