	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function UI_BinaryServerInsertion
_UI_BinaryServerInsertion:              ## @UI_BinaryServerInsertion
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	movq	_uiInfo@GOTPCREL(%rip), %r15
	movl	(%r15), %ebx
	testl	%ebx, %ebx
	jle	LBB0_1
## %bb.2:
	xorl	%r12d, %r12d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%r13d, %r12d
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, %ecx
	subl	%r14d, %ecx
	cmpl	$1, %ebx
	movl	%ecx, %ebx
	jle	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %r14d
	sarl	%r14d
	xorl	%eax, %eax
	callq	_UI_SourceForLAN
	movl	20(%r15), %esi
	movl	16(%r15), %edx
	movq	8(%r15), %rcx
	leal	(%r14,%r12), %r13d
	movslq	%r13d, %rdi
	movl	(%rcx,%rdi,4), %r8d
	movl	%eax, %edi
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_trap_LAN_CompareServers
	cmpl	$1, %eax
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	testl	%eax, %eax
	jne	LBB0_6
	jmp	LBB0_8
LBB0_1:
	xorl	%r13d, %r13d
	jmp	LBB0_8
LBB0_7:
	xorl	%ecx, %ecx
	cmpl	$1, %eax
	sete	%cl
	addl	%ecx, %r12d
	movl	%r12d, %r13d
LBB0_8:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%r13d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_UI_InsertServerIntoDisplayList ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_uiInfo,24,3                    ## @uiInfo
	.no_dead_strip	_UI_BinaryServerInsertion
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function UI_BinaryServerInsertion
_UI_BinaryServerInsertion:              ; @UI_BinaryServerInsertion
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [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 w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x21, _uiInfo@GOTPAGE
Lloh1:
	ldr	x21, [x21, _uiInfo@GOTPAGEOFF]
	ldr	w22, [x21]
	cmp	w22, #1
	b.lt	LBB0_6
; %bb.1:
	mov	w23, #0
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x23, x20
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	sub	w8, w22, w24
	cmp	w22, #1
	mov	x22, x8
	b.le	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	asr	w24, w22, #1
	bl	_UI_SourceForLAN
	ldp	w2, w1, [x21, #16]
	ldr	x8, [x21, #8]
	add	w20, w24, w23
	ldr	w4, [x8, w20, sxtw #2]
	mov	x3, x19
	bl	_trap_LAN_CompareServers
	cmp	w0, #1
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cbnz	w0, LBB0_3
	b	LBB0_8
LBB0_6:
	mov	w20, #0
	b	LBB0_8
LBB0_7:
	cmp	w0, #1
	cinc	w20, w23, eq
LBB0_8:
	mov	x0, x19
	mov	x1, x20
	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	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_UI_InsertServerIntoDisplayList
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_uiInfo,24,3                    ; @uiInfo
	.no_dead_strip	_UI_BinaryServerInsertion
.subsections_via_symbols
