	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function clear_inode
_clear_inode:                           ## @clear_inode
	.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	%rdi, %r15
	movq	_fs@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	movq	(%rdi), %rax
	movq	_FS_UFS2_MAGIC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.1:
	movq	(%r15), %rsi
	testq	%rsi, %rsi
	jle	LBB0_8
## %bb.2:
	callq	_fragroundup
	movl	%eax, %edi
	callq	_btodb
	testl	%eax, %eax
	jle	LBB0_8
## %bb.3:
	movq	(%r15), %r14
	subl	%eax, 8(%r15)
	movq	$0, (%r15)
	movq	_UFS_NXADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_8
## %bb.4:
	xorl	%ebx, %ebx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rcx
	movq	(%rcx,%rbx,8), %r12
	testq	%r12, %r12
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r13), %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_sblksize
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_blkfree
	movq	_UFS_NXADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_7
LBB0_8:
	movq	24(%r15), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.9:
	xorl	%esi, %esi
	callq	_freeindir
	movq	24(%r15), %rax
	movq	8(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.10:
	movl	$1, %esi
	callq	_freeindir
	movq	24(%r15), %rax
	movq	16(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.11:
	movl	$2, %esi
	callq	_freeindir
LBB0_12:
	movq	_UFS_NDADDR@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	testl	%eax, %eax
	jle	LBB0_17
## %bb.13:
	xorl	%ebx, %ebx
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_14 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_17
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	32(%r15), %rcx
	movq	(%rcx,%rbx,8), %r14
	testq	%r14, %r14
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	(%r13), %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_dblksize
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_blkfree
	movl	(%r12), %eax
	jmp	LBB0_16
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_fs,8,3                         ## @fs
	.comm	_FS_UFS2_MAGIC,8,3              ## @FS_UFS2_MAGIC
	.comm	_UFS_NXADDR,4,2                 ## @UFS_NXADDR
	.comm	_UFS_NDADDR,4,2                 ## @UFS_NDADDR
	.comm	_SINGLE,4,2                     ## @SINGLE
	.comm	_TRIPLE,4,2                     ## @TRIPLE
	.no_dead_strip	_clear_inode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function clear_inode
_clear_inode:                           ; @clear_inode
	.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	x19, x0
Lloh0:
	adrp	x23, _fs@GOTPAGE
Lloh1:
	ldr	x23, [x23, _fs@GOTPAGEOFF]
	ldr	x0, [x23]
	ldr	x8, [x0]
Lloh2:
	adrp	x9, _FS_UFS2_MAGIC@GOTPAGE
Lloh3:
	ldr	x9, [x9, _FS_UFS2_MAGIC@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.1:
	ldr	x1, [x19]
	cmp	x1, #1
	b.lt	LBB0_8
; %bb.2:
	bl	_fragroundup
	bl	_btodb
	cmp	w0, #1
	b.lt	LBB0_8
; %bb.3:
	ldr	x20, [x19]
	ldr	w8, [x19, #8]
	sub	w8, w8, w0
	str	w8, [x19, #8]
	str	xzr, [x19]
Lloh5:
	adrp	x24, _UFS_NXADDR@GOTPAGE
Lloh6:
	ldr	x24, [x24, _UFS_NXADDR@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.4:
	mov	x21, #0
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x21, x21, #1
	cmp	x21, w8, sxtw
	b.ge	LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #16]
	ldr	x22, [x9, x21, lsl #3]
	cbz	x22, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [x23]
	mov	x1, x20
	mov	x2, x21
	bl	_sblksize
	mov	x1, x0
	mov	x0, x22
	bl	_blkfree
	ldr	w8, [x24]
	b	LBB0_5
LBB0_8:
	ldr	x8, [x19, #24]
	ldr	x0, [x8]
	cbz	x0, LBB0_12
; %bb.9:
	mov	w1, #0
	bl	_freeindir
	ldr	x8, [x19, #24]
	ldr	x0, [x8, #8]
	cbz	x0, LBB0_12
; %bb.10:
	mov	w1, #1
	bl	_freeindir
	ldr	x8, [x19, #24]
	ldr	x0, [x8, #16]
	cbz	x0, LBB0_12
; %bb.11:
	mov	w1, #2
	bl	_freeindir
LBB0_12:
Lloh7:
	adrp	x22, _UFS_NDADDR@GOTPAGE
Lloh8:
	ldr	x22, [x22, _UFS_NDADDR@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_17
; %bb.13:
	mov	x20, #0
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	add	x20, x20, #1
	cmp	x20, w8, sxtw
	b.ge	LBB0_17
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #32]
	ldr	x21, [x9, x20, lsl #3]
	cbz	x21, LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x0, [x23]
	mov	x1, x19
	mov	x2, x20
	bl	_dblksize
	mov	x1, x0
	mov	x0, x21
	bl	_blkfree
	ldr	w8, [x22]
	b	LBB0_14
LBB0_17:
	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
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_fs,8,3                         ; @fs
	.comm	_FS_UFS2_MAGIC,8,3              ; @FS_UFS2_MAGIC
	.comm	_UFS_NXADDR,4,2                 ; @UFS_NXADDR
	.comm	_UFS_NDADDR,4,2                 ; @UFS_NDADDR
	.comm	_SINGLE,4,2                     ; @SINGLE
	.comm	_TRIPLE,4,2                     ; @TRIPLE
	.no_dead_strip	_clear_inode
.subsections_via_symbols
