	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function mapper_radica_r
LCPI0_0:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.space	4
	.space	4
LCPI0_1:
	.long	4128768                         ## 0x3f0000
	.long	4128768                         ## 0x3f0000
	.space	4
	.space	4
LCPI0_2:
	.long	131072                          ## 0x20000
	.long	131072                          ## 0x20000
	.space	4
	.space	4
LCPI0_3:
	.long	262144                          ## 0x40000
	.long	262144                          ## 0x40000
	.space	4
	.space	4
LCPI0_4:
	.long	393216                          ## 0x60000
	.long	393216                          ## 0x60000
	.space	4
	.space	4
LCPI0_5:
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.space	4
	.space	4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_mapper_radica_r:                       ## @mapper_radica_r
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_cart@GOTPCREL(%rip), %rdx
	movq	_m68k@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	sarl	%edi
	movd	%edi, %xmm0
	pshufd	$80, %xmm0, %xmm3               ## xmm3 = xmm0[0,0,1,1]
	paddd	LCPI0_0(%rip), %xmm3
	xorl	%ecx, %ecx
	movdqa	LCPI0_1(%rip), %xmm1            ## xmm1 = <4128768,4128768,u,u>
	movq	(%rdx), %xmm2                   ## xmm2 = mem[0],zero
	pshufd	$68, %xmm2, %xmm2               ## xmm2 = xmm2[0,1,0,1]
	movdqa	LCPI0_2(%rip), %xmm8            ## xmm8 = <131072,131072,u,u>
	movdqa	LCPI0_3(%rip), %xmm4            ## xmm4 = <262144,262144,u,u>
	movdqa	LCPI0_4(%rip), %xmm5            ## xmm5 = <393216,393216,u,u>
	movdqa	LCPI0_5(%rip), %xmm6            ## xmm6 = <8,8,u,u>
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm3, %xmm0
	pslld	$16, %xmm0
	movdqa	%xmm0, %xmm7
	pand	%xmm1, %xmm7
	pmovzxdq	%xmm7, %xmm7                    ## xmm7 = xmm7[0],zero,xmm7[1],zero
	psllq	$2, %xmm7
	paddq	%xmm2, %xmm7
	movdqu	%xmm7, (%rax,%rcx,8)
	movdqa	%xmm0, %xmm7
	paddd	%xmm8, %xmm7
	pand	%xmm1, %xmm7
	pmovzxdq	%xmm7, %xmm7                    ## xmm7 = xmm7[0],zero,xmm7[1],zero
	psllq	$2, %xmm7
	paddq	%xmm2, %xmm7
	movdqu	%xmm7, 16(%rax,%rcx,8)
	movdqa	%xmm0, %xmm7
	paddd	%xmm4, %xmm7
	pand	%xmm1, %xmm7
	pmovzxdq	%xmm7, %xmm7                    ## xmm7 = xmm7[0],zero,xmm7[1],zero
	psllq	$2, %xmm7
	paddq	%xmm2, %xmm7
	movdqu	%xmm7, 32(%rax,%rcx,8)
	paddd	%xmm5, %xmm0
	pand	%xmm1, %xmm0
	pmovzxdq	%xmm0, %xmm0                    ## xmm0 = xmm0[0],zero,xmm0[1],zero
	psllq	$2, %xmm0
	paddq	%xmm2, %xmm0
	movdqu	%xmm0, 48(%rax,%rcx,8)
	addq	$8, %rcx
	paddd	%xmm6, %xmm3
	cmpq	$64, %rcx
	jne	LBB0_1
## %bb.2:
	movl	$65535, %eax                    ## imm = 0xFFFF
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cart,8,3                       ## @cart
	.comm	_m68k,8,3                       ## @m68k
	.no_dead_strip	_mapper_radica_r
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function mapper_radica_r
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_mapper_radica_r:                       ; @mapper_radica_r
	.cfi_startproc
; %bb.0:
	mov	x8, #0
Lloh0:
	adrp	x9, _cart@GOTPAGE
Lloh1:
	ldr	x9, [x9, _cart@GOTPAGEOFF]
Lloh2:
	adrp	x10, _m68k@GOTPAGE
Lloh3:
	ldr	x10, [x10, _m68k@GOTPAGEOFF]
Lloh4:
	ldr	x11, [x9]
Lloh5:
	ldr	x9, [x10]
	asr	w10, w0, #1
	dup.2s	v0, w10
Lloh6:
	adrp	x10, lCPI0_0@PAGE
Lloh7:
	ldr	d1, [x10, lCPI0_0@PAGEOFF]
	add.2s	v0, v0, v1
	movi.2s	v1, #63, lsl #16
	dup.2d	v2, x11
	movi.2s	v3, #2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	shl.2s	v4, v0, #16
	and.8b	v4, v4, v1
	ushll.2d	v4, v4, #2
	add.2d	v4, v2, v4
	str	q4, [x9, x8]
	add.2s	v0, v0, v3
	add	x8, x8, #16
	cmp	x8, #512
	b.ne	LBB0_1
; %bb.2:
	mov	w0, #65535
	ret
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_cart,8,3                       ; @cart
	.comm	_m68k,8,3                       ; @m68k
	.no_dead_strip	_mapper_radica_r
.subsections_via_symbols
