	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PageSetChecksumCopy            ## -- Begin function PageSetChecksumCopy
	.p2align	4, 0x90
_PageSetChecksumCopy:                   ## @PageSetChecksumCopy
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_PageIsNew
	testq	%rax, %rax
	jne	LBB0_5
## %bb.1:
	xorl	%eax, %eax
	callq	_DataChecksumsEnabled
	testl	%eax, %eax
	je	LBB0_5
## %bb.2:
	movq	_PageSetChecksumCopy.pageCopy(%rip), %rdi
	testq	%rdi, %rdi
	jne	LBB0_4
## %bb.3:
	movq	_TopMemoryContext@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_BLCKSZ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MemoryContextAlloc
	movq	%rax, %rdi
	movq	%rax, _PageSetChecksumCopy.pageCopy(%rip)
LBB0_4:
	movq	_BLCKSZ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	callq	_memcpy
	movq	_PageSetChecksumCopy.pageCopy(%rip), %rdi
	movl	%r14d, %esi
	callq	_pg_checksum_page
	movq	_PageSetChecksumCopy.pageCopy(%rip), %rbx
	movl	%eax, (%rbx)
LBB0_5:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_PageSetChecksumCopy.pageCopy,8,3 ## @PageSetChecksumCopy.pageCopy
	.comm	_TopMemoryContext,4,2           ## @TopMemoryContext
	.comm	_BLCKSZ,4,2                     ## @BLCKSZ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PageSetChecksumCopy            ; -- Begin function PageSetChecksumCopy
	.p2align	2
_PageSetChecksumCopy:                   ; @PageSetChecksumCopy
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	bl	_PageIsNew
	cbnz	x0, LBB0_5
; %bb.1:
	bl	_DataChecksumsEnabled
	cbz	w0, LBB0_5
; %bb.2:
	adrp	x21, _PageSetChecksumCopy.pageCopy@PAGE
	ldr	x0, [x21, _PageSetChecksumCopy.pageCopy@PAGEOFF]
Lloh0:
	adrp	x22, _BLCKSZ@GOTPAGE
Lloh1:
	ldr	x22, [x22, _BLCKSZ@GOTPAGEOFF]
	cbnz	x0, LBB0_4
; %bb.3:
Lloh2:
	adrp	x8, _TopMemoryContext@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TopMemoryContext@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldr	w1, [x22]
	bl	_MemoryContextAlloc
	str	x0, [x21, _PageSetChecksumCopy.pageCopy@PAGEOFF]
LBB0_4:
	ldr	w2, [x22]
	mov	x1, x19
	bl	_memcpy
	ldr	x0, [x21, _PageSetChecksumCopy.pageCopy@PAGEOFF]
	mov	x1, x20
	bl	_pg_checksum_page
	ldr	x19, [x21, _PageSetChecksumCopy.pageCopy@PAGEOFF]
	str	w0, [x19]
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_PageSetChecksumCopy.pageCopy,8,3 ; @PageSetChecksumCopy.pageCopy
	.comm	_TopMemoryContext,4,2           ; @TopMemoryContext
	.comm	_BLCKSZ,4,2                     ; @BLCKSZ
.subsections_via_symbols
