	.file	"extr_control.c_ipc_to_mixer.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ipc_to_mixer, @function
ipc_to_mixer:
.LFB0:
	.cfi_startproc
	endbr64
	test	edx, edx
	jle	.L6
	lea	r8d, -1[rdx]
	xor	edx, edx
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L10:
	lea	rcx, 1[rdx]
	cmp	rdx, r8
	je	.L9
	mov	rdx, rcx
.L5:
	movsx	rax, edx
	cmp	QWORD PTR [rsi+rdx*8], rdi
	jl	.L10
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	ret
.L6:
	mov	rax, -1
	ret
	.cfi_endproc
.LFE0:
	.size	ipc_to_mixer, .-ipc_to_mixer
	.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_control.c_ipc_to_mixer.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ipc_to_mixer, %function
ipc_to_mixer:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r2, #0
	ble	.L5
	str	lr, [sp, #-4]!
	mov	lr, r0
	mov	r0, #0
	sub	r1, r1, #4
.L4:
	ldr	ip, [r1, #4]!
	add	r3, r0, #1
	cmp	ip, lr
	ldrge	pc, [sp], #4
	cmp	r2, r3
	ldreq	pc, [sp], #4
	mov	r0, r3
	b	.L4
.L5:
	mvn	r0, #0
	bx	lr
	.size	ipc_to_mixer, .-ipc_to_mixer
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
