	.file	"extr_pvrusb2-hdw.c_ctrl_cx2341x_set.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ctrl_cx2341x_set, @function
ctrl_cx2341x_set:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	xor	esi, esi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, edx
	mov	edx, 24
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	sub	rsp, 64
	.cfi_def_cfa_offset 112
	mov	r12, QWORD PTR 8[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	mov	r13, rsp
	lea	r14, 32[rsp]
	mov	rdi, r13
	call	memset@PLT
	xor	esi, esi
	mov	edx, 24
	mov	rdi, r14
	call	memset@PLT
	mov	rax, QWORD PTR [rbx]
	mov	esi, DWORD PTR 12[r12]
	mov	rdx, r13
	mov	ecx, DWORD PTR VIDIOC_S_EXT_CTRLS[rip]
	mov	QWORD PTR 16[rsp], r14
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR 36[rsp], ebp
	lea	rbp, 8[r12]
	mov	rdi, rbp
	mov	DWORD PTR [rsp], 1
	mov	DWORD PTR 40[rsp], eax
	call	cx2341x_ext_ctrls@PLT
	mov	ecx, eax
	add	ecx, DWORD PTR EBUSY[rip]
	je	.L8
	test	eax, eax
	jne	.L1
.L4:
	mov	DWORD PTR 4[r12], 1
	xor	eax, eax
.L1:
	mov	rbx, QWORD PTR 56[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L9
	add	rsp, 64
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	ecx, DWORD PTR VIDIOC_S_EXT_CTRLS[rip]
	xor	esi, esi
	mov	rdx, r13
	mov	rdi, rbp
	call	cx2341x_ext_ctrls@PLT
	test	eax, eax
	jne	.L1
	mov	DWORD PTR [r12], 1
	jmp	.L4
.L9:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ctrl_cx2341x_set, .-ctrl_cx2341x_set
	.comm	VIDIOC_S_EXT_CTRLS,4,4
	.comm	EBUSY,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_pvrusb2-hdw.c_ctrl_cx2341x_set.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ctrl_cx2341x_set, %function
ctrl_cx2341x_set:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldm	r0, {r3, r5}
	mov	r4, #0
	mov	r6, #1
	sub	sp, sp, #44
	str	r4, [sp, #24]
	str	r4, [sp, #28]
	str	r4, [sp, #20]
	str	r4, [sp, #12]
	str	r4, [sp, #32]
	str	r4, [sp, #8]
	ldr	lr, [r3]
	ldr	r8, .L10
	ldr	r3, .L10+4
	add	r7, r5, #8
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	ldr	r1, [r5, #12]
	ldr	r3, [r8]
	add	ip, sp, #20
	str	r2, [sp, #24]
	mov	r0, r7
	add	r2, sp, #4
	str	lr, [sp, #28]
	str	ip, [sp, #16]
	str	r6, [sp, #4]
	bl	cx2341x_ext_ctrls
	ldr	r3, .L10+8
	ldr	r3, [r3]
	cmn	r0, r3
	beq	.L8
	cmp	r0, #0
	bne	.L1
.L4:
	mov	r3, #1
	mov	r0, #0
	str	r3, [r5, #4]
.L1:
	ldr	r3, .L10+4
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L8:
	mov	r1, r4
	mov	r0, r7
	ldr	r3, [r8]
	add	r2, sp, #4
	bl	cx2341x_ext_ctrls
	cmp	r0, #0
	streq	r6, [r5]
	beq	.L4
	b	.L1
.L9:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	VIDIOC_S_EXT_CTRLS
	.word	.LC0
	.word	EBUSY
	.size	ctrl_cx2341x_set, .-ctrl_cx2341x_set
	.comm	VIDIOC_S_EXT_CTRLS,4,4
	.comm	EBUSY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
