	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_aux
_find_aux:                              ## @find_aux
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r14
	movl	(%rdi), %edi
	movq	_ZPOOL_CONFIG_VDEV_TREE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %rdx
	callq	_nvlist_lookup_nvlist
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_verify
	movq	-56(%rbp), %rdi
	movl	16(%r12), %esi
	leaq	-72(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	callq	_nvlist_lookup_nvlist_array
	testq	%rax, %rax
	jne	LBB0_6
## %bb.1:
	cmpq	$0, -48(%rbp)
	je	LBB0_6
## %bb.2:
	xorl	%ebx, %ebx
	movq	_ZPOOL_CONFIG_GUID@GOTPCREL(%rip), %r13
	leaq	-64(%rbp), %r15
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	-72(%rbp), %rax
	movq	(%rax,%rbx,8), %rdi
	movl	(%r13), %esi
	movq	%r15, %rdx
	callq	_nvlist_lookup_uint64
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_verify
	movq	-64(%rbp), %rax
	cmpq	(%r12), %rax
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	cmpq	-48(%rbp), %rbx
	jb	LBB0_4
LBB0_6:
	movq	%r14, %rdi
	callq	_zpool_close
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_5:
	movq	%r14, 8(%r12)
	movl	$1, %eax
LBB0_7:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ZPOOL_CONFIG_VDEV_TREE,4,2     ## @ZPOOL_CONFIG_VDEV_TREE
	.comm	_ZPOOL_CONFIG_GUID,4,2          ## @ZPOOL_CONFIG_GUID
	.no_dead_strip	_find_aux
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_aux
_find_aux:                              ; @find_aux
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x1
	mov	x19, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _ZPOOL_CONFIG_VDEV_TREE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ZPOOL_CONFIG_VDEV_TREE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x2, sp
	bl	_nvlist_lookup_nvlist
	cmp	x0, #0
	cset	w0, eq
	bl	_verify
	ldr	x0, [sp]
	ldr	w1, [x20, #16]
	add	x2, sp, #24
	add	x3, sp, #16
	bl	_nvlist_lookup_nvlist_array
	ldr	x8, [sp, #16]
	cmp	x0, #0
	ccmp	x8, #0, #4, eq
	b.eq	LBB0_4
; %bb.1:
	mov	x21, #0
Lloh3:
	adrp	x22, _ZPOOL_CONFIG_GUID@GOTPAGE
Lloh4:
	ldr	x22, [x22, _ZPOOL_CONFIG_GUID@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #24]
	ldr	x0, [x8, x21, lsl #3]
	ldr	w1, [x22]
	add	x2, sp, #8
	bl	_nvlist_lookup_uint64
	cmp	x0, #0
	cset	w0, eq
	bl	_verify
	ldr	x8, [sp, #8]
	ldr	x9, [x20]
	cmp	x8, x9
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x21, x21, #1
	ldr	x8, [sp, #16]
	cmp	x21, x8
	b.lo	LBB0_2
LBB0_4:
	mov	x0, x19
	bl	_zpool_close
	mov	w0, #0
	b	LBB0_6
LBB0_5:
	str	x19, [x20, #8]
	mov	w0, #1
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ZPOOL_CONFIG_VDEV_TREE,4,2     ; @ZPOOL_CONFIG_VDEV_TREE
	.comm	_ZPOOL_CONFIG_GUID,4,2          ; @ZPOOL_CONFIG_GUID
	.no_dead_strip	_find_aux
.subsections_via_symbols
