	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HU_queueChatChar               ## -- Begin function HU_queueChatChar
	.p2align	4, 0x90
_HU_queueChatChar:                      ## @HU_queueChatChar
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_head@GOTPCREL(%rip), %r8
	movslq	(%r8), %rdx
	leal	1(%rdx), %esi
	movq	_QUEUESIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	decl	%eax
	andl	%esi, %eax
	movq	_tail@GOTPCREL(%rip), %rsi
	cmpl	(%rsi), %eax
	jne	LBB0_2
## %bb.1:
	movq	_HUSTR_MSGU@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_plr@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%rcx)
	popq	%rbp
	retq
LBB0_2:
	movq	_chatchars@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movb	%dil, (%rax,%rdx)
	movl	(%r8), %eax
	incl	%eax
	movl	(%rcx), %ecx
	decl	%ecx
	andl	%eax, %ecx
	movl	%ecx, (%r8)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_head,4,2                       ## @head
	.comm	_QUEUESIZE,4,2                  ## @QUEUESIZE
	.comm	_tail,4,2                       ## @tail
	.comm	_HUSTR_MSGU,4,2                 ## @HUSTR_MSGU
	.comm	_plr,8,3                        ## @plr
	.comm	_chatchars,8,3                  ## @chatchars
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HU_queueChatChar               ; -- Begin function HU_queueChatChar
	.p2align	2
_HU_queueChatChar:                      ; @HU_queueChatChar
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _head@GOTPAGE
Lloh1:
	ldr	x8, [x8, _head@GOTPAGEOFF]
	ldrsw	x9, [x8]
	add	w11, w9, #1
Lloh2:
	adrp	x10, _QUEUESIZE@GOTPAGE
Lloh3:
	ldr	x10, [x10, _QUEUESIZE@GOTPAGEOFF]
	ldr	w12, [x10]
	sub	w12, w12, #1
	and	w11, w12, w11
Lloh4:
	adrp	x12, _tail@GOTPAGE
Lloh5:
	ldr	x12, [x12, _tail@GOTPAGEOFF]
Lloh6:
	ldr	w12, [x12]
	cmp	w11, w12
	b.ne	LBB0_2
; %bb.1:
Lloh7:
	adrp	x8, _HUSTR_MSGU@GOTPAGE
Lloh8:
	ldr	x8, [x8, _HUSTR_MSGU@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _plr@GOTPAGE
Lloh11:
	ldr	x9, [x9, _plr@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	str	w8, [x9]
	ret
LBB0_2:
Lloh13:
	adrp	x11, _chatchars@GOTPAGE
Lloh14:
	ldr	x11, [x11, _chatchars@GOTPAGEOFF]
Lloh15:
	ldr	x11, [x11]
	strb	w0, [x11, x9]
	ldr	w9, [x8]
	add	w9, w9, #1
	ldr	w10, [x10]
	sub	w10, w10, #1
	and	w9, w10, w9
	str	w9, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_head,4,2                       ; @head
	.comm	_QUEUESIZE,4,2                  ; @QUEUESIZE
	.comm	_tail,4,2                       ; @tail
	.comm	_HUSTR_MSGU,4,2                 ; @HUSTR_MSGU
	.comm	_plr,8,3                        ; @plr
	.comm	_chatchars,8,3                  ; @chatchars
.subsections_via_symbols
