	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tekken_regs_w
_tekken_regs_w:                         ## @tekken_regs_w
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, %eax
	shrl	%eax
	andl	$7, %eax
	leal	-6(%rax), %ecx
	cmpl	$2, %ecx
	jb	LBB0_6
## %bb.1:
	cmpl	$1, %eax
	je	LBB0_6
## %bb.2:
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	_cart@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	$0, (%rax)
	popq	%rbp
	retq
LBB0_4:
	testb	$1, %sil
	je	LBB0_6
## %bb.5:
	addb	$4, %dil
	shrb	%dil
	andb	$3, %dil
	movl	$1, %eax
	movl	%edi, %ecx
	shll	%cl, %eax
	movq	_cart@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	orl	%eax, (%rcx)
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cart,8,3                       ## @cart
	.no_dead_strip	_tekken_regs_w
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tekken_regs_w
_tekken_regs_w:                         ; @tekken_regs_w
	.cfi_startproc
; %bb.0:
	ubfx	w8, w0, #1, #3
	sub	w9, w8, #6
	cmp	w9, #2
	ccmp	w8, #1, #4, hs
	b.ne	LBB0_2
LBB0_1:
	ret
LBB0_2:
	cbnz	w8, LBB0_4
; %bb.3:
Lloh0:
	adrp	x8, _cart@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cart@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	wzr, [x8]
	ret
LBB0_4:
	tbz	w1, #0, LBB0_1
; %bb.5:
	add	w8, w0, #4
	ubfx	w8, w8, #1, #2
	mov	w9, #1
	lsl	w8, w9, w8
Lloh3:
	adrp	x9, _cart@GOTPAGE
Lloh4:
	ldr	x9, [x9, _cart@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	w10, [x9]
	orr	w8, w10, w8
	str	w8, [x9]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_cart,8,3                       ; @cart
	.no_dead_strip	_tekken_regs_w
.subsections_via_symbols
