	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_input_init                     ## -- Begin function input_init
	.p2align	4, 0x90
_input_init:                            ## @input_init
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_MAX_DEVICES@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	testl	%r8d, %r8d
	jle	LBB0_7
## %bb.1:
	cmpl	$1, %r8d
	jne	LBB0_3
## %bb.2:
	xorl	%ecx, %ecx
	jmp	LBB0_5
LBB0_3:
	movl	%r8d, %edx
	andl	$-2, %edx
	xorl	%ecx, %ecx
	movq	_NO_DEVICE@GOTPCREL(%rip), %rsi
	movq	_input@GOTPCREL(%rip), %rdi
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rsi), %rbx
	movq	8(%rdi), %rax
	movq	%rbx, (%rax,%rcx,8)
	movq	16(%rdi), %rax
	movq	$0, (%rax,%rcx,8)
	movq	(%rsi), %rax
	movq	8(%rdi), %rbx
	movq	%rax, 8(%rbx,%rcx,8)
	movq	16(%rdi), %rax
	movq	$0, 8(%rax,%rcx,8)
	addq	$2, %rcx
	cmpq	%rcx, %rdx
	jne	LBB0_4
LBB0_5:
	testb	$1, %r8b
	je	LBB0_7
## %bb.6:
	movq	_NO_DEVICE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_input@GOTPCREL(%rip), %rdx
	movq	8(%rdx), %rsi
	movq	%rax, (%rsi,%rcx,8)
	movq	16(%rdx), %rax
	movq	$0, (%rax,%rcx,8)
LBB0_7:
	movq	_system_hw@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_SYSTEM_PICO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.8:
	movq	_DEVICE_PICO@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_10:
	movq	_cart@GOTPCREL(%rip), %r15
	movq	_HW_TEREBI_OEKAKI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_12
## %bb.11:
	movq	_DEVICE_TEREBI@GOTPCREL(%rip), %rax
LBB0_9:
	movq	(%rax), %rax
	movq	_input@GOTPCREL(%rip), %rcx
	movq	8(%rcx), %rcx
	movq	%rax, (%rcx)
LBB0_74:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	_input@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movl	(%rax), %eax
	xorl	%ebx, %ebx
	addl	$-128, %eax
	cmpl	$11, %eax
	ja	LBB0_42
## %bb.13:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_22:
	movq	_DEVICE_XE_A1P@GOTPCREL(%rip), %rax
	jmp	LBB0_41
LBB0_16:
	movq	_MAX_INPUTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_17
## %bb.23:
	movq	_config@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	movq	8(%r14), %rdx
	movq	%rcx, (%rdx)
	movl	$1, %ebx
	jmp	LBB0_24
LBB0_14:
	movq	_MAX_INPUTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_15
## %bb.30:
	movq	_config@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	movq	8(%r14), %rdx
	movq	%rcx, (%rdx)
	movl	$1, %ebx
	jmp	LBB0_31
LBB0_40:
	movq	_DEVICE_SPORTSPAD@GOTPCREL(%rip), %rax
	jmp	LBB0_41
LBB0_39:
	movq	_DEVICE_PADDLE@GOTPCREL(%rip), %rax
	jmp	LBB0_41
LBB0_18:
	movq	_DEVICE_PAD2B@GOTPCREL(%rip), %rax
	jmp	LBB0_41
LBB0_20:
	movq	_DEVICE_MOUSE@GOTPCREL(%rip), %rax
	jmp	LBB0_41
LBB0_19:
	movq	_config@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_41
LBB0_38:
	movq	_DEVICE_LIGHTGUN@GOTPCREL(%rip), %rax
	jmp	LBB0_41
LBB0_21:
	movq	_DEVICE_ACTIVATOR@GOTPCREL(%rip), %rax
LBB0_41:
	movq	(%rax), %rax
	movq	8(%r14), %rcx
	movq	%rax, (%rcx)
	movl	$1, %ebx
LBB0_42:
	movq	_MAX_INPUTS@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	cmpl	%eax, %ebx
	je	LBB0_74
## %bb.43:
	movq	(%r14), %rcx
	movl	4(%rcx), %ecx
	addl	$-128, %ecx
	cmpl	$11, %ecx
	ja	LBB0_69
