	.file	"extr_pwc-v4l.c_pwc_s_parm.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	pwc_s_parm, @function
pwc_s_parm:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rsi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	video_drvdata@PLT
	mov	DWORD PTR 4[rsp], 0
	mov	rbp, rax
	mov	rax, QWORD PTR V4L2_BUF_TYPE_VIDEO_CAPTURE[rip]
	cmp	QWORD PTR [r12], rax
	je	.L2
	mov	r14d, DWORD PTR EINVAL[rip]
	neg	r14d
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L13
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	mov	eax, r14d
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	ecx, DWORD PTR 8[r12]
	mov	r14d, 30
	test	ecx, ecx
	jne	.L14
.L4:
	lea	rdi, 12[rbp]
	call	vb2_is_busy@PLT
	test	rax, rax
	je	.L5
.L15:
	mov	r14d, DWORD PTR EBUSY[rip]
	neg	r14d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L14:
	mov	eax, DWORD PTR 12[r12]
	test	eax, eax
	je	.L4
	cdq
	lea	rdi, 12[rbp]
	idiv	ecx
	mov	r14d, eax
	call	vb2_is_busy@PLT
	test	rax, rax
	jne	.L15
.L5:
	sub	rsp, 8
	.cfi_def_cfa_offset 72
	mov	edx, DWORD PTR 4[rbp]
	mov	esi, DWORD PTR 8[rbp]
	mov	r8d, r14d
	push	0
	.cfi_def_cfa_offset 80
	mov	ecx, DWORD PTR 0[rbp]
	mov	rdi, rbp
	lea	r9, 20[rsp]
	call	pwc_set_video_mode@PLT
	mov	rdx, r12
	mov	rsi, r15
	mov	rdi, r13
	mov	r14d, eax
	call	pwc_g_parm@PLT
	pop	rax
	.cfi_def_cfa_offset 72
	pop	rdx
	.cfi_def_cfa_offset 64
	jmp	.L1
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	pwc_s_parm, .-pwc_s_parm
	.comm	V4L2_BUF_TYPE_VIDEO_CAPTURE,8,8
	.comm	EINVAL,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_pwc-v4l.c_pwc_s_parm.c"
	.text
	.global	__aeabi_idiv
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pwc_s_parm, %function
pwc_s_parm:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r2
	ldr	r3, .L14
	sub	sp, sp, #24
	mov	r7, r1
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	mov	r6, r0
	bl	video_drvdata
	mov	r3, #0
	ldr	r2, .L14+4
	ldr	r1, [r4]
	ldr	r2, [r2]
	str	r3, [sp, #16]
	cmp	r1, r2
	beq	.L2
	ldr	r3, .L14+8
	ldr	r4, [r3]
	rsb	r4, r4, #0
.L1:
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	mov	r0, r4
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r1, [r4, #4]
	mov	r5, r0
	cmp	r1, #0
	bne	.L12
.L8:
	add	r0, r5, #12
	bl	vb2_is_busy
	cmp	r0, #0
	mov	r8, #30
	beq	.L5
.L13:
	ldr	r3, .L14+12
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L1
.L12:
	ldr	r0, [r4, #8]
	cmp	r0, #0
	beq	.L8
	bl	__aeabi_idiv
	mov	r8, r0
	add	r0, r5, #12
	bl	vb2_is_busy
	cmp	r0, #0
	bne	.L13
.L5:
	add	ip, sp, #16
	ldr	r3, [r5]
	ldr	r2, [r5, #4]
	ldr	r1, [r5, #8]
	str	r0, [sp, #8]
	str	r8, [sp]
	mov	r0, r5
	str	ip, [sp, #4]
	bl	pwc_set_video_mode
	mov	r3, r0
	mov	r2, r4
	mov	r1, r7
	mov	r0, r6
	mov	r4, r3
	bl	pwc_g_parm
	b	.L1
.L11:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	.LC0
	.word	V4L2_BUF_TYPE_VIDEO_CAPTURE
	.word	EINVAL
	.word	EBUSY
	.size	pwc_s_parm, .-pwc_s_parm
	.comm	V4L2_BUF_TYPE_VIDEO_CAPTURE,4,4
	.comm	EINVAL,4,4
	.comm	EBUSY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
