	.file	"extr_v4l2-ioctl.c_v4l_s_hw_freq_seek.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	v4l_s_hw_freq_seek, @function
v4l_s_hw_freq_seek:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rcx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	mov	rdi, rsi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	video_devdata@PLT
	mov	rdi, rax
	mov	rbx, rax
	call	v4l_enable_media_source@PLT
	test	eax, eax
	jne	.L1
	mov	rax, QWORD PTR [rbx]
	cmp	rax, QWORD PTR VFL_TYPE_SDR[rip]
	je	.L6
	cmp	rax, QWORD PTR VFL_TYPE_RADIO[rip]
	mov	edx, DWORD PTR V4L2_TUNER_ANALOG_TV[rip]
	je	.L9
	cmp	DWORD PTR 0[r13], edx
	je	.L10
.L6:
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
.L1:
	pop	rbx
	.cfi_remember_state
	.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
.L10:
	.cfi_restore_state
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, QWORD PTR [r12]
	mov	rdx, r13
	mov	rsi, rbp
	mov	rdi, r14
	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
	jmp	rax
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	edx, DWORD PTR V4L2_TUNER_RADIO[rip]
	cmp	DWORD PTR 0[r13], edx
	jne	.L6
	jmp	.L10
	.cfi_endproc
.LFE0:
	.size	v4l_s_hw_freq_seek, .-v4l_s_hw_freq_seek
	.comm	VFL_TYPE_SDR,8,8
	.comm	VFL_TYPE_RADIO,8,8
	.comm	V4L2_TUNER_RADIO,4,4
	.comm	V4L2_TUNER_ANALOG_TV,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_v4l2-ioctl.c_v4l_s_hw_freq_seek.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	v4l_s_hw_freq_seek, %function
v4l_s_hw_freq_seek:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r0
	mov	r0, r1
	mov	r4, r1
	mov	r6, r2
	mov	r8, r3
	bl	video_devdata
	mov	r5, r0
	bl	v4l_enable_media_source
	cmp	r0, #0
	popne	{r4, r5, r6, r7, r8, pc}
	ldr	r2, .L10
	ldr	r3, [r5]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L6
	ldr	r2, .L10+4
	ldr	r2, [r2]
	cmp	r3, r2
	ldreq	r3, .L10+8
	ldrne	r3, .L10+12
	ldr	r2, [r8]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L9
.L6:
	ldr	r3, .L10+16
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	mov	r2, r8
	mov	r1, r6
	mov	r0, r4
	ldr	r3, [r7]
	pop	{r4, r5, r6, r7, r8, lr}
	bx	r3
.L11:
	.align	2
.L10:
	.word	VFL_TYPE_SDR
	.word	VFL_TYPE_RADIO
	.word	V4L2_TUNER_RADIO
	.word	V4L2_TUNER_ANALOG_TV
	.word	EINVAL
	.size	v4l_s_hw_freq_seek, .-v4l_s_hw_freq_seek
	.comm	VFL_TYPE_SDR,4,4
	.comm	VFL_TYPE_RADIO,4,4
	.comm	V4L2_TUNER_RADIO,4,4
	.comm	V4L2_TUNER_ANALOG_TV,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
