	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_scrub_callback                 ## -- Begin function scrub_callback
	.p2align	4, 0x90
_scrub_callback:                        ## @scrub_callback
	.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	%rsi, %r15
	movq	%rdi, %rbx
	callq	_zpool_get_state
	movq	_POOL_STATE_UNAVAIL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	L_.str(%rip), %rdi
	callq	_gettext
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_zpool_get_name
	movl	%r14d, %edi
	movq	%r15, %rsi
	movq	%rax, %rdx
	callq	_fprintf
	movl	$1, %eax
	jmp	LBB0_7
LBB0_2:
	movq	(%r15), %rsi
	movl	8(%r15), %edx
	movq	%rbx, %rdi
	callq	_zpool_scan
	movl	%eax, %r14d
	testl	%eax, %eax
	je	LBB0_3
LBB0_6:
	xorl	%eax, %eax
	testl	%r14d, %r14d
	setne	%al
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%rbx, %rdi
	callq	_zpool_has_checkpoint
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	(%r15), %rax
	movq	_POOL_SCAN_SCRUB@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rdi
	callq	_gettext
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_zpool_get_name
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_printf
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_POOL_STATE_UNAVAIL,8,3         ## @POOL_STATE_UNAVAIL
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot scrub '%s': pool is currently unavailable\n"

	.comm	_POOL_SCAN_SCRUB,8,3            ## @POOL_SCAN_SCRUB
L_.str.1:                               ## @.str.1
	.asciz	"warning: will not scrub state that belongs to the checkpoint of pool '%s'\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_scrub_callback                 ; -- Begin function scrub_callback
	.p2align	2
_scrub_callback:                        ; @scrub_callback
	.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	x21, x1
	mov	x19, x0
	bl	_zpool_get_state
Lloh0:
	adrp	x8, _POOL_STATE_UNAVAIL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _POOL_STATE_UNAVAIL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _stderr@GOTPAGE
Lloh4:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_gettext
	mov	x21, x0
	mov	x0, x19
	bl	_zpool_get_name
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_fprintf
	mov	w0, #1
	b	LBB0_4
LBB0_2:
	ldr	x1, [x21]
	ldr	w2, [x21, #8]
	mov	x0, x19
	bl	_zpool_scan
	mov	x20, x0
	cbz	w0, LBB0_5
LBB0_3:
	cmp	w20, #0
	cset	w0, ne
LBB0_4:
	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
LBB0_5:
	mov	x0, x19
	bl	_zpool_has_checkpoint
	cbz	x0, LBB0_3
; %bb.6:
	ldr	x8, [x21]
Lloh8:
	adrp	x9, _POOL_SCAN_SCRUB@GOTPAGE
Lloh9:
	ldr	x9, [x9, _POOL_SCAN_SCRUB@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.7:
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_gettext
	mov	x21, x0
	mov	x0, x19
	bl	_zpool_get_name
	mov	x1, x0
	mov	x0, x21
	bl	_printf
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_POOL_STATE_UNAVAIL,8,3         ; @POOL_STATE_UNAVAIL
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot scrub '%s': pool is currently unavailable\n"

	.comm	_POOL_SCAN_SCRUB,8,3            ; @POOL_SCAN_SCRUB
l_.str.1:                               ; @.str.1
	.asciz	"warning: will not scrub state that belongs to the checkpoint of pool '%s'\n"

.subsections_via_symbols
