	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zdb_vdev_lookup
_zdb_vdev_lookup:                       ## @zdb_vdev_lookup
	.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
	testq	%rdi, %rdi
	je	LBB0_17
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	-72(%rbp), %rsi
	movq	%r14, %rdi
	movl	$10, %edx
	callq	_strtoul
	movq	-72(%rbp), %rsi
	cmpq	%r14, %rsi
	je	LBB0_8
## %bb.2:
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.3:
	movb	(%rsi), %cl
	cmpb	$46, %cl
	je	LBB0_5
## %bb.4:
	testb	%cl, %cl
	jne	LBB0_8
LBB0_5:
	cmpl	(%rbx), %eax
	jae	LBB0_17
## %bb.6:
	movq	16(%rbx), %rcx
	movl	%eax, %eax
	movq	(%rcx,%rax,8), %r12
	cmpb	$0, (%rsi)
	je	LBB0_18
## %bb.7:
	incq	%rsi
	movq	%r12, %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_zdb_vdev_lookup                ## TAILCALL
LBB0_8:
	cmpl	$0, (%rbx)
	je	LBB0_17
## %bb.9:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%r13, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_zdb_vdev_lookup
	testq	%rax, %rax
	jne	LBB0_21
LBB0_11:                                ##   in Loop: Header=BB0_12 Depth=1
	incq	%r15
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rbx), %eax
	cmpq	%rax, %r15
	jae	LBB0_17
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%rbx), %rax
	movq	(%rax,%r15,8), %r13
	movq	8(%r13), %r12
	testq	%r12, %r12
	je	LBB0_10
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%r12, %rdi
	movl	$47, %esi
	callq	_strrchr
	leaq	1(%rax), %rbx
	testq	%rax, %rax
	cmoveq	%r12, %rbx
	movq	%r12, %rdi
	callq	_strlen
	movl	%eax, %r14d
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	8(%r13), %rdi
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_20
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_20
## %bb.15:                              ##   in Loop: Header=BB0_12 Depth=1
	movslq	%r14d, %rax
	leaq	(%rax,%r12), %r14
	addq	$-2, %r14
	movq	%r14, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	jne	LBB0_11
## %bb.16:                              ##   in Loop: Header=BB0_12 Depth=1
	subl	%ebx, %r14d
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%r14d, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_11
	jmp	LBB0_18
LBB0_17:
	xorl	%r12d, %r12d
LBB0_18:
	movq	%r12, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_18
LBB0_21:
	movq	%rax, %r12
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"s0"

	.no_dead_strip	_zdb_vdev_lookup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zdb_vdev_lookup
_zdb_vdev_lookup:                       ; @zdb_vdev_lookup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	cbz	x0, LBB0_16
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #10
	bl	_strtoul
	ldr	x8, [sp, #8]
	cmp	x8, x20
	b.eq	LBB0_7
; %bb.2:
	cbz	x8, LBB0_4
; %bb.3:
	ldrb	w9, [x8]
	cmp	w9, #46
	ccmp	w9, #0, #4, ne
	b.ne	LBB0_7
LBB0_4:
	ldr	w9, [x19]
	cmp	w0, w9
	b.hs	LBB0_16
; %bb.5:
	ldr	x9, [x19, #16]
	ldr	x21, [x9, w0, uxtw #3]
	ldrb	w9, [x8]
	cbz	w9, LBB0_17
; %bb.6:
	add	x1, x8, #1
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_zdb_vdev_lookup
LBB0_7:
	ldr	w8, [x19]
	cbz	w8, LBB0_16
; %bb.8:
	mov	x26, #0
Lloh0:
	adrp	x22, l_.str@PAGE
Lloh1:
	add	x22, x22, l_.str@PAGEOFF
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x21
	mov	x1, x20
	bl	_zdb_vdev_lookup
	cbnz	x0, LBB0_18
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x26, x26, #1
	ldr	w8, [x19]
	cmp	x26, x8
	b.hs	LBB0_16
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	ldr	x21, [x8, x26, lsl #3]
	ldr	x24, [x21, #8]
	cbz	x24, LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x24
	mov	w1, #47
	bl	_strrchr
	cmp	x0, #0
	csinc	x23, x24, x0, eq
	mov	x0, x24
	bl	_strlen
	mov	x25, x0
	ldr	x0, [x21, #8]
	mov	x1, x20
	bl	_strcmp
	cbz	x0, LBB0_17
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x23
	mov	x1, x20
	bl	_strcmp
	cbz	x0, LBB0_17
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=1
	sub	w8, w25, #2
	add	x24, x24, w8, sxtw
	mov	x0, x24
	mov	x1, x22
	bl	_strcmp
	cbnz	x0, LBB0_10
; %bb.15:                               ;   in Loop: Header=BB0_11 Depth=1
	sub	w2, w24, w23
	mov	x0, x23
	mov	x1, x20
	bl	_strncmp
	cbnz	x0, LBB0_10
	b	LBB0_17
LBB0_16:
	mov	x21, #0
LBB0_17:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_18:
	mov	x21, x0
	b	LBB0_17
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"s0"

	.no_dead_strip	_zdb_vdev_lookup
.subsections_via_symbols
