	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getnextinode                   ## -- Begin function getnextinode
	.p2align	4, 0x90
_getnextinode:                          ## @getnextinode
	.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, %r14d
	movq	%rdi, %r13
	movq	_nextino@GOTPCREL(%rip), %rax
	movslq	(%rax), %rcx
	leal	1(%rcx), %edx
	movl	%edx, (%rax)
	cmpq	%rdi, %rcx
	jne	LBB0_2
## %bb.1:
	movq	_lastvalidinum@GOTPCREL(%rip), %rax
	cmpq	%r13, (%rax)
	jge	LBB0_3
LBB0_2:
	movq	_EEXIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r13d, %edx
	callq	_errx
LBB0_3:
	movq	_lastinum@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	cmpq	%r13, %rsi
	jle	LBB0_5
## %bb.4:
	leaq	_getnextinode.nextinop(%rip), %rbx
	jmp	LBB0_6
LBB0_5:
	movq	_readcount@GOTPCREL(%rip), %r12
	incl	(%r12)
	movq	_sblock@GOTPCREL(%rip), %rdi
	callq	_ino_to_fsba
	movl	%eax, %r15d
	movl	(%r12), %eax
	movq	_readpercg@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	testl	%edx, %edx
	movq	_fullcnt@GOTPCREL(%rip), %rax
	cmoveq	_partialcnt@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_inobufsize@GOTPCREL(%rip), %rcx
	cmoveq	_partialsize@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r12
	addq	%rax, (%rbx)
	movq	_fswritefd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_inobuf@GOTPCREL(%rip), %rbx
	movq	%rbx, %rsi
	callq	_flush
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movq	%r12, %rdx
	callq	_getblk
LBB0_6:
	movq	(%rbx), %r12
	leaq	4(%r12), %rax
	movq	%rax, _getnextinode.nextinop(%rip)
	movq	_ckhashadd@GOTPCREL(%rip), %rax
	movq	_CK_INODE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_8
## %bb.7:
	movq	_sblock@GOTPCREL(%rip), %rdi
	movq	%r12, %rsi
	callq	_ffs_update_dinode_ckhash
	movq	_inobuf@GOTPCREL(%rip), %rdi
	callq	_dirty
LBB0_8:
	movq	_sblock@GOTPCREL(%rip), %r15
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_ffs_verify_dinode_ckhash
	testq	%rax, %rax
	je	LBB0_14
## %bb.9:
	leaq	L_.str.1(%rip), %rdi
	callq	_pwarn
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_prtinode
	movq	_preen@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	je	LBB0_10
LBB0_12:
	leaq	L_str(%rip), %rdi
	callq	_puts
LBB0_13:
	movq	_sblock@GOTPCREL(%rip), %rdi
	movq	%r12, %rsi
	callq	_ffs_update_dinode_ckhash
	movq	_inobuf@GOTPCREL(%rip), %rdi
	callq	_dirty
LBB0_14:
	testl	%r14d, %r14d
	je	LBB0_44
## %bb.15:
	movq	_inobuf@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	jne	LBB0_44
## %bb.16:
	movq	_di_mode@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_DIP
	movq	%rax, %r14
	movq	_IFMT@GOTPCREL(%rip), %rax
	andq	(%rax), %r14
	je	LBB0_17
## %bb.21:
	movq	%r12, %rdi
	callq	_ftypeok
	testl	%eax, %eax
	je	LBB0_43
## %bb.22:
	movq	_di_size@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r12, %rdi
	callq	_DIP
	movl	8(%r15), %esi
	movq	%rax, %rdi
	callq	_howmany
	testl	%eax, %eax
	js	LBB0_43
## %bb.23:
	movl	%eax, %r13d
	movq	_IFBLK@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	sete	%al
	movq	_IFCHR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r14
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %eax
	addl	%eax, %r13d
	movq	_IFLNK@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jne	LBB0_31
## %bb.24:
	movl	(%rbx), %esi
	movq	%r12, %rdi
	callq	_DIP
	cmpq	16(%r15), %rax
	jge	LBB0_31
