	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_bank_XEGS_8F_64
_set_bank_XEGS_8F_64:                   ## @set_bank_XEGS_8F_64
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_active_cart@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %ecx
	testb	$8, %cl
	jne	LBB0_1
## %bb.2:
	movl	$32768, %edi                    ## imm = 0x8000
	movl	$255, %esi
	movl	$8192, %edx                     ## imm = 0x2000
	popq	%rbp
	jmp	_MEMORY_dFillMem                ## TAILCALL
LBB0_1:
	andl	$-9, %ecx
	shll	$13, %ecx
	movslq	%ecx, %rdx
	addq	8(%rax), %rdx
	movl	$32768, %edi                    ## imm = 0x8000
	movl	$40959, %esi                    ## imm = 0x9FFF
	popq	%rbp
	jmp	_MEMORY_CopyROM                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_active_cart,8,3                ## @active_cart
	.no_dead_strip	_set_bank_XEGS_8F_64
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_bank_XEGS_8F_64
_set_bank_XEGS_8F_64:                   ; @set_bank_XEGS_8F_64
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _active_cart@GOTPAGE
Lloh1:
	ldr	x8, [x8, _active_cart@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w9, [x8]
	tbnz	w9, #3, LBB0_2
; %bb.1:
	mov	w0, #32768
	mov	w1, #255
	mov	w2, #8192
	b	_MEMORY_dFillMem
LBB0_2:
	ldr	x8, [x8, #8]
	lsl	w9, w9, #13
	and	w9, w9, #0xfffeffff
	add	x2, x8, w9, sxtw
	mov	w0, #32768
	mov	w1, #40959
	b	_MEMORY_CopyROM
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_active_cart,8,3                ; @active_cart
	.no_dead_strip	_set_bank_XEGS_8F_64
.subsections_via_symbols
