	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function advance_ticks
_advance_ticks:                         ## @advance_ticks
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%esi, %esi
	jle	LBB0_46
## %bb.1:
	movl	%esi, %r14d
	movq	%rdi, %rbx
	cmpq	$0, 264(%rdi)
	je	LBB0_4
## %bb.2:
	movq	$0, 264(%rbx)
	movdqu	(%rbx), %xmm0
	movdqu	16(%rbx), %xmm1
	paddq	%xmm0, %xmm1
	pshufd	$238, %xmm1, %xmm0              ## xmm0 = xmm1[2,3,2,3]
	paddq	%xmm1, %xmm0
	movq	%xmm0, %rsi
	cmpq	%rsi, 40(%rbx)
	je	LBB0_4
## %bb.3:
	movq	%rsi, 40(%rbx)
	movq	%rbx, %rdi
	callq	_add_change
LBB0_4:
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -60(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -64(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_45:                                ##   in Loop: Header=BB0_5 Depth=1
	testl	%r14d, %r14d
	jle	LBB0_46
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	48(%rbx), %r13d
	leal	1(%r14), %eax
	cmpl	%r14d, %r13d
	movl	%r13d, %ecx
	cmovgl	%eax, %ecx
	movl	248(%rbx), %esi
	testl	%esi, %esi
	cmovnel	%eax, %ecx
	movl	52(%rbx), %r12d
	cmpl	%ecx, %r12d
	movl	%ecx, %eax
	cmovll	%r12d, %eax
	movl	232(%rbx), %edx
	testl	%edx, %edx
	cmovnel	%ecx, %eax
	movl	56(%rbx), %ecx
	cmpl	%eax, %ecx
	movl	%eax, %edi
	movl	%ecx, -68(%rbp)                 ## 4-byte Spill
	cmovll	%ecx, %edi
	movl	208(%rbx), %ecx
	testl	%ecx, %ecx
	cmovnel	%eax, %edi
	movl	60(%rbx), %eax
	cmpl	%edi, %eax
	movl	%edi, %r15d
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	cmovll	%eax, %r15d
	movl	184(%rbx), %r8d
	testl	%r8d, %r8d
	cmovnel	%edi, %r15d
	cmpl	%r14d, %r15d
	cmovgel	%r14d, %r15d
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	movl	$1, %eax
	cmovlel	%eax, %edi
	movl	%edi, -56(%rbp)                 ## 4-byte Spill
	testl	%esi, %esi
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	testl	%edx, %edx
	je	LBB0_8
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	testl	%ecx, %ecx
	je	LBB0_10
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	testl	%r8d, %r8d
	je	LBB0_12
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	subl	%r15d, %r14d
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_advance_polies
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_bump_qe_subticks
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_45
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	cmpq	$0, 256(%rbx)
	sete	%r8b
	movq	_poly9tbl@GOTPCREL(%rip), %rdx
	jne	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_poly17tbl@GOTPCREL(%rip), %rdx
LBB0_16:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_poly5tbl@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	movq	64(%rbx), %rdi
	movq	72(%rbx), %rcx
	movl	(%rsi,%rdi,4), %edi
	andl	$1, %edi
	movq	_poly4tbl@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movl	(%rsi,%rcx,4), %ecx
	andl	$1, %ecx
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movb	%r8b, %al
	movq	(%rdx), %rcx
	movq	80(%rbx,%rax,8), %rax
	movl	(%rcx,%rax,4), %r14d
	andl	$1, %r14d
	cmpl	$0, 248(%rbx)
	jne	LBB0_17
## %bb.18:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	%r15d, %r13d
	movl	%edi, %r13d
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movl	%r14d, %ecx
	callq	*240(%rbx)
	movl	96(%rbx), %eax
	movl	%eax, 48(%rbx)
	movl	$1, -48(%rbp)                   ## 4-byte Folded Spill
LBB0_20:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$0, 232(%rbx)
	jne	LBB0_26
LBB0_21:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpl	%r15d, %r12d
	jne	LBB0_26
## %bb.22:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movl	%r14d, %ecx
	callq	*224(%rbx)
	movl	100(%rbx), %eax
	movl	%eax, 52(%rbx)
	cmpq	$0, 216(%rbx)
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	104(%rbx), %eax
	movl	%eax, 48(%rbx)
LBB0_24:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	108(%rbx), %eax
	notl	%eax
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	testb	$-120, %al
	jne	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	96(%rbx), %eax
	movl	%eax, 48(%rbx)
LBB0_26:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$0, 208(%rbx)
	jne	LBB0_29
## %bb.27:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	%r15d, -68(%rbp)                ## 4-byte Folded Reload
	jne	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movl	%r14d, %ecx
	callq	*200(%rbx)
	movl	112(%rbx), %eax
	movl	%eax, 56(%rbx)
	cmpq	$0, 192(%rbx)
	movl	$1, %eax
	movl	$1, -64(%rbp)                   ## 4-byte Folded Spill
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	cmovnel	%eax, %ecx
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
LBB0_29:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$0, 184(%rbx)
	jne	LBB0_34
## %bb.30:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	%r15d, -72(%rbp)                ## 4-byte Folded Reload
	jne	LBB0_34
## %bb.31:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movl	%r14d, %ecx
	callq	*176(%rbx)
	movl	116(%rbx), %eax
	movl	%eax, 60(%rbx)
	cmpq	$0, 168(%rbx)
	je	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	120(%rbx), %eax
	movl	%eax, 56(%rbx)
LBB0_33:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpq	$0, 160(%rbx)
	movl	$1, %eax
	movl	$1, -60(%rbp)                   ## 4-byte Folded Spill
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	cmovnel	%eax, %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
LBB0_34:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_36
## %bb.35:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	callq	*128(%rbx)
	addq	%rax, %rax
	movq	%rax, (%rbx)
LBB0_36:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_38
## %bb.37:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	callq	*136(%rbx)
	addq	%rax, %rax
	movq	%rax, 8(%rbx)
LBB0_38:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$0, -64(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_40
## %bb.39:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	callq	*144(%rbx)
	addq	%rax, %rax
	movq	%rax, 16(%rbx)
LBB0_40:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_41
## %bb.42:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	callq	*152(%rbx)
	addq	%rax, %rax
	movq	%rax, 24(%rbx)
	jmp	LBB0_43
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%r13d, %esi
	subl	%r15d, %esi
	movl	%esi, 48(%rbx)
	testl	%edx, %edx
	jne	LBB0_9
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%r12d, %edx
	subl	%r15d, %edx
	movl	%edx, 52(%rbx)
	testl	%ecx, %ecx
	jne	LBB0_11
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	-68(%rbp), %ecx                 ## 4-byte Reload
	subl	%r15d, %ecx
	movl	%ecx, 56(%rbx)
	testl	%r8d, %r8d
	jne	LBB0_13
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	-72(%rbp), %eax                 ## 4-byte Reload
	subl	%r15d, %eax
	movl	%eax, 60(%rbx)
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_41:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	24(%rbx), %rax
LBB0_43:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%rbx), %rsi
	addq	(%rbx), %rsi
	addq	16(%rbx), %rsi
	addq	%rax, %rsi
	cmpq	%rsi, 40(%rbx)
	je	LBB0_45
## %bb.44:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%rsi, 40(%rbx)
	movq	%rbx, %rdi
	callq	_add_change
	jmp	LBB0_45
LBB0_17:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	%edi, %r13d
	cmpl	$0, 232(%rbx)
	je	LBB0_21
	jmp	LBB0_26
LBB0_46:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_poly5tbl,8,3                   ## @poly5tbl
	.comm	_poly4tbl,8,3                   ## @poly4tbl
	.comm	_poly9tbl,8,3                   ## @poly9tbl
	.comm	_poly17tbl,8,3                  ## @poly17tbl
	.comm	_pokeymix,8,3                   ## @pokeymix
	.no_dead_strip	_advance_ticks
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function advance_ticks
_advance_ticks:                         ; @advance_ticks
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cmp	w1, #1
	b.lt	LBB0_44
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0, #264]
	cbz	x8, LBB0_4
; %bb.2:
	str	xzr, [x20, #264]
	ldp	x8, x9, [x20]
	ldp	x10, x11, [x20, #16]
	add	x8, x9, x8
	add	x8, x8, x10
	ldr	x9, [x20, #40]
	add	x1, x8, x11
	cmp	x9, x1
	b.eq	LBB0_4
; %bb.3:
	str	x1, [x20, #40]
	mov	x0, x20
	bl	_add_change
LBB0_4:
	mov	w22, #0
	mov	w23, #0
	str	wzr, [sp, #16]                  ; 4-byte Folded Spill
	mov	w24, #0
	str	wzr, [sp, #28]                  ; 4-byte Folded Spill
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	cmp	w19, #0
	b.le	LBB0_44
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w25, w27, [x20, #48]
	ldp	w26, w28, [x20, #56]
	ldr	w11, [x20, #248]
	cmp	w25, w19
	ccmp	w11, #0, #0, le
	csinc	w8, w25, w19, eq
	ldr	w10, [x20, #232]
	cmp	w27, w8
	ccmp	w10, #0, #0, lt
	csel	w8, w27, w8, eq
	ldr	w9, [x20, #208]
	cmp	w26, w8
	ccmp	w9, #0, #0, lt
	csel	w12, w26, w8, eq
	ldr	w8, [x20, #184]
	cmp	w28, w12
	ccmp	w8, #0, #0, lt
	csel	w12, w28, w12, eq
	cmp	w12, w19
	csel	w21, w12, w19, lt
	csinc	w22, w22, wzr, gt
	cbz	w11, LBB0_29
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	cbz	w10, LBB0_30
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	cbz	w9, LBB0_31
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	cbz	w8, LBB0_32
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	w19, w19, w21
	mov	x0, x20
	mov	x1, x21
	bl	_advance_polies
	mov	x0, x20
	mov	x1, x21
	bl	_bump_qe_subticks
	cbz	w22, LBB0_5
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	stp	w22, w24, [sp, #20]             ; 8-byte Folded Spill
	str	w23, [sp, #12]                  ; 4-byte Folded Spill
Lloh0:
	adrp	x8, _poly5tbl@GOTPAGE
Lloh1:
	ldr	x8, [x8, _poly5tbl@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldp	x9, x10, [x20, #64]
	ldr	w8, [x8, x9, lsl #2]
	and	w22, w8, #0x1
Lloh3:
	adrp	x8, _poly4tbl@GOTPAGE
Lloh4:
	ldr	x8, [x8, _poly4tbl@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	w8, [x8, x10, lsl #2]
	and	w23, w8, #0x1
	ldr	x8, [x20, #256]
	cmp	x8, #0
	mov	w8, #80
	mov	w9, #88
	csel	x8, x9, x8, eq
Lloh6:
	adrp	x9, _poly17tbl@GOTPAGE
Lloh7:
	ldr	x9, [x9, _poly17tbl@GOTPAGEOFF]
Lloh8:
	adrp	x10, _poly9tbl@GOTPAGE
Lloh9:
	ldr	x10, [x10, _poly9tbl@GOTPAGEOFF]
	csel	x9, x9, x10, eq
	ldr	x9, [x9]
	ldr	x8, [x20, x8]
	ldr	w8, [x9, x8, lsl #2]
	and	w24, w8, #0x1
	ldr	w8, [x20, #248]
	cbnz	w8, LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	cmp	w25, w21
	b.ne	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x20, #240]
	mov	x0, x20
	mov	x1, x22
	mov	x2, x23
	mov	x3, x24
	blr	x8
	ldr	w8, [x20, #96]
	str	w8, [x20, #48]
	mov	w8, #1
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x20, #232]
	cbnz	w8, LBB0_21
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=1
	cmp	w27, w21
	b.ne	LBB0_21
; %bb.16:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x20, #224]
	mov	x0, x20
	mov	x1, x22
	mov	x2, x23
	mov	x3, x24
	blr	x8
	ldr	w8, [x20, #100]
	str	w8, [x20, #52]
	ldr	x8, [x20, #216]
	cbz	x8, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x20, #104]
	str	w8, [x20, #48]
LBB0_18:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x20, #108]
	mov	w9, #136
	bics	wzr, w9, w8
	b.ne	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x20, #96]
	str	w8, [x20, #48]
LBB0_20:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w8, #1
	str	w8, [sp, #24]                   ; 4-byte Folded Spill
LBB0_21:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x20, #208]
	cbnz	w8, LBB0_24
; %bb.22:                               ;   in Loop: Header=BB0_6 Depth=1
	cmp	w26, w21
	b.ne	LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x20, #200]
	mov	x0, x20
	mov	x1, x22
	mov	x2, x23
	mov	x3, x24
	blr	x8
	ldr	w8, [x20, #112]
	str	w8, [x20, #56]
	ldr	x8, [x20, #192]
	cmp	x8, #0
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	csinc	w8, w8, wzr, eq
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
	mov	w8, #1
	str	w8, [sp, #16]                   ; 4-byte Folded Spill
LBB0_24:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x20, #184]
	cbnz	w8, LBB0_33
; %bb.25:                               ;   in Loop: Header=BB0_6 Depth=1
	cmp	w28, w21
	b.ne	LBB0_33
; %bb.26:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x20, #176]
	mov	x0, x20
	mov	x1, x22
	mov	x2, x23
	mov	x3, x24
	blr	x8
	ldr	w8, [x20, #116]
	str	w8, [x20, #60]
	ldr	x8, [x20, #168]
	cbz	x8, LBB0_28
; %bb.27:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x20, #120]
	str	w8, [x20, #56]
LBB0_28:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x20, #160]
	cmp	x8, #0
	ldp	w22, w24, [sp, #20]             ; 8-byte Folded Reload
	csinc	w24, w24, wzr, eq
	mov	w23, #1
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	cbnz	w8, LBB0_34
	b	LBB0_35
LBB0_29:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	w11, w25, w21
	str	w11, [x20, #48]
	cbnz	w10, LBB0_8
LBB0_30:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	w10, w27, w21
	str	w10, [x20, #52]
	cbnz	w9, LBB0_9
LBB0_31:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	w9, w26, w21
	str	w9, [x20, #56]
	cbnz	w8, LBB0_10
LBB0_32:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	w8, w28, w21
	str	w8, [x20, #60]
	b	LBB0_10
LBB0_33:                                ;   in Loop: Header=BB0_6 Depth=1
	ldp	w22, w24, [sp, #20]             ; 8-byte Folded Reload
	ldr	w23, [sp, #12]                  ; 4-byte Folded Reload
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_35
LBB0_34:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x20, #128]
	mov	x0, x20
	blr	x8
	lsl	x8, x0, #1
	str	x8, [x20]
LBB0_35:                                ;   in Loop: Header=BB0_6 Depth=1
	cbz	w24, LBB0_37
; %bb.36:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x20, #136]
	mov	x0, x20
	blr	x8
	lsl	x8, x0, #1
	str	x8, [x20, #8]
LBB0_37:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [sp, #16]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_39
; %bb.38:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x20, #144]
	mov	x0, x20
	blr	x8
	lsl	x8, x0, #1
	str	x8, [x20, #16]
LBB0_39:                                ;   in Loop: Header=BB0_6 Depth=1
	cbz	w23, LBB0_41
; %bb.40:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x20, #152]
	mov	x0, x20
	blr	x8
	lsl	x8, x0, #1
	str	x8, [x20, #24]
	b	LBB0_42
LBB0_41:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x20, #24]
LBB0_42:                                ;   in Loop: Header=BB0_6 Depth=1
	ldp	x9, x10, [x20]
	ldr	x11, [x20, #16]
	add	x9, x10, x9
	add	x9, x9, x11
	ldr	x10, [x20, #40]
	add	x1, x9, x8
	cmp	x10, x1
	b.eq	LBB0_5
; %bb.43:                               ;   in Loop: Header=BB0_6 Depth=1
	str	x1, [x20, #40]
	mov	x0, x20
	bl	_add_change
	b	LBB0_5
LBB0_44:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_poly5tbl,8,3                   ; @poly5tbl
	.comm	_poly4tbl,8,3                   ; @poly4tbl
	.comm	_poly9tbl,8,3                   ; @poly9tbl
	.comm	_poly17tbl,8,3                  ; @poly17tbl
	.comm	_pokeymix,8,3                   ; @pokeymix
	.no_dead_strip	_advance_ticks
.subsections_via_symbols
