	.file	"extr_scsp2.c_AddSoundPan.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Left = -MAX dB, Right = -0 dB\r\n"
	.align 8
.LC1:
	.string	"Left = -0 dB, Right = -MAX dB\r\n"
	.align 8
.LC2:
	.string	"Left = -%d dB, Right = -%d dB\r\n"
	.text
	.p2align 4
	.type	AddSoundPan, @function
AddSoundPan:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	cmp	esi, 15
	je	.L7
	cmp	esi, 31
	je	.L8
	mov	eax, esi
	and	esi, 15
	sar	eax, 4
	lea	edx, [rsi+rsi*2]
	lea	rsi, .LC2[rip]
	lea	ecx, [rax+rax*2]
	xor	eax, eax
	call	AddString@PLT
	mov	rax, r12
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	AddString@PLT
	mov	rax, r12
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	lea	rsi, .LC0[rip]
	xor	eax, eax
	call	AddString@PLT
	mov	rax, r12
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	AddSoundPan, .-AddSoundPan
	.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_scsp2.c_AddSoundPan.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Left = -MAX dB, Right = -0 dB\015\012\000"
	.align	2
.LC1:
	.ascii	"Left = -0 dB, Right = -MAX dB\015\012\000"
	.align	2
.LC2:
	.ascii	"Left = -%d dB, Right = -%d dB\015\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	AddSoundPan, %function
AddSoundPan:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r1, #15
	push	{r4, lr}
	mov	r4, r0
	beq	.L7
	cmp	r1, #31
	beq	.L8
	asr	r3, r1, #4
	and	r2, r1, #15
	add	r3, r3, r3, lsl #1
	ldr	r1, .L9
	add	r2, r2, r2, lsl #1
	bl	AddString
	mov	r0, r4
	pop	{r4, pc}
.L8:
	ldr	r1, .L9+4
	bl	AddString
	mov	r0, r4
	pop	{r4, pc}
.L7:
	ldr	r1, .L9+8
	bl	AddString
	mov	r0, r4
	pop	{r4, pc}
.L10:
	.align	2
.L9:
	.word	.LC2
	.word	.LC1
	.word	.LC0
	.size	AddSoundPan, .-AddSoundPan
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
