	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CON_LogSize                    ## -- Begin function CON_LogSize
	.p2align	4, 0x90
_CON_LogSize:                           ## @CON_LogSize
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_readPos@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_writePos@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	%esi, %eax
	subl	%edx, %eax
	xorl	%ecx, %ecx
	cmpq	%rdx, %rsi
	jge	LBB0_2
## %bb.1:
	movq	_MAX_LOG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_2:
	addl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_readPos,8,3                    ## @readPos
	.comm	_writePos,8,3                   ## @writePos
	.comm	_MAX_LOG,8,3                    ## @MAX_LOG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CON_LogSize                    ; -- Begin function CON_LogSize
	.p2align	2
_CON_LogSize:                           ; @CON_LogSize
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _readPos@GOTPAGE
Lloh1:
	ldr	x8, [x8, _readPos@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _writePos@GOTPAGE
Lloh4:
	ldr	x9, [x9, _writePos@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _MAX_LOG@GOTPAGE
Lloh7:
	ldr	x10, [x10, _MAX_LOG@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	cmp	x9, x8
	csel	w10, w10, wzr, lt
	sub	w8, w9, w8
	add	w0, w8, w10
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_readPos,8,3                    ; @readPos
	.comm	_writePos,8,3                   ; @writePos
	.comm	_MAX_LOG,8,3                    ; @MAX_LOG
.subsections_via_symbols
