	.file	"extr_wavefront_synth.c_wavefront_send_alias.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"download alias, %d is alias for %d\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"download alias failed.\n"
	.text
	.p2align 4
	.type	wavefront_send_alias, @function
wavefront_send_alias:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r12
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbx
	.cfi_offset 3, -32
	mov	rbx, rsi
	sub	rsp, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR WF_ALIAS_BYTES[rip]
	mov	rcx, rsp
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L3
.L13:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L13
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L14
.L4:
	mov	ecx, DWORD PTR 4[rbx]
	mov	edx, DWORD PTR [rbx]
	lea	rsi, .LC0[rip]
	mov	edi, DWORD PTR WF_DEBUG_LOAD_PATCH[rip]
	call	DPRINT@PLT
	mov	edi, DWORD PTR [rbx]
	mov	edx, 2
	mov	rsi, rsp
	call	munge_int32@PLT
	mov	edi, DWORD PTR 4[rbx]
	lea	rsi, 2[rsp]
	mov	edx, 2
	call	munge_int32@PLT
	mov	edi, DWORD PTR 24[rbx]
	lea	rsi, 4[rsp]
	mov	edx, 4
	call	munge_int32@PLT
	mov	edi, DWORD PTR 20[rbx]
	lea	rsi, 8[rsp]
	mov	edx, 4
	call	munge_int32@PLT
	mov	edi, DWORD PTR 16[rbx]
	lea	rsi, 12[rsp]
	mov	edx, 4
	call	munge_int32@PLT
	mov	edi, DWORD PTR 12[rbx]
	lea	rsi, 16[rsp]
	mov	edx, 4
	call	munge_int32@PLT
	mov	edi, DWORD PTR 8[rbx]
	lea	rsi, 20[rsp]
	mov	edx, 3
	call	munge_int32@PLT
	mov	edi, DWORD PTR 12[rbx]
	lea	rsi, 23[rsp]
	mov	edx, 2
	call	munge_int32@PLT
	mov	esi, DWORD PTR WFC_DOWNLOAD_SAMPLE_ALIAS[rip]
	xor	edx, edx
	mov	rcx, rsp
	mov	rdi, r12
	call	snd_wavefront_cmd@PLT
	test	rax, rax
	jne	.L15
	mov	ecx, DWORD PTR [rbx]
	mov	rdx, QWORD PTR [r12]
	mov	eax, DWORD PTR WF_SLOT_FILLED[rip]
	or	eax, DWORD PTR WF_ST_ALIAS[rip]
	mov	DWORD PTR [rdx+rcx*4], eax
	xor	eax, eax
.L1:
	mov	rbx, QWORD PTR -24[rbp]
	xor	rbx, QWORD PTR fs:40
	jne	.L16
	lea	rsp, -16[rbp]
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	lea	rdi, .LC1[rip]
	call	snd_printk@PLT
	mov	eax, DWORD PTR EIO[rip]
	neg	eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L14:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	wavefront_send_alias, .-wavefront_send_alias
	.comm	WF_ST_ALIAS,4,4
	.comm	WF_SLOT_FILLED,4,4
	.comm	WF_DEBUG_LOAD_PATCH,4,4
	.comm	WF_ALIAS_BYTES,4,4
	.comm	WFC_DOWNLOAD_SAMPLE_ALIAS,4,4
	.comm	EIO,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_wavefront_synth.c_wavefront_send_alias.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"download alias, %d is alias for %d\012\000"
	.align	2
.LC1:
	.ascii	"download alias 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	wavefront_send_alias, %function
wavefront_send_alias:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #8
	mov	r4, r1
	mov	r5, r0
	ldr	r3, .L9
	ldr	r1, .L9+4
	ldr	r2, [r3]
	ldr	ip, .L9+8
	add	r2, r2, #7
	bic	r2, r2, #7
	sub	sp, sp, r2
	ldr	r3, [r4, #4]
	ldr	r2, [r4]
	ldr	r0, [r1]
	ldr	r1, .L9+12
	ldr	ip, [ip]
	str	ip, [fp, #-16]
	mov	ip,#0
	bl	DPRINT
	mov	r1, sp
	mov	r2, #2
	ldr	r0, [r4]
	bl	munge_int32
	mov	r2, #2
	add	r1, sp, #2
	ldr	r0, [r4, #4]
	bl	munge_int32
	mov	r2, #4
	add	r1, sp, #4
	ldr	r0, [r4, #24]
	bl	munge_int32
	mov	r2, #4
	add	r1, sp, #8
	ldr	r0, [r4, #20]
	bl	munge_int32
	mov	r2, #4
	add	r1, sp, #12
	ldr	r0, [r4, #16]
	bl	munge_int32
	mov	r2, #4
	add	r1, sp, #16
	ldr	r0, [r4, #12]
	bl	munge_int32
	mov	r2, #3
	add	r1, sp, #20
	ldr	r0, [r4, #8]
	bl	munge_int32
	mov	r2, #2
	add	r1, sp, #23
	ldr	r0, [r4, #12]
	bl	munge_int32
	ldr	r2, .L9+16
	mov	r3, sp
	ldr	r1, [r2]
	mov	r0, r5
	mov	r2, #0
	bl	snd_wavefront_cmd
	cmp	r0, #0
	bne	.L7
	ldr	r2, .L9+20
	ldr	r3, .L9+24
	ldr	ip, [r2]
	ldr	r3, [r3]
	ldr	r1, [r4]
	ldr	r2, [r5]
	orr	r3, r3, ip
	str	r3, [r2, r1, lsl #2]
.L1:
	ldr	r3, .L9+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L7:
	ldr	r0, .L9+28
	bl	snd_printk
	ldr	r3, .L9+32
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	WF_ALIAS_BYTES
	.word	WF_DEBUG_LOAD_PATCH
	.word	.LC2
	.word	.LC0
	.word	WFC_DOWNLOAD_SAMPLE_ALIAS
	.word	WF_ST_ALIAS
	.word	WF_SLOT_FILLED
	.word	.LC1
	.word	EIO
	.size	wavefront_send_alias, .-wavefront_send_alias
	.comm	WF_ST_ALIAS,4,4
	.comm	WF_SLOT_FILLED,4,4
	.comm	WF_DEBUG_LOAD_PATCH,4,4
	.comm	WF_ALIAS_BYTES,4,4
	.comm	WFC_DOWNLOAD_SAMPLE_ALIAS,4,4
	.comm	EIO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
