	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mapper_smw_64_r
_mapper_smw_64_r:                       ## @mapper_smw_64_r
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	movl	%edi, %ecx
	shrl	$16, %ecx
	andl	$3, %ecx
	cmpl	$3, %ecx
	je	LBB0_4
## %bb.1:
	xorl	%eax, %eax
	cmpl	$2, %ecx
	jne	LBB0_11
## %bb.2:
	shrl	%edi
	andl	$7, %edi
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rdi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_3:
	movq	_sram@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	24(%rax), %eax
	popq	%rbp
	retq
LBB0_4:
	movq	_sram@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	xorl	%eax, %eax
	testb	$-128, 8(%rcx)
	je	LBB0_7
## %bb.5:
	testb	$64, 20(%rcx)
	movl	12(%rcx), %eax
	jne	LBB0_12
## %bb.6:
	xorl	$255, %eax
LBB0_7:
	testb	$2, %dil
	jne	LBB0_13
LBB0_8:
	movl	20(%rcx), %edx
	testb	$-128, %dl
	je	LBB0_11
## %bb.9:
	testb	$32, %dl
	jne	LBB0_22
## %bb.10:
	movl	12(%rcx), %edx
	addl	%edx, %edx
	xorl	4(%rcx), %edx
	andl	$254, %edx
	movl	%edx, 24(%rcx)
LBB0_11:
	popq	%rbp
	retq
LBB0_12:
	andl	16(%rcx), %eax
	testb	$2, %dil
	je	LBB0_8
LBB0_13:
	andl	$127, %eax
	popq	%rbp
	retq
LBB0_14:
	movq	_sram@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	24(%rax), %eax
	jmp	LBB0_15
LBB0_16:
	movq	_sram@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	28(%rax), %eax
	popq	%rbp
	retq
LBB0_17:
	movq	_sram@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	28(%rax), %eax
	jmp	LBB0_15
LBB0_18:
	movq	_sram@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	32(%rax), %eax
	popq	%rbp
	retq
LBB0_19:
	movq	_sram@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	32(%rax), %eax
LBB0_15:
	incl	%eax
	popq	%rbp
	retq
LBB0_20:
	movq	_sram@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	32(%rax), %eax
	addl	$2, %eax
	popq	%rbp
	retq
LBB0_21:
	movq	_sram@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	32(%rax), %eax
	addl	$3, %eax
	popq	%rbp
	retq
LBB0_22:
	movl	16(%rcx), %edx
	shll	$2, %edx
	movzbl	%dl, %edx
	movl	%edx, 32(%rcx)
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_14
	.long	L0_0_set_16
	.long	L0_0_set_17
	.long	L0_0_set_18
	.long	L0_0_set_19
	.long	L0_0_set_20
	.long	L0_0_set_21
	.end_data_region
                                        ## -- End function
	.comm	_sram,8,3                       ## @sram
	.no_dead_strip	_mapper_smw_64_r
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mapper_smw_64_r
_mapper_smw_64_r:                       ; @mapper_smw_64_r
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	ubfx	w9, w0, #16, #2
	cmp	w9, #3
	b.eq	LBB0_4
; %bb.1:
	cmp	w9, #2
	b.ne	LBB0_6
; %bb.2:
	ubfx	w8, w8, #1, #3
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
Lloh2:
	adrp	x8, _sram@GOTPAGE
Lloh3:
	ldr	x8, [x8, _sram@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldr	w0, [x8, #24]
	ret
LBB0_4:
Lloh5:
	adrp	x9, _sram@GOTPAGE
Lloh6:
	ldr	x9, [x9, _sram@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	ldrb	w10, [x9, #8]
	tbnz	w10, #7, LBB0_7
; %bb.5:
	mov	w0, #0
	tbnz	w8, #1, LBB0_9
	b	LBB0_11
LBB0_6:
	mov	w0, #0
	ret
LBB0_7:
	ldr	w10, [x9, #12]
	ldrb	w11, [x9, #20]
	tbnz	w11, #6, LBB0_10
; %bb.8:
	eor	w0, w10, #0xff
	tbz	w8, #1, LBB0_11
LBB0_9:
	and	w0, w0, #0x7f
	ret
LBB0_10:
	ldr	w11, [x9, #16]
	and	w0, w11, w10
	tbnz	w8, #1, LBB0_9
LBB0_11:
	ldr	w8, [x9, #20]
	tbz	w8, #7, LBB0_14
; %bb.12:
	tbnz	w8, #5, LBB0_22
; %bb.13:
	ldr	w8, [x9, #4]
	ldr	w10, [x9, #12]
	eor	w8, w8, w10, lsl #1
	and	w8, w8, #0xfe
	str	w8, [x9, #24]
LBB0_14:
	ret
LBB0_15:
Lloh8:
	adrp	x8, _sram@GOTPAGE
Lloh9:
	ldr	x8, [x8, _sram@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldr	w8, [x8, #24]
	add	w0, w8, #1
	ret
LBB0_16:
Lloh11:
	adrp	x8, _sram@GOTPAGE
Lloh12:
	ldr	x8, [x8, _sram@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	ldr	w0, [x8, #28]
	ret
LBB0_17:
Lloh14:
	adrp	x8, _sram@GOTPAGE
Lloh15:
	ldr	x8, [x8, _sram@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	ldr	w8, [x8, #28]
	add	w0, w8, #1
	ret
LBB0_18:
Lloh17:
	adrp	x8, _sram@GOTPAGE
Lloh18:
	ldr	x8, [x8, _sram@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	ldr	w0, [x8, #32]
	ret
LBB0_19:
Lloh20:
	adrp	x8, _sram@GOTPAGE
Lloh21:
	ldr	x8, [x8, _sram@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	ldr	w8, [x8, #32]
	add	w0, w8, #1
	ret
LBB0_20:
Lloh23:
	adrp	x8, _sram@GOTPAGE
Lloh24:
	ldr	x8, [x8, _sram@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	ldr	w8, [x8, #32]
	add	w0, w8, #2
	ret
LBB0_21:
Lloh26:
	adrp	x8, _sram@GOTPAGE
Lloh27:
	ldr	x8, [x8, _sram@GOTPAGEOFF]
Lloh28:
	ldr	x8, [x8]
	ldr	w8, [x8, #32]
	add	w0, w8, #3
	ret
LBB0_22:
	ldr	w8, [x9, #16]
	ubfiz	w8, w8, #2, #6
	str	w8, [x9, #32]
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_15-LBB0_3)>>2
	.byte	(LBB0_16-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_18-LBB0_3)>>2
	.byte	(LBB0_19-LBB0_3)>>2
	.byte	(LBB0_20-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
                                        ; -- End function
	.comm	_sram,8,3                       ; @sram
	.no_dead_strip	_mapper_smw_64_r
.subsections_via_symbols
