	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function UI_DrawMapTimeToBeat
_UI_DrawMapTimeToBeat:                  ## @UI_DrawMapTimeToBeat
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movl	%esi, %r14d
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	movq	%rdi, %r12
	movq	_ui_currentMap@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movq	_uiInfo@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jbe	LBB0_2
## %bb.1:
	movq	$0, (%r13)
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_trap_Cvar_Set
	movq	(%r13), %rax
LBB0_2:
	movq	8(%rbx), %rcx
	movq	16(%rbx), %rdx
	movq	(%rdx,%rax,8), %rax
	movq	_ui_gameType@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movslq	(%rax,%rcx,4), %rdx
	imulq	$-2004318071, %rdx, %rsi        ## imm = 0x88888889
	shrq	$32, %rsi
	addl	%edx, %esi
	movl	%esi, %eax
	shrl	$31, %eax
	sarl	$5, %esi
	addl	%eax, %esi
	imull	$60, %esi, %eax
	subl	%eax, %edx
	movl	(%r12), %r13d
	movl	4(%r12), %ebx
	leaq	L_.str.2(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_va
	movl	%r15d, (%rsp)
	movl	%ebx, %edi
	movl	%r13d, %esi
	movss	-44(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movl	%r14d, %edx
	movl	%eax, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_Text_Paint
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ui_currentMap,8,3              ## @ui_currentMap
	.comm	_uiInfo,24,3                    ## @uiInfo
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ui_currentMap"

L_.str.1:                               ## @.str.1
	.asciz	"0"

	.comm	_ui_gameType,8,3                ## @ui_gameType
L_.str.2:                               ## @.str.2
	.asciz	"%02i:%02i"

	.no_dead_strip	_UI_DrawMapTimeToBeat
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function UI_DrawMapTimeToBeat
_UI_DrawMapTimeToBeat:                  ; @UI_DrawMapTimeToBeat
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-80]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset b8, -72
	.cfi_offset b9, -80
	mov	x19, x2
	mov	x20, x1
	fmov	s8, s0
	mov	x21, x0
Lloh0:
	adrp	x23, _ui_currentMap@GOTPAGE
Lloh1:
	ldr	x23, [x23, _ui_currentMap@GOTPAGEOFF]
	ldr	x8, [x23]
Lloh2:
	adrp	x22, _uiInfo@GOTPAGE
Lloh3:
	ldr	x22, [x22, _uiInfo@GOTPAGEOFF]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ls	LBB0_2
; %bb.1:
	str	xzr, [x23]
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_trap_Cvar_Set
	ldr	x8, [x23]
LBB0_2:
	ldp	x10, x9, [x22, #8]
	ldr	x8, [x9, x8, lsl #3]
Lloh8:
	adrp	x9, _ui_gameType@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ui_gameType@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	ldr	x9, [x10, x9, lsl #3]
	ldr	w8, [x8, x9, lsl #2]
	mov	w9, #34953
	movk	w9, #34952, lsl #16
	smull	x9, w8, w9
	lsr	x9, x9, #32
	add	w9, w9, w8
	asr	w10, w9, #5
	add	w1, w10, w9, lsr #31
	mov	w9, #60
	msub	w2, w1, w9, w8
	ldp	w21, w22, [x21]
Lloh11:
	adrp	x0, l_.str.2@PAGE
Lloh12:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_va
	mov	x3, x0
	mov	x0, x22
	mov	x1, x21
	fmov	s0, s8
	mov	x2, x20
	mov	w4, #0
	mov	w5, #0
	mov	x6, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #80               ; 16-byte Folded Reload
	b	_Text_Paint
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ui_currentMap,8,3              ; @ui_currentMap
	.comm	_uiInfo,24,3                    ; @uiInfo
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ui_currentMap"

l_.str.1:                               ; @.str.1
	.asciz	"0"

	.comm	_ui_gameType,8,3                ; @ui_gameType
l_.str.2:                               ; @.str.2
	.asciz	"%02i:%02i"

	.no_dead_strip	_UI_DrawMapTimeToBeat
.subsections_via_symbols
