	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_emu_video_mode_change          ## -- Begin function emu_video_mode_change
	.p2align	4, 0x90
_emu_video_mode_change:                 ## @emu_video_mode_change
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_g_screen_ptr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_g_screen_width@GOTPCREL(%rip), %rax
	movq	_g_screen_height@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	imull	(%rax), %ecx
	movl	%ecx, %edx
	shrl	$31, %edx
	addl	%ecx, %edx
	sarl	%edx
	xorl	%esi, %esi
	popq	%rbp
	jmp	_memset32                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_g_screen_ptr,4,2               ## @g_screen_ptr
	.comm	_g_screen_width,4,2             ## @g_screen_width
	.comm	_g_screen_height,4,2            ## @g_screen_height
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_emu_video_mode_change          ; -- Begin function emu_video_mode_change
	.p2align	2
_emu_video_mode_change:                 ; @emu_video_mode_change
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _g_screen_ptr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _g_screen_ptr@GOTPAGEOFF]
Lloh2:
	adrp	x9, _g_screen_width@GOTPAGE
Lloh3:
	ldr	x9, [x9, _g_screen_width@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x9, _g_screen_height@GOTPAGE
Lloh7:
	ldr	x9, [x9, _g_screen_height@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	mul	w8, w9, w8
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w2, w8, #1
	mov	w1, #0
	b	_memset32
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_g_screen_ptr,4,2               ; @g_screen_ptr
	.comm	_g_screen_width,4,2             ; @g_screen_width
	.comm	_g_screen_height,4,2            ; @g_screen_height
.subsections_via_symbols
