	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HU_dequeueChatChar             ## -- Begin function HU_dequeueChatChar
	.p2align	4, 0x90
_HU_dequeueChatChar:                    ## @HU_dequeueChatChar
	.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), %rax
	movq	_tail@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	cmpq	%rdx, (%rax)
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_2:
	movq	_chatchars@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movb	(%rax,%rdx), %al
	incq	%rdx
	movq	_QUEUESIZE@GOTPCREL(%rip), %rsi
	movslq	(%rsi), %rsi
	decq	%rsi
	andq	%rdx, %rsi
	movq	%rsi, (%rcx)
LBB0_3:
	movsbl	%al, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_head,8,3                       ## @head
	.comm	_tail,8,3                       ## @tail
	.comm	_chatchars,8,3                  ## @chatchars
	.comm	_QUEUESIZE,4,2                  ## @QUEUESIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HU_dequeueChatChar             ; -- Begin function HU_dequeueChatChar
	.p2align	2
_HU_dequeueChatChar:                    ; @HU_dequeueChatChar
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _head@GOTPAGE
Lloh1:
	ldr	x8, [x8, _head@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
Lloh3:
	adrp	x8, _tail@GOTPAGE
Lloh4:
	ldr	x8, [x8, _tail@GOTPAGEOFF]
	ldr	x10, [x8]
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.1:
	sxtb	w0, wzr
	ret
LBB0_2:
Lloh5:
	adrp	x9, _chatchars@GOTPAGE
Lloh6:
	ldr	x9, [x9, _chatchars@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	ldrb	w9, [x9, x10]
	add	x10, x10, #1
Lloh8:
	adrp	x11, _QUEUESIZE@GOTPAGE
Lloh9:
	ldr	x11, [x11, _QUEUESIZE@GOTPAGEOFF]
Lloh10:
	ldrsw	x11, [x11]
	sub	x11, x11, #1
	and	x10, x10, x11
	str	x10, [x8]
	sxtb	w0, w9
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_head,8,3                       ; @head
	.comm	_tail,8,3                       ; @tail
	.comm	_chatchars,8,3                  ; @chatchars
	.comm	_QUEUESIZE,4,2                  ; @QUEUESIZE
.subsections_via_symbols
