	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fix_paths
_fix_paths:                             ## @fix_paths
	.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	%rsi, %r13
	movq	%rdi, %rbx
	movq	_ZPOOL_CONFIG_CHILDREN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-88(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	callq	_nvlist_lookup_nvlist_array
	testq	%rax, %rax
	je	LBB0_15
## %bb.1:
	movq	_ZPOOL_CONFIG_GUID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-80(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_nvlist_lookup_uint64
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_verify
	movq	_ZPOOL_CONFIG_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_nvlist_lookup_string
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	$0, -48(%rbp)
LBB0_3:
	testq	%r13, %r13
	je	LBB0_30
## %bb.4:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_7 Depth=1
	cmpl	%r14d, %ecx
	setg	%al
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	sete	%dl
	orb	%al, %dl
	cmovneq	%r13, %rbx
	cmovnel	%ecx, %r14d
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	16(%r13), %r13
	testq	%r13, %r13
	je	LBB0_20
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
	movq	(%r13), %rax
	cmpq	-80(%rbp), %rax
	jne	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpq	$0, -48(%rbp)
	je	LBB0_24
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	8(%r13), %r15
	movq	%r15, %rdi
	callq	_strlen
	movslq	%eax, %rbx
	movq	-48(%rbp), %r12
	movq	%r12, %rdi
	callq	_strlen
	movq	8(%r13), %rdx
	leaq	(%r15,%rbx), %rsi
	decq	%rsi
	xorl	%ecx, %ecx
	cmpq	%rdx, %rsi
	jb	LBB0_5
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movslq	%eax, %rdi
	movq	-48(%rbp), %rax
	leaq	(%r12,%rdi), %rsi
	decq	%rsi
	cmpq	%rax, %rsi
	jb	LBB0_5
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	leaq	(%r15,%rbx), %rsi
	addq	$-2, %rsi
	addq	%r12, %rdi
	addq	$-2, %rdi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	1(%rsi), %ebx
	cmpb	1(%rdi), %bl
	jne	LBB0_5
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=2
	incl	%ecx
	cmpq	%rdx, %rsi
	jb	LBB0_5
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=2
	decq	%rsi
	leaq	-1(%rdi), %rbx
	cmpq	%rax, %rdi
	movq	%rbx, %rdi
	jae	LBB0_12
	jmp	LBB0_5
LBB0_15:
	cmpq	$0, -56(%rbp)
	je	LBB0_30
## %bb.16:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	-88(%rbp), %rax
	movq	(%rax,%rbx,8), %rdi
	movq	%r13, %rsi
	callq	_fix_paths
	testl	%eax, %eax
	jne	LBB0_28
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	incq	%rbx
	cmpq	-56(%rbp), %rbx
	jb	LBB0_17
	jmp	LBB0_30
LBB0_20:
	testq	%rbx, %rbx
	jne	LBB0_25
	jmp	LBB0_30
LBB0_24:
	movq	%r13, %rbx
LBB0_25:
	movq	_ZPOOL_CONFIG_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%rbx), %rdx
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_nvlist_add_string
	movq	%rax, %rcx
	movl	$-1, %eax
	testq	%rcx, %rcx
	jne	LBB0_31
## %bb.26:
	movq	8(%rbx), %rdi
	callq	_get_devid
	movq	%rax, %r15
	movq	_ZPOOL_CONFIG_DEVID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	testq	%r15, %r15
	je	LBB0_29
## %bb.27:
	movq	%r15, %rdx
	callq	_nvlist_add_string
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_devid_str_free
	xorl	%eax, %eax
	negq	%r14
	sbbl	%eax, %eax
	jmp	LBB0_31
LBB0_28:
	movl	$-1, %eax
	jmp	LBB0_31
LBB0_29:
	callq	_nvlist_remove_all
LBB0_30:
	xorl	%eax, %eax
LBB0_31:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ZPOOL_CONFIG_CHILDREN,4,2      ## @ZPOOL_CONFIG_CHILDREN
	.comm	_ZPOOL_CONFIG_GUID,4,2          ## @ZPOOL_CONFIG_GUID
	.comm	_ZPOOL_CONFIG_PATH,4,2          ## @ZPOOL_CONFIG_PATH
	.comm	_ZPOOL_CONFIG_DEVID,4,2         ## @ZPOOL_CONFIG_DEVID
	.no_dead_strip	_fix_paths
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fix_paths
_fix_paths:                             ; @fix_paths
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _ZPOOL_CONFIG_CHILDREN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ZPOOL_CONFIG_CHILDREN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #24
	add	x3, sp, #16
	bl	_nvlist_lookup_nvlist_array
	cbz	x0, LBB0_15
; %bb.1:
Lloh3:
	adrp	x8, _ZPOOL_CONFIG_GUID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ZPOOL_CONFIG_GUID@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x19
	bl	_nvlist_lookup_uint64
	cmp	x0, #0
	cset	w0, eq
	bl	_verify
Lloh6:
	adrp	x22, _ZPOOL_CONFIG_PATH@GOTPAGE
Lloh7:
	ldr	x22, [x22, _ZPOOL_CONFIG_PATH@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x2, sp
	mov	x0, x19
	bl	_nvlist_lookup_string
	cbz	x0, LBB0_3
; %bb.2:
	str	xzr, [sp]
LBB0_3:
	cbz	x20, LBB0_26
; %bb.4:
	mov	w24, #0
	mov	x23, #0
	b	LBB0_8
LBB0_5:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	w8, #0
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	cmp	w8, w24
	ccmp	x23, #0, #4, le
	csel	x23, x20, x23, eq
	csel	w24, w8, w24, eq
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	x20, [x20, #16]
	cbz	x20, LBB0_19
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
	ldr	x8, [x20]
	ldr	x9, [sp, #8]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [sp]
	cbz	x8, LBB0_20
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x21, [x20, #8]
	mov	x0, x21
	bl	_strlen
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	add	x25, x21, x8
	ldr	x21, [sp]
	mov	x0, x21
	bl	_strlen
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	add	x12, x21, x8
	ldr	x9, [x20, #8]
	ldr	x10, [sp]
	sub	x8, x12, #1
	sub	x11, x25, #1
	cmp	x11, x9
	ccmp	x8, x10, #0, hs
	b.lo	LBB0_5
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	w8, #0
	sub	x11, x25, #2
	sub	x12, x12, #2
LBB0_12:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w13, [x11, #1]
	ldrb	w14, [x12, #1]
	cmp	w13, w14
	b.ne	LBB0_6
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=2
	add	w8, w8, #1
	cmp	x11, x9
	b.lo	LBB0_6
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=2
	sub	x11, x11, #1
	sub	x13, x12, #1
	cmp	x12, x10
	mov	x12, x13
	b.hs	LBB0_12
	b	LBB0_6
LBB0_15:
	ldr	x8, [sp, #16]
	cbz	x8, LBB0_26
; %bb.16:
	mov	x19, #0
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #24]
	ldr	x0, [x8, x19, lsl #3]
	mov	x1, x20
	bl	_fix_paths
	cbnz	w0, LBB0_22
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	add	x19, x19, #1
	ldr	x8, [sp, #16]
	cmp	x19, x8
	b.lo	LBB0_17
	b	LBB0_26
LBB0_19:
	cbnz	x23, LBB0_21
	b	LBB0_26
LBB0_20:
	mov	x23, x20
LBB0_21:
	ldr	w1, [x22]
	ldr	x2, [x23, #8]
	mov	x0, x19
	bl	_nvlist_add_string
	cbz	x0, LBB0_23
LBB0_22:
	mov	w0, #-1
	b	LBB0_27
LBB0_23:
	ldr	x0, [x23, #8]
	bl	_get_devid
Lloh8:
	adrp	x8, _ZPOOL_CONFIG_DEVID@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ZPOOL_CONFIG_DEVID@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	cbz	x0, LBB0_25
; %bb.24:
	mov	x20, x0
	mov	x0, x19
	mov	x2, x20
	bl	_nvlist_add_string
	mov	x19, x0
	mov	x0, x20
	bl	_devid_str_free
	cmp	x19, #0
	csetm	w0, ne
	b	LBB0_27
LBB0_25:
	mov	x0, x19
	bl	_nvlist_remove_all
LBB0_26:
	mov	w0, #0
LBB0_27:
	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
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ZPOOL_CONFIG_CHILDREN,4,2      ; @ZPOOL_CONFIG_CHILDREN
	.comm	_ZPOOL_CONFIG_GUID,4,2          ; @ZPOOL_CONFIG_GUID
	.comm	_ZPOOL_CONFIG_PATH,4,2          ; @ZPOOL_CONFIG_PATH
	.comm	_ZPOOL_CONFIG_DEVID,4,2         ; @ZPOOL_CONFIG_DEVID
	.no_dead_strip	_fix_paths
.subsections_via_symbols
