	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_floating_maybe_reassign_ws     ## -- Begin function floating_maybe_reassign_ws
	.p2align	4, 0x90
_floating_maybe_reassign_ws:            ## @floating_maybe_reassign_ws
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_con_get_workspace
	movl	%eax, %edi
	callq	_con_is_internal
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rdi
LBB0_2:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_DLOG
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	8(%r14), %edi
	callq	_get_output_from_rect
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_con_get_output
	cmpq	(%rbx), %rax
	jne	LBB0_7
## %bb.6:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_2
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
	callq	_ELOG
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_7:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_DLOG
	movq	(%rbx), %rdi
	callq	_output_get_content
	leaq	4(%rax), %rdi
	callq	_TAILQ_FIRST
	movq	%rax, %r15
	movl	(%r14), %edx
	movl	(%rax), %r8d
	leaq	L_.str.4(%rip), %rdi
	movq	%r14, %rsi
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_DLOG
	movl	$1, %ebx
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	callq	_con_move_to_workspace
	movq	%r15, %rdi
	callq	_workspace_show
	movq	%r14, %rdi
	callq	_con_descend_focused
	movl	%eax, %edi
	callq	_con_activate
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Con in an internal workspace\n"

L_.str.1:                               ## @.str.1
	.asciz	"No output found at destination coordinates?\n"

L_.str.2:                               ## @.str.2
	.asciz	"still the same ws\n"

L_.str.3:                               ## @.str.3
	.asciz	"Need to re-assign!\n"

L_.str.4:                               ## @.str.4
	.asciz	"Moving con %p / %s to workspace %p / %s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_floating_maybe_reassign_ws     ; -- Begin function floating_maybe_reassign_ws
	.p2align	2
_floating_maybe_reassign_ws:            ; @floating_maybe_reassign_ws
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x0
	bl	_con_get_workspace
	bl	_con_is_internal
	cbz	x0, LBB0_4
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
LBB0_2:
	bl	_DLOG
	mov	w20, #0
LBB0_3:
	mov	x0, x20
	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
	add	sp, sp, #80
	ret
LBB0_4:
	ldr	w0, [x19, #8]
	bl	_get_output_from_rect
	mov	x20, x0
	cbz	x0, LBB0_7
; %bb.5:
	mov	x0, x19
	bl	_con_get_output
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.6:
Lloh2:
	adrp	x0, l_.str.2@PAGE
Lloh3:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_2
LBB0_7:
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_ELOG
	b	LBB0_3
LBB0_8:
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_DLOG
	ldr	x0, [x20]
	bl	_output_get_content
	add	x0, x0, #4
	bl	_TAILQ_FIRST
	mov	x21, x0
	ldr	w8, [x19]
	ldr	w9, [x0]
	stp	x0, x9, [sp, #16]
	stp	x19, x8, [sp]
Lloh8:
	adrp	x0, l_.str.4@PAGE
Lloh9:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_DLOG
	mov	w20, #1
	mov	x0, x19
	mov	x1, x21
	mov	w2, #0
	mov	w3, #1
	mov	w4, #0
	bl	_con_move_to_workspace
	mov	x0, x21
	bl	_workspace_show
	mov	x0, x19
	bl	_con_descend_focused
	bl	_con_activate
	b	LBB0_3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Con in an internal workspace\n"

l_.str.1:                               ; @.str.1
	.asciz	"No output found at destination coordinates?\n"

l_.str.2:                               ; @.str.2
	.asciz	"still the same ws\n"

l_.str.3:                               ; @.str.3
	.asciz	"Need to re-assign!\n"

l_.str.4:                               ; @.str.4
	.asciz	"Moving con %p / %s to workspace %p / %s\n"

.subsections_via_symbols
