	.file	"extr_fb_decoder.c_intel_vgpu_get_stride.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"skl: unsupported bpp:%d\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"skl: unsupported tile format:%x\n"
	.text
	.p2align 4
	.type	intel_vgpu_get_stride, @function
intel_vgpu_get_stride:
.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
	mov	r13d, r8d
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	mov	edi, esi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rax, QWORD PTR [r12]
	mov	ebx, ecx
	mov	r14, QWORD PTR [rax]
	call	DSPSTRIDE@PLT
	mov	rdi, r12
	mov	esi, eax
	call	vgpu_vreg_t@PLT
	mov	rdi, r14
	and	eax, ebx
	mov	r12d, eax
	call	INTEL_GEN@PLT
	cmp	eax, 8
	jle	.L1
	cmp	ebp, 130
	je	.L3
	jg	.L4
	cmp	ebp, 128
	je	.L5
	cmp	ebp, 129
	jne	.L7
.L11:
	sal	r12d, 7
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
.L4:
	.cfi_restore_state
	cmp	ebp, 131
	jne	.L7
.L13:
	sal	r12d, 6
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	mov	eax, r12d
	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
.L5:
	.cfi_restore_state
	cmp	r13d, 8
	je	.L13
	lea	eax, -16[r13]
	and	eax, -17
	je	.L11
	cmp	r13d, 64
	je	.L11
	mov	esi, r13d
	lea	rdi, .LC0[rip]
	call	gvt_dbg_core@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L7:
	mov	esi, ebp
	lea	rdi, .LC1[rip]
	call	gvt_dbg_core@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
.L3:
	.cfi_restore_state
	sal	r12d, 9
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	intel_vgpu_get_stride, .-intel_vgpu_get_stride
	.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_fb_decoder.c_intel_vgpu_get_stride.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"skl: unsupported bpp:%d\012\000"
	.align	2
.LC1:
	.ascii	"skl: unsupported tile format:%x\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	intel_vgpu_get_stride, %function
intel_vgpu_get_stride:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	ip, [r0]
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	mov	r0, r1
	mov	r6, r3
	ldr	r7, [ip]
	mov	r5, r2
	bl	DSPSTRIDE
	mov	r1, r0
	mov	r0, r4
	bl	vgpu_vreg_t
	mov	r4, r0
	mov	r0, r7
	bl	INTEL_GEN
	cmp	r0, #8
	and	r4, r4, r6
	bgt	.L15
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L15:
	sub	r3, r5, #128
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L3
.L5:
	.word	.L8
	.word	.L13
	.word	.L6
	.word	.L12
.L8:
	ldr	r3, [sp, #24]
	cmp	r3, #8
	beq	.L12
	ldr	r3, [sp, #24]
	ldr	r2, [sp, #24]
	sub	r3, r3, #16
	bic	r3, r3, #16
	cmp	r3, #0
	cmpne	r2, #64
	bne	.L10
.L13:
	lsl	r4, r4, #7
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L12:
	lsl	r4, r4, #6
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	lsl	r4, r4, #9
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	ldr	r1, [sp, #24]
	ldr	r0, .L16
	bl	gvt_dbg_core
	b	.L1
.L3:
	mov	r1, r5
	ldr	r0, .L16+4
	bl	gvt_dbg_core
	b	.L1
.L17:
	.align	2
.L16:
	.word	.LC0
	.word	.LC1
	.size	intel_vgpu_get_stride, .-intel_vgpu_get_stride
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
