	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function netplay_announce_cb
_netplay_announce_cb:                   ## @netplay_announce_cb
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_RARCH_LOG
	testq	%rbx, %rbx
	je	LBB0_63
## %bb.1:
	xorl	%eax, %eax
	callq	_netplay_get_host_room
	movq	(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.2:
	movq	%rax, %r15
	incl	%esi
	movl	$1, %edi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_calloc
	movq	%rax, %r14
	movq	8(%rbx), %rsi
	movl	(%rbx), %edx
	movq	%rax, %rdi
	callq	_memcpy
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_string_split
	movq	%rax, %r13
	cmpl	$0, (%rax)
	je	LBB0_3
## %bb.6:
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$68, %edx
	callq	_memset
	cmpl	$0, (%r13)
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	je	LBB0_7
## %bb.8:
	leaq	64(%r15), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	leaq	48(%r15), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	leaq	44(%r15), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	leaq	24(%r15), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%r15, %rax
	addq	$12, %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	leaq	L_.str.2(%rip), %r12
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_9
LBB0_52:                                ##   in Loop: Header=BB0_9 Depth=1
	leaq	L_.str.2(%rip), %r12
LBB0_53:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%rbx, %rdi
	callq	_string_list_free
LBB0_54:                                ##   in Loop: Header=BB0_9 Depth=1
	incq	%r14
	movl	(%r13), %eax
	cmpq	%rax, %r14
	jae	LBB0_55
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rax
	movq	(%rax,%r14,8), %rbx
	movq	%rbx, %rdi
	callq	_string_is_empty
	testl	%eax, %eax
	jne	LBB0_54
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_string_split
	testq	%rax, %rax
	je	LBB0_54
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%rax, %rbx
	cmpl	$2, (%rax)
	jne	LBB0_53
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	8(%rbx), %rax
	movq	(%rax), %r15
	movq	8(%rax), %r12
	movq	%r15, %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_string_is_equal
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.4(%rip), %rsi
	movq	-120(%rbp), %rdx                ## 8-byte Reload
	callq	_sscanf
LBB0_14:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_string_is_equal
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	60(%rax), %edi
	movq	%r12, %rsi
	movl	$4, %edx
	callq	_strlcpy
LBB0_16:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.6(%rip), %rsi
	callq	_string_is_equal
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	56(%rax), %edi
	movq	%r12, %rsi
	movl	$4, %edx
	callq	_strlcpy
LBB0_18:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.7(%rip), %rsi
	callq	_string_is_equal
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r12, %rdi
	callq	_strdup
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	52(%rax), %edi
	movq	%r12, %rsi
	movl	$4, %edx
	callq	_strlcpy
LBB0_20:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.8(%rip), %rsi
	callq	_string_is_equal
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.4(%rip), %rsi
	movq	-112(%rbp), %rdx                ## 8-byte Reload
	callq	_sscanf
LBB0_22:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.9(%rip), %rsi
	callq	_string_is_equal
	testq	%rax, %rax
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r12, %rdi
	callq	_strdup
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	leaq	L_.str.4(%rip), %rsi
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	callq	_sscanf
LBB0_24:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.10(%rip), %rsi
	callq	_string_is_equal
	testq	%rax, %rax
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	40(%rax), %edi
	movq	%r12, %rsi
	movl	$4, %edx
	callq	_strlcpy
LBB0_26:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.11(%rip), %rsi
	callq	_string_is_equal
	testq	%rax, %rax
	je	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	36(%rax), %edi
	movq	%r12, %rsi
	movl	$4, %edx
	callq	_strlcpy
LBB0_28:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.12(%rip), %rsi
	callq	_string_is_equal
	testq	%rax, %rax
	je	LBB0_30
## %bb.29:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	32(%rax), %edi
	movq	%r12, %rsi
	movl	$4, %edx
	callq	_strlcpy
LBB0_30:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.13(%rip), %rsi
	callq	_string_is_equal
	testq	%rax, %rax
	je	LBB0_32
## %bb.31:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	28(%rax), %edi
	movq	%r12, %rsi
	movl	$4, %edx
	callq	_strlcpy
LBB0_32:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.14(%rip), %rsi
	callq	_string_is_equal
	testq	%rax, %rax
	je	LBB0_34
## %bb.33:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.15(%rip), %rsi
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	callq	_sscanf
LBB0_34:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.16(%rip), %rsi
	callq	_string_is_equal
	testq	%rax, %rax
	je	LBB0_36
## %bb.35:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.4(%rip), %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	callq	_sscanf
LBB0_36:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.17(%rip), %rsi
	callq	_string_is_equal
	testq	%rax, %rax
	je	LBB0_40
## %bb.37:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.18(%rip), %rsi
	callq	_string_is_equal_noncase
	movl	$1, %ecx
	testq	%rax, %rax
	jne	LBB0_39
## %bb.38:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.19(%rip), %rsi
	callq	_string_is_equal
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
LBB0_39:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%ecx, (%rax)
LBB0_40:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.20(%rip), %rsi
	callq	_string_is_equal
	testq	%rax, %rax
	je	LBB0_44
## %bb.41:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.18(%rip), %rsi
	callq	_string_is_equal_noncase
	movl	$1, %ecx
	testq	%rax, %rax
	jne	LBB0_43
## %bb.42:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.19(%rip), %rsi
	callq	_string_is_equal
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
LBB0_43:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%ecx, 4(%rax)
LBB0_44:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.21(%rip), %rsi
	callq	_string_is_equal
	testq	%rax, %rax
	je	LBB0_48
## %bb.45:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.18(%rip), %rsi
	callq	_string_is_equal_noncase
	movl	$1, %ecx
	testq	%rax, %rax
	jne	LBB0_47
## %bb.46:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.19(%rip), %rsi
	callq	_string_is_equal
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
LBB0_47:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%ecx, 8(%rax)
LBB0_48:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.22(%rip), %rsi
	callq	_string_is_equal
	testq	%rax, %rax
	je	LBB0_50
## %bb.49:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	20(%rax), %edi
	movq	%r12, %rsi
	movl	$4, %edx
	callq	_strlcpy
LBB0_50:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.23(%rip), %rsi
	callq	_string_is_equal
	testq	%rax, %rax
	je	LBB0_52
## %bb.51:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movl	16(%r15), %edi
	movq	%r12, %rsi
	movl	$4, %edx
	callq	_strlcpy
	jmp	LBB0_52
LBB0_55:
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	testq	%rdx, %rdx
	setne	%r14b
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	setne	%bl
	je	LBB0_60
## %bb.56:
	testq	%rdx, %rdx
	je	LBB0_60
## %bb.57:
	leaq	L_.str.24(%rip), %rdi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	%rdx, %r14
	xorl	%eax, %eax
	callq	_RARCH_LOG
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_strlen
	movq	%rax, %r14
	movq	_RARCH_NETPLAY_CTL_IS_DATA_INITED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_netplay_driver_ctl
	testq	%rax, %rax
	je	LBB0_59
## %bb.58:
	movq	_CMD_EVENT_NETPLAY_DEINIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_command_event
	movq	_is_mitm@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_NETPLAY_HOST_METHOD_MITM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
LBB0_59:
	movq	_RARCH_NETPLAY_CTL_ENABLE_CLIENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_netplay_driver_ctl
	leal	(%r15,%r14), %esi
	addl	$2, %esi
	movl	$1, %edi
	callq	_calloc
	movq	%rax, %r12
	movq	%rax, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%r15d, %edx
	callq	_memcpy
	movl	%r15d, %ebx
	leaq	(%r12,%rbx), %rdi
	leaq	L_.str.25(%rip), %rsi
	movl	$1, %edx
	callq	_memcpy
	leaq	(%r12,%rbx), %rdi
	incq	%rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	%r14d, %edx
	callq	_memcpy
	movq	_CMD_EVENT_NETPLAY_INIT_DIRECT_DEFERRED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_command_event
	movq	_CMD_EVENT_NETPLAY_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_command_event
	movq	%r12, %rdi
	callq	_free
	movb	$1, %r14b
	movb	$1, %bl
	jmp	LBB0_60
LBB0_3:
	movq	%r13, %rdi
	callq	_string_list_free
	movq	%r14, %rdi
	callq	_free
LBB0_4:
	movq	%rbx, %rdi
	jmp	LBB0_5
LBB0_7:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_60:
	movq	%r13, %rdi
	callq	_string_list_free
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	testb	%bl, %bl
	je	LBB0_62
## %bb.61:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
LBB0_62:
	testb	%r14b, %r14b
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	je	LBB0_63
LBB0_5:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
LBB0_63:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[netplay] announcing netplay game... \n"

L_.str.1:                               ## @.str.1
	.asciz	"\n"

L_.str.2:                               ## @.str.2
	.asciz	"="

L_.str.3:                               ## @.str.3
	.asciz	"id"

L_.str.4:                               ## @.str.4
	.asciz	"%i"

L_.str.5:                               ## @.str.5
	.asciz	"username"

L_.str.6:                               ## @.str.6
	.asciz	"ip"

L_.str.7:                               ## @.str.7
	.asciz	"mitm_ip"

L_.str.8:                               ## @.str.8
	.asciz	"port"

L_.str.9:                               ## @.str.9
	.asciz	"mitm_port"

L_.str.10:                              ## @.str.10
	.asciz	"core_name"

L_.str.11:                              ## @.str.11
	.asciz	"frontend"

L_.str.12:                              ## @.str.12
	.asciz	"core_version"

L_.str.13:                              ## @.str.13
	.asciz	"game_name"

L_.str.14:                              ## @.str.14
	.asciz	"game_crc"

L_.str.15:                              ## @.str.15
	.asciz	"%08d"

L_.str.16:                              ## @.str.16
	.asciz	"host_method"

L_.str.17:                              ## @.str.17
	.asciz	"has_password"

L_.str.18:                              ## @.str.18
	.asciz	"true"

L_.str.19:                              ## @.str.19
	.asciz	"1"

L_.str.20:                              ## @.str.20
	.asciz	"has_spectate_password"

L_.str.21:                              ## @.str.21
	.asciz	"fixed"

L_.str.22:                              ## @.str.22
	.asciz	"retroarch_version"

L_.str.23:                              ## @.str.23
	.asciz	"country"

L_.str.24:                              ## @.str.24
	.asciz	"[netplay] joining relay server: %s:%s\n"

	.comm	_RARCH_NETPLAY_CTL_IS_DATA_INITED,4,2 ## @RARCH_NETPLAY_CTL_IS_DATA_INITED
	.comm	_CMD_EVENT_NETPLAY_DEINIT,4,2   ## @CMD_EVENT_NETPLAY_DEINIT
	.comm	_is_mitm,4,2                    ## @is_mitm
	.comm	_NETPLAY_HOST_METHOD_MITM,4,2   ## @NETPLAY_HOST_METHOD_MITM
	.comm	_RARCH_NETPLAY_CTL_ENABLE_CLIENT,4,2 ## @RARCH_NETPLAY_CTL_ENABLE_CLIENT
L_.str.25:                              ## @.str.25
	.asciz	"|"

	.comm	_CMD_EVENT_NETPLAY_INIT_DIRECT_DEFERRED,4,2 ## @CMD_EVENT_NETPLAY_INIT_DIRECT_DEFERRED
	.comm	_CMD_EVENT_NETPLAY_INIT,4,2     ## @CMD_EVENT_NETPLAY_INIT
	.comm	_CMD_EVENT_DISCORD_UPDATE,4,2   ## @CMD_EVENT_DISCORD_UPDATE
	.comm	_DISCORD_PRESENCE_NETPLAY_HOSTING,4,2 ## @DISCORD_PRESENCE_NETPLAY_HOSTING
	.comm	_discord_is_inited,8,3          ## @discord_is_inited
	.no_dead_strip	_netplay_announce_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function netplay_announce_cb
_netplay_announce_cb:                   ; @netplay_announce_cb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	mov	x19, x1
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_RARCH_LOG
	cbz	x19, LBB0_65
; %bb.1:
	bl	_netplay_get_host_room
	ldr	x8, [x19]
	cbz	x8, LBB0_59
; %bb.2:
	mov	x25, x0
	add	w1, w8, #1
	mov	w0, #1
	bl	_calloc
	mov	x20, x0
	ldr	x1, [x19, #8]
	ldr	w2, [x19]
	bl	_memcpy
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_string_split
	mov	x21, x0
	ldr	w8, [x0]
	cbz	w8, LBB0_58
; %bb.3:
	mov	x0, x25
	mov	w1, #0
	mov	w2, #68
	bl	_memset
	ldr	w8, [x21]
	cbz	w8, LBB0_60
; %bb.4:
	mov	x23, #0
	mov	x22, #0
	add	x9, x25, #64
	add	x8, x25, #48
	stp	x8, x9, [sp, #32]               ; 16-byte Folded Spill
	add	x9, x25, #44
	add	x8, x25, #24
	stp	x8, x9, [sp, #16]               ; 16-byte Folded Spill
	add	x8, x25, #12
	stp	x8, xzr, [sp, #48]              ; 16-byte Folded Spill
Lloh4:
	adrp	x26, l_.str.2@PAGE
Lloh5:
	add	x26, x26, l_.str.2@PAGEOFF
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x24
	bl	_string_list_free
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x23, x23, #1
	ldr	w8, [x21]
	cmp	x23, x8
	b.hs	LBB0_53
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #8]
	ldr	x24, [x8, x23, lsl #3]
	mov	x0, x24
	bl	_string_is_empty
	cbnz	w0, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x24
	mov	x1, x26
	bl	_string_split
	cbz	x0, LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x24, x0
	ldr	w8, [x0]
	cmp	w8, #2
	b.ne	LBB0_5
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x24, #8]
	ldp	x28, x27, [x8]
	mov	x0, x28
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_string_is_equal
	cbz	x0, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x27
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	ldr	x2, [sp, #40]                   ; 8-byte Folded Reload
	bl	_sscanf
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x28
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_string_is_equal
	cbz	x0, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x25, #60]
	mov	x1, x27
	mov	w2, #4
	bl	_strlcpy
LBB0_14:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x28
Lloh12:
	adrp	x1, l_.str.6@PAGE
Lloh13:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_string_is_equal
	cbz	x0, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x25, #56]
	mov	x1, x27
	mov	w2, #4
	bl	_strlcpy
LBB0_16:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x28
Lloh14:
	adrp	x1, l_.str.7@PAGE
Lloh15:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_string_is_equal
	cbz	x0, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x27
	bl	_strdup
	str	x0, [sp, #56]                   ; 8-byte Folded Spill
	ldr	w0, [x25, #52]
	mov	x1, x27
	mov	w2, #4
	bl	_strlcpy
LBB0_18:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x28
Lloh16:
	adrp	x1, l_.str.8@PAGE
Lloh17:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_string_is_equal
	cbz	x0, LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x27
Lloh18:
	adrp	x1, l_.str.4@PAGE
Lloh19:
	add	x1, x1, l_.str.4@PAGEOFF
	ldr	x2, [sp, #32]                   ; 8-byte Folded Reload
	bl	_sscanf
LBB0_20:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x28
Lloh20:
	adrp	x1, l_.str.9@PAGE
Lloh21:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_string_is_equal
	cbz	x0, LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x27
	bl	_strdup
	mov	x22, x0
Lloh22:
	adrp	x1, l_.str.4@PAGE
Lloh23:
	add	x1, x1, l_.str.4@PAGEOFF
	ldr	x2, [sp, #24]                   ; 8-byte Folded Reload
	bl	_sscanf
LBB0_22:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x28
Lloh24:
	adrp	x1, l_.str.10@PAGE
Lloh25:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_string_is_equal
	cbz	x0, LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x25, #40]
	mov	x1, x27
	mov	w2, #4
	bl	_strlcpy
LBB0_24:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x28
Lloh26:
	adrp	x1, l_.str.11@PAGE
Lloh27:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_string_is_equal
	cbz	x0, LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x25, #36]
	mov	x1, x27
	mov	w2, #4
	bl	_strlcpy
LBB0_26:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x28
Lloh28:
	adrp	x1, l_.str.12@PAGE
Lloh29:
	add	x1, x1, l_.str.12@PAGEOFF
	bl	_string_is_equal
	cbz	x0, LBB0_28
; %bb.27:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x25, #32]
	mov	x1, x27
	mov	w2, #4
	bl	_strlcpy
LBB0_28:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x28
Lloh30:
	adrp	x1, l_.str.13@PAGE
Lloh31:
	add	x1, x1, l_.str.13@PAGEOFF
	bl	_string_is_equal
	cbz	x0, LBB0_30
; %bb.29:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x25, #28]
	mov	x1, x27
	mov	w2, #4
	bl	_strlcpy
LBB0_30:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x28
Lloh32:
	adrp	x1, l_.str.14@PAGE
Lloh33:
	add	x1, x1, l_.str.14@PAGEOFF
	bl	_string_is_equal
	cbz	x0, LBB0_32
; %bb.31:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x27
Lloh34:
	adrp	x1, l_.str.15@PAGE
Lloh35:
	add	x1, x1, l_.str.15@PAGEOFF
	ldr	x2, [sp, #16]                   ; 8-byte Folded Reload
	bl	_sscanf
LBB0_32:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x28
Lloh36:
	adrp	x1, l_.str.16@PAGE
Lloh37:
	add	x1, x1, l_.str.16@PAGEOFF
	bl	_string_is_equal
	cbz	x0, LBB0_34
; %bb.33:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x27
Lloh38:
	adrp	x1, l_.str.4@PAGE
Lloh39:
	add	x1, x1, l_.str.4@PAGEOFF
	ldr	x2, [sp, #48]                   ; 8-byte Folded Reload
	bl	_sscanf
LBB0_34:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x28
Lloh40:
	adrp	x1, l_.str.17@PAGE
Lloh41:
	add	x1, x1, l_.str.17@PAGEOFF
	bl	_string_is_equal
	cbz	x0, LBB0_39
; %bb.35:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x27
Lloh42:
	adrp	x1, l_.str.18@PAGE
Lloh43:
	add	x1, x1, l_.str.18@PAGEOFF
	bl	_string_is_equal_noncase
	cbz	x0, LBB0_37
; %bb.36:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	w8, #1
	b	LBB0_38
LBB0_37:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x27
Lloh44:
	adrp	x1, l_.str.19@PAGE
Lloh45:
	add	x1, x1, l_.str.19@PAGEOFF
	bl	_string_is_equal
	cmp	x0, #0
	cset	w8, ne
LBB0_38:                                ;   in Loop: Header=BB0_7 Depth=1
	str	w8, [x25]
LBB0_39:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x28
Lloh46:
	adrp	x1, l_.str.20@PAGE
Lloh47:
	add	x1, x1, l_.str.20@PAGEOFF
	bl	_string_is_equal
	cbz	x0, LBB0_44
; %bb.40:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x27
Lloh48:
	adrp	x1, l_.str.18@PAGE
Lloh49:
	add	x1, x1, l_.str.18@PAGEOFF
	bl	_string_is_equal_noncase
	cbz	x0, LBB0_42
; %bb.41:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	w8, #1
	b	LBB0_43
LBB0_42:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x27
Lloh50:
	adrp	x1, l_.str.19@PAGE
Lloh51:
	add	x1, x1, l_.str.19@PAGEOFF
	bl	_string_is_equal
	cmp	x0, #0
	cset	w8, ne
LBB0_43:                                ;   in Loop: Header=BB0_7 Depth=1
	str	w8, [x25, #4]
LBB0_44:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x28
Lloh52:
	adrp	x1, l_.str.21@PAGE
Lloh53:
	add	x1, x1, l_.str.21@PAGEOFF
	bl	_string_is_equal
	cbz	x0, LBB0_49
; %bb.45:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x27
Lloh54:
	adrp	x1, l_.str.18@PAGE
Lloh55:
	add	x1, x1, l_.str.18@PAGEOFF
	bl	_string_is_equal_noncase
	cbz	x0, LBB0_47
; %bb.46:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	w8, #1
	b	LBB0_48
LBB0_47:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x27
Lloh56:
	adrp	x1, l_.str.19@PAGE
Lloh57:
	add	x1, x1, l_.str.19@PAGEOFF
	bl	_string_is_equal
	cmp	x0, #0
	cset	w8, ne
LBB0_48:                                ;   in Loop: Header=BB0_7 Depth=1
	str	w8, [x25, #8]
LBB0_49:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x28
Lloh58:
	adrp	x1, l_.str.22@PAGE
Lloh59:
	add	x1, x1, l_.str.22@PAGEOFF
	bl	_string_is_equal
	cbz	x0, LBB0_51
; %bb.50:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x25, #20]
	mov	x1, x27
	mov	w2, #4
	bl	_strlcpy
LBB0_51:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x28
Lloh60:
	adrp	x1, l_.str.23@PAGE
Lloh61:
	add	x1, x1, l_.str.23@PAGEOFF
	bl	_string_is_equal
	cbz	x0, LBB0_5
; %bb.52:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x25, #16]
	mov	x1, x27
	mov	w2, #4
	bl	_strlcpy
	b	LBB0_5
LBB0_53:
	ldr	x27, [sp, #56]                  ; 8-byte Folded Reload
	cmp	x27, #0
	cset	w24, ne
	cmp	x22, #0
	cset	w23, ne
	cbz	x27, LBB0_61
; %bb.54:
	cbz	x22, LBB0_61
; %bb.55:
	stp	x27, x22, [sp]
Lloh62:
	adrp	x0, l_.str.24@PAGE
Lloh63:
	add	x0, x0, l_.str.24@PAGEOFF
	bl	_RARCH_LOG
	mov	x0, x27
	bl	_strlen
	mov	x25, x0
	mov	x0, x22
	bl	_strlen
	mov	x24, x0
Lloh64:
	adrp	x8, _RARCH_NETPLAY_CTL_IS_DATA_INITED@GOTPAGE
Lloh65:
	ldr	x8, [x8, _RARCH_NETPLAY_CTL_IS_DATA_INITED@GOTPAGEOFF]
Lloh66:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_netplay_driver_ctl
	cbz	x0, LBB0_57
; %bb.56:
Lloh67:
	adrp	x8, _CMD_EVENT_NETPLAY_DEINIT@GOTPAGE
Lloh68:
	ldr	x8, [x8, _CMD_EVENT_NETPLAY_DEINIT@GOTPAGEOFF]
Lloh69:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_command_event
Lloh70:
	adrp	x8, _is_mitm@GOTPAGE
Lloh71:
	ldr	x8, [x8, _is_mitm@GOTPAGEOFF]
	mov	w9, #1
Lloh72:
	str	w9, [x8]
Lloh73:
	adrp	x8, _NETPLAY_HOST_METHOD_MITM@GOTPAGE
Lloh74:
	ldr	x8, [x8, _NETPLAY_HOST_METHOD_MITM@GOTPAGEOFF]
Lloh75:
	ldr	w8, [x8]
	ldr	x9, [sp, #48]                   ; 8-byte Folded Reload
	str	w8, [x9]
LBB0_57:
Lloh76:
	adrp	x8, _RARCH_NETPLAY_CTL_ENABLE_CLIENT@GOTPAGE
Lloh77:
	ldr	x8, [x8, _RARCH_NETPLAY_CTL_ENABLE_CLIENT@GOTPAGEOFF]
Lloh78:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_netplay_driver_ctl
	add	w8, w25, w24
	add	w1, w8, #2
	mov	w23, #1
	mov	w0, #1
	bl	_calloc
	mov	x26, x0
	ldr	x27, [sp, #56]                  ; 8-byte Folded Reload
	mov	x1, x27
	mov	x2, x25
	bl	_memcpy
	add	x25, x26, w25, uxtw
Lloh79:
	adrp	x1, l_.str.25@PAGE
Lloh80:
	add	x1, x1, l_.str.25@PAGEOFF
	mov	x0, x25
	mov	w2, #1
	bl	_memcpy
	add	x0, x25, #1
	mov	x1, x22
	mov	x2, x24
	bl	_memcpy
Lloh81:
	adrp	x8, _CMD_EVENT_NETPLAY_INIT_DIRECT_DEFERRED@GOTPAGE
Lloh82:
	ldr	x8, [x8, _CMD_EVENT_NETPLAY_INIT_DIRECT_DEFERRED@GOTPAGEOFF]
Lloh83:
	ldr	w0, [x8]
	mov	x1, x26
	bl	_command_event
Lloh84:
	adrp	x8, _CMD_EVENT_NETPLAY_INIT@GOTPAGE
Lloh85:
	ldr	x8, [x8, _CMD_EVENT_NETPLAY_INIT@GOTPAGEOFF]
Lloh86:
	ldr	w0, [x8]
	mov	x1, x26
	bl	_command_event
	mov	x0, x26
	bl	_free
	mov	w24, #1
	b	LBB0_61
LBB0_58:
	mov	x0, x21
	bl	_string_list_free
	mov	x0, x20
	bl	_free
LBB0_59:
	mov	x22, x19
	b	LBB0_64
LBB0_60:
	mov	w23, #0
	mov	w24, #0
	mov	x22, #0
	mov	x27, #0
LBB0_61:
	mov	x0, x21
	bl	_string_list_free
	mov	x0, x20
	bl	_free
	mov	x0, x19
	bl	_free
	cbz	w24, LBB0_63
; %bb.62:
	mov	x0, x27
	bl	_free
LBB0_63:
	cbz	w23, LBB0_65
LBB0_64:
	mov	x0, x22
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	b	_free
LBB0_65:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotStr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[netplay] announcing netplay game... \n"

l_.str.1:                               ; @.str.1
	.asciz	"\n"

l_.str.2:                               ; @.str.2
	.asciz	"="

l_.str.3:                               ; @.str.3
	.asciz	"id"

l_.str.4:                               ; @.str.4
	.asciz	"%i"

l_.str.5:                               ; @.str.5
	.asciz	"username"

l_.str.6:                               ; @.str.6
	.asciz	"ip"

l_.str.7:                               ; @.str.7
	.asciz	"mitm_ip"

l_.str.8:                               ; @.str.8
	.asciz	"port"

l_.str.9:                               ; @.str.9
	.asciz	"mitm_port"

l_.str.10:                              ; @.str.10
	.asciz	"core_name"

l_.str.11:                              ; @.str.11
	.asciz	"frontend"

l_.str.12:                              ; @.str.12
	.asciz	"core_version"

l_.str.13:                              ; @.str.13
	.asciz	"game_name"

l_.str.14:                              ; @.str.14
	.asciz	"game_crc"

l_.str.15:                              ; @.str.15
	.asciz	"%08d"

l_.str.16:                              ; @.str.16
	.asciz	"host_method"

l_.str.17:                              ; @.str.17
	.asciz	"has_password"

l_.str.18:                              ; @.str.18
	.asciz	"true"

l_.str.19:                              ; @.str.19
	.asciz	"1"

l_.str.20:                              ; @.str.20
	.asciz	"has_spectate_password"

l_.str.21:                              ; @.str.21
	.asciz	"fixed"

l_.str.22:                              ; @.str.22
	.asciz	"retroarch_version"

l_.str.23:                              ; @.str.23
	.asciz	"country"

l_.str.24:                              ; @.str.24
	.asciz	"[netplay] joining relay server: %s:%s\n"

	.comm	_RARCH_NETPLAY_CTL_IS_DATA_INITED,4,2 ; @RARCH_NETPLAY_CTL_IS_DATA_INITED
	.comm	_CMD_EVENT_NETPLAY_DEINIT,4,2   ; @CMD_EVENT_NETPLAY_DEINIT
	.comm	_is_mitm,4,2                    ; @is_mitm
	.comm	_NETPLAY_HOST_METHOD_MITM,4,2   ; @NETPLAY_HOST_METHOD_MITM
	.comm	_RARCH_NETPLAY_CTL_ENABLE_CLIENT,4,2 ; @RARCH_NETPLAY_CTL_ENABLE_CLIENT
l_.str.25:                              ; @.str.25
	.asciz	"|"

	.comm	_CMD_EVENT_NETPLAY_INIT_DIRECT_DEFERRED,4,2 ; @CMD_EVENT_NETPLAY_INIT_DIRECT_DEFERRED
	.comm	_CMD_EVENT_NETPLAY_INIT,4,2     ; @CMD_EVENT_NETPLAY_INIT
	.comm	_CMD_EVENT_DISCORD_UPDATE,4,2   ; @CMD_EVENT_DISCORD_UPDATE
	.comm	_DISCORD_PRESENCE_NETPLAY_HOSTING,4,2 ; @DISCORD_PRESENCE_NETPLAY_HOSTING
	.comm	_discord_is_inited,8,3          ; @discord_is_inited
	.no_dead_strip	_netplay_announce_cb
.subsections_via_symbols
