	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function UI_InsertServerIntoDisplayList
_UI_InsertServerIntoDisplayList:        ## @UI_InsertServerIntoDisplayList
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%esi, %esi
	js	LBB0_21
## %bb.1:
	movq	_uiInfo@GOTPCREL(%rip), %r8
	movl	(%r8), %ebx
	cmpl	%esi, %ebx
	jl	LBB0_21
## %bb.2:
	leal	1(%rbx), %eax
	movl	%eax, (%r8)
	movq	8(%r8), %r11
	movslq	%eax, %rcx
	movl	%esi, %r10d
	leaq	-1(%rcx), %r9
	cmpq	%r10, %r9
	movq	%r10, %rax
	cmovlq	%r9, %rax
	movq	%rcx, %r14
	subq	%rax, %r14
	cmpq	$8, %r14
	jae	LBB0_3
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	leaq	-1(%rcx), %rax
	movl	%eax, %edx
	movl	(%r11,%rdx,4), %edx
	movl	%edx, (%r11,%rcx,4)
	movq	%rax, %rcx
	cmpq	%r10, %rax
	jg	LBB0_19
LBB0_20:
	movl	%edi, (%r11,%r10,4)
	cmpl	%esi, 16(%r8)
	jne	LBB0_21
## %bb.22:
	movq	_FEEDER_SERVERS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_UI_FeederSelection             ## TAILCALL
LBB0_21:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	cmpq	%r10, %r9
	cmovgeq	%r10, %r9
	notq	%r9
	addq	%rcx, %r9
	movl	$4, %edx
	movq	%r9, %rax
	mulq	%rdx
	seto	%r15b
	cmpl	%r9d, %ebx
	jb	LBB0_19
## %bb.4:
	shrq	$32, %r9
	jne	LBB0_19
## %bb.5:
	leaq	(%r11,%rcx,4), %r9
	movq	%r9, %rdx
	subq	%rax, %rdx
	cmpq	%r9, %rdx
	ja	LBB0_19
## %bb.6:
	testb	%r15b, %r15b
	jne	LBB0_19
## %bb.7:
	leaq	(%r11,%rbx,4), %rbx
	movq	%rbx, %rdx
	subq	%rax, %rdx
	cmpq	%rbx, %rdx
	ja	LBB0_19
## %bb.8:
	testb	%r15b, %r15b
	jne	LBB0_19
## %bb.9:
	subq	%r9, %rbx
	cmpq	$32, %rbx
	jb	LBB0_19
## %bb.10:
	movl	$4294967295, %r9d               ## imm = 0xFFFFFFFF
	movq	%r14, %rdx
	andq	$-8, %rdx
	leaq	-8(%rdx), %rbx
	movq	%rbx, %rax
	shrq	$3, %rax
	incq	%rax
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.12:
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdx
	andq	$-2, %rdx
	leaq	(%r11,%rcx,4), %r12
	addq	$-12, %r12
	leaq	(%rcx,%r9), %r13
	addq	$-8, %r13
	movl	$4294967295, %eax               ## imm = 0xFFFFFFFF
	leaq	(%rcx,%rax), %r9
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	leal	(%r9,%rbx), %r15d
	movups	-28(%r11,%r15,4), %xmm0
	movups	-12(%r11,%r15,4), %xmm1
	movups	%xmm1, (%r12,%rbx,4)
	movups	%xmm0, -16(%r12,%rbx,4)
	leal	(%r13,%rbx), %eax
	movups	-28(%r11,%rax,4), %xmm0
	movups	-12(%r11,%rax,4), %xmm1
	movups	%xmm1, -32(%r12,%rbx,4)
	movups	%xmm0, -48(%r12,%rbx,4)
	addq	$-16, %rbx
	addq	$-2, %rdx
	jne	LBB0_13
## %bb.14:
	negq	%rbx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	$4294967295, %r9d               ## imm = 0xFFFFFFFF
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_15
LBB0_11:
	xorl	%ebx, %ebx
LBB0_15:
	testb	$1, %al
	je	LBB0_17
