	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_UIUpdate_b                     ## -- Begin function UIUpdate_b
	.p2align	4, 0x90
_UIUpdate_b:                            ## @UIUpdate_b
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_win_speed@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$3, %eax
	je	LBB0_4
## %bb.1:
	cmpl	$4, %eax
	je	LBB0_5
## %bb.2:
	cmpl	$5, %eax
	jne	LBB0_6
## %bb.3:
	movq	_time@GOTPCREL(%rip), %rcx
	testb	$7, (%rcx)
	jne	LBB0_15
	jmp	LBB0_6
LBB0_4:
	movq	_time@GOTPCREL(%rip), %rcx
	testb	$1, (%rcx)
	je	LBB0_6
	jmp	LBB0_15
LBB0_5:
	movq	_time@GOTPCREL(%rip), %rcx
	testb	$3, (%rcx)
	jne	LBB0_15
LBB0_6:
	xorl	%ecx, %ecx
	cmpl	$1, %eax
	sete	%cl
	incq	%rcx
	movq	_win_pos_x@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	_win_dest_pos_x@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	%rdx, %rax
	je	LBB0_8
## %bb.7:
	movq	%rcx, %rsi
	negq	%rsi
	cmpq	%rdx, %rax
	cmovlq	%rcx, %rsi
	addq	%rsi, %rax
	movq	%rax, (%r14)
LBB0_8:
	movq	_win_pos_y@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdx
	movq	_win_dest_pos_y@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_10
## %bb.9:
	xorl	%eax, %eax
	callq	_UIDrawTextBuffer
	movq	(%r14), %rax
	movq	(%rbx), %rdx
	jmp	LBB0_14
LBB0_10:
	jge	LBB0_12
## %bb.11:
	addq	%rcx, %rdx
	jmp	LBB0_13
LBB0_12:
	subq	%rcx, %rdx
LBB0_13:
	movq	%rdx, (%rbx)
LBB0_14:
	addq	$7, %rax
	movq	_WX_REG@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_WY_REG@GOTPCREL(%rip), %rax
	movq	%rdx, (%rax)
LBB0_15:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_win_speed,4,2                  ## @win_speed
	.comm	_time,4,2                       ## @time
	.comm	_win_pos_x,8,3                  ## @win_pos_x
	.comm	_win_dest_pos_x,8,3             ## @win_dest_pos_x
	.comm	_win_pos_y,8,3                  ## @win_pos_y
	.comm	_win_dest_pos_y,8,3             ## @win_dest_pos_y
	.comm	_WX_REG,8,3                     ## @WX_REG
	.comm	_WY_REG,8,3                     ## @WY_REG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_UIUpdate_b                     ; -- Begin function UIUpdate_b
	.p2align	2
_UIUpdate_b:                            ; @UIUpdate_b
	.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	x8, _win_speed@GOTPAGE
Lloh1:
	ldr	x8, [x8, _win_speed@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #3
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #4
	b.eq	LBB0_5
; %bb.2:
	cmp	w8, #5
	b.ne	LBB0_6
; %bb.3:
Lloh3:
	adrp	x9, _time@GOTPAGE
Lloh4:
	ldr	x9, [x9, _time@GOTPAGEOFF]
	ldrb	w9, [x9]
	tst	w9, #0x7
	b.ne	LBB0_15
	b	LBB0_6
LBB0_4:
Lloh5:
	adrp	x9, _time@GOTPAGE
Lloh6:
	ldr	x9, [x9, _time@GOTPAGEOFF]
	ldrb	w9, [x9]
	tbz	w9, #0, LBB0_6
	b	LBB0_15
LBB0_5:
Lloh7:
	adrp	x9, _time@GOTPAGE
Lloh8:
	ldr	x9, [x9, _time@GOTPAGEOFF]
	ldrb	w9, [x9]
	tst	w9, #0x3
	b.ne	LBB0_15
LBB0_6:
	cmp	w8, #1
	mov	w8, #1
Lloh9:
	adrp	x19, _win_pos_x@GOTPAGE
Lloh10:
	ldr	x19, [x19, _win_pos_x@GOTPAGEOFF]
	cinc	x9, x8, eq
	ldr	x8, [x19]
Lloh11:
	adrp	x10, _win_dest_pos_x@GOTPAGE
Lloh12:
	ldr	x10, [x10, _win_dest_pos_x@GOTPAGEOFF]
Lloh13:
	ldr	x10, [x10]
	cmp	x8, x10
	b.eq	LBB0_8
; %bb.7:
	cneg	x10, x9, ge
	add	x8, x8, x10
	str	x8, [x19]
LBB0_8:
Lloh14:
	adrp	x20, _win_pos_y@GOTPAGE
Lloh15:
	ldr	x20, [x20, _win_pos_y@GOTPAGEOFF]
	ldr	x10, [x20]
Lloh16:
	adrp	x11, _win_dest_pos_y@GOTPAGE
Lloh17:
	ldr	x11, [x11, _win_dest_pos_y@GOTPAGEOFF]
Lloh18:
	ldr	x11, [x11]
	cmp	x10, x11
	b.ne	LBB0_10
; %bb.9:
	bl	_UIDrawTextBuffer
	ldr	x8, [x19]
	ldr	x9, [x20]
	b	LBB0_14
LBB0_10:
	b.ge	LBB0_12
; %bb.11:
	add	x9, x10, x9
	b	LBB0_13
LBB0_12:
	sub	x9, x10, x9
LBB0_13:
	str	x9, [x20]
LBB0_14:
	add	x8, x8, #7
Lloh19:
	adrp	x10, _WX_REG@GOTPAGE
Lloh20:
	ldr	x10, [x10, _WX_REG@GOTPAGEOFF]
Lloh21:
	str	x8, [x10]
Lloh22:
	adrp	x8, _WY_REG@GOTPAGE
Lloh23:
	ldr	x8, [x8, _WY_REG@GOTPAGEOFF]
Lloh24:
	str	x9, [x8]
LBB0_15:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotStr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotStr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_win_speed,4,2                  ; @win_speed
	.comm	_time,4,2                       ; @time
	.comm	_win_pos_x,8,3                  ; @win_pos_x
	.comm	_win_dest_pos_x,8,3             ; @win_dest_pos_x
	.comm	_win_pos_y,8,3                  ; @win_pos_y
	.comm	_win_dest_pos_y,8,3             ; @win_dest_pos_y
	.comm	_WX_REG,8,3                     ; @WX_REG
	.comm	_WY_REG,8,3                     ; @WY_REG
.subsections_via_symbols
