	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CL_Netchan_Decode
_CL_Netchan_Decode:                     ## @CL_Netchan_Decode
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %r15
	movl	8(%rdi), %ebx
	movl	$0, 8(%rdi)
	callq	_MSG_ReadLong
	movl	%ebx, 8(%r14)
	movq	%r15, (%r14)
	movq	_clc@GOTPCREL(%rip), %rcx
	movq	8(%rcx), %rdx
	movq	_MAX_RELIABLE_COMMANDS@GOTPCREL(%rip), %rsi
	movslq	(%rsi), %rsi
	decq	%rsi
	andq	%rax, %rsi
	movq	(%rdx,%rsi,8), %r12
	movl	(%rcx), %r15d
	movq	16(%r14), %rax
	movl	(%rax), %edi
	callq	_LittleLong
	movslq	(%r14), %rdx
	movq	_CL_DECODE_START@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rdx
	movq	24(%r14), %r9
	cmpq	%r9, %rdx
	jge	LBB0_9
## %bb.1:
	xorl	%r15d, %eax
	movq	16(%r14), %r8
	xorl	%edi, %edi
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%edx, %ecx
	andb	$1, %cl
	shll	%cl, %esi
	xorl	%esi, %eax
	xorl	%eax, (%r8,%rdx,4)
	incq	%rdi
	incq	%rdx
	cmpq	%r9, %rdx
	jge	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%r12,%rdi,4)
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edi, %edi
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r12,%rdi,4), %ecx
	movl	$46, %esi
	movl	$46, %ebx
	cmpl	$37, %ecx
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%ecx, %ebx
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$127, %ecx
	jg	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %esi
	jmp	LBB0_8
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_clc,16,3                       ## @clc
	.comm	_MAX_RELIABLE_COMMANDS,4,2      ## @MAX_RELIABLE_COMMANDS
	.comm	_CL_DECODE_START,8,3            ## @CL_DECODE_START
	.no_dead_strip	_CL_Netchan_Decode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CL_Netchan_Decode
_CL_Netchan_Decode:                     ; @CL_Netchan_Decode
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-64]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset b8, -56
	.cfi_offset b9, -64
	mov	x19, x0
	ldr	w20, [x0, #8]
	str	wzr, [x0, #8]
	ldr	d8, [x0]
	bl	_MSG_ReadLong
	str	w20, [x19, #8]
Lloh0:
	adrp	x8, _clc@GOTPAGE
Lloh1:
	ldr	x8, [x8, _clc@GOTPAGEOFF]
	str	d8, [x19]
	ldr	x9, [x8, #8]
Lloh2:
	adrp	x10, _MAX_RELIABLE_COMMANDS@GOTPAGE
Lloh3:
	ldr	x10, [x10, _MAX_RELIABLE_COMMANDS@GOTPAGEOFF]
Lloh4:
	ldrsw	x10, [x10]
	sub	x10, x10, #1
	and	x10, x0, x10
	ldr	x20, [x9, x10, lsl #3]
	ldr	w21, [x8]
	ldr	x8, [x19, #16]
	ldr	w0, [x8]
	bl	_LittleLong
	ldrsw	x9, [x19]
Lloh5:
	adrp	x8, _CL_DECODE_START@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CL_DECODE_START@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x8]
	ldr	x8, [x19, #24]
	add	x9, x10, x9
	cmp	x9, x8
	b.ge	LBB0_3
; %bb.1:
	mov	x14, #0
	eor	w10, w0, w21
	ldr	x11, [x19, #16]
	mov	w12, #127
	mov	w13, #46
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w15, [x20, x14, lsl #2]
	cmp	w15, #0
	csel	x14, xzr, x14, eq
	ldr	w15, [x20, x14, lsl #2]
	cmp	w15, #37
	ccmp	w15, w12, #0, ne
	and	w16, w9, #0x1
	csel	w15, w13, w15, gt
	lsl	w15, w15, w16
	eor	w10, w15, w10
	lsl	x15, x9, #2
	ldr	w16, [x11, x15]
	add	x14, x14, #1
	eor	w16, w10, w16
	str	w16, [x11, x15]
	add	x9, x9, #1
	cmp	x9, x8
	b.lt	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #64               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_clc,16,3                       ; @clc
	.comm	_MAX_RELIABLE_COMMANDS,4,2      ; @MAX_RELIABLE_COMMANDS
	.comm	_CL_DECODE_START,8,3            ; @CL_DECODE_START
	.no_dead_strip	_CL_Netchan_Decode
.subsections_via_symbols
