	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function win32_display_server_destroy
_win32_display_server_destroy:          ## @win32_display_server_destroy
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_win32_orig_width@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	jle	LBB0_3
## %bb.1:
	movq	_win32_orig_height@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	jle	LBB0_3
## %bb.2:
	movq	_win32_orig_refresh@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	cvtsi2ss	%rdx, %xmm0
	movq	_crt_center@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_video_display_server_set_resolution
LBB0_3:
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.5:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_free                           ## TAILCALL
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_win32_orig_width,8,3           ## @win32_orig_width
	.comm	_win32_orig_height,8,3          ## @win32_orig_height
	.comm	_win32_orig_refresh,8,3         ## @win32_orig_refresh
	.comm	_crt_center,4,2                 ## @crt_center
	.comm	_g_taskbarList,8,3              ## @g_taskbarList
	.no_dead_strip	_win32_display_server_destroy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function win32_display_server_destroy
_win32_display_server_destroy:          ; @win32_display_server_destroy
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _win32_orig_width@GOTPAGE
Lloh1:
	ldr	x8, [x8, _win32_orig_width@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
Lloh3:
	adrp	x8, _win32_orig_height@GOTPAGE
Lloh4:
	ldr	x8, [x8, _win32_orig_height@GOTPAGEOFF]
Lloh5:
	ldr	x1, [x8]
	cmp	x0, #1
	ccmp	x1, #1, #8, ge
	b.lt	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _win32_orig_refresh@GOTPAGE
Lloh7:
	ldr	x8, [x8, _win32_orig_refresh@GOTPAGEOFF]
Lloh8:
	ldr	x2, [x8]
	scvtf	s0, x2
Lloh9:
	adrp	x8, _crt_center@GOTPAGE
Lloh10:
	ldr	x8, [x8, _crt_center@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	mov	w4, #0
	mov	w5, #0
	bl	_video_display_server_set_resolution
LBB0_2:
	cbz	x19, LBB0_4
; %bb.3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_free
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_win32_orig_width,8,3           ; @win32_orig_width
	.comm	_win32_orig_height,8,3          ; @win32_orig_height
	.comm	_win32_orig_refresh,8,3         ; @win32_orig_refresh
	.comm	_crt_center,4,2                 ; @crt_center
	.comm	_g_taskbarList,8,3              ; @g_taskbarList
	.no_dead_strip	_win32_display_server_destroy
.subsections_via_symbols
