	.file	"extr_..depsibxmibxm.c_channel_volume_slide.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	channel_volume_slide, @function
channel_volume_slide:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR [rdi]
	mov	rsi, QWORD PTR 8[rdi]
	mov	edx, DWORD PTR 16[rdi]
	mov	ecx, eax
	and	eax, 15
	sar	ecx, 4
	cmp	eax, 15
	jne	.L2
	test	ecx, ecx
	jle	.L2
	test	rsi, rsi
	je	.L20
.L3:
	cmp	edx, 64
	jle	.L6
.L22:
	mov	DWORD PTR 16[rdi], 64
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	cmp	ecx, 15
	jne	.L4
	test	eax, eax
	je	.L4
	test	rsi, rsi
	jne	.L3
	sub	edx, eax
	mov	DWORD PTR 16[rdi], edx
	cmp	edx, 64
	jg	.L22
	.p2align 4,,10
	.p2align 3
.L6:
	test	edx, edx
	jns	.L1
	mov	DWORD PTR 16[rdi], 0
.L1:
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	test	rsi, rsi
	jle	.L23
	sub	ecx, eax
.L20:
	add	edx, ecx
	mov	DWORD PTR 16[rdi], edx
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L23:
	mov	rsi, QWORD PTR 24[rdi]
	mov	rsi, QWORD PTR [rsi]
	cmp	QWORD PTR [rsi], 0
	je	.L3
	sub	ecx, eax
	jmp	.L20
	.cfi_endproc
.LFE0:
	.size	channel_volume_slide, .-channel_volume_slide
	.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_..depsibxmibxm.c_channel_volume_slide.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	channel_volume_slide, %function
channel_volume_slide:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldm	r0, {r3, ip}
	and	r1, r3, #15
	sub	r2, r1, #15
	clz	r2, r2
	cmp	r3, #15
	lsr	r2, r2, #5
	movle	r2, #0
	cmp	r2, #0
	asr	r3, r3, #4
	ldr	r2, [r0, #8]
	beq	.L2
	cmp	ip, #0
	addeq	r2, r2, r3
	streq	r2, [r0, #8]
	cmp	r2, #64
	ble	.L14
	mov	r3, #64
	str	r3, [r0, #8]
	bx	lr
.L2:
	str	lr, [sp, #-4]!
	sub	lr, r3, #15
	clz	lr, lr
	cmp	r1, #0
	lsr	lr, lr, #5
	moveq	lr, #0
	cmp	lr, #0
	beq	.L4
	cmp	ip, #0
	subeq	r2, r2, r1
	streq	r2, [r0, #8]
.L3:
	cmp	r2, #64
	ble	.L6
.L20:
	mov	r3, #64
	str	r3, [r0, #8]
	ldr	pc, [sp], #4
.L4:
	cmp	ip, #0
	ble	.L19
.L5:
	sub	r3, r3, r1
	add	r2, r2, r3
	cmp	r2, #64
	str	r2, [r0, #8]
	bgt	.L20
.L6:
	cmp	r2, #0
	movlt	r3, #0
	strlt	r3, [r0, #8]
	ldr	pc, [sp], #4
.L14:
	cmp	r2, #0
	movlt	r3, #0
	strlt	r3, [r0, #8]
	bx	lr
.L19:
	ldr	ip, [r0, #12]
	ldr	ip, [ip]
	ldr	ip, [ip]
	cmp	ip, #0
	beq	.L3
	b	.L5
	.size	channel_volume_slide, .-channel_volume_slide
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