## %bb.25:
	movl	(%rbx), %esi
	movq	%r12, %rdi
	callq	_DIP
	movq	%rax, %rdi
	movl	$4, %esi
	callq	_howmany
	movl	%eax, %r13d
	movq	_UFS_NDADDR@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	movl	%r13d, %ebx
	subl	%eax, %ebx
	jle	LBB0_31
## %bb.26:
	movl	$1, %r13d
	cmpl	$2, %ebx
	jl	LBB0_30
## %bb.27:
	incl	%ebx
	movl	$1, %r13d
	movq	_sblock@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_NINDIR
	imull	%eax, %r13d
	decl	%ebx
	cmpl	$2, %ebx
	ja	LBB0_28
## %bb.29:
	movl	(%r14), %eax
LBB0_30:
	addl	%r13d, %eax
	movl	%eax, %r13d
LBB0_31:
	movq	_UFS_NDADDR@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	cmpl	%eax, %r13d
	jge	LBB0_36
## %bb.32:
	movslq	%r13d, %rbx
	incq	%rbx
	movq	_di_db@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_35:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movl	-4(%rax,%rbx,4), %esi
	movq	%r12, %rdi
	callq	_DIP
	testq	%rax, %rax
	jne	LBB0_43
## %bb.33:                              ##   in Loop: Header=BB0_35 Depth=1
	movl	(%r14), %eax
	cmpl	%eax, %r13d
	jge	LBB0_36
## %bb.34:                              ##   in Loop: Header=BB0_35 Depth=1
	leaq	1(%rbx), %rcx
	movslq	%eax, %rdx
	cmpq	%rdx, %rbx
	movq	%rcx, %rbx
	jl	LBB0_35
LBB0_36:
	xorl	%ebx, %ebx
	subl	%eax, %r13d
	jle	LBB0_37
## %bb.39:
	movq	_sblock@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_40:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_NINDIR
	movl	%eax, %ecx
	movl	%r13d, %eax
	cltd
	idivl	%ecx
	incl	%ebx
	movl	%eax, %r13d
	testl	%eax, %eax
	jg	LBB0_40
LBB0_37:
	movq	_UFS_NIADDR@GOTPCREL(%rip), %r14
	cmpl	(%r14), %ebx
	jge	LBB0_44
## %bb.38:
	movl	%ebx, %ebx
	movq	_di_ib@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_42:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r12, %rdi
	callq	_DIP
	testq	%rax, %rax
	jne	LBB0_43
## %bb.41:                              ##   in Loop: Header=BB0_42 Depth=1
	incq	%rbx
	cmpl	%ebx, (%r14)
	jg	LBB0_42
	jmp	LBB0_44
LBB0_10:
	leaq	L_.str.2(%rip), %rdi
	callq	_reply
	testq	%rax, %rax
	je	LBB0_14
## %bb.11:
	cmpq	$0, (%rbx)
	jne	LBB0_12
	jmp	LBB0_13
LBB0_17:
	movl	20(%r12), %edi
	movq	_ufs2_zino@GOTPCREL(%rip), %rbx
	movl	4(%rbx), %esi
	movq	_UFS_NDADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	shll	$2, %edx
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_43
## %bb.18:
	movl	16(%r12), %edi
	movl	(%rbx), %esi
	movq	_UFS_NIADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	shll	$2, %edx
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_43
## %bb.19:
	cmpq	$0, 8(%r12)
	je	LBB0_20
LBB0_43:
	xorl	%r12d, %r12d
LBB0_44:
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	xorl	%eax, %eax
	cmpq	$0, (%r12)
	cmovneq	%rax, %r12
	jmp	LBB0_44
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_getnextinode.nextinop,8,3 ## @getnextinode.nextinop
	.comm	_nextino,4,2                    ## @nextino
	.comm	_lastvalidinum,8,3              ## @lastvalidinum
	.comm	_EEXIT,4,2                      ## @EEXIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bad inode number %ju to nextinode"

	.comm	_lastinum,8,3                   ## @lastinum
	.comm	_readcount,4,2                  ## @readcount
	.comm	_sblock,24,3                    ## @sblock
	.comm	_readpercg,4,2                  ## @readpercg
	.comm	_partialsize,8,3                ## @partialsize
	.comm	_partialcnt,8,3                 ## @partialcnt
	.comm	_inobufsize,8,3                 ## @inobufsize
	.comm	_fullcnt,8,3                    ## @fullcnt
	.comm	_fswritefd,4,2                  ## @fswritefd
	.comm	_inobuf,8,3                     ## @inobuf
	.comm	_FS_UFS1_MAGIC,8,3              ## @FS_UFS1_MAGIC
	.comm	_ckhashadd,4,2                  ## @ckhashadd
	.comm	_CK_INODE,4,2                   ## @CK_INODE
