	.file	"extr_vaapi_vc1.c_vc1_get_LUMSCALE.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	vc1_get_LUMSCALE, @function
vc1_get_LUMSCALE:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rcx, QWORD PTR AV_PICTURE_TYPE_P[rip]
	xor	eax, eax
	cmp	QWORD PTR 48[rdi], rcx
	je	.L11
.L1:
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	mov	eax, DWORD PTR 40[rdi]
	test	eax, eax
	jne	.L8
	mov	rdx, QWORD PTR [rdi]
	cmp	rdx, QWORD PTR PROGRESSIVE[rip]
	je	.L12
.L3:
	cmp	rdx, QWORD PTR ILACE_FRAME[rip]
	je	.L13
.L5:
	cmp	rdx, QWORD PTR ILACE_FIELD[rip]
	jne	.L1
	mov	rsi, QWORD PTR MV_PMODE_INTENSITY_COMP[rip]
	cmp	QWORD PTR 8[rdi], rsi
	jne	.L1
	mov	edx, DWORD PTR 20[rdi]
	cmp	edx, 2
	je	.L6
	and	edx, -3
	cmp	edx, 1
	jne	.L1
.L9:
	mov	eax, DWORD PTR 16[rdi]
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	xor	eax, eax
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rsi, QWORD PTR MV_PMODE_INTENSITY_COMP[rip]
	cmp	QWORD PTR 8[rdi], rsi
	jne	.L3
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L13:
	cmp	QWORD PTR 32[rdi], 0
	je	.L5
	jmp	.L9
.L6:
	mov	eax, DWORD PTR 24[rdi]
	ret
	.cfi_endproc
.LFE0:
	.size	vc1_get_LUMSCALE, .-vc1_get_LUMSCALE
	.comm	PROGRESSIVE,8,8
	.comm	MV_PMODE_INTENSITY_COMP,8,8
	.comm	ILACE_FRAME,8,8
	.comm	ILACE_FIELD,8,8
	.comm	AV_PICTURE_TYPE_P,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_vaapi_vc1.c_vc1_get_LUMSCALE.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vc1_get_LUMSCALE, %function
vc1_get_LUMSCALE:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	r2, .L17
	ldr	r1, [r0, #28]
	ldr	r2, [r2]
	mov	r3, r0
	cmp	r1, r2
	beq	.L14
.L8:
	mov	r0, #0
	bx	lr
.L14:
	ldr	r0, [r0, #24]
	cmp	r0, #0
	bne	.L8
	ldr	r1, .L17+4
	ldr	r2, [r3]
	ldr	r1, [r1]
	cmp	r2, r1
	beq	.L15
.L3:
	ldr	r1, .L17+8
	ldr	r1, [r1]
	cmp	r2, r1
	beq	.L16
.L5:
	ldr	r1, .L17+12
	ldr	r1, [r1]
	cmp	r2, r1
	bxne	lr
	ldr	r2, .L17+16
	ldr	r1, [r3, #4]
	ldr	r2, [r2]
	cmp	r1, r2
	bxne	lr
	ldr	r2, [r3, #12]
	cmp	r2, #2
	beq	.L6
	bic	r2, r2, #2
	cmp	r2, #1
	bxne	lr
.L12:
	ldr	r0, [r3, #8]
	bx	lr
.L15:
	ldr	r1, .L17+16
	ldr	ip, [r3, #4]
	ldr	r1, [r1]
	cmp	ip, r1
	bne	.L3
	b	.L12
.L16:
	ldr	r1, [r3, #20]
	cmp	r1, #0
	beq	.L5
	b	.L12
.L6:
	ldr	r0, [r3, #16]
	bx	lr
.L18:
	.align	2
.L17:
	.word	AV_PICTURE_TYPE_P
	.word	PROGRESSIVE
	.word	ILACE_FRAME
	.word	ILACE_FIELD
	.word	MV_PMODE_INTENSITY_COMP
	.size	vc1_get_LUMSCALE, .-vc1_get_LUMSCALE
	.comm	PROGRESSIVE,4,4
	.comm	MV_PMODE_INTENSITY_COMP,4,4
	.comm	ILACE_FRAME,4,4
	.comm	ILACE_FIELD,4,4
	.comm	AV_PICTURE_TYPE_P,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
