	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_netplay_delayed_state_change   ## -- Begin function netplay_delayed_state_change
	.p2align	4, 0x90
_netplay_delayed_state_change:          ## @netplay_delayed_state_change
	.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
	subq	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	(%rdi), %eax
	testl	%eax, %eax
	je	LBB0_10
## %bb.1:
	movq	%rdi, %r13
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_NETPLAY_CMD_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movq	%r14, %rsi
	leaq	-176(%rbp), %rcx
	movl	$120, %r8d
	callq	_netplay_send_raw_cmd_all
	movq	$0, 8(%r12,%r15)
	movl	(%r13), %eax
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %ecx
	addq	$32, %r15
	cmpq	%rcx, %rbx
	jae	LBB0_10
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	incq	%rbx
	movq	24(%r13), %r12
	cmpq	$0, 24(%r12,%r15)
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12,%r15), %rcx
	movq	_NETPLAY_CONNECTION_DELAYED_DISCONNECT@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_9
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r12,%r15), %rcx
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	8(%r13), %rcx
	jg	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%r12,%r15), %r14
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -96(%rbp)
	movaps	%xmm0, -112(%rbp)
	movaps	%xmm0, -128(%rbp)
	movaps	%xmm0, -144(%rbp)
	movaps	%xmm0, -160(%rbp)
	movaps	%xmm0, -176(%rbp)
	movq	$0, -64(%rbp)
	movq	8(%r12,%r15), %rdi
	callq	_htonl
	movq	%rax, -176(%rbp)
	movq	%rbx, %rdi
	callq	_htonl
	movq	%rax, -168(%rbp)
	xorl	%edi, %edi
	callq	_htonl
	movq	%rax, -160(%rbp)
	movl	16(%r13), %esi
	leaq	-152(%rbp), %rdi
	movl	$4, %edx
	callq	_memcpy
	movl	16(%r12,%r15), %esi
	movq	_NETPLAY_NICK_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-120(%rbp), %rdi
	callq	_strncpy
	movq	(%r12,%r15), %rax
	movq	_NETPLAY_CONNECTION_DELAYED_DISCONNECT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_NETPLAY_CONNECTION_NONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r12,%r15)
	jmp	LBB0_8
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_NETPLAY_CONNECTION_DELAYED_DISCONNECT,8,3 ## @NETPLAY_CONNECTION_DELAYED_DISCONNECT
	.comm	_NETPLAY_NICK_LEN,4,2           ## @NETPLAY_NICK_LEN
	.comm	_NETPLAY_CONNECTION_NONE,8,3    ## @NETPLAY_CONNECTION_NONE
	.comm	_NETPLAY_CMD_MODE,4,2           ## @NETPLAY_CMD_MODE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_netplay_delayed_state_change   ; -- Begin function netplay_delayed_state_change
	.p2align	2
_netplay_delayed_state_change:          ; @netplay_delayed_state_change
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x28, x27, [sp, #128]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldr	w8, [x0]
	cbz	w8, LBB0_10
; %bb.1:
	mov	x19, x0
	mov	x24, #0
	mov	x20, #0
	mov	x9, sp
	add	x21, x9, #24
	add	x22, x9, #56
Lloh3:
	adrp	x25, _NETPLAY_CONNECTION_DELAYED_DISCONNECT@GOTPAGE
Lloh4:
	ldr	x25, [x25, _NETPLAY_CONNECTION_DELAYED_DISCONNECT@GOTPAGEOFF]
Lloh5:
	adrp	x28, _NETPLAY_CMD_MODE@GOTPAGE
Lloh6:
	ldr	x28, [x28, _NETPLAY_CMD_MODE@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w2, [x28]
	mov	x3, sp
	mov	x0, x19
	mov	x1, x23
	mov	w4, #120
	bl	_netplay_send_raw_cmd_all
	str	xzr, [x23, #8]
	ldr	w8, [x19]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x24, x24, #32
	cmp	x20, w8, uxtw
	b.hs	LBB0_10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x20, x20, #1
	ldr	x27, [x19, #24]
	add	x23, x27, x24
	ldr	x9, [x23, #24]
	cbnz	x9, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x27, x24]
	ldr	x10, [x25]
	cmp	x9, x10
	b.ne	LBB0_3
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x23, #8]
	cbz	x9, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x10, [x19, #8]
	cmp	x9, x10
	b.gt	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	str	xzr, [sp, #112]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #80]
	stp	q0, q0, [sp, #48]
	stp	q0, q0, [sp, #16]
	str	q0, [sp]
	ldr	x0, [x23, #8]
	bl	_htonl
	str	x0, [sp]
	mov	x0, x20
	bl	_htonl
	str	x0, [sp, #8]
	mov	x0, #0
	bl	_htonl
	str	x0, [sp, #16]
	ldr	w1, [x19, #16]
	mov	x0, x21
	mov	w2, #4
	bl	_memcpy
	add	x26, x27, x24
	ldr	w1, [x26, #16]
Lloh7:
	adrp	x8, _NETPLAY_NICK_LEN@GOTPAGE
Lloh8:
	ldr	x8, [x8, _NETPLAY_NICK_LEN@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	x0, x22
	bl	_strncpy
	ldr	x8, [x26]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh10:
	adrp	x8, _NETPLAY_CONNECTION_NONE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _NETPLAY_CONNECTION_NONE@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	str	x8, [x27, x24]
	b	LBB0_2
LBB0_10:
	ldur	x8, [x29, #-88]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_NETPLAY_CONNECTION_DELAYED_DISCONNECT,8,3 ; @NETPLAY_CONNECTION_DELAYED_DISCONNECT
	.comm	_NETPLAY_NICK_LEN,4,2           ; @NETPLAY_NICK_LEN
	.comm	_NETPLAY_CONNECTION_NONE,8,3    ; @NETPLAY_CONNECTION_NONE
	.comm	_NETPLAY_CMD_MODE,4,2           ; @NETPLAY_CMD_MODE
.subsections_via_symbols
