	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_con_toggle_layout              ## -- Begin function con_toggle_layout
	.p2align	4, 0x90
_con_toggle_layout:                     ## @con_toggle_layout
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rsi
	movq	(%rdi), %rax
	movq	_CT_WORKSPACE@GOTPCREL(%rip), %rcx
	movq	%rdi, %r15
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	24(%rsi), %r15
LBB0_2:
	leaq	L_.str(%rip), %rdi
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_DLOG
	movw	$32, -42(%rbp)
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	-42(%rbp), %rsi
	movq	%r14, %rdi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_22
LBB0_4:
	movq	_L_DEFAULT@GOTPCREL(%rip), %r13
	movq	(%r13), %rbx
	movq	%r14, %rdi
	callq	_sstrdup
	leaq	-42(%rbp), %rsi
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_strtok
	testq	%rax, %rax
	je	LBB0_20
## %bb.5:
	movq	%rax, %r14
	xorl	%r12d, %r12d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_6 Depth=1
	xorl	%r12d, %r12d
	cmpq	%rax, 8(%r15)
	sete	%r12b
	movq	%rcx, %rbx
LBB0_19:                                ##   in Loop: Header=BB0_6 Depth=1
	xorl	%edi, %edi
	leaq	-42(%rbp), %rsi
	callq	_strtok
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_20
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r14, %rdi
	leaq	-64(%rbp), %rsi
	callq	_layout_from_name
	testl	%eax, %eax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-64(%rbp), %rax
	cmpq	(%r13), %rax
	jne	LBB0_14
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=1
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rsi
	callq	_ELOG
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%r15), %rdx
	movq	_L_SPLITH@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_L_SPLITV@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rcx, %rdx
	je	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpq	%rax, %rdx
	je	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	16(%r15), %rax
	cmpq	(%r13), %rax
	cmovneq	%rax, %rcx
	movq	%rcx, -64(%rbp)
	movq	%rcx, %rax
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=1
	testl	%r12d, %r12d
	je	LBB0_16
	jmp	LBB0_15
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=1
	cmpq	%rcx, %rdx
	cmovneq	%rcx, %rax
	movq	%rax, -64(%rbp)
	testl	%r12d, %r12d
	jne	LBB0_15
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, %rcx
	cmpq	(%r13), %rbx
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rcx
	jmp	LBB0_18
LBB0_22:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcasecmp
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_24
## %bb.23:
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	jne	LBB0_37
LBB0_24:
	movq	8(%r15), %rcx
	movq	_L_STACKED@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_L_TABBED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rsi, %rcx
	jne	LBB0_26
## %bb.25:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	jmp	LBB0_36
LBB0_15:
	movq	%rax, %rbx
LBB0_20:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	cmpq	(%r13), %rbx
	je	LBB0_37
## %bb.21:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
LBB0_36:
	callq	_con_set_layout
LBB0_37:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_26:
	cmpq	%rax, %rcx
	jne	LBB0_29
## %bb.27:
	testq	%rbx, %rbx
	je	LBB0_28
## %bb.34:
	movq	16(%r15), %rsi
	jmp	LBB0_35
LBB0_29:
	movq	_L_SPLITH@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_L_SPLITV@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rdx, %rcx
	je	LBB0_31
## %bb.30:
	cmpq	%rax, %rcx
	jne	LBB0_37
LBB0_31:
	testq	%rbx, %rbx
	jne	LBB0_35
## %bb.32:
	cmpq	%rdx, %rcx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	jne	LBB0_36
## %bb.33:
	movq	%rax, %rsi
	jmp	LBB0_36
LBB0_28:
	movq	_L_SPLITH@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
LBB0_35:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_36
	.cfi_endproc
                                        ## -- End function
	.comm	_CT_WORKSPACE,8,3               ## @CT_WORKSPACE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"con_toggle_layout(%p, %s), parent = %p\n"

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

	.comm	_L_DEFAULT,8,3                  ## @L_DEFAULT
	.comm	_L_SPLITH,8,3                   ## @L_SPLITH
	.comm	_L_SPLITV,8,3                   ## @L_SPLITV
L_.str.2:                               ## @.str.2
	.asciz	"The token '%s' was not recognized and has been skipped.\n"

L_.str.3:                               ## @.str.3
	.asciz	"all"

L_.str.4:                               ## @.str.4
	.asciz	"default"

	.comm	_L_STACKED,8,3                  ## @L_STACKED
	.comm	_L_TABBED,8,3                   ## @L_TABBED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_con_toggle_layout              ; -- Begin function con_toggle_layout
	.p2align	2
