	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wram_1M_to_2M                  ## -- Begin function wram_1M_to_2M
	.p2align	4, 0x90
_wram_1M_to_2M:                         ## @wram_1M_to_2M
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	$-65536, %rax                   ## imm = 0xFFFF0000
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	pmovzxwd	262144(%rdi,%rax,2), %xmm0      ## xmm0 = mem[0],zero,mem[1],zero,mem[2],zero,mem[3],zero
	pmovzxwd	262152(%rdi,%rax,2), %xmm1      ## xmm1 = mem[0],zero,mem[1],zero,mem[2],zero,mem[3],zero
	pmovzxwd	393216(%rdi,%rax,2), %xmm2      ## xmm2 = mem[0],zero,mem[1],zero,mem[2],zero,mem[3],zero
	pmovzxwd	393224(%rdi,%rax,2), %xmm3      ## xmm3 = mem[0],zero,mem[1],zero,mem[2],zero,mem[3],zero
	pslld	$16, %xmm2
	por	%xmm0, %xmm2
	pslld	$16, %xmm3
	por	%xmm1, %xmm3
	movdqu	%xmm2, 262144(%rdi,%rax,4)
	movdqu	%xmm3, 262160(%rdi,%rax,4)
	addq	$8, %rax
	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_1M_to_2M                  ; -- Begin function wram_1M_to_2M
	.p2align	2
_wram_1M_to_2M:                         ; @wram_1M_to_2M
	.cfi_startproc
; %bb.0:
	add	x8, x0, #64, lsl #12            ; =262144
	add	x9, x0, #32
	mov	w10, #65536
	mov	x11, #-131072
	mov	x12, #-65528
	movk	x12, #65534, lsl #16
	mov	x13, #-65520
	movk	x13, #65534, lsl #16
	mov	x14, #-65512
	movk	x14, #65534, lsl #16
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	d0, [x8, x11]
	ldr	d1, [x8, x12]
	ldr	d2, [x8, x13]
	ldr	d3, [x8, x14]
	ushll.4s	v0, v0, #0
	ushll.4s	v1, v1, #0
	ushll.4s	v2, v2, #0
	ushll.4s	v3, v3, #0
	ldp	d4, d5, [x8]
	ldp	d6, d7, [x8, #16]
	shll.4s	v4, v4, #16
	shll.4s	v5, v5, #16
	shll.4s	v6, v6, #16
	shll.4s	v7, v7, #16
	orr.16b	v0, v4, v0
	orr.16b	v1, v5, v1
	orr.16b	v2, v6, v2
	orr.16b	v3, v7, v3
	stp	q0, q1, [x9, #-32]
	stp	q2, q3, [x9], #64
	add	x8, x8, #32
	subs	x10, x10, #16
	b.ne	LBB0_1
; %bb.2:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
