	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sdl_input_update               ## -- Begin function sdl_input_update
	.p2align	4, 0x90
_sdl_input_update:                      ## @sdl_input_update
	.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
	xorl	%edi, %edi
	callq	_SDL_GetKeyState
	movq	%rax, %rbx
	movq	_input@GOTPCREL(%rip), %r15
	movq	16(%r15), %rax
	movq	_joynum@GOTPCREL(%rip), %r14
	movq	(%r14), %rcx
	movq	$0, (%rax,%rcx,8)
	movq	(%r15), %rdx
	movq	(%r14), %rcx
	movl	(%rdx,%rcx,4), %edx
	addl	$-128, %edx
	cmpl	$7, %edx
	ja	LBB0_61
## %bb.1:
	leaq	LJTI0_0(%rip), %rsi
	movslq	(%rsi,%rdx,4), %rdx
	addq	%rsi, %rdx
	jmpq	*%rdx
LBB0_2:
	movq	_SDLK_a@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpl	$0, (%rbx,%rdx,4)
	je	LBB0_4
## %bb.3:
	movq	_INPUT_START@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	orq	%rdx, (%rax,%rcx,8)
LBB0_4:
	movq	_SDLK_s@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rbx,%rcx,4)
	je	LBB0_6
## %bb.5:
	movq	_INPUT_A@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%r14), %rdx
	orq	%rcx, (%rax,%rdx,8)
LBB0_6:
	movq	_SDLK_d@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rbx,%rcx,4)
	je	LBB0_8
## %bb.7:
	movq	_INPUT_C@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%r14), %rdx
	orq	%rcx, (%rax,%rdx,8)
LBB0_8:
	movq	_SDLK_f@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rbx,%rcx,4)
	je	LBB0_10
## %bb.9:
	movq	_INPUT_Y@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%r14), %rdx
	orq	%rcx, (%rax,%rdx,8)
LBB0_10:
	movq	_SDLK_z@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rbx,%rcx,4)
	je	LBB0_12
## %bb.11:
	movq	_INPUT_B@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%r14), %rdx
	orq	%rcx, (%rax,%rdx,8)
LBB0_12:
	movq	_SDLK_x@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rbx,%rcx,4)
	je	LBB0_14
## %bb.13:
	movq	_INPUT_X@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%r14), %rdx
	orq	%rcx, (%rax,%rdx,8)
LBB0_14:
	movq	_SDLK_c@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rbx,%rcx,4)
	je	LBB0_16
## %bb.15:
	movq	_INPUT_MODE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%r14), %rdx
	orq	%rcx, (%rax,%rdx,8)
LBB0_16:
	movq	_SDLK_v@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rbx,%rcx,4)
	je	LBB0_18
## %bb.17:
	movq	_INPUT_Z@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%r14), %rdx
	orq	%rcx, (%rax,%rdx,8)
LBB0_18:
	movq	_SDLK_UP@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, (%rbx,%rax,4)
	je	LBB0_87
## %bb.19:
	movq	8(%r15), %rcx
	movq	(%r14), %rdx
	movq	(%rcx,%rdx,8), %rax
	addl	$-2, 4(%rax)
	jmp	LBB0_90
LBB0_20:
	leaq	-28(%rbp), %rdi
	leaq	-32(%rbp), %rsi
	callq	_SDL_GetMouseState
	movl	%eax, %ecx
	imull	$250, -28(%rbp), %eax
	movq	_VIDEO_WIDTH@GOTPCREL(%rip), %rsi
	cltd
	idivl	(%rsi)
	movq	8(%r15), %rdx
	movq	(%rdx), %rsi
	movl	%eax, (%rsi)
	imull	$250, -32(%rbp), %eax
	movq	_VIDEO_HEIGHT@GOTPCREL(%rip), %rdi
	cltd
	idivl	(%rdi)
	movl	%eax, 4(%rsi)
	movq	_SDL_BUTTON_RMASK@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_114
## %bb.21:
	movq	_INPUT_B@GOTPCREL(%rip), %rax
	jmp	LBB0_32
LBB0_22:
	leaq	-28(%rbp), %rdi
	leaq	-32(%rbp), %rsi
	callq	_SDL_GetRelativeMouseState
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	subl	-28(%rbp), %ecx
	movzbl	%cl, %esi
	movq	8(%r15), %rdi
	movq	(%r14), %rcx
	movq	(%rdi,%rcx,8), %rdi
	movl	%esi, (%rdi)
	subl	-32(%rbp), %edx
	movzbl	%dl, %edx
	movl	%edx, 4(%rdi)
	movq	_SDL_BUTTON_LMASK@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_24
## %bb.23:
	movq	_INPUT_B@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	16(%r15), %rsi
	orq	%rdx, (%rsi,%rcx,8)
LBB0_24:
	movq	_SDL_BUTTON_RMASK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_114
## %bb.25:
	movq	_INPUT_C@GOTPCREL(%rip), %rax
	jmp	LBB0_52
LBB0_26:
	leaq	-28(%rbp), %rdi
	leaq	-32(%rbp), %rsi
	callq	_SDL_GetMouseState
	movl	%eax, %ecx
	imull	$321, -28(%rbp), %eax           ## imm = 0x141
	movq	_VIDEO_WIDTH@GOTPCREL(%rip), %rsi
	cltd
	idivl	(%rsi)
	addl	$60, %eax
	movq	8(%r15), %rdx
	movq	(%rdx), %rsi
	movl	%eax, (%rsi)
	imull	$252, -32(%rbp), %eax
	movq	_VIDEO_HEIGHT@GOTPCREL(%rip), %rdi
	cltd
	idivl	(%rdi)
	addl	$508, %eax                      ## imm = 0x1FC
	movl	%eax, 4(%rsi)
	movq	_SDL_BUTTON_MMASK@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_28
## %bb.27:
	movq	_pico_current@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	incl	%edx
	andl	$7, %edx
	movl	%edx, (%rax)
LBB0_28:
	movq	_SDL_BUTTON_RMASK@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_30
## %bb.29:
	movq	_INPUT_PICO_RED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	16(%r15), %rdx
	orq	%rax, (%rdx)
LBB0_30:
	movq	_SDL_BUTTON_LMASK@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_114
## %bb.31:
	movq	_INPUT_PICO_PEN@GOTPCREL(%rip), %rax
LBB0_32:
	movq	(%rax), %rax
	movq	16(%r15), %rcx
	orq	%rax, (%rcx)
	jmp	LBB0_114
LBB0_33:
	leaq	-28(%rbp), %rdi
	xorl	%esi, %esi
	callq	_SDL_GetMouseState
	movl	%eax, %ecx
	movl	-28(%rbp), %eax
	shll	$8, %eax
	movq	_VIDEO_WIDTH@GOTPCREL(%rip), %rsi
	cltd
	idivl	(%rsi)
	movq	8(%r15), %rsi
	movq	(%r14), %rdx
	movq	(%rsi,%rdx,8), %rsi
	movl	%eax, (%rsi)
	movq	_SDL_BUTTON_LMASK@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_114
## %bb.34:
	movq	_INPUT_B@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	16(%r15), %rcx
	orq	%rax, (%rcx,%rdx,8)
	jmp	LBB0_114
LBB0_35:
	leaq	-28(%rbp), %rdi
	leaq	-32(%rbp), %rsi
	callq	_SDL_GetRelativeMouseState
	movl	-28(%rbp), %esi
	addl	%esi, %esi
	movq	8(%r15), %rdx
	movq	(%r14), %rcx
	movq	(%rdx,%rcx,8), %rdx
	movl	%esi, (%rdx)
	movl	-32(%rbp), %esi
	addl	%esi, %esi
	movl	%esi, 4(%rdx)
	movq	_config@GOTPCREL(%rip), %rdi
	cmpl	$0, (%rdi)
	jne	LBB0_37
## %bb.36:
	negl	%esi
	movl	%esi, 4(%rdx)
LBB0_37:
	movq	_SDL_BUTTON_LMASK@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_39
## %bb.38:
	movq	_INPUT_B@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	16(%r15), %rsi
	orq	%rdx, (%rsi,%rcx,8)
LBB0_39:
	movq	_SDL_BUTTON_RMASK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_41
## %bb.40:
	movq	_INPUT_C@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	16(%r15), %rdx
	movq	(%r14), %rsi
	orq	%rcx, (%rdx,%rsi,8)
LBB0_41:
	movq	_SDL_BUTTON_MMASK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_50
## %bb.42:
	movq	_INPUT_A@GOTPCREL(%rip), %rax
	jmp	LBB0_49
