	.file	"extr_libzfs_fru.c_libzfs_fru_clear.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	libzfs_fru_clear
	.type	libzfs_fru_clear, @function
libzfs_fru_clear:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	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	rbp, QWORD PTR 16[rdi]
	mov	rbx, rdi
	test	rbp, rbp
	je	.L5
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rax, QWORD PTR 16[rbp]
	mov	rdi, QWORD PTR 8[rbp]
	mov	QWORD PTR 16[rbx], rax
	call	free@PLT
	mov	rdi, QWORD PTR 0[rbp]
	call	free@PLT
	mov	rdi, rbp
	call	free@PLT
	mov	rbp, QWORD PTR 16[rbx]
	test	rbp, rbp
	jne	.L2
.L5:
	mov	rdi, QWORD PTR 8[rbx]
	mov	QWORD PTR 16[rbx], 0
	test	rdi, rdi
	je	.L4
	call	_topo_snap_release@PLT
	mov	rdi, QWORD PTR 8[rbx]
	call	_topo_close@PLT
	mov	QWORD PTR 8[rbx], 0
.L4:
	mov	rdi, QWORD PTR [rbx]
	test	r12, r12
	jne	.L12
	test	rdi, rdi
	je	.L1
	mov	eax, DWORD PTR ZFS_FRU_HASH_SIZE[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	lea	esi, 0[0+rax*8]
	jmp	bzero@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	.cfi_restore_state
	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
.L12:
	.cfi_restore_state
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	free@PLT
	.cfi_endproc
.LFE0:
	.size	libzfs_fru_clear, .-libzfs_fru_clear
	.comm	ZFS_FRU_HASH_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_libzfs_fru.c_libzfs_fru_clear.c"
	.text
	.align	2
	.global	libzfs_fru_clear
	.syntax unified
	.arm
	.fpu softvfp
	.type	libzfs_fru_clear, %function
libzfs_fru_clear:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r4, [r0, #8]
	mov	r5, r0
	cmp	r4, #0
	mov	r6, r1
	beq	.L5
.L2:
	ldmib	r4, {r0, r3}
	str	r3, [r5, #8]
	bl	free
	ldr	r0, [r4]
	bl	free
	mov	r0, r4
	bl	free
	ldr	r4, [r5, #8]
	cmp	r4, #0
	bne	.L2
.L5:
	mov	r4, #0
	ldr	r0, [r5, #4]
	str	r4, [r5, #8]
	cmp	r0, r4
	beq	.L4
	bl	_topo_snap_release
	ldr	r0, [r5, #4]
	bl	_topo_close
	str	r4, [r5, #4]
.L4:
	cmp	r6, #0
	ldr	r0, [r5]
	bne	.L12
	cmp	r0, #0
	popeq	{r4, r5, r6, pc}
	ldr	r3, .L13
	pop	{r4, r5, r6, lr}
	ldr	r1, [r3]
	lsl	r1, r1, #2
	b	bzero
.L12:
	pop	{r4, r5, r6, lr}
	b	free
.L14:
	.align	2
.L13:
	.word	ZFS_FRU_HASH_SIZE
	.size	libzfs_fru_clear, .-libzfs_fru_clear
	.comm	ZFS_FRU_HASH_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