_con_toggle_layout:                     ; @con_toggle_layout
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x22, x1
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _CT_WORKSPACE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CT_WORKSPACE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	mov	x20, x0
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.1:
	ldr	x20, [x19, #24]
LBB0_2:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	mov	x2, x22
	mov	x3, x20
	bl	_DLOG
	mov	w8, #32
	strh	w8, [sp, #30]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	bl	_strcasecmp
	cbz	x0, LBB0_4
; %bb.3:
	add	x1, sp, #30
	mov	x0, x22
	bl	_strstr
	cbz	x0, LBB0_17
LBB0_4:
Lloh7:
	adrp	x26, _L_DEFAULT@GOTPAGE
Lloh8:
	ldr	x26, [x26, _L_DEFAULT@GOTPAGEOFF]
	ldr	x21, [x26]
	mov	x0, x22
	bl	_sstrdup
	add	x1, sp, #30
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	bl	_strtok
	cbz	x0, LBB0_22
; %bb.5:
	mov	x25, x0
	mov	w22, #0
Lloh9:
	adrp	x23, l_.str.1@PAGE
Lloh10:
	add	x23, x23, l_.str.1@PAGEOFF
Lloh11:
	adrp	x27, _L_SPLITH@GOTPAGE
Lloh12:
	ldr	x27, [x27, _L_SPLITH@GOTPAGEOFF]
Lloh13:
	adrp	x28, _L_SPLITV@GOTPAGE
Lloh14:
	ldr	x28, [x28, _L_SPLITV@GOTPAGEOFF]
Lloh15:
	adrp	x24, l_.str.2@PAGE
Lloh16:
	add	x24, x24, l_.str.2@PAGEOFF
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x24
	mov	x1, x25
	bl	_ELOG
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x1, sp, #30
	mov	x0, #0
	bl	_strtok
	mov	x25, x0
	cbz	x0, LBB0_22
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x25
	mov	x1, x23
	bl	_strcasecmp
	cbz	x0, LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x1, sp, #16
	mov	x0, x25
	bl	_layout_from_name
	cbz	w0, LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [sp, #16]
	ldr	x9, [x26]
	cmp	x8, x9
	b.eq	LBB0_6
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	cbz	w22, LBB0_16
	b	LBB0_21
LBB0_12:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x9, [x20, #8]
	ldr	x8, [x27]
	ldr	x10, [x28]
	cmp	x9, x8
	ccmp	x9, x10, #4, ne
	b.ne	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=1
	cmp	x9, x8
	csel	x8, x10, x8, eq
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x9, [x20, #16]
	ldr	x10, [x26]
	cmp	x9, x10
	csel	x8, x8, x9, eq
LBB0_15:                                ;   in Loop: Header=BB0_8 Depth=1
	str	x8, [sp, #16]
	cbnz	w22, LBB0_21
LBB0_16:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x9, [x26]
	cmp	x21, x9
	csel	x21, x8, x21, eq
	ldr	x9, [x20, #8]
	cmp	x9, x8
	cset	w22, eq
	b	LBB0_7
LBB0_17:
Lloh17:
	adrp	x1, l_.str.3@PAGE
Lloh18:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x22
	bl	_strcasecmp
	mov	x21, x0
	cbz	x0, LBB0_19
; %bb.18:
Lloh19:
	adrp	x1, l_.str.4@PAGE
Lloh20:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x22
	bl	_strcasecmp
	cbnz	x0, LBB0_25
LBB0_19:
Lloh21:
	adrp	x8, _L_STACKED@GOTPAGE
Lloh22:
	ldr	x8, [x8, _L_STACKED@GOTPAGEOFF]
	ldr	x9, [x20, #8]
Lloh23:
	ldr	x1, [x8]
Lloh24:
	adrp	x8, _L_TABBED@GOTPAGE
Lloh25:
	ldr	x8, [x8, _L_TABBED@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	cmp	x9, x1
	b.ne	LBB0_26
LBB0_20:
	mov	x0, x19
	mov	x1, x8
	b	LBB0_24
LBB0_21:
	mov	x21, x8
LBB0_22:
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	bl	_free
	ldr	x8, [x26]
	cmp	x21, x8
	b.eq	LBB0_25
; %bb.23:
	mov	x0, x19
	mov	x1, x21
LBB0_24:
	bl	_con_set_layout
LBB0_25:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_26:
	cmp	x9, x8
	b.ne	LBB0_29
; %bb.27:
	cbz	x21, LBB0_32
; %bb.28:
	ldr	x1, [x20, #16]
	b	LBB0_33
LBB0_29:
Lloh27:
	adrp	x8, _L_SPLITH@GOTPAGE
Lloh28:
	ldr	x8, [x8, _L_SPLITH@GOTPAGEOFF]
Lloh29:
	ldr	x10, [x8]
Lloh30:
	adrp	x8, _L_SPLITV@GOTPAGE
Lloh31:
	ldr	x8, [x8, _L_SPLITV@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
	cmp	x9, x10
	ccmp	x9, x8, #4, ne
	b.ne	LBB0_25
; %bb.30:
	cbnz	x21, LBB0_33
; %bb.31:
	cmp	x9, x10
	b.eq	LBB0_20
	b	LBB0_33
LBB0_32:
Lloh33:
	adrp	x8, _L_SPLITH@GOTPAGE
Lloh34:
	ldr	x8, [x8, _L_SPLITH@GOTPAGEOFF]
Lloh35:
	ldr	x1, [x8]
LBB0_33:
	mov	x0, x19
	b	LBB0_24
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_CT_WORKSPACE,8,3               ; @CT_WORKSPACE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"con_toggle_layout(%p, %s), parent = %p\n"

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

	.comm	_L_DEFAULT,8,3                  ; @L_DEFAULT
	.comm	_L_SPLITH,8,3                   ; @L_SPLITH
	.comm	_L_SPLITV,8,3                   ; @L_SPLITV
l_.str.2:                               ; @.str.2
	.asciz	"The token '%s' was not recognized and has been skipped.\n"

l_.str.3:                               ; @.str.3
	.asciz	"all"

l_.str.4:                               ; @.str.4
	.asciz	"default"

	.comm	_L_STACKED,8,3                  ; @L_STACKED
	.comm	_L_TABBED,8,3                   ; @L_TABBED
.subsections_via_symbols
