	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ffs_verify_dinode_ckhash       ## -- Begin function ffs_verify_dinode_ckhash
	.p2align	4, 0x90
_ffs_verify_dinode_ckhash:              ## @ffs_verify_dinode_ckhash
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	xorl	%eax, %eax
	cmpq	$0, (%rsi)
	je	LBB0_4
## %bb.1:
	movq	_CK_INODE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rdi)
	je	LBB0_4
## %bb.2:
	movq	%rsi, %rbx
	movq	8(%rsi), %r14
	movq	$0, 8(%rsi)
	movq	$-1, %rdi
	movl	$16, %edx
	callq	_calculate_crc32c
	movq	%rax, %rcx
	movq	%r14, 8(%rbx)
	xorl	%eax, %eax
	cmpq	%rcx, %r14
	je	LBB0_4
## %bb.3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CK_INODE,4,2                   ## @CK_INODE
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ffs_verify_dinode_ckhash       ; -- Begin function ffs_verify_dinode_ckhash
	.p2align	2
_ffs_verify_dinode_ckhash:              ; @ffs_verify_dinode_ckhash
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x1]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _CK_INODE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CK_INODE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	mov	x19, x1
	ldr	x20, [x1, #8]
	str	xzr, [x1, #8]
	mov	x0, #-1
	mov	w2, #16
	bl	_calculate_crc32c
	str	x20, [x19, #8]
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	x20, x0
	csel	w0, wzr, w8, eq
	b	LBB0_4
LBB0_3:
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_CK_INODE,4,2                   ; @CK_INODE
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
