	.file	"extr_workspace.c__workspace_apply_default_orientation.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Auto orientation. Workspace size set to (%d,%d), setting layout to %d.\n"
	.text
	.p2align 4
	.type	_workspace_apply_default_orientation, @function
_workspace_apply_default_orientation:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR config[rip]
	cmp	rax, QWORD PTR NO_ORIENTATION[rip]
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	je	.L9
	cmp	rax, QWORD PTR HORIZ[rip]
	mov	rdx, QWORD PTR L_SPLITV[rip]
	jne	.L6
	mov	rdx, QWORD PTR L_SPLITH[rip]
.L6:
	mov	QWORD PTR [rbx], rdx
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	call	con_get_output@PLT
	mov	rcx, QWORD PTR L_SPLITH[rip]
	mov	rsi, QWORD PTR 16[rax]
	cmp	QWORD PTR 8[rax], rsi
	jle	.L4
	mov	rcx, QWORD PTR L_SPLITV[rip]
.L4:
	movdqu	xmm0, XMMWORD PTR 8[rax]
	mov	QWORD PTR [rbx], rcx
	lea	rdi, .LC0[rip]
	movups	XMMWORD PTR 8[rbx], xmm0
	mov	rdx, QWORD PTR 8[rax]
	mov	rsi, QWORD PTR 16[rax]
	pop	rbx
	.cfi_def_cfa_offset 8
	jmp	DLOG@PLT
	.cfi_endproc
.LFE0:
	.size	_workspace_apply_default_orientation, .-_workspace_apply_default_orientation
	.comm	config,8,8
	.comm	NO_ORIENTATION,8,8
	.comm	L_SPLITV,8,8
	.comm	L_SPLITH,8,8
	.comm	HORIZ,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_workspace.c__workspace_apply_default_orientation.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Auto orientation. Workspace size set to (%d,%d), se"
	.ascii	"tting layout to %d.\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_workspace_apply_default_orientation, %function
_workspace_apply_default_orientation:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L10
	ldr	r2, .L10+4
	ldr	r3, [r3]
	ldr	r2, [r2]
	push	{r4, lr}
	cmp	r3, r2
	mov	r4, r0
	beq	.L9
	ldr	r2, .L10+8
	ldr	r2, [r2]
	cmp	r3, r2
	ldreq	r3, .L10+12
	ldrne	r3, .L10+16
	ldr	r3, [r3]
	str	r3, [r0]
	pop	{r4, pc}
.L9:
	bl	con_get_output
	mov	ip, r0
	ldmib	r0, {r2, r3}
	ldmib	r0, {r0, r1}
	cmp	r2, r3
	ldrgt	r3, .L10+16
	ldrle	r3, .L10+12
	ldr	r3, [r3]
	str	r3, [r4], #4
	stm	r4, {r0, r1}
	pop	{r4, lr}
	ldr	r2, [ip, #4]
	ldr	r1, [ip, #8]
	ldr	r0, .L10+20
	b	DLOG
.L11:
	.align	2
.L10:
	.word	config
	.word	NO_ORIENTATION
	.word	HORIZ
	.word	L_SPLITH
	.word	L_SPLITV
	.word	.LC0
	.size	_workspace_apply_default_orientation, .-_workspace_apply_default_orientation
	.comm	config,4,4
	.comm	NO_ORIENTATION,4,4
	.comm	L_SPLITV,4,4
	.comm	L_SPLITH,4,4
	.comm	HORIZ,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
