	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_UpdateTimeDisplay              ## -- Begin function UpdateTimeDisplay
	.p2align	4, 0x90
_UpdateTimeDisplay:                     ## @UpdateTimeDisplay
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	movq	%rsp, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_MCISTR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	(,%rbx,4), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rax
	movq	_wDeviceId@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	testl	%edi, %edi
	je	LBB0_1
## %bb.2:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	%r14d, -60(%rbp)                ## 4-byte Spill
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movq	_MCI_STATUS_TIME_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	movl	$0, -56(%rbp)
	movq	_MCI_STATUS@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_MCI_STATUS_ITEM@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	leaq	-56(%rbp), %rbx
	movl	%ebx, %ecx
	callq	_mciSendCommand
	movl	-56(%rbp), %r14d
	movq	_MCI_STATUS_POSITION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	movl	$0, -56(%rbp)
	movl	(%r13), %edi
	movl	(%r12), %esi
	movl	(%r15), %edx
	movl	%ebx, %ecx
	callq	_mciSendCommand
	cmpl	$128, %r14d
	jne	LBB0_4
## %bb.3:
	movslq	-56(%rbp), %rax
	imulq	$274877907, %rax, %rcx          ## imm = 0x10624DD3
	movq	%rcx, %rdx
	shrq	$63, %rdx
	shrq	$32, %rcx
	sarl	$6, %ecx
	addl	%edx, %ecx
	movslq	%ecx, %r12
	imulq	$-2004318071, %r12, %rcx        ## imm = 0x88888889
	shrq	$32, %rcx
	addl	%r12d, %ecx
	movl	%ecx, %edx
	shrl	$31, %edx
	sarl	$5, %ecx
	addl	%edx, %ecx
	imull	$60, %ecx, %ecx
	subl	%ecx, %r12d
	imulq	$1172812403, %rax, %rcx         ## imm = 0x45E7B273
	movq	%rcx, %rdx
	shrq	$63, %rdx
	shrq	$32, %rcx
	sarl	$14, %ecx
	addl	%edx, %ecx
	movslq	%ecx, %r15
	imulq	$-2004318071, %r15, %rcx        ## imm = 0x88888889
	shrq	$32, %rcx
	addl	%r15d, %ecx
	movl	%ecx, %edx
	shrl	$31, %edx
	sarl	$5, %ecx
	addl	%edx, %ecx
	imull	$60, %ecx, %ecx
	subl	%ecx, %r15d
	imulq	$1250999897, %rax, %rax         ## imm = 0x4A90BE59
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$52, %rax
	addl	%ecx, %eax
	imull	$10923, %eax, %ecx              ## imm = 0x2AAB
	movl	%ecx, %edx
	shrl	$31, %edx
	sarl	$18, %ecx
	addl	%edx, %ecx
	shll	$3, %ecx
	leal	(%rcx,%rcx,2), %ecx
	subl	%ecx, %eax
	movswl	%ax, %r14d
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	shll	$2, %r13d
	leaq	L_.str.1(%rip), %rdi
	callq	__T
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movq	%rax, %rdx
	movl	%r14d, %ecx
	movl	%r15d, %r8d
	movl	%r12d, %r9d
	xorl	%eax, %eax
	callq	_StringCbPrintf
	jmp	LBB0_5
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	__T
	movl	%r14d, %edi
	movq	%rax, %rsi
	callq	_SetWindowText
	jmp	LBB0_6
LBB0_4:
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	shll	$2, %r14d
	leaq	L_.str.2(%rip), %rdi
	callq	__T
	movl	-56(%rbp), %ecx
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_StringCbPrintf
LBB0_5:
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	movq	%rbx, %rsi
	callq	_SetWindowText
	movq	-88(%rbp), %r15                 ## 8-byte Reload
LBB0_6:
	movq	%r15, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_MCISTR,4,2                 ## @MAX_MCISTR
	.comm	_wDeviceId,4,2                  ## @wDeviceId
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_MCI_STATUS_TIME_FORMAT,4,2     ## @MCI_STATUS_TIME_FORMAT
	.comm	_MCI_STATUS,4,2                 ## @MCI_STATUS
	.comm	_MCI_STATUS_ITEM,4,2            ## @MCI_STATUS_ITEM
	.comm	_MCI_STATUS_POSITION,4,2        ## @MCI_STATUS_POSITION
L_.str.1:                               ## @.str.1
	.asciz	"%02lu:%02lu:%02lu"

L_.str.2:                               ## @.str.2
	.asciz	"%lu"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_UpdateTimeDisplay              ; -- Begin function UpdateTimeDisplay
	.p2align	2
