	.file	"100565.c"
	.intel_syntax noprefix
	.text
	.globl	B_TRUE
	.bss
	.align 4
	.type	B_TRUE, @object
	.size	B_TRUE, 4
B_TRUE:
	.zero	4
	.globl	DATA_TYPE_NVLIST_ARRAY
	.align 4
	.type	DATA_TYPE_NVLIST_ARRAY, @object
	.size	DATA_TYPE_NVLIST_ARRAY, 4
DATA_TYPE_NVLIST_ARRAY:
	.zero	4
	.globl	KM_SLEEP
	.align 4
	.type	KM_SLEEP, @object
	.size	KM_SLEEP, 4
KM_SLEEP:
	.zero	4
	.globl	RW_WRITER
	.align 4
	.type	RW_WRITER, @object
	.size	RW_WRITER, 4
RW_WRITER:
	.zero	4
	.globl	SCL_ALL
	.align 8
	.type	SCL_ALL, @object
	.size	SCL_ALL, 8
SCL_ALL:
	.zero	8
	.globl	VDEV_ALLOC_L2CACHE
	.align 4
	.type	VDEV_ALLOC_L2CACHE, @object
	.size	VDEV_ALLOC_L2CACHE, 4
VDEV_ALLOC_L2CACHE:
	.zero	4
	.globl	VDEV_CONFIG_L2CACHE
	.align 4
	.type	VDEV_CONFIG_L2CACHE, @object
	.size	VDEV_CONFIG_L2CACHE, 4
VDEV_CONFIG_L2CACHE:
	.zero	4
	.globl	ZPOOL_CONFIG_GUID
	.align 4
	.type	ZPOOL_CONFIG_GUID, @object
	.size	ZPOOL_CONFIG_GUID, 4
ZPOOL_CONFIG_GUID:
	.zero	4
	.globl	ZPOOL_CONFIG_L2CACHE
	.align 4
	.type	ZPOOL_CONFIG_L2CACHE, @object
	.size	ZPOOL_CONFIG_L2CACHE, 4
ZPOOL_CONFIG_L2CACHE:
	.zero	4
	.text
	.globl	spa_load_l2cache
	.type	spa_load_l2cache, @function