## %bb.44:
	leaq	LJTI0_1(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_63:
	movq	_DEVICE_LIGHTGUN@GOTPCREL(%rip), %rax
	jmp	LBB0_66
LBB0_62:
	movq	_DEVICE_XE_A1P@GOTPCREL(%rip), %rax
	jmp	LBB0_66
LBB0_45:
	cmpl	%eax, %ebx
	jl	LBB0_46
## %bb.47:
	cmpl	%eax, %ebx
	jl	LBB0_48
LBB0_49:
	cmpl	%eax, %ebx
	jl	LBB0_50
LBB0_51:
	cmpl	%eax, %ebx
	jge	LBB0_53
LBB0_52:
	movq	_config@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%ebx, %ecx
	movq	(%rax,%rcx,8), %rax
	movq	8(%r14), %rcx
	movq	%rax, 56(%rcx)
	incl	%ebx
LBB0_53:
	movl	$1, %edi
	callq	_teamplayer_init
	jmp	LBB0_69
LBB0_65:
	movq	_DEVICE_SPORTSPAD@GOTPCREL(%rip), %rax
	jmp	LBB0_66
LBB0_64:
	movq	_DEVICE_PADDLE@GOTPCREL(%rip), %rax
	jmp	LBB0_66
LBB0_58:
	movq	_DEVICE_PAD2B@GOTPCREL(%rip), %rax
	jmp	LBB0_66
LBB0_60:
	movq	_DEVICE_MOUSE@GOTPCREL(%rip), %rax
	jmp	LBB0_66
LBB0_54:
	cmpl	%eax, %ebx
	jge	LBB0_56
## %bb.55:
	movq	_DEVICE_LIGHTGUN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	8(%r14), %rdx
	movq	%rcx, 32(%rdx)
	incl	%ebx
LBB0_56:
	cmpl	%eax, %ebx
	jge	LBB0_69
## %bb.57:
	movq	_DEVICE_LIGHTGUN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%r14), %rcx
	movq	%rax, 40(%rcx)
	jmp	LBB0_68
LBB0_61:
	movq	_DEVICE_ACTIVATOR@GOTPCREL(%rip), %rax
LBB0_66:
	movq	(%rax), %rax
LBB0_67:
	movq	8(%r14), %rcx
	movq	%rax, 32(%rcx)
LBB0_68:
	incl	%ebx
LBB0_69:
	movq	_HW_J_CART@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_74
## %bb.70:
	movl	(%r12), %eax
	cmpl	%eax, %ebx
	jge	LBB0_72
## %bb.71:
	movq	_config@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%ebx, %edx
	movq	(%rcx,%rdx,8), %rcx
	movq	8(%r14), %rdx
	movq	%rcx, 40(%rdx)
	incl	%ebx
LBB0_72:
	cmpl	%eax, %ebx
	jge	LBB0_74
## %bb.73:
	movq	_config@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%ebx, %ecx
	movq	(%rax,%rcx,8), %rax
	movq	8(%r14), %rcx
	movq	%rax, 48(%rcx)
	jmp	LBB0_74
LBB0_59:
	movq	_config@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%ebx, %ecx
	movq	(%rax,%rcx,8), %rax
	jmp	LBB0_67
LBB0_17:
	xorl	%ebx, %ebx
LBB0_24:
	cmpl	%eax, %ebx
	jl	LBB0_25
## %bb.26:
	cmpl	%eax, %ebx
	jl	LBB0_27
LBB0_28:
	cmpl	%eax, %ebx
	jge	LBB0_42
	jmp	LBB0_29
LBB0_25:
	movq	_config@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%ebx, %edx
	movq	(%rcx,%rdx,8), %rcx
	movq	8(%r14), %rdx
	movq	%rcx, 8(%rdx)
	incl	%ebx
	cmpl	%eax, %ebx
	jge	LBB0_28
LBB0_27:
	movq	_config@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%ebx, %edx
	movq	(%rcx,%rdx,8), %rcx
	movq	8(%r14), %rdx
	movq	%rcx, 16(%rdx)
	incl	%ebx
	cmpl	%eax, %ebx
	jge	LBB0_42
