	.file	"extr_pxa_camera.c_test_platform_param.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	test_platform_param, @function
test_platform_param:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR [rdi]
	test	DWORD PTR PXA_CAMERA_MASTER[rip], eax
	mov	r8, rdx
	mov	rax, QWORD PTR V4L2_MBUS_MASTER[rip]
	cmove	rax, QWORD PTR V4L2_MBUS_SLAVE[rip]
	sub	esi, 1
	mov	rdx, rax
	mov	rax, QWORD PTR V4L2_MBUS_HSYNC_ACTIVE_HIGH[rip]
	or	rax, QWORD PTR V4L2_MBUS_HSYNC_ACTIVE_LOW[rip]
	or	rax, QWORD PTR V4L2_MBUS_VSYNC_ACTIVE_HIGH[rip]
	or	rax, QWORD PTR V4L2_MBUS_VSYNC_ACTIVE_LOW[rip]
	or	rax, QWORD PTR V4L2_MBUS_DATA_ACTIVE_HIGH[rip]
	or	rax, QWORD PTR V4L2_MBUS_PCLK_SAMPLE_RISING[rip]
	or	rax, QWORD PTR V4L2_MBUS_PCLK_SAMPLE_FALLING[rip]
	or	rax, rdx
	mov	edx, DWORD PTR 4[rdi]
	mov	QWORD PTR [r8], rax
	xor	eax, eax
	bt	edx, esi
	jc	.L1
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
.L1:
	ret
	.cfi_endproc
.LFE0:
	.size	test_platform_param, .-test_platform_param
	.comm	V4L2_MBUS_VSYNC_ACTIVE_LOW,8,8
	.comm	V4L2_MBUS_VSYNC_ACTIVE_HIGH,8,8
	.comm	V4L2_MBUS_SLAVE,8,8
	.comm	V4L2_MBUS_PCLK_SAMPLE_RISING,8,8
	.comm	V4L2_MBUS_PCLK_SAMPLE_FALLING,8,8
	.comm	V4L2_MBUS_MASTER,8,8
	.comm	V4L2_MBUS_HSYNC_ACTIVE_LOW,8,8
	.comm	V4L2_MBUS_HSYNC_ACTIVE_HIGH,8,8
	.comm	V4L2_MBUS_DATA_ACTIVE_HIGH,8,8
	.comm	PXA_CAMERA_MASTER,4,4
	.comm	EINVAL,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_pxa_camera.c_test_platform_param.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_platform_param, %function
test_platform_param:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L8
	ldr	ip, [r0]
	ldr	r3, [r3]
	push	{r4, lr}
	tst	ip, r3
	ldrne	r3, .L8+4
	ldreq	r3, .L8+8
	ldr	lr, .L8+12
	ldr	ip, [r3]
	ldr	r3, .L8+16
	ldr	r4, [lr]
	ldr	r3, [r3]
	ldr	lr, .L8+20
	orr	r3, r3, r4
	ldr	r4, [lr]
	ldr	lr, .L8+24
	orr	r3, r3, r4
	ldr	r4, [lr]
	ldr	lr, .L8+28
	orr	r3, r3, r4
	ldr	lr, [lr]
	ldr	r4, .L8+32
	orr	r3, r3, lr
	ldr	lr, .L8+36
	ldr	r4, [r4]
	ldr	r0, [r0, #4]
	ldr	lr, [lr]
	orr	r3, r3, r4
	sub	r1, r1, #1
	asr	r1, r0, r1
	orr	r3, r3, lr
	tst	r1, #1
	orr	r3, r3, ip
	str	r3, [r2]
	ldreq	r3, .L8+40
	ldreq	r0, [r3]
	rsbeq	r0, r0, #0
	movne	r0, #0
	pop	{r4, pc}
.L9:
	.align	2
.L8:
	.word	PXA_CAMERA_MASTER
	.word	V4L2_MBUS_MASTER
	.word	V4L2_MBUS_SLAVE
	.word	V4L2_MBUS_HSYNC_ACTIVE_LOW
	.word	V4L2_MBUS_HSYNC_ACTIVE_HIGH
	.word	V4L2_MBUS_VSYNC_ACTIVE_HIGH
	.word	V4L2_MBUS_VSYNC_ACTIVE_LOW
	.word	V4L2_MBUS_DATA_ACTIVE_HIGH
	.word	V4L2_MBUS_PCLK_SAMPLE_RISING
	.word	V4L2_MBUS_PCLK_SAMPLE_FALLING
	.word	EINVAL
	.size	test_platform_param, .-test_platform_param
	.comm	V4L2_MBUS_VSYNC_ACTIVE_LOW,4,4
	.comm	V4L2_MBUS_VSYNC_ACTIVE_HIGH,4,4
	.comm	V4L2_MBUS_SLAVE,4,4
	.comm	V4L2_MBUS_PCLK_SAMPLE_RISING,4,4
	.comm	V4L2_MBUS_PCLK_SAMPLE_FALLING,4,4
	.comm	V4L2_MBUS_MASTER,4,4
	.comm	V4L2_MBUS_HSYNC_ACTIVE_LOW,4,4
	.comm	V4L2_MBUS_HSYNC_ACTIVE_HIGH,4,4
	.comm	V4L2_MBUS_DATA_ACTIVE_HIGH,4,4
	.comm	PXA_CAMERA_MASTER,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
