	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_config
_add_config:                            ## @add_config
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	_ZPOOL_CONFIG_POOL_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-88(%rbp), %rdx
	movq	%rcx, %rdi
	callq	_nvlist_lookup_uint64
	testq	%rax, %rax
	jne	LBB0_4
## %bb.1:
	movq	-88(%rbp), %rax
	movq	_POOL_STATE_SPARE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movq	_POOL_STATE_L2CACHE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
LBB0_3:
	movq	_ZPOOL_CONFIG_GUID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %rdx
	movq	%r14, %rdi
	callq	_nvlist_lookup_uint64
	testq	%rax, %rax
	je	LBB0_30
LBB0_4:
	movq	_ZPOOL_CONFIG_POOL_GUID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-80(%rbp), %rdx
	movq	%r14, %rdi
	callq	_nvlist_lookup_uint64
	xorl	%r13d, %r13d
	testq	%rax, %rax
	jne	LBB0_38
## %bb.5:
	movq	_ZPOOL_CONFIG_GUID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %rdx
	movq	%r14, %rdi
	callq	_nvlist_lookup_uint64
	testq	%rax, %rax
	jne	LBB0_38
## %bb.6:
	movq	_ZPOOL_CONFIG_TOP_GUID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-72(%rbp), %rdx
	movq	%r14, %rdi
	callq	_nvlist_lookup_uint64
	testq	%rax, %rax
	jne	LBB0_38
## %bb.7:
	movq	_ZPOOL_CONFIG_POOL_TXG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdx
	movq	%r14, %rdi
	callq	_nvlist_lookup_uint64
	testq	%rax, %rax
	jne	LBB0_38
## %bb.8:
	cmpq	$0, -48(%rbp)
	je	LBB0_38
## %bb.9:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_13
## %bb.10:
	movq	-80(%rbp), %rax
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%rax, (%rbx)
	je	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_11
LBB0_13:
	movq	%r12, %rdi
	movl	$24, %esi
	callq	_zfs_alloc
	testq	%rax, %rax
	je	LBB0_37
## %bb.14:
	movq	%rax, %rbx
	movq	-80(%rbp), %rax
	movq	%rax, (%rbx)
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rax
	movq	%rax, 16(%rbx)
	movq	%rbx, 8(%rcx)
LBB0_15:
	movq	8(%rbx), %r13
	testq	%r13, %r13
	je	LBB0_19
## %bb.16:
	movq	-72(%rbp), %rax
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%rax, (%r13)
	je	LBB0_21
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	16(%r13), %r13
	testq	%r13, %r13
	jne	LBB0_17
LBB0_19:
	movq	%r12, %rdi
	movl	$24, %esi
	callq	_zfs_alloc
	testq	%rax, %rax
	je	LBB0_37
## %bb.20:
	movq	%rax, %r13
	movq	-72(%rbp), %rax
	movq	%rax, (%r13)
	movq	8(%rbx), %rax
	movq	%rax, 16(%r13)
	movq	%r13, 8(%rbx)
LBB0_21:
	movq	8(%r13), %rax
	testq	%rax, %rax
	je	LBB0_25
## %bb.22:
	movq	-48(%rbp), %rcx
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%rcx, (%rax)
	je	LBB0_27
