	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tekken_regs_r
_tekken_regs_r:                         ## @tekken_regs_r
	.cfi_startproc
## %bb.0:
	movl	%edi, %eax
	andl	$14, %eax
	cmpl	$2, %eax
	jne	LBB0_2
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_cart@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	decl	%eax
	popq	%rbp
	retq
LBB0_2:
	jmp	_m68k_read_bus_16               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_cart,8,3                       ## @cart
	.no_dead_strip	_tekken_regs_r
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tekken_regs_r
_tekken_regs_r:                         ; @tekken_regs_r
	.cfi_startproc
; %bb.0:
	and	w8, w0, #0xe
	cmp	w8, #2
	b.ne	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _cart@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cart@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w8, [x8]
	sub	w0, w8, #1
	ret
LBB0_2:
	b	_m68k_read_bus_16
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_cart,8,3                       ; @cart
	.no_dead_strip	_tekken_regs_r
.subsections_via_symbols
