	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_mos_features
_check_mos_features:                    ## @check_mos_features
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_DMU_OT_OBJECT_DIRECTORY@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	-32(%rbp), %rcx
	movq	%rdi, %rsi
	callq	_objset_get_dnode
	testl	%eax, %eax
	jne	LBB0_9
## %bb.1:
	movq	_DMU_POOL_FEATURES_FOR_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-32(%rbp), %rsi
	leaq	-40(%rbp), %r9
	movq	%rbx, %rdi
	movl	$8, %ecx
	movl	$1, %r8d
	callq	_zap_lookup
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	jne	LBB0_9
## %bb.2:
	movq	-40(%rbp), %rdx
	leaq	-32(%rbp), %rcx
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	callq	_objset_get_dnode
	testl	%eax, %eax
	jne	LBB0_9
## %bb.3:
	movq	-32(%rbp), %rax
	movq	_DMU_OTN_ZAP_METADATA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.5:
	movslq	-24(%rbp), %r8
	shlq	$9, %r8
	movq	_zap_scratch@GOTPCREL(%rip), %r14
	movq	(%r14), %rcx
	leaq	-32(%rbp), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_dnode_read
	testq	%rax, %rax
	je	LBB0_6
LBB0_4:
	movq	_EIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_9:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	movq	(%r14), %rax
	movq	(%rax), %rax
	movq	_ZBT_MICRO@GOTPCREL(%rip), %rcx
	movq	_check_feature@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.7:
	leaq	-32(%rbp), %rdi
	movl	%edx, %esi
	callq	_mzap_list
	jmp	LBB0_9
LBB0_8:
	leaq	-32(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_fzap_list
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_DMU_OT_OBJECT_DIRECTORY,8,3    ## @DMU_OT_OBJECT_DIRECTORY
	.comm	_DMU_POOL_FEATURES_FOR_READ,4,2 ## @DMU_POOL_FEATURES_FOR_READ
	.comm	_DMU_OTN_ZAP_METADATA,8,3       ## @DMU_OTN_ZAP_METADATA
	.comm	_EIO,4,2                        ## @EIO
	.comm	_zap_scratch,8,3                ## @zap_scratch
	.comm	_ZBT_MICRO,8,3                  ## @ZBT_MICRO
	.comm	_check_feature,4,2              ## @check_feature
	.no_dead_strip	_check_mos_features
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_mos_features
_check_mos_features:                    ; @check_mos_features
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x0
Lloh0:
	adrp	x8, _DMU_OT_OBJECT_DIRECTORY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DMU_OT_OBJECT_DIRECTORY@GOTPAGEOFF]
Lloh2:
	ldr	x2, [x8]
	add	x3, sp, #16
	mov	x1, x0
	bl	_objset_get_dnode
	cbnz	w0, LBB0_7
; %bb.1:
Lloh3:
	adrp	x8, _DMU_POOL_FEATURES_FOR_READ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DMU_POOL_FEATURES_FOR_READ@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	add	x1, sp, #16
	add	x5, sp, #8
	mov	x0, x19
	mov	w3, #8
	mov	w4, #1
	bl	_zap_lookup
	cbz	w0, LBB0_3
; %bb.2:
	mov	w0, #0
	b	LBB0_7
LBB0_3:
	ldr	x2, [sp, #8]
	add	x3, sp, #16
	mov	x0, x19
	mov	x1, x19
	bl	_objset_get_dnode
	cbnz	w0, LBB0_7
; %bb.4:
	ldr	x8, [sp, #16]
Lloh6:
	adrp	x9, _DMU_OTN_ZAP_METADATA@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DMU_OTN_ZAP_METADATA@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
	ldrsw	x8, [sp, #24]
	lsl	x4, x8, #9
Lloh9:
	adrp	x20, _zap_scratch@GOTPAGE
Lloh10:
	ldr	x20, [x20, _zap_scratch@GOTPAGEOFF]
	ldr	x3, [x20]
	add	x1, sp, #16
	mov	x0, x19
	mov	w2, #0
	bl	_dnode_read
	cbz	x0, LBB0_8
LBB0_6:
Lloh11:
	adrp	x8, _EIO@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_8:
	ldr	x8, [x20]
Lloh14:
	adrp	x9, _ZBT_MICRO@GOTPAGE
Lloh15:
	ldr	x9, [x9, _ZBT_MICRO@GOTPAGEOFF]
	ldr	x8, [x8]
Lloh16:
	ldr	x9, [x9]
Lloh17:
	adrp	x10, _check_feature@GOTPAGE
Lloh18:
	ldr	x10, [x10, _check_feature@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x10]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.9:
	add	x0, sp, #16
	mov	x1, x2
	bl	_mzap_list
	b	LBB0_7
LBB0_10:
	add	x1, sp, #16
	mov	x0, x19
	bl	_fzap_list
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_DMU_OT_OBJECT_DIRECTORY,8,3    ; @DMU_OT_OBJECT_DIRECTORY
	.comm	_DMU_POOL_FEATURES_FOR_READ,4,2 ; @DMU_POOL_FEATURES_FOR_READ
	.comm	_DMU_OTN_ZAP_METADATA,8,3       ; @DMU_OTN_ZAP_METADATA
	.comm	_EIO,4,2                        ; @EIO
	.comm	_zap_scratch,8,3                ; @zap_scratch
	.comm	_ZBT_MICRO,8,3                  ; @ZBT_MICRO
	.comm	_check_feature,4,2              ; @check_feature
	.no_dead_strip	_check_mos_features
.subsections_via_symbols
