	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_netplay_cmd_request_savestate  ## -- Begin function netplay_cmd_request_savestate
	.p2align	4, 0x90
_netplay_cmd_request_savestate:         ## @netplay_cmd_request_savestate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	cmpq	$0, (%rdi)
	je	LBB0_4
## %bb.1:
	movq	16(%rdi), %rsi
	cmpl	$0, 8(%rsi)
	je	LBB0_4
## %bb.2:
	movq	(%rsi), %rcx
	movq	_NETPLAY_CONNECTION_CONNECTED@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jl	LBB0_4
## %bb.3:
	movl	$1, %eax
	cmpl	$0, 8(%rdi)
	je	LBB0_5
LBB0_4:
	popq	%rbp
	retq
LBB0_5:
	movl	$1, 8(%rdi)
	movq	_NETPLAY_CMD_REQUEST_SAVESTATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	popq	%rbp
	jmp	_netplay_send_raw_cmd           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NETPLAY_CONNECTION_CONNECTED,8,3 ## @NETPLAY_CONNECTION_CONNECTED
	.comm	_NETPLAY_CMD_REQUEST_SAVESTATE,4,2 ## @NETPLAY_CMD_REQUEST_SAVESTATE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_netplay_cmd_request_savestate  ; -- Begin function netplay_cmd_request_savestate
	.p2align	2
_netplay_cmd_request_savestate:         ; @netplay_cmd_request_savestate
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	cbz	x8, LBB0_5
; %bb.1:
	ldr	x1, [x0, #16]
	ldr	w8, [x1, #8]
	cbz	w8, LBB0_5
; %bb.2:
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _NETPLAY_CONNECTION_CONNECTED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NETPLAY_CONNECTION_CONNECTED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_4
; %bb.3:
	mov	w0, #0
	ret
LBB0_4:
	ldr	w9, [x0, #8]
	mov	w8, #1
	cbz	w9, LBB0_6
LBB0_5:
	mov	x0, x8
	ret
LBB0_6:
	str	w8, [x0, #8]
Lloh3:
	adrp	x8, _NETPLAY_CMD_REQUEST_SAVESTATE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NETPLAY_CMD_REQUEST_SAVESTATE@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x3, #0
	mov	w4, #0
	b	_netplay_send_raw_cmd
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_NETPLAY_CONNECTION_CONNECTED,8,3 ; @NETPLAY_CONNECTION_CONNECTED
	.comm	_NETPLAY_CMD_REQUEST_SAVESTATE,4,2 ; @NETPLAY_CMD_REQUEST_SAVESTATE
.subsections_via_symbols
