	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwPlatformSetWindowPos      ## -- Begin function _glfwPlatformSetWindowPos
	.p2align	4, 0x90
__glfwPlatformSetWindowPos:             ## @_glfwPlatformSetWindowPos
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	callq	__glfwPlatformWindowVisible
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	xorl	%eax, %eax
	callq	_XAllocSizeHints
	movq	%rax, %r12
	movq	__glfw@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movl	(%rbx), %esi
	leaq	-48(%rbp), %rcx
	movq	%rax, %rdx
	callq	_XGetWMNormalHints
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_PPosition@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 16(%r12)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r12)
	movl	(%r13), %edi
	movl	(%rbx), %esi
	movq	%r12, %rdx
	callq	_XSetWMNormalHints
LBB0_3:
	movq	%r12, %rdi
	callq	_XFree
LBB0_4:
	movq	__glfw@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movl	(%rbx), %esi
	movl	%r15d, %edx
	movl	%r14d, %ecx
	callq	_XMoveWindow
	movl	(%r12), %edi
	callq	_XFlush
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__glfw,4,2                      ## @_glfw
	.comm	_PPosition,4,2                  ## @PPosition
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwPlatformSetWindowPos      ; -- Begin function _glfwPlatformSetWindowPos
	.p2align	2
__glfwPlatformSetWindowPos:             ; @_glfwPlatformSetWindowPos
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	bl	__glfwPlatformWindowVisible
Lloh0:
	adrp	x23, __glfw@GOTPAGE
Lloh1:
	ldr	x23, [x23, __glfw@GOTPAGEOFF]
	cbnz	w0, LBB0_4
; %bb.1:
	bl	_XAllocSizeHints
	mov	x22, x0
	ldr	w0, [x23]
	ldr	w1, [x21]
	add	x3, sp, #8
	mov	x2, x22
	bl	_XGetWMNormalHints
	cbz	x0, LBB0_3
; %bb.2:
Lloh2:
	adrp	x8, _PPosition@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PPosition@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldr	w9, [x22, #16]
	orr	w8, w9, w8
	str	w8, [x22, #16]
	stp	xzr, xzr, [x22]
	ldr	w0, [x23]
	ldr	w1, [x21]
	mov	x2, x22
	bl	_XSetWMNormalHints
LBB0_3:
	mov	x0, x22
	bl	_XFree
LBB0_4:
	ldr	w0, [x23]
	ldr	w1, [x21]
	mov	x2, x20
	mov	x3, x19
	bl	_XMoveWindow
	ldr	w0, [x23]
	bl	_XFlush
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	__glfw,4,2                      ; @_glfw
	.comm	_PPosition,4,2                  ; @PPosition
.subsections_via_symbols
