	.file	"extr_audio_in.c_audio_in_enable.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"audrec: msm_adsp_enable(audpre) failed\n"
	.align 8
.LC1:
	.string	"audrec: msm_adsp_enable(audrec) failed\n"
	.text
	.p2align 4
	.type	audio_in_enable, @function
audio_in_enable:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	sub	rsp, 32
	.cfi_def_cfa_offset 48
	mov	edx, DWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	test	edx, edx
	jne	.L1
	mov	eax, DWORD PTR 28[rdi]
	mov	rdx, QWORD PTR AUDREC_CMD_TYPE_0_INDEX_WAV[rip]
	mov	rbp, rdi
	mov	DWORD PTR 16[rsp], eax
	mov	eax, DWORD PTR RPC_AUD_DEF_SAMPLE_RATE_NONE[rip]
	mov	DWORD PTR 12[rsp], eax
	mov	eax, DWORD PTR RPC_AUD_DEF_METHOD_RECORD[rip]
	mov	DWORD PTR 8[rsp], eax
	mov	eax, DWORD PTR RPC_AUD_DEF_CODEC_AAC[rip]
	cmp	QWORD PTR 8[rdi], rdx
	je	.L11
.L4:
	mov	DWORD PTR 4[rsp], eax
	mov	eax, DWORD PTR RPC_SND_METHOD_MIDI[rip]
	mov	rsi, rsp
	lea	rdi, 24[rbp]
	mov	DWORD PTR [rsp], eax
	call	audmgr_enable@PLT
	test	eax, eax
	js	.L1
	mov	edi, DWORD PTR 20[rbp]
	call	msm_adsp_enable@PLT
	test	rax, rax
	jne	.L12
	mov	edi, DWORD PTR 16[rbp]
	call	msm_adsp_enable@PLT
	test	rax, rax
	jne	.L13
	mov	DWORD PTR 0[rbp], 1
	mov	esi, 1
	mov	rdi, rbp
	call	audio_in_dsp_enable@PLT
	xor	eax, eax
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L14
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	eax, DWORD PTR RPC_AUD_DEF_CODEC_PCM[rip]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L13:
	lea	rdi, .LC1[rip]
	call	pr_err@PLT
	mov	eax, DWORD PTR ENODEV[rip]
	neg	eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	lea	rdi, .LC0[rip]
	call	pr_err@PLT
	mov	eax, DWORD PTR ENODEV[rip]
	neg	eax
	jmp	.L1
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	audio_in_enable, .-audio_in_enable
	.comm	RPC_SND_METHOD_MIDI,4,4
	.comm	RPC_AUD_DEF_SAMPLE_RATE_NONE,4,4
	.comm	RPC_AUD_DEF_METHOD_RECORD,4,4
	.comm	RPC_AUD_DEF_CODEC_PCM,4,4
	.comm	RPC_AUD_DEF_CODEC_AAC,4,4
	.comm	ENODEV,4,4
	.comm	AUDREC_CMD_TYPE_0_INDEX_WAV,8,8
	.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_audio_in.c_audio_in_enable.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"audrec: msm_adsp_enable(audpre) failed\012\000"
	.align	2
.LC1:
	.ascii	"audrec: msm_adsp_enable(audrec) failed\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	audio_in_enable, %function
audio_in_enable:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, [r0]
	ldr	r2, .L14
	sub	sp, sp, #28
	cmp	r3, #0
	ldr	r2, [r2]
	str	r2, [sp, #20]
	mov	r2,#0
	movne	r5, #0
	bne	.L1
	mov	r4, r0
	ldr	r1, .L14+4
	ldr	r2, .L14+8
	ldr	r3, .L14+12
	ldr	r0, [r1]
	ldr	ip, [r4, #4]
	ldr	r1, [r2]
	ldr	r2, [r3]
	ldr	r3, [r4, #20]
	cmp	ip, r0
	str	r3, [sp, #16]
	ldreq	r3, .L14+16
	ldrne	r3, .L14+20
	str	r1, [sp, #12]
	str	r2, [sp, #8]
	ldr	r2, [r3]
	ldr	r3, .L14+24
	mov	r1, sp
	ldr	r3, [r3]
	add	r0, r4, #16
	str	r2, [sp, #4]
	str	r3, [sp]
	bl	audmgr_enable
	subs	r5, r0, #0
	blt	.L1
	ldr	r0, [r4, #12]
	bl	msm_adsp_enable
	cmp	r0, #0
	bne	.L11
	ldr	r0, [r4, #8]
	bl	msm_adsp_enable
	subs	r5, r0, #0
	bne	.L12
	mov	r1, #1
	mov	r0, r4
	str	r1, [r4]
	bl	audio_in_dsp_enable
.L1:
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	mov	r0, r5
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, pc}
.L12:
	ldr	r0, .L14+28
	bl	pr_err
	ldr	r3, .L14+32
	ldr	r5, [r3]
	rsb	r5, r5, #0
	b	.L1
.L11:
	ldr	r0, .L14+36
	bl	pr_err
	ldr	r3, .L14+32
	ldr	r5, [r3]
	rsb	r5, r5, #0
	b	.L1
.L13:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	.LC2
	.word	AUDREC_CMD_TYPE_0_INDEX_WAV
	.word	RPC_AUD_DEF_SAMPLE_RATE_NONE
	.word	RPC_AUD_DEF_METHOD_RECORD
	.word	RPC_AUD_DEF_CODEC_PCM
	.word	RPC_AUD_DEF_CODEC_AAC
	.word	RPC_SND_METHOD_MIDI
	.word	.LC1
	.word	ENODEV
	.word	.LC0
	.size	audio_in_enable, .-audio_in_enable
	.comm	RPC_SND_METHOD_MIDI,4,4
	.comm	RPC_AUD_DEF_SAMPLE_RATE_NONE,4,4
	.comm	RPC_AUD_DEF_METHOD_RECORD,4,4
	.comm	RPC_AUD_DEF_CODEC_PCM,4,4
	.comm	RPC_AUD_DEF_CODEC_AAC,4,4
	.comm	ENODEV,4,4
	.comm	AUDREC_CMD_TYPE_0_INDEX_WAV,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
