	.file	"extr_pxa_camera.c_pxa_camera_try_bus_param.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Flags incompatible: camera 0x%x, host 0x%lx\n"
	.text
	.p2align 4
	.type	pxa_camera_try_bus_param, @function
pxa_camera_try_bus_param:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	movzx	esi, sil
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	sub	rsp, 32
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR V4L2_MBUS_PARALLEL[rip]
	lea	rdx, 8[rsp]
	mov	DWORD PTR 16[rsp], 0
	mov	DWORD PTR 20[rsp], eax
	call	test_platform_param@PLT
	test	eax, eax
	js	.L1
	lea	r12, 16[rsp]
	mov	edx, DWORD PTR g_mbus_config[rip]
	mov	esi, DWORD PTR video[rip]
	mov	rdi, rbp
	mov	rcx, r12
	call	sensor_call@PLT
	test	eax, eax
	je	.L9
	mov	ecx, eax
	add	ecx, DWORD PTR ENOIOCTLCMD[rip]
	je	.L5
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L10
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	rsi, QWORD PTR 8[rsp]
	mov	rdi, r12
	call	pxa_mbus_config_compatible@PLT
	test	rax, rax
	je	.L4
.L5:
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L4:
	mov	r13, QWORD PTR 8[rsp]
	mov	r12d, DWORD PTR 16[rsp]
	mov	rdi, rbp
	call	pcdev_to_dev@PLT
	lea	rsi, .LC0[rip]
	mov	edi, eax
	mov	rcx, r13
	mov	edx, r12d
	call	dev_warn@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	jmp	.L1
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	pxa_camera_try_bus_param, .-pxa_camera_try_bus_param
	.comm	video,4,4
	.comm	g_mbus_config,4,4
	.comm	V4L2_MBUS_PARALLEL,4,4
	.comm	ENOIOCTLCMD,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_pxa_camera_try_bus_param.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Flags incompatible: camera 0x%x, host 0x%lx\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pxa_camera_try_bus_param, %function
pxa_camera_try_bus_param:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	push	{r4, lr}
	ldr	r2, .L11
	ldr	ip, .L11+4
	sub	sp, sp, #16
	ldr	ip, [ip]
	str	ip, [sp, #12]
	mov	ip,#0
	ldr	ip, [r2]
	mov	r2, sp
	mov	r4, r0
	str	ip, [sp, #8]
	str	r3, [sp, #4]
	bl	test_platform_param
	cmp	r0, #0
	blt	.L1
	ldr	r3, .L11+8
	ldr	r2, .L11+12
	ldr	r1, [r3]
	mov	r0, r4
	ldr	r2, [r2]
	add	r3, sp, #4
	bl	sensor_call
	cmp	r0, #0
	beq	.L9
	ldr	r3, .L11+16
	ldr	r3, [r3]
	cmn	r0, r3
	beq	.L5
.L1:
	ldr	r3, .L11+4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	add	sp, sp, #16
	@ sp needed
	pop	{r4, pc}
.L9:
	ldr	r1, [sp]
	add	r0, sp, #4
	bl	pxa_mbus_config_compatible
	cmp	r0, #0
	beq	.L4
.L5:
	mov	r0, #0
	b	.L1
.L4:
	mov	r0, r4
	bl	pcdev_to_dev
	ldr	r3, [sp]
	ldr	r2, [sp, #4]
	ldr	r1, .L11+20
	bl	dev_warn
	ldr	r3, .L11+24
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	V4L2_MBUS_PARALLEL
	.word	.LC1
	.word	video
	.word	g_mbus_config
	.word	ENOIOCTLCMD
	.word	.LC0
	.word	EINVAL
	.size	pxa_camera_try_bus_param, .-pxa_camera_try_bus_param
	.comm	video,4,4
	.comm	g_mbus_config,4,4
	.comm	V4L2_MBUS_PARALLEL,4,4
	.comm	ENOIOCTLCMD,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
