	.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
	xorl	%eax, %eax
	xorl	%ecx, %ecx
	testl	%edx, %edx
	setne	%al
	sete	%cl
	shll	$5, %eax
	movq	_EmuScreenRect@GOTPCREL(%rip), %rdx
	movl	%eax, (%rdx)
	shll	$5, %ecx
	addl	$288, %ecx                      ## imm = 0x120
	movl	%ecx, 4(%rdx)
	movl	%edi, 8(%rdx)
	addl	%edi, %esi
	movl	%esi, 12(%rdx)
	movq	_FrameWnd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_WM_COMMAND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$133072, %edx                   ## imm = 0x207D0
	xorl	%ecx, %ecx
	popq	%rbp
	jmp	_PostMessage                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EmuScreenRect,16,2             ## @EmuScreenRect
	.comm	_FrameWnd,4,2                   ## @FrameWnd
	.comm	_WM_COMMAND,4,2                 ## @WM_COMMAND
.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 emu_video_mode_change
lCPI0_0:
	.long	32                              ; 0x20
	.long	288                             ; 0x120
lCPI0_1:
	.long	0                               ; 0x0
	.long	320                             ; 0x140
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_emu_video_mode_change
	.p2align	2
_emu_video_mode_change:                 ; @emu_video_mode_change
	.cfi_startproc
; %bb.0:
	cmp	w2, #0
	cset	w8, eq
	dup.2s	v0, w8
	shl.2s	v0, v0, #31
	cmlt.2s	v0, v0, #0
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d1, [x8, lCPI0_0@PAGEOFF]
Lloh2:
	adrp	x8, lCPI0_1@PAGE
Lloh3:
	ldr	d2, [x8, lCPI0_1@PAGEOFF]
	bsl.8b	v0, v2, v1
Lloh4:
	adrp	x8, _EmuScreenRect@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EmuScreenRect@GOTPAGEOFF]
	str	d0, [x8]
	add	w9, w1, w0
	stp	w0, w9, [x8, #8]
Lloh6:
	adrp	x8, _FrameWnd@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FrameWnd@GOTPAGEOFF]
Lloh8:
	adrp	x9, _WM_COMMAND@GOTPAGE
Lloh9:
	ldr	x9, [x9, _WM_COMMAND@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	ldr	w1, [x9]
	mov	w2, #2000
	movk	w2, #2, lsl #16
	mov	w3, #0
	b	_PostMessage
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdrp	Lloh2, Lloh4
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpAdrp	Lloh0, Lloh2
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_EmuScreenRect,16,2             ; @EmuScreenRect
	.comm	_FrameWnd,4,2                   ; @FrameWnd
	.comm	_WM_COMMAND,4,2                 ; @WM_COMMAND
.subsections_via_symbols
