	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mapper_seganet_w
_mapper_seganet_w:                      ## @mapper_seganet_w
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpb	$-15, %dil
	jne	LBB0_6
## %bb.1:
	movq	_m68k@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testb	$1, %sil
	jne	LBB0_2
## %bb.4:
	addq	$48, %rax
	xorl	%ecx, %ecx
	xorps	%xmm0, %xmm0
	movq	_zbank_memory_map@GOTPCREL(%rip), %rdx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movups	%xmm0, -48(%rax,%rcx,2)
	movq	(%rdx), %rsi
	movq	$0, (%rsi,%rcx)
	movups	%xmm0, -32(%rax,%rcx,2)
	movq	(%rdx), %rsi
	movq	$0, 8(%rsi,%rcx)
	movups	%xmm0, -16(%rax,%rcx,2)
	movq	(%rdx), %rsi
	movq	$0, 16(%rsi,%rcx)
	movups	%xmm0, (%rax,%rcx,2)
	movq	(%rdx), %rsi
	movq	$0, 24(%rsi,%rcx)
	addq	$32, %rcx
	cmpq	$512, %rcx                      ## imm = 0x200
	jne	LBB0_5
	jmp	LBB0_6
LBB0_2:
	xorl	%ecx, %ecx
	movq	_m68k_unused_8_w@GOTPCREL(%rip), %r8
	movq	_m68k_unused_16_w@GOTPCREL(%rip), %r9
	movq	_zbank_unused_w@GOTPCREL(%rip), %r10
	movq	_zbank_memory_map@GOTPCREL(%rip), %rdx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r8), %rsi
	movq	%rsi, 8(%rax,%rcx,2)
	movq	(%r9), %rsi
	movq	%rsi, (%rax,%rcx,2)
	movq	(%r10), %rsi
	movq	(%rdx), %rdi
	movq	%rsi, (%rdi,%rcx)
	movq	(%r8), %rsi
	movq	%rsi, 24(%rax,%rcx,2)
	movq	(%r9), %rsi
	movq	%rsi, 16(%rax,%rcx,2)
	movq	(%r10), %rsi
	movq	(%rdx), %rdi
	movq	%rsi, 8(%rdi,%rcx)
	addq	$16, %rcx
	cmpq	$512, %rcx                      ## imm = 0x200
	jne	LBB0_3
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_m68k_unused_8_w,8,3            ## @m68k_unused_8_w
	.comm	_m68k,8,3                       ## @m68k
	.comm	_m68k_unused_16_w,8,3           ## @m68k_unused_16_w
	.comm	_zbank_unused_w,8,3             ## @zbank_unused_w
	.comm	_zbank_memory_map,8,3           ## @zbank_memory_map
	.no_dead_strip	_mapper_seganet_w
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mapper_seganet_w
_mapper_seganet_w:                      ; @mapper_seganet_w
	.cfi_startproc
; %bb.0:
	and	w8, w0, #0xff
	cmp	w8, #241
	b.ne	LBB0_6
; %bb.1:
Lloh0:
	adrp	x8, _m68k@GOTPAGE
Lloh1:
	ldr	x8, [x8, _m68k@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
	mov	x8, #0
	tbnz	w1, #0, LBB0_4
; %bb.2:
Lloh3:
	adrp	x10, _zbank_memory_map@GOTPAGE
Lloh4:
	ldr	x10, [x10, _zbank_memory_map@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	stp	xzr, xzr, [x9], #16
	ldr	x11, [x10]
	str	xzr, [x11, x8]
	add	x8, x8, #8
	cmp	x8, #512
	b.ne	LBB0_3
	b	LBB0_6
LBB0_4:
	add	x9, x9, #8
Lloh5:
	adrp	x10, _m68k_unused_8_w@GOTPAGE
Lloh6:
	ldr	x10, [x10, _m68k_unused_8_w@GOTPAGEOFF]
Lloh7:
	adrp	x11, _m68k_unused_16_w@GOTPAGE
Lloh8:
	ldr	x11, [x11, _m68k_unused_16_w@GOTPAGEOFF]
Lloh9:
	adrp	x12, _zbank_unused_w@GOTPAGE
Lloh10:
	ldr	x12, [x12, _zbank_unused_w@GOTPAGEOFF]
Lloh11:
	adrp	x13, _zbank_memory_map@GOTPAGE
Lloh12:
	ldr	x13, [x13, _zbank_memory_map@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x14, [x10]
	str	x14, [x9]
	ldr	x14, [x11]
	stur	x14, [x9, #-8]
	ldr	x14, [x12]
	ldr	x15, [x13]
	str	x14, [x15, x8]
	add	x9, x9, #16
	add	x8, x8, #8
	cmp	x8, #512
	b.ne	LBB0_5
LBB0_6:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_m68k_unused_8_w,8,3            ; @m68k_unused_8_w
	.comm	_m68k,8,3                       ; @m68k
	.comm	_m68k_unused_16_w,8,3           ; @m68k_unused_16_w
	.comm	_zbank_unused_w,8,3             ; @zbank_unused_w
	.comm	_zbank_memory_map,8,3           ; @zbank_memory_map
	.no_dead_strip	_mapper_seganet_w
.subsections_via_symbols
