	.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), %rax
	movl	(%rax), %r11d
	cmpl	%esi, %r11d
	jl	LBB0_21
## %bb.2:
	leal	1(%r11), %ecx
	movl	%ecx, (%rax)
	movq	8(%rax), %r9
	movslq	%ecx, %rcx
	movl	%esi, %esi
	leaq	-1(%rcx), %r8
	cmpq	%rsi, %r8
	movq	%rsi, %rax
	cmovlq	%r8, %rax
	movq	%rcx, %r10
	subq	%rax, %r10
	cmpq	$8, %r10
	jae	LBB0_3
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	leaq	-1(%rcx), %rax
	movl	%eax, %edx
	movl	(%r9,%rdx,4), %edx
	movl	%edx, (%r9,%rcx,4)
	movq	%rax, %rcx
	cmpq	%rsi, %rax
	jg	LBB0_19
LBB0_20:
	movl	%edi, (%r9,%rsi,4)
LBB0_21:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	cmpq	%rsi, %r8
	cmovgeq	%rsi, %r8
	notq	%r8
	addq	%rcx, %r8
	movl	$4, %edx
	movq	%r8, %rax
	mulq	%rdx
	seto	%r14b
	cmpl	%r8d, %r11d
	jb	LBB0_19
## %bb.4:
	shrq	$32, %r8
	jne	LBB0_19
## %bb.5:
	leaq	(%r9,%rcx,4), %r8
	movq	%r8, %rdx
	subq	%rax, %rdx
	cmpq	%r8, %rdx
	ja	LBB0_19
## %bb.6:
	testb	%r14b, %r14b
	jne	LBB0_19
## %bb.7:
	leaq	(%r9,%r11,4), %rbx
	movq	%rbx, %rdx
	subq	%rax, %rdx
	cmpq	%rbx, %rdx
	ja	LBB0_19
## %bb.8:
	testb	%r14b, %r14b
	jne	LBB0_19
## %bb.9:
	subq	%r8, %rbx
	cmpq	$32, %rbx
	jb	LBB0_19
## %bb.10:
	movl	$4294967295, %r8d               ## imm = 0xFFFFFFFF
	movq	%r10, %r11
	andq	$-8, %r11
	leaq	-8(%r11), %rax
	movq	%rax, %r14
	shrq	$3, %r14
	incq	%r14
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:
	movq	%r14, %rbx
	andq	$-2, %rbx
	leaq	(%r9,%rcx,4), %r13
	addq	$-12, %r13
	leaq	(%rcx,%r8), %r15
	addq	$-8, %r15
	leaq	(%rcx,%r8), %r12
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	leal	(%r12,%rax), %edx
	movups	-28(%r9,%rdx,4), %xmm0
	movups	-12(%r9,%rdx,4), %xmm1
	movups	%xmm1, (%r13,%rax,4)
	movups	%xmm0, -16(%r13,%rax,4)
	leal	(%r15,%rax), %edx
	movups	-28(%r9,%rdx,4), %xmm0
	movups	-12(%r9,%rdx,4), %xmm1
	movups	%xmm1, -32(%r13,%rax,4)
	movups	%xmm0, -48(%r13,%rax,4)
	addq	$-16, %rax
	addq	$-2, %rbx
	jne	LBB0_13
## %bb.14:
	negq	%rax
	jmp	LBB0_15
LBB0_11:
	xorl	%eax, %eax
LBB0_15:
	testb	$1, %r14b
	je	LBB0_17
## %bb.16:
	movq	%rcx, %rdx
	subq	%rax, %rdx
	addl	%edx, %r8d
	movups	-28(%r9,%r8,4), %xmm0
	movups	-12(%r9,%r8,4), %xmm1
	movups	%xmm1, -12(%r9,%rdx,4)
	movups	%xmm0, -28(%r9,%rdx,4)
LBB0_17:
	cmpq	%r11, %r10
	je	LBB0_20
## %bb.18:
	subq	%r11, %rcx
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_uiInfo,16,3                    ## @uiInfo
	.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_5
; %bb.1:
Lloh0:
	adrp	x8, _uiInfo@GOTPAGE
Lloh1:
	ldr	x8, [x8, _uiInfo@GOTPAGEOFF]
	ldr	w12, [x8]
	cmp	w12, w1
	b.lt	LBB0_5
; %bb.2:
	add	w9, w12, #1
	str	w9, [x8]
	ldr	x8, [x8, #8]
	sxtw	x10, w9
	mov	w9, w1
	sub	x13, x10, #1
	cmp	x13, x9
	csel	x11, x13, x9, lt
	sub	x11, x10, x11
	cmp	x11, #16
	b.hs	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sub	x11, x10, #1
	ldr	w12, [x8, w11, uxtw #2]
	str	w12, [x8, x10, lsl #2]
	mov	x10, x11
	cmp	x11, x9
	b.gt	LBB0_3
LBB0_4:
	str	w0, [x8, x9, lsl #2]
LBB0_5:
	ret
LBB0_6:
	cmp	x13, x9
	csel	x13, x13, x9, lt
	mvn	x13, x13
	add	x15, x8, x10, lsl #2
	add	x16, x13, x10
	cmp	xzr, x16, lsr #62
	cset	w13, ne
	cmp	w12, w16
	lsl	x14, x16, #2
	sub	x17, x15, x14
	lsr	x16, x16, #32
	ccmp	x16, #0, #0, hs
	ccmp	x17, x15, #2, eq
	b.hi	LBB0_3
; %bb.7:
	tbnz	w13, #0, LBB0_3
; %bb.8:
	add	x15, x8, x12, lsl #2
	sub	x14, x15, x14
	cmp	x14, x15
	b.hi	LBB0_3
; %bb.9:
	tbnz	w13, #0, LBB0_3
; %bb.10:
	add	x12, x8, x12, lsl #2
	add	x14, x8, x10, lsl #2
	sub	x12, x12, x14
	cmp	x12, #64
	b.lo	LBB0_3
; %bb.11:
	and	x12, x11, #0xfffffffffffffff0
	sub	x13, x10, x12
	mov	w15, #-1
	add	x10, x10, x15
	sub	x14, x14, #28
	mov	x15, x12
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	add	x16, x8, w10, uxtw #2
	ldur	q0, [x16, #-12]
	ldur	q1, [x16, #-28]
	ldur	q2, [x16, #-44]
	ldur	q3, [x16, #-60]
	stp	q1, q0, [x14]
	stp	q3, q2, [x14, #-32]
	sub	x10, x10, #16
	sub	x14, x14, #64
	sub	x15, x15, #16
	cbnz	x15, LBB0_12
; %bb.13:
	mov	x10, x13
	cmp	x11, x12
	b.ne	LBB0_3
	b	LBB0_4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_uiInfo,16,3                    ; @uiInfo
	.no_dead_strip	_UI_InsertServerIntoDisplayList
.subsections_via_symbols
