	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_clri                           ## -- Begin function clri
	.p2align	4, 0x90
_clri:                                  ## @clri
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	(%rdi), %rdi
	callq	_ginode
	movq	%rax, %r14
	cmpl	$1, %ebx
	jne	LBB0_2
## %bb.1:
	movq	_di_mode@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_DIP
	movq	_IFMT@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_IFDIR@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rsi
	callq	_pwarn
	movq	(%r12), %rdi
	movq	%r14, %rsi
	callq	_prtinode
	movl	$10, %edi
	callq	_putchar
LBB0_2:
	movq	_preen@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	je	LBB0_3
LBB0_5:
	leaq	L_str(%rip), %rdi
	callq	_puts
LBB0_6:
	movq	_n_files@GOTPCREL(%rip), %rax
	decl	(%rax)
	movq	_bkgrdflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_11
## %bb.7:
	movq	(%r12), %rax
	movq	_cmd@GOTPCREL(%rip), %rbx
	movq	%rax, 8(%rbx)
	movq	_di_nlink@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_DIP
	negl	%eax
	movl	%eax, (%rbx)
	movq	_debug@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_9
## %bb.8:
	movq	8(%rbx), %rsi
	movslq	%eax, %rdx
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
LBB0_9:
	movq	_adjrefcnt@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_MIBSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_cmd@GOTPCREL(%rip), %rbx
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%rbx, %r8
	movl	$16, %r9d
	callq	_sysctl
	cmpl	$-1, %eax
	jne	LBB0_10
## %bb.12:
	movq	8(%rbx), %rsi
	leaq	L_.str.7(%rip), %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rwerror                        ## TAILCALL
LBB0_3:
	leaq	L_.str.4(%rip), %rdi
	callq	_reply
	cmpl	$1, %eax
	jne	LBB0_10
## %bb.4:
	cmpq	$0, (%rbx)
	jne	LBB0_5
	jmp	LBB0_6
LBB0_10:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_ckinode
	movq	_USTATE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	(%r12), %rdi
	callq	_inoinfo
	movl	%ebx, (%rax)
	movq	%r14, %rdi
	callq	_clearinode
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_inodirty                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s %s"

	.comm	_di_mode,4,2                    ## @di_mode
	.comm	_IFMT,4,2                       ## @IFMT
	.comm	_IFDIR,4,2                      ## @IFDIR
L_.str.1:                               ## @.str.1
	.asciz	"DIR"

L_.str.2:                               ## @.str.2
	.asciz	"FILE"

	.comm	_preen,8,3                      ## @preen
L_.str.4:                               ## @.str.4
	.asciz	"CLEAR"

	.comm	_n_files,4,2                    ## @n_files
	.comm	_bkgrdflag,8,3                  ## @bkgrdflag
	.comm	_USTATE,4,2                     ## @USTATE
	.comm	_cmd,16,3                       ## @cmd
	.comm	_di_nlink,4,2                   ## @di_nlink
	.comm	_debug,8,3                      ## @debug
L_.str.6:                               ## @.str.6
	.asciz	"adjrefcnt ino %ld amt %lld\n"

	.comm	_adjrefcnt,4,2                  ## @adjrefcnt
	.comm	_MIBSIZE,4,2                    ## @MIBSIZE
L_.str.7:                               ## @.str.7
	.asciz	"ADJUST INODE"

L_str:                                  ## @str
	.asciz	" (CLEARED)"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_clri                           ; -- Begin function clri
	.p2align	2
_clri:                                  ; @clri
	.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	x22, x2
	mov	x21, x1
	mov	x20, x0
	ldr	x0, [x0]
	bl	_ginode
	mov	x19, x0
	cmp	w22, #1
	b.ne	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _di_mode@GOTPAGE
