	.file	"extr_asihpi.c_snd_asihpi_tuner_add.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Gain"
.LC1:
	.string	"Band"
.LC2:
	.string	"Freq"
	.text
	.p2align 4
	.type	snd_asihpi_tuner_add, @function
snd_asihpi_tuner_add:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rsi
	sub	rsp, 40
	.cfi_def_cfa_offset 80
	mov	r13, QWORD PTR [rdi]
	mov	edi, DWORD PTR [rsi]
	xor	esi, esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR SNDRV_CTL_ELEM_ACCESS_READWRITE[rip]
	mov	r14, rsp
	mov	DWORD PTR 16[rsp], edi
	mov	DWORD PTR 12[rsp], eax
	call	hpi_tuner_get_gain@PLT
	test	eax, eax
	jne	.L2
	lea	rdx, .LC0[rip]
	mov	rsi, rbp
	mov	rdi, r14
	call	asihpi_ctl_init@PLT
	mov	rdx, r12
	mov	rsi, r14
	mov	rdi, r13
	mov	eax, DWORD PTR snd_asihpi_tuner_gain_info[rip]
	mov	DWORD PTR 8[rsp], eax
	mov	eax, DWORD PTR snd_asihpi_tuner_gain_get[rip]
	mov	DWORD PTR 4[rsp], eax
	mov	eax, DWORD PTR snd_asihpi_tuner_gain_put[rip]
	mov	DWORD PTR [rsp], eax
	call	ctl_add@PLT
	test	eax, eax
	js	.L9
.L2:
	lea	rdx, .LC1[rip]
	mov	rsi, rbp
	mov	rdi, r14
	call	asihpi_ctl_init@PLT
	mov	rdx, r12
	mov	rsi, r14
	mov	rdi, r13
	mov	eax, DWORD PTR snd_asihpi_tuner_band_info[rip]
	mov	DWORD PTR 8[rsp], eax
	mov	eax, DWORD PTR snd_asihpi_tuner_band_get[rip]
	mov	DWORD PTR 4[rsp], eax
	mov	eax, DWORD PTR snd_asihpi_tuner_band_put[rip]
	mov	DWORD PTR [rsp], eax
	call	ctl_add@PLT
	test	eax, eax
	js	.L9
	lea	rdx, .LC2[rip]
	mov	rsi, rbp
	mov	rdi, r14
	call	asihpi_ctl_init@PLT
	mov	rdx, r12
	mov	rsi, r14
	mov	rdi, r13
	mov	eax, DWORD PTR snd_asihpi_tuner_freq_info[rip]
	mov	DWORD PTR 8[rsp], eax
	mov	eax, DWORD PTR snd_asihpi_tuner_freq_get[rip]
	mov	DWORD PTR 4[rsp], eax
	mov	eax, DWORD PTR snd_asihpi_tuner_freq_put[rip]
	mov	DWORD PTR [rsp], eax
	call	ctl_add@PLT
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L11
	add	rsp, 40
	.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
.L9:
	.cfi_restore_state
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	jmp	.L1
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	snd_asihpi_tuner_add, .-snd_asihpi_tuner_add
	.comm	snd_asihpi_tuner_gain_put,4,4
	.comm	snd_asihpi_tuner_gain_info,4,4
	.comm	snd_asihpi_tuner_gain_get,4,4
	.comm	snd_asihpi_tuner_freq_put,4,4
	.comm	snd_asihpi_tuner_freq_info,4,4
	.comm	snd_asihpi_tuner_freq_get,4,4
	.comm	snd_asihpi_tuner_band_put,4,4
	.comm	snd_asihpi_tuner_band_info,4,4
	.comm	snd_asihpi_tuner_band_get,4,4
	.comm	SNDRV_CTL_ELEM_ACCESS_READWRITE,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_asihpi.c_snd_asihpi_tuner_add.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Gain\000"
	.align	2
