	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CL_AddReliableCommand          ## -- Begin function CL_AddReliableCommand
	.p2align	4, 0x90
_CL_AddReliableCommand:                 ## @CL_AddReliableCommand
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_clc@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	movl	%eax, %edx
	subl	4(%rbx), %edx
	movq	%rdi, %r14
	movq	_MAX_RELIABLE_COMMANDS@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	cmpl	%ecx, %edx
	jle	LBB0_2
## %bb.1:
	movq	_ERR_DROP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_Com_Error
	movl	(%rbx), %eax
	movl	(%r15), %ecx
LBB0_2:
	incl	%eax
	movl	%eax, (%rbx)
	decl	%ecx
	andl	%eax, %ecx
	movq	8(%rbx), %rax
	movslq	%ecx, %rcx
	movl	(%rax,%rcx,4), %edi
	movq	%r14, %rsi
	movl	$4, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Q_strncpyz                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_clc,16,3                       ## @clc
	.comm	_MAX_RELIABLE_COMMANDS,4,2      ## @MAX_RELIABLE_COMMANDS
	.comm	_ERR_DROP,4,2                   ## @ERR_DROP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Client command overflow"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CL_AddReliableCommand          ; -- Begin function CL_AddReliableCommand
	.p2align	2
_CL_AddReliableCommand:                 ; @CL_AddReliableCommand
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
Lloh0:
	adrp	x20, _clc@GOTPAGE
Lloh1:
	ldr	x20, [x20, _clc@GOTPAGEOFF]
	ldp	w8, w10, [x20]
Lloh2:
	adrp	x21, _MAX_RELIABLE_COMMANDS@GOTPAGE
Lloh3:
	ldr	x21, [x21, _MAX_RELIABLE_COMMANDS@GOTPAGEOFF]
	ldr	w9, [x21]
	sub	w10, w8, w10
	cmp	w10, w9
	b.le	LBB0_2
; %bb.1:
Lloh4:
	adrp	x8, _ERR_DROP@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ERR_DROP@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	bl	_Com_Error
	ldr	w8, [x20]
	ldr	w9, [x21]
LBB0_2:
	add	w8, w8, #1
	str	w8, [x20]
	sub	w9, w9, #1
	and	w8, w9, w8
	ldr	x9, [x20, #8]
	ldr	w0, [x9, w8, sxtw #2]
	mov	x1, x19
	mov	w2, #4
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_Q_strncpyz
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_clc,16,3                       ; @clc
	.comm	_MAX_RELIABLE_COMMANDS,4,2      ; @MAX_RELIABLE_COMMANDS
	.comm	_ERR_DROP,4,2                   ; @ERR_DROP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Client command overflow"

.subsections_via_symbols
