	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zpool_get_features             ## -- Begin function zpool_get_features
	.p2align	4, 0x90
_zpool_get_features:                    ## @zpool_get_features
	.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	%rdi, %r14
	xorl	%esi, %esi
	callq	_zpool_get_config
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %rbx
	movq	_ZPOOL_CONFIG_FEATURE_STATS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_nvlist_exists
	testl	%eax, %eax
	jne	LBB0_5
LBB0_2:
	movq	_B_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	leaq	-24(%rbp), %rsi
	movq	%r14, %rdi
	callq	_zpool_refresh_stats
	testl	%eax, %eax
	jne	LBB0_8
## %bb.3:
	cmpq	$0, -24(%rbp)
	jne	LBB0_8
## %bb.4:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_zpool_get_config
	movq	%rax, %rbx
LBB0_5:
	movq	_ZPOOL_CONFIG_FEATURE_STATS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_nvlist_lookup_nvlist
	testq	%rax, %rax
	jne	LBB0_8
## %bb.6:
	movq	-24(%rbp), %rax
	jmp	LBB0_9
LBB0_8:
	xorl	%eax, %eax
LBB0_9:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ZPOOL_CONFIG_FEATURE_STATS,4,2 ## @ZPOOL_CONFIG_FEATURE_STATS
	.comm	_B_FALSE,8,3                    ## @B_FALSE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zpool_get_features             ; -- Begin function zpool_get_features
	.p2align	2
_zpool_get_features:                    ; @zpool_get_features
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	mov	x1, #0
	bl	_zpool_get_config
Lloh0:
	adrp	x21, _ZPOOL_CONFIG_FEATURE_STATS@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ZPOOL_CONFIG_FEATURE_STATS@GOTPAGEOFF]
	cbz	x0, LBB0_2
; %bb.1:
	mov	x20, x0
	ldr	w1, [x21]
	bl	_nvlist_exists
	cbnz	w0, LBB0_5
LBB0_2:
Lloh2:
	adrp	x8, _B_FALSE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _B_FALSE@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	str	x8, [sp, #8]
	add	x1, sp, #8
	mov	x0, x19
	bl	_zpool_refresh_stats
	cbnz	w0, LBB0_6
; %bb.3:
	ldr	x8, [sp, #8]
	cbnz	x8, LBB0_6
; %bb.4:
	mov	x0, x19
	mov	x1, #0
	bl	_zpool_get_config
	mov	x20, x0
LBB0_5:
	ldr	w1, [x21]
	add	x2, sp, #8
	mov	x0, x20
	bl	_nvlist_lookup_nvlist
	ldr	x8, [sp, #8]
	cmp	x0, #0
	csel	x0, x8, xzr, eq
	b	LBB0_7
LBB0_6:
	mov	x0, #0
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ZPOOL_CONFIG_FEATURE_STATS,4,2 ; @ZPOOL_CONFIG_FEATURE_STATS
	.comm	_B_FALSE,8,3                    ; @B_FALSE
.subsections_via_symbols