## %bb.16:
	movq	%rcx, %rax
	subq	%rbx, %rax
	addl	%eax, %r9d
	movups	-28(%r11,%r9,4), %xmm0
	movups	-12(%r11,%r9,4), %xmm1
	movups	%xmm1, -12(%r11,%rax,4)
	movups	%xmm0, -28(%r11,%rax,4)
LBB0_17:
	cmpq	%rdx, %r14
	je	LBB0_20
## %bb.18:
	subq	%rdx, %rcx
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_uiInfo,24,3                    ## @uiInfo
	.comm	_FEEDER_SERVERS,4,2             ## @FEEDER_SERVERS
	.no_dead_strip	_UI_InsertServerIntoDisplayList
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function UI_InsertServerIntoDisplayList
_UI_InsertServerIntoDisplayList:        ; @UI_InsertServerIntoDisplayList
	.cfi_startproc
; %bb.0:
	tbnz	w1, #31, LBB0_6
; %bb.1:
Lloh0:
	adrp	x8, _uiInfo@GOTPAGE
Lloh1:
	ldr	x8, [x8, _uiInfo@GOTPAGEOFF]
	ldr	w13, [x8]
	cmp	w13, w1
	b.lt	LBB0_6
; %bb.2:
	add	w10, w13, #1
	str	w10, [x8]
	ldr	x9, [x8, #8]
	sxtw	x11, w10
	mov	w10, w1
	sub	x14, x11, #1
	cmp	x14, x10
	csel	x12, x14, x10, lt
	sub	x12, x11, x12
	cmp	x12, #16
	b.hs	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sub	x12, x11, #1
	ldr	w13, [x9, w12, uxtw #2]
	str	w13, [x9, x11, lsl #2]
	mov	x11, x12
	cmp	x12, x10
	b.gt	LBB0_3
LBB0_4:
	str	w0, [x9, x10, lsl #2]
	ldr	w8, [x8, #16]
	cmp	w8, w1
	b.ne	LBB0_6
; %bb.5:
Lloh2:
	adrp	x8, _FEEDER_SERVERS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FEEDER_SERVERS@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	b	_UI_FeederSelection
LBB0_6:
	ret
LBB0_7:
	cmp	x14, x10
	csel	x14, x14, x10, lt
	mvn	x14, x14
	add	x16, x9, x11, lsl #2
	add	x17, x14, x11
	cmp	xzr, x17, lsr #62
	cset	w14, ne
	cmp	w13, w17
	lsl	x15, x17, #2
	sub	x2, x16, x15
	lsr	x17, x17, #32
	ccmp	x17, #0, #0, hs
	ccmp	x2, x16, #2, eq
	b.hi	LBB0_3
; %bb.8:
	tbnz	w14, #0, LBB0_3
; %bb.9:
	add	x16, x9, x13, lsl #2
	sub	x15, x16, x15
	cmp	x15, x16
	b.hi	LBB0_3
; %bb.10:
	tbnz	w14, #0, LBB0_3
; %bb.11:
	add	x13, x9, x13, lsl #2
	add	x15, x9, x11, lsl #2
	sub	x13, x13, x15
	cmp	x13, #64
	b.lo	LBB0_3
; %bb.12:
	and	x13, x12, #0xfffffffffffffff0
	sub	x14, x11, x13
	mov	w16, #-1
	add	x11, x11, x16
	sub	x15, x15, #28
	mov	x16, x13
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	add	x17, x9, w11, uxtw #2
	ldur	q0, [x17, #-12]
	ldur	q1, [x17, #-28]
	ldur	q2, [x17, #-44]
	ldur	q3, [x17, #-60]
	stp	q1, q0, [x15]
	stp	q3, q2, [x15, #-32]
	sub	x11, x11, #16
	sub	x15, x15, #64
	sub	x16, x16, #16
	cbnz	x16, LBB0_13
; %bb.14:
	mov	x11, x14
	cmp	x12, x13
	b.ne	LBB0_3
	b	LBB0_4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_uiInfo,24,3                    ; @uiInfo
	.comm	_FEEDER_SERVERS,4,2             ; @FEEDER_SERVERS
	.no_dead_strip	_UI_InsertServerIntoDisplayList
.subsections_via_symbols
