	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_log_newpage_buffer             ## -- Begin function log_newpage_buffer
	.p2align	4, 0x90
_log_newpage_buffer:                    ## @log_newpage_buffer
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movl	%edi, %ebx
	callq	_BufferGetPage
	movl	%eax, %r15d
	movq	_CritSectionCount@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	$0, (%rax)
	setg	%dil
	callq	_Assert
	leaq	-44(%rbp), %r12
	leaq	-40(%rbp), %rdx
	leaq	-36(%rbp), %rcx
	movl	%ebx, %edi
	movq	%r12, %rsi
	callq	_BufferGetTag
	movl	-40(%rbp), %esi
	movl	-36(%rbp), %edx
	movq	%r12, %rdi
	movl	%r15d, %ecx
	movl	%r14d, %r8d
	callq	_log_newpage
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CritSectionCount,8,3           ## @CritSectionCount
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_log_newpage_buffer             ; -- Begin function log_newpage_buffer
	.p2align	2
_log_newpage_buffer:                    ; @log_newpage_buffer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_BufferGetPage
	mov	x21, x0
Lloh0:
	adrp	x8, _CritSectionCount@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CritSectionCount@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, #0
	cset	w0, gt
	bl	_Assert
	add	x1, sp, #12
	add	x2, sp, #8
	add	x3, sp, #4
	mov	x0, x20
	bl	_BufferGetTag
	ldp	w2, w1, [sp, #4]
	add	x0, sp, #12
	mov	x3, x21
	mov	x4, x19
	bl	_log_newpage
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CritSectionCount,8,3           ; @CritSectionCount
.subsections_via_symbols
