	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_netplay_announce_nat_traversal ## -- Begin function netplay_announce_nat_traversal
	.p2align	4, 0x90
_netplay_announce_nat_traversal:        ## @netplay_announce_nat_traversal
	.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	%r12
	pushq	%rbx
	movl	$4224, %eax                     ## imm = 0x1080
	callq	____chkstk_darwin
	subq	%rax, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	%rsp, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_PATH_MAX_LENGTH@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	cmpq	$0, 24(%rbx)
	je	LBB0_6
## %bb.1:
	addq	$16, %rbx
	movl	(%r12), %ecx
	movq	_NI_NUMERICHOST@GOTPCREL(%rip), %rsi
	movq	_NI_NUMERICSERV@GOTPCREL(%rip), %rdx
	movl	(%rdx), %eax
	orl	(%rsi), %eax
	subq	$8, %rsp
	leaq	-4246(%rbp), %r8
	movq	%rbx, %rdi
	movl	$4, %esi
	movq	%r14, %rdx
	movl	$6, %r9d
	pushq	%rax
	callq	_getnameinfo
	addq	$16, %rsp
	testq	%rax, %rax
	jne	LBB0_4
## %bb.2:
	movq	_MSG_PUBLIC_ADDRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msg_hash_to_str
	leaq	L_.str.2(%rip), %rdx
	leaq	-4240(%rbp), %rdi
	leaq	-4246(%rbp), %r9
	movl	$4200, %esi                     ## imm = 0x1068
	movq	%rax, %rcx
	movq	%r14, %r8
	xorl	%eax, %eax
	callq	_snprintf
	jmp	LBB0_3
LBB0_6:
	movq	_MSG_UPNP_FAILED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msg_hash_to_str
	leaq	L_.str(%rip), %rdx
	leaq	-4240(%rbp), %rdi
	movl	$4200, %esi                     ## imm = 0x1068
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_snprintf
LBB0_3:
	movq	_MESSAGE_QUEUE_ICON_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_MESSAGE_QUEUE_CATEGORY_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subq	$8, %rsp
	leaq	-4240(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$180, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	pushq	%rax
	callq	_runloop_msg_queue_push
	addq	$16, %rsp
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	callq	_RARCH_LOG
LBB0_4:
	movq	%r15, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_7
## %bb.5:
	leaq	-32(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PATH_MAX_LENGTH,4,2            ## @PATH_MAX_LENGTH
	.comm	_NI_NUMERICHOST,4,2             ## @NI_NUMERICHOST
	.comm	_NI_NUMERICSERV,4,2             ## @NI_NUMERICSERV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s\n"

	.comm	_MSG_UPNP_FAILED,4,2            ## @MSG_UPNP_FAILED
	.comm	_MESSAGE_QUEUE_ICON_DEFAULT,4,2 ## @MESSAGE_QUEUE_ICON_DEFAULT
	.comm	_MESSAGE_QUEUE_CATEGORY_INFO,4,2 ## @MESSAGE_QUEUE_CATEGORY_INFO
L_.str.1:                               ## @.str.1
	.asciz	"[netplay] %s\n"

L_.str.2:                               ## @.str.2
	.asciz	"%s: %s:%s\n"

	.comm	_MSG_PUBLIC_ADDRESS,4,2         ## @MSG_PUBLIC_ADDRESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_netplay_announce_nat_traversal ; -- Begin function netplay_announce_nat_traversal
	.p2align	2
_netplay_announce_nat_traversal:        ; @netplay_announce_nat_traversal
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w27, -56
	.cfi_offset w28, -64
	mov	w9, #4224
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #1, lsl #12             ; =4096
	sub	sp, sp, #128
	mov	x19, sp
	mov	x21, sp
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh5:
	adrp	x12, _PATH_MAX_LENGTH@GOTPAGE
Lloh6:
	ldr	x12, [x12, _PATH_MAX_LENGTH@GOTPAGEOFF]
	ldr	w8, [x12]
	mov	x9, x8
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x20, x9, x8
	mov	sp, x20
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_3
; %bb.1:
	add	x0, x0, #16
Lloh9:
	adrp	x8, _NI_NUMERICHOST@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NI_NUMERICHOST@GOTPAGEOFF]
	ldr	w3, [x12]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _NI_NUMERICSERV@GOTPAGE
Lloh13:
	ldr	x9, [x9, _NI_NUMERICSERV@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w6, w9, w8
	add	x22, x19, #10
	add	x4, x19, #10
	mov	w1, #4
	mov	x2, x20
	mov	w5, #6
	bl	_getnameinfo
	cbnz	x0, LBB0_5
; %bb.2:
Lloh15:
	adrp	x8, _MSG_PUBLIC_ADDRESS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MSG_PUBLIC_ADDRESS@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_msg_hash_to_str
	mov	x3, x0
	stp	x20, x22, [sp, #-16]!
Lloh18:
	adrp	x2, l_.str.2@PAGE
Lloh19:
	add	x2, x2, l_.str.2@PAGEOFF
	add	x0, x19, #16
	mov	w1, #4200
	bl	_snprintf
	add	sp, sp, #16
	b	LBB0_4
LBB0_3:
Lloh20:
	adrp	x8, _MSG_UPNP_FAILED@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MSG_UPNP_FAILED@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	bl	_msg_hash_to_str
	mov	x3, x0
Lloh23:
	adrp	x2, l_.str@PAGE
Lloh24:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, x19, #16
	mov	w1, #4200
	bl	_snprintf
LBB0_4:
Lloh25:
	adrp	x8, _MESSAGE_QUEUE_ICON_DEFAULT@GOTPAGE
Lloh26:
	ldr	x8, [x8, _MESSAGE_QUEUE_ICON_DEFAULT@GOTPAGEOFF]
Lloh27:
	ldr	w5, [x8]
Lloh28:
	adrp	x8, _MESSAGE_QUEUE_CATEGORY_INFO@GOTPAGE
Lloh29:
	ldr	x8, [x8, _MESSAGE_QUEUE_CATEGORY_INFO@GOTPAGEOFF]
Lloh30:
	ldr	w6, [x8]
	add	x0, x19, #16
	mov	w1, #1
	mov	w2, #180
	mov	w3, #0
	mov	x4, #0
	bl	_runloop_msg_queue_push
Lloh31:
	adrp	x0, l_.str.1@PAGE
Lloh32:
	add	x0, x0, l_.str.1@PAGEOFF
	add	x1, x19, #16
	bl	_RARCH_LOG
LBB0_5:
	mov	sp, x21
	ldur	x8, [x29, #-56]
Lloh33:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh34:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_PATH_MAX_LENGTH,4,2            ; @PATH_MAX_LENGTH
	.comm	_NI_NUMERICHOST,4,2             ; @NI_NUMERICHOST
	.comm	_NI_NUMERICSERV,4,2             ; @NI_NUMERICSERV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s\n"

	.comm	_MSG_UPNP_FAILED,4,2            ; @MSG_UPNP_FAILED
	.comm	_MESSAGE_QUEUE_ICON_DEFAULT,4,2 ; @MESSAGE_QUEUE_ICON_DEFAULT
	.comm	_MESSAGE_QUEUE_CATEGORY_INFO,4,2 ; @MESSAGE_QUEUE_CATEGORY_INFO
l_.str.1:                               ; @.str.1
	.asciz	"[netplay] %s\n"

l_.str.2:                               ; @.str.2
	.asciz	"%s: %s:%s\n"

	.comm	_MSG_PUBLIC_ADDRESS,4,2         ; @MSG_PUBLIC_ADDRESS
.subsections_via_symbols
