	.file	"extr_hwa742.c_hwa742_get_caps.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	hwa742_get_caps, @function
hwa742_get_caps:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR hwa742[rip+8]
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rsi
	call	[QWORD PTR [rax]]
	mov	eax, DWORD PTR OMAPFB_CAPS_MANUAL_UPDATE[rip]
	or	eax, DWORD PTR OMAPFB_CAPS_WINDOW_PIXEL_DOUBLE[rip]
	or	eax, DWORD PTR [rbx]
	cmp	QWORD PTR hwa742[rip], 0
	mov	DWORD PTR [rbx], eax
	je	.L2
	or	eax, DWORD PTR OMAPFB_CAPS_TEARSYNC[rip]
	mov	DWORD PTR [rbx], eax
.L2:
	mov	ecx, DWORD PTR OMAPFB_COLOR_YUV420[rip]
	mov	edx, DWORD PTR OMAPFB_COLOR_RGB565[rip]
	mov	eax, 1
	sal	eax, cl
	bts	eax, edx
	or	DWORD PTR 4[rbx], eax
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	hwa742_get_caps, .-hwa742_get_caps
	.comm	hwa742,16,16
	.comm	OMAPFB_COLOR_YUV420,4,4
	.comm	OMAPFB_COLOR_RGB565,4,4
	.comm	OMAPFB_CAPS_WINDOW_PIXEL_DOUBLE,4,4
	.comm	OMAPFB_CAPS_TEARSYNC,4,4
	.comm	OMAPFB_CAPS_MANUAL_UPDATE,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_hwa742.c_hwa742_get_caps.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hwa742_get_caps, %function
hwa742_get_caps:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r1
	ldr	r5, .L8
	ldr	r3, [r5, #4]
	ldr	r3, [r3]
	blx	r3
	ldr	r1, [r5]
	ldr	r2, .L8+4
	cmp	r1, #0
	mov	r1, #1
	ldr	r3, .L8+8
	ldr	r0, [r2]
	ldr	r3, [r3]
	ldr	r2, [r4]
	orr	r3, r3, r0
	orr	r3, r3, r2
	ldrne	r2, .L8+12
	str	r3, [r4]
	ldrne	r2, [r2]
	orrne	r3, r2, r3
	strne	r3, [r4]
	ldr	r3, .L8+16
	ldr	r2, .L8+20
	ldr	r3, [r3]
	ldr	r0, [r2]
	lsl	r3, r1, r3
	ldr	r2, [r4, #4]
	orr	r3, r3, r1, lsl r0
	orr	r3, r2, r3
	str	r3, [r4, #4]
	pop	{r4, r5, r6, pc}
.L9:
	.align	2
.L8:
	.word	hwa742
	.word	OMAPFB_CAPS_WINDOW_PIXEL_DOUBLE
	.word	OMAPFB_CAPS_MANUAL_UPDATE
	.word	OMAPFB_CAPS_TEARSYNC
	.word	OMAPFB_COLOR_YUV420
	.word	OMAPFB_COLOR_RGB565
	.size	hwa742_get_caps, .-hwa742_get_caps
	.comm	hwa742,8,4
	.comm	OMAPFB_COLOR_YUV420,4,4
	.comm	OMAPFB_COLOR_RGB565,4,4
	.comm	OMAPFB_CAPS_WINDOW_PIXEL_DOUBLE,4,4
	.comm	OMAPFB_CAPS_TEARSYNC,4,4
	.comm	OMAPFB_CAPS_MANUAL_UPDATE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
