	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_checkrestore                   ## -- Begin function checkrestore
	.p2align	4, 0x90
_checkrestore:                          ## @checkrestore
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_vprintf
	movq	_UFS_WINO@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	_maxino@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	jge	LBB0_10
## %bb.1:
	movq	_KEEP@GOTPCREL(%rip), %r13
	movq	_NODE@GOTPCREL(%rip), %r12
	leaq	L_.str.1(%rip), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	movq	_maxino@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	jge	LBB0_10
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movq	%r15, %rdi
	callq	_lookupino
	testq	%rax, %rax
	je	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rbx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=2
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_9
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r13), %eax
	notl	%eax
	andl	(%rbx), %eax
	movl	%eax, (%rbx)
	movq	8(%rbx), %rcx
	cmpq	(%r12), %rcx
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	_EXISTED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_NEW@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, (%rbx)
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=2
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_badentry
	jmp	LBB0_8
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stdout,4,2                     ## @stdout
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Check the symbol table.\n"

	.comm	_UFS_WINO,8,3                   ## @UFS_WINO
	.comm	_maxino,8,3                     ## @maxino
	.comm	_KEEP,4,2                       ## @KEEP
	.comm	_NODE,8,3                       ## @NODE
	.comm	_NEW,4,2                        ## @NEW
	.comm	_EXISTED,4,2                    ## @EXISTED
L_.str.1:                               ## @.str.1
	.asciz	"incomplete operations"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_checkrestore                   ; -- Begin function checkrestore
	.p2align	2
_checkrestore:                          ; @checkrestore
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
Lloh0:
	adrp	x8, _stdout@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_vprintf
Lloh5:
	adrp	x8, _UFS_WINO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _UFS_WINO@GOTPAGEOFF]
Lloh7:
	ldr	x19, [x8]
Lloh8:
	adrp	x22, _maxino@GOTPAGE
Lloh9:
	ldr	x22, [x22, _maxino@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x19, x8
	b.ge	LBB0_10
; %bb.1:
Lloh10:
	adrp	x23, _KEEP@GOTPAGE
Lloh11:
	ldr	x23, [x23, _KEEP@GOTPAGEOFF]
Lloh12:
	adrp	x24, _NODE@GOTPAGE
Lloh13:
	ldr	x24, [x24, _NODE@GOTPAGEOFF]
Lloh14:
	adrp	x25, _NEW@GOTPAGE
Lloh15:
	ldr	x25, [x25, _NEW@GOTPAGEOFF]
Lloh16:
	adrp	x20, l_.str.1@PAGE
Lloh17:
	add	x20, x20, l_.str.1@PAGEOFF
Lloh18:
	adrp	x26, _EXISTED@GOTPAGE
Lloh19:
	ldr	x26, [x26, _EXISTED@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x19, x19, #1
	ldr	x8, [x22]
	cmp	x19, x8
	b.ge	LBB0_10
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	mov	x0, x19
	bl	_lookupino
	cbz	x0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x21, x0
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=2
	ldr	x21, [x21, #16]
	cbz	x21, LBB0_2
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x23]
	ldr	w9, [x21]
	bic	w8, w9, w8
	str	w8, [x21]
	ldr	x9, [x21, #8]
	ldr	x10, [x24]
	cmp	x9, x10
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	w9, [x25]
	ldr	w10, [x26]
	orr	w9, w10, w9
	bic	w8, w8, w9
	str	w8, [x21]
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=2
	cbz	w8, LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=2
	mov	x0, x21
	mov	x1, x20
	bl	_badentry
	b	LBB0_5
LBB0_10:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_stdout,4,2                     ; @stdout
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Check the symbol table.\n"

	.comm	_UFS_WINO,8,3                   ; @UFS_WINO
	.comm	_maxino,8,3                     ; @maxino
	.comm	_KEEP,4,2                       ; @KEEP
	.comm	_NODE,8,3                       ; @NODE
	.comm	_NEW,4,2                        ; @NEW
	.comm	_EXISTED,4,2                    ; @EXISTED
l_.str.1:                               ; @.str.1
	.asciz	"incomplete operations"

.subsections_via_symbols
