	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwPlatformSetWindowFloating ## -- Begin function _glfwPlatformSetWindowFloating
	.p2align	4, 0x90
__glfwPlatformSetWindowFloating:        ## @_glfwPlatformSetWindowFloating
	.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
	movq	__glfw@GOTPCREL(%rip), %r12
	cmpl	$0, 12(%r12)
	je	LBB0_26
## %bb.1:
	cmpq	$0, (%r12)
	je	LBB0_26
## %bb.2:
	movq	%rsi, %rbx
	movq	%rdi, %r15
	callq	__glfwPlatformWindowVisible
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	testq	%rbx, %rbx
	jne	LBB0_4
## %bb.5:
	movq	__NET_WM_STATE_REMOVE@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_7:
	movl	(%r15), %edi
	movl	12(%r12), %esi
	movq	_XA_ATOM@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	leaq	-48(%rbp), %r14
	movq	%r14, %rcx
	callq	__glfwGetWindowPropertyX11
	movq	-48(%rbp), %rcx
	testq	%rcx, %rcx
	je	LBB0_26
## %bb.8:
	testq	%rbx, %rbx
	je	LBB0_12
## %bb.9:
	testq	%rax, %rax
	je	LBB0_10
## %bb.14:
	movq	(%r12), %rsi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%rsi, (%rcx,%rdx,8)
	je	LBB0_11
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	incq	%rdx
	cmpq	%rdx, %rax
	jne	LBB0_15
	jmp	LBB0_17
LBB0_4:
	movq	__NET_WM_STATE_ADD@GOTPCREL(%rip), %rax
LBB0_6:
	movq	(%rax), %rdx
	movl	12(%r12), %esi
	movq	(%r12), %rcx
	subq	$8, %rsp
	movq	%r15, %rdi
	xorl	%r8d, %r8d
	movl	$1, %r9d
	pushq	$0
	callq	_sendEventToWM
	addq	$16, %rsp
	jmp	LBB0_25
LBB0_12:
	testq	%rax, %rax
	je	LBB0_13
## %bb.18:
	xorl	%edx, %edx
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_19 Depth=1
	incq	%rdx
	cmpq	%rax, %rdx
	jae	LBB0_22
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rdx,8), %rsi
	cmpq	(%r12), %rsi
	jne	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	-8(%rcx,%rax,8), %rsi
	decq	%rax
	movq	%rsi, (%rcx,%rdx,8)
	jmp	LBB0_21
LBB0_10:
	xorl	%edx, %edx
LBB0_11:
	cmpq	%rax, %rdx
	jne	LBB0_24
LBB0_17:
	movl	(%r15), %esi
	movl	8(%r12), %edi
	movl	12(%r12), %edx
	movl	(%r13), %ecx
	movq	_PropModeAppend@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	$32, %r8d
	pushq	$1
	pushq	%r12
	jmp	LBB0_23
LBB0_13:
	xorl	%eax, %eax
LBB0_22:
	movl	(%r15), %esi
	movl	8(%r12), %edi
	movl	12(%r12), %edx
	movl	(%r13), %ecx
	movq	_PropModeReplace@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r9d
	movl	$32, %r8d
	pushq	%rax
	pushq	%r14
LBB0_23:
	callq	_XChangeProperty
	addq	$16, %rsp
LBB0_24:
	movq	-48(%rbp), %rdi
	callq	_XFree
LBB0_25:
	movl	8(%r12), %edi
	callq	_XFlush
LBB0_26:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__glfw,16,3                     ## @_glfw
	.comm	__NET_WM_STATE_ADD,8,3          ## @_NET_WM_STATE_ADD
	.comm	__NET_WM_STATE_REMOVE,8,3       ## @_NET_WM_STATE_REMOVE
	.comm	_XA_ATOM,4,2                    ## @XA_ATOM
	.comm	_PropModeAppend,4,2             ## @PropModeAppend
	.comm	_PropModeReplace,4,2            ## @PropModeReplace
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwPlatformSetWindowFloating ; -- Begin function _glfwPlatformSetWindowFloating
	.p2align	2
