	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SceneRenderEmoteBubble_b       ## -- Begin function SceneRenderEmoteBubble_b
	.p2align	4, 0x90
_SceneRenderEmoteBubble_b:              ## @SceneRenderEmoteBubble_b
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_emote_timer@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	_BUBBLE_TOTAL_FRAMES@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.2:
	movq	_actors@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_emote_actor@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	shlq	$4, %rsi
	movq	(%rcx,%rsi), %rdx
	movq	8(%rcx,%rsi), %rsi
	movq	_SCX_REG@GOTPCREL(%rip), %rcx
	subq	(%rcx), %rsi
	movq	_ACTOR_HEIGHT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_SCY_REG@GOTPCREL(%rip), %rdi
	addq	(%rdi), %rcx
	subq	%rcx, %rdx
	movq	_BUBBLE_ANIMATION_FRAMES@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jae	LBB0_4
## %bb.3:
	movq	_emote_offsets@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	(%rcx,%rax,8), %rdx
LBB0_4:
	movq	_BUBBLE_SPRITE_LEFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbp
	jmp	_move_sprite_pair               ## TAILCALL
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_emote_timer,8,3                ## @emote_timer
	.comm	_BUBBLE_TOTAL_FRAMES,8,3        ## @BUBBLE_TOTAL_FRAMES
	.comm	_actors,8,3                     ## @actors
	.comm	_emote_actor,8,3                ## @emote_actor
	.comm	_SCX_REG,8,3                    ## @SCX_REG
	.comm	_ACTOR_HEIGHT,8,3               ## @ACTOR_HEIGHT
	.comm	_SCY_REG,8,3                    ## @SCY_REG
	.comm	_BUBBLE_ANIMATION_FRAMES,8,3    ## @BUBBLE_ANIMATION_FRAMES
	.comm	_emote_offsets,8,3              ## @emote_offsets
	.comm	_BUBBLE_SPRITE_LEFT,4,2         ## @BUBBLE_SPRITE_LEFT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SceneRenderEmoteBubble_b       ; -- Begin function SceneRenderEmoteBubble_b
	.p2align	2
_SceneRenderEmoteBubble_b:              ; @SceneRenderEmoteBubble_b
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _emote_timer@GOTPAGE
Lloh1:
	ldr	x8, [x8, _emote_timer@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _BUBBLE_TOTAL_FRAMES@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BUBBLE_TOTAL_FRAMES@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, #0
	ccmp	x8, x9, #4, ne
	b.ne	LBB0_2
; %bb.1:
	ret
LBB0_2:
Lloh6:
	adrp	x9, _actors@GOTPAGE
Lloh7:
	ldr	x9, [x9, _actors@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
Lloh9:
	adrp	x10, _emote_actor@GOTPAGE
Lloh10:
	ldr	x10, [x10, _emote_actor@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	add	x9, x9, x10, lsl #4
Lloh12:
	adrp	x10, _SCX_REG@GOTPAGE
Lloh13:
	ldr	x10, [x10, _SCX_REG@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
	ldp	x9, x11, [x9]
	sub	x1, x11, x10
Lloh15:
	adrp	x10, _ACTOR_HEIGHT@GOTPAGE
Lloh16:
	ldr	x10, [x10, _ACTOR_HEIGHT@GOTPAGEOFF]
Lloh17:
	ldr	x10, [x10]
Lloh18:
	adrp	x11, _SCY_REG@GOTPAGE
Lloh19:
	ldr	x11, [x11, _SCY_REG@GOTPAGEOFF]
Lloh20:
	ldr	x11, [x11]
	add	x10, x10, x11
	sub	x2, x9, x10
Lloh21:
	adrp	x9, _BUBBLE_ANIMATION_FRAMES@GOTPAGE
Lloh22:
	ldr	x9, [x9, _BUBBLE_ANIMATION_FRAMES@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x8, x9
	b.hs	LBB0_4
; %bb.3:
Lloh24:
	adrp	x9, _emote_offsets@GOTPAGE
Lloh25:
	ldr	x9, [x9, _emote_offsets@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	ldr	x8, [x9, x8, lsl #3]
	add	x2, x8, x2
LBB0_4:
Lloh27:
	adrp	x8, _BUBBLE_SPRITE_LEFT@GOTPAGE
Lloh28:
	ldr	x8, [x8, _BUBBLE_SPRITE_LEFT@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	b	_move_sprite_pair
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_emote_timer,8,3                ; @emote_timer
	.comm	_BUBBLE_TOTAL_FRAMES,8,3        ; @BUBBLE_TOTAL_FRAMES
	.comm	_actors,8,3                     ; @actors
	.comm	_emote_actor,8,3                ; @emote_actor
	.comm	_SCX_REG,8,3                    ; @SCX_REG
	.comm	_ACTOR_HEIGHT,8,3               ; @ACTOR_HEIGHT
	.comm	_SCY_REG,8,3                    ; @SCY_REG
	.comm	_BUBBLE_ANIMATION_FRAMES,8,3    ; @BUBBLE_ANIMATION_FRAMES
	.comm	_emote_offsets,8,3              ; @emote_offsets
	.comm	_BUBBLE_SPRITE_LEFT,4,2         ; @BUBBLE_SPRITE_LEFT
.subsections_via_symbols
