	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_libzfs_fru_refresh             ## -- Begin function libzfs_fru_refresh
	.p2align	4, 0x90
_libzfs_fru_refresh:                    ## @libzfs_fru_refresh
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	__topo_dlhandle@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.1:
	movq	%rdi, %r14
	movq	_B_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_libzfs_fru_clear
	movq	_TOPO_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-20(%rbp), %rdx
	xorl	%esi, %esi
	callq	__topo_open
	movq	%rax, 8(%r14)
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movq	%rax, %rbx
	leaq	-20(%rbp), %rdx
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	__topo_snap_hold
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	__topo_hdl_strfree
	cmpq	$0, (%r14)
	jne	LBB0_5
## %bb.4:
	movq	_ZFS_FRU_HASH_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$8, %esi
	callq	_calloc
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_7
LBB0_5:
	movq	_FM_FMRI_SCHEME_HC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_libzfs_fru_gather@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-20(%rbp), %r8
	movq	%rbx, %rdi
	movq	%r14, %rcx
	callq	__topo_walk_init
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%rax, %rbx
	movq	_TOPO_WALK_CHILD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	__topo_walk_step
	movq	%rbx, %rdi
	callq	__topo_walk_fini
LBB0_7:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__topo_dlhandle,8,3             ## @_topo_dlhandle
	.comm	_B_FALSE,4,2                    ## @B_FALSE
	.comm	_TOPO_VERSION,4,2               ## @TOPO_VERSION
	.comm	_ZFS_FRU_HASH_SIZE,4,2          ## @ZFS_FRU_HASH_SIZE
	.comm	_FM_FMRI_SCHEME_HC,4,2          ## @FM_FMRI_SCHEME_HC
	.comm	_libzfs_fru_gather,4,2          ## @libzfs_fru_gather
	.comm	_TOPO_WALK_CHILD,4,2            ## @TOPO_WALK_CHILD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_libzfs_fru_refresh             ; -- Begin function libzfs_fru_refresh
	.p2align	2
_libzfs_fru_refresh:                    ; @libzfs_fru_refresh
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, __topo_dlhandle@GOTPAGE
Lloh1:
	ldr	x8, [x8, __topo_dlhandle@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x8, _B_FALSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _B_FALSE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_libzfs_fru_clear
Lloh6:
	adrp	x8, _TOPO_VERSION@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TOPO_VERSION@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	add	x2, sp, #12
	mov	x1, #0
	bl	__topo_open
	str	x0, [x19, #8]
	cbz	x0, LBB0_7
; %bb.2:
	mov	x20, x0
	add	x2, sp, #12
	mov	x1, #0
	bl	__topo_snap_hold
	cbz	x0, LBB0_7
; %bb.3:
	mov	x1, x0
	mov	x0, x20
	bl	__topo_hdl_strfree
	ldr	x8, [x19]
	cbnz	x8, LBB0_5
; %bb.4:
Lloh9:
	adrp	x8, _ZFS_FRU_HASH_SIZE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ZFS_FRU_HASH_SIZE@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	mov	w1, #8
	bl	_calloc
	str	x0, [x19]
	cbz	x0, LBB0_7
LBB0_5:
Lloh12:
	adrp	x8, _FM_FMRI_SCHEME_HC@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FM_FMRI_SCHEME_HC@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _libzfs_fru_gather@GOTPAGE
Lloh16:
	ldr	x8, [x8, _libzfs_fru_gather@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	add	x4, sp, #12
	mov	x0, x20
	mov	x3, x19
	bl	__topo_walk_init
	cbz	x0, LBB0_7
; %bb.6:
	mov	x19, x0
Lloh18:
	adrp	x8, _TOPO_WALK_CHILD@GOTPAGE
Lloh19:
	ldr	x8, [x8, _TOPO_WALK_CHILD@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	bl	__topo_walk_step
	mov	x0, x19
	bl	__topo_walk_fini
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	__topo_dlhandle,8,3             ; @_topo_dlhandle
	.comm	_B_FALSE,4,2                    ; @B_FALSE
	.comm	_TOPO_VERSION,4,2               ; @TOPO_VERSION
	.comm	_ZFS_FRU_HASH_SIZE,4,2          ; @ZFS_FRU_HASH_SIZE
	.comm	_FM_FMRI_SCHEME_HC,4,2          ; @FM_FMRI_SCHEME_HC
	.comm	_libzfs_fru_gather,4,2          ; @libzfs_fru_gather
	.comm	_TOPO_WALK_CHILD,4,2            ; @TOPO_WALK_CHILD
.subsections_via_symbols
