	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tree_move                      ## -- Begin function tree_move
	.p2align	4, 0x90
_tree_move:                             ## @tree_move
	.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	%esi, %r14d
	movq	%rdi, %r13
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_DLOG
	movq	_CT_WORKSPACE@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	cmpq	%rax, (%r13)
	jne	LBB0_3
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_2
LBB0_3:
	movq	8(%r13), %rcx
	movq	_CF_GLOBAL@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_5
## %bb.4:
	leaq	L_.str.2(%rip), %rdi
LBB0_2:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DLOG                           ## TAILCALL
LBB0_5:
	movq	_CF_OUTPUT@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_6
LBB0_48:
	movq	%r13, %rdi
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_move_to_output_directed        ## TAILCALL
LBB0_6:
	movq	32(%r13), %rdi
	cmpq	%rax, (%rdi)
	jne	LBB0_8
## %bb.7:
	callq	_con_num_children
	cmpl	$1, %eax
	je	LBB0_48
LBB0_8:
	movl	%r14d, %edi
	callq	_orientation_from_direction
	movq	%rax, %r15
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_con_parent_with_orientation
	movq	%rax, %rcx
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	$0, %ecx
	testq	%rax, %rax
	jne	LBB0_29
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rcx, %rcx
	jne	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r13, %rdi
	callq	_con_is_floating
	testq	%rax, %rax
	jne	LBB0_54
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r13, %rdi
	callq	_con_inside_floating
	testq	%rax, %rax
	jne	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=1
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_DLOG
	movq	%r13, %rdi
	callq	_con_get_workspace
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_ws_force_orientation
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_con_parent_with_orientation
	movq	%rax, %rcx
LBB0_14:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%rcx, %rax
	cmpq	32(%r13), %rcx
	jne	LBB0_28
## %bb.15:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	_D_LEFT@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	_D_UP@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	je	LBB0_17
## %bb.18:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	_nodes@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_TAILQ_NEXT
	jmp	LBB0_19
LBB0_17:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	_nodes_head@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_nodes@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	_TAILQ_PREV
LBB0_19:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_20
## %bb.26:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	32(%r13), %rbx
	movq	%r13, %rdi
	callq	_con_get_workspace
	cmpq	%rax, %rbx
	je	LBB0_48
## %bb.27:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	32(%r13), %rdi
	movq	%r15, %rsi
	callq	_con_parent_with_orientation
	jmp	LBB0_28
LBB0_29:
	movq	%r13, %rcx
	.p2align	4, 0x90
LBB0_30:                                ## =>This Inner Loop Header: Depth=1
	movq	%rcx, %rbx
	movq	32(%rcx), %rcx
	cmpq	%rax, %rcx
	jne	LBB0_30
## %bb.31:
	movq	%rax, %rdi
	callq	_con_fullscreen_permits_focusing
	testl	%eax, %eax
	je	LBB0_32
