	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwPlatformSetWindowMonitor  ## -- Begin function _glfwPlatformSetWindowMonitor
	.p2align	4, 0x90
__glfwPlatformSetWindowMonitor:         ## @_glfwPlatformSetWindowMonitor
	.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	%r9d, %r14d
	movl	%r8d, %r15d
	movl	%edx, %r13d
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	cmpq	%rsi, %rax
	je	LBB0_1
## %bb.7:
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	%rbx, %rdi
	callq	_releaseMonitor
LBB0_9:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	__glfwInputWindowMonitor
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%r14d, %edx
	callq	_updateNormalHints
	cmpq	$0, 8(%rbx)
	je	LBB0_13
## %bb.10:
	movq	%rbx, %rdi
	callq	__glfwPlatformWindowVisible
	testl	%eax, %eax
	jne	LBB0_12
## %bb.11:
	movq	__glfw@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_XMapRaised
	movq	%rbx, %rdi
	callq	_waitForVisibilityNotify
LBB0_12:
	movq	%rbx, %rdi
	callq	_updateWindowMode
LBB0_3:
	movq	%rbx, %rdi
	callq	_acquireMonitor
	jmp	LBB0_15
LBB0_1:
	testq	%r12, %r12
	je	LBB0_4
## %bb.2:
	cmpq	%rbx, (%r12)
	jne	LBB0_15
	jmp	LBB0_3
LBB0_13:
	movq	%rbx, %rdi
	callq	_updateWindowMode
	movq	__glfw@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	movl	%r13d, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	jmp	LBB0_14
LBB0_4:
	cmpl	$0, 16(%rbx)
	jne	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%r14d, %edx
	movl	%ecx, %r12d
	callq	_updateNormalHints
	movl	%r12d, %ecx
LBB0_6:
	movq	__glfw@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	movl	%r13d, %edx
LBB0_14:
	movl	%r15d, %r8d
	movl	%r14d, %r9d
	callq	_XMoveResizeWindow
LBB0_15:
	movq	__glfw@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_XFlush                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	__glfw,4,2                      ## @_glfw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwPlatformSetWindowMonitor  ; -- Begin function _glfwPlatformSetWindowMonitor
	.p2align	2
__glfwPlatformSetWindowMonitor:         ; @_glfwPlatformSetWindowMonitor
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x5
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x24, x1
	mov	x19, x0
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x25, __glfw@GOTPAGE
Lloh1:
	ldr	x25, [x25, __glfw@GOTPAGEOFF]
	cmp	x8, x1
	b.eq	LBB0_8
; %bb.1:
	cbz	x8, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_releaseMonitor
LBB0_3:
	mov	x0, x19
	mov	x1, x24
	bl	__glfwInputWindowMonitor
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_updateNormalHints
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_10
; %bb.4:
	mov	x0, x19
	bl	__glfwPlatformWindowVisible
	cbnz	w0, LBB0_6
; %bb.5:
	ldr	w0, [x25]
	ldr	w1, [x19]
	bl	_XMapRaised
	mov	x0, x19
	bl	_waitForVisibilityNotify
LBB0_6:
	mov	x0, x19
	bl	_updateWindowMode
LBB0_7:
	mov	x0, x19
	bl	_acquireMonitor
	b	LBB0_14
LBB0_8:
	cbz	x24, LBB0_11
; %bb.9:
	ldr	x8, [x24]
	cmp	x8, x19
	b.ne	LBB0_14
	b	LBB0_7
LBB0_10:
	mov	x0, x19
	bl	_updateWindowMode
	b	LBB0_13
LBB0_11:
	ldr	w8, [x19, #16]
	cbnz	w8, LBB0_13
; %bb.12:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_updateNormalHints
LBB0_13:
	ldr	w0, [x25]
	ldr	w1, [x19]
	mov	x2, x23
	mov	x3, x22
	mov	x4, x21
	mov	x5, x20
	bl	_XMoveResizeWindow
LBB0_14:
	ldr	w0, [x25]
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_XFlush
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	__glfw,4,2                      ; @_glfw
.subsections_via_symbols
