	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SceneUpdateTimer_b             ## -- Begin function SceneUpdateTimer_b
	.p2align	4, 0x90
_SceneUpdateTimer_b:                    ## @SceneUpdateTimer_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	_scene_loaded@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_13
## %bb.1:
	movq	_scene_input_ready@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_13
## %bb.2:
	movq	_script_ptr@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_13
## %bb.3:
	movq	_emote_timer@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_13
## %bb.4:
	movq	_fade_running@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_13
## %bb.5:
	xorl	%eax, %eax
	callq	_UIIsClosed
	testl	%eax, %eax
	je	LBB0_13
## %bb.6:
	movq	_timer_script_duration@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	je	LBB0_13
## %bb.7:
	movq	_timer_script_time@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.10:
	movq	_time@GOTPCREL(%rip), %rcx
	testb	$15, (%rcx)
	jne	LBB0_13
## %bb.11:
	decq	%rax
	jmp	LBB0_12
LBB0_8:
	xorl	%edi, %edi
	callq	_ACTOR_ON_TILE
	testl	%eax, %eax
	je	LBB0_13
## %bb.9:
	movq	_last_joy@GOTPCREL(%rip), %rax
	andl	$240, (%rax)
	movq	_timer_script_ptr@GOTPCREL(%rip), %rdi
	callq	_ScriptStart
	movq	(%rbx), %rax
LBB0_12:
	movq	%rax, (%r14)
LBB0_13:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_scene_loaded,4,2               ## @scene_loaded
	.comm	_scene_input_ready,4,2          ## @scene_input_ready
	.comm	_script_ptr,8,3                 ## @script_ptr
	.comm	_emote_timer,8,3                ## @emote_timer
	.comm	_fade_running,8,3               ## @fade_running
	.comm	_timer_script_duration,8,3      ## @timer_script_duration
	.comm	_timer_script_time,8,3          ## @timer_script_time
	.comm	_last_joy,4,2                   ## @last_joy
	.comm	_timer_script_ptr,4,2           ## @timer_script_ptr
	.comm	_time,4,2                       ## @time
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SceneUpdateTimer_b             ; -- Begin function SceneUpdateTimer_b
	.p2align	2
_SceneUpdateTimer_b:                    ; @SceneUpdateTimer_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, _scene_loaded@GOTPAGE
Lloh1:
	ldr	x8, [x8, _scene_loaded@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _scene_input_ready@GOTPAGE
Lloh4:
	ldr	x9, [x9, _scene_input_ready@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, #0
	ccmp	w9, #0, #4, ne
	b.eq	LBB0_10
; %bb.1:
Lloh6:
	adrp	x8, _script_ptr@GOTPAGE
Lloh7:
	ldr	x8, [x8, _script_ptr@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _emote_timer@GOTPAGE
Lloh10:
	ldr	x9, [x9, _emote_timer@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
Lloh12:
	adrp	x10, _fade_running@GOTPAGE
Lloh13:
	ldr	x10, [x10, _fade_running@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
	cmp	x8, #0
	ccmp	x9, #0, #0, eq
	ccmp	x10, #0, #0, eq
	b.ne	LBB0_10
; %bb.2:
	bl	_UIIsClosed
	cbz	w0, LBB0_10
; %bb.3:
Lloh15:
	adrp	x20, _timer_script_duration@GOTPAGE
Lloh16:
	ldr	x20, [x20, _timer_script_duration@GOTPAGEOFF]
	ldr	x8, [x20]
	cbz	x8, LBB0_10
; %bb.4:
Lloh17:
	adrp	x19, _timer_script_time@GOTPAGE
Lloh18:
	ldr	x19, [x19, _timer_script_time@GOTPAGEOFF]
	ldr	x8, [x19]
	cbz	x8, LBB0_7
; %bb.5:
Lloh19:
	adrp	x9, _time@GOTPAGE
Lloh20:
	ldr	x9, [x9, _time@GOTPAGEOFF]
	ldrb	w9, [x9]
	tst	w9, #0xf
	b.ne	LBB0_10
; %bb.6:
	sub	x8, x8, #1
	b	LBB0_9
LBB0_7:
	mov	w0, #0
	bl	_ACTOR_ON_TILE
	cbz	w0, LBB0_10
; %bb.8:
Lloh21:
	adrp	x8, _last_joy@GOTPAGE
Lloh22:
	ldr	x8, [x8, _last_joy@GOTPAGEOFF]
	ldr	w9, [x8]
	and	w9, w9, #0xf0
	str	w9, [x8]
Lloh23:
	adrp	x0, _timer_script_ptr@GOTPAGE
Lloh24:
	ldr	x0, [x0, _timer_script_ptr@GOTPAGEOFF]
	bl	_ScriptStart
	ldr	x8, [x20]
LBB0_9:
	str	x8, [x19]
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_scene_loaded,4,2               ; @scene_loaded
	.comm	_scene_input_ready,4,2          ; @scene_input_ready
	.comm	_script_ptr,8,3                 ; @script_ptr
	.comm	_emote_timer,8,3                ; @emote_timer
	.comm	_fade_running,8,3               ; @fade_running
	.comm	_timer_script_duration,8,3      ; @timer_script_duration
	.comm	_timer_script_time,8,3          ; @timer_script_time
	.comm	_last_joy,4,2                   ; @last_joy
	.comm	_timer_script_ptr,4,2           ; @timer_script_ptr
	.comm	_time,4,2                       ; @time
.subsections_via_symbols
