	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_netplay_try_init_serialization ## -- Begin function netplay_try_init_serialization
	.p2align	4, 0x90
_netplay_try_init_serialization:        ## @netplay_try_init_serialization
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	$1, %r14d
	cmpq	$0, 16(%rdi)
	jne	LBB0_4
## %bb.1:
	movq	%rdi, %rbx
	callq	_netplay_init_serialization
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_4
## %bb.2:
	movq	$0, -24(%rbp)
	movq	(%rbx), %rax
	movq	24(%rbx), %rcx
	movl	(%rcx,%rax,4), %eax
	movl	%eax, -32(%rbp)
	movq	16(%rbx), %rax
	movq	%rax, -40(%rbp)
	leaq	-40(%rbp), %rdi
	callq	_core_serialize
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movq	_NETPLAY_QUIRK_INITIALIZATION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 8(%rbx)
	movq	%rbx, %rdi
	callq	_netplay_init_socket_buffers
	movl	%eax, %r14d
LBB0_4:
	movl	%r14d, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETPLAY_QUIRK_INITIALIZATION,8,3 ## @NETPLAY_QUIRK_INITIALIZATION
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_netplay_try_init_serialization ; -- Begin function netplay_try_init_serialization
	.p2align	2
_netplay_try_init_serialization:        ; @netplay_try_init_serialization
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_2
; %bb.1:
	mov	w0, #1
	b	LBB0_5
LBB0_2:
	mov	x19, x0
	bl	_netplay_init_serialization
	cbz	w0, LBB0_5
; %bb.3:
	str	xzr, [sp, #24]
	ldr	x8, [x19]
	ldp	x10, x9, [x19, #16]
	ldr	w8, [x9, x8, lsl #2]
	str	w8, [sp, #16]
	str	x10, [sp, #8]
	add	x0, sp, #8
	bl	_core_serialize
	cbz	w0, LBB0_5
; %bb.4:
Lloh0:
	adrp	x8, _NETPLAY_QUIRK_INITIALIZATION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NETPLAY_QUIRK_INITIALIZATION@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	bic	w8, w9, w8
	str	w8, [x19, #8]
	mov	x0, x19
	bl	_netplay_init_socket_buffers
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NETPLAY_QUIRK_INITIALIZATION,8,3 ; @NETPLAY_QUIRK_INITIALIZATION
.subsections_via_symbols
