	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_file
_check_file:                            ## @check_file
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_open
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movl	%eax, %r13d
	movq	_g_zfs@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-44(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	leaq	-64(%rbp), %r8
	movl	%r13d, %esi
	callq	_zpool_in_use
	xorl	%ebx, %ebx
	testq	%rax, %rax
	jne	LBB0_17
## %bb.3:
	cmpq	$0, -64(%rbp)
	je	LBB0_17
## %bb.4:
	movl	$-129, %eax
	addl	-44(%rbp), %eax
	cmpl	$2, %eax
	ja	LBB0_5
## %bb.6:
	cltq
	leaq	l_reltable.check_file(%rip), %rcx
	movslq	(%rcx,%rax,4), %rdi
	addq	%rcx, %rdi
	jmp	LBB0_7
LBB0_1:
	xorl	%ebx, %ebx
	jmp	LBB0_18
LBB0_5:
	leaq	L_.str.3(%rip), %rdi
LBB0_7:
	callq	_gettext
	movl	-44(%rbp), %ecx
	testq	%r12, %r12
	je	LBB0_9
## %bb.8:
	xorl	%ebx, %ebx
	cmpl	$128, %ecx
	je	LBB0_18
LBB0_9:
	testq	%r15, %r15
	je	LBB0_12
## %bb.10:
	cmpl	$131, %ecx
	je	LBB0_12
## %bb.11:
	xorl	%ebx, %ebx
	cmpl	$128, %ecx
	jne	LBB0_16
LBB0_12:
	cmpl	$128, %ecx
	jne	LBB0_14
## %bb.13:
	leaq	L_.str.4(%rip), %rdi
	callq	_gettext
	movq	-56(%rbp), %rdx
	movq	%rax, %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_vdev_error
	jmp	LBB0_15
LBB0_14:
	leaq	L_.str.5(%rip), %rdi
	movq	%rax, %rbx
	callq	_gettext
	movq	-56(%rbp), %rcx
	movq	%rax, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_vdev_error
LBB0_15:
	movl	$-1, %ebx
LBB0_16:
	movq	-56(%rbp), %rdi
	callq	_free
LBB0_17:
	movl	%r13d, %edi
	callq	_close
LBB0_18:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.comm	_g_zfs,4,2                      ## @g_zfs
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"active"

L_.str.1:                               ## @.str.1
	.asciz	"exported"

L_.str.2:                               ## @.str.2
	.asciz	"potentially active"

L_.str.3:                               ## @.str.3
	.asciz	"unknown"

L_.str.4:                               ## @.str.4
	.asciz	"%s is reserved as a hot spare for pool %s\n"

L_.str.5:                               ## @.str.5
	.asciz	"%s is part of %s pool '%s'\n"

	.no_dead_strip	_check_file
	.section	__TEXT,__const
	.p2align	2                               ## @reltable.check_file
l_reltable.check_file:
	.long	L_.str.2-l_reltable.check_file
	.long	L_.str.1-l_reltable.check_file
	.long	L_.str-l_reltable.check_file

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_file
_check_file:                            ; @check_file
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x22, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_open
	tbnz	w0, #31, LBB0_8
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x8, _g_zfs@GOTPAGE
Lloh4:
	ldr	x8, [x8, _g_zfs@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	add	x2, sp, #36
	add	x3, sp, #40
	add	x4, sp, #24
	mov	x1, x19
	bl	_zpool_in_use
	ldr	x8, [sp, #24]
	cmp	x0, #0
	ccmp	x8, #0, #4, eq
	b.ne	LBB0_3
; %bb.2:
	mov	w20, #0
	b	LBB0_18
LBB0_3:
	ldr	w8, [sp, #36]
	sub	w8, w8, #129
	cmp	w8, #2
	b.hi	LBB0_5
; %bb.4:
Lloh6:
	adrp	x9, l_switch.table.check_file@PAGE
Lloh7:
	add	x9, x9, l_switch.table.check_file@PAGEOFF
	ldr	x0, [x9, w8, sxtw #3]
	b	LBB0_6
LBB0_5:
Lloh8:
	adrp	x0, l_.str.3@PAGE
Lloh9:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_6:
	bl	_gettext
	mov	x23, x0
	ldr	w8, [sp, #36]
	cbz	x22, LBB0_9
; %bb.7:
	cmp	w8, #128
	b.ne	LBB0_9
LBB0_8:
	mov	w20, #0
	b	LBB0_19
LBB0_9:
	cbz	x21, LBB0_12
; %bb.10:
	cmp	w8, #131
	b.eq	LBB0_12
; %bb.11:
	cmp	w8, #128
	b.ne	LBB0_16
LBB0_12:
	cmp	w8, #128
	b.ne	LBB0_14
; %bb.13:
Lloh10:
	adrp	x0, l_.str.4@PAGE
Lloh11:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_gettext
	ldr	x8, [sp, #40]
	str	x8, [sp]
	b	LBB0_15
LBB0_14:
Lloh12:
	adrp	x0, l_.str.5@PAGE
Lloh13:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_gettext
	ldr	x8, [sp, #40]
	stp	x23, x8, [sp]
LBB0_15:
	mov	x1, x20
	bl	_vdev_error
	mov	w20, #-1
	b	LBB0_17
LBB0_16:
	mov	w20, #0
LBB0_17:
	ldr	x0, [sp, #40]
	bl	_free
LBB0_18:
	mov	x0, x19
	bl	_close
LBB0_19:
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.comm	_g_zfs,4,2                      ; @g_zfs
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"active"

l_.str.1:                               ; @.str.1
	.asciz	"exported"

l_.str.2:                               ; @.str.2
	.asciz	"potentially active"

l_.str.3:                               ; @.str.3
	.asciz	"unknown"

l_.str.4:                               ; @.str.4
	.asciz	"%s is reserved as a hot spare for pool %s\n"

l_.str.5:                               ; @.str.5
	.asciz	"%s is part of %s pool '%s'\n"

	.no_dead_strip	_check_file
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.check_file
l_switch.table.check_file:
	.quad	l_.str.2
	.quad	l_.str.1
	.quad	l_.str

.subsections_via_symbols