__glfwPlatformSetWindowFloating:        ; @_glfwPlatformSetWindowFloating
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x19, __glfw@GOTPAGE
Lloh1:
	ldr	x19, [x19, __glfw@GOTPAGEOFF]
	ldr	w8, [x19, #12]
	ldr	x9, [x19]
	cmp	w8, #0
	ccmp	x9, #0, #4, ne
	b.eq	LBB0_20
; %bb.1:
	mov	x21, x1
	mov	x20, x0
	bl	__glfwPlatformWindowVisible
	cbz	x0, LBB0_3
; %bb.2:
Lloh2:
	adrp	x8, __NET_WM_STATE_ADD@GOTPAGE
Lloh3:
	ldr	x8, [x8, __NET_WM_STATE_ADD@GOTPAGEOFF]
Lloh4:
	adrp	x9, __NET_WM_STATE_REMOVE@GOTPAGE
Lloh5:
	ldr	x9, [x9, __NET_WM_STATE_REMOVE@GOTPAGEOFF]
	cmp	x21, #0
	csel	x8, x9, x8, eq
	ldr	x2, [x8]
	ldr	w1, [x19, #12]
	ldr	x3, [x19]
	mov	x0, x20
	mov	w4, #0
	mov	w5, #1
	mov	w6, #0
	bl	_sendEventToWM
	b	LBB0_19
LBB0_3:
	ldr	w0, [x20]
	ldr	w1, [x19, #12]
Lloh6:
	adrp	x22, _XA_ATOM@GOTPAGE
Lloh7:
	ldr	x22, [x22, _XA_ATOM@GOTPAGEOFF]
	ldr	w2, [x22]
	add	x3, sp, #8
	bl	__glfwGetWindowPropertyX11
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_20
; %bb.4:
	mov	x7, x0
	cbz	x21, LBB0_11
; %bb.5:
	mov	x9, #0
	cbz	x7, LBB0_9
; %bb.6:
	ldr	x10, [x19]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x8, x9, lsl #3]
	cmp	x11, x10
	b.eq	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x9, x9, #1
	cmp	x7, x9
	b.ne	LBB0_7
	b	LBB0_10
LBB0_9:
	cmp	x9, x7
	b.ne	LBB0_18
LBB0_10:
	ldr	w1, [x20]
	ldp	w0, w2, [x19, #8]
	ldr	w3, [x22]
Lloh8:
	adrp	x8, _PropModeAppend@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PropModeAppend@GOTPAGEOFF]
Lloh10:
	ldr	w5, [x8]
	mov	w4, #32
	mov	x6, x19
	mov	w7, #1
	b	LBB0_17
LBB0_11:
	cbz	x7, LBB0_16
; %bb.12:
	mov	x9, #0
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x9, x9, #1
	cmp	x9, x7
	b.hs	LBB0_16
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x8, x9, lsl #3]
	ldr	x11, [x19]
	cmp	x10, x11
	b.ne	LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	sub	x7, x7, #1
	ldr	x10, [x8, x7, lsl #3]
	str	x10, [x8, x9, lsl #3]
	b	LBB0_13
LBB0_16:
	ldr	w1, [x20]
	ldp	w0, w2, [x19, #8]
	ldr	w3, [x22]
Lloh11:
	adrp	x8, _PropModeReplace@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PropModeReplace@GOTPAGEOFF]
Lloh13:
	ldr	w5, [x8]
	add	x6, sp, #8
	mov	w4, #32
LBB0_17:
	bl	_XChangeProperty
LBB0_18:
	ldr	x0, [sp, #8]
	bl	_XFree
LBB0_19:
	ldr	w0, [x19, #8]
	bl	_XFlush
LBB0_20:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	__glfw,16,3                     ; @_glfw
	.comm	__NET_WM_STATE_ADD,8,3          ; @_NET_WM_STATE_ADD
	.comm	__NET_WM_STATE_REMOVE,8,3       ; @_NET_WM_STATE_REMOVE
	.comm	_XA_ATOM,4,2                    ; @XA_ATOM
	.comm	_PropModeAppend,4,2             ; @PropModeAppend
	.comm	_PropModeReplace,4,2            ; @PropModeReplace
.subsections_via_symbols
