	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function PcVideoSetMemoryBank
_PcVideoSetMemoryBank:                  ## @PcVideoSetMemoryBank
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_CurrentMemoryBank@GOTPCREL(%rip), %r14
	cmpq	%rdi, (%r14)
	je	LBB0_3
## %bb.1:
	movq	%rdi, %rbx
	movq	$20229, -32(%rbp)               ## imm = 0x4F05
	movq	%rdi, -24(%rbp)
	leaq	-32(%rbp), %rdx
	movl	$16, %edi
	movq	%rdx, %rsi
	callq	_Int386
	cmpl	$79, -32(%rbp)
	jne	LBB0_3
## %bb.2:
	movq	%rbx, (%r14)
LBB0_3:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CurrentMemoryBank,8,3          ## @CurrentMemoryBank
	.no_dead_strip	_PcVideoSetMemoryBank
.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 PcVideoSetMemoryBank
lCPI0_0:
	.long	20229                           ; 0x4f05
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_PcVideoSetMemoryBank:                  ; @PcVideoSetMemoryBank
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x20, _CurrentMemoryBank@GOTPAGE
Lloh1:
	ldr	x20, [x20, _CurrentMemoryBank@GOTPAGEOFF]
	ldr	x8, [x20]
	cmp	x8, x0
	b.eq	LBB0_3
; %bb.1:
	mov	x19, x0
Lloh2:
	adrp	x8, lCPI0_0@PAGE
Lloh3:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [sp]
	str	x0, [sp, #8]
	mov	x1, sp
	mov	x2, sp
	mov	w0, #16
	bl	_Int386
	ldr	w8, [sp]
	cmp	w8, #79
	b.ne	LBB0_3
; %bb.2:
	str	x19, [x20]
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdr	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_CurrentMemoryBank,8,3          ; @CurrentMemoryBank
	.no_dead_strip	_PcVideoSetMemoryBank
.subsections_via_symbols
