	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_teamplayer_init                ## -- Begin function teamplayer_init
	.p2align	4, 0x90
_teamplayer_init:                       ## @teamplayer_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	_input@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	_DEVICE_PAD3B@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	movq	_teamplayer@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%edi, %rsi
	shll	$2, %edi
	movslq	%edi, %r14
	movq	(%rax,%rsi,8), %r12
                                        ## kill: def $esi killed $esi killed $rsi def $rsi
	shll	$6, %esi
	leal	4(%rsi), %edx
	movl	$2, %r10d
	movl	$2, %ecx
	cmpq	%r9, (%r8,%r14,8)
	movl	%esi, (%r12)
	movl	%edx, 4(%r12)
	je	LBB0_2
## %bb.1:
	movl	%esi, %ecx
	orl	$8, %ecx
	movl	%ecx, 8(%r12)
	movl	$3, %ecx
LBB0_2:
	shlq	$3, %r14
	movq	%r14, %rdi
	orq	$8, %rdi
	movl	%esi, %ebx
	orl	$16, %ebx
	leal	1(%rcx), %r15d
	movl	%esi, %edx
	orl	$20, %edx
	movl	%ecx, %eax
	cmpq	%r9, (%r8,%rdi)
	movl	%ebx, (%r12,%rax,4)
	je	LBB0_4
## %bb.3:
	movl	%r15d, %eax
	leal	2(%rcx), %r15d
	movl	%edx, (%r12,%rax,4)
	movl	%esi, %edx
	orl	$24, %edx
	movl	$3, %r10d
LBB0_4:
	leal	(%rcx,%r10), %r11d
	movl	%r15d, %eax
	movl	%edx, (%r12,%rax,4)
	movq	%r14, %rax
	orq	$16, %rax
	movl	%esi, %edi
	orl	$32, %edi
	movl	%esi, %edx
	orl	$36, %edx
	leal	(%rcx,%r10), %ebx
	incl	%ebx
	movl	$2, %r10d
	cmpq	%r9, (%r8,%rax)
	movl	%edi, (%r12,%r11,4)
	je	LBB0_6
## %bb.5:
	movl	%ebx, %eax
	leal	2(%r11), %ebx
	movl	%edx, (%r12,%rax,4)
	movl	%esi, %edx
	orl	$40, %edx
	movl	$3, %r10d
LBB0_6:
	leal	(%r11,%r10), %ecx
	movl	%ebx, %eax
	movl	%edx, (%r12,%rax,4)
	orq	$24, %r14
	movl	%esi, %eax
	orl	$48, %eax
	movl	%esi, %edx
	orl	$52, %edx
	leal	(%r11,%r10), %ebx
	incl	%ebx
	cmpq	%r9, (%r8,%r14)
	movl	%eax, (%r12,%rcx,4)
	je	LBB0_8
## %bb.7:
	addl	$2, %ecx
	movl	%ebx, %eax
	movl	%edx, (%r12,%rax,4)
	orl	$56, %esi
	movl	%ecx, %ebx
	movl	%esi, %edx
LBB0_8:
	movl	%ebx, %eax
	movl	%edx, (%r12,%rax,4)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_input,8,3                      ## @input
	.comm	_DEVICE_PAD3B,8,3               ## @DEVICE_PAD3B
	.comm	_teamplayer,8,3                 ## @teamplayer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_teamplayer_init                ; -- Begin function teamplayer_init
	.p2align	2
_teamplayer_init:                       ; @teamplayer_init
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w0 killed $w0 def $x0
	sbfiz	x12, x0, #2, #32
Lloh0:
	adrp	x8, _input@GOTPAGE
Lloh1:
	ldr	x8, [x8, _input@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x8]
Lloh3:
	adrp	x8, _DEVICE_PAD3B@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DEVICE_PAD3B@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x8]
Lloh6:
	adrp	x8, _teamplayer@GOTPAGE
Lloh7:
	ldr	x8, [x8, _teamplayer@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	sbfiz	x10, x0, #5, #32
	ldr	x13, [x11, x10]
	ldr	x8, [x8, w0, sxtw #3]
	lsl	w10, w0, #6
	mov	w14, #4
	bfi	w14, w0, #6, #26
	stp	w10, w14, [x8]
	cmp	x13, x9
	b.ne	LBB0_2
; %bb.1:
	mov	w13, #2
	b	LBB0_3
LBB0_2:
	orr	w13, w10, #0x8
	str	w13, [x8, #8]
	mov	w13, #3
LBB0_3:
	lsl	x12, x12, #3
	orr	x14, x12, #0x8
	ldr	x16, [x11, x14]
	orr	w14, w10, #0x10
	add	w15, w13, #1
	str	w14, [x8, w13, uxtw #2]
	mov	w14, #20
	orr	w14, w10, w14
	cmp	x16, x9
	b.ne	LBB0_5
; %bb.4:
	mov	w16, #2
	b	LBB0_6
LBB0_5:
	str	w14, [x8, w15, uxtw #2]
	add	w15, w13, #2
	orr	w14, w10, #0x18
	mov	w16, #3
LBB0_6:
	add	w13, w13, w16
	str	w14, [x8, w15, uxtw #2]
	orr	x14, x12, #0x10
	ldr	x16, [x11, x14]
	orr	w14, w10, #0x20
	add	w15, w13, #1
	str	w14, [x8, w13, uxtw #2]
	mov	w14, #36
	orr	w14, w10, w14
	cmp	x16, x9
	b.ne	LBB0_8
; %bb.7:
	mov	w16, #2
	b	LBB0_9
LBB0_8:
	str	w14, [x8, w15, uxtw #2]
	add	w15, w13, #2
	mov	w14, #40
	orr	w14, w10, w14
	mov	w16, #3
LBB0_9:
	add	w13, w13, w16
	str	w14, [x8, w15, uxtw #2]
	orr	x12, x12, #0x18
	ldr	x14, [x11, x12]
	orr	w12, w10, #0x30
	add	w11, w13, #1
	str	w12, [x8, w13, uxtw #2]
	mov	w12, #52
	orr	w12, w10, w12
	cmp	x14, x9
	b.eq	LBB0_11
; %bb.10:
	str	w12, [x8, w11, uxtw #2]
	add	w11, w13, #2
	orr	w12, w10, #0x38
LBB0_11:
	str	w12, [x8, w11, uxtw #2]
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_input,8,3                      ; @input
	.comm	_DEVICE_PAD3B,8,3               ; @DEVICE_PAD3B
	.comm	_teamplayer,8,3                 ; @teamplayer
.subsections_via_symbols