## %bb.37:
	leaq	L_.str.9(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_DLOG
	movq	_D_UP@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	je	LBB0_39
## %bb.38:
	movq	_D_LEFT@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	je	LBB0_39
## %bb.40:
	movq	_nodes@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_TAILQ_NEXT
	jmp	LBB0_41
LBB0_54:
	movq	%r13, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_floating_disable               ## TAILCALL
LBB0_20:
	movq	%rbx, %rdi
	callq	_con_is_leaf
	testl	%eax, %eax
	je	LBB0_33
## %bb.21:
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_DLOG
	movq	32(%rbx), %rdx
	addq	$40, %rdx
	movq	_nodes@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_D_LEFT@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	je	LBB0_23
## %bb.22:
	movq	_D_UP@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	je	LBB0_23
## %bb.24:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	jmp	LBB0_25
LBB0_12:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_DLOG
	movq	%r13, %rdi
	callq	_con_get_workspace
	movq	%r13, %rdi
	movq	%rax, %rsi
	movl	%r14d, %edx
	callq	_attach_to_workspace
	jmp	LBB0_53
LBB0_32:
	leaq	L_.str.8(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_LOG                            ## TAILCALL
LBB0_39:
	movq	_nodes_head@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_nodes@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_TAILQ_PREV
LBB0_41:
	testq	%rax, %rax
	je	LBB0_44
## %bb.42:
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_con_is_leaf
	testl	%eax, %eax
	jne	LBB0_49
## %bb.43:
	leaq	L_.str.10(%rip), %rdi
	xorl	%eax, %eax
	callq	_DLOG
	movq	%r12, %rdi
	jmp	LBB0_34
LBB0_44:
	movq	32(%r13), %rdi
	movq	32(%rdi), %rax
	movq	(%rax), %rax
	cmpq	(%r12), %rax
	jne	LBB0_49
## %bb.45:
	movq	16(%rdi), %rax
	movq	_L_DEFAULT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_49
## %bb.46:
	callq	_con_num_children
	cmpl	$1, %eax
	jne	LBB0_49
## %bb.47:
	leaq	L_.str.11(%rip), %rdi
	xorl	%eax, %eax
	callq	_DLOG
	jmp	LBB0_48
LBB0_49:
	leaq	L_.str.12(%rip), %rdi
	xorl	%eax, %eax
	callq	_DLOG
	movq	_D_UP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_BEFORE@GOTPCREL(%rip), %rcx
	movq	%rcx, %rdx
	movq	_D_LEFT@GOTPCREL(%rip), %rsi
	cmpl	%r14d, (%rsi)
	je	LBB0_51
## %bb.50:
	movq	_AFTER@GOTPCREL(%rip), %rdx
LBB0_51:
	cmpl	%r14d, %eax
	cmoveq	%rcx, %rdx
	jmp	LBB0_52
LBB0_33:
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_DLOG
	movq	%rbx, %rdi
LBB0_34:
	movl	%r14d, %esi
	callq	_con_descend_direction
	movq	%rax, %rbx
	movq	32(%rax), %rdi
	callq	_con_orientation
	movq	_D_UP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_AFTER@GOTPCREL(%rip), %rcx
	movq	%rcx, %rdx
	movq	_D_LEFT@GOTPCREL(%rip), %rdi
	cmpl	%r14d, (%rdi)
	je	LBB0_36
## %bb.35:
	movq	_BEFORE@GOTPCREL(%rip), %rdx
LBB0_36:
	cmpl	%r14d, %esi
	cmoveq	%rcx, %rdx
	cmpq	%r15, %rax
	cmovneq	%rcx, %rdx
LBB0_52:
	movl	(%rdx), %edx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_insert_con_into
LBB0_53:
	movl	24(%r13), %edi
	callq	_FREE
	leaq	L_.str.7(%rip), %rdi
	movq	%r13, %rsi
	callq	_ipc_send_window_event
	movq	_croot@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_tree_flatten
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ewmh_update_wm_desktop         ## TAILCALL
LBB0_23:
	movq	%rbx, %rdi
	movq	%r13, %rsi
LBB0_25:
	callq	_TAILQ_SWAP
	leaq	L_.str.7(%rip), %rdi
	movq	%r13, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ipc_send_window_event          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Moving in direction %d\n"

	.comm	_CT_WORKSPACE,8,3               ## @CT_WORKSPACE
L_.str.1:                               ## @.str.1
	.asciz	"Not moving workspace\n"

	.comm	_CF_GLOBAL,8,3                  ## @CF_GLOBAL
L_.str.2:                               ## @.str.2
	.asciz	"Not moving fullscreen global container\n"

	.comm	_CF_OUTPUT,8,3                  ## @CF_OUTPUT
L_.str.3:                               ## @.str.3
	.asciz	"Inside floating, moving to workspace\n"

L_.str.4:                               ## @.str.4
	.asciz	"Force-changing orientation\n"

	.comm	_D_LEFT,4,2                     ## @D_LEFT
	.comm	_D_UP,4,2                       ## @D_UP
	.comm	_nodes_head,4,2                 ## @nodes_head
	.comm	_nodes,4,2                      ## @nodes
L_.str.5:                               ## @.str.5
	.asciz	"Moving into our bordering branch\n"

	.comm	_AFTER,4,2                      ## @AFTER
	.comm	_BEFORE,4,2                     ## @BEFORE
L_.str.6:                               ## @.str.6
	.asciz	"Swapping with sibling.\n"

L_.str.7:                               ## @.str.7
	.asciz	"move"

L_.str.8:                               ## @.str.8
	.asciz	"Cannot move out of fullscreen container\n"

L_.str.9:                               ## @.str.9
	.asciz	"above = %p\n"

L_.str.10:                              ## @.str.10
	.asciz	"Moving into the bordering branch of our adjacent container\n"

	.comm	_L_DEFAULT,8,3                  ## @L_DEFAULT
L_.str.11:                              ## @.str.11
	.asciz	"Grandparent is workspace\n"

L_.str.12:                              ## @.str.12
	.asciz	"Moving into container above\n"

	.comm	_croot,4,2                      ## @croot
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tree_move                      ; -- Begin function tree_move
	.p2align	2
_tree_move:                             ; @tree_move
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	mov	x19, x0
	str	x20, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DLOG
	ldr	x9, [x19]
Lloh2:
	adrp	x26, _CT_WORKSPACE@GOTPAGE
Lloh3:
	ldr	x26, [x26, _CT_WORKSPACE@GOTPAGEOFF]
	ldr	x8, [x26]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_2:
	ldr	x9, [x19, #8]
Lloh6:
	adrp	x10, _CF_GLOBAL@GOTPAGE
Lloh7:
	ldr	x10, [x10, _CF_GLOBAL@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_5
; %bb.3:
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_4:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_DLOG
LBB0_5:
Lloh11:
	adrp	x10, _CF_OUTPUT@GOTPAGE
Lloh12:
	ldr	x10, [x10, _CF_OUTPUT@GOTPAGEOFF]
Lloh13:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_7
LBB0_6:
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_move_to_output_directed
LBB0_7:
	ldr	x0, [x19, #32]
	ldr	x9, [x0]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	bl	_con_num_children
	cmp	w0, #1
	b.eq	LBB0_6
LBB0_9:
	mov	x0, x20
	bl	_orientation_from_direction
	mov	x21, x0
	mov	x0, x19
	mov	x1, x21
	bl	_con_parent_with_orientation
	mov	x8, x0
Lloh14:
	adrp	x24, _D_LEFT@GOTPAGE
Lloh15:
	ldr	x24, [x24, _D_LEFT@GOTPAGEOFF]
Lloh16:
	adrp	x25, _D_UP@GOTPAGE
Lloh17:
	ldr	x25, [x25, _D_UP@GOTPAGEOFF]
Lloh18:
	adrp	x22, l_.str.4@PAGE
Lloh19:
	add	x22, x22, l_.str.4@PAGEOFF
Lloh20:
	adrp	x28, _nodes_head@GOTPAGE
Lloh21:
	ldr	x28, [x28, _nodes_head@GOTPAGEOFF]
Lloh22:
	adrp	x27, _nodes@GOTPAGE
Lloh23:
	ldr	x27, [x27, _nodes@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	x8, #0
	cbnz	x0, LBB0_22
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	cbnz	x8, LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x19
	bl	_con_is_floating
	cbnz	x0, LBB0_27
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x19
	bl	_con_inside_floating
	cbnz	x0, LBB0_31
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x22
	bl	_DLOG
	mov	x0, x19
	bl	_con_get_workspace
	mov	x1, x21
	bl	_ws_force_orientation
	mov	x0, x19
	mov	x1, x21
	bl	_con_parent_with_orientation
	mov	x8, x0
LBB0_15:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	x9, [x19, #32]
	mov	x0, x8
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.16:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w8, [x24]
	ldr	w9, [x25]
	cmp	w8, w20
	ccmp	w9, w20, #4, ne
	b.ne	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w1, [x28]
	ldr	w2, [x27]
	mov	x0, x19
	bl	_TAILQ_PREV
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	w1, [x27]
	mov	x0, x19
	bl	_TAILQ_NEXT
LBB0_19:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	x23, x0
	cbnz	x0, LBB0_28
; %bb.20:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x23, [x19, #32]
	mov	x0, x19
	bl	_con_get_workspace
	cmp	x23, x0
	b.eq	LBB0_6
; %bb.21:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x0, [x19, #32]
	mov	x1, x21
	bl	_con_parent_with_orientation
	b	LBB0_10
LBB0_22:
	mov	x8, x19
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	mov	x22, x8
	ldr	x8, [x8, #32]
	cmp	x8, x0
	b.ne	LBB0_23
; %bb.24:
	bl	_con_fullscreen_permits_focusing
	cbz	w0, LBB0_32
; %bb.25:
	str	x22, [sp]
Lloh24:
	adrp	x0, l_.str.9@PAGE
Lloh25:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_DLOG
	ldr	w8, [x25]
	ldr	w9, [x24]
	cmp	w8, w20
	ccmp	w9, w20, #4, ne
	b.ne	LBB0_33
; %bb.26:
	ldr	w1, [x28]
	ldr	w2, [x27]
	mov	x0, x22
	bl	_TAILQ_PREV
	b	LBB0_34
LBB0_27:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_floating_disable
LBB0_28:
	mov	x0, x23
	bl	_con_is_leaf
	cbz	w0, LBB0_42
; %bb.29:
Lloh26:
	adrp	x0, l_.str.6@PAGE
Lloh27:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_DLOG
	ldr	w8, [x24]
	ldr	w9, [x25]
	ldr	x10, [x23, #32]
	add	x2, x10, #40
	ldr	w3, [x27]
	cmp	w8, w20
	ccmp	w9, w20, #4, ne
	b.ne	LBB0_46
; %bb.30:
	mov	x0, x23
	mov	x1, x19
	b	LBB0_47
LBB0_31:
Lloh28:
	adrp	x0, l_.str.3@PAGE
Lloh29:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_DLOG
	mov	x0, x19
	bl	_con_get_workspace
	mov	x1, x0
	mov	x0, x19
	mov	x2, x20
	bl	_attach_to_workspace
	b	LBB0_45
LBB0_32:
Lloh30:
	adrp	x0, l_.str.8@PAGE
Lloh31:
	add	x0, x0, l_.str.8@PAGEOFF
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_LOG
LBB0_33:
	ldr	w1, [x27]
	mov	x0, x22
	bl	_TAILQ_NEXT
LBB0_34:
	mov	x23, x0
	cbz	x0, LBB0_37
; %bb.35:
	mov	x0, x23
	bl	_con_is_leaf
	cbnz	w0, LBB0_41
; %bb.36:
Lloh32:
	adrp	x0, l_.str.10@PAGE
Lloh33:
	add	x0, x0, l_.str.10@PAGEOFF
	b	LBB0_43
LBB0_37:
	ldr	x0, [x19, #32]
	ldr	x8, [x0, #32]
	ldr	x8, [x8]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_41
; %bb.38:
	ldr	x8, [x0, #16]
Lloh34:
	adrp	x9, _L_DEFAULT@GOTPAGE
Lloh35:
	ldr	x9, [x9, _L_DEFAULT@GOTPAGEOFF]
Lloh36:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_41
; %bb.39:
	bl	_con_num_children
	cmp	w0, #1
	b.ne	LBB0_41
; %bb.40:
Lloh37:
	adrp	x0, l_.str.11@PAGE
Lloh38:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_DLOG
	b	LBB0_6
LBB0_41:
Lloh39:
	adrp	x0, l_.str.12@PAGE
Lloh40:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_DLOG
	ldr	w8, [x25]
	ldr	w9, [x24]
	cmp	w9, w20
	ccmp	w8, w20, #4, ne
Lloh41:
	adrp	x8, _BEFORE@GOTPAGE
Lloh42:
	ldr	x8, [x8, _BEFORE@GOTPAGEOFF]
Lloh43:
	adrp	x9, _AFTER@GOTPAGE
Lloh44:
	ldr	x9, [x9, _AFTER@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	b	LBB0_44
LBB0_42:
Lloh45:
	adrp	x0, l_.str.5@PAGE
Lloh46:
	add	x0, x0, l_.str.5@PAGEOFF
LBB0_43:
	bl	_DLOG
	mov	x0, x23
	mov	x1, x20
	bl	_con_descend_direction
	mov	x22, x0
	ldr	x0, [x0, #32]
	bl	_con_orientation
	ldr	w8, [x25]
	ldr	w9, [x24]
	cmp	w9, w20
	ccmp	w8, w20, #4, ne
	ccmp	x0, x21, #0, ne
Lloh47:
	adrp	x8, _AFTER@GOTPAGE
Lloh48:
	ldr	x8, [x8, _AFTER@GOTPAGEOFF]
Lloh49:
	adrp	x9, _BEFORE@GOTPAGE
Lloh50:
	ldr	x9, [x9, _BEFORE@GOTPAGEOFF]
	csel	x8, x8, x9, ne
LBB0_44:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x22
	bl	_insert_con_into
LBB0_45:
	ldr	w0, [x19, #24]
	bl	_FREE
Lloh51:
	adrp	x0, l_.str.7@PAGE
Lloh52:
	add	x0, x0, l_.str.7@PAGEOFF
	mov	x1, x19
	bl	_ipc_send_window_event
Lloh53:
	adrp	x8, _croot@GOTPAGE
Lloh54:
	ldr	x8, [x8, _croot@GOTPAGEOFF]
Lloh55:
	ldr	w0, [x8]
	bl	_tree_flatten
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_ewmh_update_wm_desktop
LBB0_46:
	mov	x0, x19
	mov	x1, x23
LBB0_47:
	bl	_TAILQ_SWAP
Lloh56:
	adrp	x0, l_.str.7@PAGE
Lloh57:
	add	x0, x0, l_.str.7@PAGEOFF
	mov	x1, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_ipc_send_window_event
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh56, Lloh57
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Moving in direction %d\n"

	.comm	_CT_WORKSPACE,8,3               ; @CT_WORKSPACE
l_.str.1:                               ; @.str.1
	.asciz	"Not moving workspace\n"

	.comm	_CF_GLOBAL,8,3                  ; @CF_GLOBAL
l_.str.2:                               ; @.str.2
	.asciz	"Not moving fullscreen global container\n"

	.comm	_CF_OUTPUT,8,3                  ; @CF_OUTPUT
l_.str.3:                               ; @.str.3
	.asciz	"Inside floating, moving to workspace\n"

l_.str.4:                               ; @.str.4
	.asciz	"Force-changing orientation\n"

	.comm	_D_LEFT,4,2                     ; @D_LEFT
	.comm	_D_UP,4,2                       ; @D_UP
	.comm	_nodes_head,4,2                 ; @nodes_head
	.comm	_nodes,4,2                      ; @nodes
l_.str.5:                               ; @.str.5
	.asciz	"Moving into our bordering branch\n"

	.comm	_AFTER,4,2                      ; @AFTER
	.comm	_BEFORE,4,2                     ; @BEFORE
l_.str.6:                               ; @.str.6
	.asciz	"Swapping with sibling.\n"

l_.str.7:                               ; @.str.7
	.asciz	"move"

l_.str.8:                               ; @.str.8
	.asciz	"Cannot move out of fullscreen container\n"

l_.str.9:                               ; @.str.9
	.asciz	"above = %p\n"

l_.str.10:                              ; @.str.10
	.asciz	"Moving into the bordering branch of our adjacent container\n"

	.comm	_L_DEFAULT,8,3                  ; @L_DEFAULT
l_.str.11:                              ; @.str.11
	.asciz	"Grandparent is workspace\n"

l_.str.12:                              ; @.str.12
	.asciz	"Moving into container above\n"

	.comm	_croot,4,2                      ; @croot
.subsections_via_symbols