LBB0_29:
	movq	_config@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%ebx, %ecx
	movq	(%rax,%rcx,8), %rax
	movq	8(%r14), %rcx
	movq	%rax, 24(%rcx)
	incl	%ebx
	jmp	LBB0_42
LBB0_15:
	xorl	%ebx, %ebx
LBB0_31:
	cmpl	%eax, %ebx
	jl	LBB0_32
## %bb.33:
	cmpl	%eax, %ebx
	jl	LBB0_34
LBB0_35:
	cmpl	%eax, %ebx
	jge	LBB0_37
LBB0_36:
	movq	_config@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%ebx, %ecx
	movq	(%rax,%rcx,8), %rax
	movq	8(%r14), %rcx
	movq	%rax, 24(%rcx)
	incl	%ebx
LBB0_37:
	xorl	%edi, %edi
	callq	_teamplayer_init
	jmp	LBB0_42
LBB0_32:
	movq	_config@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%ebx, %edx
	movq	(%rcx,%rdx,8), %rcx
	movq	8(%r14), %rdx
	movq	%rcx, 8(%rdx)
	incl	%ebx
	cmpl	%eax, %ebx
	jge	LBB0_35
LBB0_34:
	movq	_config@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%ebx, %edx
	movq	(%rcx,%rdx,8), %rcx
	movq	8(%r14), %rdx
	movq	%rcx, 16(%rdx)
	incl	%ebx
	cmpl	%eax, %ebx
	jl	LBB0_36
	jmp	LBB0_37
LBB0_46:
	movq	_config@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%ebx, %edx
	movq	(%rcx,%rdx,8), %rcx
	movq	8(%r14), %rdx
	movq	%rcx, 32(%rdx)
	incl	%ebx
	cmpl	%eax, %ebx
	jge	LBB0_49
LBB0_48:
	movq	_config@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%ebx, %edx
	movq	(%rcx,%rdx,8), %rcx
	movq	8(%r14), %rdx
	movq	%rcx, 40(%rdx)
	incl	%ebx
	cmpl	%eax, %ebx
	jge	LBB0_51
LBB0_50:
	movq	_config@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%ebx, %edx
	movq	(%rcx,%rdx,8), %rcx
	movq	8(%r14), %rdx
	movq	%rcx, 48(%rdx)
	incl	%ebx
	cmpl	%eax, %ebx
	jl	LBB0_52
	jmp	LBB0_53
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_40, LBB0_40-LJTI0_0
.set L0_0_set_39, LBB0_39-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_42, LBB0_42-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_38, LBB0_38-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
LJTI0_0:
	.long	L0_0_set_22
	.long	L0_0_set_16
	.long	L0_0_set_14
	.long	L0_0_set_40
	.long	L0_0_set_39
	.long	L0_0_set_18
	.long	L0_0_set_20
	.long	L0_0_set_42
	.long	L0_0_set_19
	.long	L0_0_set_38
	.long	L0_0_set_42
	.long	L0_0_set_21
