	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hvcs_write_room
_hvcs_write_room:                       ## @hvcs_write_room
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.1:
	cmpq	$0, (%rcx)
	jle	LBB0_3
## %bb.2:
	movq	_HVCS_BUFF_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subl	8(%rcx), %eax
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HVCS_BUFF_LEN,4,2              ## @HVCS_BUFF_LEN
	.no_dead_strip	_hvcs_write_room
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hvcs_write_room
_hvcs_write_room:                       ; @hvcs_write_room
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x9, [x8]
	cmp	x9, #1
	b.lt	LBB0_3
; %bb.2:
Lloh0:
	adrp	x9, _HVCS_BUFF_LEN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HVCS_BUFF_LEN@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	ldr	w8, [x8, #8]
	sub	w0, w9, w8
	ret
LBB0_3:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HVCS_BUFF_LEN,4,2              ; @HVCS_BUFF_LEN
	.no_dead_strip	_hvcs_write_room
.subsections_via_symbols
