	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ino_trunc
_ino_trunc:                             ## @ino_trunc
	.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
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %r15
	callq	_ino_read
	movq	%rax, %rbx
	movq	_di_mode@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_DIP
	movq	%rax, %r12
	movq	_IFMT@GOTPCREL(%rip), %rax
	andl	(%rax), %r12d
	movq	_di_size@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_DIP
	movq	%rax, %rbx
	movq	_debug@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	movl	%r15d, %esi
	movl	%r12d, %edx
	movq	%r13, %rcx
	movq	%rbx, %r8
	callq	_printf
LBB0_2:
	testl	%r12d, %r12d
	je	LBB0_34
## %bb.3:
	movq	_IFBLK@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	je	LBB0_34
## %bb.4:
	movq	_IFCHR@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	je	LBB0_34
## %bb.5:
	movq	_IFLNK@GOTPCREL(%rip), %rax
	movq	_fs@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r14
	cmpl	%r12d, (%rax)
	jne	LBB0_7
## %bb.6:
	cmpq	8(%r14), %rbx
	jl	LBB0_34
LBB0_7:
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	cmpq	%r13, %rbx
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	cmovlq	%rbx, %r13
	movq	%r14, %rdi
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, %rsi
	callq	_blkroundup
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_lblkno
	movq	_UFS_NDADDR@GOTPCREL(%rip), %rcx
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	cmpq	(%rcx), %rax
	movq	_fs@GOTPCREL(%rip), %r12
	jae	LBB0_12
## %bb.8:
	movq	_di_db@GOTPCREL(%rip), %r15
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_10 Depth=1
	incq	%rbx
	movq	_UFS_NDADDR@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jae	LBB0_12
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movl	(%rax,%rbx,4), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_DIP
	testq	%rax, %rax
	je	LBB0_9
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	(%r12), %rdi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	movl	%ebx, %edx
	callq	_sblksize
	movq	(%r12), %rdi
	movslq	%eax, %rsi
	callq	_numfrags
	movq	%rax, %r14
	movl	%r14d, -52(%rbp)
	movq	(%r15), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r13, %rdi
	callq	_DIP
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	%r14d, %edx
	callq	_blk_free
	movq	(%r15), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_DIP_SET
	jmp	LBB0_9
LBB0_12:
	movq	(%r12), %rdi
	callq	_NINDIR
	movq	%rax, %r15
	movq	_UFS_NIADDR@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_19
## %bb.13:
	movq	_UFS_NDADDR@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_15 Depth=1
	imulq	%rax, %r15
	incq	%r14
	decq	%rbx
	movq	_UFS_NIADDR@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	movq	-104(%rbp), %r12                ## 8-byte Reload
	jae	LBB0_19
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	leaq	(%r15,%r12), %r13
	movq	_fs@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_NINDIR
	movq	%r13, -104(%rbp)                ## 8-byte Spill
	cmpq	%r13, -80(%rbp)                 ## 8-byte Folded Reload
	jae	LBB0_14
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	_di_ib@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r14,4), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_DIP
	testq	%rax, %rax
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	je	LBB0_14
## %bb.17:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	%rbx, %r13
	subq	%r12, %r13
	movq	_di_ib@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r14,4), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_DIP
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	%rax, %rdx
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rcx
	callq	_indir_trunc
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	cmpq	%r12, %r13
	ja	LBB0_14
## %bb.18:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	_di_ib@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movl	(%rax,%r14,4), %esi
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_DIP
	movq	_fs@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx), %edx
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_blk_free
	movq	(%r12), %rax
	movl	(%rax,%r14,4), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_DIP_SET
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_14
LBB0_19:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_ino_dirty
	movq	_visitlbn@GOTPCREL(%rip), %r13
	movl	$0, (%r13)
	movq	_null_visit@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_VISIT_INDIR@GOTPCREL(%rip), %rax
	movq	_VISIT_EXT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_ino_visit
	movq	%rax, %rbx
	movq	_fs@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	(%r13), %esi
	incl	%esi
	callq	_lblktosize
	cmpq	%rax, -72(%rbp)                 ## 8-byte Folded Reload
	jle	LBB0_21
## %bb.20:
	movq	_fs@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	(%r13), %esi
	incl	%esi
	callq	_lblktosize
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
LBB0_21:
	movslq	(%r13), %rax
	movq	_UFS_NDADDR@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jbe	LBB0_28
