	.file	"extr_cmd_parser.c_cmd_handler_mi_display_flip.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"fail to decode MI display flip command\n"
	.align 8
.LC1:
	.string	"invalid MI display flip command\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"fail to update plane mmio\n"
	.text
	.p2align 4
	.type	cmd_handler_mi_display_flip, @function
cmd_handler_mi_display_flip:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	cmd_length@PLT
	mov	edi, 1
	mov	ebp, eax
	call	CMD_LEN@PLT
	xor	edx, edx
	mov	esi, 1
	mov	edi, 2
	mov	r12d, eax
	call	DWORD_FIELD@PLT
	mov	rdi, rbx
	cmp	eax, 2
	sete	al
	movzx	eax, al
	add	r12d, eax
	call	cmd_length@PLT
	mov	esi, r12d
	mov	edi, eax
	call	gvt_check_valid_cmd_length@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L15
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L16
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	lea	r13, 4[rsp]
	mov	rdi, rbx
	mov	rsi, r13
	call	decode_mi_display_flip@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L17
	mov	rsi, r13
	mov	rdi, rbx
	call	check_mi_display_flip@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L18
	mov	rsi, r13
	mov	rdi, rbx
	call	update_plane_mmio_from_mi_display_flip@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L6
	xor	r13d, r13d
	test	ebp, ebp
	jle	.L1
	.p2align 4,,10
	.p2align 3
.L7:
	mov	esi, r13d
	mov	r14d, DWORD PTR MI_NOOP[rip]
	mov	rdi, rbx
	add	r13d, 1
	call	cmd_ptr@PLT
	mov	rdi, rbx
	mov	esi, eax
	mov	edx, r14d
	call	patch_value@PLT
	cmp	ebp, r13d
	jne	.L7
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L17:
	lea	rdi, .LC0[rip]
	call	gvt_vgpu_err@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L18:
	lea	rdi, .LC1[rip]
	call	gvt_vgpu_err@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	lea	rdi, .LC2[rip]
	call	gvt_vgpu_err@PLT
	jmp	.L1
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	cmd_handler_mi_display_flip, .-cmd_handler_mi_display_flip
	.comm	MI_NOOP,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_cmd_parser.c_cmd_handler_mi_display_flip.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"fail to decode MI display flip command\012\000"
	.align	2
.LC1:
	.ascii	"invalid MI display flip command\012\000"
	.align	2
.LC2:
	.ascii	"fail to update plane mmio\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cmd_handler_mi_display_flip, %function
cmd_handler_mi_display_flip:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L18
	sub	sp, sp, #8
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	mov	r5, r0
	bl	cmd_length
	mov	r7, r0
	mov	r0, #1
	bl	CMD_LEN
	mov	r2, #0
	mov	r4, r0
	mov	r1, #1
	mov	r0, #2
	bl	DWORD_FIELD
	cmp	r0, #2
	addeq	r4, r4, #1
	mov	r0, r5
	bl	cmd_length
	mov	r1, r4
	bl	gvt_check_valid_cmd_length
	subs	r4, r0, #0
	beq	.L14
.L1:
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	mov	r0, r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L14:
	mov	r1, sp
	mov	r0, r5
	bl	decode_mi_display_flip
	subs	r4, r0, #0
	bne	.L16
	mov	r1, sp
	mov	r0, r5
	bl	check_mi_display_flip
	subs	r4, r0, #0
	bne	.L17
	mov	r1, sp
	mov	r0, r5
	bl	update_plane_mmio_from_mi_display_flip
	subs	r4, r0, #0
	bne	.L6
	cmp	r7, #0
	movgt	r6, r4
	ldrgt	r8, .L18+4
	ble	.L1
.L7:
	mov	r1, r6
	mov	r0, r5
	bl	cmd_ptr
	add	r6, r6, #1
	mov	r1, r0
	ldr	r2, [r8]
	mov	r0, r5
	bl	patch_value
	cmp	r7, r6
	bne	.L7
	b	.L1
.L16:
	ldr	r0, .L18+8
	bl	gvt_vgpu_err
	b	.L1
.L17:
	ldr	r0, .L18+12
	bl	gvt_vgpu_err
	b	.L1
.L6:
	ldr	r0, .L18+16
	bl	gvt_vgpu_err
	b	.L1
.L15:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	.LC3
	.word	MI_NOOP
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	cmd_handler_mi_display_flip, .-cmd_handler_mi_display_flip
	.comm	MI_NOOP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