.set L0_1_set_62, LBB0_62-LJTI0_1
.set L0_1_set_69, LBB0_69-LJTI0_1
.set L0_1_set_45, LBB0_45-LJTI0_1
.set L0_1_set_65, LBB0_65-LJTI0_1
.set L0_1_set_64, LBB0_64-LJTI0_1
.set L0_1_set_58, LBB0_58-LJTI0_1
.set L0_1_set_60, LBB0_60-LJTI0_1
.set L0_1_set_63, LBB0_63-LJTI0_1
.set L0_1_set_59, LBB0_59-LJTI0_1
.set L0_1_set_54, LBB0_54-LJTI0_1
.set L0_1_set_61, LBB0_61-LJTI0_1
LJTI0_1:
	.long	L0_1_set_62
	.long	L0_1_set_69
	.long	L0_1_set_45
	.long	L0_1_set_65
	.long	L0_1_set_64
	.long	L0_1_set_58
	.long	L0_1_set_60
	.long	L0_1_set_63
	.long	L0_1_set_59
	.long	L0_1_set_63
	.long	L0_1_set_54
	.long	L0_1_set_61
	.end_data_region
                                        ## -- End function
	.comm	_MAX_DEVICES,4,2                ## @MAX_DEVICES
	.comm	_NO_DEVICE,8,3                  ## @NO_DEVICE
	.comm	_input,24,3                     ## @input
	.comm	_system_hw,8,3                  ## @system_hw
	.comm	_SYSTEM_PICO,8,3                ## @SYSTEM_PICO
	.comm	_DEVICE_PICO,8,3                ## @DEVICE_PICO
	.comm	_cart,4,2                       ## @cart
	.comm	_HW_TEREBI_OEKAKI,4,2           ## @HW_TEREBI_OEKAKI
	.comm	_DEVICE_TEREBI,8,3              ## @DEVICE_TEREBI
	.comm	_DEVICE_PAD2B,8,3               ## @DEVICE_PAD2B
	.comm	_config,8,3                     ## @config
	.comm	_DEVICE_MOUSE,8,3               ## @DEVICE_MOUSE
	.comm	_DEVICE_ACTIVATOR,8,3           ## @DEVICE_ACTIVATOR
	.comm	_DEVICE_XE_A1P,8,3              ## @DEVICE_XE_A1P
	.comm	_MAX_INPUTS,4,2                 ## @MAX_INPUTS
	.comm	_DEVICE_LIGHTGUN,8,3            ## @DEVICE_LIGHTGUN
	.comm	_DEVICE_PADDLE,8,3              ## @DEVICE_PADDLE
	.comm	_DEVICE_SPORTSPAD,8,3           ## @DEVICE_SPORTSPAD
	.comm	_HW_J_CART,4,2                  ## @HW_J_CART
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_input_init                     ; -- Begin function input_init
	.p2align	2
_input_init:                            ; @input_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x8, _MAX_DEVICES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_DEVICES@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x8, #0
	lsl	x9, x9, #3
Lloh3:
	adrp	x10, _NO_DEVICE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _NO_DEVICE@GOTPAGEOFF]
Lloh5:
	adrp	x11, _input@GOTPAGE
