	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tree_open_con                  ## -- Begin function tree_open_con
	.p2align	4, 0x90
_tree_open_con:                         ## @tree_open_con
	.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	%rsi, %r14
	movq	%rdi, %r15
	testq	%rdi, %rdi
	jne	LBB0_7
## %bb.1:
	movq	_focused@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	16(%rax), %r15
	movq	16(%r15), %rcx
	movq	(%rcx), %rcx
	movq	_CT_OUTPUT@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_3
## %bb.2:
	movq	(%r15), %rcx
	movq	_CT_DOCKAREA@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	cmovneq	%rax, %r15
LBB0_3:
	movq	(%r15), %rax
	movq	_CT_FLOATING_CON@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.4:
	movq	16(%r15), %rdi
	callq	_con_descend_tiling_focused
	movq	%rax, %r15
	movq	(%rax), %rax
	movq	_CT_WORKSPACE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.5:
	movq	16(%r15), %r15
LBB0_6:
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rsi
	callq	_DLOG
LBB0_7:
	xorl	%edi, %edi
	testq	%r15, %r15
	setne	%dil
	callq	_assert
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_con_new
	movq	%rax, %rbx
	movq	_L_SPLITH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	%r15, %rdi
	callq	_con_fix_percent
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_focused,8,3                    ## @focused
	.comm	_CT_OUTPUT,8,3                  ## @CT_OUTPUT
	.comm	_CT_DOCKAREA,8,3                ## @CT_DOCKAREA
	.comm	_CT_FLOATING_CON,8,3            ## @CT_FLOATING_CON
	.comm	_CT_WORKSPACE,8,3               ## @CT_WORKSPACE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"con = %p\n"

	.comm	_L_SPLITH,4,2                   ## @L_SPLITH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tree_open_con                  ; -- Begin function tree_open_con
	.p2align	2
_tree_open_con:                         ; @tree_open_con
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	cbnz	x0, LBB0_7
; %bb.1:
Lloh0:
	adrp	x8, _focused@GOTPAGE
Lloh1:
	ldr	x8, [x8, _focused@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x20, [x8, #16]
	ldr	x9, [x20, #16]
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _CT_OUTPUT@GOTPAGE
Lloh4:
	ldr	x10, [x10, _CT_OUTPUT@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_3
; %bb.2:
	ldr	x9, [x20]
Lloh6:
	adrp	x10, _CT_DOCKAREA@GOTPAGE
Lloh7:
	ldr	x10, [x10, _CT_DOCKAREA@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x9, x10
	csel	x20, x20, x8, eq
LBB0_3:
	ldr	x8, [x20]
Lloh9:
	adrp	x9, _CT_FLOATING_CON@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CT_FLOATING_CON@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.4:
	ldr	x0, [x20, #16]
	bl	_con_descend_tiling_focused
	mov	x20, x0
	ldr	x8, [x0]
Lloh12:
	adrp	x9, _CT_WORKSPACE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _CT_WORKSPACE@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_6
; %bb.5:
	ldr	x20, [x20, #16]
LBB0_6:
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_DLOG
LBB0_7:
	cmp	x20, #0
	cset	w0, ne
	bl	_assert
	mov	x0, x20
	mov	x1, x19
	bl	_con_new
	mov	x19, x0
Lloh17:
	adrp	x8, _L_SPLITH@GOTPAGE
Lloh18:
	ldr	x8, [x8, _L_SPLITH@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	str	w8, [x0, #8]
	mov	x0, x20
	bl	_con_fix_percent
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_focused,8,3                    ; @focused
	.comm	_CT_OUTPUT,8,3                  ; @CT_OUTPUT
	.comm	_CT_DOCKAREA,8,3                ; @CT_DOCKAREA
	.comm	_CT_FLOATING_CON,8,3            ; @CT_FLOATING_CON
	.comm	_CT_WORKSPACE,8,3               ; @CT_WORKSPACE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"con = %p\n"

	.comm	_L_SPLITH,4,2                   ; @L_SPLITH
.subsections_via_symbols