spa_load_l2cache:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 104
	.cfi_offset 3, -24
	mov	QWORD PTR -104[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -104[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	spa_writeable@PLT
	test	eax, eax
	je	.L27
	mov	edx, DWORD PTR RW_WRITER[rip]
	mov	rcx, QWORD PTR SCL_ALL[rip]
	mov	rax, QWORD PTR -104[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	spa_config_held@PLT
	mov	rdx, QWORD PTR SCL_ALL[rip]
	cmp	rax, rdx
	sete	al
	movzx	eax, al
	mov	edi, eax
	call	ASSERT@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	je	.L4
	mov	esi, DWORD PTR ZPOOL_CONFIG_L2CACHE[rip]
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	lea	rcx, -96[rbp]
	lea	rdx, -80[rbp]
	mov	rdi, rax
	call	nvlist_lookup_nvlist_array@PLT
	test	rax, rax
	sete	al
	movzx	eax, al
	mov	edi, eax
	call	VERIFY@PLT
	mov	eax, DWORD PTR KM_SLEEP[rip]
	mov	edx, DWORD PTR -96[rbp]
	movsx	rdx, edx
	sal	edx, 3
	mov	esi, eax
	mov	edi, edx
	call	kmem_alloc@PLT
	mov	QWORD PTR -48[rbp], rax
	jmp	.L5
.L4:
	mov	DWORD PTR -96[rbp], 0
	mov	QWORD PTR -48[rbp], 0
.L5:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -84[rbp], eax
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR 16[rax], 0
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], 0
	mov	DWORD PTR -92[rbp], 0
	jmp	.L6
.L13:
	mov	ecx, DWORD PTR ZPOOL_CONFIG_GUID[rip]
	mov	rdx, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rdx, -72[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	nvlist_lookup_uint64@PLT
	test	rax, rax
	sete	al
	movzx	eax, al
	mov	edi, eax
	call	VERIFY@PLT
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	QWORD PTR [rax], 0
	mov	DWORD PTR -88[rbp], 0
	jmp	.L7
.L10:
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -64[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	test	rax, rax
	je	.L8
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -72[rbp]
	cmp	rdx, rax
	jne	.L8
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR [rdx], rax
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	QWORD PTR [rax], 0
	jmp	.L9
.L8:
	add	DWORD PTR -88[rbp], 1
.L7:
	mov	eax, DWORD PTR -88[rbp]
	cmp	eax, DWORD PTR -84[rbp]
	jl	.L10
.L9:
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L11
	mov	ecx, DWORD PTR VDEV_ALLOC_L2CACHE[rip]
	mov	rdx, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	lea	rsi, -64[rbp]
	mov	rax, QWORD PTR -104[rbp]
	mov	r9d, ecx
	mov	r8d, 0
	mov	ecx, 0
	mov	rdi, rax
	call	spa_config_parse@PLT
	test	rax, rax
	sete	al
	movzx	eax, al
	mov	edi, eax
	call	VERIFY@PLT
	mov	rax, QWORD PTR -64[rbp]
	test	rax, rax
	setne	al
	movzx	eax, al
	mov	edi, eax
	call	ASSERT@PLT
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR [rdx], rax
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	spa_l2cache_add@PLT
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR -64[rbp]
	mov	QWORD PTR 24[rax], rdx
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	spa_l2cache_activate@PLT
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	vdev_open@PLT
	test	rax, rax
	jne	.L28
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	vdev_validate_aux@PLT
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	vdev_is_dead@PLT
	test	eax, eax
	jne	.L11
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -104[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	l2arc_add_vdev@PLT
	jmp	.L11
.L28:
	nop
.L11:
	add	DWORD PTR -92[rbp], 1
.L6:
	mov	eax, DWORD PTR -96[rbp]
	cmp	DWORD PTR -92[rbp], eax
	jl	.L13
	mov	DWORD PTR -92[rbp], 0
	jmp	.L14
.L17:
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -64[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	test	rax, rax
	je	.L15
	mov	rax, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	edi, eax
	call	ASSERT@PLT
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, -56[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	spa_l2cache_exists@PLT
	test	rax, rax
	je	.L16
	mov	rax, QWORD PTR -56[rbp]
	test	rax, rax
	je	.L16
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	l2arc_vdev_present@PLT
	test	rax, rax
	je	.L16
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	l2arc_remove_vdev@PLT
.L16:
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	vdev_clear_stats@PLT
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	vdev_free@PLT
.L15:
	add	DWORD PTR -92[rbp], 1
.L14:
	mov	eax, DWORD PTR -92[rbp]
	cmp	eax, DWORD PTR -84[rbp]
	jl	.L17
	cmp	QWORD PTR -32[rbp], 0
	je	.L18
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	sal	eax, 3
	mov	edx, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	kmem_free@PLT
.L18:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	je	.L29
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -48[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	edx, DWORD PTR -96[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], edx
	mov	edx, DWORD PTR DATA_TYPE_NVLIST_ARRAY[rip]
	mov	ecx, DWORD PTR ZPOOL_CONFIG_L2CACHE[rip]
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	esi, ecx
	mov	rdi, rax
	call	nvlist_remove@PLT
	test	rax, rax
	sete	al
	movzx	eax, al
	mov	edi, eax
	call	VERIFY@PLT
	mov	eax, DWORD PTR KM_SLEEP[rip]
	mov	rdx, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR [rdx]
	movsx	rdx, edx
	sal	edx, 3
	mov	esi, eax
	mov	edi, edx
	call	kmem_alloc@PLT
	mov	QWORD PTR -80[rbp], rax
	mov	DWORD PTR -92[rbp], 0
	jmp	.L21
.L22:
	mov	ecx, DWORD PTR VDEV_CONFIG_L2CACHE[rip]
	mov	edx, DWORD PTR B_TRUE[rip]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, QWORD PTR 16[rax]
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	sal	rax, 3
	add	rax, rsi
	mov	rsi, QWORD PTR [rax]
	mov	rdi, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	sal	rax, 3
	lea	rbx, [rdi+rax]
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	vdev_config_generate@PLT
	mov	QWORD PTR [rbx], rax
	add	DWORD PTR -92[rbp], 1
.L21:
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -92[rbp], eax
	jl	.L22
	mov	rax, QWORD PTR -40[rbp]
	mov	ecx, DWORD PTR [rax]
	mov	rdx, QWORD PTR -80[rbp]
	mov	esi, DWORD PTR ZPOOL_CONFIG_L2CACHE[rip]
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	nvlist_add_nvlist_array@PLT
	test	rax, rax
	sete	al
	movzx	eax, al
	mov	edi, eax
	call	VERIFY@PLT
	jmp	.L20
.L29:
	nop
.L20:
	mov	DWORD PTR -92[rbp], 0
	jmp	.L23
.L24:
	mov	rdx, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	nvlist_free@PLT
	add	DWORD PTR -92[rbp], 1
.L23:
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -92[rbp], eax
	jl	.L24
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L1
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	cdqe
	sal	eax, 3
	mov	edx, eax
	mov	rax, QWORD PTR -80[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	kmem_free@PLT
	jmp	.L1
.L27:
	nop
.L1:
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L26
	call	__stack_chk_fail@PLT
.L26:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	spa_load_l2cache, .-spa_load_l2cache
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"100565.c"
	.text
	.comm	B_TRUE,4,4
	.comm	DATA_TYPE_NVLIST_ARRAY,4,4
	.comm	KM_SLEEP,4,4
	.comm	RW_WRITER,4,4
	.comm	SCL_ALL,4,4
	.comm	VDEV_ALLOC_L2CACHE,4,4
	.comm	VDEV_CONFIG_L2CACHE,4,4
	.comm	ZPOOL_CONFIG_GUID,4,4
	.comm	ZPOOL_CONFIG_L2CACHE,4,4
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	spa_load_l2cache
	.syntax unified
	.arm
	.fpu softvfp
	.type	spa_load_l2cache, %function
spa_load_l2cache:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #68
	str	r0, [fp, #-64]
	ldr	r3, .L30
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-64]
	str	r3, [fp, #-28]
	ldr	r0, [fp, #-64]
	bl	spa_writeable
	mov	r3, r0
	cmp	r3, #0
	beq	.L27
	ldr	r3, .L30+4
	ldr	r3, [r3]
	ldr	r2, .L30+8
	ldr	r2, [r2]
	mov	r1, r3
	ldr	r0, [fp, #-64]
	bl	spa_config_held
	mov	r2, r0
	ldr	r3, .L30+4
	ldr	r3, [r3]
	cmp	r2, r3
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	bl	ASSERT
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L4
	ldr	r3, [fp, #-28]
	ldr	r0, [r3, #4]
	ldr	r3, .L30+12
	ldr	r1, [r3]
	sub	r3, fp, #56
	sub	r2, fp, #60
	bl	nvlist_lookup_nvlist_array
	mov	r3, r0
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	bl	VERIFY
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, .L30+16
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	kmem_alloc
	str	r0, [fp, #-32]
	b	.L5
.L4:
	mov	r3, #0
	str	r3, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-32]
.L5:
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-28]
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, [fp, #-28]
	mov	r2, #0
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L6
.L13:
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L30+20
	ldr	r1, [r2]
	sub	r2, fp, #52
	mov	r0, r3
	bl	nvlist_lookup_uint64
	mov	r3, r0
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	bl	VERIFY
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L7
.L10:
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L8
	ldr	r3, [fp, #-48]
	ldr	r2, [r3]
	ldr	r3, [fp, #-52]
	cmp	r2, r3
	bne	.L8
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r2, [fp, #-48]
	str	r2, [r3]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	b	.L9
.L8:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L7:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L10
.L9:
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L11
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, .L30+24
	ldr	r3, [r3]
	sub	r1, fp, #48
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #0
	ldr	r0, [fp, #-64]
	bl	spa_config_parse
	mov	r3, r0
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	bl	VERIFY
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	bl	ASSERT
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r2, [fp, #-48]
	str	r2, [r3]
	ldr	r3, [fp, #-48]
	mov	r0, r3
	bl	spa_l2cache_add
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-48]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-28]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-48]
	mov	r0, r3
	bl	spa_l2cache_activate
	ldr	r3, [fp, #-48]
	mov	r0, r3
	bl	vdev_open
	mov	r3, r0
	cmp	r3, #0
	bne	.L28
	ldr	r3, [fp, #-48]
	mov	r0, r3
	bl	vdev_validate_aux
	ldr	r3, [fp, #-48]
	mov	r0, r3
	bl	vdev_is_dead
	mov	r3, r0
	cmp	r3, #0
	bne	.L11
	ldr	r3, [fp, #-48]
	mov	r1, r3
	ldr	r0, [fp, #-64]
	bl	l2arc_add_vdev
	b	.L11
.L28:
	nop
.L11:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L6:
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	blt	.L13
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L14
.L17:
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L15
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	ASSERT
	ldr	r3, [fp, #-48]
	ldr	r3, [r3]
	sub	r2, fp, #44
	mov	r1, r2
	mov	r0, r3
	bl	spa_l2cache_exists
	mov	r3, r0
	cmp	r3, #0
	beq	.L16
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	beq	.L16
	ldr	r3, [fp, #-48]
	mov	r0, r3
	bl	l2arc_vdev_present
	mov	r3, r0
	cmp	r3, #0
	beq	.L16
	ldr	r3, [fp, #-48]
	mov	r0, r3
	bl	l2arc_remove_vdev
.L16:
	ldr	r3, [fp, #-48]
	mov	r0, r3
	bl	vdev_clear_stats
	ldr	r3, [fp, #-48]
	mov	r0, r3
	bl	vdev_free
.L15:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L14:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L17
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L18
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	kmem_free
.L18:
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L29
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-32]
	str	r2, [r3, #8]
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-28]
	str	r2, [r3]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #4]
	ldr	r2, .L30+12
	ldr	r1, [r2]
	ldr	r2, .L30+28
	ldr	r2, [r2]
	mov	r0, r3
	bl	nvlist_remove
	mov	r3, r0
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	bl	VERIFY
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, .L30+16
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	kmem_alloc
	mov	r3, r0
	str	r3, [fp, #-60]
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L21
.L22:
	ldr	r3, [fp, #-28]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, .L30+32
	ldr	r0, [r3]
	ldr	r3, .L30+36
	ldr	ip, [r3]
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	add	r4, r2, r3
	mov	r3, ip
	mov	r2, r0
	ldr	r0, [fp, #-64]
	bl	vdev_config_generate
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L21:
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	blt	.L22
	ldr	r3, [fp, #-28]
	ldr	r0, [r3, #4]
	ldr	r3, .L30+12
	ldr	r1, [r3]
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	bl	nvlist_add_nvlist_array
	mov	r3, r0
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	bl	VERIFY
	b	.L20
.L29:
	nop
.L20:
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L23
.L24:
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	nvlist_free
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L23:
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	blt	.L24
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L1
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	lsl	r3, r3, #2
	mov	r1, r3
	mov	r0, r2
	bl	kmem_free
	b	.L1
.L27:
	nop
.L1:
	ldr	r3, .L30
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L26
	bl	__stack_chk_fail
.L26:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L31:
	.align	2
.L30:
	.word	.LC0
	.word	SCL_ALL
	.word	RW_WRITER
	.word	ZPOOL_CONFIG_L2CACHE
	.word	KM_SLEEP
	.word	ZPOOL_CONFIG_GUID
	.word	VDEV_ALLOC_L2CACHE
	.word	DATA_TYPE_NVLIST_ARRAY
	.word	B_TRUE
	.word	VDEV_CONFIG_L2CACHE
	.size	spa_load_l2cache, .-spa_load_l2cache
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