Lloh6:
	ldr	x11, [x11, _input@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x10]
	ldr	x13, [x11, #8]
	str	x12, [x13, x8]
	ldr	x12, [x11, #16]
	str	xzr, [x12, x8]
	add	x8, x8, #8
	cmp	x9, x8
	b.ne	LBB0_2
LBB0_3:
Lloh7:
	adrp	x8, _system_hw@GOTPAGE
Lloh8:
	ldr	x8, [x8, _system_hw@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
Lloh10:
	adrp	x9, _SYSTEM_PICO@GOTPAGE
Lloh11:
	ldr	x9, [x9, _SYSTEM_PICO@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
Lloh13:
	adrp	x8, _DEVICE_PICO@GOTPAGE
Lloh14:
	ldr	x8, [x8, _DEVICE_PICO@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
Lloh15:
	adrp	x20, _cart@GOTPAGE
Lloh16:
	ldr	x20, [x20, _cart@GOTPAGEOFF]
	ldr	w8, [x20]
Lloh17:
	adrp	x9, _HW_TEREBI_OEKAKI@GOTPAGE
Lloh18:
	ldr	x9, [x9, _HW_TEREBI_OEKAKI@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.6:
Lloh20:
	adrp	x8, _DEVICE_TEREBI@GOTPAGE
Lloh21:
	ldr	x8, [x8, _DEVICE_TEREBI@GOTPAGEOFF]
LBB0_7:
	ldr	x8, [x8]
Lloh22:
	adrp	x9, _input@GOTPAGE
Lloh23:
	ldr	x9, [x9, _input@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9, #8]
	str	x8, [x9]
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_9:
	mov	w22, #0
Lloh25:
	adrp	x19, _input@GOTPAGE
Lloh26:
	ldr	x19, [x19, _input@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	w8, [x8]
	sub	w8, w8, #128
Lloh27:
	adrp	x21, _MAX_INPUTS@GOTPAGE
Lloh28:
	ldr	x21, [x21, _MAX_INPUTS@GOTPAGEOFF]
	cmp	w8, #11
	b.hi	LBB0_24
; %bb.10:
Lloh29:
	adrp	x9, lJTI0_0@PAGE
Lloh30:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_11
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_11:
Lloh31:
	adrp	x8, _DEVICE_XE_A1P@GOTPAGE
Lloh32:
	ldr	x8, [x8, _DEVICE_XE_A1P@GOTPAGEOFF]
	b	LBB0_23
LBB0_12:
	ldr	w8, [x21]
	cmp	w8, #0
	b.le	LBB0_53
; %bb.13:
Lloh33:
	adrp	x9, _config@GOTPAGE
Lloh34:
	ldr	x9, [x9, _config@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	ldr	x9, [x9]
	ldr	x10, [x19, #8]
	str	x9, [x10]
	mov	w22, #1
	b	LBB0_54
LBB0_14:
	ldr	w8, [x21]
	cmp	w8, #0
	b.le	LBB0_60
; %bb.15:
Lloh36:
	adrp	x9, _config@GOTPAGE
Lloh37:
	ldr	x9, [x9, _config@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	ldr	x9, [x9]
	ldr	x10, [x19, #8]
	str	x9, [x10]
	mov	w22, #1
	b	LBB0_61
LBB0_16:
Lloh39:
	adrp	x8, _DEVICE_SPORTSPAD@GOTPAGE
Lloh40:
	ldr	x8, [x8, _DEVICE_SPORTSPAD@GOTPAGEOFF]
	b	LBB0_23
LBB0_17:
Lloh41:
	adrp	x8, _DEVICE_PADDLE@GOTPAGE
Lloh42:
	ldr	x8, [x8, _DEVICE_PADDLE@GOTPAGEOFF]
	b	LBB0_23
LBB0_18:
Lloh43:
	adrp	x8, _DEVICE_PAD2B@GOTPAGE
Lloh44:
	ldr	x8, [x8, _DEVICE_PAD2B@GOTPAGEOFF]
	b	LBB0_23
LBB0_19:
Lloh45:
	adrp	x8, _DEVICE_MOUSE@GOTPAGE
Lloh46:
	ldr	x8, [x8, _DEVICE_MOUSE@GOTPAGEOFF]
	b	LBB0_23
LBB0_20:
Lloh47:
	adrp	x8, _config@GOTPAGE
Lloh48:
	ldr	x8, [x8, _config@GOTPAGEOFF]
Lloh49:
	ldr	x8, [x8]
	b	LBB0_23
LBB0_21:
Lloh50:
	adrp	x8, _DEVICE_LIGHTGUN@GOTPAGE
Lloh51:
	ldr	x8, [x8, _DEVICE_LIGHTGUN@GOTPAGEOFF]
	b	LBB0_23
LBB0_22:
Lloh52:
	adrp	x8, _DEVICE_ACTIVATOR@GOTPAGE
Lloh53:
	ldr	x8, [x8, _DEVICE_ACTIVATOR@GOTPAGEOFF]
LBB0_23:
	ldr	x8, [x8]
	ldr	x9, [x19, #8]
	str	x8, [x9]
	mov	w22, #1
LBB0_24:
	ldr	w8, [x21]
	cmp	w22, w8
	b.eq	LBB0_8
; %bb.25:
	ldr	x9, [x19]
	ldr	w9, [x9, #4]
	sub	w9, w9, #128
	cmp	w9, #11
	b.hi	LBB0_47
; %bb.26:
Lloh54:
	adrp	x10, lJTI0_1@PAGE
Lloh55:
	add	x10, x10, lJTI0_1@PAGEOFF
	adr	x11, LBB0_27
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_27:
Lloh56:
	adrp	x8, _DEVICE_LIGHTGUN@GOTPAGE
Lloh57:
	ldr	x8, [x8, _DEVICE_LIGHTGUN@GOTPAGEOFF]
	b	LBB0_44
LBB0_28:
Lloh58:
	adrp	x8, _DEVICE_XE_A1P@GOTPAGE
Lloh59:
	ldr	x8, [x8, _DEVICE_XE_A1P@GOTPAGEOFF]
	b	LBB0_44
LBB0_29:
	cmp	w22, w8
	b.lt	LBB0_68
; %bb.30:
	cmp	w22, w8
	b.lt	LBB0_69
LBB0_31:
	cmp	w22, w8
	b.lt	LBB0_70
LBB0_32:
	cmp	w22, w8
	b.ge	LBB0_34
LBB0_33:
Lloh60:
	adrp	x8, _config@GOTPAGE
Lloh61:
	ldr	x8, [x8, _config@GOTPAGEOFF]
Lloh62:
	ldr	x8, [x8]
	ldr	x8, [x8, w22, uxtw #3]
	ldr	x9, [x19, #8]
	str	x8, [x9, #56]
	add	w22, w22, #1
LBB0_34:
	mov	w0, #1
	bl	_teamplayer_init
	b	LBB0_47
LBB0_35:
Lloh63:
	adrp	x8, _DEVICE_SPORTSPAD@GOTPAGE
Lloh64:
	ldr	x8, [x8, _DEVICE_SPORTSPAD@GOTPAGEOFF]
	b	LBB0_44
LBB0_36:
Lloh65:
	adrp	x8, _DEVICE_PADDLE@GOTPAGE
Lloh66:
	ldr	x8, [x8, _DEVICE_PADDLE@GOTPAGEOFF]
	b	LBB0_44
LBB0_37:
Lloh67:
	adrp	x8, _DEVICE_PAD2B@GOTPAGE
Lloh68:
	ldr	x8, [x8, _DEVICE_PAD2B@GOTPAGEOFF]
	b	LBB0_44
LBB0_38:
Lloh69:
	adrp	x8, _DEVICE_MOUSE@GOTPAGE
Lloh70:
	ldr	x8, [x8, _DEVICE_MOUSE@GOTPAGEOFF]
	b	LBB0_44
LBB0_39:
	cmp	w22, w8
	b.ge	LBB0_41
; %bb.40:
Lloh71:
	adrp	x9, _DEVICE_LIGHTGUN@GOTPAGE
Lloh72:
	ldr	x9, [x9, _DEVICE_LIGHTGUN@GOTPAGEOFF]
Lloh73:
	ldr	x9, [x9]
	ldr	x10, [x19, #8]
	str	x9, [x10, #32]
	add	w22, w22, #1
LBB0_41:
	cmp	w22, w8
	b.ge	LBB0_47
; %bb.42:
Lloh74:
	adrp	x8, _DEVICE_LIGHTGUN@GOTPAGE
Lloh75:
	ldr	x8, [x8, _DEVICE_LIGHTGUN@GOTPAGEOFF]
Lloh76:
	ldr	x8, [x8]
	ldr	x9, [x19, #8]
	str	x8, [x9, #40]
	b	LBB0_46
LBB0_43:
Lloh77:
	adrp	x8, _DEVICE_ACTIVATOR@GOTPAGE
Lloh78:
	ldr	x8, [x8, _DEVICE_ACTIVATOR@GOTPAGEOFF]
LBB0_44:
	ldr	x8, [x8]
LBB0_45:
	ldr	x9, [x19, #8]
	str	x8, [x9, #32]
LBB0_46:
	add	w22, w22, #1
LBB0_47:
	ldr	w8, [x20]
Lloh79:
	adrp	x9, _HW_J_CART@GOTPAGE
Lloh80:
	ldr	x9, [x9, _HW_J_CART@GOTPAGEOFF]
Lloh81:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.48:
	ldr	w8, [x21]
	cmp	w22, w8
	b.ge	LBB0_50
; %bb.49:
Lloh82:
	adrp	x9, _config@GOTPAGE
Lloh83:
	ldr	x9, [x9, _config@GOTPAGEOFF]
Lloh84:
	ldr	x9, [x9]
	ldr	x9, [x9, w22, uxtw #3]
	ldr	x10, [x19, #8]
	str	x9, [x10, #40]
	add	w22, w22, #1
LBB0_50:
	cmp	w22, w8
	b.ge	LBB0_8
; %bb.51:
Lloh85:
	adrp	x8, _config@GOTPAGE
Lloh86:
	ldr	x8, [x8, _config@GOTPAGEOFF]
Lloh87:
	ldr	x8, [x8]
	ldr	x8, [x8, w22, uxtw #3]
	ldr	x9, [x19, #8]
	str	x8, [x9, #48]
	b	LBB0_8
LBB0_52:
Lloh88:
	adrp	x8, _config@GOTPAGE
Lloh89:
	ldr	x8, [x8, _config@GOTPAGEOFF]
Lloh90:
	ldr	x8, [x8]
	ldr	x8, [x8, w22, uxtw #3]
	b	LBB0_45
LBB0_53:
	mov	w22, #0
LBB0_54:
	cmp	w22, w8
	b.lt	LBB0_57
; %bb.55:
	cmp	w22, w8
	b.lt	LBB0_58
LBB0_56:
	cmp	w22, w8
	b.ge	LBB0_24
	b	LBB0_59
LBB0_57:
Lloh91:
	adrp	x9, _config@GOTPAGE
Lloh92:
	ldr	x9, [x9, _config@GOTPAGEOFF]
Lloh93:
	ldr	x9, [x9]
	ldr	x9, [x9, w22, uxtw #3]
	ldr	x10, [x19, #8]
	str	x9, [x10, #8]
	add	w22, w22, #1
	cmp	w22, w8
	b.ge	LBB0_56
LBB0_58:
Lloh94:
	adrp	x9, _config@GOTPAGE
Lloh95:
	ldr	x9, [x9, _config@GOTPAGEOFF]
Lloh96:
	ldr	x9, [x9]
	ldr	x9, [x9, w22, uxtw #3]
	ldr	x10, [x19, #8]
	str	x9, [x10, #16]
	add	w22, w22, #1
	cmp	w22, w8
	b.ge	LBB0_24
LBB0_59:
Lloh97:
	adrp	x8, _config@GOTPAGE
Lloh98:
	ldr	x8, [x8, _config@GOTPAGEOFF]
Lloh99:
	ldr	x8, [x8]
	ldr	x8, [x8, w22, uxtw #3]
	ldr	x9, [x19, #8]
	str	x8, [x9, #24]
	add	w22, w22, #1
	b	LBB0_24
LBB0_60:
	mov	w22, #0
LBB0_61:
	cmp	w22, w8
	b.lt	LBB0_66
; %bb.62:
	cmp	w22, w8
	b.lt	LBB0_67
LBB0_63:
	cmp	w22, w8
	b.ge	LBB0_65
LBB0_64:
Lloh100:
	adrp	x8, _config@GOTPAGE
Lloh101:
	ldr	x8, [x8, _config@GOTPAGEOFF]
Lloh102:
	ldr	x8, [x8]
	ldr	x8, [x8, w22, uxtw #3]
	ldr	x9, [x19, #8]
	str	x8, [x9, #24]
	add	w22, w22, #1
LBB0_65:
	mov	w0, #0
	bl	_teamplayer_init
	b	LBB0_24
LBB0_66:
Lloh103:
	adrp	x9, _config@GOTPAGE
Lloh104:
	ldr	x9, [x9, _config@GOTPAGEOFF]
Lloh105:
	ldr	x9, [x9]
	ldr	x9, [x9, w22, uxtw #3]
	ldr	x10, [x19, #8]
	str	x9, [x10, #8]
	add	w22, w22, #1
	cmp	w22, w8
	b.ge	LBB0_63
LBB0_67:
Lloh106:
	adrp	x9, _config@GOTPAGE
Lloh107:
	ldr	x9, [x9, _config@GOTPAGEOFF]
Lloh108:
	ldr	x9, [x9]
	ldr	x9, [x9, w22, uxtw #3]
	ldr	x10, [x19, #8]
	str	x9, [x10, #16]
	add	w22, w22, #1
	cmp	w22, w8
	b.lt	LBB0_64
	b	LBB0_65
LBB0_68:
Lloh109:
	adrp	x9, _config@GOTPAGE
Lloh110:
	ldr	x9, [x9, _config@GOTPAGEOFF]
Lloh111:
	ldr	x9, [x9]
	ldr	x9, [x9, w22, uxtw #3]
	ldr	x10, [x19, #8]
	str	x9, [x10, #32]
	add	w22, w22, #1
	cmp	w22, w8
	b.ge	LBB0_31
LBB0_69:
Lloh112:
	adrp	x9, _config@GOTPAGE
Lloh113:
	ldr	x9, [x9, _config@GOTPAGEOFF]
Lloh114:
	ldr	x9, [x9]
	ldr	x9, [x9, w22, uxtw #3]
	ldr	x10, [x19, #8]
	str	x9, [x10, #40]
	add	w22, w22, #1
	cmp	w22, w8
	b.ge	LBB0_32
LBB0_70:
Lloh115:
	adrp	x9, _config@GOTPAGE
Lloh116:
	ldr	x9, [x9, _config@GOTPAGEOFF]
Lloh117:
	ldr	x9, [x9]
	ldr	x9, [x9, w22, uxtw #3]
	ldr	x10, [x19, #8]
	str	x9, [x10, #48]
	add	w22, w22, #1
	cmp	w22, w8
	b.lt	LBB0_33
	b	LBB0_34
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGot	Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.loh AdrpLdrGotLdr	Lloh97, Lloh98, Lloh99
	.loh AdrpLdrGotLdr	Lloh100, Lloh101, Lloh102
	.loh AdrpLdrGotLdr	Lloh103, Lloh104, Lloh105
	.loh AdrpLdrGotLdr	Lloh106, Lloh107, Lloh108
	.loh AdrpLdrGotLdr	Lloh109, Lloh110, Lloh111
	.loh AdrpLdrGotLdr	Lloh112, Lloh113, Lloh114
	.loh AdrpLdrGotLdr	Lloh115, Lloh116, Lloh117
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_11-LBB0_11)>>2
	.byte	(LBB0_12-LBB0_11)>>2
	.byte	(LBB0_14-LBB0_11)>>2
	.byte	(LBB0_16-LBB0_11)>>2
	.byte	(LBB0_17-LBB0_11)>>2
	.byte	(LBB0_18-LBB0_11)>>2
	.byte	(LBB0_19-LBB0_11)>>2
	.byte	(LBB0_24-LBB0_11)>>2
	.byte	(LBB0_20-LBB0_11)>>2
	.byte	(LBB0_21-LBB0_11)>>2
	.byte	(LBB0_24-LBB0_11)>>2
	.byte	(LBB0_22-LBB0_11)>>2
lJTI0_1:
	.byte	(LBB0_28-LBB0_27)>>2
	.byte	(LBB0_47-LBB0_27)>>2
	.byte	(LBB0_29-LBB0_27)>>2
	.byte	(LBB0_35-LBB0_27)>>2
	.byte	(LBB0_36-LBB0_27)>>2
	.byte	(LBB0_37-LBB0_27)>>2
	.byte	(LBB0_38-LBB0_27)>>2
	.byte	(LBB0_27-LBB0_27)>>2
	.byte	(LBB0_52-LBB0_27)>>2
	.byte	(LBB0_27-LBB0_27)>>2
	.byte	(LBB0_39-LBB0_27)>>2
	.byte	(LBB0_43-LBB0_27)>>2
                                        ; -- End function
	.comm	_MAX_DEVICES,4,2                ; @MAX_DEVICES
	.comm	_NO_DEVICE,8,3                  ; @NO_DEVICE
	.comm	_input,24,3                     ; @input
	.comm	_system_hw,8,3                  ; @system_hw
	.comm	_SYSTEM_PICO,8,3                ; @SYSTEM_PICO
	.comm	_DEVICE_PICO,8,3                ; @DEVICE_PICO
	.comm	_cart,4,2                       ; @cart
	.comm	_HW_TEREBI_OEKAKI,4,2           ; @HW_TEREBI_OEKAKI
	.comm	_DEVICE_TEREBI,8,3              ; @DEVICE_TEREBI
	.comm	_DEVICE_PAD2B,8,3               ; @DEVICE_PAD2B
	.comm	_config,8,3                     ; @config
	.comm	_DEVICE_MOUSE,8,3               ; @DEVICE_MOUSE
	.comm	_DEVICE_ACTIVATOR,8,3           ; @DEVICE_ACTIVATOR
	.comm	_DEVICE_XE_A1P,8,3              ; @DEVICE_XE_A1P
	.comm	_MAX_INPUTS,4,2                 ; @MAX_INPUTS
	.comm	_DEVICE_LIGHTGUN,8,3            ; @DEVICE_LIGHTGUN
	.comm	_DEVICE_PADDLE,8,3              ; @DEVICE_PADDLE
	.comm	_DEVICE_SPORTSPAD,8,3           ; @DEVICE_SPORTSPAD
	.comm	_HW_J_CART,4,2                  ; @HW_J_CART
.subsections_via_symbols
