	.file	"extr_cx25840-core.c_cx25840_s_audio_stream.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"enable"
.LC1:
	.string	"%s audio output\n"
.LC2:
	.string	"disable"
	.text
	.p2align 4
	.type	cx25840_s_audio_stream, @function
cx25840_s_audio_stream:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	ebx, esi
	call	to_state@PLT
	mov	rdi, rbp
	mov	r12, rax
	call	v4l2_get_subdevdata@PLT
	mov	rdi, r12
	mov	rbp, rax
	call	is_cx2583x@PLT
	test	rax, rax
	je	.L10
.L6:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	rdi, r12
	call	is_cx2388x@PLT
	test	rax, rax
	jne	.L6
	mov	rdi, r12
	call	is_cx231xx@PLT
	test	rax, rax
	jne	.L6
	mov	esi, DWORD PTR cx25840_debug[rip]
	test	ebx, ebx
	je	.L7
	lea	r8, .LC0[rip]
	lea	rcx, .LC1[rip]
	mov	rdx, rbp
	mov	edi, 1
	call	v4l_dbg@PLT
	mov	rdi, rbp
	mov	esi, 277
	call	cx25840_read@PLT
	mov	rdi, rbp
	mov	esi, 277
	or	al, -128
	mov	edx, eax
	call	cx25840_write@PLT
	mov	rdi, rbp
	mov	esi, 278
	call	cx25840_read@PLT
	mov	esi, 278
	mov	rdi, rbp
	or	eax, 3
	mov	edx, eax
	call	cx25840_write@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L7:
	lea	r8, .LC2[rip]
	lea	rcx, .LC1[rip]
	mov	rdx, rbp
	mov	edi, 1
	call	v4l_dbg@PLT
	mov	rdi, rbp
	mov	esi, 277
	call	cx25840_read@PLT
	mov	rdi, rbp
	mov	esi, 277
	and	al, 127
	mov	edx, eax
	call	cx25840_write@PLT
	mov	rdi, rbp
	mov	esi, 278
	call	cx25840_read@PLT
	mov	esi, 278
	mov	rdi, rbp
	and	eax, -4
	mov	edx, eax
	call	cx25840_write@PLT
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	cx25840_s_audio_stream, .-cx25840_s_audio_stream
	.comm	cx25840_debug,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_cx25840-core.c_cx25840_s_audio_stream.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s audio output\012\000"
	.align	2
.LC1:
	.ascii	"enable\000"
	.align	2
.LC2:
	.ascii	"disable\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cx25840_s_audio_stream, %function
cx25840_s_audio_stream:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	sub	sp, sp, #8
	mov	r6, r1
	mov	r5, r0
	bl	to_state
	mov	r4, r0
	mov	r0, r5
	bl	v4l2_get_subdevdata
	mov	r5, r0
	mov	r0, r4
	bl	is_cx2583x
	cmp	r0, #0
	beq	.L10
.L6:
	mov	r0, #0
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L10:
	mov	r0, r4
	bl	is_cx2388x
	cmp	r0, #0
	bne	.L6
	mov	r0, r4
	bl	is_cx231xx
	cmp	r0, #0
	bne	.L6
	ldr	r3, .L11
	cmp	r6, #0
	ldr	r1, [r3]
	beq	.L7
	ldr	r3, .L11+4
	mov	r2, r5
	str	r3, [sp]
	mov	r0, #1
	ldr	r3, .L11+8
	bl	v4l_dbg
	mov	r0, r5
	ldr	r1, .L11+12
	bl	cx25840_read
	ldr	r1, .L11+12
	orr	r2, r0, #128
	mov	r0, r5
	bl	cx25840_write
	mov	r0, r5
	ldr	r1, .L11+16
	bl	cx25840_read
	ldr	r1, .L11+16
	orr	r2, r0, #3
	mov	r0, r5
	bl	cx25840_write
	b	.L6
.L7:
	ldr	r3, .L11+20
	mov	r2, r5
	str	r3, [sp]
	mov	r0, #1
	ldr	r3, .L11+8
	bl	v4l_dbg
	mov	r0, r5
	ldr	r1, .L11+12
	bl	cx25840_read
	ldr	r1, .L11+12
	bic	r2, r0, #128
	mov	r0, r5
	bl	cx25840_write
	mov	r0, r5
	ldr	r1, .L11+16
	bl	cx25840_read
	ldr	r1, .L11+16
	bic	r2, r0, #3
	mov	r0, r5
	bl	cx25840_write
	b	.L6
.L12:
	.align	2
.L11:
	.word	cx25840_debug
	.word	.LC1
	.word	.LC0
	.word	277
	.word	278
	.word	.LC2
	.size	cx25840_s_audio_stream, .-cx25840_s_audio_stream
	.comm	cx25840_debug,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
