	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gfx_ctx_wgl_get_video_size
_gfx_ctx_wgl_get_video_size:            ## @gfx_ctx_wgl_get_video_size
	.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	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	xorl	%eax, %eax
	callq	_win32_get_window
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_g_win32_resize_width@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	_g_win32_resize_height@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	jmp	LBB0_3
LBB0_1:
	movl	$0, -20(%rbp)
	movq	$0, -48(%rbp)
	leaq	-40(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	leaq	-20(%rbp), %rdx
	callq	_win32_monitor_info
	movl	-40(%rbp), %eax
	movl	-32(%rbp), %ecx
	subl	-36(%rbp), %eax
	subl	-28(%rbp), %ecx
	movl	%eax, (%rbx)
	movl	%ecx, (%r14)
LBB0_3:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_g_win32_resize_width,4,2       ## @g_win32_resize_width
	.comm	_g_win32_resize_height,4,2      ## @g_win32_resize_height
	.no_dead_strip	_gfx_ctx_wgl_get_video_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gfx_ctx_wgl_get_video_size
_gfx_ctx_wgl_get_video_size:            ; @gfx_ctx_wgl_get_video_size
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	mov	x20, x1
	bl	_win32_get_window
	cbz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _g_win32_resize_width@GOTPAGE
Lloh1:
	ldr	x8, [x8, _g_win32_resize_width@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x20]
Lloh3:
	adrp	x8, _g_win32_resize_height@GOTPAGE
Lloh4:
	ldr	x8, [x8, _g_win32_resize_height@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	b	LBB0_3
LBB0_2:
	str	wzr, [sp, #12]
	str	xzr, [sp]
	add	x0, sp, #16
	mov	x1, sp
	add	x2, sp, #12
	bl	_win32_monitor_info
	ldp	w8, w9, [sp, #16]
	ldp	w10, w11, [sp, #24]
	sub	w8, w8, w9
	str	w8, [x20]
	sub	w8, w10, w11
LBB0_3:
	str	w8, [x19]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_g_win32_resize_width,4,2       ; @g_win32_resize_width
	.comm	_g_win32_resize_height,4,2      ; @g_win32_resize_height
	.no_dead_strip	_gfx_ctx_wgl_get_video_size
.subsections_via_symbols