L_.str.1:                               ## @.str.1
	.asciz	"INODE CHECK-HASH FAILED"

	.comm	_preen,8,3                      ## @preen
L_.str.2:                               ## @.str.2
	.asciz	"FIX"

	.comm	_di_mode,4,2                    ## @di_mode
	.comm	_IFMT,8,3                       ## @IFMT
	.comm	_ufs2_zino,8,2                  ## @ufs2_zino
	.comm	_UFS_NDADDR,4,2                 ## @UFS_NDADDR
	.comm	_UFS_NIADDR,4,2                 ## @UFS_NIADDR
	.comm	_di_size,4,2                    ## @di_size
	.comm	_IFBLK,8,3                      ## @IFBLK
	.comm	_IFCHR,8,3                      ## @IFCHR
	.comm	_IFLNK,8,3                      ## @IFLNK
	.comm	_di_db,8,3                      ## @di_db
	.comm	_di_ib,8,3                      ## @di_ib
L_str:                                  ## @str
	.asciz	" (FIXED)"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getnextinode                   ; -- Begin function getnextinode
	.p2align	2
_getnextinode:                          ; @getnextinode
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _nextino@GOTPAGE
Lloh1:
	ldr	x8, [x8, _nextino@GOTPAGEOFF]
	ldrsw	x9, [x8]
	add	w10, w9, #1
	str	w10, [x8]
Lloh2:
	adrp	x8, _lastvalidinum@GOTPAGE
