	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_adjust                         ## -- Begin function adjust
	.p2align	4, 0x90
_adjust:                                ## @adjust
	.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
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	(%rdi), %rdi
	callq	_ginode
	movq	%rax, %r12
	movq	_di_nlink@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%rax, %rdi
	callq	_DIP
	cmpl	%r15d, %eax
	jne	LBB0_9
## %bb.1:
	movq	_resolved@GOTPCREL(%rip), %r12
	movl	(%r12), %ebx
	testl	%ebx, %ebx
	je	LBB0_6
## %bb.2:
	movq	_preen@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_bkgrdflag@GOTPCREL(%rip), %rcx
	orq	(%rcx), %rax
	je	LBB0_6
## %bb.3:
	movq	_usedsoftdep@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.4:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	$1, %edx
	jmp	LBB0_5
LBB0_6:
	movq	(%r14), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_linkup
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	(%r14), %rdi
	callq	_ginode
	movq	%rax, %r12
	decl	%r15d
LBB0_9:
	testl	%r15d, %r15d
	je	LBB0_23
## %bb.10:
	movq	_lfdir@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	(%r14), %rax
	jne	LBB0_12
## %bb.11:
	movq	_lfname@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	jmp	LBB0_13
LBB0_12:
	movq	_di_mode@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_DIP
	movq	_IFMT@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_IFDIR@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.3(%rip), %rsi
	cmoveq	%rax, %rsi