LBB0_43:
	leaq	-28(%rbp), %rdi
	leaq	-32(%rbp), %rsi
	callq	_SDL_GetMouseState
	movl	-28(%rbp), %edx
	movq	_VIDEO_WIDTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_bitmap@GOTPCREL(%rip), %r8
	subl	(%r8), %ecx
	movl	%ecx, %edi
	shrl	$31, %edi
	addl	%ecx, %edi
	sarl	%edi
	subl	%edi, %edx
	movq	8(%r15), %rdi
	movq	(%r14), %r9
	movq	(%rdi,%r9,8), %rdi
	movl	%edx, (%rdi)
	movl	-32(%rbp), %edx
	movq	_VIDEO_HEIGHT@GOTPCREL(%rip), %rsi
	movl	(%rsi), %ecx
	subl	4(%r8), %ecx
	movl	%ecx, %esi
	shrl	$31, %esi
	addl	%ecx, %esi
	sarl	%esi
	subl	%esi, %edx
	movl	%edx, 4(%rdi)
	movq	_SDL_BUTTON_LMASK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_45
## %bb.44:
	movq	_INPUT_A@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	16(%r15), %rdx
	orq	%rcx, (%rdx,%r9,8)
LBB0_45:
	movq	_SDL_BUTTON_RMASK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_47
## %bb.46:
	movq	_INPUT_B@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	16(%r15), %rdx
	movq	(%r14), %rsi
	orq	%rcx, (%rdx,%rsi,8)
LBB0_47:
	movq	_SDL_BUTTON_MMASK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_50
## %bb.48:
	movq	_INPUT_C@GOTPCREL(%rip), %rax
LBB0_49:
	movq	(%rax), %rax
	movq	16(%r15), %rcx
	movq	(%r14), %rdx
	orq	%rax, (%rcx,%rdx,8)
LBB0_50:
	movq	_SDLK_f@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, (%rbx,%rax,4)
	je	LBB0_114
## %bb.51:
	movq	_INPUT_START@GOTPCREL(%rip), %rax
LBB0_52:
	movq	(%rax), %rax
	movq	16(%r15), %rcx
	movq	(%r14), %rdx
	orq	%rax, (%rcx,%rdx,8)
	jmp	LBB0_114
LBB0_53:
	movq	_SDLK_g@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpl	$0, (%rbx,%rdx,4)
	je	LBB0_55
## %bb.54:
	movq	_INPUT_ACTIVATOR_7L@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	orq	%rdx, (%rax,%rcx,8)
LBB0_55:
	movq	_SDLK_h@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rbx,%rcx,4)
	je	LBB0_57
## %bb.56:
	movq	_INPUT_ACTIVATOR_7U@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%r14), %rdx
	orq	%rcx, (%rax,%rdx,8)
LBB0_57:
	movq	_SDLK_j@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rbx,%rcx,4)
	je	LBB0_59
## %bb.58:
	movq	_INPUT_ACTIVATOR_8L@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%r14), %rdx
	orq	%rcx, (%rax,%rdx,8)
LBB0_59:
	movq	_SDLK_k@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rbx,%rcx,4)
	je	LBB0_61
## %bb.60:
	movq	_INPUT_ACTIVATOR_8U@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%r14), %rdx
	orq	%rcx, (%rax,%rdx,8)
LBB0_61:
	movq	_SDLK_a@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rbx,%rcx,4)
	je	LBB0_63
## %bb.62:
	movq	_INPUT_A@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%r14), %rdx
	orq	%rcx, (%rax,%rdx,8)
LBB0_63:
	movq	_SDLK_s@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rbx,%rcx,4)
	je	LBB0_65
## %bb.64:
	movq	_INPUT_B@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%r14), %rdx
	orq	%rcx, (%rax,%rdx,8)
LBB0_65:
	movq	_SDLK_d@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rbx,%rcx,4)
	je	LBB0_67
## %bb.66:
	movq	_INPUT_C@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%r14), %rdx
	orq	%rcx, (%rax,%rdx,8)
LBB0_67:
	movq	_SDLK_f@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rbx,%rcx,4)
	je	LBB0_69
## %bb.68:
	movq	_INPUT_START@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%r14), %rdx
	orq	%rcx, (%rax,%rdx,8)
LBB0_69:
	movq	_SDLK_z@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rbx,%rcx,4)
	je	LBB0_71
## %bb.70:
	movq	_INPUT_X@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%r14), %rdx
	orq	%rcx, (%rax,%rdx,8)
LBB0_71:
	movq	_SDLK_x@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rbx,%rcx,4)
	je	LBB0_73
## %bb.72:
	movq	_INPUT_Y@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%r14), %rdx
	orq	%rcx, (%rax,%rdx,8)
LBB0_73:
	movq	_SDLK_c@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rbx,%rcx,4)
	je	LBB0_75
## %bb.74:
	movq	_INPUT_Z@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%r14), %rdx
	orq	%rcx, (%rax,%rdx,8)
LBB0_75:
	movq	_SDLK_v@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rbx,%rcx,4)
	je	LBB0_77
## %bb.76:
	movq	_INPUT_MODE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%r14), %rdx
	orq	%rcx, (%rax,%rdx,8)
LBB0_77:
	movq	_SDLK_UP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rbx,%rcx,4)
	je	LBB0_79
## %bb.78:
	movq	_INPUT_UP@GOTPCREL(%rip), %rcx
	jmp	LBB0_81
LBB0_79:
	movq	_SDLK_DOWN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rbx,%rcx,4)
	je	LBB0_82
## %bb.80:
	movq	_INPUT_DOWN@GOTPCREL(%rip), %rcx
LBB0_81:
	movq	(%rcx), %rcx
	movq	(%r14), %rdx
	orq	%rcx, (%rax,%rdx,8)
LBB0_82:
	movq	_SDLK_LEFT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rbx,%rcx,4)
	je	LBB0_84
## %bb.83:
	movq	_INPUT_LEFT@GOTPCREL(%rip), %rcx
	jmp	LBB0_86
LBB0_84:
	movq	_SDLK_RIGHT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rbx,%rcx,4)
	je	LBB0_114
## %bb.85:
	movq	_INPUT_RIGHT@GOTPCREL(%rip), %rcx
LBB0_86:
	movq	(%rcx), %rcx
	movq	(%r14), %rdx
	orq	%rcx, (%rax,%rdx,8)
	jmp	LBB0_114
LBB0_87:
	movq	_SDLK_DOWN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, (%rbx,%rax,4)
	movq	8(%r15), %rcx
	movq	(%r14), %rdx
	movq	(%rcx,%rdx,8), %rax
	je	LBB0_89
## %bb.88:
	addl	$2, 4(%rax)
	jmp	LBB0_90
LBB0_89:
	movl	$128, 4(%rax)
LBB0_90:
	movq	_SDLK_LEFT@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rdi
	movl	$-2, %esi
	cmpl	$0, (%rbx,%rdi,4)
	jne	LBB0_92
## %bb.91:
	movq	_SDLK_RIGHT@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rdi
	movl	$2, %esi
	cmpl	$0, (%rbx,%rdi,4)
	je	LBB0_115
LBB0_92:
	addl	(%rax), %esi
LBB0_93:
	movl	%esi, (%rax)
	movq	_SDLK_KP8@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	cmpl	$0, (%rbx,%rsi,4)
	je	LBB0_95
LBB0_94:
	movq	8(%rcx,%rdx,8), %rcx
	addl	$-2, (%rcx)
	jmp	LBB0_98
LBB0_95:
	movq	_SDLK_KP2@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	cmpl	$0, (%rbx,%rsi,4)
	je	LBB0_116
## %bb.96:
	movq	8(%rcx,%rdx,8), %rcx
LBB0_97:
	addl	$2, (%rcx)
LBB0_98:
	movl	(%rax), %esi
	movl	$255, %edx
	cmpl	$255, %esi
	jg	LBB0_101
## %bb.99:
	testl	%esi, %esi
	jns	LBB0_102
## %bb.100:
	xorl	%edx, %edx
LBB0_101:
	movl	%edx, (%rax)
LBB0_102:
	movl	4(%rax), %esi
	movl	$255, %edx
	cmpl	$255, %esi
	jg	LBB0_105
## %bb.103:
	testl	%esi, %esi
	jns	LBB0_106
## %bb.104:
	xorl	%edx, %edx
LBB0_105:
	movl	%edx, 4(%rax)
LBB0_106:
	movl	(%rcx), %edx
	movl	$255, %eax
	cmpl	$255, %edx
	jg	LBB0_109
## %bb.107:
	testl	%edx, %edx
	jns	LBB0_110
## %bb.108:
	xorl	%eax, %eax
LBB0_109:
	movl	%eax, (%rcx)
LBB0_110:
	movl	4(%rcx), %eax
	cmpl	$256, %eax                      ## imm = 0x100
	jl	LBB0_112
## %bb.111:
	movl	$255, 4(%rcx)
	jmp	LBB0_114
