	.file	"extr_sirf-audio-codec.c_sirf_audio_codec_trigger.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	sirf_audio_codec_trigger, @function
sirf_audio_codec_trigger:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, esi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	r13, QWORD PTR [rdx]
	mov	rdi, r13
	call	snd_soc_component_get_drvdata@PLT
	mov	rdx, QWORD PTR 0[rbp]
	mov	r12, rax
	mov	rax, QWORD PTR SNDRV_PCM_STREAM_PLAYBACK[rip]
	cmp	ebx, 132
	jg	.L2
	cmp	ebx, 129
	jg	.L3
	add	ebx, -128
	cmp	ebx, 1
	ja	.L4
.L5:
	cmp	rdx, rax
	je	.L11
	mov	rdi, r12
	call	sirf_audio_codec_rx_disable@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	cmp	ebx, 133
	je	.L5
.L4:
	mov	eax, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	neg	eax
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	cmp	rdx, rax
	je	.L12
	mov	rax, QWORD PTR 8[rbp]
	mov	rdi, r12
	mov	esi, DWORD PTR [rax]
	call	sirf_audio_codec_rx_enable@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	esi, DWORD PTR AUDIO_IC_CODEC_CTRL0[rip]
	mov	rdi, r13
	mov	edx, DWORD PTR IC_HSLEN[rip]
	xor	ecx, ecx
	or	edx, DWORD PTR IC_HSREN[rip]
	call	snd_soc_component_update_bits@PLT
	mov	rdi, r12
	call	sirf_audio_codec_tx_disable@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	rdi, r12
	call	sirf_audio_codec_tx_enable@PLT
	mov	edx, DWORD PTR IC_HSLEN[rip]
	mov	esi, DWORD PTR AUDIO_IC_CODEC_CTRL0[rip]
	mov	rdi, r13
	or	edx, DWORD PTR IC_HSREN[rip]
	mov	ecx, edx
	call	snd_soc_component_update_bits@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	sirf_audio_codec_trigger, .-sirf_audio_codec_trigger
	.comm	SNDRV_PCM_STREAM_PLAYBACK,8,8
	.comm	IC_HSREN,4,4
	.comm	IC_HSLEN,4,4
	.comm	EINVAL,4,4
	.comm	AUDIO_IC_CODEC_CTRL0,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_sirf-audio-codec.c_sirf_audio_codec_trigger.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sirf_audio_codec_trigger, %function
sirf_audio_codec_trigger:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r7, [r2]
	mov	r5, r0
	mov	r4, r1
	mov	r0, r7
	bl	snd_soc_component_get_drvdata
	ldr	r3, .L13
	cmp	r4, #132
	mov	r6, r0
	ldr	r2, [r5]
	ldr	r3, [r3]
	bgt	.L2
	cmp	r4, #129
	bgt	.L3
	sub	r4, r4, #128
	cmp	r4, #1
	bhi	.L4
.L5:
	cmp	r2, r3
	beq	.L11
	mov	r0, r6
	bl	sirf_audio_codec_rx_disable
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	cmp	r4, #133
	beq	.L5
.L4:
	ldr	r3, .L13+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L3:
	cmp	r2, r3
	beq	.L12
	ldr	r3, [r5, #4]
	ldr	r1, [r3]
	bl	sirf_audio_codec_rx_enable
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	ldr	r2, .L13+8
	ldr	r3, .L13+12
	ldr	r1, [r2]
	ldr	r2, [r3]
	ldr	r3, .L13+16
	orr	r2, r1, r2
	mov	r0, r7
	ldr	r1, [r3]
	mov	r3, #0
	bl	snd_soc_component_update_bits
	mov	r0, r6
	bl	sirf_audio_codec_tx_disable
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L12:
	bl	sirf_audio_codec_tx_enable
	ldr	r3, .L13+8
	ldr	r2, .L13+12
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r1, .L13+16
	orr	r3, r3, r2
	mov	r0, r7
	mov	r2, r3
	ldr	r1, [r1]
	bl	snd_soc_component_update_bits
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L14:
	.align	2
.L13:
	.word	SNDRV_PCM_STREAM_PLAYBACK
	.word	EINVAL
	.word	IC_HSLEN
	.word	IC_HSREN
	.word	AUDIO_IC_CODEC_CTRL0
	.size	sirf_audio_codec_trigger, .-sirf_audio_codec_trigger
	.comm	SNDRV_PCM_STREAM_PLAYBACK,4,4
	.comm	IC_HSREN,4,4
	.comm	IC_HSLEN,4,4
	.comm	EINVAL,4,4
	.comm	AUDIO_IC_CODEC_CTRL0,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
