	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_con_new_skeleton               ## -- Begin function con_new_skeleton
	.p2align	4, 0x90
_con_new_skeleton:                      ## @con_new_skeleton
	.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, %r15
	movq	%rdi, %r14
	movl	$1, %edi
	movl	$48, %esi
	callq	_scalloc
	movq	%rax, %rbx
	movq	_con_on_remove_child@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%rbx)
	movq	_all_cons@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edx
	movq	%rbx, %rsi
	callq	_TAILQ_INSERT_TAIL
	movq	_CT_CON@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movq	%r15, 32(%rbx)
	movq	_config@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movl	$-1, (%rbx)
	testq	%r15, %r15
	jne	LBB0_2
## %bb.1:
	movq	_root_depth@GOTPCREL(%rip), %r15
LBB0_2:
	movl	(%r15), %eax
	movl	%eax, 24(%rbx)
	leaq	L_.str(%rip), %rdi
	callq	_DLOG
	leaq	20(%rbx), %rdi
	callq	_TAILQ_INIT
	leaq	16(%rbx), %rdi
	callq	_TAILQ_INIT
	leaq	12(%rbx), %rdi
	callq	_TAILQ_INIT
	leaq	8(%rbx), %rdi
	callq	_TAILQ_INIT
	movq	%rbx, %rdi
	addq	$4, %rdi
	callq	_TAILQ_INIT
	testq	%r14, %r14
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_con_attach
LBB0_4:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_con_on_remove_child,4,2        ## @con_on_remove_child
	.comm	_all_cons,4,2                   ## @all_cons
	.comm	_CT_CON,4,2                     ## @CT_CON
	.comm	_config,4,2                     ## @config
	.comm	_root_depth,4,2                 ## @root_depth
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"opening window\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_con_new_skeleton               ; -- Begin function con_new_skeleton
	.p2align	2
_con_new_skeleton:                      ; @con_new_skeleton
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	w0, #1
	mov	w1, #48
	bl	_scalloc
	mov	x20, x0
Lloh0:
	adrp	x8, _con_on_remove_child@GOTPAGE
Lloh1:
	ldr	x8, [x8, _con_on_remove_child@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #44]
Lloh3:
	adrp	x0, _all_cons@GOTPAGE
Lloh4:
	ldr	x0, [x0, _all_cons@GOTPAGEOFF]
	ldr	w2, [x0]
	mov	x1, x20
	bl	_TAILQ_INSERT_TAIL
Lloh5:
	adrp	x8, _CT_CON@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CT_CON@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x20, #40]
	str	x21, [x20, #32]
Lloh8:
	adrp	x8, _config@GOTPAGE
Lloh9:
	ldr	x8, [x8, _config@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x20, #28]
	mov	w8, #-1
	str	w8, [x20]
Lloh11:
	adrp	x8, _root_depth@GOTPAGE
Lloh12:
	ldr	x8, [x8, _root_depth@GOTPAGEOFF]
	cmp	x21, #0
	csel	x8, x8, x21, eq
	ldr	w8, [x8]
	str	w8, [x20, #24]
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DLOG
	add	x0, x20, #20
	bl	_TAILQ_INIT
	add	x0, x20, #16
	bl	_TAILQ_INIT
	add	x0, x20, #12
	bl	_TAILQ_INIT
	add	x0, x20, #8
	bl	_TAILQ_INIT
	add	x0, x20, #4
	bl	_TAILQ_INIT
	cbz	x19, LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	bl	_con_attach
LBB0_2:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_con_on_remove_child,4,2        ; @con_on_remove_child
	.comm	_all_cons,4,2                   ; @all_cons
	.comm	_CT_CON,4,2                     ; @CT_CON
	.comm	_config,4,2                     ; @config
	.comm	_root_depth,4,2                 ; @root_depth
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"opening window\n"

.subsections_via_symbols