.LC1:
	.ascii	"Band\000"
	.align	2
.LC2:
	.ascii	"Freq\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	snd_asihpi_tuner_add, %function
snd_asihpi_tuner_add:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r4, r0
	ldr	r3, .L12
	ldr	r0, [r1]
	ldr	r3, [r3]
	ldr	r2, .L12+4
	sub	sp, sp, #28
	mov	r7, r1
	mov	r1, #0
	ldr	r2, [r2]
	str	r2, [sp, #20]
	mov	r2,#0
	ldr	r6, [r4]
	str	r0, [sp, #16]
	str	r3, [sp, #12]
	bl	hpi_tuner_get_gain
	cmp	r0, #0
	mov	r5, sp
	bne	.L2
	mov	r1, r7
	ldr	r2, .L12+8
	mov	r0, r5
	bl	asihpi_ctl_init
	ldr	r1, .L12+12
	ldr	r2, .L12+16
	ldr	r3, .L12+20
	ldr	r0, [r1]
	ldr	r2, [r2]
	ldr	r3, [r3]
	str	r2, [sp, #8]
	str	r0, [sp, #4]
	mov	r1, r5
	mov	r2, r4
	mov	r0, r6
	str	r3, [sp]
	bl	ctl_add
	cmp	r0, #0
	blt	.L9
.L2:
	mov	r1, r7
	ldr	r2, .L12+24
	mov	r0, r5
	bl	asihpi_ctl_init
	ldr	r2, .L12+28
	ldr	r1, .L12+32
	ldr	r3, .L12+36
	ldr	r0, [r2]
	ldr	r1, [r1]
	ldr	r3, [r3]
	str	r1, [sp, #8]
	str	r0, [sp, #4]
	mov	r2, r4
	mov	r1, r5
	mov	r0, r6
	str	r3, [sp]
	bl	ctl_add
	cmp	r0, #0
	blt	.L9
	mov	r1, r7
	ldr	r2, .L12+40
	mov	r0, r5
	bl	asihpi_ctl_init
	ldr	r1, .L12+44
	ldr	r2, .L12+48
	ldr	r3, .L12+52
	ldr	lr, [r1]
	ldr	ip, [r2]
	ldr	r3, [r3]
	mov	r2, r4
	mov	r1, r5
	mov	r0, r6
	stm	sp, {r3, ip, lr}
	bl	ctl_add
.L1:
	ldr	r3, .L12+4
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L9:
	ldr	r3, .L12+56
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	SNDRV_CTL_ELEM_ACCESS_READWRITE
	.word	.LC3
	.word	.LC0
	.word	snd_asihpi_tuner_gain_get
	.word	snd_asihpi_tuner_gain_info
	.word	snd_asihpi_tuner_gain_put
	.word	.LC1
	.word	snd_asihpi_tuner_band_get
	.word	snd_asihpi_tuner_band_info
	.word	snd_asihpi_tuner_band_put
	.word	.LC2
	.word	snd_asihpi_tuner_freq_info
	.word	snd_asihpi_tuner_freq_get
	.word	snd_asihpi_tuner_freq_put
	.word	EINVAL
	.size	snd_asihpi_tuner_add, .-snd_asihpi_tuner_add
	.comm	snd_asihpi_tuner_gain_put,4,4
	.comm	snd_asihpi_tuner_gain_info,4,4
	.comm	snd_asihpi_tuner_gain_get,4,4
	.comm	snd_asihpi_tuner_freq_put,4,4
	.comm	snd_asihpi_tuner_freq_info,4,4
	.comm	snd_asihpi_tuner_freq_get,4,4
	.comm	snd_asihpi_tuner_band_put,4,4
	.comm	snd_asihpi_tuner_band_info,4,4
	.comm	snd_asihpi_tuner_band_get,4,4
	.comm	SNDRV_CTL_ELEM_ACCESS_READWRITE,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
