	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_key                       ## -- Begin function init_key
	.p2align	4, 0x90
_init_key:                              ## @init_key
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_key_num@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%edi, %edi
	movl	$24, %esi
	callq	_set_sprite_data
	movq	_KEY_STEP@GOTPCREL(%rip), %r15
	movl	(%r15), %ebx
	leal	40(%rbx), %r14d
	movl	$1, %edi
	movl	$1, %esi
	callq	_set_sprite_tile
	movl	$1, %edi
	movl	%ebx, %esi
	movl	%r14d, %edx
	callq	_move_sprite
	movl	(%r15), %ebx
	addl	%ebx, %ebx
	movl	$2, %edi
	movl	$2, %esi
	callq	_set_sprite_tile
	movl	$2, %edi
	movl	%ebx, %esi
	movl	%r14d, %edx
	callq	_move_sprite
	movl	(%r15), %eax
	leal	(%rax,%rax,2), %ebx
	movl	$3, %edi
	movl	$3, %esi
	callq	_set_sprite_tile
	movl	$3, %edi
	movl	%ebx, %esi
	movl	%r14d, %edx
	callq	_move_sprite
	movl	(%r15), %ebx
	leal	(%rbx,%rbx), %r14d
	addl	$40, %r14d
	movl	$4, %edi
	movl	$4, %esi
	callq	_set_sprite_tile
	movl	$4, %edi
	movl	%ebx, %esi
	movl	%r14d, %edx
	callq	_move_sprite
	movl	(%r15), %ebx
	addl	%ebx, %ebx
	movl	$5, %edi
	movl	$5, %esi
	callq	_set_sprite_tile
	movl	$5, %edi
	movl	%ebx, %esi
	movl	%r14d, %edx
	callq	_move_sprite
	movl	(%r15), %eax
	leal	(%rax,%rax,2), %ebx
	movl	$6, %edi
	movl	$6, %esi
	callq	_set_sprite_tile
	movl	$6, %edi
	movl	%ebx, %esi
	movl	%r14d, %edx
	callq	_move_sprite
	movl	(%r15), %ebx
	leal	(%rbx,%rbx,2), %r14d
	addl	$40, %r14d
	movl	$7, %edi
	movl	$7, %esi
	callq	_set_sprite_tile
	movl	$7, %edi
	movl	%ebx, %esi
	movl	%r14d, %edx
	callq	_move_sprite
	movl	(%r15), %ebx
	addl	%ebx, %ebx
	movl	$8, %edi
	movl	$8, %esi
	callq	_set_sprite_tile
	movl	$8, %edi
	movl	%ebx, %esi
	movl	%r14d, %edx
	callq	_move_sprite
	movl	(%r15), %eax
	leal	(%rax,%rax,2), %ebx
	movl	$9, %edi
	movl	$9, %esi
	callq	_set_sprite_tile
	movl	$9, %edi
	movl	%ebx, %esi
	movl	%r14d, %edx
	callq	_move_sprite
	movl	(%r15), %ebx
	leal	(,%rbx,4), %r14d
	addl	$40, %ebx
	movl	$10, %edi
	movl	$10, %esi
	callq	_set_sprite_tile
	movl	$10, %edi
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_move_sprite
	movl	(%r15), %eax
	leal	(%rax,%rax), %ebx
	addl	$40, %ebx
	movl	$11, %edi
	movl	$11, %esi
	callq	_set_sprite_tile
	movl	$11, %edi
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_move_sprite
	movl	(%r15), %eax
	leal	(%rax,%rax,2), %ebx
	addl	$40, %ebx
	movl	$12, %edi
	movl	$12, %esi
	callq	_set_sprite_tile
	movl	$12, %edi
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_move_sprite
	movl	(%r15), %eax
	leal	40(,%rax,4), %ebx
	movl	$13, %edi
	movl	$13, %esi
	callq	_set_sprite_tile
	movl	$13, %edi
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_move_sprite
	movl	$15, %edi
	movl	$15, %esi
	callq	_set_sprite_tile
	movl	(%r15), %esi
	leal	40(,%rsi,4), %edx
	movl	$15, %edi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_move_sprite
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_set_sprite_tile
	movl	(%r15), %eax
	leal	40(,%rax,4), %edx
	movl	%eax, %esi
	addl	%eax, %esi
	xorl	%edi, %edi
	callq	_move_sprite
	movl	$14, %edi
	movl	$14, %esi
	callq	_set_sprite_tile
	movl	(%r15), %eax
	leal	(%rax,%rax,2), %esi
	leal	40(,%rax,4), %edx
	movl	$14, %edi
	callq	_move_sprite
	movl	(%r15), %ebx
	leal	(%rbx,%rbx,4), %r14d
	addl	$8, %r14d
	addl	$40, %ebx
	movl	$16, %edi
	movl	$16, %esi
	callq	_set_sprite_tile
	movl	$16, %edi
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_move_sprite
	movl	(%r15), %eax
	leal	(%rax,%rax), %ebx
	addl	$40, %ebx
	movl	$17, %edi
	movl	$17, %esi
	callq	_set_sprite_tile
	movl	$17, %edi
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_move_sprite
	movl	(%r15), %eax
	leal	(%rax,%rax,2), %ebx
	addl	$40, %ebx
	movl	$18, %edi
	movl	$18, %esi
	callq	_set_sprite_tile
	movl	$18, %edi
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_move_sprite
	movl	(%r15), %ebx
	leal	(%rbx,%rbx,2), %eax
	leal	(%rax,%rax), %r14d
	addl	$8, %r14d
	addl	$40, %ebx
	movl	$19, %edi
	movl	$19, %esi
	callq	_set_sprite_tile
	movl	$19, %edi
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_move_sprite
	movl	(%r15), %eax
	leal	(%rax,%rax), %ebx
	addl	$40, %ebx
	movl	$20, %edi
	movl	$20, %esi
	callq	_set_sprite_tile
	movl	$20, %edi
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_move_sprite
	movl	(%r15), %eax
	leal	(%rax,%rax,2), %ebx
	addl	$40, %ebx
	movl	$21, %edi
	movl	$21, %esi
	callq	_set_sprite_tile
	movl	$21, %edi
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_move_sprite
	movl	(%r15), %eax
	leal	(%rax,%rax,4), %ebx
	addl	$20, %ebx
	leal	40(,%rax,4), %r14d
	movl	$22, %edi
	movl	$22, %esi
	callq	_set_sprite_tile
	movl	$22, %edi
	movl	%ebx, %esi
	movl	%r14d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_move_sprite                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_key_num,4,2                    ## @key_num
	.comm	_KEY_STEP,4,2                   ## @KEY_STEP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_key                       ; -- Begin function init_key
	.p2align	2
