	.file	"extr_..gfxvideo_display_server.c_video_display_server_init.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"[Video]: Found display server: %s\n"
	.text
	.p2align 4
	.globl	video_display_server_init
	.type	video_display_server_init, @function
video_display_server_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	xor	eax, eax
	call	video_driver_display_type_get@PLT
	mov	ebx, eax
	xor	eax, eax
	call	video_display_server_destroy@PLT
	add	ebx, -128
	mov	rdx, QWORD PTR current_display_server[rip]
	cmp	ebx, 1
	jbe	.L3
	lea	rdx, dispserv_null[rip]
	mov	QWORD PTR current_display_server[rip], rdx
.L3:
	xor	eax, eax
	call	[QWORD PTR 8[rdx]]
	lea	rdi, .LC0[rip]
	mov	QWORD PTR current_display_server_data[rip], rax
	mov	rax, QWORD PTR current_display_server[rip]
	mov	esi, DWORD PTR [rax]
	call	RARCH_LOG@PLT
	xor	eax, eax
	call	video_display_server_get_screen_orientation@PLT
	pop	rbx
	.cfi_def_cfa_offset 8
	mov	DWORD PTR initial_screen_orientation[rip], eax
	mov	DWORD PTR current_screen_orientation[rip], eax
	mov	rax, QWORD PTR current_display_server_data[rip]
	ret
	.cfi_endproc
.LFE0:
	.size	video_display_server_init, .-video_display_server_init
	.comm	initial_screen_orientation,4,4
	.comm	dispserv_x11,16,16
	.comm	dispserv_win32,16,16
	.comm	dispserv_null,16,16
	.comm	dispserv_android,16,16
	.comm	current_screen_orientation,4,4
	.comm	current_display_server_data,8,8
	.comm	current_display_server,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_..gfxvideo_display_server.c_video_display_server_init.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"[Video]: Found display server: %s\012\000"
	.text
	.align	2
	.global	video_display_server_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	video_display_server_init, %function
video_display_server_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	bl	video_driver_display_type_get
	mov	r4, r0
	bl	video_display_server_destroy
	sub	r4, r4, #128
	cmp	r4, #1
	ldrhi	r2, .L6
	ldrls	r4, .L6+4
	movhi	r3, r2
	ldrhi	r4, .L6+4
	ldrls	r3, [r4]
	strhi	r2, [r4]
	ldr	r3, [r3, #4]
	blx	r3
	mov	r3, r0
	ldr	r2, [r4]
	ldr	r4, .L6+8
	ldr	r1, [r2]
	ldr	r0, .L6+12
	str	r3, [r4]
	bl	RARCH_LOG
	bl	video_display_server_get_screen_orientation
	mov	r3, r0
	ldr	r1, .L6+16
	ldr	r2, .L6+20
	ldr	r0, [r4]
	str	r3, [r1]
	str	r3, [r2]
	pop	{r4, pc}
.L7:
	.align	2
.L6:
	.word	dispserv_null
	.word	current_display_server
	.word	current_display_server_data
	.word	.LC0
	.word	initial_screen_orientation
	.word	current_screen_orientation
	.size	video_display_server_init, .-video_display_server_init
	.comm	initial_screen_orientation,4,4
	.comm	dispserv_x11,8,4
	.comm	dispserv_win32,8,4
	.comm	dispserv_null,8,4
	.comm	dispserv_android,8,4
	.comm	current_screen_orientation,4,4
	.comm	current_display_server_data,4,4
	.comm	current_display_server,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
