	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function wram_2M_to_1M
LCPI0_0:
	.byte	12                              ## 0xc
	.byte	13                              ## 0xd
	.byte	8                               ## 0x8
	.byte	9                               ## 0x9
	.byte	4                               ## 0x4
	.byte	5                               ## 0x5
	.byte	0                               ## 0x0
	.byte	1                               ## 0x1
	.byte	8                               ## 0x8
	.byte	9                               ## 0x9
	.byte	12                              ## 0xc
	.byte	13                              ## 0xd
	.byte	12                              ## 0xc
	.byte	13                              ## 0xd
	.byte	14                              ## 0xe
	.byte	15                              ## 0xf
LCPI0_1:
	.byte	14                              ## 0xe
	.byte	15                              ## 0xf
	.byte	10                              ## 0xa
	.byte	11                              ## 0xb
	.byte	6                               ## 0x6
	.byte	7                               ## 0x7
	.byte	2                               ## 0x2
	.byte	3                               ## 0x3
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_wram_2M_to_1M
	.p2align	4, 0x90
_wram_2M_to_1M:                         ## @wram_2M_to_1M
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [12,13,8,9,4,5,0,1,8,9,12,13,12,13,14,15]
	movdqa	LCPI0_1(%rip), %xmm1            ## xmm1 = <14,15,10,11,6,7,2,3,u,u,u,u,u,u,u,u>
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	262112(%rdi,%rax,4), %xmm2
	movdqu	262128(%rdi,%rax,4), %xmm3
	pshufd	$27, %xmm3, %xmm3               ## xmm3 = xmm3[3,2,1,0]
	pshufd	$27, %xmm2, %xmm2               ## xmm2 = xmm2[3,2,1,0]
	movdqa	%xmm3, %xmm4
	pshufb	%xmm0, %xmm4
	movdqa	%xmm2, %xmm5
	pshufb	%xmm0, %xmm5
	punpcklqdq	%xmm4, %xmm5            ## xmm5 = xmm5[0],xmm4[0]
	movdqu	%xmm5, 262128(%rdi,%rax,2)
	pshufb	%xmm1, %xmm3
	pshufb	%xmm1, %xmm2
	punpcklqdq	%xmm3, %xmm2            ## xmm2 = xmm2[0],xmm3[0]
	movdqu	%xmm2, 393200(%rdi,%rax,2)
	addq	$-8, %rax
	cmpq	$-65536, %rax                   ## imm = 0xFFFF0000
	jne	LBB0_1
## %bb.2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wram_2M_to_1M                  ; -- Begin function wram_2M_to_1M
	.p2align	2
_wram_2M_to_1M:                         ; @wram_2M_to_1M
	.cfi_startproc
; %bb.0:
	mov	x8, #0
	add	x9, x0, #95, lsl #12            ; =389120
	add	x9, x9, #4080
	mov	w10, #262136
	add	x10, x0, x10
	mov	x11, #-65524
	movk	x11, #65534, lsl #16
	mov	x12, #-65528
	movk	x12, #65534, lsl #16
	mov	x13, #-65532
	movk	x13, #65534, lsl #16
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	x14, x10, x8
	ldp	d1, d0, [x14, #-8]
	rev64.2s	v0, v0
	rev64.2s	v1, v1
	ldp	d3, d2, [x14, #-24]
	rev64.2s	v2, v2
	rev64.2s	v3, v3
	rev64.2s	v4, v0
	add	x14, x9, x11
	mov.s	w15, v4[1]
	strh	w15, [x14, #2]
	fmov	w15, s4
	strh	w15, [x14]
	rev64.2s	v4, v1
	add	x14, x9, x12
	mov.s	w15, v4[1]
	strh	w15, [x14, #2]
	fmov	w15, s4
	strh	w15, [x14]
	rev64.2s	v4, v2
	mov.s	w14, v4[1]
	add	x15, x9, x13
	strh	w14, [x15, #2]
	fmov	w14, s4
	strh	w14, [x15]
	rev64.2s	v4, v3
	sub	x14, x9, #32, lsl #12           ; =131072
	mov.s	w15, v4[1]
	strh	w15, [x14, #2]
	fmov	w15, s4
	strh	w15, [x14]
	ushr.2s	v0, v0, #16
	ushr.2s	v1, v1, #16
	ushr.2s	v2, v2, #16
	ushr.2s	v3, v3, #16
	rev64.2s	v0, v0
	mov.s	w14, v0[1]
	strh	w14, [x9, #14]
	fmov	w14, s0
	strh	w14, [x9, #12]
	rev64.2s	v0, v1
	mov.s	w14, v0[1]
	strh	w14, [x9, #10]
	fmov	w14, s0
	strh	w14, [x9, #8]
	rev64.2s	v0, v2
	mov.s	w14, v0[1]
	strh	w14, [x9, #6]
	fmov	w14, s0
	strh	w14, [x9, #4]
	rev64.2s	v0, v3
	mov.s	w14, v0[1]
	strh	w14, [x9, #2]
	fmov	w14, s0
	strh	w14, [x9], #-16
	sub	x8, x8, #32
	cmn	x8, #64, lsl #12                ; =262144
	b.ne	LBB0_1
; %bb.2:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
