	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SV_Netchan_Decode
_SV_Netchan_Decode:                     ## @SV_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	(%rsi), %r13d
	movq	4(%rsi), %r12
	movl	$0, 8(%rsi)
	movq	%rsi, %rdi
	callq	_MSG_ReadLong
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	callq	_MSG_ReadLong
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_MSG_ReadLong
	movq	%r12, 4(%r14)
	movl	%r13d, (%r14)
	movq	_SV_DECODE_START@GOTPCREL(%rip), %rcx
	addl	(%rcx), %r13d
	cmpl	12(%r14), %r13d
	jge	LBB0_7
## %bb.1:
	movq	8(%r15), %rcx
	movq	_MAX_RELIABLE_COMMANDS@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	decq	%rdx
	cltq
	andq	%rdx, %rax
	xorl	-44(%rbp), %ebx                 ## 4-byte Folded Reload
	xorl	(%r15), %ebx
	movq	(%rcx,%rax,8), %r9
	movq	16(%r14), %r8
	movslq	%r13d, %rsi
	xorl	%edi, %edi
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%esi, %ecx
	andb	$1, %cl
	shll	%cl, %edx
	xorl	%edx, %ebx
	xorl	%ebx, (%r8,%rsi,4)
	incl	%edi
	incq	%rsi
	movslq	12(%r14), %rax
	cmpq	%rax, %rsi
	jge	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%edi, %rdi
	movl	(%r9,%rdi,4), %eax
	testl	%eax, %eax
	cmovel	%eax, %edi
	movslq	%edi, %rax
	movl	(%r9,%rax,4), %ecx
	movl	$46, %edx
	movl	$46, %eax
	cmpl	$37, %ecx
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%ecx, %eax
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$127, %ecx
	jg	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %edx
	jmp	LBB0_6
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_RELIABLE_COMMANDS,4,2      ## @MAX_RELIABLE_COMMANDS
	.comm	_SV_DECODE_START,4,2            ## @SV_DECODE_START
	.no_dead_strip	_SV_Netchan_Decode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SV_Netchan_Decode
_SV_Netchan_Decode:                     ; @SV_Netchan_Decode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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 w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
	ldr	w23, [x1, #8]
	str	wzr, [x1, #8]
	ldr	d0, [x1]
	str	q0, [sp]                        ; 16-byte Folded Spill
	mov	x0, x1
	bl	_MSG_ReadLong
	mov	x21, x0
	mov	x0, x19
	bl	_MSG_ReadLong
	mov	x22, x0
	mov	x0, x19
	bl	_MSG_ReadLong
	str	w23, [x19, #8]
Lloh0:
	adrp	x8, _SV_DECODE_START@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SV_DECODE_START@GOTPAGEOFF]
	ldr	q0, [sp]                        ; 16-byte Folded Reload
	str	d0, [x19]
Lloh2:
	ldr	w8, [x8]
	fmov	w9, s0
	ldr	w10, [x19, #12]
	add	w12, w8, w9
	cmp	w12, w10
	b.ge	LBB0_3
; %bb.1:
	mov	w9, #0
	ldr	x8, [x20, #8]
Lloh3:
	adrp	x10, _MAX_RELIABLE_COMMANDS@GOTPAGE
Lloh4:
	ldr	x10, [x10, _MAX_RELIABLE_COMMANDS@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	sub	w10, w10, #1
	and	w10, w10, w0
	ldr	x8, [x8, w10, sxtw #3]
	eor	w10, w22, w21
	ldr	w11, [x20]
	eor	w10, w10, w11
	ldr	x11, [x19, #16]
	sxtw	x12, w12
	mov	w13, #127
	mov	w14, #46
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w15, [x8, w9, sxtw #2]
	cmp	w15, #0
	csel	w9, wzr, w9, eq
	ldr	w15, [x8, w9, sxtw #2]
	cmp	w15, #37
	ccmp	w15, w13, #0, ne
	and	w16, w12, #0x1
	csel	w15, w14, w15, gt
	lsl	w15, w15, w16
	eor	w10, w15, w10
	add	w9, w9, #1
	lsl	x15, x12, #2
	ldr	w16, [x11, x15]
	eor	w16, w10, w16
	str	w16, [x11, x15]
	add	x12, x12, #1
	ldrsw	x15, [x19, #12]
	cmp	x12, x15
	b.lt	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_RELIABLE_COMMANDS,4,2      ; @MAX_RELIABLE_COMMANDS
	.comm	_SV_DECODE_START,4,2            ; @SV_DECODE_START
	.no_dead_strip	_SV_Netchan_Decode
.subsections_via_symbols
