	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function netplay_toggle_play_spectate
_netplay_toggle_play_spectate:          ## @netplay_toggle_play_spectate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_NETPLAY_CONNECTION_PLAYING@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	movq	_NETPLAY_CONNECTION_SPECTATING@GOTPCREL(%rip), %r8
	movq	(%r8), %rdx
	cmpq	%rsi, %rax
	je	LBB0_2
## %bb.1:
	movq	_NETPLAY_CONNECTION_SLAVE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.4:
	cmpq	%rdx, %rax
	je	LBB0_3
## %bb.5:
	popq	%rbp
	retq
LBB0_2:
	movq	%rdx, (%rdi)
	movq	(%r8), %rsi
LBB0_3:
                                        ## kill: def $esi killed $esi killed $rsi
	popq	%rbp
	jmp	_netplay_cmd_mode               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NETPLAY_CONNECTION_PLAYING,8,3 ## @NETPLAY_CONNECTION_PLAYING
	.comm	_NETPLAY_CONNECTION_SLAVE,8,3   ## @NETPLAY_CONNECTION_SLAVE
	.comm	_NETPLAY_CONNECTION_SPECTATING,8,3 ## @NETPLAY_CONNECTION_SPECTATING
	.no_dead_strip	_netplay_toggle_play_spectate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function netplay_toggle_play_spectate
_netplay_toggle_play_spectate:          ; @netplay_toggle_play_spectate
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _NETPLAY_CONNECTION_PLAYING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NETPLAY_CONNECTION_PLAYING@GOTPAGEOFF]
Lloh2:
	ldr	x1, [x9]
Lloh3:
	adrp	x9, _NETPLAY_CONNECTION_SLAVE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NETPLAY_CONNECTION_SLAVE@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x9]
Lloh6:
	adrp	x10, _NETPLAY_CONNECTION_SPECTATING@GOTPAGE
Lloh7:
	ldr	x10, [x10, _NETPLAY_CONNECTION_SPECTATING@GOTPAGEOFF]
	ldr	x9, [x10]
	cmp	x8, x1
	ccmp	x8, x11, #4, ne
	b.ne	LBB0_2
; %bb.1:
	str	x9, [x0]
	ldr	x1, [x10]
	b	LBB0_3
LBB0_2:
	cmp	x8, x9
	b.ne	LBB0_4
LBB0_3:
                                        ; kill: def $w1 killed $w1 killed $x1
	b	_netplay_cmd_mode
LBB0_4:
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NETPLAY_CONNECTION_PLAYING,8,3 ; @NETPLAY_CONNECTION_PLAYING
	.comm	_NETPLAY_CONNECTION_SLAVE,8,3   ; @NETPLAY_CONNECTION_SLAVE
	.comm	_NETPLAY_CONNECTION_SPECTATING,8,3 ; @NETPLAY_CONNECTION_SPECTATING
	.no_dead_strip	_netplay_toggle_play_spectate
.subsections_via_symbols