_init_key:                              ; @init_key
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x8, _key_num@GOTPAGE
Lloh1:
	ldr	x8, [x8, _key_num@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w0, #0
	mov	w1, #24
	bl	_set_sprite_data
Lloh3:
	adrp	x21, _KEY_STEP@GOTPAGE
Lloh4:
	ldr	x21, [x21, _KEY_STEP@GOTPAGEOFF]
	ldr	w19, [x21]
	add	w20, w19, #40
	mov	w0, #1
	mov	w1, #1
	bl	_set_sprite_tile
	mov	w0, #1
	mov	x1, x19
	mov	x2, x20
	bl	_move_sprite
	ldr	w8, [x21]
	lsl	w19, w8, #1
	mov	w0, #2
	mov	w1, #2
	bl	_set_sprite_tile
	mov	w0, #2
	mov	x1, x19
	mov	x2, x20
	bl	_move_sprite
	ldr	w8, [x21]
	add	w19, w8, w8, lsl #1
	mov	w0, #3
	mov	w1, #3
	bl	_set_sprite_tile
	mov	w0, #3
	mov	x1, x19
	mov	x2, x20
	bl	_move_sprite
	ldr	w19, [x21]
	lsl	w8, w19, #1
	add	w20, w8, #40
	mov	w0, #4
	mov	w1, #4
	bl	_set_sprite_tile
	mov	w0, #4
	mov	x1, x19
	mov	x2, x20
	bl	_move_sprite
	ldr	w8, [x21]
	lsl	w19, w8, #1
	mov	w0, #5
	mov	w1, #5
	bl	_set_sprite_tile
	mov	w0, #5
	mov	x1, x19
	mov	x2, x20
	bl	_move_sprite
	ldr	w8, [x21]
	add	w19, w8, w8, lsl #1
	mov	w22, #6
	mov	w0, #6
	mov	w1, #6
	bl	_set_sprite_tile
	mov	w0, #6
	mov	x1, x19
	mov	x2, x20
	bl	_move_sprite
	ldr	w19, [x21]
	add	w8, w19, w19, lsl #1
	add	w20, w8, #40
	mov	w0, #7
	mov	w1, #7
	bl	_set_sprite_tile
	mov	w0, #7
	mov	x1, x19
	mov	x2, x20
	bl	_move_sprite
	ldr	w8, [x21]
	lsl	w19, w8, #1
	mov	w0, #8
	mov	w1, #8
	bl	_set_sprite_tile
	mov	w0, #8
	mov	x1, x19
	mov	x2, x20
	bl	_move_sprite
	ldr	w8, [x21]
	add	w19, w8, w8, lsl #1
	mov	w0, #9
	mov	w1, #9
	bl	_set_sprite_tile
	mov	w0, #9
	mov	x1, x19
	mov	x2, x20
	bl	_move_sprite
	ldr	w8, [x21]
	lsl	w19, w8, #2
	add	w20, w8, #40
	mov	w0, #10
	mov	w1, #10
	bl	_set_sprite_tile
	mov	w0, #10
	mov	x1, x19
	mov	x2, x20
	bl	_move_sprite
	ldr	w8, [x21]
	lsl	w8, w8, #1
	add	w20, w8, #40
	mov	w0, #11
	mov	w1, #11
	bl	_set_sprite_tile
	mov	w0, #11
	mov	x1, x19
	mov	x2, x20
	bl	_move_sprite
	ldr	w8, [x21]
	add	w8, w8, w8, lsl #1
	add	w20, w8, #40
	mov	w0, #12
	mov	w1, #12
	bl	_set_sprite_tile
	mov	w0, #12
	mov	x1, x19
	mov	x2, x20
	bl	_move_sprite
	ldr	w8, [x21]
	lsl	w8, w8, #2
	add	w20, w8, #40
	mov	w0, #13
	mov	w1, #13
	bl	_set_sprite_tile
	mov	w0, #13
	mov	x1, x19
	mov	x2, x20
	bl	_move_sprite
	mov	w0, #15
	mov	w1, #15
	bl	_set_sprite_tile
	ldr	w1, [x21]
	lsl	w8, w1, #2
	add	w2, w8, #40
	mov	w0, #15
	bl	_move_sprite
	mov	w0, #0
	mov	w1, #0
	bl	_set_sprite_tile
	ldr	w8, [x21]
	lsl	w1, w8, #1
	lsl	w8, w8, #2
	add	w2, w8, #40
	mov	w0, #0
	bl	_move_sprite
	mov	w0, #14
	mov	w1, #14
	bl	_set_sprite_tile
	ldr	w8, [x21]
	add	w1, w8, w8, lsl #1
	lsl	w8, w8, #2
	add	w2, w8, #40
	mov	w0, #14
	bl	_move_sprite
	ldr	w8, [x21]
	add	w9, w8, w8, lsl #2
	add	w19, w9, #8
	add	w20, w8, #40
	mov	w0, #16
	mov	w1, #16
	bl	_set_sprite_tile
	mov	w0, #16
	mov	x1, x19
	mov	x2, x20
	bl	_move_sprite
	ldr	w8, [x21]
	lsl	w8, w8, #1
	add	w20, w8, #40
	mov	w0, #17
	mov	w1, #17
	bl	_set_sprite_tile
	mov	w0, #17
	mov	x1, x19
	mov	x2, x20
	bl	_move_sprite
	ldr	w8, [x21]
	add	w8, w8, w8, lsl #1
	add	w20, w8, #40
	mov	w0, #18
	mov	w1, #18
	bl	_set_sprite_tile
	mov	w0, #18
	mov	x1, x19
	mov	x2, x20
	bl	_move_sprite
	ldr	w8, [x21]
	orr	w9, wzr, #0x8
	madd	w19, w8, w22, w9
	add	w20, w8, #40
	mov	w0, #19
	mov	w1, #19
	bl	_set_sprite_tile
	mov	w0, #19
	mov	x1, x19
	mov	x2, x20
	bl	_move_sprite
	ldr	w8, [x21]
	lsl	w8, w8, #1
	add	w20, w8, #40
	mov	w0, #20
	mov	w1, #20
	bl	_set_sprite_tile
	mov	w0, #20
	mov	x1, x19
	mov	x2, x20
	bl	_move_sprite
	ldr	w8, [x21]
	add	w8, w8, w8, lsl #1
	add	w20, w8, #40
	mov	w0, #21
	mov	w1, #21
	bl	_set_sprite_tile
	mov	w0, #21
	mov	x1, x19
	mov	x2, x20
	bl	_move_sprite
	ldr	w8, [x21]
	lsl	w9, w8, #2
	add	w8, w9, w8
	add	w19, w8, #20
	add	w20, w9, #40
	mov	w0, #22
	mov	w1, #22
	bl	_set_sprite_tile
	mov	w0, #22
	mov	x1, x19
	mov	x2, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_move_sprite
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_key_num,4,2                    ; @key_num
	.comm	_KEY_STEP,4,2                   ; @KEY_STEP
.subsections_via_symbols
