	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CL_SendCmd                     ## -- Begin function CL_SendCmd
	.p2align	4, 0x90
_CL_SendCmd:                            ## @CL_SendCmd
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_cls@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_CA_CONNECTED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_1
LBB0_8:
	popq	%rbp
	retq
LBB0_1:
	movq	_com_sv_running@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.2:
	movq	_sv_paused@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_cl_paused@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	jne	LBB0_8
LBB0_4:
	xorl	%eax, %eax
	callq	_CL_CreateNewCommands
	xorl	%eax, %eax
	callq	_CL_ReadyToSendPacket
	testl	%eax, %eax
	je	LBB0_5
## %bb.7:
	xorl	%eax, %eax
	popq	%rbp
	jmp	_CL_WritePacket                 ## TAILCALL
LBB0_5:
	movq	_cl_showSend@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.6:
	leaq	L_.str(%rip), %rdi
	popq	%rbp
	jmp	_Com_Printf                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_cls,8,3                        ## @cls
	.comm	_CA_CONNECTED,8,3               ## @CA_CONNECTED
	.comm	_com_sv_running,8,3             ## @com_sv_running
	.comm	_sv_paused,8,3                  ## @sv_paused
	.comm	_cl_paused,8,3                  ## @cl_paused
	.comm	_cl_showSend,8,3                ## @cl_showSend
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	". "

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CL_SendCmd                     ; -- Begin function CL_SendCmd
	.p2align	2
_CL_SendCmd:                            ; @CL_SendCmd
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _cls@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cls@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _CA_CONNECTED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CA_CONNECTED@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_2
LBB0_1:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh6:
	adrp	x8, _com_sv_running@GOTPAGE
Lloh7:
	ldr	x8, [x8, _com_sv_running@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.3:
Lloh9:
	adrp	x8, _sv_paused@GOTPAGE
Lloh10:
	ldr	x8, [x8, _sv_paused@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.4:
Lloh12:
	adrp	x8, _cl_paused@GOTPAGE
Lloh13:
	ldr	x8, [x8, _cl_paused@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbnz	x8, LBB0_1
LBB0_5:
	bl	_CL_CreateNewCommands
	bl	_CL_ReadyToSendPacket
	cbz	w0, LBB0_7
; %bb.6:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_CL_WritePacket
LBB0_7:
Lloh15:
	adrp	x8, _cl_showSend@GOTPAGE
Lloh16:
	ldr	x8, [x8, _cl_showSend@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_1
; %bb.8:
Lloh18:
	adrp	x0, l_.str@PAGE
Lloh19:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_Com_Printf
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_cls,8,3                        ; @cls
	.comm	_CA_CONNECTED,8,3               ; @CA_CONNECTED
	.comm	_com_sv_running,8,3             ; @com_sv_running
	.comm	_sv_paused,8,3                  ; @sv_paused
	.comm	_cl_paused,8,3                  ; @cl_paused
	.comm	_cl_showSend,8,3                ; @cl_showSend
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	". "

.subsections_via_symbols
