	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_con_move_to_mark               ## -- Begin function con_move_to_mark
	.p2align	4, 0x90
_con_move_to_mark:                      ## @con_move_to_mark
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_con_by_mark
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_con_get_workspace
	movq	%rax, %rbx
	leaq	L_.str.1(%rip), %rdi
	xorl	%esi, %esi
	callq	_workspace_get
	cmpq	%rax, %rbx
	je	LBB0_3
## %bb.4:
	movq	%r15, %rdi
	callq	_con_is_floating
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_DLOG
	movq	%r15, %rdi
	callq	_con_get_workspace
	movl	$1, %r12d
	movq	%r14, %rdi
	movq	%rax, %rsi
LBB0_9:
	movl	$1, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_con_move_to_workspace
	jmp	LBB0_15
LBB0_1:
	leaq	L_.str(%rip), %rdi
	xorl	%r12d, %r12d
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_DLOG
	jmp	LBB0_15
LBB0_3:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_DLOG
	movq	%r14, %rdi
	callq	_scratchpad_move
	movl	$1, %r12d
	jmp	LBB0_15
LBB0_6:
	movq	(%r15), %rax
	movq	_CT_WORKSPACE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.7:
	movq	%r15, %rdi
	callq	_con_is_leaf
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_DLOG
	movl	$1, %r12d
	movq	%r14, %rdi
	movq	%r15, %rsi
	jmp	LBB0_9
LBB0_10:
	movq	%r15, %rdi
	callq	_con_is_split
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_DLOG
	addq	$8, %r15
	movq	%r15, %rdi
	callq	_TAILQ_FIRST
	movq	%rax, %r15
LBB0_12:
	cmpq	%r14, %r15
	je	LBB0_14
## %bb.13:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_con_has_parent
	testq	%rax, %rax
	je	LBB0_17
LBB0_14:
	leaq	L_.str.6(%rip), %rdi
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_DLOG
LBB0_15:
	movl	%r12d, %eax
LBB0_16:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movl	$1, (%rsp)
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__con_move_to_con
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"found no container with mark \"%s\"\n"

L_.str.1:                               ## @.str.1
	.asciz	"__i3_scratch"

L_.str.2:                               ## @.str.2
	.asciz	"target container is in the scratchpad, moving container to scratchpad.\n"

L_.str.3:                               ## @.str.3
	.asciz	"target container is floating, moving container to target's workspace.\n"

	.comm	_CT_WORKSPACE,8,3               ## @CT_WORKSPACE
L_.str.4:                               ## @.str.4
	.asciz	"target container is an empty workspace, simply moving the container there.\n"

L_.str.5:                               ## @.str.5
	.asciz	"target is a split container, descending to the currently focused child.\n"

L_.str.6:                               ## @.str.6
	.asciz	"cannot move the container to or inside itself, aborting.\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_con_move_to_mark               ; -- Begin function con_move_to_mark
	.p2align	2
_con_move_to_mark:                      ; @con_move_to_mark
	.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
	mov	x21, x1
	mov	x19, x0
	mov	x0, x1
	bl	_con_by_mark
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
	bl	_con_get_workspace
	mov	x21, x0
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, #0
	bl	_workspace_get
	cmp	x21, x0
	b.eq	LBB0_7
; %bb.2:
	mov	x0, x20
	bl	_con_is_floating
	cbz	x0, LBB0_9
; %bb.3:
Lloh2:
	adrp	x0, l_.str.3@PAGE
Lloh3:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_DLOG
	mov	x0, x20
	bl	_con_get_workspace
	mov	x1, x0
	mov	w21, #1
	mov	x0, x19
LBB0_4:
	mov	w2, #1
	mov	w3, #0
	mov	w4, #0
	bl	_con_move_to_workspace
	b	LBB0_8
LBB0_5:
	str	x21, [sp]
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
LBB0_6:
	bl	_DLOG
	mov	w21, #0
	b	LBB0_8
LBB0_7:
Lloh6:
	adrp	x0, l_.str.2@PAGE
Lloh7:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_DLOG
	mov	x0, x19
	bl	_scratchpad_move
	mov	w21, #1
LBB0_8:
	mov	x0, x21
	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
LBB0_9:
	ldr	x8, [x20]
Lloh8:
	adrp	x9, _CT_WORKSPACE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _CT_WORKSPACE@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.10:
	mov	x0, x20
	bl	_con_is_leaf
	cbz	x0, LBB0_12
; %bb.11:
Lloh11:
	adrp	x0, l_.str.4@PAGE
Lloh12:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_DLOG
	mov	w21, #1
	mov	x0, x19
	mov	x1, x20
	b	LBB0_4
LBB0_12:
	mov	x0, x20
	bl	_con_is_split
	cbz	x0, LBB0_14
; %bb.13:
Lloh13:
	adrp	x0, l_.str.5@PAGE
Lloh14:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_DLOG
	add	x0, x20, #8
	bl	_TAILQ_FIRST
	mov	x20, x0
LBB0_14:
	cmp	x20, x19
	b.eq	LBB0_16
; %bb.15:
	mov	x0, x20
	mov	x1, x19
	bl	_con_has_parent
	cbz	x0, LBB0_17
LBB0_16:
Lloh15:
	adrp	x0, l_.str.6@PAGE
Lloh16:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_6
LBB0_17:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	mov	w3, #1
	mov	w4, #0
	mov	w5, #0
	mov	w6, #1
	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
	b	__con_move_to_con
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"found no container with mark \"%s\"\n"

l_.str.1:                               ; @.str.1
	.asciz	"__i3_scratch"

l_.str.2:                               ; @.str.2
	.asciz	"target container is in the scratchpad, moving container to scratchpad.\n"

l_.str.3:                               ; @.str.3
	.asciz	"target container is floating, moving container to target's workspace.\n"

	.comm	_CT_WORKSPACE,8,3               ; @CT_WORKSPACE
l_.str.4:                               ; @.str.4
	.asciz	"target container is an empty workspace, simply moving the container there.\n"

l_.str.5:                               ; @.str.5
	.asciz	"target is a split container, descending to the currently focused child.\n"

l_.str.6:                               ; @.str.6
	.asciz	"cannot move the container to or inside itself, aborting.\n"

.subsections_via_symbols
