	.file	"extr_video_display_server.c_video_display_server_destroy.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	video_display_server_destroy
	.type	video_display_server_destroy, @function
video_display_server_destroy:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rdi, QWORD PTR initial_screen_orientation[rip]
	cmp	rdi, QWORD PTR current_screen_orientation[rip]
	jne	.L22
	mov	rax, QWORD PTR current_display_server[rip]
	test	rax, rax
	je	.L16
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L16
	mov	rdi, QWORD PTR current_display_server_data[rip]
	test	rdi, rdi
	je	.L16
	jmp	rax
	.p2align 4,,10
	.p2align 3
.L16:
	ret
	.p2align 4,,10
	.p2align 3
.L22:
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	call	video_display_server_set_screen_orientation@PLT
	mov	rax, QWORD PTR current_display_server[rip]
	test	rax, rax
	je	.L1
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L1
	mov	rdi, QWORD PTR current_display_server_data[rip]
	test	rdi, rdi
	je	.L1
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	rax
	.p2align 4,,10
	.p2align 3
.L1:
	.cfi_restore_state
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	video_display_server_destroy, .-video_display_server_destroy
	.comm	initial_screen_orientation,8,8
	.comm	current_screen_orientation,8,8
	.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_video_display_server.c_video_display_server_destroy.c"
	.text
	.align	2
	.global	video_display_server_destroy
	.syntax unified
	.arm
	.fpu softvfp
	.type	video_display_server_destroy, %function
video_display_server_destroy:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L23
	ldr	r3, .L23+4
	ldr	r0, [r2]
	ldr	r3, [r3]
	cmp	r0, r3
	bne	.L22
	ldr	r3, .L23+8
	ldr	r3, [r3]
	cmp	r3, #0
	bxeq	lr
	ldr	r3, [r3]
	cmp	r3, #0
	bxeq	lr
	ldr	r2, .L23+12
	ldr	r0, [r2]
	cmp	r0, #0
	bxeq	lr
	bx	r3
.L22:
	push	{r4, lr}
	bl	video_display_server_set_screen_orientation
	ldr	r3, .L23+8
	ldr	r3, [r3]
	cmp	r3, #0
	popeq	{r4, pc}
	ldr	r3, [r3]
	cmp	r3, #0
	popeq	{r4, pc}
	ldr	r2, .L23+12
	ldr	r0, [r2]
	cmp	r0, #0
	popeq	{r4, pc}
	pop	{r4, lr}
	bx	r3
.L24:
	.align	2
.L23:
	.word	initial_screen_orientation
	.word	current_screen_orientation
	.word	current_display_server
	.word	current_display_server_data
	.size	video_display_server_destroy, .-video_display_server_destroy
	.comm	initial_screen_orientation,4,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
