	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function UI_BuildServerStatus
_UI_BuildServerStatus:                  ## @UI_BuildServerStatus
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_uiInfo@GOTPCREL(%rip), %rbx
	cmpq	$0, 48(%rbx)
	je	LBB0_1
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_1:
	testl	%edi, %edi
	je	LBB0_2
## %bb.4:
	movq	_FEEDER_SERVERSTATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_Menu_SetFeederSelection
	movq	$0, 24(%rbx)
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_trap_LAN_ServerStatus
	jmp	LBB0_5
LBB0_2:
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.3:
	cmpq	8(%rbx), %rax
	jg	LBB0_10
LBB0_5:
	movq	32(%rbx), %rax
	testq	%rax, %rax
	js	LBB0_10
## %bb.6:
	movq	40(%rbx), %rcx
	cmpq	%rcx, %rax
	jg	LBB0_10
## %bb.7:
	testq	%rcx, %rcx
	je	LBB0_10
## %bb.8:
	movl	16(%rbx), %edi
	leaq	24(%rbx), %rsi
	callq	_UI_GetServerStatusInfo
	testq	%rax, %rax
	je	LBB0_9
## %bb.11:
	movq	$0, (%rbx)
	movl	16(%rbx), %edi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_UI_GetServerStatusInfo         ## TAILCALL
LBB0_9:
	movl	$500, %eax                      ## imm = 0x1F4
	addq	8(%rbx), %rax
	movq	%rax, (%rbx)
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_uiInfo,56,3                    ## @uiInfo
	.comm	_FEEDER_SERVERSTATUS,4,2        ## @FEEDER_SERVERSTATUS
	.no_dead_strip	_UI_BuildServerStatus
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function UI_BuildServerStatus
_UI_BuildServerStatus:                  ; @UI_BuildServerStatus
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, _uiInfo@GOTPAGE
Lloh1:
	ldr	x19, [x19, _uiInfo@GOTPAGEOFF]
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	cbz	w0, LBB0_4
; %bb.3:
Lloh2:
	adrp	x8, _FEEDER_SERVERSTATUS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FEEDER_SERVERSTATUS@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, #0
	mov	w2, #0
	mov	x3, #0
	bl	_Menu_SetFeederSelection
	str	xzr, [x19, #24]
	mov	x0, #0
	mov	x1, #0
	mov	w2, #0
	bl	_trap_LAN_ServerStatus
	b	LBB0_6
LBB0_4:
	ldr	x8, [x19]
	cbz	x8, LBB0_1
; %bb.5:
	ldr	x9, [x19, #8]
	cmp	x8, x9
	b.gt	LBB0_1
LBB0_6:
	ldr	x8, [x19, #32]
	tbnz	x8, #63, LBB0_1
; %bb.7:
	ldr	x9, [x19, #40]
	cmp	x8, x9
	ccmp	x9, #0, #4, le
	b.eq	LBB0_1
; %bb.8:
	ldr	w0, [x19, #16]
	add	x1, x19, #24
	bl	_UI_GetServerStatusInfo
	cbz	x0, LBB0_10
; %bb.9:
	str	xzr, [x19]
	ldr	w0, [x19, #16]
	mov	x1, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_UI_GetServerStatusInfo
LBB0_10:
	ldr	x8, [x19, #8]
	add	x8, x8, #500
	str	x8, [x19]
	b	LBB0_1
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_uiInfo,56,3                    ; @uiInfo
	.comm	_FEEDER_SERVERSTATUS,4,2        ; @FEEDER_SERVERSTATUS
	.no_dead_strip	_UI_BuildServerStatus
.subsections_via_symbols