Lloh1:
	ldr	x8, [x8, _di_mode@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_DIP
Lloh3:
	adrp	x8, _IFMT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IFMT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh6:
	adrp	x9, _IFDIR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IFDIR@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, l_.str.2@PAGE
Lloh10:
	add	x10, x10, l_.str.2@PAGEOFF
Lloh11:
	adrp	x11, l_.str.1@PAGE
Lloh12:
	add	x11, x11, l_.str.1@PAGEOFF
	cmp	w8, w9
	csel	x2, x11, x10, eq
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_pwarn
	ldr	x0, [x20]
	mov	x1, x19
	bl	_prtinode
	mov	w0, #10
	bl	_putchar
LBB0_2:
Lloh15:
	adrp	x21, _preen@GOTPAGE
Lloh16:
	ldr	x21, [x21, _preen@GOTPAGEOFF]
	ldr	x8, [x21]
	cbz	x8, LBB0_9
LBB0_3:
Lloh17:
	adrp	x0, l_str@PAGE
Lloh18:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
LBB0_4:
Lloh19:
	adrp	x8, _n_files@GOTPAGE
Lloh20:
	ldr	x8, [x8, _n_files@GOTPAGEOFF]
	ldr	w9, [x8]
	sub	w9, w9, #1
	str	w9, [x8]
Lloh21:
	adrp	x8, _bkgrdflag@GOTPAGE
Lloh22:
	ldr	x8, [x8, _bkgrdflag@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	cbz	x8, LBB0_12
; %bb.5:
	ldr	x8, [x20]
Lloh24:
	adrp	x20, _cmd@GOTPAGE
Lloh25:
	ldr	x20, [x20, _cmd@GOTPAGEOFF]
	str	x8, [x20, #8]
Lloh26:
	adrp	x8, _di_nlink@GOTPAGE
Lloh27:
	ldr	x8, [x8, _di_nlink@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_DIP
	neg	w8, w0
	str	w8, [x20]
Lloh29:
	adrp	x9, _debug@GOTPAGE
Lloh30:
	ldr	x9, [x9, _debug@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cbz	x9, LBB0_7
; %bb.6:
	ldr	x9, [x20, #8]
	sxtw	x8, w8
	stp	x9, x8, [sp]
Lloh32:
	adrp	x0, l_.str.6@PAGE
Lloh33:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_printf
LBB0_7:
Lloh34:
	adrp	x8, _adjrefcnt@GOTPAGE
Lloh35:
	ldr	x8, [x8, _adjrefcnt@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
Lloh37:
	adrp	x8, _MIBSIZE@GOTPAGE
Lloh38:
	ldr	x8, [x8, _MIBSIZE@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
Lloh40:
	adrp	x19, _cmd@GOTPAGE
Lloh41:
	ldr	x19, [x19, _cmd@GOTPAGEOFF]
	mov	w2, #0
	mov	w3, #0
	mov	x4, x19
	mov	w5, #16
	bl	_sysctl
	cmn	w0, #1
	b.ne	LBB0_11
; %bb.8:
	ldr	x1, [x19, #8]
Lloh42:
	adrp	x0, l_.str.7@PAGE
Lloh43:
	add	x0, x0, l_.str.7@PAGEOFF
	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
	b	_rwerror
LBB0_9:
Lloh44:
	adrp	x0, l_.str.4@PAGE
Lloh45:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_reply
	cmp	w0, #1
	b.ne	LBB0_11
; %bb.10:
	ldr	x8, [x21]
	cbnz	x8, LBB0_3
	b	LBB0_4
LBB0_11:
	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
LBB0_12:
	mov	x0, x19
	mov	x1, x20
	bl	_ckinode
Lloh46:
	adrp	x8, _USTATE@GOTPAGE
Lloh47:
	ldr	x8, [x8, _USTATE@GOTPAGEOFF]
Lloh48:
	ldr	w21, [x8]
	ldr	x0, [x20]
	bl	_inoinfo
	str	w21, [x0]
	mov	x0, x19
	bl	_clearinode
	mov	x0, x19
	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
	b	_inodirty
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s %s"

	.comm	_di_mode,4,2                    ; @di_mode
	.comm	_IFMT,4,2                       ; @IFMT
	.comm	_IFDIR,4,2                      ; @IFDIR
l_.str.1:                               ; @.str.1
	.asciz	"DIR"

l_.str.2:                               ; @.str.2
	.asciz	"FILE"

	.comm	_preen,8,3                      ; @preen
l_.str.4:                               ; @.str.4
	.asciz	"CLEAR"

	.comm	_n_files,4,2                    ; @n_files
	.comm	_bkgrdflag,8,3                  ; @bkgrdflag
	.comm	_USTATE,4,2                     ; @USTATE
	.comm	_cmd,16,3                       ; @cmd
	.comm	_di_nlink,4,2                   ; @di_nlink
	.comm	_debug,8,3                      ; @debug
l_.str.6:                               ; @.str.6
	.asciz	"adjrefcnt ino %ld amt %lld\n"

	.comm	_adjrefcnt,4,2                  ; @adjrefcnt
	.comm	_MIBSIZE,4,2                    ; @MIBSIZE
l_.str.7:                               ; @.str.7
	.asciz	"ADJUST INODE"

l_str:                                  ; @str
	.asciz	" (CLEARED)"

.subsections_via_symbols
