	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_compute_uncommitted_log_bytes  ## -- Begin function compute_uncommitted_log_bytes
	.p2align	4, 0x90
_compute_uncommitted_log_bytes:         ## @compute_uncommitted_log_bytes
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_log_wptr@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_log_rptr@GOTPCREL(%rip), %rax
	subl	(%rax), %ecx
	movq	_log_endw@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_log_start@GOTPCREL(%rip), %rax
	subl	(%rax), %edx
	movl	%ecx, %eax
	sarl	$31, %eax
	andl	%edx, %eax
	addl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_log_wptr,4,2                   ## @log_wptr
	.comm	_log_rptr,4,2                   ## @log_rptr
	.comm	_log_endw,8,3                   ## @log_endw
	.comm	_log_start,8,3                  ## @log_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_compute_uncommitted_log_bytes  ; -- Begin function compute_uncommitted_log_bytes
	.p2align	2
_compute_uncommitted_log_bytes:         ; @compute_uncommitted_log_bytes
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _log_wptr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _log_wptr@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _log_rptr@GOTPAGE
Lloh4:
	ldr	x9, [x9, _log_rptr@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _log_endw@GOTPAGE
Lloh7:
	ldr	x10, [x10, _log_endw@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
Lloh9:
	adrp	x11, _log_start@GOTPAGE
Lloh10:
	ldr	x11, [x11, _log_start@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	sub	w10, w10, w11
	sub	w8, w8, w9
	and	w9, w10, w8, asr #31
	add	w0, w9, w8
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_log_wptr,4,2                   ; @log_wptr
	.comm	_log_rptr,4,2                   ; @log_rptr
	.comm	_log_endw,8,3                   ; @log_endw
	.comm	_log_start,8,3                  ; @log_start
.subsections_via_symbols
