	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ztest_random_vdev_top
_ztest_random_vdev_top:                 ## @ztest_random_vdev_top
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	(%rdi), %r12
	movq	_SCL_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RW_READER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_spa_config_held
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_ASSERT
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%r12), %edi
	callq	_ztest_random
	movq	%rax, %r15
	movq	(%r12), %rax
	movq	(%rax,%r15,8), %rbx
	movq	%rbx, %rdi
	callq	_vdev_is_concrete
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	testl	%r14d, %r14d
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, 24(%rbx)
	jne	LBB0_1
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	16(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.6:
	movq	%r15, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SCL_ALL,4,2                    ## @SCL_ALL
	.comm	_RW_READER,4,2                  ## @RW_READER
	.no_dead_strip	_ztest_random_vdev_top
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ztest_random_vdev_top
_ztest_random_vdev_top:                 ; @ztest_random_vdev_top
	.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
	mov	x19, x1
	ldr	x22, [x0]
Lloh0:
	adrp	x8, _SCL_ALL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SCL_ALL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _RW_READER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RW_READER@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_spa_config_held
	cmp	x0, #0
	cset	w0, ne
	bl	_ASSERT
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22, #8]
	bl	_ztest_random
	mov	x20, x0
	ldr	x8, [x22]
	ldr	x21, [x8, x0, lsl #3]
	mov	x0, x21
	bl	_vdev_is_concrete
	cbz	w0, LBB0_1
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	cbnz	w19, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x21, #24]
	cbnz	x8, LBB0_1
LBB0_4:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x8]
	cbz	x8, LBB0_1
; %bb.6:
	mov	x0, x20
	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
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SCL_ALL,4,2                    ; @SCL_ALL
	.comm	_RW_READER,4,2                  ; @RW_READER
	.no_dead_strip	_ztest_random_vdev_top
.subsections_via_symbols