LBB0_112:
	testl	%eax, %eax
	jns	LBB0_114
## %bb.113:
	movl	$0, 4(%rcx)
LBB0_114:
	movl	$1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_115:
	movl	$128, %esi
	jmp	LBB0_93
LBB0_116:
	movq	_SDLK_KP4@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	cmpl	$0, (%rbx,%rsi,4)
	jne	LBB0_94
## %bb.117:
	movq	_SDLK_KP6@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	cmpl	$0, (%rbx,%rsi,4)
	movq	8(%rcx,%rdx,8), %rcx
	jne	LBB0_97
## %bb.119:
	movl	$128, (%rcx)
	jmp	LBB0_98
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_26, LBB0_26-LJTI0_0
.set L0_0_set_33, LBB0_33-LJTI0_0
.set L0_0_set_35, LBB0_35-LJTI0_0
.set L0_0_set_43, LBB0_43-LJTI0_0
.set L0_0_set_53, LBB0_53-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_20
	.long	L0_0_set_22
	.long	L0_0_set_26
	.long	L0_0_set_33
	.long	L0_0_set_35
	.long	L0_0_set_43
	.long	L0_0_set_53
	.end_data_region
                                        ## -- End function
	.comm	_input,24,3                     ## @input
	.comm	_joynum,8,3                     ## @joynum
	.comm	_VIDEO_WIDTH,4,2                ## @VIDEO_WIDTH
	.comm	_bitmap,8,2                     ## @bitmap
	.comm	_VIDEO_HEIGHT,4,2               ## @VIDEO_HEIGHT
	.comm	_SDL_BUTTON_LMASK,4,2           ## @SDL_BUTTON_LMASK
	.comm	_INPUT_A,8,3                    ## @INPUT_A
	.comm	_SDL_BUTTON_RMASK,4,2           ## @SDL_BUTTON_RMASK
	.comm	_INPUT_B,8,3                    ## @INPUT_B
	.comm	_SDL_BUTTON_MMASK,4,2           ## @SDL_BUTTON_MMASK
	.comm	_INPUT_C,8,3                    ## @INPUT_C
	.comm	_SDLK_f,8,3                     ## @SDLK_f
	.comm	_INPUT_START,8,3                ## @INPUT_START
	.comm	_config,4,2                     ## @config
	.comm	_SDLK_a,8,3                     ## @SDLK_a
	.comm	_SDLK_s,8,3                     ## @SDLK_s
	.comm	_SDLK_d,8,3                     ## @SDLK_d
	.comm	_INPUT_Y,8,3                    ## @INPUT_Y
	.comm	_SDLK_z,8,3                     ## @SDLK_z
	.comm	_SDLK_x,8,3                     ## @SDLK_x
	.comm	_INPUT_X,8,3                    ## @INPUT_X
	.comm	_SDLK_c,8,3                     ## @SDLK_c
	.comm	_INPUT_MODE,8,3                 ## @INPUT_MODE
	.comm	_SDLK_v,8,3                     ## @SDLK_v
	.comm	_INPUT_Z,8,3                    ## @INPUT_Z
	.comm	_SDLK_UP,8,3                    ## @SDLK_UP
	.comm	_SDLK_DOWN,8,3                  ## @SDLK_DOWN
	.comm	_SDLK_LEFT,8,3                  ## @SDLK_LEFT
	.comm	_SDLK_RIGHT,8,3                 ## @SDLK_RIGHT
	.comm	_SDLK_KP8,8,3                   ## @SDLK_KP8
	.comm	_SDLK_KP2,8,3                   ## @SDLK_KP2
	.comm	_SDLK_KP4,8,3                   ## @SDLK_KP4
	.comm	_SDLK_KP6,8,3                   ## @SDLK_KP6
	.comm	_pico_current,4,2               ## @pico_current
	.comm	_INPUT_PICO_RED,8,3             ## @INPUT_PICO_RED
	.comm	_INPUT_PICO_PEN,8,3             ## @INPUT_PICO_PEN
	.comm	_SDLK_g,8,3                     ## @SDLK_g
	.comm	_INPUT_ACTIVATOR_7L,8,3         ## @INPUT_ACTIVATOR_7L
	.comm	_SDLK_h,8,3                     ## @SDLK_h
	.comm	_INPUT_ACTIVATOR_7U,8,3         ## @INPUT_ACTIVATOR_7U
	.comm	_SDLK_j,8,3                     ## @SDLK_j
	.comm	_INPUT_ACTIVATOR_8L,8,3         ## @INPUT_ACTIVATOR_8L
	.comm	_SDLK_k,8,3                     ## @SDLK_k
	.comm	_INPUT_ACTIVATOR_8U,8,3         ## @INPUT_ACTIVATOR_8U
	.comm	_INPUT_UP,8,3                   ## @INPUT_UP
	.comm	_INPUT_DOWN,8,3                 ## @INPUT_DOWN
	.comm	_INPUT_LEFT,8,3                 ## @INPUT_LEFT
	.comm	_INPUT_RIGHT,8,3                ## @INPUT_RIGHT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sdl_input_update               ; -- Begin function sdl_input_update
	.p2align	2
_sdl_input_update:                      ; @sdl_input_update
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x0, #0
	bl	_SDL_GetKeyState
	mov	x19, x0
Lloh0:
	adrp	x21, _input@GOTPAGE
