	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function AddSoundPan
_AddSoundPan:                           ## @AddSoundPan
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rdi, %rbx
	cmpl	$31, %esi
	je	LBB0_4
## %bb.1:
	cmpl	$15, %esi
	jne	LBB0_5
## %bb.2:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_3
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
LBB0_3:
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_AddString
	jmp	LBB0_6
LBB0_5:
	movl	%esi, %eax
	andl	$15, %eax
	leal	(%rax,%rax,2), %edx
	sarl	$4, %esi
	leal	(%rsi,%rsi,2), %ecx
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_AddString
LBB0_6:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Left = -MAX dB, Right = -0 dB\r\n"

L_.str.1:                               ## @.str.1
	.asciz	"Left = -0 dB, Right = -MAX dB\r\n"

L_.str.2:                               ## @.str.2
	.asciz	"Left = -%d dB, Right = -%d dB\r\n"

	.no_dead_strip	_AddSoundPan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function AddSoundPan
_AddSoundPan:                           ; @AddSoundPan
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	cmp	w1, #31
	b.eq	LBB0_3
; %bb.1:
	cmp	w1, #15
	b.ne	LBB0_4
; %bb.2:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_5
LBB0_3:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_4:
	and	w8, w1, #0xf
	add	w8, w8, w8, lsl #1
	asr	w9, w1, #4
	add	w9, w9, w9, lsl #1
	stp	x8, x9, [sp]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_5:
	mov	x0, x19
	bl	_AddString
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Left = -MAX dB, Right = -0 dB\r\n"

l_.str.1:                               ; @.str.1
	.asciz	"Left = -0 dB, Right = -MAX dB\r\n"

l_.str.2:                               ; @.str.2
	.asciz	"Left = -%d dB, Right = -%d dB\r\n"

	.no_dead_strip	_AddSoundPan
.subsections_via_symbols