## %bb.22:
	testq	%rbx, %rbx
	je	LBB0_28
## %bb.23:
	movq	_di_db@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx,%rax,4), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_DIP
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_25
## %bb.24:
	movl	(%r13), %edx
	leaq	L_.str.1(%rip), %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_err_suj
LBB0_25:
	movq	_fs@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	movl	(%r13), %edx
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	callq	_sblksize
	movq	%rax, %r15
	movq	(%r12), %rdi
	movl	(%r13), %edx
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_sblksize
	subq	%rax, %r15
	je	LBB0_29
## %bb.26:
	movq	(%r12), %rdi
	movq	%rax, %rsi
	callq	_numfrags
	movq	%r14, %r13
	addq	%rax, %r13
	movq	(%r12), %rdi
	movq	%r15, %rsi
	callq	_numfrags
	movq	%rax, %r14
	movl	%r14d, -52(%rbp)
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	%r14d, %edx
	callq	_blk_free
	movslq	%r14d, %rax
	subq	%rax, %rbx
	jmp	LBB0_29
LBB0_28:
	movq	_fs@GOTPCREL(%rip), %r12
LBB0_29:
	movq	_di_blocks@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	(%r12), %rdi
	movq	%rbx, %rsi
	callq	_fsbtodb
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movq	%rax, %rdx
	callq	_DIP_SET
	movq	_di_size@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_DIP_SET
	movq	(%r12), %rdi
	movq	%rbx, %rsi
	callq	_blkoff
	testq	%rax, %rax
	je	LBB0_34
## %bb.30:
	movq	%rax, %r15
	movq	_di_mode@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_DIP
	movq	_IFDIR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_34
## %bb.31:
	movq	_visitlbn@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	leaq	-52(%rbp), %rcx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_ino_blkatoff
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_33
## %bb.32:
	movl	(%rbx), %edx
	leaq	L_.str.2(%rip), %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_err_suj
LBB0_33:
	movslq	-52(%rbp), %rax
	movq	_fs@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movslq	4(%rcx), %rbx
	imulq	%rax, %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_dblk_read
	subq	%r15, %rbx
	leaq	(%rax,%r15,4), %rdi
	movq	%rbx, %rsi
	callq	_bzero
	movq	%r14, %rdi
	callq	_dblk_dirty
LBB0_34:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_di_mode,4,2                    ## @di_mode
	.comm	_IFMT,8,3                       ## @IFMT
	.comm	_di_size,4,2                    ## @di_size
	.comm	_debug,8,3                      ## @debug
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Truncating ino %ju, mode %o to size %jd from size %jd\n"

	.comm	_IFBLK,4,2                      ## @IFBLK
	.comm	_IFCHR,4,2                      ## @IFCHR
	.comm	_IFLNK,4,2                      ## @IFLNK
	.comm	_fs,8,3                         ## @fs
	.comm	_UFS_NDADDR,8,3                 ## @UFS_NDADDR
	.comm	_di_db,8,3                      ## @di_db
	.comm	_UFS_NIADDR,8,3                 ## @UFS_NIADDR
	.comm	_di_ib,8,3                      ## @di_ib
	.comm	_visitlbn,4,2                   ## @visitlbn
	.comm	_null_visit,4,2                 ## @null_visit
	.comm	_VISIT_INDIR,4,2                ## @VISIT_INDIR
	.comm	_VISIT_EXT,4,2                  ## @VISIT_EXT
L_.str.1:                               ## @.str.1
	.asciz	"Bad blk at ino %ju lbn %jd\n"

	.comm	_di_blocks,4,2                  ## @di_blocks
	.comm	_IFDIR,8,3                      ## @IFDIR
L_.str.2:                               ## @.str.2
	.asciz	"Block missing from ino %ju at lbn %jd\n"

	.no_dead_strip	_ino_trunc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ino_trunc
_ino_trunc:                             ; @ino_trunc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x1
	mov	x19, x0
	bl	_ino_read
	mov	x20, x0
Lloh0:
	adrp	x8, _di_mode@GOTPAGE
