	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_MuLawEncode                    ## -- Begin function MuLawEncode
	.p2align	4, 0x90
_MuLawEncode:                           ## @MuLawEncode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, %eax
	movl	%eax, %ecx
	negw	%cx
	cmovsw	%ax, %cx
	movzbl	%ah, %edx
	notl	%edx
	andl	$128, %edx
	movswq	%cx, %rax
	addq	$132, %rax
	cmpq	$32767, %rax                    ## imm = 0x7FFF
	movl	$32767, %esi                    ## imm = 0x7FFF
	cmovbq	%rax, %rsi
	movq	_numBits@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rsi, %rcx
	shrq	$5, %rcx
	andl	$1020, %ecx                     ## imm = 0x3FC
	movl	(%rax,%rcx), %eax
	leal	2(%rax), %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shrq	%cl, %rsi
	andl	$15, %esi
	shll	$4, %eax
	addl	$-16, %eax
	orl	%edx, %eax
	orl	%esi, %eax
	notl	%eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_numBits,8,3                    ## @numBits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_MuLawEncode                    ; -- Begin function MuLawEncode
	.p2align	2
_MuLawEncode:                           ; @MuLawEncode
	.cfi_startproc
; %bb.0:
	cmp	w0, #0
	cneg	w8, w0, mi
	mov	w9, #128
	bic	w9, w9, w0, lsr #8
	sxth	x8, w8
	add	x8, x8, #132
	mov	w10, #32767
	cmp	x8, x10
	csel	x8, x8, x10, lo
Lloh0:
	adrp	x10, _numBits@GOTPAGE
Lloh1:
	ldr	x10, [x10, _numBits@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	lsr	x11, x8, #5
	and	x11, x11, #0x3fc
	ldr	w10, [x10, x11]
	add	w11, w10, #2
	lsr	x8, x8, x11
	lsl	w10, w10, #4
	sub	w10, w10, #16
	orr	w9, w10, w9
	bfxil	w9, w8, #0, #4
	mvn	w0, w9
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_numBits,8,3                    ; @numBits
.subsections_via_symbols
