	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function LAN_AddServer
_LAN_AddServer:                         ## @LAN_AddServer
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $edi killed $edi def $rdi
	movl	$-1, %r15d
	addl	$-128, %edi
	cmpl	$3, %edi
	ja	LBB0_14
## %bb.1:
	movq	%rsi, %r14
	movq	_cls@GOTPCREL(%rip), %r13
	leaq	32(%r13), %rcx
	movq	_MAX_OTHER_SERVERS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	LJTI0_0(%rip), %rsi
	movslq	(%rsi,%rdi,4), %rdi
	addq	%rsi, %rdi
	jmpq	*%rdi
LBB0_2:
	movq	_cls@GOTPCREL(%rip), %r13
	leaq	24(%r13), %rcx
	addq	$4, %r13
	movq	_MAX_GLOBAL_SERVERS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_4
LBB0_3:
	movq	_cls@GOTPCREL(%rip), %r13
	leaq	16(%r13), %rcx
	addq	$8, %r13
LBB0_4:
	movq	(%rcx), %r12
	testq	%r12, %r12
	je	LBB0_14
## %bb.5:
	cmpl	%eax, (%r13)
	jge	LBB0_14
## %bb.6:
	movq	_NA_UNSPEC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	-44(%rbp), %rsi
	movq	%rdx, %rdi
	movl	%eax, %edx
	callq	_NET_StringToAdr
	movl	(%r13), %eax
	xorl	%r15d, %r15d
	movl	$0, %ebx
	testl	%eax, %eax
	jle	LBB0_12
## %bb.7:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	leaq	8(%r12), %r14
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	movl	-44(%rbp), %esi
	callq	_NET_CompareAdr
	testq	%rax, %rax
	jne	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	incq	%rbx
	movslq	(%r13), %rax
	addq	$12, %r14
	cmpq	%rax, %rbx
	jl	LBB0_8
	jmp	LBB0_11
LBB0_9:
	movl	(%r13), %eax
LBB0_11:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
LBB0_12:
	cmpl	%eax, %ebx
	jl	LBB0_14
## %bb.13:
	movl	-44(%rbp), %ecx
	cltq
	leaq	(%rax,%rax,2), %rax
	movl	%ecx, 8(%r12,%rax,4)
	movslq	(%r13), %rax
	leaq	(%rax,%rax,2), %rax
	movl	4(%r12,%rax,4), %edi
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_Q_strncpyz
	movq	_qtrue@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movslq	(%r13), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	movl	%eax, (%r12,%rcx,4)
	incl	(%r13)
	movl	$1, %r15d
LBB0_14:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_2
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
	.comm	_MAX_OTHER_SERVERS,4,2          ## @MAX_OTHER_SERVERS
	.comm	_cls,40,3                       ## @cls
	.comm	_MAX_GLOBAL_SERVERS,4,2         ## @MAX_GLOBAL_SERVERS
	.comm	_NA_UNSPEC,4,2                  ## @NA_UNSPEC
	.comm	_qtrue,4,2                      ## @qtrue
	.no_dead_strip	_LAN_AddServer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function LAN_AddServer
_LAN_AddServer:                         ; @LAN_AddServer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	sub	w10, w0, #128
	cmp	w10, #3
	b.hi	LBB0_12
; %bb.1:
	mov	x19, x1
Lloh0:
	adrp	x20, _cls@GOTPAGE
Lloh1:
	ldr	x20, [x20, _cls@GOTPAGEOFF]
	add	x9, x20, #32
Lloh2:
	adrp	x8, _MAX_OTHER_SERVERS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MAX_OTHER_SERVERS@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x11, lJTI0_0@PAGE
Lloh6:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x12, LBB0_2
	ldrb	w13, [x11, x10]
	add	x12, x12, x13, lsl #2
	br	x12
LBB0_2:
	add	x9, x20, #24
	add	x20, x20, #4
Lloh7:
	adrp	x8, _MAX_GLOBAL_SERVERS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MAX_GLOBAL_SERVERS@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
LBB0_3:
	ldr	x21, [x9]
	cbz	x21, LBB0_12
LBB0_4:
	ldr	w9, [x20]
	cmp	w9, w8
	b.ge	LBB0_12
; %bb.5:
Lloh10:
	adrp	x8, _NA_UNSPEC@GOTPAGE
Lloh11:
	ldr	x8, [x8, _NA_UNSPEC@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	add	x1, sp, #12
	mov	x0, x2
	mov	x2, x8
	bl	_NET_StringToAdr
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.6:
	mov	x22, #0
	add	x23, x21, #8
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23]
	ldr	w1, [sp, #12]
	bl	_NET_CompareAdr
	cbnz	x0, LBB0_15
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x20]
	add	x23, x23, #12
	cmp	x22, x8
	b.lt	LBB0_7
; %bb.9:
	cmp	w22, w8
	b.ge	LBB0_16
LBB0_10:
	mov	w0, #0
	b	LBB0_13
LBB0_11:
	add	x9, x20, #16
	add	x20, x20, #8
	ldr	x21, [x9]
	cbnz	x21, LBB0_4
LBB0_12:
	mov	w0, #-1
LBB0_13:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_14:
	mov	w22, #0
	cmp	w22, w8
	b.ge	LBB0_16
	b	LBB0_10
LBB0_15:
	ldr	w8, [x20]
	cmp	w22, w8
	b.lt	LBB0_10
LBB0_16:
	ldr	w9, [sp, #12]
	mov	w22, #12
	smaddl	x8, w8, w22, x21
	str	w9, [x8, #8]
	ldrsw	x8, [x20]
	madd	x8, x8, x22, x21
	ldr	w0, [x8, #4]
	mov	x1, x19
	mov	w2, #4
	bl	_Q_strncpyz
Lloh13:
	adrp	x8, _qtrue@GOTPAGE
Lloh14:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	ldrsw	x9, [x20]
	mul	x9, x9, x22
	str	w8, [x21, x9]
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
	mov	w0, #1
	b	LBB0_13
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
                                        ; -- End function
	.comm	_MAX_OTHER_SERVERS,4,2          ; @MAX_OTHER_SERVERS
	.comm	_cls,40,3                       ; @cls
	.comm	_MAX_GLOBAL_SERVERS,4,2         ; @MAX_GLOBAL_SERVERS
	.comm	_NA_UNSPEC,4,2                  ; @NA_UNSPEC
	.comm	_qtrue,4,2                      ; @qtrue
	.no_dead_strip	_LAN_AddServer
.subsections_via_symbols
