	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_num_logs                       ## -- Begin function num_logs
	.p2align	4, 0x90
_num_logs:                              ## @num_logs
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_ZPOOL_CONFIG_CHILDREN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-64(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	callq	_nvlist_lookup_nvlist_array
	xorl	%r15d, %r15d
	testq	%rax, %rax
	jne	LBB0_4
## %bb.1:
	cmpq	$0, -56(%rbp)
	je	LBB0_4
## %bb.2:
	xorl	%ebx, %ebx
	movq	_B_FALSE@GOTPCREL(%rip), %r12
	movq	_ZPOOL_CONFIG_IS_LOG@GOTPCREL(%rip), %r13
	leaq	-48(%rbp), %r14
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movq	%rax, -48(%rbp)
	movq	-64(%rbp), %rax
	movq	(%rax,%rbx,8), %rdi
	movl	(%r13), %esi
	movq	%r14, %rdx
	callq	_nvlist_lookup_uint64
	cmpq	$1, -48(%rbp)
	sbbq	$-1, %r15
	incq	%rbx
	cmpq	-56(%rbp), %rbx
	jb	LBB0_3
LBB0_4:
	movq	%r15, %rax
	addq	$24, %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	_B_FALSE,8,3                    ## @B_FALSE
	.comm	_ZPOOL_CONFIG_IS_LOG,4,2        ## @ZPOOL_CONFIG_IS_LOG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_num_logs                       ; -- Begin function num_logs
	.p2align	2
_num_logs:                              ; @num_logs
	.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
Lloh0:
	adrp	x8, _ZPOOL_CONFIG_CHILDREN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ZPOOL_CONFIG_CHILDREN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #16
	add	x3, sp, #24
	bl	_nvlist_lookup_nvlist_array
	ldr	x8, [sp, #24]
	cmp	x0, #0
	ccmp	x8, #0, #4, eq
	b.ne	LBB0_2
; %bb.1:
	mov	x19, #0
	b	LBB0_4
LBB0_2:
	mov	x20, #0
	mov	x19, #0
Lloh3:
	adrp	x21, _B_FALSE@GOTPAGE
Lloh4:
	ldr	x21, [x21, _B_FALSE@GOTPAGEOFF]
Lloh5:
	adrp	x22, _ZPOOL_CONFIG_IS_LOG@GOTPAGE
Lloh6:
	ldr	x22, [x22, _ZPOOL_CONFIG_IS_LOG@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	str	x8, [sp, #8]
	ldr	x8, [sp, #16]
	ldr	x0, [x8, x20, lsl #3]
	ldr	w1, [x22]
	add	x2, sp, #8
	bl	_nvlist_lookup_uint64
	ldr	x8, [sp, #8]
	cmp	x8, #0
	cinc	x19, x19, ne
	add	x20, x20, #1
	ldr	x8, [sp, #24]
	cmp	x20, x8
	b.lo	LBB0_3
LBB0_4:
	mov	x0, x19
	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	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ZPOOL_CONFIG_CHILDREN,4,2      ; @ZPOOL_CONFIG_CHILDREN
	.comm	_B_FALSE,8,3                    ; @B_FALSE
	.comm	_ZPOOL_CONFIG_IS_LOG,4,2        ; @ZPOOL_CONFIG_IS_LOG
.subsections_via_symbols
