	.file	"extr_ps3fb.c_ps3fb_vmode.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ps3fb_vmode, @function
ps3fb_vmode:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, edi
	mov	edi, DWORD PTR PS3AV_MODE_MASK[rip]
	and	edi, eax
	cmp	DWORD PTR PS3AV_MODE_480I[rip], edi
	jg	.L5
	cmp	DWORD PTR PS3AV_MODE_WUXGA[rip], edi
	jl	.L5
	cmp	DWORD PTR PS3AV_MODE_1080P50[rip], edi
	jl	.L3
	test	DWORD PTR PS3AV_MODE_FULL[rip], eax
	je	.L7
.L3:
	jmp	ps3fb_native_vmode@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	xor	eax, eax
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rax, QWORD PTR ps3fb_modedb[rip]
	movsx	rdi, edi
	lea	rax, -4[rax+rdi*4]
	ret
	.cfi_endproc
.LFE0:
	.size	ps3fb_vmode, .-ps3fb_vmode
	.comm	ps3fb_modedb,8,8
	.comm	PS3AV_MODE_WUXGA,4,4
	.comm	PS3AV_MODE_MASK,4,4
	.comm	PS3AV_MODE_FULL,4,4
	.comm	PS3AV_MODE_480I,4,4
	.comm	PS3AV_MODE_1080P50,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_ps3fb.c_ps3fb_vmode.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ps3fb_vmode, %function
ps3fb_vmode:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	r3, .L8
	ldr	r1, .L8+4
	ldr	r3, [r3]
	ldr	r1, [r1]
	mov	r2, r0
	and	r0, r0, r3
	cmp	r1, r0
	bgt	.L5
	ldr	r3, .L8+8
	ldr	r3, [r3]
	cmp	r3, r0
	blt	.L5
	ldr	r3, .L8+12
	ldr	r3, [r3]
	cmp	r3, r0
	blt	.L3
	ldr	r3, .L8+16
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L7
.L3:
	b	ps3fb_native_vmode
.L5:
	mov	r0, #0
	bx	lr
.L7:
	ldr	r3, .L8+20
	sub	r0, r0, #-1073741823
	ldr	r3, [r3]
	add	r0, r3, r0, lsl #2
	bx	lr
.L9:
	.align	2
.L8:
	.word	PS3AV_MODE_MASK
	.word	PS3AV_MODE_480I
	.word	PS3AV_MODE_WUXGA
	.word	PS3AV_MODE_1080P50
	.word	PS3AV_MODE_FULL
	.word	ps3fb_modedb
	.size	ps3fb_vmode, .-ps3fb_vmode
	.comm	ps3fb_modedb,4,4
	.comm	PS3AV_MODE_WUXGA,4,4
	.comm	PS3AV_MODE_MASK,4,4
	.comm	PS3AV_MODE_FULL,4,4
	.comm	PS3AV_MODE_480I,4,4
	.comm	PS3AV_MODE_1080P50,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
