	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function db9_saturn_report
_db9_saturn_report:                     ## @db9_saturn_report
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	cmpl	%r8d, %ecx
	jge	LBB0_17
## %bb.1:
	cmpb	$65, %dil
	movl	$60, %eax
	movl	$10, %r14d
	cmovneq	%r14, %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movslq	-52(%rbp), %rcx                 ## 4-byte Folded Reload
	movslq	%r8d, %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	incq	%rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	_db9_abs@GOTPCREL(%rip), %rsi
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	-8(%rdx,%rax,8), %rbx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movzbl	-10(%rax,%r14), %eax
	leal	-2(%rax), %ecx
	cmpb	$50, %cl
	ja	LBB0_3
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	movzbl	%cl, %eax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rsi), %rax
	movl	20(%rax), %esi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movzbl	-4(%rax,%r14), %edx
	movq	%rbx, %rdi
	callq	_input_report_abs
	movq	_db9_abs@GOTPCREL(%rip), %rsi
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rsi), %rax
	movl	12(%rax), %esi
	movq	%rbx, %r15
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movzbl	-6(%rbx,%r14), %edx
	movq	%r15, %rdi
	callq	_input_report_abs
	movq	_db9_abs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	16(%rax), %esi
	movzbl	-5(%rbx,%r14), %edx
	movq	%r15, %rbx
	movq	%r15, %rdi
	callq	_input_report_abs
	movq	_db9_abs@GOTPCREL(%rip), %rsi
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rsi), %rax
	movl	8(%rax), %esi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movzbl	-7(%rax,%r14), %edx
	movq	%rbx, %rdi
	callq	_input_report_abs
	movq	_db9_abs@GOTPCREL(%rip), %rsi
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rsi), %rax
	movq	%rsi, %r13
	movl	(%rax), %esi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movzbl	-9(%rax,%r14), %eax
	movl	%eax, %ecx
	shrl	$7, %ecx
	xorl	$1, %ecx
	shrl	$6, %eax
	orl	$-2, %eax
	leal	(%rax,%rcx), %edx
	incl	%edx
	movq	%rbx, %rdi
	callq	_input_report_abs
	movq	(%r13), %rax
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movl	4(%rax), %esi
	movzbl	-9(%r12,%r14), %edx
	movl	%edx, %eax
	shrl	$5, %eax
	shrl	$4, %edx
	orl	$-2, %edx
	orl	$-2, %eax
	subl	%eax, %edx
	movq	%rbx, %rdi
	callq	_input_report_abs
	movq	_db9_cd32_btn@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movl	(%rax), %esi
	movq	_db9_saturn_byte@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movslq	(%rax), %rax
	addq	%r12, %rax
	movzbl	-10(%r14,%rax), %eax
	notb	%al
	movq	_db9_saturn_mask@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	andb	(%rcx), %al
	movzbl	%al, %edx
	movq	%rbx, %rdi
	callq	_input_report_key
	movq	_db9_cd32_btn@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movl	4(%rax), %esi
	movq	_db9_saturn_byte@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	4(%rax), %rax
	addq	%r12, %rax
	movzbl	-10(%r14,%rax), %eax
	notb	%al
	movq	(%r15), %rcx
	andb	1(%rcx), %al
	movzbl	%al, %edx
	movq	%rbx, %rdi
	callq	_input_report_key
	movq	(%r13), %rax
	movl	8(%rax), %esi
	movq	_db9_saturn_byte@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movslq	8(%rax), %rax
	addq	%r12, %rax
	movzbl	-10(%r14,%rax), %eax
	notb	%al
	movq	_db9_saturn_mask@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	andb	2(%rcx), %al
	movzbl	%al, %edx
	movq	%rbx, %rdi
	callq	_input_report_key
	movq	(%r13), %rax
	movl	12(%rax), %esi
	movq	(%r15), %rax
	movslq	12(%rax), %rax
	addq	%r12, %rax
	movzbl	-10(%r14,%rax), %eax
	notb	%al
	movq	_db9_saturn_mask@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	andb	3(%rcx), %al
	movzbl	%al, %edx
	movq	%rbx, %rdi
	callq	_input_report_key
	movq	_db9_cd32_btn@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	16(%rax), %esi
	movq	(%r15), %rax
	movslq	16(%rax), %rax
	addq	%r12, %rax
	movzbl	-10(%r14,%rax), %eax
	notb	%al
	movq	(%r13), %rcx
	andb	4(%rcx), %al
	movzbl	%al, %edx
	movq	%rbx, %rdi
	callq	_input_report_key
	movq	_db9_cd32_btn@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movl	20(%rax), %esi
	movq	_db9_saturn_byte@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movslq	20(%rax), %rax
	addq	%r12, %rax
	movzbl	-10(%r14,%rax), %eax
	notb	%al
	movq	_db9_saturn_mask@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	andb	5(%rcx), %al
	movzbl	%al, %edx
	movq	%rbx, %rdi
	callq	_input_report_key
	movq	(%r15), %rax
	movl	24(%rax), %esi
	movq	(%r13), %rax
	movslq	24(%rax), %rax
	addq	%r12, %rax
	movzbl	-10(%r14,%rax), %eax
	notb	%al
	movq	_db9_saturn_mask@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	andb	6(%rcx), %al
	movzbl	%al, %edx
	movq	%rbx, %rdi
	callq	_input_report_key
	movq	(%r15), %rax
	movl	28(%rax), %esi
	movq	(%r13), %rax
	movslq	28(%rax), %rax
	addq	%r12, %rax
	movzbl	-10(%r14,%rax), %eax
	notb	%al
	movq	_db9_saturn_mask@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	andb	7(%rcx), %al
	movzbl	%al, %edx
	movq	%rbx, %rdi
	callq	_input_report_key
	movq	(%r15), %rax
	movl	32(%rax), %esi
	movq	(%r13), %rax
	movslq	32(%rax), %rax
	addq	%r12, %rax
	movzbl	-10(%r14,%rax), %eax
	notb	%al
	movq	_db9_saturn_mask@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	andb	8(%rcx), %al
	movzbl	%al, %edx
	movq	%rbx, %rdi
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	callq	_input_report_key
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$-45, %al
	je	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$-29, %al
	jne	LBB0_13
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rsi, %r12
	movq	_BTN_START@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movzbl	-9(%r15,%r14), %edx
	andl	$8, %edx
	movq	%rbx, %rdi
	callq	_input_report_key
	movq	_BTN_A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzbl	-9(%r15,%r14), %edx
	andl	$4, %edx
	movq	%rbx, %rdi
	callq	_input_report_key
	movq	_BTN_C@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzbl	-9(%r15,%r14), %edx
	andl	$2, %edx
	movq	%rbx, %rdi
	callq	_input_report_key
	movq	_BTN_B@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzbl	-9(%r15,%r14), %edx
	andl	$1, %edx
	movq	%rbx, %rdi
	callq	_input_report_key
	movq	(%r12), %rax
	movl	8(%rax), %esi
	movzbl	-8(%r15,%r14), %edx
	xorl	$128, %edx
	movq	%rbx, %rdi
	callq	_input_report_abs
	movq	(%r12), %rax
	movl	12(%rax), %esi
	movzbl	-7(%r15,%r14), %edx
	xorl	$127, %edx
	incl	%edx
	jmp	LBB0_12
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rsi), %rax
	movq	%rsi, %r13
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_input_report_abs
	movq	(%r13), %rax
	movl	4(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_input_report_abs
	movq	_db9_cd32_btn@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_input_report_key
	movq	(%r15), %rax
	movl	4(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_input_report_key
	movq	(%r15), %rax
	movl	8(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_input_report_key
	movq	(%r15), %rax
	movl	12(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_input_report_key
	movq	(%r15), %rax
	movl	16(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_input_report_key
	movq	(%r15), %rax
	movl	20(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_input_report_key
	movq	(%r15), %rax
	movl	24(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_input_report_key
	movq	(%r15), %rax
	movl	28(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_input_report_key
	movq	(%r15), %rax
	movl	32(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	jmp	LBB0_14
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rsi), %rax
	movq	%rsi, %r15
	movl	(%rax), %esi
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movzbl	-9(%r12,%r14), %eax
	movl	%eax, %ecx
	shrl	$7, %ecx
	xorl	$1, %ecx
	shrl	$6, %eax
	orl	$-2, %eax
	leal	(%rax,%rcx), %edx
	incl	%edx
	movq	%rbx, %rdi
	callq	_input_report_abs
	movq	(%r15), %rax
	movl	4(%rax), %esi
	movzbl	-9(%r12,%r14), %edx
	movl	%edx, %eax
	shrl	$5, %eax
	shrl	$4, %edx
	orl	$-2, %edx
	orl	$-2, %eax
	subl	%eax, %edx
	movq	%rbx, %rdi
	callq	_input_report_abs
	movq	_db9_cd32_btn@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movl	(%rax), %esi
	movq	_db9_saturn_byte@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movslq	(%rax), %rax
	addq	%r12, %rax
	movzbl	-10(%r14,%rax), %eax
	notb	%al
	movq	_db9_saturn_mask@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	andb	(%rcx), %al
	movzbl	%al, %edx
	movq	%rbx, %rdi
	callq	_input_report_key
	movq	_db9_cd32_btn@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movl	4(%rax), %esi
	movq	_db9_saturn_byte@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	4(%rax), %rax
	addq	%r12, %rax
	movzbl	-10(%r14,%rax), %eax
	notb	%al
	movq	(%r15), %rcx
	andb	1(%rcx), %al
	movzbl	%al, %edx
	movq	%rbx, %rdi
	callq	_input_report_key
	movq	(%r13), %rax
	movl	8(%rax), %esi
	movq	_db9_saturn_byte@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movslq	8(%rax), %rax
	addq	%r12, %rax
	movzbl	-10(%r14,%rax), %eax
	notb	%al
	movq	_db9_saturn_mask@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	andb	2(%rcx), %al
	movzbl	%al, %edx
	movq	%rbx, %rdi
	callq	_input_report_key
	movq	(%r13), %rax
	movl	12(%rax), %esi
	movq	(%r15), %rax
	movslq	12(%rax), %rax
	addq	%r12, %rax
	movzbl	-10(%r14,%rax), %eax
	notb	%al
	movq	_db9_saturn_mask@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	andb	3(%rcx), %al
	movzbl	%al, %edx
	movq	%rbx, %rdi
	callq	_input_report_key
	movq	_db9_cd32_btn@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	16(%rax), %esi
	movq	(%r15), %rax
	movslq	16(%rax), %rax
	addq	%r12, %rax
	movzbl	-10(%r14,%rax), %eax
	notb	%al
	movq	(%r13), %rcx
	andb	4(%rcx), %al
	movzbl	%al, %edx
	movq	%rbx, %rdi
	callq	_input_report_key
	movq	_db9_cd32_btn@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movl	20(%rax), %esi
	movq	_db9_saturn_byte@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movslq	20(%rax), %rax
	addq	%r12, %rax
	movzbl	-10(%r14,%rax), %eax
	notb	%al
	movq	_db9_saturn_mask@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	andb	5(%rcx), %al
	movzbl	%al, %edx
	movq	%rbx, %rdi
	callq	_input_report_key
	movq	(%r15), %rax
	movl	24(%rax), %esi
	movq	(%r13), %rax
	movslq	24(%rax), %rax
	addq	%r12, %rax
	movzbl	-10(%r14,%rax), %eax
	notb	%al
	movq	_db9_saturn_mask@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	andb	6(%rcx), %al
	movzbl	%al, %edx
	movq	%rbx, %rdi
	callq	_input_report_key
	movq	(%r15), %rax
	movl	28(%rax), %esi
	movq	(%r13), %rax
	movslq	28(%rax), %rax
	addq	%r12, %rax
	movzbl	-10(%r14,%rax), %eax
	notb	%al
	movq	_db9_saturn_mask@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	andb	7(%rcx), %al
	movzbl	%al, %edx
	movq	%rbx, %rdi
	callq	_input_report_key
	movq	(%r15), %rax
	movl	32(%rax), %esi
	movq	(%r13), %rax
	movslq	32(%rax), %rax
	addq	%r12, %rax
	movzbl	-10(%r14,%rax), %eax
	notb	%al
	movq	_db9_saturn_mask@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	andb	8(%rcx), %al
	movzbl	%al, %edx
	movq	%rbx, %rdi
	callq	_input_report_key
	movq	_db9_abs@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movl	8(%rax), %esi
	movzbl	-7(%r12,%r14), %edx
	movq	%rbx, %rdi
	callq	_input_report_abs
	movq	(%r15), %rax
	movl	12(%rax), %esi
	movzbl	-6(%r12,%r14), %edx
	movq	%rbx, %rdi
	callq	_input_report_abs
	movq	(%r15), %rax
	movl	16(%rax), %esi
	movzbl	-5(%r12,%r14), %edx
	movq	%rbx, %rdi
	callq	_input_report_abs
	movq	(%r15), %rax
	movl	24(%rax), %esi
	movzbl	-3(%r12,%r14), %edx
	movq	%rbx, %rdi
	callq	_input_report_abs
	movq	(%r15), %rax
	movl	28(%rax), %esi
	movzbl	-2(%r12,%r14), %edx
	movq	%rbx, %rdi
	callq	_input_report_abs
	movq	(%r15), %rax
	movl	20(%rax), %esi
	movzbl	-1(%r12,%r14), %edx
	jmp	LBB0_12
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_BTN_A@GOTPCREL(%rip), %rax
	movq	%rsi, %r13
	movl	(%rax), %esi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movzbl	-7(%rax,%r14), %edx
	andl	$-128, %edx
	movq	%rbx, %rdi
	callq	_input_report_key
	movq	(%r13), %rax
	movl	8(%rax), %esi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movzbl	-7(%rax,%r14), %edx
	andl	$127, %edx
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_input_report_abs
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	-52(%rbp)                       ## 4-byte Folded Spill
	cmpq	-88(%rbp), %r14                 ## 8-byte Folded Reload
	jae	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	leaq	1(%rcx), %rax
	addq	$10, %r14
	cmpq	-72(%rbp), %rcx                 ## 8-byte Folded Reload
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	_db9_abs@GOTPCREL(%rip), %rsi
	jl	LBB0_2
LBB0_17:
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_8
	.long	L0_0_set_13
	.long	L0_0_set_7
	.long	L0_0_set_6
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_10
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.comm	_db9_abs,8,3                    ## @db9_abs
	.comm	_db9_cd32_btn,8,3               ## @db9_cd32_btn
	.comm	_db9_saturn_byte,8,3            ## @db9_saturn_byte
	.comm	_db9_saturn_mask,8,3            ## @db9_saturn_mask
	.comm	_BTN_A,4,2                      ## @BTN_A
	.comm	_BTN_START,4,2                  ## @BTN_START
	.comm	_BTN_C,4,2                      ## @BTN_C
	.comm	_BTN_B,4,2                      ## @BTN_B
	.no_dead_strip	_db9_saturn_report
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function db9_saturn_report
_db9_saturn_report:                     ; @db9_saturn_report
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
                                        ; kill: def $w4 killed $w4 def $x4
	mov	x19, x3
	cmp	w3, w4
	b.ge	LBB0_18
; %bb.1:
	mov	x20, x2
	mov	x21, x1
	cmp	w0, #65
	mov	w23, #10
	mov	w8, #60
	csel	x9, x8, x23, eq
                                        ; kill: def $w19 killed $w19 killed $x19 def $x19
	sxtw	x19, w19
	sxtw	x8, w4
	stp	x8, x9, [sp]                    ; 16-byte Folded Spill
Lloh0:
	adrp	x27, _db9_abs@GOTPAGE
Lloh1:
	ldr	x27, [x27, _db9_abs@GOTPAGEOFF]
Lloh2:
	adrp	x28, _db9_cd32_btn@GOTPAGE
Lloh3:
	ldr	x28, [x28, _db9_cd32_btn@GOTPAGEOFF]
Lloh4:
	adrp	x26, _db9_saturn_byte@GOTPAGE
Lloh5:
	ldr	x26, [x26, _db9_saturn_byte@GOTPAGEOFF]
Lloh6:
	adrp	x25, _db9_saturn_mask@GOTPAGE
Lloh7:
	ldr	x25, [x25, _db9_saturn_mask@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x22, [x20, x19, lsl #3]
	add	x8, x21, x23
	ldurb	w8, [x8, #-10]
	sub	w9, w8, #2
	cmp	w9, #50
	b.hi	LBB0_9
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh8:
	adrp	x11, lJTI0_0@PAGE
Lloh9:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x8, LBB0_4
	ldrh	w10, [x11, x9, lsl #1]
	add	x8, x8, x10, lsl #2
	br	x8
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x27]
	ldr	w1, [x8, #20]
	add	x8, x21, x23
	ldurb	w2, [x8, #-4]
	mov	x0, x22
	bl	_input_report_abs
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x27]
	ldr	w1, [x8, #12]
	add	x24, x21, x23
	ldurb	w2, [x24, #-6]
	mov	x0, x22
	bl	_input_report_abs
	ldr	x8, [x27]
	ldr	w1, [x8, #16]
	ldurb	w2, [x24, #-5]
	mov	x0, x22
	bl	_input_report_abs
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x27]
	ldr	w1, [x8, #8]
	add	x8, x21, x23
	ldurb	w2, [x8, #-7]
	mov	x0, x22
	bl	_input_report_abs
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x27]
	ldr	w1, [x8]
	add	x24, x21, x23
	ldurb	w8, [x24, #-9]
	lsr	w9, w8, #7
	eor	w9, w9, #0x1
	lsr	w8, w8, #6
	orr	w8, w8, #0xfffffffe
	add	w8, w8, w9
	add	w2, w8, #1
	mov	x0, x22
	bl	_input_report_abs
	ldr	x8, [x27]
	ldr	w1, [x8, #4]
	ldurb	w8, [x24, #-9]
	lsr	w9, w8, #5
	lsr	w8, w8, #4
	orr	w8, w8, #0xfffffffe
	orr	w9, w9, #0xfffffffe
	sub	w2, w8, w9
	mov	x0, x22
	bl	_input_report_abs
	ldr	x8, [x28]
	ldr	w1, [x8]
	ldr	x8, [x26]
	ldrsw	x8, [x8]
	add	x8, x23, x8
	add	x8, x21, x8
	ldurb	w8, [x8, #-10]
	eor	w8, w8, #0xff
	ldr	x9, [x25]
	ldrb	w9, [x9]
	and	w2, w9, w8
	mov	x0, x22
	bl	_input_report_key
	ldr	x8, [x28]
	ldr	w1, [x8, #4]
	ldr	x8, [x26]
	ldrsw	x8, [x8, #4]
	add	x8, x23, x8
	add	x8, x21, x8
	ldurb	w8, [x8, #-10]
	eor	w8, w8, #0xff
	ldr	x9, [x25]
	ldrb	w9, [x9, #1]
	and	w2, w9, w8
	mov	x0, x22
	bl	_input_report_key
	ldr	x8, [x28]
	ldr	w1, [x8, #8]
	ldr	x8, [x26]
	ldrsw	x8, [x8, #8]
	add	x8, x23, x8
	add	x8, x21, x8
	ldurb	w8, [x8, #-10]
	eor	w8, w8, #0xff
	ldr	x9, [x25]
	ldrb	w9, [x9, #2]
	and	w2, w9, w8
	mov	x0, x22
	bl	_input_report_key
	ldr	x8, [x28]
	ldr	w1, [x8, #12]
	ldr	x8, [x26]
	ldrsw	x8, [x8, #12]
	add	x8, x23, x8
	add	x8, x21, x8
	ldurb	w8, [x8, #-10]
	eor	w8, w8, #0xff
	ldr	x9, [x25]
	ldrb	w9, [x9, #3]
	and	w2, w9, w8
	mov	x0, x22
	bl	_input_report_key
	ldr	x8, [x28]
	ldr	w1, [x8, #16]
	ldr	x8, [x26]
	ldrsw	x8, [x8, #16]
	add	x8, x23, x8
	add	x8, x21, x8
	ldurb	w8, [x8, #-10]
	eor	w8, w8, #0xff
	ldr	x9, [x25]
	ldrb	w9, [x9, #4]
	and	w2, w9, w8
	mov	x0, x22
	bl	_input_report_key
	ldr	x8, [x28]
	ldr	w1, [x8, #20]
	ldr	x8, [x26]
	ldrsw	x8, [x8, #20]
	add	x8, x23, x8
	add	x8, x21, x8
	ldurb	w8, [x8, #-10]
	eor	w8, w8, #0xff
	ldr	x9, [x25]
	ldrb	w9, [x9, #5]
	and	w2, w9, w8
	mov	x0, x22
	bl	_input_report_key
	ldr	x8, [x28]
	ldr	w1, [x8, #24]
	ldr	x8, [x26]
	ldrsw	x8, [x8, #24]
	add	x8, x23, x8
	add	x8, x21, x8
	ldurb	w8, [x8, #-10]
	eor	w8, w8, #0xff
	ldr	x9, [x25]
	ldrb	w9, [x9, #6]
	and	w2, w9, w8
	mov	x0, x22
	bl	_input_report_key
	ldr	x8, [x28]
	ldr	w1, [x8, #28]
	ldr	x8, [x26]
	ldrsw	x8, [x8, #28]
	add	x8, x23, x8
	add	x8, x21, x8
	ldurb	w8, [x8, #-10]
	eor	w8, w8, #0xff
	ldr	x9, [x25]
	ldrb	w9, [x9, #7]
	and	w2, w9, w8
	mov	x0, x22
	bl	_input_report_key
	ldr	x8, [x28]
	ldr	w1, [x8, #32]
	ldr	x8, [x26]
	ldrsw	x8, [x8, #32]
	add	x8, x23, x8
	add	x8, x21, x8
	ldurb	w8, [x8, #-10]
	eor	w8, w8, #0xff
	ldr	x9, [x25]
	ldrb	w9, [x9, #8]
	and	w2, w9, w8
	mov	x0, x22
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	bl	_input_report_key
	b	LBB0_16
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	w8, #211
	b.eq	LBB0_14
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	cmp	w8, #227
	b.ne	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh10:
	adrp	x8, _BTN_START@GOTPAGE
Lloh11:
	ldr	x8, [x8, _BTN_START@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	add	x24, x21, x23
	ldurb	w8, [x24, #-9]
	and	w2, w8, #0x8
	mov	x0, x22
	bl	_input_report_key
Lloh13:
	adrp	x8, _BTN_A@GOTPAGE
Lloh14:
	ldr	x8, [x8, _BTN_A@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	ldurb	w8, [x24, #-9]
	and	w2, w8, #0x4
	mov	x0, x22
	bl	_input_report_key
Lloh16:
	adrp	x8, _BTN_C@GOTPAGE
Lloh17:
	ldr	x8, [x8, _BTN_C@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	ldurb	w8, [x24, #-9]
	and	w2, w8, #0x2
	mov	x0, x22
	bl	_input_report_key
Lloh19:
	adrp	x8, _BTN_B@GOTPAGE
Lloh20:
	ldr	x8, [x8, _BTN_B@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	ldurb	w8, [x24, #-9]
	and	w2, w8, #0x1
	mov	x0, x22
	bl	_input_report_key
	ldr	x8, [x27]
	ldr	w1, [x8, #8]
	ldurb	w8, [x24, #-8]
	eor	w2, w8, #0x80
	mov	x0, x22
	bl	_input_report_abs
	ldr	x8, [x27]
	ldr	w1, [x8, #12]
	ldurb	w8, [x24, #-7]
	eor	w8, w8, #0x7f
	add	w2, w8, #1
	b	LBB0_15
LBB0_12:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x27]
	ldr	w1, [x8]
	mov	x0, x22
	mov	w2, #0
	bl	_input_report_abs
	ldr	x8, [x27]
	ldr	w1, [x8, #4]
	mov	x0, x22
	mov	w2, #0
	bl	_input_report_abs
	ldr	x8, [x28]
	ldr	w1, [x8]
	mov	x0, x22
	mov	w2, #0
	bl	_input_report_key
	ldr	x8, [x28]
	ldr	w1, [x8, #4]
	mov	x0, x22
	mov	w2, #0
	bl	_input_report_key
	ldr	x8, [x28]
	ldr	w1, [x8, #8]
	mov	x0, x22
	mov	w2, #0
	bl	_input_report_key
	ldr	x8, [x28]
	ldr	w1, [x8, #12]
	mov	x0, x22
	mov	w2, #0
	bl	_input_report_key
	ldr	x8, [x28]
	ldr	w1, [x8, #16]
	mov	x0, x22
	mov	w2, #0
	bl	_input_report_key
	ldr	x8, [x28]
	ldr	w1, [x8, #20]
	mov	x0, x22
	mov	w2, #0
	bl	_input_report_key
	ldr	x8, [x28]
	ldr	w1, [x8, #24]
	mov	x0, x22
	mov	w2, #0
	bl	_input_report_key
	ldr	x8, [x28]
	ldr	w1, [x8, #28]
	mov	x0, x22
	mov	w2, #0
	bl	_input_report_key
	ldr	x8, [x28]
	ldr	w1, [x8, #32]
	mov	x0, x22
	mov	w2, #0
	b	LBB0_8
LBB0_13:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x27]
	ldr	w1, [x8]
	add	x24, x21, x23
	ldurb	w8, [x24, #-9]
	lsr	w9, w8, #7
	eor	w9, w9, #0x1
	lsr	w8, w8, #6
	orr	w8, w8, #0xfffffffe
	add	w8, w8, w9
	add	w2, w8, #1
	mov	x0, x22
	bl	_input_report_abs
	ldr	x8, [x27]
	ldr	w1, [x8, #4]
	ldurb	w8, [x24, #-9]
	lsr	w9, w8, #5
	lsr	w8, w8, #4
	orr	w8, w8, #0xfffffffe
	orr	w9, w9, #0xfffffffe
	sub	w2, w8, w9
	mov	x0, x22
	bl	_input_report_abs
	ldr	x8, [x28]
	ldr	w1, [x8]
	ldr	x8, [x26]
	ldrsw	x8, [x8]
	add	x8, x23, x8
	add	x8, x21, x8
	ldurb	w8, [x8, #-10]
	eor	w8, w8, #0xff
	ldr	x9, [x25]
	ldrb	w9, [x9]
	and	w2, w9, w8
	mov	x0, x22
	bl	_input_report_key
	ldr	x8, [x28]
	ldr	w1, [x8, #4]
	ldr	x8, [x26]
	ldrsw	x8, [x8, #4]
	add	x8, x23, x8
	add	x8, x21, x8
	ldurb	w8, [x8, #-10]
	eor	w8, w8, #0xff
	ldr	x9, [x25]
	ldrb	w9, [x9, #1]
	and	w2, w9, w8
	mov	x0, x22
	bl	_input_report_key
	ldr	x8, [x28]
	ldr	w1, [x8, #8]
	ldr	x8, [x26]
	ldrsw	x8, [x8, #8]
	add	x8, x23, x8
	add	x8, x21, x8
	ldurb	w8, [x8, #-10]
	eor	w8, w8, #0xff
	ldr	x9, [x25]
	ldrb	w9, [x9, #2]
	and	w2, w9, w8
	mov	x0, x22
	bl	_input_report_key
	ldr	x8, [x28]
	ldr	w1, [x8, #12]
	ldr	x8, [x26]
	ldrsw	x8, [x8, #12]
	add	x8, x23, x8
	add	x8, x21, x8
	ldurb	w8, [x8, #-10]
	eor	w8, w8, #0xff
	ldr	x9, [x25]
	ldrb	w9, [x9, #3]
	and	w2, w9, w8
	mov	x0, x22
	bl	_input_report_key
	ldr	x8, [x28]
	ldr	w1, [x8, #16]
	ldr	x8, [x26]
	ldrsw	x8, [x8, #16]
	add	x8, x23, x8
	add	x8, x21, x8
	ldurb	w8, [x8, #-10]
	eor	w8, w8, #0xff
	ldr	x9, [x25]
	ldrb	w9, [x9, #4]
	and	w2, w9, w8
	mov	x0, x22
	bl	_input_report_key
	ldr	x8, [x28]
	ldr	w1, [x8, #20]
	ldr	x8, [x26]
	ldrsw	x8, [x8, #20]
	add	x8, x23, x8
	add	x8, x21, x8
	ldurb	w8, [x8, #-10]
	eor	w8, w8, #0xff
	ldr	x9, [x25]
	ldrb	w9, [x9, #5]
	and	w2, w9, w8
	mov	x0, x22
	bl	_input_report_key
	ldr	x8, [x28]
	ldr	w1, [x8, #24]
	ldr	x8, [x26]
	ldrsw	x8, [x8, #24]
	add	x8, x23, x8
	add	x8, x21, x8
	ldurb	w8, [x8, #-10]
	eor	w8, w8, #0xff
	ldr	x9, [x25]
	ldrb	w9, [x9, #6]
	and	w2, w9, w8
	mov	x0, x22
	bl	_input_report_key
	ldr	x8, [x28]
	ldr	w1, [x8, #28]
	ldr	x8, [x26]
	ldrsw	x8, [x8, #28]
	add	x8, x23, x8
	add	x8, x21, x8
	ldurb	w8, [x8, #-10]
	eor	w8, w8, #0xff
	ldr	x9, [x25]
	ldrb	w9, [x9, #7]
	and	w2, w9, w8
	mov	x0, x22
	bl	_input_report_key
	ldr	x8, [x28]
	ldr	w1, [x8, #32]
	ldr	x8, [x26]
	ldrsw	x8, [x8, #32]
	add	x8, x23, x8
	add	x8, x21, x8
	ldurb	w8, [x8, #-10]
	eor	w8, w8, #0xff
	ldr	x9, [x25]
	ldrb	w9, [x9, #8]
	and	w2, w9, w8
	mov	x0, x22
	bl	_input_report_key
	ldr	x8, [x27]
	ldr	w1, [x8, #8]
	ldurb	w2, [x24, #-7]
	mov	x0, x22
	bl	_input_report_abs
	ldr	x8, [x27]
	ldr	w1, [x8, #12]
	ldurb	w2, [x24, #-6]
	mov	x0, x22
	bl	_input_report_abs
	ldr	x8, [x27]
	ldr	w1, [x8, #16]
	ldurb	w2, [x24, #-5]
	mov	x0, x22
	bl	_input_report_abs
	ldr	x8, [x27]
	ldr	w1, [x8, #24]
	ldurb	w2, [x24, #-3]
	mov	x0, x22
	bl	_input_report_abs
	ldr	x8, [x27]
	ldr	w1, [x8, #28]
	ldurb	w2, [x24, #-2]
	mov	x0, x22
	bl	_input_report_abs
	ldr	x8, [x27]
	ldr	w1, [x8, #20]
	ldurb	w2, [x24, #-1]
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh22:
	adrp	x8, _BTN_A@GOTPAGE
Lloh23:
	ldr	x8, [x8, _BTN_A@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	add	x24, x21, x23
	ldurb	w8, [x24, #-7]
	and	w2, w8, #0x80
	mov	x0, x22
	bl	_input_report_key
	ldr	x8, [x27]
	ldr	w1, [x8, #8]
	ldurb	w8, [x24, #-7]
	and	w2, w8, #0x7f
LBB0_15:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x22
	bl	_input_report_abs
LBB0_16:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x19, x19, #1
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	cmp	x23, x8
	b.hs	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_2 Depth=1
	add	x23, x23, #10
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	cmp	x19, x8
	b.lt	LBB0_2
LBB0_18:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
	.section	__TEXT,__const
	.p2align	1
lJTI0_0:
	.short	(LBB0_7-LBB0_4)>>2
	.short	(LBB0_12-LBB0_4)>>2
	.short	(LBB0_12-LBB0_4)>>2
	.short	(LBB0_12-LBB0_4)>>2
	.short	(LBB0_12-LBB0_4)>>2
	.short	(LBB0_12-LBB0_4)>>2
	.short	(LBB0_12-LBB0_4)>>2
	.short	(LBB0_12-LBB0_4)>>2
	.short	(LBB0_12-LBB0_4)>>2
	.short	(LBB0_12-LBB0_4)>>2
	.short	(LBB0_12-LBB0_4)>>2
	.short	(LBB0_12-LBB0_4)>>2
	.short	(LBB0_12-LBB0_4)>>2
	.short	(LBB0_12-LBB0_4)>>2
	.short	(LBB0_12-LBB0_4)>>2
	.short	(LBB0_12-LBB0_4)>>2
	.short	(LBB0_12-LBB0_4)>>2
	.short	(LBB0_6-LBB0_4)>>2
	.short	(LBB0_12-LBB0_4)>>2
	.short	(LBB0_5-LBB0_4)>>2
	.short	(LBB0_4-LBB0_4)>>2
	.short	(LBB0_12-LBB0_4)>>2
	.short	(LBB0_12-LBB0_4)>>2
	.short	(LBB0_13-LBB0_4)>>2
	.short	(LBB0_12-LBB0_4)>>2
	.short	(LBB0_12-LBB0_4)>>2
	.short	(LBB0_12-LBB0_4)>>2
	.short	(LBB0_12-LBB0_4)>>2
	.short	(LBB0_12-LBB0_4)>>2
	.short	(LBB0_12-LBB0_4)>>2
	.short	(LBB0_12-LBB0_4)>>2
	.short	(LBB0_12-LBB0_4)>>2
	.short	(LBB0_12-LBB0_4)>>2
	.short	(LBB0_12-LBB0_4)>>2
	.short	(LBB0_12-LBB0_4)>>2
	.short	(LBB0_12-LBB0_4)>>2
	.short	(LBB0_12-LBB0_4)>>2
	.short	(LBB0_12-LBB0_4)>>2
	.short	(LBB0_12-LBB0_4)>>2
	.short	(LBB0_12-LBB0_4)>>2
	.short	(LBB0_12-LBB0_4)>>2
	.short	(LBB0_12-LBB0_4)>>2
	.short	(LBB0_12-LBB0_4)>>2
	.short	(LBB0_12-LBB0_4)>>2
	.short	(LBB0_12-LBB0_4)>>2
	.short	(LBB0_12-LBB0_4)>>2
	.short	(LBB0_12-LBB0_4)>>2
	.short	(LBB0_12-LBB0_4)>>2
	.short	(LBB0_12-LBB0_4)>>2
	.short	(LBB0_12-LBB0_4)>>2
	.short	(LBB0_7-LBB0_4)>>2
                                        ; -- End function
	.comm	_db9_abs,8,3                    ; @db9_abs
	.comm	_db9_cd32_btn,8,3               ; @db9_cd32_btn
	.comm	_db9_saturn_byte,8,3            ; @db9_saturn_byte
	.comm	_db9_saturn_mask,8,3            ; @db9_saturn_mask
	.comm	_BTN_A,4,2                      ; @BTN_A
	.comm	_BTN_START,4,2                  ; @BTN_START
	.comm	_BTN_C,4,2                      ; @BTN_C
	.comm	_BTN_B,4,2                      ; @BTN_B
	.no_dead_strip	_db9_saturn_report
.subsections_via_symbols
