	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_pos                      ## -- Begin function check_pos
	.p2align	4, 0x90
_check_pos:                             ## @check_pos
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_current_cmd_buffer_pos@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_CMD_BUFF_SIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rdx
	jge	LBB0_1
## %bb.2:
	testq	%rdx, %rdx
	js	LBB0_3
## %bb.5:
	popq	%rbp
	retq
LBB0_1:
	decq	%rcx
	jmp	LBB0_4
LBB0_3:
	xorl	%ecx, %ecx
LBB0_4:
	movq	%rcx, (%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_current_cmd_buffer_pos,8,3     ## @current_cmd_buffer_pos
	.comm	_CMD_BUFF_SIZE,8,3              ## @CMD_BUFF_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_pos                      ; -- Begin function check_pos
	.p2align	2
_check_pos:                             ; @check_pos
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _current_cmd_buffer_pos@GOTPAGE
Lloh1:
	ldr	x8, [x8, _current_cmd_buffer_pos@GOTPAGEOFF]
	ldr	x9, [x8]
Lloh2:
	adrp	x10, _CMD_BUFF_SIZE@GOTPAGE
Lloh3:
	ldr	x10, [x10, _CMD_BUFF_SIZE@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ge	LBB0_3
; %bb.1:
	tbnz	x9, #63, LBB0_4
; %bb.2:
	ret
LBB0_3:
	sub	x9, x10, #1
	str	x9, [x8]
	ret
LBB0_4:
	mov	x9, #0
	str	x9, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_current_cmd_buffer_pos,8,3     ; @current_cmd_buffer_pos
	.comm	_CMD_BUFF_SIZE,8,3              ; @CMD_BUFF_SIZE
.subsections_via_symbols