## %bb.24:                              ##   in Loop: Header=BB0_23 Depth=1
	movq	8(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_23
LBB0_25:
	movq	%r12, %rdi
	movl	$24, %esi
	callq	_zfs_alloc
	testq	%rax, %rax
	je	LBB0_37
## %bb.26:
	movq	%rax, %rbx
	movq	-48(%rbp), %rax
	movq	%rax, (%rbx)
	movq	%r14, %rdi
	callq	_fnvlist_dup
	movl	%eax, 16(%rbx)
	movq	8(%r13), %rax
	movq	%rax, 8(%rbx)
	movq	%rbx, 8(%r13)
LBB0_27:
	movq	%r12, %rdi
	movl	$24, %esi
	callq	_zfs_alloc
	movl	$-1, %r13d
	testq	%rax, %rax
	je	LBB0_38
## %bb.28:
	movq	%rax, %rbx
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_zfs_strdup
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_34
## %bb.29:
	movq	-56(%rbp), %rax
	movq	%rax, 8(%rbx)
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rax
	movq	%rax, (%rbx)
	movq	%rbx, (%rcx)
	jmp	LBB0_33
LBB0_30:
	movq	%rbx, %r14
	movq	%r12, %rdi
	movl	$24, %esi
	callq	_zfs_alloc
	movl	$-1, %r13d
	testq	%rax, %rax
	je	LBB0_38
## %bb.31:
	movq	%rax, %rbx
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_zfs_strdup
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_34
## %bb.32:
	movq	-56(%rbp), %rax
	movq	%rax, 8(%rbx)
	movq	(%r14), %rax
	movq	%rax, (%rbx)
	movq	%rbx, (%r14)
LBB0_33:
	xorl	%r13d, %r13d
	jmp	LBB0_38
LBB0_34:
	movq	%rbx, %rdi
	callq	_free
	jmp	LBB0_38
LBB0_37:
	movl	$-1, %r13d
LBB0_38:
	movl	%r13d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ZPOOL_CONFIG_POOL_STATE,4,2    ## @ZPOOL_CONFIG_POOL_STATE
	.comm	_POOL_STATE_SPARE,8,3           ## @POOL_STATE_SPARE
	.comm	_POOL_STATE_L2CACHE,8,3         ## @POOL_STATE_L2CACHE
	.comm	_ZPOOL_CONFIG_GUID,4,2          ## @ZPOOL_CONFIG_GUID
	.comm	_ZPOOL_CONFIG_POOL_GUID,4,2     ## @ZPOOL_CONFIG_POOL_GUID
	.comm	_ZPOOL_CONFIG_TOP_GUID,4,2      ## @ZPOOL_CONFIG_TOP_GUID
	.comm	_ZPOOL_CONFIG_POOL_TXG,4,2      ## @ZPOOL_CONFIG_POOL_TXG
	.no_dead_strip	_add_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_config
_add_config:                            ; @add_config
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x3
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _ZPOOL_CONFIG_POOL_STATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ZPOOL_CONFIG_POOL_STATE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x3
	bl	_nvlist_lookup_uint64
	cbnz	x0, LBB0_3
; %bb.1:
	ldr	x8, [sp, #8]
Lloh3:
	adrp	x9, _POOL_STATE_SPARE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _POOL_STATE_SPARE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _POOL_STATE_L2CACHE@GOTPAGE
Lloh7:
	ldr	x10, [x10, _POOL_STATE_L2CACHE@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_3
; %bb.2:
Lloh9:
	adrp	x8, _ZPOOL_CONFIG_GUID@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ZPOOL_CONFIG_GUID@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	add	x2, sp, #32
	mov	x0, x22
	bl	_nvlist_lookup_uint64
	cbz	x0, LBB0_27
LBB0_3:
Lloh12:
	adrp	x8, _ZPOOL_CONFIG_POOL_GUID@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ZPOOL_CONFIG_POOL_GUID@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	add	x2, sp, #40
	mov	x0, x22
	bl	_nvlist_lookup_uint64
	cbnz	x0, LBB0_7
; %bb.4:
Lloh15:
	adrp	x8, _ZPOOL_CONFIG_GUID@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ZPOOL_CONFIG_GUID@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	add	x2, sp, #32
	mov	x0, x22
	bl	_nvlist_lookup_uint64
	cbnz	x0, LBB0_7
; %bb.5:
Lloh18:
	adrp	x8, _ZPOOL_CONFIG_TOP_GUID@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ZPOOL_CONFIG_TOP_GUID@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	add	x2, sp, #24
	mov	x0, x22
	bl	_nvlist_lookup_uint64
	cbnz	x0, LBB0_7
; %bb.6:
Lloh21:
	adrp	x8, _ZPOOL_CONFIG_POOL_TXG@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ZPOOL_CONFIG_POOL_TXG@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	add	x2, sp, #16
	mov	x0, x22
	bl	_nvlist_lookup_uint64
	ldr	x8, [sp, #16]
	cmp	x0, #0
	ccmp	x8, #0, #4, eq
	b.ne	LBB0_9
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_9:
	ldr	x24, [x19, #8]
	cbz	x24, LBB0_13
; %bb.10:
	ldr	x8, [sp, #40]
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x24]
	cmp	x9, x8
	b.eq	LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x24, [x24, #16]
	cbnz	x24, LBB0_11
LBB0_13:
	mov	x0, x21
	mov	w1, #24
	bl	_zfs_alloc
	cbz	x0, LBB0_31
; %bb.14:
	mov	x24, x0
	ldr	x8, [sp, #40]
	str	x8, [x0]
	ldr	x8, [x19, #8]
	str	x8, [x0, #16]
	str	x0, [x19, #8]
LBB0_15:
	ldr	x23, [x24, #8]
	cbz	x23, LBB0_19
; %bb.16:
	ldr	x8, [sp, #24]
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x23]
	cmp	x9, x8
	b.eq	LBB0_21
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	x23, [x23, #16]
	cbnz	x23, LBB0_17
LBB0_19:
	mov	x0, x21
	mov	w1, #24
	bl	_zfs_alloc
	cbz	x0, LBB0_31
; %bb.20:
	mov	x23, x0
	ldr	x8, [sp, #24]
	str	x8, [x0]
	ldr	x8, [x24, #8]
	str	x8, [x0, #16]
	str	x0, [x24, #8]
LBB0_21:
	ldr	x8, [x23, #8]
	cbz	x8, LBB0_25
; %bb.22:
	ldr	x9, [sp, #16]
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x8]
	cmp	x10, x9
	b.eq	LBB0_27
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=1
	ldr	x8, [x8, #8]
	cbnz	x8, LBB0_23
LBB0_25:
	mov	x0, x21
	mov	w1, #24
	bl	_zfs_alloc
	cbz	x0, LBB0_31
; %bb.26:
	mov	x24, x0
	ldr	x8, [sp, #16]
	str	x8, [x0]
	mov	x0, x22
	bl	_fnvlist_dup
	str	w0, [x24, #16]
	ldr	x8, [x23, #8]
	str	x8, [x24, #8]
	str	x24, [x23, #8]
LBB0_27:
	mov	x0, x21
	mov	w1, #24
	bl	_zfs_alloc
	cbz	x0, LBB0_31
; %bb.28:
	mov	x22, x0
	mov	x0, x21
	mov	x1, x20
	bl	_zfs_strdup
	str	x0, [x22, #16]
	cbz	x0, LBB0_30
; %bb.29:
	mov	w0, #0
	ldr	x8, [sp, #32]
	str	x8, [x22, #8]
	ldr	x8, [x19]
	str	x8, [x22]
	str	x22, [x19]
	b	LBB0_8
LBB0_30:
	mov	x0, x22
	bl	_free
LBB0_31:
	mov	w0, #-1
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_ZPOOL_CONFIG_POOL_STATE,4,2    ; @ZPOOL_CONFIG_POOL_STATE
	.comm	_POOL_STATE_SPARE,8,3           ; @POOL_STATE_SPARE
	.comm	_POOL_STATE_L2CACHE,8,3         ; @POOL_STATE_L2CACHE
	.comm	_ZPOOL_CONFIG_GUID,4,2          ; @ZPOOL_CONFIG_GUID
	.comm	_ZPOOL_CONFIG_POOL_GUID,4,2     ; @ZPOOL_CONFIG_POOL_GUID
	.comm	_ZPOOL_CONFIG_TOP_GUID,4,2      ; @ZPOOL_CONFIG_TOP_GUID
	.comm	_ZPOOL_CONFIG_POOL_TXG,4,2      ; @ZPOOL_CONFIG_POOL_TXG
	.no_dead_strip	_add_config
.subsections_via_symbols
