	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_resize_find_tiling_participants ## -- Begin function resize_find_tiling_participants
	.p2align	4, 0x90
_resize_find_tiling_participants:       ## @resize_find_tiling_participants
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r13
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_DLOG
	movq	(%r13), %r14
	testq	%r14, %r14
	je	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	callq	_orientation_from_direction
	movq	%rax, %r12
	movq	_D_UP@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	sete	%dl
	movq	_D_LEFT@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	sete	%cl
	movq	(%r14), %rax
	movq	_CT_WORKSPACE@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	jne	LBB0_4
## %bb.2:
	xorl	%r15d, %r15d
	jmp	LBB0_26
LBB0_3:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_28
LBB0_4:
	orb	%cl, %dl
	movb	%dl, -41(%rbp)                  ## 1-byte Spill
	movq	%r14, %r13
	xorl	%r15d, %r15d
	jmp	LBB0_7
LBB0_23:                                ##   in Loop: Header=BB0_7 Depth=1
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_DLOG
	movq	16(%r13), %r14
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_7 Depth=1
	xorl	%r15d, %r15d
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r14), %rax
	movq	%r14, %r13
	cmpq	(%rbx), %rax
	je	LBB0_26
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	_CT_FLOATING_CON@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_25
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	testq	%r15, %r15
	jne	LBB0_25
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	16(%r13), %rdi
	callq	_con_orientation
	movq	16(%r13), %r14
	cmpq	%r12, %rax
	jne	LBB0_5
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	8(%r14), %rax
	movq	_L_STACKED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	$0, %r15d
	movq	_L_TABBED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpb	$0, -41(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_17
## %bb.13:                              ##   in Loop: Header=BB0_7 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
	movq	%rax, %r15
	cmpl	$1, -48(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_21
## %bb.14:                              ##   in Loop: Header=BB0_7 Depth=1
	testq	%r15, %r15
	jne	LBB0_21
## %bb.15:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	_nodes@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_TAILQ_NEXT
	jmp	LBB0_20
LBB0_17:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	_nodes@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_TAILQ_NEXT
	movq	%rax, %r15
	cmpl	$1, -48(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_21
## %bb.18:                              ##   in Loop: Header=BB0_7 Depth=1
	testq	%r15, %r15
	jne	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_7 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_20:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%rax, %r15
LBB0_21:                                ##   in Loop: Header=BB0_7 Depth=1
	testq	%r15, %r15
	je	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r13, %r14
	jmp	LBB0_6
LBB0_25:
	movq	%r13, %r14
LBB0_26:
	leaq	L_.str.3(%rip), %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_DLOG
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%r14, (%rax)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%r15, (%rax)
	movl	$1, %eax
	testq	%r15, %r15
	jne	LBB0_29
## %bb.27:
	leaq	L_.str.4(%rip), %rdi
LBB0_28:
	xorl	%eax, %eax
	callq	_DLOG
	xorl	%eax, %eax
LBB0_29:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Find two participants for resizing container=%p in direction=%i\n"

L_.str.1:                               ## @.str.1
	.asciz	"Current container is NULL, aborting.\n"

	.comm	_D_UP,8,3                       ## @D_UP
	.comm	_D_LEFT,8,3                     ## @D_LEFT
	.comm	_CT_WORKSPACE,8,3               ## @CT_WORKSPACE
	.comm	_CT_FLOATING_CON,8,3            ## @CT_FLOATING_CON
	.comm	_L_STACKED,8,3                  ## @L_STACKED
	.comm	_L_TABBED,8,3                   ## @L_TABBED
	.comm	_nodes_head,4,2                 ## @nodes_head
	.comm	_nodes,4,2                      ## @nodes
L_.str.2:                               ## @.str.2
	.asciz	"No second container in this direction found, trying to look further up in the tree...\n"

L_.str.3:                               ## @.str.3
	.asciz	"Found participants: first=%p and second=%p.\n"

L_.str.4:                               ## @.str.4
	.asciz	"Could not find two participants for this resize request.\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_resize_find_tiling_participants ; -- Begin function resize_find_tiling_participants
	.p2align	2
_resize_find_tiling_participants:       ; @resize_find_tiling_participants
	.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	x21, x3
	mov	x23, x2
	mov	x19, x1
	mov	x20, x0
	stp	x1, x2, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DLOG
	ldr	x26, [x20]
	cbz	x26, LBB0_3
; %bb.1:
	mov	x0, x23
	bl	_orientation_from_direction
Lloh2:
	adrp	x8, _D_UP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _D_UP@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x8, x23
Lloh5:
	adrp	x8, _D_LEFT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _D_LEFT@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ccmp	x8, x23, #4, ne
	cset	w23, eq
	ldr	x8, [x26]
Lloh8:
	adrp	x27, _CT_WORKSPACE@GOTPAGE
Lloh9:
	ldr	x27, [x27, _CT_WORKSPACE@GOTPAGEOFF]
	ldr	x9, [x27]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
	mov	x25, #0
	b	LBB0_22
LBB0_3:
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_25
LBB0_4:
	mov	x22, x0
	mov	x25, #0
Lloh12:
	adrp	x28, _CT_FLOATING_CON@GOTPAGE
Lloh13:
	ldr	x28, [x28, _CT_FLOATING_CON@GOTPAGEOFF]
	mov	x24, x26
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x25, #0
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x26]
	ldr	x9, [x27]
	mov	x24, x26
	cmp	x8, x9
	b.eq	LBB0_22
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x28]
	cmp	x8, x9
	ccmp	x25, #0, #0, ne
	b.ne	LBB0_21
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x0, [x24, #16]
	bl	_con_orientation
	ldr	x26, [x24, #16]
	cmp	x0, x22
	b.ne	LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x26, #8]
Lloh14:
	adrp	x9, _L_STACKED@GOTPAGE
Lloh15:
	ldr	x9, [x9, _L_STACKED@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
Lloh17:
	adrp	x10, _L_TABBED@GOTPAGE
Lloh18:
	ldr	x10, [x10, _L_TABBED@GOTPAGEOFF]
Lloh19:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.eq	LBB0_5
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	cbz	w23, LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
Lloh20:
	adrp	x8, _nodes_head@GOTPAGE
Lloh21:
	ldr	x8, [x8, _nodes_head@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
Lloh23:
	adrp	x8, _nodes@GOTPAGE
Lloh24:
	ldr	x8, [x8, _nodes@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
	mov	x0, x24
	bl	_TAILQ_PREV
	mov	x25, x0
	cmp	w21, #1
	b.ne	LBB0_18
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
	cbnz	x25, LBB0_18
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=1
Lloh26:
	adrp	x8, _nodes@GOTPAGE
Lloh27:
	ldr	x8, [x8, _nodes@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	mov	x0, x24
	bl	_TAILQ_NEXT
	b	LBB0_17
LBB0_14:                                ;   in Loop: Header=BB0_7 Depth=1
Lloh29:
	adrp	x8, _nodes@GOTPAGE
Lloh30:
	ldr	x8, [x8, _nodes@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	mov	x0, x24
	bl	_TAILQ_NEXT
	mov	x25, x0
	cmp	w21, #1
	b.ne	LBB0_18
; %bb.15:                               ;   in Loop: Header=BB0_7 Depth=1
	cbnz	x25, LBB0_18
; %bb.16:                               ;   in Loop: Header=BB0_7 Depth=1
Lloh32:
	adrp	x8, _nodes_head@GOTPAGE
Lloh33:
	ldr	x8, [x8, _nodes_head@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
Lloh35:
	adrp	x8, _nodes@GOTPAGE
Lloh36:
	ldr	x8, [x8, _nodes@GOTPAGEOFF]
Lloh37:
	ldr	w2, [x8]
	mov	x0, x24
	bl	_TAILQ_PREV
LBB0_17:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x25, x0
LBB0_18:                                ;   in Loop: Header=BB0_7 Depth=1
	cbz	x25, LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x26, x24
	b	LBB0_6
LBB0_20:                                ;   in Loop: Header=BB0_7 Depth=1
Lloh38:
	adrp	x0, l_.str.2@PAGE
Lloh39:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_DLOG
	ldr	x26, [x24, #16]
	b	LBB0_6
LBB0_21:
	mov	x26, x24
LBB0_22:
	stp	x26, x25, [sp]
Lloh40:
	adrp	x0, l_.str.3@PAGE
Lloh41:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_DLOG
	str	x26, [x20]
	str	x25, [x19]
	cbz	x25, LBB0_24
; %bb.23:
	mov	w0, #1
	b	LBB0_26
LBB0_24:
Lloh42:
	adrp	x0, l_.str.4@PAGE
Lloh43:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_25:
	bl	_DLOG
	mov	w0, #0
LBB0_26:
	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
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Find two participants for resizing container=%p in direction=%i\n"

l_.str.1:                               ; @.str.1
	.asciz	"Current container is NULL, aborting.\n"

	.comm	_D_UP,8,3                       ; @D_UP
	.comm	_D_LEFT,8,3                     ; @D_LEFT
	.comm	_CT_WORKSPACE,8,3               ; @CT_WORKSPACE
	.comm	_CT_FLOATING_CON,8,3            ; @CT_FLOATING_CON
	.comm	_L_STACKED,8,3                  ; @L_STACKED
	.comm	_L_TABBED,8,3                   ; @L_TABBED
	.comm	_nodes_head,4,2                 ; @nodes_head
	.comm	_nodes,4,2                      ; @nodes
l_.str.2:                               ; @.str.2
	.asciz	"No second container in this direction found, trying to look further up in the tree...\n"

l_.str.3:                               ; @.str.3
	.asciz	"Found participants: first=%p and second=%p.\n"

l_.str.4:                               ; @.str.4
	.asciz	"Could not find two participants for this resize request.\n"

.subsections_via_symbols
