	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ztest_walk_pool_directory
_ztest_walk_pool_directory:             ## @ztest_walk_pool_directory
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_ztest_opts@GOTPCREL(%rip), %r15
	cmpl	$6, (%r15)
	jl	LBB0_2
## %bb.1:
	movq	%rdi, %rsi
	leaq	L_.str(%rip), %rdi
	callq	_printf
LBB0_2:
	movq	_spa_namespace_lock@GOTPCREL(%rip), %rdi
	callq	_mutex_enter
	xorl	%edi, %edi
	callq	_spa_next
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	%rax, %rbx
	leaq	L_.str.1(%rip), %r14
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	callq	_spa_next
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$6, (%r15)
	jl	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	callq	_spa_name
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_printf
	jmp	LBB0_6
LBB0_7:
	movq	_spa_namespace_lock@GOTPCREL(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mutex_exit                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ztest_opts,4,2                 ## @ztest_opts
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s\n"

	.comm	_spa_namespace_lock,4,2         ## @spa_namespace_lock
L_.str.1:                               ## @.str.1
	.asciz	"\t%s\n"

	.no_dead_strip	_ztest_walk_pool_directory
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ztest_walk_pool_directory
_ztest_walk_pool_directory:             ; @ztest_walk_pool_directory
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x21, _ztest_opts@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ztest_opts@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #6
	b.lt	LBB0_2
; %bb.1:
	mov	x1, x0
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
LBB0_2:
Lloh4:
	adrp	x0, _spa_namespace_lock@GOTPAGE
Lloh5:
	ldr	x0, [x0, _spa_namespace_lock@GOTPAGEOFF]
	bl	_mutex_enter
	mov	x0, #0
	bl	_spa_next
	cbz	x0, LBB0_7
; %bb.3:
	mov	x19, x0
Lloh6:
	adrp	x20, l_.str.1@PAGE
Lloh7:
	add	x20, x20, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	bl	_spa_next
	mov	x19, x0
	cbz	x0, LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x21]
	cmp	w8, #6
	b.lt	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	bl	_spa_name
	mov	x1, x0
	mov	x0, x20
	bl	_printf
	b	LBB0_4
LBB0_7:
Lloh8:
	adrp	x0, _spa_namespace_lock@GOTPAGE
Lloh9:
	ldr	x0, [x0, _spa_namespace_lock@GOTPAGEOFF]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_mutex_exit
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_ztest_opts,4,2                 ; @ztest_opts
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s\n"

	.comm	_spa_namespace_lock,4,2         ; @spa_namespace_lock
l_.str.1:                               ; @.str.1
	.asciz	"\t%s\n"

	.no_dead_strip	_ztest_walk_pool_directory
.subsections_via_symbols
