	.file	"extr_sst_stream.c_sst_start_stream.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"sst_start_stream for %d\n"
	.text
	.p2align 4
	.globl	sst_start_stream
	.type	sst_start_stream, @function
sst_start_stream:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	edx, esi
	mov	r12d, esi
	lea	rsi, .LC0[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	edi, DWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	DWORD PTR 4[rsp], 0
	call	dev_dbg@PLT
	mov	esi, r12d
	mov	rdi, rbp
	call	get_stream_info@PLT
	test	rax, rax
	je	.L8
	mov	rcx, QWORD PTR STREAM_RUNNING[rip]
	cmp	QWORD PTR [rax], rcx
	je	.L4
	mov	eax, DWORD PTR EBADRQC[rip]
	neg	eax
.L1:
	mov	rdx, QWORD PTR 8[rsp]
	xor	rdx, QWORD PTR fs:40
	jne	.L9
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	r8d, DWORD PTR 8[rax]
	mov	esi, DWORD PTR 12[rax]
	push	0
	.cfi_def_cfa_offset 56
	mov	r9d, 4
	push	1
	.cfi_def_cfa_offset 64
	mov	ecx, DWORD PTR IPC_IA_START_STREAM_MRFLD[rip]
	mov	rdi, rbp
	push	1
	.cfi_def_cfa_offset 72
	mov	edx, DWORD PTR IPC_CMD[rip]
	push	1
	.cfi_def_cfa_offset 80
	push	0
	.cfi_def_cfa_offset 88
	lea	rax, 44[rsp]
	push	rax
	.cfi_def_cfa_offset 96
	call	sst_prepare_and_post_msg@PLT
	add	rsp, 48
	.cfi_def_cfa_offset 48
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L8:
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	jmp	.L1
.L9:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	sst_start_stream, .-sst_start_stream
	.comm	STREAM_RUNNING,8,8
	.comm	IPC_IA_START_STREAM_MRFLD,4,4
	.comm	IPC_CMD,4,4
	.comm	EINVAL,4,4
	.comm	EBADRQC,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_sst_stream.c_sst_start_stream.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"sst_start_stream for %d\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	sst_start_stream
	.syntax unified
	.arm
	.fpu softvfp
	.type	sst_start_stream, %function
sst_start_stream:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	mov	r5, r1
	mov	r6, #0
	ldr	r3, .L10
	sub	sp, sp, #40
	mov	r2, r1
	ldr	r0, [r0]
	ldr	r1, .L10+4
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	str	r6, [sp, #32]
	bl	dev_dbg
	mov	r1, r5
	mov	r0, r4
	bl	get_stream_info
	subs	r3, r0, #0
	beq	.L8
	ldr	r2, .L10+8
	ldr	r1, [r3]
	ldr	r2, [r2]
	cmp	r1, r2
	beq	.L4
	ldr	r3, .L10+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
.L1:
	ldr	r3, .L10
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	add	sp, sp, #40
	@ sp needed
	pop	{r4, r5, r6, pc}
.L4:
	mov	r2, #1
	mov	r0, #4
	ldr	r1, [r3, #8]
	str	r2, [sp, #24]
	str	r2, [sp, #20]
	str	r2, [sp, #16]
	add	r2, sp, #32
	stmib	sp, {r0, r2, r6}
	str	r6, [sp, #28]
	ldr	ip, [r3, #4]
	ldr	r2, .L10+16
	ldr	r3, .L10+20
	str	ip, [sp]
	mov	r0, r4
	ldr	r3, [r3]
	ldr	r2, [r2]
	bl	sst_prepare_and_post_msg
	b	.L1
.L8:
	ldr	r3, .L10+24
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L9:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	.LC1
	.word	.LC0
	.word	STREAM_RUNNING
	.word	EBADRQC
	.word	IPC_CMD
	.word	IPC_IA_START_STREAM_MRFLD
	.word	EINVAL
	.size	sst_start_stream, .-sst_start_stream
	.comm	STREAM_RUNNING,4,4
	.comm	IPC_IA_START_STREAM_MRFLD,4,4
	.comm	IPC_CMD,4,4
	.comm	EINVAL,4,4
	.comm	EBADRQC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
