	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function StartServer_LevelshotDraw
_StartServer_LevelshotDraw:             ## @StartServer_LevelshotDraw
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	32(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.1:
	movq	40(%rbx), %r8
	testq	%r8, %r8
	jne	LBB0_6
## %bb.2:
	callq	_trap_R_RegisterShaderNoMip
	movq	%rax, %r8
	movq	%rax, 40(%rbx)
	testq	%rax, %rax
	jne	LBB0_6
## %bb.3:
	movq	56(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.5:
	callq	_trap_R_RegisterShaderNoMip
	movq	%rax, %r8
	movq	%rax, 40(%rbx)
	jmp	LBB0_6
LBB0_4:
	xorl	%r8d, %r8d
LBB0_6:
	movq	48(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.7:
	cmpq	$0, 8(%rbx)
	jne	LBB0_9
## %bb.8:
	callq	_trap_R_RegisterShaderNoMip
	movq	%rax, 8(%rbx)
	movq	40(%rbx), %r8
LBB0_9:
	testq	%r8, %r8
	je	LBB0_11
## %bb.10:
	movl	(%rbx), %edx
	movl	4(%rbx), %ecx
	movl	20(%rbx), %esi
	movl	16(%rbx), %edi
	callq	_UI_DrawHandlePic
LBB0_11:
	movl	16(%rbx), %r14d
	movl	20(%rbx), %r15d
	movl	(%rbx), %edx
	movl	4(%rbx), %r12d
	leal	(%r12,%r15), %esi
	movq	_colorBlack@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	%r14d, %edi
	movl	$28, %ecx
	callq	_UI_FillRect
	movl	(%rbx), %eax
	movl	%eax, %edi
	shrl	$31, %edi
	addl	%eax, %edi
	sarl	%edi
	addl	%r14d, %edi
	movq	_s_startserver@GOTPCREL(%rip), %rax
	movq	_MAX_MAPSPERPAGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	imull	(%rax), %ecx
	leal	(%r12,%r15), %esi
	addl	$4, %esi
	addl	24(%rbx), %ecx
	movq	_ID_PICTURES@GOTPCREL(%rip), %rdx
	subl	(%rdx), %ecx
	movq	8(%rax), %rax
	movslq	%ecx, %rcx
	movl	(%rax,%rcx,4), %edx
	movq	_UI_CENTER@GOTPCREL(%rip), %rax
	movq	_UI_SMALLFONT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_color_orange@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	callq	_UI_DrawString
	movq	_QMF_HIGHLIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 28(%rbx)
	je	LBB0_12
## %bb.13:
	movl	(%rbx), %edx
	movl	4(%rbx), %ecx
	addl	$28, %ecx
	movl	20(%rbx), %esi
	movl	16(%rbx), %edi
	movq	8(%rbx), %r8
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_UI_DrawHandlePic               ## TAILCALL
LBB0_12:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_colorBlack,4,2                 ## @colorBlack
	.comm	_s_startserver,16,3             ## @s_startserver
	.comm	_MAX_MAPSPERPAGE,4,2            ## @MAX_MAPSPERPAGE
	.comm	_ID_PICTURES,4,2                ## @ID_PICTURES
	.comm	_UI_CENTER,4,2                  ## @UI_CENTER
	.comm	_UI_SMALLFONT,4,2               ## @UI_SMALLFONT
	.comm	_color_orange,4,2               ## @color_orange
	.comm	_QMF_HIGHLIGHT,4,2              ## @QMF_HIGHLIGHT
	.no_dead_strip	_StartServer_LevelshotDraw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function StartServer_LevelshotDraw
_StartServer_LevelshotDraw:             ; @StartServer_LevelshotDraw
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldr	x0, [x0, #32]
	cbz	x0, LBB0_12
; %bb.1:
	ldr	x4, [x19, #40]
	cbnz	x4, LBB0_5
; %bb.2:
	bl	_trap_R_RegisterShaderNoMip
	mov	x4, x0
	str	x0, [x19, #40]
	cbnz	x0, LBB0_5
; %bb.3:
	ldr	x0, [x19, #56]
	cbz	x0, LBB0_13
; %bb.4:
	bl	_trap_R_RegisterShaderNoMip
	mov	x4, x0
	str	x0, [x19, #40]
LBB0_5:
	ldr	x0, [x19, #48]
	cbz	x0, LBB0_8
LBB0_6:
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_8
; %bb.7:
	bl	_trap_R_RegisterShaderNoMip
	str	x0, [x19, #8]
	ldr	x4, [x19, #40]
LBB0_8:
	cbz	x4, LBB0_10
; %bb.9:
	ldp	w2, w3, [x19]
	ldp	w0, w1, [x19, #16]
	bl	_UI_DrawHandlePic
LBB0_10:
	ldp	w20, w8, [x19, #16]
	ldp	w2, w9, [x19]
	add	w21, w9, w8
Lloh0:
	adrp	x8, _colorBlack@GOTPAGE
Lloh1:
	ldr	x8, [x8, _colorBlack@GOTPAGEOFF]
Lloh2:
	ldr	w4, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	w3, #28
	bl	_UI_FillRect
	ldr	w8, [x19]
	cmp	w8, #0
	cinc	w8, w8, lt
	add	w0, w20, w8, asr #1
Lloh3:
	adrp	x8, _s_startserver@GOTPAGE
Lloh4:
	ldr	x8, [x8, _s_startserver@GOTPAGEOFF]
	add	w1, w21, #4
	ldr	w9, [x8]
Lloh5:
	adrp	x10, _MAX_MAPSPERPAGE@GOTPAGE
Lloh6:
	ldr	x10, [x10, _MAX_MAPSPERPAGE@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	ldr	w11, [x19, #24]
	madd	w9, w10, w9, w11
Lloh8:
	adrp	x10, _ID_PICTURES@GOTPAGE
Lloh9:
	ldr	x10, [x10, _ID_PICTURES@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	sub	w9, w9, w10
	ldr	x8, [x8, #8]
	ldr	w2, [x8, w9, sxtw #2]
Lloh11:
	adrp	x8, _UI_CENTER@GOTPAGE
Lloh12:
	ldr	x8, [x8, _UI_CENTER@GOTPAGEOFF]
Lloh13:
	adrp	x9, _UI_SMALLFONT@GOTPAGE
Lloh14:
	ldr	x9, [x9, _UI_SMALLFONT@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	ldr	w9, [x9]
	orr	w3, w9, w8
Lloh17:
	adrp	x8, _color_orange@GOTPAGE
Lloh18:
	ldr	x8, [x8, _color_orange@GOTPAGEOFF]
Lloh19:
	ldr	w4, [x8]
	bl	_UI_DrawString
	ldr	w8, [x19, #28]
Lloh20:
	adrp	x9, _QMF_HIGHLIGHT@GOTPAGE
Lloh21:
	ldr	x9, [x9, _QMF_HIGHLIGHT@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.11:
	ldp	w2, w8, [x19]
	add	w3, w8, #28
	ldp	w0, w1, [x19, #16]
	ldr	x4, [x19, #8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_UI_DrawHandlePic
LBB0_12:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_13:
	mov	x4, #0
	ldr	x0, [x19, #48]
	cbnz	x0, LBB0_6
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh15
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_colorBlack,4,2                 ; @colorBlack
	.comm	_s_startserver,16,3             ; @s_startserver
	.comm	_MAX_MAPSPERPAGE,4,2            ; @MAX_MAPSPERPAGE
	.comm	_ID_PICTURES,4,2                ; @ID_PICTURES
	.comm	_UI_CENTER,4,2                  ; @UI_CENTER
	.comm	_UI_SMALLFONT,4,2               ; @UI_SMALLFONT
	.comm	_color_orange,4,2               ; @color_orange
	.comm	_QMF_HIGHLIGHT,4,2              ; @QMF_HIGHLIGHT
	.no_dead_strip	_StartServer_LevelshotDraw
.subsections_via_symbols
