	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_setupkeyset                    ## -- Begin function setupkeyset
	.p2align	4, 0x90
_setupkeyset:                           ## @setupkeyset
	.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	$856, %rsp                      ## imm = 0x358
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_keysets@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%edi, %rcx
	movq	%rcx, -832(%rbp)                ## 8-byte Spill
	movq	(%rax,%rcx,8), %rax
	movups	(%rax), %xmm0
	movups	16(%rax), %xmm1
	movaps	%xmm0, -96(%rbp)
	movaps	%xmm1, -80(%rbp)
	movl	32(%rax), %eax
	movl	%eax, -64(%rbp)
	movl	$0, -820(%rbp)
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	_keynames@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movslq	-96(%rbp), %rcx
	movq	%rcx, -888(%rbp)                ## 8-byte Spill
	movq	(%rax,%rcx,8), %rdx
	leaq	-816(%rbp), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_sprintf
	movq	(%rbx), %rax
	movslq	-92(%rbp), %rcx
	movq	%rcx, -880(%rbp)                ## 8-byte Spill
	movq	(%rax,%rcx,8), %rdx
	leaq	-576(%rbp), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_sprintf
	movq	(%rbx), %rax
	movslq	-88(%rbp), %rcx
	movq	%rcx, -872(%rbp)                ## 8-byte Spill
	movq	(%rax,%rcx,8), %rdx
	leaq	-736(%rbp), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_sprintf
	movq	(%rbx), %rax
	movslq	-84(%rbp), %rcx
	movq	%rcx, -864(%rbp)                ## 8-byte Spill
	movq	(%rax,%rcx,8), %rdx
	leaq	-656(%rbp), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_sprintf
	movq	(%rbx), %rax
	movslq	-80(%rbp), %rcx
	movq	%rcx, -856(%rbp)                ## 8-byte Spill
	movq	(%rax,%rcx,8), %rdx
	leaq	-416(%rbp), %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_sprintf
	movq	(%rbx), %rax
	movslq	-76(%rbp), %rcx
	movq	%rcx, -848(%rbp)                ## 8-byte Spill
	movq	(%rax,%rcx,8), %rdx
	leaq	-496(%rbp), %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_sprintf
	movq	(%rbx), %rax
	movslq	-72(%rbp), %rcx
	movq	%rcx, -840(%rbp)                ## 8-byte Spill
	movq	(%rax,%rcx,8), %rdx
	leaq	-176(%rbp), %r15
	movq	%r15, %rdi
	leaq	L_.str.6(%rip), %rsi
	callq	_sprintf
	movq	(%rbx), %rax
	movslq	-68(%rbp), %r13
	movq	(%rax,%r13,8), %rdx
	leaq	-256(%rbp), %r14
	movq	%r14, %rdi
	leaq	L_.str.7(%rip), %rsi
	callq	_sprintf
	movq	(%rbx), %rax
	movslq	-64(%rbp), %r12
	movq	(%rax,%r12,8), %rdx
	leaq	-336(%rbp), %rbx
	movq	%rbx, %rdi
	leaq	L_.str.8(%rip), %rsi
	callq	_sprintf
	movq	_BACKGROUND@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.9(%rip), %rdi
	leaq	-820(%rbp), %rsi
	movq	%r15, %rcx
	movq	%r14, %r8
	movq	%rbx, %r9
	pushq	$0
	leaq	L_.str.13(%rip), %rax
	pushq	%rax
	leaq	L_.str.12(%rip), %rax
	pushq	%rax
	leaq	L_.str.10(%rip), %rax
	pushq	%rax
	leaq	L_.str.11(%rip), %rbx
	pushq	%rbx
	pushq	%rax
	leaq	-816(%rbp), %rax
	pushq	%rax
	leaq	-656(%rbp), %rax
	pushq	%rax
	leaq	-736(%rbp), %rax
	pushq	%rax
	leaq	-576(%rbp), %rax
	pushq	%rax
	leaq	-496(%rbp), %rax
	pushq	%rax
	leaq	-416(%rbp), %rax
	pushq	%rax
	callq	_SelectItem
	addq	$96, %rsp
	movl	%eax, %r15d
	cmpl	$13, %eax
	jne	LBB0_14
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	-820(%rbp), %eax
	cmpq	$10, %rax
	ja	LBB0_15
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_.str.14(%rip), %rdi
	movq	-840(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_choosekey
	movl	%eax, -72(%rbp)
	incl	-820(%rbp)
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$27, %r15d
	je	LBB0_20
LBB0_15:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$13, %r15d
	jne	LBB0_1
## %bb.16:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	-820(%rbp), %eax
	cmpl	$12, %eax
	jl	LBB0_1
	jmp	LBB0_17
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_.str.15(%rip), %rdi
	movl	%r13d, %esi
	callq	_choosekey
	movl	%eax, -68(%rbp)
	incl	-820(%rbp)
	jmp	LBB0_15
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_.str.16(%rip), %rdi
	movl	%r12d, %esi
	callq	_choosekey
	movl	%eax, -64(%rbp)
	incl	-820(%rbp)
	jmp	LBB0_15
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_.str.17(%rip), %rdi
	movq	-856(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_choosekey
	movl	%eax, -80(%rbp)
	incl	-820(%rbp)
	jmp	LBB0_15
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_.str.18(%rip), %rdi
	movq	-848(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_choosekey
	movl	%eax, -76(%rbp)
	incl	-820(%rbp)
	jmp	LBB0_15
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_.str.19(%rip), %rdi
	movq	-880(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_choosekey
	movl	%eax, -92(%rbp)
	incl	-820(%rbp)
	jmp	LBB0_15
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_.str.20(%rip), %rdi
	movq	-872(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_choosekey
	movl	%eax, -88(%rbp)
	incl	-820(%rbp)
	jmp	LBB0_15
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_.str.21(%rip), %rdi
	movq	-864(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_choosekey
	movl	%eax, -84(%rbp)
	incl	-820(%rbp)
	jmp	LBB0_15
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_.str.22(%rip), %rdi
	movq	-888(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_choosekey
	movl	%eax, -96(%rbp)
	jmp	LBB0_15
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	$36, %edx
	leaq	-96(%rbp), %rdi
	leaq	L_.memset_pattern(%rip), %rsi
	callq	_memset_pattern16
	jmp	LBB0_15
LBB0_17:
	cmpl	$13, %r15d
	jne	LBB0_20
## %bb.18:
	cmpl	$12, %eax
	jne	LBB0_20
## %bb.19:
	movq	_keysets@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-832(%rbp), %rcx                ## 8-byte Reload
	movq	(%rax,%rcx,8), %rax
	movl	-64(%rbp), %ecx
	movl	%ecx, 32(%rax)
	movaps	-96(%rbp), %xmm0
	movaps	-80(%rbp), %xmm1
	movups	%xmm1, 16(%rax)
	movups	%xmm0, (%rax)
LBB0_20:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_22
## %bb.21:
	addq	$856, %rsp                      ## imm = 0x358
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_11
	.long	L0_0_set_12
	.long	L0_0_set_13
	.long	L0_0_set_15
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_keysets,8,3                    ## @keysets
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Fire: %s"

	.comm	_keynames,8,3                   ## @keynames
L_.str.1:                               ## @.str.1
	.asciz	"Down+left: %s"

L_.str.2:                               ## @.str.2
	.asciz	"Down: %s"

L_.str.3:                               ## @.str.3
	.asciz	"Down+right: %s"

L_.str.4:                               ## @.str.4
	.asciz	"Left: %s"

L_.str.5:                               ## @.str.5
	.asciz	"Right: %s"

L_.str.6:                               ## @.str.6
	.asciz	"Up+left: %s"

L_.str.7:                               ## @.str.7
	.asciz	"Up: %s"

L_.str.8:                               ## @.str.8
	.asciz	"Up+right: %s"

L_.str.9:                               ## @.str.9
	.asciz	"Change settings:"

	.comm	_BACKGROUND,4,2                 ## @BACKGROUND
L_.str.10:                              ## @.str.10
	.asciz	"-"

L_.str.11:                              ## @.str.11
	.asciz	"Clear all"

L_.str.12:                              ## @.str.12
	.asciz	"Accept changes"

L_.str.13:                              ## @.str.13
	.asciz	"Discard changes"

L_.str.14:                              ## @.str.14
	.asciz	"up+left"

L_.str.15:                              ## @.str.15
	.asciz	"up"

L_.str.16:                              ## @.str.16
	.asciz	"up+right"

L_.str.17:                              ## @.str.17
	.asciz	"left"

L_.str.18:                              ## @.str.18
	.asciz	"right"

L_.str.19:                              ## @.str.19
	.asciz	"down+left"

L_.str.20:                              ## @.str.20
	.asciz	"down"

L_.str.21:                              ## @.str.21
	.asciz	"down+right"

L_.str.22:                              ## @.str.22
	.asciz	"fire"

	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## @.memset_pattern
L_.memset_pattern:
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_setupkeyset                    ; -- Begin function setupkeyset
	.p2align	2
_setupkeyset:                           ; @setupkeyset
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #896
                                        ; kill: def $w0 killed $w0 def $x0
Lloh0:
	adrp	x10, _keysets@GOTPAGE
Lloh1:
	ldr	x10, [x10, _keysets@GOTPAGEOFF]
	sub	x9, x29, #144
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-104]
Lloh5:
	ldr	x8, [x10]
	ldr	x8, [x8, w0, sxtw #3]
Lloh6:
	adrp	x20, _keynames@GOTPAGE
Lloh7:
	ldr	x20, [x20, _keynames@GOTPAGEOFF]
	sxtw	x10, w0
	str	x10, [sp, #88]                  ; 8-byte Folded Spill
	ldp	q0, q1, [x8]
	stp	q0, q1, [x9]
	ldr	w8, [x8, #32]
	stur	w8, [x29, #-112]
	str	wzr, [sp, #108]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	ldursw	x9, [x29, #-144]
	str	x9, [sp, #96]                   ; 8-byte Folded Spill
	ldr	x2, [x8, x9, lsl #3]
	add	x0, sp, #112
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_sprintf
	ldr	x8, [x20]
	ldursw	x21, [x29, #-140]
	ldr	x2, [x8, x21, lsl #3]
	add	x0, sp, #352
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_sprintf
	ldr	x8, [x20]
	ldursw	x22, [x29, #-136]
	ldr	x2, [x8, x22, lsl #3]
	add	x0, sp, #192
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_sprintf
	ldr	x8, [x20]
	ldursw	x23, [x29, #-132]
	ldr	x2, [x8, x23, lsl #3]
	add	x0, sp, #272
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_sprintf
	ldr	x8, [x20]
	ldursw	x24, [x29, #-128]
	ldr	x2, [x8, x24, lsl #3]
	add	x0, sp, #512
Lloh16:
	adrp	x1, l_.str.4@PAGE
Lloh17:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_sprintf
	ldr	x8, [x20]
	ldursw	x25, [x29, #-124]
	ldr	x2, [x8, x25, lsl #3]
	add	x0, sp, #432
Lloh18:
	adrp	x1, l_.str.5@PAGE
Lloh19:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_sprintf
	ldr	x8, [x20]
	ldursw	x26, [x29, #-120]
	ldr	x2, [x8, x26, lsl #3]
	sub	x0, x29, #224
Lloh20:
	adrp	x1, l_.str.6@PAGE
Lloh21:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_sprintf
	ldr	x8, [x20]
	ldursw	x27, [x29, #-116]
	ldr	x2, [x8, x27, lsl #3]
	add	x0, sp, #672
Lloh22:
	adrp	x1, l_.str.7@PAGE
Lloh23:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_sprintf
	ldr	x8, [x20]
	ldursw	x28, [x29, #-112]
	ldr	x2, [x8, x28, lsl #3]
	add	x0, sp, #592
Lloh24:
	adrp	x1, l_.str.8@PAGE
Lloh25:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_sprintf
Lloh26:
	adrp	x8, _BACKGROUND@GOTPAGE
Lloh27:
	ldr	x8, [x8, _BACKGROUND@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
Lloh29:
	adrp	x8, l_.str.13@PAGE
Lloh30:
	add	x8, x8, l_.str.13@PAGEOFF
	stp	x8, xzr, [sp, #64]
Lloh31:
	adrp	x8, l_.str.12@PAGE
Lloh32:
	add	x9, x8, l_.str.12@PAGEOFF
Lloh33:
	adrp	x8, l_.str.10@PAGE
Lloh34:
	add	x8, x8, l_.str.10@PAGEOFF
	stp	x8, x9, [sp, #48]
Lloh35:
	adrp	x9, l_.str.11@PAGE
Lloh36:
	add	x9, x9, l_.str.11@PAGEOFF
	stp	x8, x9, [sp, #32]
	add	x1, sp, #108
	sub	x3, x29, #224
	add	x8, sp, #112
	str	x8, [sp, #24]
	add	x8, sp, #272
	str	x8, [sp, #16]
	add	x8, sp, #192
	str	x8, [sp, #8]
	add	x8, sp, #352
	str	x8, [sp]
	add	x4, sp, #672
	add	x5, sp, #592
	add	x6, sp, #512
	add	x7, sp, #432
Lloh37:
	adrp	x0, l_.str.9@PAGE
Lloh38:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_SelectItem
	mov	x19, x0
	cmp	w0, #13
	b.ne	LBB0_5
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [sp, #108]
	cmp	w8, #10
	b.hi	LBB0_14
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
Lloh39:
	adrp	x11, lJTI0_0@PAGE
Lloh40:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x9, LBB0_4
	ldrb	w10, [x11, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_4:                                 ;   in Loop: Header=BB0_1 Depth=1
Lloh41:
	adrp	x0, l_.str.14@PAGE
Lloh42:
	add	x0, x0, l_.str.14@PAGEOFF
	mov	x1, x26
	bl	_choosekey
	stur	w0, [x29, #-120]
	b	LBB0_13
LBB0_5:                                 ;   in Loop: Header=BB0_1 Depth=1
	cmp	w19, #27
	b.ne	LBB0_14
	b	LBB0_21
LBB0_6:                                 ;   in Loop: Header=BB0_1 Depth=1
Lloh43:
	adrp	x0, l_.str.15@PAGE
Lloh44:
	add	x0, x0, l_.str.15@PAGEOFF
	mov	x1, x27
	bl	_choosekey
	stur	w0, [x29, #-116]
	b	LBB0_13
LBB0_7:                                 ;   in Loop: Header=BB0_1 Depth=1
Lloh45:
	adrp	x0, l_.str.16@PAGE
Lloh46:
	add	x0, x0, l_.str.16@PAGEOFF
	mov	x1, x28
	bl	_choosekey
	stur	w0, [x29, #-112]
	b	LBB0_13
LBB0_8:                                 ;   in Loop: Header=BB0_1 Depth=1
Lloh47:
	adrp	x0, l_.str.17@PAGE
Lloh48:
	add	x0, x0, l_.str.17@PAGEOFF
	mov	x1, x24
	bl	_choosekey
	stur	w0, [x29, #-128]
	b	LBB0_13
LBB0_9:                                 ;   in Loop: Header=BB0_1 Depth=1
Lloh49:
	adrp	x0, l_.str.18@PAGE
Lloh50:
	add	x0, x0, l_.str.18@PAGEOFF
	mov	x1, x25
	bl	_choosekey
	stur	w0, [x29, #-124]
	b	LBB0_13
LBB0_10:                                ;   in Loop: Header=BB0_1 Depth=1
Lloh51:
	adrp	x0, l_.str.19@PAGE
Lloh52:
	add	x0, x0, l_.str.19@PAGEOFF
	mov	x1, x21
	bl	_choosekey
	stur	w0, [x29, #-140]
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_1 Depth=1
Lloh53:
	adrp	x0, l_.str.20@PAGE
Lloh54:
	add	x0, x0, l_.str.20@PAGEOFF
	mov	x1, x22
	bl	_choosekey
	stur	w0, [x29, #-136]
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_1 Depth=1
Lloh55:
	adrp	x0, l_.str.21@PAGE
Lloh56:
	add	x0, x0, l_.str.21@PAGEOFF
	mov	x1, x23
	bl	_choosekey
	stur	w0, [x29, #-132]
LBB0_13:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [sp, #108]
	add	w8, w8, #1
	str	w8, [sp, #108]
LBB0_14:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	w19, #13
	b.ne	LBB0_1
; %bb.15:                               ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [sp, #108]
	cmp	w8, #12
	b.lt	LBB0_1
	b	LBB0_18
LBB0_16:                                ;   in Loop: Header=BB0_1 Depth=1
Lloh57:
	adrp	x0, l_.str.22@PAGE
Lloh58:
	add	x0, x0, l_.str.22@PAGEOFF
	ldr	x1, [sp, #96]                   ; 8-byte Folded Reload
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_choosekey
	stur	w0, [x29, #-144]
	b	LBB0_14
LBB0_17:                                ;   in Loop: Header=BB0_1 Depth=1
	sub	x0, x29, #144
Lloh59:
	adrp	x1, l_.memset_pattern@PAGE
Lloh60:
	add	x1, x1, l_.memset_pattern@PAGEOFF
	mov	w2, #36
	bl	_memset_pattern16
	b	LBB0_14
LBB0_18:
	cmp	w19, #13
	b.ne	LBB0_21
; %bb.19:
	cmp	w8, #12
	b.ne	LBB0_21
; %bb.20:
Lloh61:
	adrp	x8, _keysets@GOTPAGE
Lloh62:
	ldr	x8, [x8, _keysets@GOTPAGEOFF]
Lloh63:
	ldr	x8, [x8]
	ldr	x9, [sp, #88]                   ; 8-byte Folded Reload
	ldr	x8, [x8, x9, lsl #3]
	sub	x9, x29, #144
	ldp	q0, q1, [x9]
	stp	q0, q1, [x8]
	ldur	w9, [x29, #-112]
	str	w9, [x8, #32]
LBB0_21:
	ldur	x8, [x29, #-104]
Lloh64:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh65:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh66:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_23
; %bb.22:
	add	sp, sp, #896
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_23:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh5
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdrp	Lloh31, Lloh33
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_9-LBB0_4)>>2
	.byte	(LBB0_10-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_12-LBB0_4)>>2
	.byte	(LBB0_16-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_17-LBB0_4)>>2
                                        ; -- End function
	.comm	_keysets,8,3                    ; @keysets
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Fire: %s"

	.comm	_keynames,8,3                   ; @keynames
l_.str.1:                               ; @.str.1
	.asciz	"Down+left: %s"

l_.str.2:                               ; @.str.2
	.asciz	"Down: %s"

l_.str.3:                               ; @.str.3
	.asciz	"Down+right: %s"

l_.str.4:                               ; @.str.4
	.asciz	"Left: %s"

l_.str.5:                               ; @.str.5
	.asciz	"Right: %s"

l_.str.6:                               ; @.str.6
	.asciz	"Up+left: %s"

l_.str.7:                               ; @.str.7
	.asciz	"Up: %s"

l_.str.8:                               ; @.str.8
	.asciz	"Up+right: %s"

l_.str.9:                               ; @.str.9
	.asciz	"Change settings:"

	.comm	_BACKGROUND,4,2                 ; @BACKGROUND
l_.str.10:                              ; @.str.10
	.asciz	"-"

l_.str.11:                              ; @.str.11
	.asciz	"Clear all"

l_.str.12:                              ; @.str.12
	.asciz	"Accept changes"

l_.str.13:                              ; @.str.13
	.asciz	"Discard changes"

l_.str.14:                              ; @.str.14
	.asciz	"up+left"

l_.str.15:                              ; @.str.15
	.asciz	"up"

l_.str.16:                              ; @.str.16
	.asciz	"up+right"

l_.str.17:                              ; @.str.17
	.asciz	"left"

l_.str.18:                              ; @.str.18
	.asciz	"right"

l_.str.19:                              ; @.str.19
	.asciz	"down+left"

l_.str.20:                              ; @.str.20
	.asciz	"down"

l_.str.21:                              ; @.str.21
	.asciz	"down+right"

l_.str.22:                              ; @.str.22
	.asciz	"fire"

	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; @.memset_pattern
l_.memset_pattern:
	.long	255                             ; 0xff
	.long	255                             ; 0xff
	.long	255                             ; 0xff
	.long	255                             ; 0xff

.subsections_via_symbols
