	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ztest_fault_inject             ## -- Begin function ztest_fault_inject
	.p2align	4, 0x90
_ztest_fault_inject:                    ## @ztest_fault_inject
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsp, -144(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_ztest_shared@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	_ztest_spa@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movl	$-287388962, -120(%rbp)         ## imm = 0xEEDECADE
	movq	_MAXPATHLEN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r12d
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -96(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %r13d
	movq	%r13, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	_SPA_MAXBLOCKSHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_B_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	_ztest_vdev_lock@GOTPCREL(%rip), %rdi
	callq	_mutex_enter
	movq	_ztest_device_removal_active@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.1:
	movq	_ztest_vdev_lock@GOTPCREL(%rip), %rdi
	callq	_mutex_exit
LBB0_2:
	movq	-144(%rbp), %rsp                ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_3
## %bb.53:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movq	%r13, -136(%rbp)                ## 8-byte Spill
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movq	%r14, -128(%rbp)                ## 8-byte Spill
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_MAXFAULTS
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	movl	(%rbx), %edi
	movl	$1, %esi
	callq	_MAX
	movq	_ztest_opts@GOTPCREL(%rip), %r13
	movslq	(%r13), %rcx
	movslq	%eax, %r14
	imulq	%rcx, %r14
	movl	(%rbx), %eax
	movl	%eax, -116(%rbp)                ## 4-byte Spill
	movq	_ztest_vdev_lock@GOTPCREL(%rip), %rdi
	callq	_mutex_exit
	xorl	%edi, %edi
	testl	%r14d, %r14d
	setg	%dil
	callq	_ASSERT
	movq	_RW_READER@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_ztest_name_lock@GOTPCREL(%rip), %rdi
	callq	_rw_enter
	movq	_SCL_STATE@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_FTAG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %ecx
	movq	-112(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %rdi
	callq	_spa_config_enter
	movl	$2, %edi
	callq	_ztest_random
	testq	%rax, %rax
	je	LBB0_5
## %bb.21:
	movq	(%r12), %rdi
	testq	%rdi, %rdi
	movq	%r12, %r13
	je	LBB0_22
## %bb.23:
	movq	8(%r13), %rbx
	callq	_ztest_random
	movq	(%rbx,%rax,8), %rbx
	movl	8(%rbx), %r15d
	movl	12(%rbx), %esi
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_strcpy
	movl	12(%rbx), %esi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_strcpy
	movq	_INT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	$1, %r14d
	xorl	%eax, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_24
LBB0_5:
	movq	_B_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r12, %rdi
	callq	_ztest_random_vdev_top
	movq	%r13, %rbx
	movl	%eax, %r13d
	movq	%r14, %rdi
	callq	_ztest_random
	movq	%rax, %r15
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movl	4(%rax), %r9d
	addl	%r9d, %r15d
	movq	_ztest_dev_template@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	8(%rbx), %r8d
	movl	12(%rbx), %ecx
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	imull	%r14d, %r13d
	addl	%r13d, %r9d
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_snprintf
	movq	_ztest_dev_template@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	8(%rbx), %r8d
	movl	12(%rbx), %ecx
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	addl	%r15d, %r13d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-136(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movl	%r13d, %r9d
	callq	_snprintf
	movl	16(%r12), %edi
	movq	%r14, %rsi
	callq	_vdev_lookup_by_path
	testq	%rax, %rax
	movq	%r12, %r13
	je	LBB0_6
## %bb.7:
	movq	%rax, %r14
	xorl	%r15d, %r15d
	movq	48(%rax), %rdi
	cmpq	$0, (%rdi)
	movl	-52(%rbp), %r12d                ## 4-byte Reload
	je	LBB0_9
## %bb.8:
	movq	_B_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
LBB0_9:
	cmpl	$1, %r12d
	jne	LBB0_11
## %bb.10:
	movl	$1, %r12d
LBB0_13:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	_FTAG@GOTPCREL(%rip), %rcx
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_25
LBB0_22:
	movl	(%r15), %esi
	movq	_FTAG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	_spa_config_exit
	movq	_ztest_name_lock@GOTPCREL(%rip), %rdi
	callq	_rw_exit
	jmp	LBB0_2
LBB0_6:
	xorl	%r15d, %r15d
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movl	-52(%rbp), %r12d                ## 4-byte Reload
	jmp	LBB0_24
LBB0_11:
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_vdev_resilver_needed
	testl	%eax, %eax
	je	LBB0_14
## %bb.12:
	cmpq	$0, (%r14)
	je	LBB0_13
LBB0_14:
	movq	32(%r14), %rsi
	movq	40(%r14), %rbx
	leaq	L_.str(%rip), %rdi
	movl	%r12d, %edx
	callq	_zfs_dbgmsg
	testq	%rbx, %rbx
	je	LBB0_17
## %bb.15:
	movl	$3, %edi
	callq	_ztest_random
	testq	%rax, %rax
	je	LBB0_16
LBB0_17:
	movl	$2, %edi
	callq	_ztest_random
	movq	_B_TRUE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	testq	%rax, %rax
	je	LBB0_18
## %bb.20:
	movq	%rcx, 16(%r14)
	jmp	LBB0_19
LBB0_18:
	movq	%rcx, 24(%r14)
	jmp	LBB0_19
LBB0_16:
	movq	(%rbx), %rax
	movl	(%rax), %edi
	callq	_close
	movq	(%rbx), %rax
	movl	$-1, (%rax)
LBB0_19:
	movl	8(%r14), %r15d
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	-72(%rbp), %r14                 ## 8-byte Reload
LBB0_24:
	movq	_FTAG@GOTPCREL(%rip), %rcx
LBB0_25:
	movq	_SCL_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rcx), %edx
	movq	%r13, %rdi
	callq	_spa_config_exit
	movq	_ztest_name_lock@GOTPCREL(%rip), %rdi
	callq	_rw_exit
	cmpl	$2, %r12d
	setge	%al
	cmpq	$0, -88(%rbp)                   ## 8-byte Folded Reload
	setne	%cl
	orb	%al, %cl
	cmpb	$1, %cl
	jne	LBB0_35
## %bb.26:
	testl	%r15d, %r15d
	je	LBB0_35
## %bb.27:
	movl	$10, %edi
	callq	_ztest_random
	cmpq	$5, %rax
	ja	LBB0_33
## %bb.28:
	movl	$2, %edi
	callq	_ztest_random
	xorl	%ebx, %ebx
	testq	%rax, %rax
	jne	LBB0_30
## %bb.29:
	movq	_ZFS_OFFLINE_TEMPORARY@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_30:
	cmpq	$0, -88(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_32
## %bb.31:
	movq	_RW_WRITER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, -52(%rbp)                ## 4-byte Spill
	movq	%r14, %r12
	movq	_ztest_name_lock@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_rw_enter
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	%ebx, %edx
	callq	_vdev_offline
	movq	_EBUSY@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_VERIFY
	movq	%r14, %rdi
	movq	%r12, %r14
	movl	-52(%rbp), %r12d                ## 4-byte Reload
	callq	_rw_exit
	jmp	LBB0_34
LBB0_33:
	movq	_ztest_vdev_lock@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	callq	_mutex_enter
	movq	%r13, %rdi
	movl	%r15d, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_vdev_online
	movq	%rbx, %rdi
	callq	_mutex_exit
	jmp	LBB0_34
LBB0_32:
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	%ebx, %edx
	callq	_vdev_offline
	movq	_EBUSY@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_VERIFY
LBB0_34:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
LBB0_35:
	testl	%r12d, %r12d
	je	LBB0_2
## %bb.36:
	movq	_O_RDWR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_open
	cmpl	$-1, %eax
	je	LBB0_2
## %bb.37:
	movq	-128(%rbp), %r15                ## 8-byte Reload
	leal	2(%r15), %ebx
	movq	_SEEK_END@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_lseek
	movl	%ebx, %ecx
	shll	%cl, %r14d
	movslq	%r14d, %rsi
	movq	%rax, %rcx
	orq	%rsi, %rcx
	shrq	$32, %rcx
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%rsi, -112(%rbp)                ## 8-byte Spill
	je	LBB0_38
## %bb.39:
	xorl	%edx, %edx
	divq	%rsi
	jmp	LBB0_40
LBB0_38:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%r14d
                                        ## kill: def $eax killed $eax def $rax
LBB0_40:
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	-80(%rbp), %r12                 ## 8-byte Reload
                                        ## kill: def $r12d killed $r12d killed $r12 def $r12
	movl	%ebx, %ecx
	shll	%cl, %r12d
	incb	%r15b
	movl	$1, %ebx
	movl	%r15d, %ecx
	shlq	%cl, %rbx
	movl	$-999, %r15d                    ## imm = 0xFC19
	jmp	LBB0_41
	.p2align	4, 0x90
LBB0_43:                                ##   in Loop: Header=BB0_41 Depth=1
	incl	%r15d
	je	LBB0_44
LBB0_41:                                ## =>This Inner Loop Header: Depth=1
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_ztest_random
	movq	%rax, %r13
	imulq	-112(%rbp), %r13                ## 8-byte Folded Reload
	addq	%r12, %r13
	movq	%rbx, %rdi
	callq	_ztest_random
	movq	%rax, %r14
	andl	$-8, %r14d
	addq	%r13, %r14
	testb	$1, -80(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_45
## %bb.42:                              ##   in Loop: Header=BB0_41 Depth=1
	movq	_VDEV_LABEL_START_SIZE@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jg	LBB0_43
LBB0_45:                                ##   in Loop: Header=BB0_41 Depth=1
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movl	$4, %esi
	callq	_P2ALIGN
	testb	$1, -80(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_47
## %bb.46:                              ##   in Loop: Header=BB0_41 Depth=1
	movslq	%r14d, %rcx
	addq	$4, %rcx
	movq	_VDEV_LABEL_END_SIZE@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	cltq
	subq	%rdx, %rax
	cmpq	%rax, %rcx
	ja	LBB0_43
LBB0_47:                                ##   in Loop: Header=BB0_41 Depth=1
	movq	_ztest_vdev_lock@GOTPCREL(%rip), %rdi
	callq	_mutex_enter
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movl	-116(%rbp), %ecx                ## 4-byte Reload
	cmpl	(%rax), %ecx
	jne	LBB0_48
## %bb.49:                              ##   in Loop: Header=BB0_41 Depth=1
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	leaq	-120(%rbp), %rsi
	movl	$4, %edx
	movl	%r14d, %ecx
	callq	_pwrite
	cmpl	$4, %eax
	je	LBB0_51
## %bb.50:                              ##   in Loop: Header=BB0_41 Depth=1
	movl	$1, %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %edx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	callq	_fatal
LBB0_51:                                ##   in Loop: Header=BB0_41 Depth=1
	movq	_ztest_vdev_lock@GOTPCREL(%rip), %rdi
	callq	_mutex_exit
	movq	_ztest_opts@GOTPCREL(%rip), %rax
	cmpl	$7, 4(%rax)
	jl	LBB0_43
## %bb.52:                              ##   in Loop: Header=BB0_41 Depth=1
	leaq	L_.str.2(%rip), %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	%r14d, %edx
	callq	_printf
	jmp	LBB0_43
LBB0_48:
	movq	_ztest_vdev_lock@GOTPCREL(%rip), %rdi
	callq	_mutex_exit
LBB0_44:
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	callq	_close
	jmp	LBB0_2
LBB0_3:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ztest_shared,8,3               ## @ztest_shared
	.comm	_ztest_spa,8,3                  ## @ztest_spa
	.comm	_MAXPATHLEN,4,2                 ## @MAXPATHLEN
	.comm	_SPA_MAXBLOCKSHIFT,4,2          ## @SPA_MAXBLOCKSHIFT
	.comm	_B_FALSE,8,3                    ## @B_FALSE
	.comm	_ztest_vdev_lock,4,2            ## @ztest_vdev_lock
	.comm	_ztest_device_removal_active,8,3 ## @ztest_device_removal_active
	.comm	_ztest_opts,16,2                ## @ztest_opts
	.comm	_ztest_name_lock,4,2            ## @ztest_name_lock
	.comm	_RW_READER,4,2                  ## @RW_READER
	.comm	_SCL_STATE,4,2                  ## @SCL_STATE
	.comm	_FTAG,4,2                       ## @FTAG
	.comm	_B_TRUE,8,3                     ## @B_TRUE
	.comm	_ztest_dev_template,8,3         ## @ztest_dev_template
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"injecting fault to vdev %llu; maxfaults=%d"

	.comm	_INT_MAX,4,2                    ## @INT_MAX
	.comm	_ZFS_OFFLINE_TEMPORARY,4,2      ## @ZFS_OFFLINE_TEMPORARY
	.comm	_RW_WRITER,4,2                  ## @RW_WRITER
	.comm	_EBUSY,8,3                      ## @EBUSY
	.comm	_O_RDWR,4,2                     ## @O_RDWR
	.comm	_SEEK_END,4,2                   ## @SEEK_END
	.comm	_VDEV_LABEL_START_SIZE,4,2      ## @VDEV_LABEL_START_SIZE
	.comm	_VDEV_LABEL_END_SIZE,4,2        ## @VDEV_LABEL_END_SIZE
L_.str.1:                               ## @.str.1
	.asciz	"can't inject bad word at 0x%llx in %s"

L_.str.2:                               ## @.str.2
	.asciz	"injected bad word into %s, offset 0x%llx\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ztest_fault_inject             ; -- Begin function ztest_fault_inject
	.p2align	2
_ztest_fault_inject:                    ; @ztest_fault_inject
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #80
	mov	x26, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _ztest_shared@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ztest_shared@GOTPAGEOFF]
Lloh5:
	ldr	x28, [x8]
Lloh6:
	adrp	x8, _ztest_spa@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ztest_spa@GOTPAGEOFF]
Lloh8:
	ldr	x20, [x8]
	mov	w8, #51934
	movk	w8, #61150, lsl #16
	stur	w8, [x29, #-92]
Lloh9:
	adrp	x8, _MAXPATHLEN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MAXPATHLEN@GOTPAGEOFF]
	ldr	w24, [x8]
	mov	x9, x24
Lloh11:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh12:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x24, #15
	and	x10, x10, #0x1fffffff0
	sub	x23, x9, x10
	mov	sp, x23
	ldr	w25, [x8]
	mov	x9, x25
Lloh13:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh14:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x25, #15
	and	x9, x9, #0x1fffffff0
	sub	x19, x8, x9
	mov	sp, x19
Lloh15:
	adrp	x8, _SPA_MAXBLOCKSHIFT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SPA_MAXBLOCKSHIFT@GOTPAGEOFF]
Lloh17:
	ldr	w21, [x8]
Lloh18:
	adrp	x8, _B_FALSE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _B_FALSE@GOTPAGEOFF]
Lloh20:
	ldr	x22, [x8]
Lloh21:
	adrp	x0, _ztest_vdev_lock@GOTPAGE
Lloh22:
	ldr	x0, [x0, _ztest_vdev_lock@GOTPAGEOFF]
	bl	_mutex_enter
Lloh23:
	adrp	x8, _ztest_device_removal_active@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ztest_device_removal_active@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.1:
Lloh26:
	adrp	x0, _ztest_vdev_lock@GOTPAGE
Lloh27:
	ldr	x0, [x0, _ztest_vdev_lock@GOTPAGEOFF]
	bl	_mutex_exit
LBB0_2:
	mov	sp, x26
	ldur	x8, [x29, #-88]
Lloh28:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh29:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_44
; %bb.3:
	sub	sp, x29, #80
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_4:
	stur	x22, [x29, #-128]               ; 8-byte Folded Spill
	stur	w21, [x29, #-140]               ; 4-byte Folded Spill
	stur	x19, [x29, #-104]               ; 8-byte Folded Spill
	bl	_MAXFAULTS
	mov	x27, x0
	ldr	w0, [x28]
	mov	w1, #1
	bl	_MAX
                                        ; kill: def $w0 killed $w0 def $x0
Lloh31:
	adrp	x21, _ztest_opts@GOTPAGE
Lloh32:
	ldr	x21, [x21, _ztest_opts@GOTPAGEOFF]
	ldrsw	x8, [x21]
	sxtw	x9, w0
	mul	x22, x8, x9
	ldr	w8, [x28]
	stur	w8, [x29, #-108]                ; 4-byte Folded Spill
Lloh33:
	adrp	x0, _ztest_vdev_lock@GOTPAGE
Lloh34:
	ldr	x0, [x0, _ztest_vdev_lock@GOTPAGEOFF]
	bl	_mutex_exit
	cmp	w22, #0
	cset	w0, gt
	bl	_ASSERT
Lloh35:
	adrp	x19, _RW_READER@GOTPAGE
Lloh36:
	ldr	x19, [x19, _RW_READER@GOTPAGEOFF]
	ldr	w1, [x19]
Lloh37:
	adrp	x0, _ztest_name_lock@GOTPAGE
Lloh38:
	ldr	x0, [x0, _ztest_name_lock@GOTPAGEOFF]
	bl	_rw_enter
Lloh39:
	adrp	x8, _SCL_STATE@GOTPAGE
Lloh40:
	ldr	x8, [x8, _SCL_STATE@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
Lloh42:
	adrp	x8, _FTAG@GOTPAGE
Lloh43:
	ldr	x8, [x8, _FTAG@GOTPAGEOFF]
Lloh44:
	ldr	w2, [x8]
	ldr	w3, [x19]
	mov	x0, x20
	bl	_spa_config_enter
	mov	w0, #2
	bl	_ztest_random
	cbz	x0, LBB0_7
; %bb.5:
	ldr	x0, [x20]
	cbz	x0, LBB0_10
; %bb.6:
	stur	x28, [x29, #-120]               ; 8-byte Folded Spill
	ldr	x19, [x20, #8]
	bl	_ztest_random
	ldr	x19, [x19, x0, lsl #3]
	ldp	w24, w1, [x19, #8]
	mov	x0, x23
	bl	_strcpy
	ldr	w1, [x19, #12]
	ldur	x19, [x29, #-104]               ; 8-byte Folded Reload
	mov	x0, x19
	bl	_strcpy
	mov	w28, #0
Lloh45:
	adrp	x8, _INT_MAX@GOTPAGE
Lloh46:
	ldr	x8, [x8, _INT_MAX@GOTPAGEOFF]
Lloh47:
	ldr	w27, [x8]
	mov	w25, #1
	b	LBB0_12
LBB0_7:
	stur	x26, [x29, #-136]               ; 8-byte Folded Spill
Lloh48:
	adrp	x8, _B_TRUE@GOTPAGE
Lloh49:
	ldr	x8, [x8, _B_TRUE@GOTPAGEOFF]
Lloh50:
	ldr	x1, [x8]
	mov	x0, x20
	bl	_ztest_random_vdev_top
	mov	x26, x0
	mov	x0, x22
	bl	_ztest_random
	stur	x28, [x29, #-120]               ; 8-byte Folded Spill
	ldr	w8, [x28, #4]
Lloh51:
	adrp	x19, _ztest_dev_template@GOTPAGE
Lloh52:
	ldr	x19, [x19, _ztest_dev_template@GOTPAGEOFF]
	add	w28, w8, w0
	ldr	x2, [x19]
	ldp	w4, w3, [x21, #8]
	stur	x22, [x29, #-152]               ; 8-byte Folded Spill
	mul	w26, w26, w22
	add	w5, w8, w26
	mov	x0, x23
	mov	x1, x24
	bl	_snprintf
	ldr	x2, [x19]
	add	w5, w28, w26
	ldp	w4, w3, [x21, #8]
	ldur	x19, [x29, #-104]               ; 8-byte Folded Reload
	mov	x0, x19
	mov	x1, x25
	bl	_snprintf
	ldr	w0, [x20, #16]
	mov	x1, x23
	bl	_vdev_lookup_by_path
	cbz	x0, LBB0_11
; %bb.8:
	mov	x23, x0
	ldr	x0, [x0, #48]
	ldr	x8, [x0]
Lloh53:
	adrp	x21, _B_TRUE@GOTPAGE
Lloh54:
	ldr	x21, [x21, _B_TRUE@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x8, #0
	ldp	x26, x8, [x29, #-136]           ; 16-byte Folded Reload
	csel	x8, x8, x9, eq
	stur	x8, [x29, #-128]                ; 8-byte Folded Spill
	cmp	w27, #1
	ldur	x25, [x29, #-152]               ; 8-byte Folded Reload
	b.ne	LBB0_32
LBB0_9:
	mov	w24, #0
	b	LBB0_12
LBB0_10:
Lloh55:
	adrp	x8, _SCL_STATE@GOTPAGE
Lloh56:
	ldr	x8, [x8, _SCL_STATE@GOTPAGEOFF]
Lloh57:
	ldr	w1, [x8]
Lloh58:
	adrp	x8, _FTAG@GOTPAGE
Lloh59:
	ldr	x8, [x8, _FTAG@GOTPAGEOFF]
Lloh60:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_spa_config_exit
Lloh61:
	adrp	x0, _ztest_name_lock@GOTPAGE
Lloh62:
	ldr	x0, [x0, _ztest_name_lock@GOTPAGEOFF]
	bl	_rw_exit
	b	LBB0_2
LBB0_11:
	mov	w24, #0
	ldur	x26, [x29, #-136]               ; 8-byte Folded Reload
	ldur	x25, [x29, #-152]               ; 8-byte Folded Reload
LBB0_12:
	ldur	x21, [x29, #-128]               ; 8-byte Folded Reload
Lloh63:
	adrp	x8, _SCL_STATE@GOTPAGE
Lloh64:
	ldr	x8, [x8, _SCL_STATE@GOTPAGEOFF]
Lloh65:
	adrp	x9, _FTAG@GOTPAGE
Lloh66:
	ldr	x9, [x9, _FTAG@GOTPAGEOFF]
LBB0_13:
	ldr	w1, [x8]
	ldr	w2, [x9]
	mov	x0, x20
	bl	_spa_config_exit
Lloh67:
	adrp	x0, _ztest_name_lock@GOTPAGE
Lloh68:
	ldr	x0, [x0, _ztest_name_lock@GOTPAGEOFF]
	bl	_rw_exit
	cmp	x21, #0
	ccmp	w27, #1, #0, eq
	b.le	LBB0_19
; %bb.14:
	cbz	w24, LBB0_19
; %bb.15:
	mov	w0, #10
	bl	_ztest_random
	cmp	x0, #5
	b.hi	LBB0_18
; %bb.16:
	mov	w0, #2
	bl	_ztest_random
Lloh69:
	adrp	x8, _ZFS_OFFLINE_TEMPORARY@GOTPAGE
Lloh70:
	ldr	x8, [x8, _ZFS_OFFLINE_TEMPORARY@GOTPAGEOFF]
Lloh71:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w23, w8, wzr, eq
	cbz	x21, LBB0_40
; %bb.17:
Lloh72:
	adrp	x8, _RW_WRITER@GOTPAGE
Lloh73:
	ldr	x8, [x8, _RW_WRITER@GOTPAGEOFF]
Lloh74:
	ldr	w1, [x8]
	mov	x21, x25
Lloh75:
	adrp	x25, _ztest_name_lock@GOTPAGE
Lloh76:
	ldr	x25, [x25, _ztest_name_lock@GOTPAGEOFF]
	mov	x0, x25
	bl	_rw_enter
	mov	x0, x20
	mov	x1, x24
	mov	x2, x23
	bl	_vdev_offline
Lloh77:
	adrp	x8, _EBUSY@GOTPAGE
Lloh78:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh79:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w0, ne
	bl	_VERIFY
	mov	x0, x25
	mov	x25, x21
	bl	_rw_exit
	cbnz	w27, LBB0_20
	b	LBB0_2
LBB0_18:
Lloh80:
	adrp	x23, _ztest_vdev_lock@GOTPAGE
Lloh81:
	ldr	x23, [x23, _ztest_vdev_lock@GOTPAGEOFF]
	mov	x0, x23
	bl	_mutex_enter
	mov	x0, x20
	mov	x1, x24
	mov	w2, #0
	mov	x3, #0
	bl	_vdev_online
	mov	x0, x23
	bl	_mutex_exit
LBB0_19:
	cbz	w27, LBB0_2
LBB0_20:
Lloh82:
	adrp	x8, _O_RDWR@GOTPAGE
Lloh83:
	ldr	x8, [x8, _O_RDWR@GOTPAGEOFF]
Lloh84:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_open
	cmn	w0, #1
	b.eq	LBB0_2
; %bb.21:
	mov	x20, x0
	stur	x26, [x29, #-136]               ; 8-byte Folded Spill
	ldur	w21, [x29, #-140]               ; 4-byte Folded Reload
	add	w19, w21, #2
Lloh85:
	adrp	x8, _SEEK_END@GOTPAGE
Lloh86:
	ldr	x8, [x8, _SEEK_END@GOTPAGEOFF]
Lloh87:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_lseek
	mov	x22, x0
	lsl	w8, w25, w19
	sxtw	x24, w8
	lsl	w25, w28, w19
	add	w8, w21, #1
	mov	w9, #1
	lsl	x21, x9, x8
Lloh88:
	adrp	x23, _ztest_vdev_lock@GOTPAGE
Lloh89:
	ldr	x23, [x23, _ztest_vdev_lock@GOTPAGEOFF]
	mov	w19, #-999
	udiv	x26, x0, x24
	b	LBB0_23
LBB0_22:                                ;   in Loop: Header=BB0_23 Depth=1
	adds	w19, w19, #1
	b.hs	LBB0_39
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x26
	bl	_ztest_random
	madd	x27, x0, x24, x25
	mov	x0, x21
	bl	_ztest_random
	and	x8, x0, #0xfffffff8
	add	x27, x27, x8
	tbnz	w28, #0, LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=1
Lloh90:
	adrp	x8, _VDEV_LABEL_START_SIZE@GOTPAGE
Lloh91:
	ldr	x8, [x8, _VDEV_LABEL_START_SIZE@GOTPAGEOFF]
Lloh92:
	ldr	w8, [x8]
	cmp	w8, w27
	b.gt	LBB0_22
LBB0_25:                                ;   in Loop: Header=BB0_23 Depth=1
	mov	x0, x22
	mov	w1, #4
	bl	_P2ALIGN
                                        ; kill: def $w0 killed $w0 def $x0
	tbz	w28, #0, LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_23 Depth=1
	sxtw	x8, w27
	add	x8, x8, #4
Lloh93:
	adrp	x9, _VDEV_LABEL_END_SIZE@GOTPAGE
Lloh94:
	ldr	x9, [x9, _VDEV_LABEL_END_SIZE@GOTPAGEOFF]
Lloh95:
	ldrsw	x9, [x9]
	sxtw	x10, w0
	sub	x9, x10, x9
	cmp	x8, x9
	b.hi	LBB0_22
LBB0_27:                                ;   in Loop: Header=BB0_23 Depth=1
	mov	x0, x23
	bl	_mutex_enter
	ldur	x8, [x29, #-120]                ; 8-byte Folded Reload
	ldr	w8, [x8]
	ldur	w9, [x29, #-108]                ; 4-byte Folded Reload
	cmp	w9, w8
	b.ne	LBB0_38
; %bb.28:                               ;   in Loop: Header=BB0_23 Depth=1
	sub	x1, x29, #92
	mov	x0, x20
	mov	w2, #4
	mov	x3, x27
	bl	_pwrite
	cmp	w0, #4
	b.eq	LBB0_30
; %bb.29:                               ;   in Loop: Header=BB0_23 Depth=1
	mov	w0, #1
Lloh96:
	adrp	x1, l_.str.1@PAGE
Lloh97:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x27
	ldur	x3, [x29, #-104]                ; 8-byte Folded Reload
	bl	_fatal
LBB0_30:                                ;   in Loop: Header=BB0_23 Depth=1
	mov	x0, x23
	bl	_mutex_exit
Lloh98:
	adrp	x8, _ztest_opts@GOTPAGE
Lloh99:
	ldr	x8, [x8, _ztest_opts@GOTPAGEOFF]
Lloh100:
	ldr	w8, [x8, #4]
	cmp	w8, #7
	b.lt	LBB0_22
; %bb.31:                               ;   in Loop: Header=BB0_23 Depth=1
Lloh101:
	adrp	x0, l_.str.2@PAGE
Lloh102:
	add	x0, x0, l_.str.2@PAGEOFF
	ldur	x1, [x29, #-104]                ; 8-byte Folded Reload
	mov	x2, x27
	bl	_printf
	b	LBB0_22
LBB0_32:
	mov	x1, #0
	mov	x2, #0
	bl	_vdev_resilver_needed
	cbz	w0, LBB0_34
; %bb.33:
	ldr	x8, [x23]
	cbz	x8, LBB0_9
LBB0_34:
	ldp	x1, x19, [x23, #32]
Lloh103:
	adrp	x0, l_.str@PAGE
Lloh104:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x27
	bl	_zfs_dbgmsg
	cbz	x19, LBB0_36
; %bb.35:
	mov	w0, #3
	bl	_ztest_random
	cbz	x0, LBB0_42
LBB0_36:
	mov	w0, #2
	bl	_ztest_random
	ldr	x8, [x21]
	cbz	x0, LBB0_41
; %bb.37:
	str	x8, [x23, #16]
	b	LBB0_43
LBB0_38:
Lloh105:
	adrp	x0, _ztest_vdev_lock@GOTPAGE
Lloh106:
	ldr	x0, [x0, _ztest_vdev_lock@GOTPAGEOFF]
	bl	_mutex_exit
LBB0_39:
	mov	x0, x20
	bl	_close
	ldur	x26, [x29, #-136]               ; 8-byte Folded Reload
	b	LBB0_2
LBB0_40:
	mov	x0, x20
	mov	x1, x24
	mov	x2, x23
	bl	_vdev_offline
Lloh107:
	adrp	x8, _EBUSY@GOTPAGE
Lloh108:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh109:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w0, ne
	bl	_VERIFY
	cbnz	w27, LBB0_20
	b	LBB0_2
LBB0_41:
	str	x8, [x23, #24]
	b	LBB0_43
LBB0_42:
	ldr	x8, [x19]
	ldr	w0, [x8]
	bl	_close
	ldr	x8, [x19]
	mov	w9, #-1
	str	w9, [x8]
LBB0_43:
	ldur	x19, [x29, #-104]               ; 8-byte Folded Reload
	ldur	x21, [x29, #-128]               ; 8-byte Folded Reload
Lloh110:
	adrp	x8, _SCL_STATE@GOTPAGE
Lloh111:
	ldr	x8, [x8, _SCL_STATE@GOTPAGEOFF]
Lloh112:
	adrp	x9, _FTAG@GOTPAGE
Lloh113:
	ldr	x9, [x9, _FTAG@GOTPAGEOFF]
	ldr	w24, [x23, #8]
	b	LBB0_13
LBB0_44:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGot	Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGot	Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGot	Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpAdd	Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpAdd	Lloh101, Lloh102
	.loh AdrpAdd	Lloh103, Lloh104
	.loh AdrpLdrGot	Lloh105, Lloh106
	.loh AdrpLdrGotLdr	Lloh107, Lloh108, Lloh109
	.loh AdrpLdrGot	Lloh112, Lloh113
	.loh AdrpLdrGot	Lloh110, Lloh111
	.cfi_endproc
                                        ; -- End function
	.comm	_ztest_shared,8,3               ; @ztest_shared
	.comm	_ztest_spa,8,3                  ; @ztest_spa
	.comm	_MAXPATHLEN,4,2                 ; @MAXPATHLEN
	.comm	_SPA_MAXBLOCKSHIFT,4,2          ; @SPA_MAXBLOCKSHIFT
	.comm	_B_FALSE,8,3                    ; @B_FALSE
	.comm	_ztest_vdev_lock,4,2            ; @ztest_vdev_lock
	.comm	_ztest_device_removal_active,8,3 ; @ztest_device_removal_active
	.comm	_ztest_opts,16,2                ; @ztest_opts
	.comm	_ztest_name_lock,4,2            ; @ztest_name_lock
	.comm	_RW_READER,4,2                  ; @RW_READER
	.comm	_SCL_STATE,4,2                  ; @SCL_STATE
	.comm	_FTAG,4,2                       ; @FTAG
	.comm	_B_TRUE,8,3                     ; @B_TRUE
	.comm	_ztest_dev_template,8,3         ; @ztest_dev_template
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"injecting fault to vdev %llu; maxfaults=%d"

	.comm	_INT_MAX,4,2                    ; @INT_MAX
	.comm	_ZFS_OFFLINE_TEMPORARY,4,2      ; @ZFS_OFFLINE_TEMPORARY
	.comm	_RW_WRITER,4,2                  ; @RW_WRITER
	.comm	_EBUSY,8,3                      ; @EBUSY
	.comm	_O_RDWR,4,2                     ; @O_RDWR
	.comm	_SEEK_END,4,2                   ; @SEEK_END
	.comm	_VDEV_LABEL_START_SIZE,4,2      ; @VDEV_LABEL_START_SIZE
	.comm	_VDEV_LABEL_END_SIZE,4,2        ; @VDEV_LABEL_END_SIZE
l_.str.1:                               ; @.str.1
	.asciz	"can't inject bad word at 0x%llx in %s"

l_.str.2:                               ; @.str.2
	.asciz	"injected bad word into %s, offset 0x%llx\n"

.subsections_via_symbols
