	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _workspace_apply_default_orientation
__workspace_apply_default_orientation:  ## @_workspace_apply_default_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_config@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_NO_ORIENTATION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.1:
	movq	%rbx, %rdi
	callq	_con_get_output
	movq	8(%rax), %rcx
	cmpq	16(%rax), %rcx
	jle	LBB0_2
## %bb.3:
	movq	_L_SPLITV@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_5:
	movq	_HORIZ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.7:
	movq	_L_SPLITH@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_2:
	movq	_L_SPLITH@GOTPCREL(%rip), %rcx
LBB0_4:
	movq	(%rcx), %rcx
	movq	%rcx, (%rbx)
	movups	8(%rax), %xmm0
	movups	%xmm0, 8(%rbx)
	movq	8(%rax), %rdx
	movq	16(%rax), %rsi
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_DLOG                           ## TAILCALL
LBB0_6:
	movq	_L_SPLITV@GOTPCREL(%rip), %rax
LBB0_8:
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_config,8,3                     ## @config
	.comm	_NO_ORIENTATION,8,3             ## @NO_ORIENTATION
	.comm	_L_SPLITV,8,3                   ## @L_SPLITV
	.comm	_L_SPLITH,8,3                   ## @L_SPLITH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Auto orientation. Workspace size set to (%d,%d), setting layout to %d.\n"

	.comm	_HORIZ,8,3                      ## @HORIZ
	.no_dead_strip	__workspace_apply_default_orientation
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _workspace_apply_default_orientation
__workspace_apply_default_orientation:  ; @_workspace_apply_default_orientation
	.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, x0
Lloh0:
	adrp	x8, _config@GOTPAGE
Lloh1:
	ldr	x8, [x8, _config@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _NO_ORIENTATION@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NO_ORIENTATION@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_con_get_output
	ldp	x8, x9, [x0, #8]
Lloh6:
	adrp	x10, _L_SPLITV@GOTPAGE
Lloh7:
	ldr	x10, [x10, _L_SPLITV@GOTPAGEOFF]
Lloh8:
	adrp	x11, _L_SPLITH@GOTPAGE
Lloh9:
	ldr	x11, [x11, _L_SPLITH@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x10, x11, gt
	ldr	x3, [x8]
	str	x3, [x19]
	ldur	q0, [x0, #8]
	stur	q0, [x19, #8]
	ldp	x2, x1, [x0, #8]
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_DLOG
LBB0_2:
Lloh12:
	adrp	x9, _HORIZ@GOTPAGE
Lloh13:
	ldr	x9, [x9, _HORIZ@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
Lloh15:
	adrp	x10, _L_SPLITH@GOTPAGE
Lloh16:
	ldr	x10, [x10, _L_SPLITH@GOTPAGEOFF]
Lloh17:
	adrp	x11, _L_SPLITV@GOTPAGE
Lloh18:
	ldr	x11, [x11, _L_SPLITV@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x10, x11, eq
	ldr	x8, [x8]
	str	x8, [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 AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_config,8,3                     ; @config
	.comm	_NO_ORIENTATION,8,3             ; @NO_ORIENTATION
	.comm	_L_SPLITV,8,3                   ; @L_SPLITV
	.comm	_L_SPLITH,8,3                   ; @L_SPLITH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Auto orientation. Workspace size set to (%d,%d), setting layout to %d.\n"

	.comm	_HORIZ,8,3                      ; @HORIZ
	.no_dead_strip	__workspace_apply_default_orientation
.subsections_via_symbols
