	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ws_force_orientation           ## -- Begin function ws_force_orientation
	.p2align	4, 0x90
_ws_force_orientation:                  ## @ws_force_orientation
	.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
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_con_new
	movq	%rax, %r13
	movq	%r14, 16(%rax)
	movq	(%r14), %rax
	movq	%rax, (%r13)
	movq	%r14, %rdi
	callq	_get_focus_order
	movq	%rax, %r12
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_DLOG
	leaq	8(%r14), %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_TAILQ_EMPTY
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_TAILQ_FIRST
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_con_detach
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	$1, %edx
	callq	_con_attach
	jmp	LBB0_2
LBB0_3:
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_set_focus_order
	movq	%r12, %rdi
	callq	_free
	movq	_HORIZ@GOTPCREL(%rip), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%rcx, (%rax)
	jne	LBB0_4
## %bb.5:
	movq	_L_SPLITH@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_L_SPLITV@GOTPCREL(%rip), %rax
LBB0_6:
	movq	(%rax), %rdx
	movq	%rdx, (%r14)
	movq	(%r13), %rsi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_DLOG
	leaq	L_.str.2(%rip), %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_DLOG
	movq	%r13, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_con_attach
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_con_fix_percent                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Moving cons\n"

	.comm	_HORIZ,8,3                      ## @HORIZ
	.comm	_L_SPLITH,8,3                   ## @L_SPLITH
	.comm	_L_SPLITV,8,3                   ## @L_SPLITV
L_.str.1:                               ## @.str.1
	.asciz	"split->layout = %d, ws->layout = %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"Attaching new split (%p) to ws (%p)\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ws_force_orientation           ; -- Begin function ws_force_orientation
	.p2align	2
_ws_force_orientation:                  ; @ws_force_orientation
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x1
	mov	x19, x0
	mov	x0, #0
	mov	x1, #0
	bl	_con_new
	mov	x20, x0
	str	x19, [x0, #16]
	mov	x23, x19
	ldr	x8, [x23], #8
	str	x8, [x0]
	mov	x0, x19
	bl	_get_focus_order
	mov	x22, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DLOG
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	bl	_TAILQ_EMPTY
	cbnz	w0, LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x23
	bl	_TAILQ_FIRST
	mov	x24, x0
	bl	_con_detach
	mov	x0, x24
	mov	x1, x20
	mov	w2, #1
	bl	_con_attach
	b	LBB0_1
LBB0_3:
	mov	x0, x20
	mov	x1, x22
	bl	_set_focus_order
	mov	x0, x22
	bl	_free
Lloh2:
	adrp	x8, _HORIZ@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HORIZ@GOTPAGEOFF]
Lloh4:
	adrp	x9, _L_SPLITH@GOTPAGE
Lloh5:
	ldr	x9, [x9, _L_SPLITH@GOTPAGEOFF]
Lloh6:
	adrp	x10, _L_SPLITV@GOTPAGE
Lloh7:
	ldr	x10, [x10, _L_SPLITV@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x8, x21
	csel	x8, x9, x10, eq
	ldr	x8, [x8]
	str	x8, [x19]
	ldr	x9, [x20]
	stp	x9, x8, [sp]
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DLOG
	stp	x20, x19, [sp]
Lloh11:
	adrp	x0, l_.str.2@PAGE
Lloh12:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_DLOG
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	bl	_con_attach
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_con_fix_percent
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Moving cons\n"

	.comm	_HORIZ,8,3                      ; @HORIZ
	.comm	_L_SPLITH,8,3                   ; @L_SPLITH
	.comm	_L_SPLITV,8,3                   ; @L_SPLITV
l_.str.1:                               ; @.str.1
	.asciz	"split->layout = %d, ws->layout = %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"Attaching new split (%p) to ws (%p)\n"

.subsections_via_symbols