Lloh1:
	ldr	x8, [x8, _di_mode@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_DIP
Lloh3:
	adrp	x8, _IFMT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IFMT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w23, w8, w0
Lloh6:
	adrp	x8, _di_size@GOTPAGE
Lloh7:
	ldr	x8, [x8, _di_size@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_DIP
	mov	x22, x0
Lloh9:
	adrp	x8, _debug@GOTPAGE
Lloh10:
	ldr	x8, [x8, _debug@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	mov	x2, x23
	mov	x3, x21
	mov	x4, x22
	bl	_printf
LBB0_2:
Lloh14:
	adrp	x8, _IFBLK@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IFBLK@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _IFCHR@GOTPAGE
Lloh18:
	ldr	x9, [x9, _IFCHR@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	cmp	w23, #0
	ccmp	w8, w23, #4, ne
	ccmp	w9, w23, #4, ne
	b.eq	LBB0_29
; %bb.3:
Lloh20:
	adrp	x8, _IFLNK@GOTPAGE
Lloh21:
	ldr	x8, [x8, _IFLNK@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	adrp	x26, _fs@GOTPAGE
Lloh24:
	ldr	x26, [x26, _fs@GOTPAGEOFF]
	ldr	x24, [x26]
	cmp	w8, w23
	b.ne	LBB0_5
; %bb.4:
	ldr	x8, [x24, #8]
	cmp	x22, x8
	b.lt	LBB0_29
LBB0_5:
	str	x19, [sp, #16]                  ; 8-byte Folded Spill
	cmp	x22, x21
	csel	x21, x22, x21, lt
	mov	x0, x24
	mov	x1, x21
	bl	_blkroundup
	mov	x1, x0
	mov	x0, x24
	bl	_lblkno
	mov	x23, x0
Lloh25:
	adrp	x28, _UFS_NDADDR@GOTPAGE
Lloh26:
	ldr	x28, [x28, _UFS_NDADDR@GOTPAGEOFF]
	ldr	x8, [x28]
Lloh27:
	adrp	x27, _di_db@GOTPAGE
Lloh28:
	ldr	x27, [x27, _di_db@GOTPAGEOFF]
	cmp	x0, x8
	b.hs	LBB0_10
; %bb.6:
	mov	x24, x23
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x24, x24, #1
	ldr	x8, [x28]
	cmp	x24, x8
	b.hs	LBB0_10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x27]
	ldr	w1, [x8, x24, lsl #2]
	mov	x0, x20
	bl	_DIP
	cbz	x0, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [x26]
	mov	x1, x22
	mov	x2, x24
	bl	_sblksize
	ldr	x8, [x26]
	sxtw	x1, w0
	mov	x0, x8
	bl	_numfrags
	mov	x25, x0
	str	w25, [sp, #28]
	ldr	x8, [x27]
	lsl	x19, x24, #2
	ldr	w1, [x8, x19]
	mov	x0, x20
	bl	_DIP
	mov	w1, #0
	mov	x2, x25
	bl	_blk_free
	ldr	x8, [x27]
	ldr	w1, [x8, x19]
	mov	x0, x20
	mov	x2, #0
	bl	_DIP_SET
	b	LBB0_7
LBB0_10:
	stp	x22, x21, [sp]                  ; 16-byte Folded Spill
	ldr	x0, [x26]
	bl	_NINDIR
Lloh29:
	adrp	x8, _UFS_NIADDR@GOTPAGE
Lloh30:
	ldr	x8, [x8, _UFS_NIADDR@GOTPAGEOFF]
Lloh31:
	ldr	x8, [x8]
	cbz	x8, LBB0_17
; %bb.11:
	mov	x24, x0
	mov	x21, #0
	mov	x22, #0
Lloh32:
	adrp	x8, _UFS_NDADDR@GOTPAGE
Lloh33:
	ldr	x8, [x8, _UFS_NDADDR@GOTPAGEOFF]
Lloh34:
	ldr	x27, [x8]
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	mul	x24, x25, x24
	add	x22, x22, #1
Lloh35:
	adrp	x8, _UFS_NIADDR@GOTPAGE
Lloh36:
	ldr	x8, [x8, _UFS_NIADDR@GOTPAGEOFF]
Lloh37:
	ldr	x8, [x8]
	sub	x21, x21, #1
	mov	x27, x19
	cmp	x22, x8
	b.hs	LBB0_17
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	add	x19, x24, x27
	ldr	x0, [x26]
	bl	_NINDIR
	mov	x25, x0
	cmp	x23, x19
	b.hs	LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
Lloh38:
	adrp	x8, _di_ib@GOTPAGE
Lloh39:
	ldr	x8, [x8, _di_ib@GOTPAGEOFF]
Lloh40:
	ldr	x8, [x8]
	ldr	w1, [x8, x22, lsl #2]
	mov	x0, x20
	bl	_DIP
	cbz	x0, LBB0_12
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x28, x26
	sub	x26, x21, x27
Lloh41:
	adrp	x8, _di_ib@GOTPAGE
Lloh42:
	ldr	x8, [x8, _di_ib@GOTPAGEOFF]
Lloh43:
	ldr	x8, [x8]
	ldr	w1, [x8, x22, lsl #2]
	mov	x0, x20
	bl	_DIP
	mov	x2, x0
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	mov	x1, x26
	mov	x26, x28
	mov	x3, x23
	bl	_indir_trunc
	cmp	x23, x27
	b.hi	LBB0_12
; %bb.16:                               ;   in Loop: Header=BB0_13 Depth=1
Lloh44:
	adrp	x27, _di_ib@GOTPAGE
Lloh45:
	ldr	x27, [x27, _di_ib@GOTPAGEOFF]
	ldr	x8, [x27]
	lsl	x26, x22, #2
	ldr	w1, [x8, x26]
	mov	x0, x20
	bl	_DIP
	ldr	x8, [x28]
	ldr	w2, [x8]
	mov	w1, #0
	bl	_blk_free
	ldr	x8, [x27]
	ldr	w1, [x8, x26]
	mov	x26, x28
	mov	x0, x20
	mov	x2, #0
	bl	_DIP_SET
	b	LBB0_12
LBB0_17:
	ldr	x19, [sp, #16]                  ; 8-byte Folded Reload
	mov	x0, x19
	bl	_ino_dirty
Lloh46:
	adrp	x25, _visitlbn@GOTPAGE
Lloh47:
	ldr	x25, [x25, _visitlbn@GOTPAGEOFF]
	str	wzr, [x25]
Lloh48:
	adrp	x8, _null_visit@GOTPAGE
Lloh49:
	ldr	x8, [x8, _null_visit@GOTPAGEOFF]
Lloh50:
	adrp	x9, _VISIT_INDIR@GOTPAGE
Lloh51:
	ldr	x9, [x9, _VISIT_INDIR@GOTPAGEOFF]
Lloh52:
	ldr	w2, [x8]
Lloh53:
	ldr	w8, [x9]
Lloh54:
	adrp	x9, _VISIT_EXT@GOTPAGE
Lloh55:
	ldr	x9, [x9, _VISIT_EXT@GOTPAGEOFF]
Lloh56:
	ldr	w9, [x9]
	orr	w3, w9, w8
	mov	x0, x20
	mov	x1, x19
	bl	_ino_visit
	mov	x23, x0
	ldr	x0, [x26]
	ldr	w8, [x25]
	add	w1, w8, #1
	bl	_lblktosize
	ldr	x21, [sp, #8]                   ; 8-byte Folded Reload
	cmp	x21, x0
	b.le	LBB0_19
; %bb.18:
	ldr	x0, [x26]
	ldr	w8, [x25]
	add	w1, w8, #1
	bl	_lblktosize
	mov	x21, x0
LBB0_19:
	ldrsw	x8, [x25]
Lloh57:
	adrp	x9, _UFS_NDADDR@GOTPAGE
Lloh58:
	ldr	x9, [x9, _UFS_NDADDR@GOTPAGEOFF]
Lloh59:
	ldr	x9, [x9]
	cmp	x9, x8
	ccmp	x23, #0, #4, hi
	ldr	x22, [sp]                       ; 8-byte Folded Reload
Lloh60:
	adrp	x9, _di_db@GOTPAGE
Lloh61:
	ldr	x9, [x9, _di_db@GOTPAGEOFF]
	b.eq	LBB0_24
; %bb.20:
	ldr	x9, [x9]
	ldr	w1, [x9, x8, lsl #2]
	mov	x0, x20
	bl	_DIP
	mov	x24, x0
	cbnz	x0, LBB0_22
; %bb.21:
	ldr	w2, [x25]
Lloh62:
	adrp	x0, l_.str.1@PAGE
Lloh63:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_err_suj
LBB0_22:
	ldr	x0, [x26]
	ldr	w2, [x25]
	mov	x1, x22
	bl	_sblksize
	mov	x22, x0
	ldr	x0, [x26]
	ldr	w2, [x25]
	mov	x1, x21
	bl	_sblksize
	subs	x22, x22, x0
	b.eq	LBB0_24
; %bb.23:
	mov	x1, x0
	ldr	x0, [x26]
	bl	_numfrags
	add	x24, x0, x24
	ldr	x0, [x26]
	mov	x1, x22
	bl	_numfrags
	mov	x22, x0
	str	w22, [sp, #28]
	mov	x0, x24
	mov	w1, #0
	mov	x2, x22
	bl	_blk_free
	sub	x23, x23, w22, sxtw
LBB0_24:
Lloh64:
	adrp	x8, _di_blocks@GOTPAGE
Lloh65:
	ldr	x8, [x8, _di_blocks@GOTPAGEOFF]
Lloh66:
	ldr	w22, [x8]
	ldr	x0, [x26]
	mov	x1, x23
	bl	_fsbtodb
	mov	x2, x0
	mov	x0, x20
	mov	x1, x22
	bl	_DIP_SET
Lloh67:
	adrp	x8, _di_size@GOTPAGE
Lloh68:
	ldr	x8, [x8, _di_size@GOTPAGEOFF]
Lloh69:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x21
	bl	_DIP_SET
	ldr	x0, [x26]
	mov	x1, x21
	bl	_blkoff
Lloh70:
	adrp	x8, _di_mode@GOTPAGE
Lloh71:
	ldr	x8, [x8, _di_mode@GOTPAGEOFF]
	cbz	x0, LBB0_29
; %bb.25:
	mov	x21, x0
	ldr	w1, [x8]
	mov	x0, x20
	bl	_DIP
Lloh72:
	adrp	x8, _IFDIR@GOTPAGE
Lloh73:
	ldr	x8, [x8, _IFDIR@GOTPAGEOFF]
Lloh74:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_29
; %bb.26:
	ldr	w2, [x25]
	add	x3, sp, #28
	mov	x0, x20
	mov	x1, x19
	bl	_ino_blkatoff
	mov	x20, x0
	cbnz	x0, LBB0_28
; %bb.27:
	ldr	w2, [x25]
Lloh75:
	adrp	x0, l_.str.2@PAGE
Lloh76:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_err_suj
LBB0_28:
	ldrsw	x8, [sp, #28]
	ldr	x9, [x26]
	ldrsw	x9, [x9, #4]
	mul	x19, x9, x8
	mov	x0, x20
	mov	x1, x19
	bl	_dblk_read
	sub	x1, x19, x21
	add	x0, x0, x21, lsl #2
	bl	_bzero
	mov	x0, x20
	bl	_dblk_dirty
LBB0_29:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh52
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpLdrGot	Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpAdd	Lloh75, Lloh76
	.cfi_endproc
                                        ; -- End function
	.comm	_di_mode,4,2                    ; @di_mode
	.comm	_IFMT,8,3                       ; @IFMT
	.comm	_di_size,4,2                    ; @di_size
	.comm	_debug,8,3                      ; @debug
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Truncating ino %ju, mode %o to size %jd from size %jd\n"

	.comm	_IFBLK,4,2                      ; @IFBLK
	.comm	_IFCHR,4,2                      ; @IFCHR
	.comm	_IFLNK,4,2                      ; @IFLNK
	.comm	_fs,8,3                         ; @fs
	.comm	_UFS_NDADDR,8,3                 ; @UFS_NDADDR
	.comm	_di_db,8,3                      ; @di_db
	.comm	_UFS_NIADDR,8,3                 ; @UFS_NIADDR
	.comm	_di_ib,8,3                      ; @di_ib
	.comm	_visitlbn,4,2                   ; @visitlbn
	.comm	_null_visit,4,2                 ; @null_visit
	.comm	_VISIT_INDIR,4,2                ; @VISIT_INDIR
	.comm	_VISIT_EXT,4,2                  ; @VISIT_EXT
l_.str.1:                               ; @.str.1
	.asciz	"Bad blk at ino %ju lbn %jd\n"

	.comm	_di_blocks,4,2                  ; @di_blocks
	.comm	_IFDIR,8,3                      ; @IFDIR
l_.str.2:                               ; @.str.2
	.asciz	"Block missing from ino %ju at lbn %jd\n"

	.no_dead_strip	_ino_trunc
.subsections_via_symbols