Lloh1:
	ldr	x21, [x21, _input@GOTPAGEOFF]
	ldr	x8, [x21, #16]
Lloh2:
	adrp	x20, _joynum@GOTPAGE
Lloh3:
	ldr	x20, [x20, _joynum@GOTPAGEOFF]
	ldr	x9, [x20]
	str	xzr, [x8, x9, lsl #3]
	ldr	x10, [x21]
	ldr	x9, [x20]
	ldr	w10, [x10, x9, lsl #2]
	sub	w10, w10, #128
	cmp	w10, #7
	b.hi	LBB0_61
; %bb.1:
Lloh4:
	adrp	x11, lJTI0_0@PAGE
Lloh5:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x12, LBB0_2
	ldrh	w13, [x11, x10, lsl #1]
	add	x12, x12, x13, lsl #2
	br	x12
LBB0_2:
Lloh6:
	adrp	x10, _SDLK_a@GOTPAGE
Lloh7:
	ldr	x10, [x10, _SDLK_a@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	ldr	w10, [x19, x10, lsl #2]
	cbz	w10, LBB0_4
; %bb.3:
Lloh9:
	adrp	x10, _INPUT_START@GOTPAGE
Lloh10:
	ldr	x10, [x10, _INPUT_START@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	lsl	x9, x9, #3
	ldr	x11, [x8, x9]
	orr	x10, x11, x10
	str	x10, [x8, x9]
LBB0_4:
Lloh12:
	adrp	x9, _SDLK_s@GOTPAGE
Lloh13:
	ldr	x9, [x9, _SDLK_s@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	ldr	w9, [x19, x9, lsl #2]
	cbz	w9, LBB0_6
; %bb.5:
Lloh15:
	adrp	x9, _INPUT_A@GOTPAGE
Lloh16:
	ldr	x9, [x9, _INPUT_A@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	ldr	x10, [x20]
	lsl	x10, x10, #3
	ldr	x11, [x8, x10]
	orr	x9, x11, x9
	str	x9, [x8, x10]
LBB0_6:
Lloh18:
	adrp	x9, _SDLK_d@GOTPAGE
Lloh19:
	ldr	x9, [x9, _SDLK_d@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	ldr	w9, [x19, x9, lsl #2]
	cbz	w9, LBB0_8
; %bb.7:
Lloh21:
	adrp	x9, _INPUT_C@GOTPAGE
Lloh22:
	ldr	x9, [x9, _INPUT_C@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	ldr	x10, [x20]
	lsl	x10, x10, #3
	ldr	x11, [x8, x10]
	orr	x9, x11, x9
	str	x9, [x8, x10]
LBB0_8:
Lloh24:
	adrp	x9, _SDLK_f@GOTPAGE
Lloh25:
	ldr	x9, [x9, _SDLK_f@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	ldr	w9, [x19, x9, lsl #2]
	cbz	w9, LBB0_10
; %bb.9:
Lloh27:
	adrp	x9, _INPUT_Y@GOTPAGE
Lloh28:
	ldr	x9, [x9, _INPUT_Y@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	ldr	x10, [x20]
	lsl	x10, x10, #3
	ldr	x11, [x8, x10]
	orr	x9, x11, x9
	str	x9, [x8, x10]
LBB0_10:
Lloh30:
	adrp	x9, _SDLK_z@GOTPAGE
Lloh31:
	ldr	x9, [x9, _SDLK_z@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	ldr	w9, [x19, x9, lsl #2]
	cbz	w9, LBB0_12
; %bb.11:
Lloh33:
	adrp	x9, _INPUT_B@GOTPAGE
Lloh34:
	ldr	x9, [x9, _INPUT_B@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	ldr	x10, [x20]
	lsl	x10, x10, #3
	ldr	x11, [x8, x10]
	orr	x9, x11, x9
	str	x9, [x8, x10]
LBB0_12:
Lloh36:
	adrp	x9, _SDLK_x@GOTPAGE
Lloh37:
	ldr	x9, [x9, _SDLK_x@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	ldr	w9, [x19, x9, lsl #2]
	cbz	w9, LBB0_14
; %bb.13:
Lloh39:
	adrp	x9, _INPUT_X@GOTPAGE
Lloh40:
	ldr	x9, [x9, _INPUT_X@GOTPAGEOFF]
Lloh41:
	ldr	x9, [x9]
	ldr	x10, [x20]
	lsl	x10, x10, #3
	ldr	x11, [x8, x10]
	orr	x9, x11, x9
	str	x9, [x8, x10]
LBB0_14:
Lloh42:
	adrp	x9, _SDLK_c@GOTPAGE
Lloh43:
	ldr	x9, [x9, _SDLK_c@GOTPAGEOFF]
Lloh44:
	ldr	x9, [x9]
	ldr	w9, [x19, x9, lsl #2]
	cbz	w9, LBB0_16
; %bb.15:
Lloh45:
	adrp	x9, _INPUT_MODE@GOTPAGE
Lloh46:
	ldr	x9, [x9, _INPUT_MODE@GOTPAGEOFF]
Lloh47:
	ldr	x9, [x9]
	ldr	x10, [x20]
	lsl	x10, x10, #3
	ldr	x11, [x8, x10]
	orr	x9, x11, x9
	str	x9, [x8, x10]
LBB0_16:
Lloh48:
	adrp	x9, _SDLK_v@GOTPAGE
Lloh49:
	ldr	x9, [x9, _SDLK_v@GOTPAGEOFF]
Lloh50:
	ldr	x9, [x9]
	ldr	w9, [x19, x9, lsl #2]
	cbz	w9, LBB0_18
; %bb.17:
Lloh51:
	adrp	x9, _INPUT_Z@GOTPAGE
Lloh52:
	ldr	x9, [x9, _INPUT_Z@GOTPAGEOFF]
Lloh53:
	ldr	x9, [x9]
	ldr	x10, [x20]
	lsl	x10, x10, #3
	ldr	x11, [x8, x10]
	orr	x9, x11, x9
	str	x9, [x8, x10]
LBB0_18:
Lloh54:
	adrp	x8, _SDLK_UP@GOTPAGE
Lloh55:
	ldr	x8, [x8, _SDLK_UP@GOTPAGEOFF]
Lloh56:
	ldr	x8, [x8]
	ldr	w8, [x19, x8, lsl #2]
	cbz	w8, LBB0_87
; %bb.19:
	ldr	x9, [x21, #8]
	ldr	x10, [x20]
	ldr	x8, [x9, x10, lsl #3]
	ldr	w11, [x8, #4]
	sub	w11, w11, #2
	b	LBB0_90
LBB0_20:
	add	x0, sp, #12
	add	x1, sp, #8
	bl	_SDL_GetMouseState
	ldr	w8, [sp, #12]
	mov	w9, #250
	mul	w8, w8, w9
Lloh57:
	adrp	x10, _VIDEO_WIDTH@GOTPAGE
Lloh58:
	ldr	x10, [x10, _VIDEO_WIDTH@GOTPAGEOFF]
Lloh59:
	ldr	w10, [x10]
	sdiv	w8, w8, w10
	ldr	x10, [x21, #8]
	ldr	x10, [x10]
	str	w8, [x10]
	ldr	w8, [sp, #8]
	mul	w8, w8, w9
Lloh60:
	adrp	x9, _VIDEO_HEIGHT@GOTPAGE
Lloh61:
	ldr	x9, [x9, _VIDEO_HEIGHT@GOTPAGEOFF]
Lloh62:
	ldr	w9, [x9]
	sdiv	w8, w8, w9
	str	w8, [x10, #4]
Lloh63:
	adrp	x8, _SDL_BUTTON_RMASK@GOTPAGE
Lloh64:
	ldr	x8, [x8, _SDL_BUTTON_RMASK@GOTPAGEOFF]
Lloh65:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_119
; %bb.21:
Lloh66:
	adrp	x8, _INPUT_B@GOTPAGE
Lloh67:
	ldr	x8, [x8, _INPUT_B@GOTPAGEOFF]
	b	LBB0_32
LBB0_22:
	add	x0, sp, #12
	add	x1, sp, #8
	bl	_SDL_GetRelativeMouseState
	ldr	w8, [sp, #12]
	neg	w8, w8
	and	w9, w8, #0xff
	ldr	x10, [x21, #8]
	ldr	x8, [x20]
	ldr	x10, [x10, x8, lsl #3]
	str	w9, [x10]
	ldr	w9, [sp, #8]
	neg	w9, w9
	and	w9, w9, #0xff
	str	w9, [x10, #4]
Lloh68:
	adrp	x9, _SDL_BUTTON_LMASK@GOTPAGE
Lloh69:
	ldr	x9, [x9, _SDL_BUTTON_LMASK@GOTPAGEOFF]
Lloh70:
	ldr	w9, [x9]
	tst	w9, w0
	b.eq	LBB0_24
; %bb.23:
Lloh71:
	adrp	x9, _INPUT_B@GOTPAGE
Lloh72:
	ldr	x9, [x9, _INPUT_B@GOTPAGEOFF]
Lloh73:
	ldr	x9, [x9]
	ldr	x10, [x21, #16]
	lsl	x8, x8, #3
	ldr	x11, [x10, x8]
	orr	x9, x11, x9
	str	x9, [x10, x8]
LBB0_24:
Lloh74:
	adrp	x8, _SDL_BUTTON_RMASK@GOTPAGE
Lloh75:
	ldr	x8, [x8, _SDL_BUTTON_RMASK@GOTPAGEOFF]
Lloh76:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_119
; %bb.25:
Lloh77:
	adrp	x8, _INPUT_C@GOTPAGE
Lloh78:
	ldr	x8, [x8, _INPUT_C@GOTPAGEOFF]
	b	LBB0_52
LBB0_26:
	add	x0, sp, #12
	add	x1, sp, #8
	bl	_SDL_GetMouseState
	ldr	w8, [sp, #12]
	mov	w9, #321
	mul	w8, w8, w9
Lloh79:
	adrp	x9, _VIDEO_WIDTH@GOTPAGE
Lloh80:
	ldr	x9, [x9, _VIDEO_WIDTH@GOTPAGEOFF]
Lloh81:
	ldr	w9, [x9]
	sdiv	w8, w8, w9
	add	w8, w8, #60
	ldr	x9, [x21, #8]
	ldr	x9, [x9]
	str	w8, [x9]
	ldr	w8, [sp, #8]
	mov	w10, #252
	mul	w8, w8, w10
Lloh82:
	adrp	x10, _VIDEO_HEIGHT@GOTPAGE
Lloh83:
	ldr	x10, [x10, _VIDEO_HEIGHT@GOTPAGEOFF]
Lloh84:
	ldr	w10, [x10]
	sdiv	w8, w8, w10
	add	w8, w8, #508
	str	w8, [x9, #4]
Lloh85:
	adrp	x8, _SDL_BUTTON_MMASK@GOTPAGE
Lloh86:
	ldr	x8, [x8, _SDL_BUTTON_MMASK@GOTPAGEOFF]
Lloh87:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_28
; %bb.27:
Lloh88:
	adrp	x8, _pico_current@GOTPAGE
Lloh89:
	ldr	x8, [x8, _pico_current@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	and	w9, w9, #0x7
	str	w9, [x8]
LBB0_28:
Lloh90:
	adrp	x8, _SDL_BUTTON_RMASK@GOTPAGE
Lloh91:
	ldr	x8, [x8, _SDL_BUTTON_RMASK@GOTPAGEOFF]
Lloh92:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_30
; %bb.29:
Lloh93:
	adrp	x8, _INPUT_PICO_RED@GOTPAGE
Lloh94:
	ldr	x8, [x8, _INPUT_PICO_RED@GOTPAGEOFF]
Lloh95:
	ldr	x8, [x8]
	ldr	x9, [x21, #16]
	ldr	x10, [x9]
	orr	x8, x10, x8
	str	x8, [x9]
LBB0_30:
Lloh96:
	adrp	x8, _SDL_BUTTON_LMASK@GOTPAGE
Lloh97:
	ldr	x8, [x8, _SDL_BUTTON_LMASK@GOTPAGEOFF]
Lloh98:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_119
; %bb.31:
Lloh99:
	adrp	x8, _INPUT_PICO_PEN@GOTPAGE
Lloh100:
	ldr	x8, [x8, _INPUT_PICO_PEN@GOTPAGEOFF]
LBB0_32:
	ldr	x8, [x8]
	ldr	x9, [x21, #16]
	ldr	x10, [x9]
	orr	x8, x10, x8
	str	x8, [x9]
	b	LBB0_119
LBB0_33:
	add	x0, sp, #12
	mov	x1, #0
	bl	_SDL_GetMouseState
	ldr	w8, [sp, #12]
Lloh101:
	adrp	x9, _VIDEO_WIDTH@GOTPAGE
Lloh102:
	ldr	x9, [x9, _VIDEO_WIDTH@GOTPAGEOFF]
	lsl	w10, w8, #8
Lloh103:
	ldr	w9, [x9]
	ldr	x11, [x21, #8]
	ldr	x8, [x20]
	ldr	x11, [x11, x8, lsl #3]
	sdiv	w9, w10, w9
	str	w9, [x11]
Lloh104:
	adrp	x9, _SDL_BUTTON_LMASK@GOTPAGE
Lloh105:
	ldr	x9, [x9, _SDL_BUTTON_LMASK@GOTPAGEOFF]
Lloh106:
	ldr	w9, [x9]
	tst	w9, w0
	b.eq	LBB0_119
; %bb.34:
Lloh107:
	adrp	x9, _INPUT_B@GOTPAGE
Lloh108:
	ldr	x9, [x9, _INPUT_B@GOTPAGEOFF]
Lloh109:
	ldr	x9, [x9]
	ldr	x10, [x21, #16]
	lsl	x8, x8, #3
	ldr	x11, [x10, x8]
	orr	x9, x11, x9
	str	x9, [x10, x8]
	b	LBB0_119
LBB0_35:
	add	x0, sp, #12
	add	x1, sp, #8
	bl	_SDL_GetRelativeMouseState
	ldr	w8, [sp, #12]
	lsl	w10, w8, #1
	ldr	x9, [x21, #8]
	ldr	x8, [x20]
	ldr	x9, [x9, x8, lsl #3]
	str	w10, [x9]
	ldr	w10, [sp, #8]
	lsl	w10, w10, #1
	str	w10, [x9, #4]
Lloh110:
	adrp	x11, _config@GOTPAGE
Lloh111:
	ldr	x11, [x11, _config@GOTPAGEOFF]
Lloh112:
	ldr	w11, [x11]
	cbnz	w11, LBB0_37
; %bb.36:
	neg	w10, w10
	str	w10, [x9, #4]
LBB0_37:
Lloh113:
	adrp	x9, _SDL_BUTTON_LMASK@GOTPAGE
Lloh114:
	ldr	x9, [x9, _SDL_BUTTON_LMASK@GOTPAGEOFF]
Lloh115:
	ldr	w9, [x9]
	tst	w9, w0
	b.eq	LBB0_39
; %bb.38:
Lloh116:
	adrp	x9, _INPUT_B@GOTPAGE
Lloh117:
	ldr	x9, [x9, _INPUT_B@GOTPAGEOFF]
Lloh118:
	ldr	x9, [x9]
	ldr	x10, [x21, #16]
	lsl	x8, x8, #3
	ldr	x11, [x10, x8]
	orr	x9, x11, x9
	str	x9, [x10, x8]
LBB0_39:
Lloh119:
	adrp	x8, _SDL_BUTTON_RMASK@GOTPAGE
Lloh120:
	ldr	x8, [x8, _SDL_BUTTON_RMASK@GOTPAGEOFF]
Lloh121:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_41
; %bb.40:
Lloh122:
	adrp	x8, _INPUT_C@GOTPAGE
Lloh123:
	ldr	x8, [x8, _INPUT_C@GOTPAGEOFF]
Lloh124:
	ldr	x8, [x8]
	ldr	x9, [x21, #16]
	ldr	x10, [x20]
	lsl	x10, x10, #3
	ldr	x11, [x9, x10]
	orr	x8, x11, x8
	str	x8, [x9, x10]
LBB0_41:
Lloh125:
	adrp	x8, _SDL_BUTTON_MMASK@GOTPAGE
Lloh126:
	ldr	x8, [x8, _SDL_BUTTON_MMASK@GOTPAGEOFF]
Lloh127:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_50
; %bb.42:
Lloh128:
	adrp	x8, _INPUT_A@GOTPAGE
Lloh129:
	ldr	x8, [x8, _INPUT_A@GOTPAGEOFF]
	b	LBB0_49
LBB0_43:
	add	x0, sp, #12
	add	x1, sp, #8
	bl	_SDL_GetMouseState
	ldr	w8, [sp, #12]
Lloh130:
	adrp	x9, _VIDEO_WIDTH@GOTPAGE
Lloh131:
	ldr	x9, [x9, _VIDEO_WIDTH@GOTPAGEOFF]
Lloh132:
	ldr	w9, [x9]
Lloh133:
	adrp	x10, _bitmap@GOTPAGE
Lloh134:
	ldr	x10, [x10, _bitmap@GOTPAGEOFF]
	ldr	w11, [x10]
	sub	w9, w9, w11
	cmp	w9, #0
	cinc	w9, w9, lt
	sub	w9, w8, w9, asr #1
	ldr	x11, [x21, #8]
	ldr	x8, [x20]
	ldr	x11, [x11, x8, lsl #3]
	str	w9, [x11]
Lloh135:
	adrp	x9, _VIDEO_HEIGHT@GOTPAGE
Lloh136:
	ldr	x9, [x9, _VIDEO_HEIGHT@GOTPAGEOFF]
	ldr	w12, [sp, #8]
Lloh137:
	ldr	w9, [x9]
	ldr	w10, [x10, #4]
	sub	w9, w9, w10
	cmp	w9, #0
	cinc	w9, w9, lt
	sub	w9, w12, w9, asr #1
	str	w9, [x11, #4]
Lloh138:
	adrp	x9, _SDL_BUTTON_LMASK@GOTPAGE
Lloh139:
	ldr	x9, [x9, _SDL_BUTTON_LMASK@GOTPAGEOFF]
Lloh140:
	ldr	w9, [x9]
	tst	w9, w0
	b.eq	LBB0_45
; %bb.44:
Lloh141:
	adrp	x9, _INPUT_A@GOTPAGE
Lloh142:
	ldr	x9, [x9, _INPUT_A@GOTPAGEOFF]
Lloh143:
	ldr	x9, [x9]
	ldr	x10, [x21, #16]
	lsl	x8, x8, #3
	ldr	x11, [x10, x8]
	orr	x9, x11, x9
	str	x9, [x10, x8]
LBB0_45:
Lloh144:
	adrp	x8, _SDL_BUTTON_RMASK@GOTPAGE
Lloh145:
	ldr	x8, [x8, _SDL_BUTTON_RMASK@GOTPAGEOFF]
Lloh146:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_47
; %bb.46:
Lloh147:
	adrp	x8, _INPUT_B@GOTPAGE
Lloh148:
	ldr	x8, [x8, _INPUT_B@GOTPAGEOFF]
Lloh149:
	ldr	x8, [x8]
	ldr	x9, [x21, #16]
	ldr	x10, [x20]
	lsl	x10, x10, #3
	ldr	x11, [x9, x10]
	orr	x8, x11, x8
	str	x8, [x9, x10]
LBB0_47:
Lloh150:
	adrp	x8, _SDL_BUTTON_MMASK@GOTPAGE
Lloh151:
	ldr	x8, [x8, _SDL_BUTTON_MMASK@GOTPAGEOFF]
Lloh152:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_50
; %bb.48:
Lloh153:
	adrp	x8, _INPUT_C@GOTPAGE
Lloh154:
	ldr	x8, [x8, _INPUT_C@GOTPAGEOFF]
LBB0_49:
	ldr	x8, [x8]
	ldr	x9, [x21, #16]
	ldr	x10, [x20]
	lsl	x10, x10, #3
	ldr	x11, [x9, x10]
	orr	x8, x11, x8
	str	x8, [x9, x10]
LBB0_50:
Lloh155:
	adrp	x8, _SDLK_f@GOTPAGE
Lloh156:
	ldr	x8, [x8, _SDLK_f@GOTPAGEOFF]
Lloh157:
	ldr	x8, [x8]
	ldr	w8, [x19, x8, lsl #2]
	cbz	w8, LBB0_119
; %bb.51:
Lloh158:
	adrp	x8, _INPUT_START@GOTPAGE
Lloh159:
	ldr	x8, [x8, _INPUT_START@GOTPAGEOFF]
LBB0_52:
	ldr	x8, [x8]
	ldr	x9, [x21, #16]
	ldr	x10, [x20]
	lsl	x10, x10, #3
	ldr	x11, [x9, x10]
	orr	x8, x11, x8
	str	x8, [x9, x10]
	b	LBB0_119
LBB0_53:
Lloh160:
	adrp	x10, _SDLK_g@GOTPAGE
Lloh161:
	ldr	x10, [x10, _SDLK_g@GOTPAGEOFF]
Lloh162:
	ldr	x10, [x10]
	ldr	w10, [x19, x10, lsl #2]
	cbz	w10, LBB0_55
; %bb.54:
Lloh163:
	adrp	x10, _INPUT_ACTIVATOR_7L@GOTPAGE
Lloh164:
	ldr	x10, [x10, _INPUT_ACTIVATOR_7L@GOTPAGEOFF]
Lloh165:
	ldr	x10, [x10]
	lsl	x9, x9, #3
	ldr	x11, [x8, x9]
	orr	x10, x11, x10
	str	x10, [x8, x9]
LBB0_55:
Lloh166:
	adrp	x9, _SDLK_h@GOTPAGE
Lloh167:
	ldr	x9, [x9, _SDLK_h@GOTPAGEOFF]
Lloh168:
	ldr	x9, [x9]
	ldr	w9, [x19, x9, lsl #2]
	cbz	w9, LBB0_57
; %bb.56:
Lloh169:
	adrp	x9, _INPUT_ACTIVATOR_7U@GOTPAGE
Lloh170:
	ldr	x9, [x9, _INPUT_ACTIVATOR_7U@GOTPAGEOFF]
Lloh171:
	ldr	x9, [x9]
	ldr	x10, [x20]
	lsl	x10, x10, #3
	ldr	x11, [x8, x10]
	orr	x9, x11, x9
	str	x9, [x8, x10]
LBB0_57:
Lloh172:
	adrp	x9, _SDLK_j@GOTPAGE
Lloh173:
	ldr	x9, [x9, _SDLK_j@GOTPAGEOFF]
Lloh174:
	ldr	x9, [x9]
	ldr	w9, [x19, x9, lsl #2]
	cbz	w9, LBB0_59
; %bb.58:
Lloh175:
	adrp	x9, _INPUT_ACTIVATOR_8L@GOTPAGE
Lloh176:
	ldr	x9, [x9, _INPUT_ACTIVATOR_8L@GOTPAGEOFF]
Lloh177:
	ldr	x9, [x9]
	ldr	x10, [x20]
	lsl	x10, x10, #3
	ldr	x11, [x8, x10]
	orr	x9, x11, x9
	str	x9, [x8, x10]
LBB0_59:
Lloh178:
	adrp	x9, _SDLK_k@GOTPAGE
Lloh179:
	ldr	x9, [x9, _SDLK_k@GOTPAGEOFF]
Lloh180:
	ldr	x9, [x9]
	ldr	w9, [x19, x9, lsl #2]
	cbz	w9, LBB0_61
; %bb.60:
Lloh181:
	adrp	x9, _INPUT_ACTIVATOR_8U@GOTPAGE
Lloh182:
	ldr	x9, [x9, _INPUT_ACTIVATOR_8U@GOTPAGEOFF]
Lloh183:
	ldr	x9, [x9]
	ldr	x10, [x20]
	lsl	x10, x10, #3
	ldr	x11, [x8, x10]
	orr	x9, x11, x9
	str	x9, [x8, x10]
LBB0_61:
Lloh184:
	adrp	x9, _SDLK_a@GOTPAGE
Lloh185:
	ldr	x9, [x9, _SDLK_a@GOTPAGEOFF]
Lloh186:
	ldr	x9, [x9]
	ldr	w9, [x19, x9, lsl #2]
	cbz	w9, LBB0_63
; %bb.62:
Lloh187:
	adrp	x9, _INPUT_A@GOTPAGE
Lloh188:
	ldr	x9, [x9, _INPUT_A@GOTPAGEOFF]
Lloh189:
	ldr	x9, [x9]
	ldr	x10, [x20]
	lsl	x10, x10, #3
	ldr	x11, [x8, x10]
	orr	x9, x11, x9
	str	x9, [x8, x10]
LBB0_63:
Lloh190:
	adrp	x9, _SDLK_s@GOTPAGE
Lloh191:
	ldr	x9, [x9, _SDLK_s@GOTPAGEOFF]
Lloh192:
	ldr	x9, [x9]
	ldr	w9, [x19, x9, lsl #2]
	cbz	w9, LBB0_65
; %bb.64:
Lloh193:
	adrp	x9, _INPUT_B@GOTPAGE
Lloh194:
	ldr	x9, [x9, _INPUT_B@GOTPAGEOFF]
Lloh195:
	ldr	x9, [x9]
	ldr	x10, [x20]
	lsl	x10, x10, #3
	ldr	x11, [x8, x10]
	orr	x9, x11, x9
	str	x9, [x8, x10]
LBB0_65:
Lloh196:
	adrp	x9, _SDLK_d@GOTPAGE
Lloh197:
	ldr	x9, [x9, _SDLK_d@GOTPAGEOFF]
Lloh198:
	ldr	x9, [x9]
	ldr	w9, [x19, x9, lsl #2]
	cbz	w9, LBB0_67
; %bb.66:
Lloh199:
	adrp	x9, _INPUT_C@GOTPAGE
Lloh200:
	ldr	x9, [x9, _INPUT_C@GOTPAGEOFF]
Lloh201:
	ldr	x9, [x9]
	ldr	x10, [x20]
	lsl	x10, x10, #3
	ldr	x11, [x8, x10]
	orr	x9, x11, x9
	str	x9, [x8, x10]
LBB0_67:
Lloh202:
	adrp	x9, _SDLK_f@GOTPAGE
Lloh203:
	ldr	x9, [x9, _SDLK_f@GOTPAGEOFF]
Lloh204:
	ldr	x9, [x9]
	ldr	w9, [x19, x9, lsl #2]
	cbz	w9, LBB0_69
; %bb.68:
Lloh205:
	adrp	x9, _INPUT_START@GOTPAGE
Lloh206:
	ldr	x9, [x9, _INPUT_START@GOTPAGEOFF]
Lloh207:
	ldr	x9, [x9]
	ldr	x10, [x20]
	lsl	x10, x10, #3
	ldr	x11, [x8, x10]
	orr	x9, x11, x9
	str	x9, [x8, x10]
LBB0_69:
Lloh208:
	adrp	x9, _SDLK_z@GOTPAGE
Lloh209:
	ldr	x9, [x9, _SDLK_z@GOTPAGEOFF]
Lloh210:
	ldr	x9, [x9]
	ldr	w9, [x19, x9, lsl #2]
	cbz	w9, LBB0_71
; %bb.70:
Lloh211:
	adrp	x9, _INPUT_X@GOTPAGE
Lloh212:
	ldr	x9, [x9, _INPUT_X@GOTPAGEOFF]
Lloh213:
	ldr	x9, [x9]
	ldr	x10, [x20]
	lsl	x10, x10, #3
	ldr	x11, [x8, x10]
	orr	x9, x11, x9
	str	x9, [x8, x10]
LBB0_71:
Lloh214:
	adrp	x9, _SDLK_x@GOTPAGE
Lloh215:
	ldr	x9, [x9, _SDLK_x@GOTPAGEOFF]
Lloh216:
	ldr	x9, [x9]
	ldr	w9, [x19, x9, lsl #2]
	cbz	w9, LBB0_73
; %bb.72:
Lloh217:
	adrp	x9, _INPUT_Y@GOTPAGE
Lloh218:
	ldr	x9, [x9, _INPUT_Y@GOTPAGEOFF]
Lloh219:
	ldr	x9, [x9]
	ldr	x10, [x20]
	lsl	x10, x10, #3
	ldr	x11, [x8, x10]
	orr	x9, x11, x9
	str	x9, [x8, x10]
LBB0_73:
Lloh220:
	adrp	x9, _SDLK_c@GOTPAGE
Lloh221:
	ldr	x9, [x9, _SDLK_c@GOTPAGEOFF]
Lloh222:
	ldr	x9, [x9]
	ldr	w9, [x19, x9, lsl #2]
	cbz	w9, LBB0_75
; %bb.74:
Lloh223:
	adrp	x9, _INPUT_Z@GOTPAGE
Lloh224:
	ldr	x9, [x9, _INPUT_Z@GOTPAGEOFF]
Lloh225:
	ldr	x9, [x9]
	ldr	x10, [x20]
	lsl	x10, x10, #3
	ldr	x11, [x8, x10]
	orr	x9, x11, x9
	str	x9, [x8, x10]
LBB0_75:
Lloh226:
	adrp	x9, _SDLK_v@GOTPAGE
Lloh227:
	ldr	x9, [x9, _SDLK_v@GOTPAGEOFF]
Lloh228:
	ldr	x9, [x9]
	ldr	w9, [x19, x9, lsl #2]
	cbz	w9, LBB0_77
; %bb.76:
Lloh229:
	adrp	x9, _INPUT_MODE@GOTPAGE
Lloh230:
	ldr	x9, [x9, _INPUT_MODE@GOTPAGEOFF]
Lloh231:
	ldr	x9, [x9]
	ldr	x10, [x20]
	lsl	x10, x10, #3
	ldr	x11, [x8, x10]
	orr	x9, x11, x9
	str	x9, [x8, x10]
LBB0_77:
Lloh232:
	adrp	x9, _SDLK_UP@GOTPAGE
Lloh233:
	ldr	x9, [x9, _SDLK_UP@GOTPAGEOFF]
Lloh234:
	ldr	x9, [x9]
	ldr	w9, [x19, x9, lsl #2]
	cbz	w9, LBB0_79
; %bb.78:
Lloh235:
	adrp	x9, _INPUT_UP@GOTPAGE
Lloh236:
	ldr	x9, [x9, _INPUT_UP@GOTPAGEOFF]
	b	LBB0_81
LBB0_79:
Lloh237:
	adrp	x9, _SDLK_DOWN@GOTPAGE
Lloh238:
	ldr	x9, [x9, _SDLK_DOWN@GOTPAGEOFF]
Lloh239:
	ldr	x9, [x9]
	ldr	w9, [x19, x9, lsl #2]
	cbz	w9, LBB0_82
; %bb.80:
Lloh240:
	adrp	x9, _INPUT_DOWN@GOTPAGE
Lloh241:
	ldr	x9, [x9, _INPUT_DOWN@GOTPAGEOFF]
LBB0_81:
	ldr	x9, [x9]
	ldr	x10, [x20]
	lsl	x10, x10, #3
	ldr	x11, [x8, x10]
	orr	x9, x11, x9
	str	x9, [x8, x10]
LBB0_82:
Lloh242:
	adrp	x9, _SDLK_LEFT@GOTPAGE
Lloh243:
	ldr	x9, [x9, _SDLK_LEFT@GOTPAGEOFF]
Lloh244:
	ldr	x9, [x9]
	ldr	w9, [x19, x9, lsl #2]
	cbz	w9, LBB0_84
; %bb.83:
Lloh245:
	adrp	x9, _INPUT_LEFT@GOTPAGE
Lloh246:
	ldr	x9, [x9, _INPUT_LEFT@GOTPAGEOFF]
	b	LBB0_86
LBB0_84:
Lloh247:
	adrp	x9, _SDLK_RIGHT@GOTPAGE
Lloh248:
	ldr	x9, [x9, _SDLK_RIGHT@GOTPAGEOFF]
Lloh249:
	ldr	x9, [x9]
	ldr	w9, [x19, x9, lsl #2]
	cbz	w9, LBB0_119
; %bb.85:
Lloh250:
	adrp	x9, _INPUT_RIGHT@GOTPAGE
Lloh251:
	ldr	x9, [x9, _INPUT_RIGHT@GOTPAGEOFF]
LBB0_86:
	ldr	x9, [x9]
	ldr	x10, [x20]
	lsl	x10, x10, #3
	ldr	x11, [x8, x10]
	orr	x9, x11, x9
	str	x9, [x8, x10]
	b	LBB0_119
LBB0_87:
Lloh252:
	adrp	x8, _SDLK_DOWN@GOTPAGE
Lloh253:
	ldr	x8, [x8, _SDLK_DOWN@GOTPAGEOFF]
Lloh254:
	ldr	x8, [x8]
	ldr	w11, [x19, x8, lsl #2]
	ldr	x9, [x21, #8]
	ldr	x10, [x20]
	ldr	x8, [x9, x10, lsl #3]
	cbz	w11, LBB0_89
; %bb.88:
	ldr	w11, [x8, #4]
	add	w11, w11, #2
	b	LBB0_90
LBB0_89:
	mov	w11, #128
LBB0_90:
	str	w11, [x8, #4]
Lloh255:
	adrp	x11, _SDLK_LEFT@GOTPAGE
Lloh256:
	ldr	x11, [x11, _SDLK_LEFT@GOTPAGEOFF]
Lloh257:
	ldr	x11, [x11]
	ldr	w11, [x19, x11, lsl #2]
	cbz	w11, LBB0_92
; %bb.91:
	mov	w11, #-2
	b	LBB0_94
LBB0_92:
Lloh258:
	adrp	x11, _SDLK_RIGHT@GOTPAGE
Lloh259:
	ldr	x11, [x11, _SDLK_RIGHT@GOTPAGEOFF]
Lloh260:
	ldr	x11, [x11]
	ldr	w11, [x19, x11, lsl #2]
	cbz	w11, LBB0_120
; %bb.93:
	mov	w11, #2
LBB0_94:
	ldr	w12, [x8]
	add	w11, w12, w11
LBB0_95:
	str	w11, [x8]
Lloh261:
	adrp	x11, _SDLK_KP8@GOTPAGE
Lloh262:
	ldr	x11, [x11, _SDLK_KP8@GOTPAGEOFF]
Lloh263:
	ldr	x11, [x11]
	ldr	w11, [x19, x11, lsl #2]
	cbz	w11, LBB0_97
LBB0_96:
	add	x9, x9, x10, lsl #3
	ldr	x9, [x9, #8]
	ldr	w10, [x9]
	sub	w10, w10, #2
	b	LBB0_100
LBB0_97:
Lloh264:
	adrp	x11, _SDLK_KP2@GOTPAGE
Lloh265:
	ldr	x11, [x11, _SDLK_KP2@GOTPAGEOFF]
Lloh266:
	ldr	x11, [x11]
	ldr	w11, [x19, x11, lsl #2]
	cbz	w11, LBB0_121
; %bb.98:
	add	x9, x9, x10, lsl #3
	ldr	x9, [x9, #8]
LBB0_99:
	ldr	w10, [x9]
	add	w10, w10, #2
LBB0_100:
	str	w10, [x9]
	ldr	w10, [x8]
	cmp	w10, #255
	b.le	LBB0_102
; %bb.101:
	mov	w10, #255
	b	LBB0_104
LBB0_102:
	tbz	w10, #31, LBB0_105
; %bb.103:
	mov	w10, #0
LBB0_104:
	str	w10, [x8]
LBB0_105:
	ldr	w10, [x8, #4]
	cmp	w10, #255
	b.le	LBB0_107
; %bb.106:
	mov	w10, #255
	b	LBB0_109
LBB0_107:
	tbz	w10, #31, LBB0_110
; %bb.108:
	mov	w10, #0
LBB0_109:
	str	w10, [x8, #4]
LBB0_110:
	ldr	w8, [x9]
	cmp	w8, #255
	b.le	LBB0_112
; %bb.111:
	mov	w8, #255
	b	LBB0_114
LBB0_112:
	tbz	w8, #31, LBB0_115
; %bb.113:
	mov	w8, #0
LBB0_114:
	str	w8, [x9]
LBB0_115:
	ldr	w8, [x9, #4]
	cmp	w8, #256
	b.lt	LBB0_117
; %bb.116:
	mov	w8, #255
	str	w8, [x9, #4]
	b	LBB0_119
LBB0_117:
	tbz	w8, #31, LBB0_119
; %bb.118:
	str	wzr, [x9, #4]
LBB0_119:
	mov	w0, #1
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_120:
	mov	w11, #128
	b	LBB0_95
LBB0_121:
Lloh267:
	adrp	x11, _SDLK_KP4@GOTPAGE
Lloh268:
	ldr	x11, [x11, _SDLK_KP4@GOTPAGEOFF]
Lloh269:
	ldr	x11, [x11]
	ldr	w11, [x19, x11, lsl #2]
	cbnz	w11, LBB0_96
; %bb.122:
Lloh270:
	adrp	x11, _SDLK_KP6@GOTPAGE
Lloh271:
	ldr	x11, [x11, _SDLK_KP6@GOTPAGEOFF]
Lloh272:
	ldr	x11, [x11]
	ldr	w11, [x19, x11, lsl #2]
	add	x9, x9, x10, lsl #3
	ldr	x9, [x9, #8]
	cbnz	w11, LBB0_99
; %bb.123:
	mov	w10, #128
	b	LBB0_100
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGot	Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGot	Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGot	Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGot	Lloh99, Lloh100
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh107, Lloh108, Lloh109
	.loh AdrpLdrGotLdr	Lloh110, Lloh111, Lloh112
	.loh AdrpLdrGotLdr	Lloh113, Lloh114, Lloh115
	.loh AdrpLdrGotLdr	Lloh116, Lloh117, Lloh118
	.loh AdrpLdrGotLdr	Lloh119, Lloh120, Lloh121
	.loh AdrpLdrGotLdr	Lloh122, Lloh123, Lloh124
	.loh AdrpLdrGotLdr	Lloh125, Lloh126, Lloh127
	.loh AdrpLdrGot	Lloh128, Lloh129
	.loh AdrpLdrGotLdr	Lloh138, Lloh139, Lloh140
	.loh AdrpLdrGotLdr	Lloh135, Lloh136, Lloh137
	.loh AdrpLdrGot	Lloh133, Lloh134
	.loh AdrpLdrGotLdr	Lloh130, Lloh131, Lloh132
	.loh AdrpLdrGotLdr	Lloh141, Lloh142, Lloh143
	.loh AdrpLdrGotLdr	Lloh144, Lloh145, Lloh146
	.loh AdrpLdrGotLdr	Lloh147, Lloh148, Lloh149
	.loh AdrpLdrGotLdr	Lloh150, Lloh151, Lloh152
	.loh AdrpLdrGot	Lloh153, Lloh154
	.loh AdrpLdrGotLdr	Lloh155, Lloh156, Lloh157
	.loh AdrpLdrGot	Lloh158, Lloh159
	.loh AdrpLdrGotLdr	Lloh160, Lloh161, Lloh162
	.loh AdrpLdrGotLdr	Lloh163, Lloh164, Lloh165
	.loh AdrpLdrGotLdr	Lloh166, Lloh167, Lloh168
	.loh AdrpLdrGotLdr	Lloh169, Lloh170, Lloh171
	.loh AdrpLdrGotLdr	Lloh172, Lloh173, Lloh174
	.loh AdrpLdrGotLdr	Lloh175, Lloh176, Lloh177
	.loh AdrpLdrGotLdr	Lloh178, Lloh179, Lloh180
	.loh AdrpLdrGotLdr	Lloh181, Lloh182, Lloh183
	.loh AdrpLdrGotLdr	Lloh184, Lloh185, Lloh186
	.loh AdrpLdrGotLdr	Lloh187, Lloh188, Lloh189
	.loh AdrpLdrGotLdr	Lloh190, Lloh191, Lloh192
	.loh AdrpLdrGotLdr	Lloh193, Lloh194, Lloh195
	.loh AdrpLdrGotLdr	Lloh196, Lloh197, Lloh198
	.loh AdrpLdrGotLdr	Lloh199, Lloh200, Lloh201
	.loh AdrpLdrGotLdr	Lloh202, Lloh203, Lloh204
	.loh AdrpLdrGotLdr	Lloh205, Lloh206, Lloh207
	.loh AdrpLdrGotLdr	Lloh208, Lloh209, Lloh210
	.loh AdrpLdrGotLdr	Lloh211, Lloh212, Lloh213
	.loh AdrpLdrGotLdr	Lloh214, Lloh215, Lloh216
	.loh AdrpLdrGotLdr	Lloh217, Lloh218, Lloh219
	.loh AdrpLdrGotLdr	Lloh220, Lloh221, Lloh222
	.loh AdrpLdrGotLdr	Lloh223, Lloh224, Lloh225
	.loh AdrpLdrGotLdr	Lloh226, Lloh227, Lloh228
	.loh AdrpLdrGotLdr	Lloh229, Lloh230, Lloh231
	.loh AdrpLdrGotLdr	Lloh232, Lloh233, Lloh234
	.loh AdrpLdrGot	Lloh235, Lloh236
	.loh AdrpLdrGotLdr	Lloh237, Lloh238, Lloh239
	.loh AdrpLdrGot	Lloh240, Lloh241
	.loh AdrpLdrGotLdr	Lloh242, Lloh243, Lloh244
	.loh AdrpLdrGot	Lloh245, Lloh246
	.loh AdrpLdrGotLdr	Lloh247, Lloh248, Lloh249
	.loh AdrpLdrGot	Lloh250, Lloh251
	.loh AdrpLdrGotLdr	Lloh252, Lloh253, Lloh254
	.loh AdrpLdrGotLdr	Lloh255, Lloh256, Lloh257
	.loh AdrpLdrGotLdr	Lloh258, Lloh259, Lloh260
	.loh AdrpLdrGotLdr	Lloh261, Lloh262, Lloh263
	.loh AdrpLdrGotLdr	Lloh264, Lloh265, Lloh266
	.loh AdrpLdrGotLdr	Lloh267, Lloh268, Lloh269
	.loh AdrpLdrGotLdr	Lloh270, Lloh271, Lloh272
	.cfi_endproc
	.section	__TEXT,__const
	.p2align	1
lJTI0_0:
	.short	(LBB0_2-LBB0_2)>>2
	.short	(LBB0_20-LBB0_2)>>2
	.short	(LBB0_22-LBB0_2)>>2
	.short	(LBB0_26-LBB0_2)>>2
	.short	(LBB0_33-LBB0_2)>>2
	.short	(LBB0_35-LBB0_2)>>2
	.short	(LBB0_43-LBB0_2)>>2
	.short	(LBB0_53-LBB0_2)>>2
                                        ; -- End function
	.comm	_input,24,3                     ; @input
	.comm	_joynum,8,3                     ; @joynum
	.comm	_VIDEO_WIDTH,4,2                ; @VIDEO_WIDTH
	.comm	_bitmap,8,2                     ; @bitmap
	.comm	_VIDEO_HEIGHT,4,2               ; @VIDEO_HEIGHT
	.comm	_SDL_BUTTON_LMASK,4,2           ; @SDL_BUTTON_LMASK
	.comm	_INPUT_A,8,3                    ; @INPUT_A
	.comm	_SDL_BUTTON_RMASK,4,2           ; @SDL_BUTTON_RMASK
	.comm	_INPUT_B,8,3                    ; @INPUT_B
	.comm	_SDL_BUTTON_MMASK,4,2           ; @SDL_BUTTON_MMASK
	.comm	_INPUT_C,8,3                    ; @INPUT_C
	.comm	_SDLK_f,8,3                     ; @SDLK_f
	.comm	_INPUT_START,8,3                ; @INPUT_START
	.comm	_config,4,2                     ; @config
	.comm	_SDLK_a,8,3                     ; @SDLK_a
	.comm	_SDLK_s,8,3                     ; @SDLK_s
	.comm	_SDLK_d,8,3                     ; @SDLK_d
	.comm	_INPUT_Y,8,3                    ; @INPUT_Y
	.comm	_SDLK_z,8,3                     ; @SDLK_z
	.comm	_SDLK_x,8,3                     ; @SDLK_x
	.comm	_INPUT_X,8,3                    ; @INPUT_X
	.comm	_SDLK_c,8,3                     ; @SDLK_c
	.comm	_INPUT_MODE,8,3                 ; @INPUT_MODE
	.comm	_SDLK_v,8,3                     ; @SDLK_v
	.comm	_INPUT_Z,8,3                    ; @INPUT_Z
	.comm	_SDLK_UP,8,3                    ; @SDLK_UP
	.comm	_SDLK_DOWN,8,3                  ; @SDLK_DOWN
	.comm	_SDLK_LEFT,8,3                  ; @SDLK_LEFT
	.comm	_SDLK_RIGHT,8,3                 ; @SDLK_RIGHT
	.comm	_SDLK_KP8,8,3                   ; @SDLK_KP8
	.comm	_SDLK_KP2,8,3                   ; @SDLK_KP2
	.comm	_SDLK_KP4,8,3                   ; @SDLK_KP4
	.comm	_SDLK_KP6,8,3                   ; @SDLK_KP6
	.comm	_pico_current,4,2               ; @pico_current
	.comm	_INPUT_PICO_RED,8,3             ; @INPUT_PICO_RED
	.comm	_INPUT_PICO_PEN,8,3             ; @INPUT_PICO_PEN
	.comm	_SDLK_g,8,3                     ; @SDLK_g
	.comm	_INPUT_ACTIVATOR_7L,8,3         ; @INPUT_ACTIVATOR_7L
	.comm	_SDLK_h,8,3                     ; @SDLK_h
	.comm	_INPUT_ACTIVATOR_7U,8,3         ; @INPUT_ACTIVATOR_7U
	.comm	_SDLK_j,8,3                     ; @SDLK_j
	.comm	_INPUT_ACTIVATOR_8L,8,3         ; @INPUT_ACTIVATOR_8L
	.comm	_SDLK_k,8,3                     ; @SDLK_k
	.comm	_INPUT_ACTIVATOR_8U,8,3         ; @INPUT_ACTIVATOR_8U
	.comm	_INPUT_UP,8,3                   ; @INPUT_UP
	.comm	_INPUT_DOWN,8,3                 ; @INPUT_DOWN
	.comm	_INPUT_LEFT,8,3                 ; @INPUT_LEFT
	.comm	_INPUT_RIGHT,8,3                ; @INPUT_RIGHT
.subsections_via_symbols
