	.file	"extr_fbcon.c_show_rotate.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d\n"
	.text
	.p2align 4
	.type	show_rotate, @function
show_rotate:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	eax, eax
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdx
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	console_lock@PLT
	mov	rdx, QWORD PTR fg_console[rip]
	mov	rax, QWORD PTR con2fb_map[rip]
	movsx	rax, DWORD PTR [rax+rdx*4]
	cmp	eax, -1
	je	.L2
	mov	rdx, QWORD PTR registered_fb[rip]
	mov	rdi, QWORD PTR [rdx+rax*8]
	test	rdi, rdi
	je	.L2
	call	fbcon_get_rotate@PLT
	mov	r12d, eax
.L2:
	xor	eax, eax
	call	console_unlock@PLT
	mov	esi, DWORD PTR PAGE_SIZE[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	ecx, r12d
	mov	rdi, rbp
	lea	rdx, .LC0[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	snprintf@PLT
	.cfi_endproc
.LFE0:
	.size	show_rotate, .-show_rotate
	.comm	registered_fb,8,8
	.comm	fg_console,8,8
	.comm	con2fb_map,8,8
	.comm	PAGE_SIZE,4,4
	.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_fbcon.c_show_rotate.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	show_rotate, %function
show_rotate:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r2
	bl	console_lock
	ldr	r2, .L7
	ldr	r3, .L7+4
	ldr	r2, [r2]
	ldr	r3, [r3]
	ldr	r3, [r3, r2, lsl #2]
	cmn	r3, #1
	moveq	r4, #0
	beq	.L2
	ldr	r2, .L7+8
	ldr	r2, [r2]
	ldr	r0, [r2, r3, lsl #2]
	cmp	r0, #0
	moveq	r4, r0
	beq	.L2
	bl	fbcon_get_rotate
	mov	r4, r0
.L2:
	bl	console_unlock
	ldr	r2, .L7+12
	mov	r3, r4
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	ldr	r1, [r2]
	ldr	r2, .L7+16
	b	snprintf
.L8:
	.align	2
.L7:
	.word	fg_console
	.word	con2fb_map
	.word	registered_fb
	.word	PAGE_SIZE
	.word	.LC0
	.size	show_rotate, .-show_rotate
	.comm	registered_fb,4,4
	.comm	fg_console,4,4
	.comm	con2fb_map,4,4
	.comm	PAGE_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
