	.file	"extr_bttv-audio-hook.c_avermedia_tv_stereo_audio.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"avermedia"
	.text
	.p2align 4
	.globl	avermedia_tv_stereo_audio
	.type	avermedia_tv_stereo_audio, @function
avermedia_tv_stereo_audio:
.LFB0:
	.cfi_startproc
	endbr64
	test	edx, edx
	je	.L11
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	eax, DWORD PTR [rsi]
	mov	rbp, rdi
	mov	edi, 2
	cmp	eax, 128
	je	.L4
	xor	edi, edi
	cmp	eax, 129
	sete	dil
.L4:
	mov	edx, DWORD PTR BT848_GPIO_DATA[rip]
	mov	esi, -4
	call	btaor@PLT
	cmp	QWORD PTR bttv_gpio[rip], 0
	jne	.L12
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	rdi, rbp
	lea	rsi, .LC0[rip]
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 8
	jmp	bttv_gpio_tracking@PLT
	.p2align 4,,10
	.p2align 3
.L11:
	mov	eax, DWORD PTR V4L2_TUNER_MODE_LANG1[rip]
	mov	DWORD PTR [rsi], eax
	mov	eax, DWORD PTR V4L2_TUNER_SUB_MONO[rip]
	or	eax, DWORD PTR V4L2_TUNER_SUB_STEREO[rip]
	or	eax, DWORD PTR V4L2_TUNER_SUB_LANG1[rip]
	or	eax, DWORD PTR V4L2_TUNER_SUB_LANG2[rip]
	mov	DWORD PTR 4[rsi], eax
	ret
	.cfi_endproc
.LFE0:
	.size	avermedia_tv_stereo_audio, .-avermedia_tv_stereo_audio
	.comm	bttv_gpio,8,8
	.comm	V4L2_TUNER_SUB_STEREO,4,4
	.comm	V4L2_TUNER_SUB_MONO,4,4
	.comm	V4L2_TUNER_SUB_LANG2,4,4
	.comm	V4L2_TUNER_SUB_LANG1,4,4
	.comm	V4L2_TUNER_MODE_LANG1,4,4
	.comm	BT848_GPIO_DATA,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_bttv-audio-hook.c_avermedia_tv_stereo_audio.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"avermedia\000"
	.text
	.align	2
	.global	avermedia_tv_stereo_audio
	.syntax unified
	.arm
	.fpu softvfp
	.type	avermedia_tv_stereo_audio, %function
avermedia_tv_stereo_audio:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r2, #0
	push	{r4, lr}
	beq	.L11
	ldr	r3, [r1]
	mov	r4, r0
	cmp	r3, #128
	subne	r0, r3, #129
	clzne	r0, r0
	ldr	r3, .L12
	moveq	r0, #2
	ldr	r2, [r3]
	lsrne	r0, r0, #5
	mvn	r1, #3
	bl	btaor
	ldr	r3, .L12+4
	ldr	r3, [r3]
	cmp	r3, #0
	popeq	{r4, pc}
	mov	r0, r4
	pop	{r4, lr}
	ldr	r1, .L12+8
	b	bttv_gpio_tracking
.L11:
	ldr	r0, .L12+12
	ldr	r3, .L12+16
	ldr	r2, .L12+20
	ldr	lr, [r0]
	ldr	r3, [r3]
	ldr	r0, .L12+24
	ldr	ip, [r2]
	ldr	r2, .L12+28
	ldr	r0, [r0]
	orr	r3, r3, lr
	ldr	r2, [r2]
	orr	r3, r3, ip
	orr	r3, r3, r0
	stm	r1, {r2, r3}
	pop	{r4, pc}
.L13:
	.align	2
.L12:
	.word	BT848_GPIO_DATA
	.word	bttv_gpio
	.word	.LC0
	.word	V4L2_TUNER_SUB_STEREO
	.word	V4L2_TUNER_SUB_MONO
	.word	V4L2_TUNER_SUB_LANG1
	.word	V4L2_TUNER_SUB_LANG2
	.word	V4L2_TUNER_MODE_LANG1
	.size	avermedia_tv_stereo_audio, .-avermedia_tv_stereo_audio
	.comm	bttv_gpio,4,4
	.comm	V4L2_TUNER_SUB_STEREO,4,4
	.comm	V4L2_TUNER_SUB_MONO,4,4
	.comm	V4L2_TUNER_SUB_LANG2,4,4
	.comm	V4L2_TUNER_SUB_LANG1,4,4
	.comm	V4L2_TUNER_MODE_LANG1,4,4
	.comm	BT848_GPIO_DATA,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