Lloh3:
	ldr	x8, [x8, _lastvalidinum@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x9, x0
	ccmp	x8, x0, #8, eq
	b.ge	LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _EEXIT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EEXIT@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x22
	bl	_errx
LBB0_2:
Lloh10:
	adrp	x19, _lastinum@GOTPAGE
Lloh11:
	ldr	x19, [x19, _lastinum@GOTPAGEOFF]
	ldr	x1, [x19]
	cmp	x1, x22
	b.le	LBB0_4
; %bb.3:
Lloh12:
	adrp	x19, _getnextinode.nextinop@PAGE
Lloh13:
	add	x19, x19, _getnextinode.nextinop@PAGEOFF
	b	LBB0_5
LBB0_4:
Lloh14:
	adrp	x23, _readcount@GOTPAGE
Lloh15:
	ldr	x23, [x23, _readcount@GOTPAGEOFF]
	ldr	w8, [x23]
	add	w8, w8, #1
	str	w8, [x23]
Lloh16:
	adrp	x0, _sblock@GOTPAGE
Lloh17:
	ldr	x0, [x0, _sblock@GOTPAGEOFF]
	bl	_ino_to_fsba
	mov	x21, x0
	ldr	w8, [x23]
Lloh18:
	adrp	x9, _readpercg@GOTPAGE
Lloh19:
	ldr	x9, [x9, _readpercg@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	sdiv	w10, w8, w9
Lloh21:
	adrp	x11, _partialcnt@GOTPAGE
Lloh22:
	ldr	x11, [x11, _partialcnt@GOTPAGEOFF]
	msub	w8, w10, w9, w8
Lloh23:
	adrp	x9, _fullcnt@GOTPAGE
Lloh24:
	ldr	x9, [x9, _fullcnt@GOTPAGEOFF]
	cmp	w8, #0
	csel	x8, x11, x9, eq
	ldr	x8, [x8]
	ldr	x9, [x19]
	add	x8, x9, x8
Lloh25:
	adrp	x9, _partialsize@GOTPAGE
Lloh26:
	ldr	x9, [x9, _partialsize@GOTPAGEOFF]
Lloh27:
	adrp	x10, _inobufsize@GOTPAGE
Lloh28:
	ldr	x10, [x10, _inobufsize@GOTPAGEOFF]
	csel	x9, x9, x10, eq
	ldr	x23, [x9]
	str	x8, [x19]
Lloh29:
	adrp	x8, _fswritefd@GOTPAGE
Lloh30:
	ldr	x8, [x8, _fswritefd@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
Lloh32:
	adrp	x19, _inobuf@GOTPAGE
Lloh33:
	ldr	x19, [x19, _inobuf@GOTPAGEOFF]
	mov	x1, x19
	bl	_flush
	mov	x0, x19
	mov	x1, x21
	mov	x2, x23
	bl	_getblk
LBB0_5:
	ldr	x19, [x19]
	add	x8, x19, #4
Lloh34:
	adrp	x9, _ckhashadd@GOTPAGE
Lloh35:
	ldr	x9, [x9, _ckhashadd@GOTPAGEOFF]
	adrp	x10, _getnextinode.nextinop@PAGE
	str	x8, [x10, _getnextinode.nextinop@PAGEOFF]
Lloh36:
	ldr	w8, [x9]
Lloh37:
	adrp	x9, _CK_INODE@GOTPAGE
Lloh38:
	ldr	x9, [x9, _CK_INODE@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:
Lloh40:
	adrp	x0, _sblock@GOTPAGE
Lloh41:
	ldr	x0, [x0, _sblock@GOTPAGEOFF]
	mov	x1, x19
	bl	_ffs_update_dinode_ckhash
Lloh42:
	adrp	x0, _inobuf@GOTPAGE
Lloh43:
	ldr	x0, [x0, _inobuf@GOTPAGEOFF]
	bl	_dirty
LBB0_7:
Lloh44:
	adrp	x21, _sblock@GOTPAGE
Lloh45:
	ldr	x21, [x21, _sblock@GOTPAGEOFF]
	mov	x0, x21
	mov	x1, x19
	bl	_ffs_verify_dinode_ckhash
	cbz	x0, LBB0_11
; %bb.8:
Lloh46:
	adrp	x0, l_.str.1@PAGE
Lloh47:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pwarn
	mov	x0, x22
	mov	x1, x19
	bl	_prtinode
Lloh48:
	adrp	x22, _preen@GOTPAGE
Lloh49:
	ldr	x22, [x22, _preen@GOTPAGEOFF]
	ldr	x8, [x22]
	cbz	x8, LBB0_23
LBB0_9:
Lloh50:
	adrp	x0, l_str@PAGE
Lloh51:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
LBB0_10:
Lloh52:
	adrp	x0, _sblock@GOTPAGE
Lloh53:
	ldr	x0, [x0, _sblock@GOTPAGEOFF]
	mov	x1, x19
	bl	_ffs_update_dinode_ckhash
Lloh54:
	adrp	x0, _inobuf@GOTPAGE
Lloh55:
	ldr	x0, [x0, _inobuf@GOTPAGEOFF]
	bl	_dirty
LBB0_11:
	cbz	w20, LBB0_29
; %bb.12:
Lloh56:
	adrp	x8, _inobuf@GOTPAGE
Lloh57:
	ldr	x8, [x8, _inobuf@GOTPAGEOFF]
Lloh58:
	ldr	x8, [x8]
	cmp	x19, x8
	b.ne	LBB0_29
; %bb.13:
Lloh59:
	adrp	x8, _di_mode@GOTPAGE
Lloh60:
	ldr	x8, [x8, _di_mode@GOTPAGEOFF]
Lloh61:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_DIP
Lloh62:
	adrp	x8, _IFMT@GOTPAGE
Lloh63:
	ldr	x8, [x8, _IFMT@GOTPAGEOFF]
Lloh64:
	ldr	x8, [x8]
	ands	x24, x8, x0
	b.eq	LBB0_25
; %bb.14:
	mov	x0, x19
	bl	_ftypeok
	cbz	w0, LBB0_28
; %bb.15:
Lloh65:
	adrp	x23, _di_size@GOTPAGE
Lloh66:
	ldr	x23, [x23, _di_size@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_DIP
	ldr	w1, [x21, #8]
	bl	_howmany
	tbnz	w0, #31, LBB0_28
; %bb.16:
Lloh67:
	adrp	x8, _IFBLK@GOTPAGE
Lloh68:
	ldr	x8, [x8, _IFBLK@GOTPAGEOFF]
Lloh69:
	ldr	x8, [x8]
	cmp	x24, x8
Lloh70:
	adrp	x8, _IFCHR@GOTPAGE
Lloh71:
	ldr	x8, [x8, _IFCHR@GOTPAGEOFF]
Lloh72:
	ldr	x8, [x8]
	ccmp	x24, x8, #4, ne
	cinc	w20, w0, eq
Lloh73:
	adrp	x8, _IFLNK@GOTPAGE
Lloh74:
	ldr	x8, [x8, _IFLNK@GOTPAGEOFF]
Lloh75:
	ldr	x8, [x8]
Lloh76:
	adrp	x22, _UFS_NDADDR@GOTPAGE
Lloh77:
	ldr	x22, [x22, _UFS_NDADDR@GOTPAGEOFF]
	cmp	x24, x8
	b.ne	LBB0_33
; %bb.17:
	ldr	w1, [x23]
	mov	x0, x19
	bl	_DIP
	ldr	x8, [x21, #16]
	cmp	x0, x8
	b.ge	LBB0_33
; %bb.18:
	ldr	w1, [x23]
	mov	x0, x19
	bl	_DIP
	mov	w1, #4
	bl	_howmany
	mov	x20, x0
	ldr	w8, [x22]
	subs	w9, w0, w8
	b.le	LBB0_33
; %bb.19:
	cmp	w9, #2
	b.lt	LBB0_31
; %bb.20:
	add	w23, w9, #1
	mov	w21, #1
Lloh78:
	adrp	x20, _sblock@GOTPAGE
Lloh79:
	ldr	x20, [x20, _sblock@GOTPAGEOFF]
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_NINDIR
	mul	w21, w0, w21
	sub	w23, w23, #1
	cmp	w23, #2
	b.hi	LBB0_21
; %bb.22:
	ldr	w8, [x22]
	b	LBB0_32
LBB0_23:
Lloh80:
	adrp	x0, l_.str.2@PAGE
Lloh81:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_reply
	cbz	x0, LBB0_11
; %bb.24:
	ldr	x8, [x22]
	cbnz	x8, LBB0_9
	b	LBB0_10
LBB0_25:
Lloh82:
	adrp	x20, _ufs2_zino@GOTPAGE
Lloh83:
	ldr	x20, [x20, _ufs2_zino@GOTPAGEOFF]
	ldr	w0, [x19, #20]
	ldr	w1, [x20, #4]
Lloh84:
	adrp	x8, _UFS_NDADDR@GOTPAGE
Lloh85:
	ldr	x8, [x8, _UFS_NDADDR@GOTPAGEOFF]
Lloh86:
	ldr	w8, [x8]
	lsl	w2, w8, #2
	bl	_memcmp
	cbnz	x0, LBB0_28
; %bb.26:
	ldr	w0, [x19, #16]
	ldr	w1, [x20]
Lloh87:
	adrp	x8, _UFS_NIADDR@GOTPAGE
Lloh88:
	ldr	x8, [x8, _UFS_NIADDR@GOTPAGEOFF]
Lloh89:
	ldr	w8, [x8]
	lsl	w2, w8, #2
	bl	_memcmp
	cbnz	x0, LBB0_28
; %bb.27:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_30
LBB0_28:
	mov	x19, #0
LBB0_29:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_30:
	ldr	x8, [x19]
	cmp	x8, #0
	csel	x19, x19, xzr, eq
	b	LBB0_29
LBB0_31:
	mov	w21, #1
LBB0_32:
	add	w20, w8, w21
LBB0_33:
	ldr	w8, [x22]
	cmp	w20, w8
	b.ge	LBB0_37
; %bb.34:
	sxtw	x21, w20
Lloh90:
	adrp	x23, _di_db@GOTPAGE
Lloh91:
	ldr	x23, [x23, _di_db@GOTPAGEOFF]
LBB0_35:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	ldr	w1, [x8, x21, lsl #2]
	mov	x0, x19
	bl	_DIP
	cbnz	x0, LBB0_28
; %bb.36:                               ;   in Loop: Header=BB0_35 Depth=1
	add	x21, x21, #1
	ldr	w8, [x22]
	sxtw	x9, w8
	cmp	w20, w8
	ccmp	x21, x9, #0, lt
	b.lt	LBB0_35
LBB0_37:
	sub	w22, w20, w8
	cmp	w22, #1
	b.lt	LBB0_40
; %bb.38:
	mov	w21, #0
Lloh92:
	adrp	x20, _sblock@GOTPAGE
Lloh93:
	ldr	x20, [x20, _sblock@GOTPAGEOFF]
LBB0_39:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_NINDIR
	sdiv	w22, w22, w0
	add	w21, w21, #1
	cmp	w22, #0
	b.gt	LBB0_39
	b	LBB0_41
LBB0_40:
	mov	w21, #0
LBB0_41:
Lloh94:
	adrp	x20, _UFS_NIADDR@GOTPAGE
Lloh95:
	ldr	x20, [x20, _UFS_NIADDR@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w21, w8
	b.ge	LBB0_29
; %bb.42:
	mov	w21, w21
Lloh96:
	adrp	x22, _di_ib@GOTPAGE
Lloh97:
	ldr	x22, [x22, _di_ib@GOTPAGEOFF]
LBB0_43:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	ldr	w1, [x8, x21, lsl #2]
	mov	x0, x19
	bl	_DIP
	cbnz	x0, LBB0_28
; %bb.44:                               ;   in Loop: Header=BB0_43 Depth=1
	add	x21, x21, #1
	ldr	w8, [x20]
	cmp	w8, w21
	b.gt	LBB0_43
	b	LBB0_29
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGot	Lloh78, Lloh79
	.loh AdrpAdd	Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGot	Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGot	Lloh90, Lloh91
	.loh AdrpLdrGot	Lloh92, Lloh93
	.loh AdrpLdrGot	Lloh94, Lloh95
	.loh AdrpLdrGot	Lloh96, Lloh97
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_getnextinode.nextinop,8,3 ; @getnextinode.nextinop
	.comm	_nextino,4,2                    ; @nextino
	.comm	_lastvalidinum,8,3              ; @lastvalidinum
	.comm	_EEXIT,4,2                      ; @EEXIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bad inode number %ju to nextinode"

	.comm	_lastinum,8,3                   ; @lastinum
	.comm	_readcount,4,2                  ; @readcount
	.comm	_sblock,24,3                    ; @sblock
	.comm	_readpercg,4,2                  ; @readpercg
	.comm	_partialsize,8,3                ; @partialsize
	.comm	_partialcnt,8,3                 ; @partialcnt
	.comm	_inobufsize,8,3                 ; @inobufsize
	.comm	_fullcnt,8,3                    ; @fullcnt
	.comm	_fswritefd,4,2                  ; @fswritefd
	.comm	_inobuf,8,3                     ; @inobuf
	.comm	_FS_UFS1_MAGIC,8,3              ; @FS_UFS1_MAGIC
	.comm	_ckhashadd,4,2                  ; @ckhashadd
	.comm	_CK_INODE,4,2                   ; @CK_INODE
l_.str.1:                               ; @.str.1
	.asciz	"INODE CHECK-HASH FAILED"

	.comm	_preen,8,3                      ; @preen
l_.str.2:                               ; @.str.2
	.asciz	"FIX"

	.comm	_di_mode,4,2                    ; @di_mode
	.comm	_IFMT,8,3                       ; @IFMT
	.comm	_ufs2_zino,8,2                  ; @ufs2_zino
	.comm	_UFS_NDADDR,4,2                 ; @UFS_NDADDR
	.comm	_UFS_NIADDR,4,2                 ; @UFS_NIADDR
	.comm	_di_size,4,2                    ; @di_size
	.comm	_IFBLK,8,3                      ; @IFBLK
	.comm	_IFCHR,8,3                      ; @IFCHR
	.comm	_IFLNK,8,3                      ; @IFLNK
	.comm	_di_db,8,3                      ; @di_db
	.comm	_di_ib,8,3                      ; @di_ib
l_str:                                  ; @str
	.asciz	" (FIXED)"

.subsections_via_symbols