_UpdateTimeDisplay:                     ; @UpdateTimeDisplay
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [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 w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #16
	mov	x19, x0
	mov	x23, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _MAX_MCISTR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_MCISTR@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	lsl	x8, x22, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x20, x9, x8
	mov	sp, x20
Lloh8:
	adrp	x21, _wDeviceId@GOTPAGE
Lloh9:
	ldr	x21, [x21, _wDeviceId@GOTPAGEOFF]
	ldr	w0, [x21]
	cbz	w0, LBB0_3
; %bb.1:
Lloh10:
	adrp	x8, _MCI_STATUS_TIME_FORMAT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MCI_STATUS_TIME_FORMAT@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	stp	wzr, w8, [x29, #-80]
Lloh13:
	adrp	x24, _MCI_STATUS@GOTPAGE
Lloh14:
	ldr	x24, [x24, _MCI_STATUS@GOTPAGEOFF]
	ldr	w1, [x24]
Lloh15:
	adrp	x25, _MCI_STATUS_ITEM@GOTPAGE
Lloh16:
	ldr	x25, [x25, _MCI_STATUS_ITEM@GOTPAGEOFF]
	ldr	w2, [x25]
	sub	x3, x29, #80
	bl	_mciSendCommand
	ldur	w26, [x29, #-80]
Lloh17:
	adrp	x8, _MCI_STATUS_POSITION@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MCI_STATUS_POSITION@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	stp	wzr, w8, [x29, #-80]
	ldr	w0, [x21]
	ldr	w1, [x24]
	ldr	w2, [x25]
	sub	x3, x29, #80
	bl	_mciSendCommand
	cmp	w26, #128
	b.ne	LBB0_4
; %bb.2:
	ldursw	x8, [x29, #-80]
	mov	w9, #19923
	movk	w9, #4194, lsl #16
	mul	x9, x8, x9
	lsr	x10, x9, #32
	lsr	x9, x9, #63
	add	w9, w9, w10, asr #6
	mov	w10, #34953
	movk	w10, #34952, lsl #16
	smull	x11, w9, w10
	lsr	x11, x11, #32
	add	w11, w11, w9
	asr	w12, w11, #5
	add	w11, w12, w11, lsr #31
	mov	w12, #60
	msub	w24, w11, w12, w9
	mov	w9, #45683
	movk	w9, #17895, lsl #16
	mul	x9, x8, x9
	lsr	x11, x9, #32
	lsr	x9, x9, #63
	add	w9, w9, w11, asr #14
	smull	x10, w9, w10
	lsr	x10, x10, #32
	add	w10, w10, w9
	asr	w11, w10, #5
	add	w10, w11, w10, lsr #31
	msub	w25, w10, w12, w9
	mov	w9, #48729
	movk	w9, #19088, lsl #16
	mul	x8, x8, x9
	lsr	x9, x8, #63
	asr	x8, x8, #52
	add	w8, w8, w9
	mov	w9, #10923
	mul	w9, w8, w9
	asr	w10, w9, #18
	add	w9, w10, w9, lsr #31
	mov	w10, #24
	msub	w8, w9, w10, w8
	sxth	w21, w8
	lsl	w22, w22, #2
Lloh20:
	adrp	x0, l_.str.1@PAGE
Lloh21:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__T
	mov	x2, x0
	stp	x25, x24, [sp, #-16]!
	mov	x0, x20
	mov	x1, x22
	mov	x3, x21
	bl	_StringCbPrintf
	add	sp, sp, #16
	b	LBB0_5
LBB0_3:
Lloh22:
	adrp	x0, l_.str@PAGE
Lloh23:
	add	x0, x0, l_.str@PAGEOFF
	bl	__T
	mov	x1, x0
	mov	x0, x19
	b	LBB0_6
LBB0_4:
	lsl	w21, w22, #2
Lloh24:
	adrp	x0, l_.str.2@PAGE
Lloh25:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__T
	mov	x2, x0
	ldur	w3, [x29, #-80]
	mov	x0, x20
	mov	x1, x21
	bl	_StringCbPrintf
LBB0_5:
	mov	x0, x19
	mov	x1, x20
LBB0_6:
	bl	_SetWindowText
	mov	sp, x23
	ldur	x8, [x29, #-72]
Lloh26:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh27:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	sub	sp, x29, #64
	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	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_MCISTR,4,2                 ; @MAX_MCISTR
	.comm	_wDeviceId,4,2                  ; @wDeviceId
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_MCI_STATUS_TIME_FORMAT,4,2     ; @MCI_STATUS_TIME_FORMAT
	.comm	_MCI_STATUS,4,2                 ; @MCI_STATUS
	.comm	_MCI_STATUS_ITEM,4,2            ; @MCI_STATUS_ITEM
	.comm	_MCI_STATUS_POSITION,4,2        ; @MCI_STATUS_POSITION
l_.str.1:                               ; @.str.1
	.asciz	"%02lu:%02lu:%02lu"

l_.str.2:                               ; @.str.2
	.asciz	"%lu"

.subsections_via_symbols