LBB0_13:
	leaq	L_.str.1(%rip), %rdi
	callq	_pwarn
	movq	(%r14), %rdi
	movq	%r12, %rsi
	callq	_prtinode
	movl	(%r13), %esi
	movq	%r12, %rdi
	callq	_DIP
	movl	%eax, %ebx
	movl	(%r13), %esi
	movq	%r12, %rdi
	callq	_DIP
	subl	%r15d, %eax
	leaq	L_.str.4(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_printf
	movq	_preen@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	_usedsoftdep@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	orq	%rax, %rcx
	je	LBB0_18
## %bb.14:
	testl	%r15d, %r15d
	js	LBB0_15
## %bb.16:
	testq	%rax, %rax
	jne	LBB0_17
	jmp	LBB0_18
LBB0_7:
	movl	%ebx, (%r12)
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_clri                           ## TAILCALL
LBB0_15:
	movl	$10, %edi
	callq	_putchar
	leaq	L_.str.6(%rip), %rdi
	callq	_pfatal
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_18
LBB0_17:
	leaq	L_str(%rip), %rdi
	callq	_puts
	cmpq	$0, (%rbx)
	jne	LBB0_19
LBB0_18:
	leaq	L_.str.8(%rip), %rdi
	callq	_reply
	cmpl	$1, %eax
	jne	LBB0_23
LBB0_19:
	movq	_bkgrdflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_24
## %bb.20:
	movq	(%r14), %rsi
	movq	_cmd@GOTPCREL(%rip), %rax
	movq	%rsi, (%rax)
	negl	%r15d
	movl	%r15d, 8(%rax)
	movq	_debug@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_22
## %bb.21:
	movslq	%r15d, %rdx
	leaq	L_.str.9(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
LBB0_22:
	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
	je	LBB0_25
LBB0_23:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	movl	(%r13), %ebx
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_DIP
	subl	%r15d, %eax
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_DIP_SET
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_inodirty                       ## TAILCALL
LBB0_25:
	movq	(%rbx), %rsi
	leaq	L_.str.10(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rwerror                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_di_nlink,4,2                   ## @di_nlink
	.comm	_resolved,4,2                   ## @resolved
	.comm	_preen,8,3                      ## @preen
	.comm	_bkgrdflag,8,3                  ## @bkgrdflag
	.comm	_usedsoftdep,8,3                ## @usedsoftdep
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"UNREF"

L_.str.1:                               ## @.str.1
	.asciz	"LINK COUNT %s"

	.comm	_lfdir,8,3                      ## @lfdir
	.comm	_lfname,8,3                     ## @lfname
	.comm	_di_mode,4,2                    ## @di_mode
	.comm	_IFMT,4,2                       ## @IFMT
	.comm	_IFDIR,4,2                      ## @IFDIR
L_.str.2:                               ## @.str.2
	.asciz	"DIR"

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

L_.str.4:                               ## @.str.4
	.asciz	" COUNT %d SHOULD BE %d"

L_.str.6:                               ## @.str.6
	.asciz	"LINK COUNT INCREASING"

L_.str.8:                               ## @.str.8
	.asciz	"ADJUST"

	.comm	_cmd,16,3                       ## @cmd
	.comm	_debug,8,3                      ## @debug
L_.str.9:                               ## @.str.9
	.asciz	"adjrefcnt ino %ld amt %lld\n"

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

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_adjust                         ; -- Begin function adjust
	.p2align	2
_adjust:                                ; @adjust
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x0, [x0]
	bl	_ginode
	mov	x21, x0
Lloh0:
	adrp	x23, _di_nlink@GOTPAGE
Lloh1:
	ldr	x23, [x23, _di_nlink@GOTPAGEOFF]
	ldr	w1, [x23]
	bl	_DIP
	cmp	w0, w19
	b.ne	LBB0_5
; %bb.1:
Lloh2:
	adrp	x21, _resolved@GOTPAGE
Lloh3:
	ldr	x21, [x21, _resolved@GOTPAGEOFF]
	ldr	w22, [x21]
	cbz	w22, LBB0_3
; %bb.2:
Lloh4:
	adrp	x8, _preen@GOTPAGE
Lloh5:
	ldr	x8, [x8, _preen@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
Lloh7:
	adrp	x9, _bkgrdflag@GOTPAGE
Lloh8:
	ldr	x9, [x9, _bkgrdflag@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	orr	x8, x8, x9
Lloh10:
	adrp	x9, _usedsoftdep@GOTPAGE
Lloh11:
	ldr	x9, [x9, _usedsoftdep@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x8, #0
	ccmp	x9, #0, #4, ne
	b.ne	LBB0_12
LBB0_3:
	ldr	x0, [x20]
	mov	w1, #0
	mov	x2, #0
	bl	_linkup
	cbz	x0, LBB0_13
; %bb.4:
	ldr	x0, [x20]
	bl	_ginode
	mov	x21, x0
	sub	w19, w19, #1
LBB0_5:
	cbz	w19, LBB0_22
; %bb.6:
Lloh13:
	adrp	x8, _lfdir@GOTPAGE
Lloh14:
	ldr	x8, [x8, _lfdir@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.7:
Lloh16:
	adrp	x8, _lfname@GOTPAGE
Lloh17:
	ldr	x8, [x8, _lfname@GOTPAGEOFF]
Lloh18:
	ldr	x1, [x8]
	b	LBB0_9
LBB0_8:
Lloh19:
	adrp	x8, _di_mode@GOTPAGE
Lloh20:
	ldr	x8, [x8, _di_mode@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_DIP
Lloh22:
	adrp	x8, _IFMT@GOTPAGE
Lloh23:
	ldr	x8, [x8, _IFMT@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh25:
	adrp	x9, _IFDIR@GOTPAGE
Lloh26:
	ldr	x9, [x9, _IFDIR@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
Lloh28:
	adrp	x10, l_.str.3@PAGE
Lloh29:
	add	x10, x10, l_.str.3@PAGEOFF
Lloh30:
	adrp	x11, l_.str.2@PAGE
Lloh31:
	add	x11, x11, l_.str.2@PAGEOFF
	cmp	w8, w9
	csel	x1, x11, x10, eq
LBB0_9:
Lloh32:
	adrp	x0, l_.str.1@PAGE
Lloh33:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pwarn
	ldr	x0, [x20]
	mov	x1, x21
	bl	_prtinode
	ldr	w1, [x23]
	mov	x0, x21
	bl	_DIP
	mov	x22, x0
	ldr	w1, [x23]
	mov	x0, x21
	bl	_DIP
	sub	w8, w0, w19
	stp	x22, x8, [sp]
Lloh34:
	adrp	x0, l_.str.4@PAGE
Lloh35:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printf
Lloh36:
	adrp	x22, _preen@GOTPAGE
Lloh37:
	ldr	x22, [x22, _preen@GOTPAGEOFF]
	ldr	x8, [x22]
Lloh38:
	adrp	x9, _usedsoftdep@GOTPAGE
Lloh39:
	ldr	x9, [x9, _usedsoftdep@GOTPAGEOFF]
Lloh40:
	ldr	x9, [x9]
	orr	x9, x8, x9
	cbz	x9, LBB0_17
; %bb.10:
	tbnz	w19, #31, LBB0_15
; %bb.11:
	cbnz	x8, LBB0_16
	b	LBB0_17
LBB0_12:
Lloh41:
	adrp	x1, l_.str@PAGE
Lloh42:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	w2, #1
	b	LBB0_14
LBB0_13:
	str	w22, [x21]
Lloh43:
	adrp	x1, l_.str@PAGE
Lloh44:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	w2, #0
LBB0_14:
	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
	add	sp, sp, #80
	b	_clri
LBB0_15:
	mov	w0, #10
	bl	_putchar
Lloh45:
	adrp	x0, l_.str.6@PAGE
Lloh46:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_pfatal
	ldr	x8, [x22]
	cbz	x8, LBB0_17
LBB0_16:
Lloh47:
	adrp	x0, l_str@PAGE
Lloh48:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	ldr	x8, [x22]
	cbnz	x8, LBB0_18
LBB0_17:
Lloh49:
	adrp	x0, l_.str.8@PAGE
Lloh50:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_reply
	cmp	w0, #1
	b.ne	LBB0_22
LBB0_18:
Lloh51:
	adrp	x8, _bkgrdflag@GOTPAGE
Lloh52:
	ldr	x8, [x8, _bkgrdflag@GOTPAGEOFF]
Lloh53:
	ldr	x8, [x8]
	cbz	x8, LBB0_23
; %bb.19:
	ldr	x8, [x20]
Lloh54:
	adrp	x10, _cmd@GOTPAGE
Lloh55:
	ldr	x10, [x10, _cmd@GOTPAGEOFF]
	str	x8, [x10]
	neg	w9, w19
	str	w9, [x10, #8]
Lloh56:
	adrp	x10, _debug@GOTPAGE
Lloh57:
	ldr	x10, [x10, _debug@GOTPAGEOFF]
Lloh58:
	ldr	x10, [x10]
	cbz	x10, LBB0_21
; %bb.20:
	sxtw	x9, w9
	stp	x8, x9, [sp]
Lloh59:
	adrp	x0, l_.str.9@PAGE
Lloh60:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_printf
LBB0_21:
Lloh61:
	adrp	x8, _adjrefcnt@GOTPAGE
Lloh62:
	ldr	x8, [x8, _adjrefcnt@GOTPAGEOFF]
Lloh63:
	ldr	w0, [x8]
Lloh64:
	adrp	x8, _MIBSIZE@GOTPAGE
Lloh65:
	ldr	x8, [x8, _MIBSIZE@GOTPAGEOFF]
Lloh66:
	ldr	w1, [x8]
Lloh67:
	adrp	x19, _cmd@GOTPAGE
Lloh68:
	ldr	x19, [x19, _cmd@GOTPAGEOFF]
	mov	w2, #0
	mov	w3, #0
	mov	x4, x19
	mov	w5, #16
	bl	_sysctl
	cmn	w0, #1
	b.eq	LBB0_24
LBB0_22:
	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
	add	sp, sp, #80
	ret
LBB0_23:
	ldr	w20, [x23]
	mov	x0, x21
	mov	x1, x20
	bl	_DIP
	sub	w2, w0, w19
	mov	x0, x21
	mov	x1, x20
	bl	_DIP_SET
	mov	x0, x21
	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
	add	sp, sp, #80
	b	_inodirty
LBB0_24:
	ldr	x1, [x19]
Lloh69:
	adrp	x0, l_.str.10@PAGE
Lloh70:
	add	x0, x0, l_.str.10@PAGEOFF
	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
	add	sp, sp, #80
	b	_rwerror
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpAdd	Lloh69, Lloh70
	.cfi_endproc
                                        ; -- End function
	.comm	_di_nlink,4,2                   ; @di_nlink
	.comm	_resolved,4,2                   ; @resolved
	.comm	_preen,8,3                      ; @preen
	.comm	_bkgrdflag,8,3                  ; @bkgrdflag
	.comm	_usedsoftdep,8,3                ; @usedsoftdep
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"UNREF"

l_.str.1:                               ; @.str.1
	.asciz	"LINK COUNT %s"

	.comm	_lfdir,8,3                      ; @lfdir
	.comm	_lfname,8,3                     ; @lfname
	.comm	_di_mode,4,2                    ; @di_mode
	.comm	_IFMT,4,2                       ; @IFMT
	.comm	_IFDIR,4,2                      ; @IFDIR
l_.str.2:                               ; @.str.2
	.asciz	"DIR"

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

l_.str.4:                               ; @.str.4
	.asciz	" COUNT %d SHOULD BE %d"

l_.str.6:                               ; @.str.6
	.asciz	"LINK COUNT INCREASING"

l_.str.8:                               ; @.str.8
	.asciz	"ADJUST"

	.comm	_cmd,16,3                       ; @cmd
	.comm	_debug,8,3                      ; @debug
l_.str.9:                               ; @.str.9
	.asciz	"adjrefcnt ino %ld amt %lld\n"

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

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

.subsections_via_symbols
