	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_perform_action                 ## -- Begin function perform_action
	.p2align	4, 0x90
_perform_action:                        ## @perform_action
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_VDEV_STATE_DEGRADED@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	sete	%al
	movq	_VDEV_STATE_FAULTED@GOTPCREL(%rip), %rcx
	cmpl	%edx, (%rcx)
	movq	$0, -32(%rbp)
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_ASSERT
	xorl	%edi, %edi
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_strlcpy
	movl	(%r14), %eax
	movl	%eax, -36(%rbp)
	movl	%ebx, -40(%rbp)
	movq	_zfs_fd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ZFS_IOC_VDEV_SET_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-40(%rbp), %rdx
	callq	_ioctl
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	movl	%ecx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VDEV_STATE_DEGRADED,4,2        ## @VDEV_STATE_DEGRADED
	.comm	_VDEV_STATE_FAULTED,4,2         ## @VDEV_STATE_FAULTED
	.comm	_zfs_fd,4,2                     ## @zfs_fd
	.comm	_ZFS_IOC_VDEV_SET_STATE,4,2     ## @ZFS_IOC_VDEV_SET_STATE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_perform_action                 ; -- Begin function perform_action
	.p2align	2
_perform_action:                        ; @perform_action
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x2
	mov	x20, x1
	mov	x21, x0
	str	xzr, [sp, #8]
Lloh0:
	adrp	x8, _VDEV_STATE_DEGRADED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VDEV_STATE_DEGRADED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
Lloh3:
	adrp	x8, _VDEV_STATE_FAULTED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VDEV_STATE_FAULTED@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ccmp	w8, w2, #4, ne
	cset	w0, eq
	bl	_ASSERT
	mov	w0, #0
	mov	x1, x21
	mov	w2, #4
	bl	_strlcpy
	ldr	w8, [x20]
	stp	w19, w8, [sp]
Lloh6:
	adrp	x8, _zfs_fd@GOTPAGE
Lloh7:
	ldr	x8, [x8, _zfs_fd@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _ZFS_IOC_VDEV_SET_STATE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ZFS_IOC_VDEV_SET_STATE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x2, sp
	bl	_ioctl
	cmp	x0, #0
	cset	w0, ne
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VDEV_STATE_DEGRADED,4,2        ; @VDEV_STATE_DEGRADED
	.comm	_VDEV_STATE_FAULTED,4,2         ; @VDEV_STATE_FAULTED
	.comm	_zfs_fd,4,2                     ; @zfs_fd
	.comm	_ZFS_IOC_VDEV_SET_STATE,4,2     ; @ZFS_IOC_VDEV_SET_STATE
.subsections_via_symbols
