	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function checksum
_checksum:                              ## @checksum
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_Bcvt@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	movl	(%rdi), %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %edi
	callq	_swabl
LBB0_2:
	movq	_CHECKSUM@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_4
## %bb.3:
	movq	_GOOD@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	_curfile@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movl	8(%rcx), %ecx
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_fprintf
	movq	_FAIL@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Bcvt,4,2                       ## @Bcvt
	.comm	_CHECKSUM,4,2                   ## @CHECKSUM
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Checksum error %o, inode %ju file %s\n"

	.comm	_curfile,16,3                   ## @curfile
	.comm	_FAIL,4,2                       ## @FAIL
	.comm	_GOOD,4,2                       ## @GOOD
	.no_dead_strip	_checksum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function checksum
_checksum:                              ; @checksum
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _Bcvt@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Bcvt@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w2, [x0]
	cbz	w8, LBB0_2
; %bb.1:
	mov	x0, x2
	bl	_swabl
	mov	x2, x0
LBB0_2:
Lloh3:
	adrp	x8, _CHECKSUM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CHECKSUM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w2, w8
	b.ne	LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, _GOOD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GOOD@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh8:
	adrp	x8, _stderr@GOTPAGE
Lloh9:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x8, _curfile@GOTPAGE
Lloh12:
	ldr	x8, [x8, _curfile@GOTPAGEOFF]
	ldr	w3, [x8, #8]
	ldr	w4, [x8]
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_fprintf
Lloh15:
	adrp	x8, _FAIL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _FAIL@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_Bcvt,4,2                       ; @Bcvt
	.comm	_CHECKSUM,4,2                   ; @CHECKSUM
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Checksum error %o, inode %ju file %s\n"

	.comm	_curfile,16,3                   ; @curfile
	.comm	_FAIL,4,2                       ; @FAIL
	.comm	_GOOD,4,2                       ; @GOOD
	.no_dead_strip	_checksum
.subsections_via_symbols
