	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwPlatformGetWindowFrameSize ## -- Begin function _glfwPlatformGetWindowFrameSize
	.p2align	4, 0x90
__glfwPlatformGetWindowFrameSize:       ## @_glfwPlatformGetWindowFrameSize
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	$0, -48(%rbp)
	cmpq	$0, 8(%rdi)
	je	LBB0_1
LBB0_21:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rdi, %rbx
	cmpl	$0, 4(%rdi)
	je	LBB0_21
## %bb.2:
	movq	%rcx, %r15
	movq	__glfw@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	_None@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_21
## %bb.3:
	movq	%r8, %r14
	movq	%rdx, %r13
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	__glfwPlatformWindowVisible
	testl	%eax, %eax
	jne	LBB0_10
## %bb.4:
	movq	16(%r12), %rsi
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.5:
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movabsq	$4602678819172646912, %rax      ## imm = 0x3FE0000000000000
	movq	%rax, -88(%rbp)
	movl	$0, (%rsp)
	movq	%rbx, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_sendEventToWM
	movq	_isFrameExtentsEvent@GOTPCREL(%rip), %r13
	leaq	-92(%rbp), %r14
	leaq	-88(%rbp), %r15
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%r12), %edi
	movl	(%r13), %edx
	movq	%r14, %rsi
	movl	%ebx, %ecx
	callq	_XCheckIfEvent
	testl	%eax, %eax
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %rdi
	callq	_waitForEvent
	testl	%eax, %eax
	jne	LBB0_6
## %bb.8:
	movq	_GLFW_PLATFORM_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	__glfwInputError
	jmp	LBB0_21
LBB0_9:
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	-56(%rbp), %r13                 ## 8-byte Reload
LBB0_10:
	movl	(%rbx), %edi
	movq	(%r12), %rsi
	movq	_XA_CARDINAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %rcx
	callq	__glfwGetWindowPropertyX11
	cmpl	$4, %eax
	jne	LBB0_19
## %bb.11:
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_13
## %bb.12:
	movq	-48(%rbp), %rax
	movl	(%rax), %eax
	movl	%eax, (%rcx)
LBB0_13:
	testq	%r13, %r13
	je	LBB0_15
## %bb.14:
	movq	-48(%rbp), %rax
	movl	16(%rax), %eax
	movl	%eax, (%r13)
LBB0_15:
	testq	%r15, %r15
	je	LBB0_17
## %bb.16:
	movq	-48(%rbp), %rax
	movl	8(%rax), %eax
	movl	%eax, (%r15)
LBB0_17:
	testq	%r14, %r14
	je	LBB0_19
## %bb.18:
	movq	-48(%rbp), %rdi
	movl	24(%rdi), %eax
	movl	%eax, (%r14)
	jmp	LBB0_20
LBB0_19:
	movq	-48(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_21
LBB0_20:
	callq	_XFree
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	__glfw,24,3                     ## @_glfw
	.comm	_None,8,3                       ## @None
	.comm	_isFrameExtentsEvent,4,2        ## @isFrameExtentsEvent
	.comm	_GLFW_PLATFORM_ERROR,4,2        ## @GLFW_PLATFORM_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"X11: The window manager has a broken _NET_REQUEST_FRAME_EXTENTS implementation; please report this issue"

	.comm	_XA_CARDINAL,4,2                ## @XA_CARDINAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwPlatformGetWindowFrameSize ; -- Begin function _glfwPlatformGetWindowFrameSize
	.p2align	2
__glfwPlatformGetWindowFrameSize:       ; @_glfwPlatformGetWindowFrameSize
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	str	xzr, [sp, #24]
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_2:
	mov	x23, x0
	ldr	w8, [x0, #4]
	cbz	w8, LBB0_1
; %bb.3:
Lloh0:
	adrp	x24, __glfw@GOTPAGE
Lloh1:
	ldr	x24, [x24, __glfw@GOTPAGEOFF]
	ldr	x8, [x24]
Lloh2:
	adrp	x9, _None@GOTPAGE
Lloh3:
	ldr	x9, [x9, _None@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_1
; %bb.4:
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x0, x23
	bl	__glfwPlatformWindowVisible
	cbnz	w0, LBB0_10
; %bb.5:
	ldr	x1, [x24, #16]
	cbz	x1, LBB0_10
; %bb.6:
	mov	x8, #4602678819172646912
	str	x8, [sp, #8]
	mov	x0, x23
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	mov	w5, #0
	mov	w6, #0
	bl	_sendEventToWM
Lloh5:
	adrp	x25, _isFrameExtentsEvent@GOTPAGE
Lloh6:
	ldr	x25, [x25, _isFrameExtentsEvent@GOTPAGEOFF]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x24, #8]
	ldr	w2, [x25]
	add	x1, sp, #20
	mov	x3, x23
	bl	_XCheckIfEvent
	cbnz	w0, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x0, sp, #8
	bl	_waitForEvent
	cbnz	w0, LBB0_7
; %bb.9:
Lloh7:
	adrp	x8, _GLFW_PLATFORM_ERROR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _GLFW_PLATFORM_ERROR@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	bl	__glfwInputError
	b	LBB0_1
LBB0_10:
	ldr	w0, [x23]
	ldr	x1, [x24]
Lloh12:
	adrp	x8, _XA_CARDINAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _XA_CARDINAL@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	add	x3, sp, #24
	bl	__glfwGetWindowPropertyX11
	cmp	w0, #4
	b.ne	LBB0_19
; %bb.11:
	cbz	x22, LBB0_13
; %bb.12:
	ldr	x8, [sp, #24]
	ldr	x8, [x8]
	str	w8, [x22]
LBB0_13:
	cbz	x21, LBB0_15
; %bb.14:
	ldr	x8, [sp, #24]
	ldr	x8, [x8, #16]
	str	w8, [x21]
LBB0_15:
	cbz	x20, LBB0_17
; %bb.16:
	ldr	x8, [sp, #24]
	ldr	x8, [x8, #8]
	str	w8, [x20]
LBB0_17:
	cbz	x19, LBB0_19
; %bb.18:
	ldr	x0, [sp, #24]
	ldr	x8, [x0, #24]
	str	w8, [x19]
	b	LBB0_20
LBB0_19:
	ldr	x0, [sp, #24]
	cbz	x0, LBB0_1
LBB0_20:
	bl	_XFree
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	__glfw,24,3                     ; @_glfw
	.comm	_None,8,3                       ; @None
	.comm	_isFrameExtentsEvent,4,2        ; @isFrameExtentsEvent
	.comm	_GLFW_PLATFORM_ERROR,4,2        ; @GLFW_PLATFORM_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"X11: The window manager has a broken _NET_REQUEST_FRAME_EXTENTS implementation; please report this issue"

	.comm	_XA_CARDINAL,4,2                ; @XA_CARDINAL
.subsections_via_symbols
