	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dsp_audio_generate_ulaw_samples ## -- Begin function dsp_audio_generate_ulaw_samples
	.p2align	4, 0x90
_dsp_audio_generate_ulaw_samples:       ## @dsp_audio_generate_ulaw_samples
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_samples@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	(%r8), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movq	_dsp_audio_alaw_to_ulaw@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	xorl	%r9d, %r9d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r9
	movq	%r9, %rax
	shlq	$4, %rax
	movq	(%r8,%rax), %rax
	testq	%rax, %rax
	je	LBB0_11
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
                                        ##     Child Loop BB0_9 Depth 2
	movl	(%rax), %r11d
	testl	%r11d, %r11d
	jle	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r9, %rax
	shlq	$4, %rax
	movq	8(%r8,%rax), %rdi
	leaq	-1(%r11), %rdx
	movl	%r11d, %r10d
	andl	$3, %r10d
	cmpq	$3, %rdx
	jae	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edx, %edx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	andl	$-4, %r11d
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rdi,%rdx,8), %rax
	movq	8(%rdi,%rdx,8), %rsi
	movq	(%rcx,%rax,8), %rax
	movq	%rax, (%rdi,%rdx,8)
	movq	(%rcx,%rsi,8), %rax
	movq	%rax, 8(%rdi,%rdx,8)
	movq	16(%rdi,%rdx,8), %rax
	movq	(%rcx,%rax,8), %rax
	movq	%rax, 16(%rdi,%rdx,8)
	movq	24(%rdi,%rdx,8), %rax
	movq	(%rcx,%rax,8), %rax
	movq	%rax, 24(%rdi,%rdx,8)
	addq	$4, %rdx
	cmpq	%rdx, %r11
	jne	LBB0_6
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	testq	%r10, %r10
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%rdi,%rdx,8), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rdx,%rsi,8), %rax
	movq	(%rcx,%rax,8), %rax
	movq	%rax, (%rdx,%rsi,8)
	incq	%rsi
	cmpq	%rsi, %r10
	jne	LBB0_9
	jmp	LBB0_10
LBB0_11:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_samples,8,3                    ## @samples
	.comm	_dsp_audio_alaw_to_ulaw,8,3     ## @dsp_audio_alaw_to_ulaw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dsp_audio_generate_ulaw_samples ; -- Begin function dsp_audio_generate_ulaw_samples
	.p2align	2
_dsp_audio_generate_ulaw_samples:       ; @dsp_audio_generate_ulaw_samples
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _samples@GOTPAGE
Lloh1:
	ldr	x8, [x8, _samples@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x11, [x8]
	cbz	x11, LBB0_6
; %bb.1:
	mov	x9, #0
Lloh3:
	adrp	x10, _dsp_audio_alaw_to_ulaw@GOTPAGE
Lloh4:
	ldr	x10, [x10, _dsp_audio_alaw_to_ulaw@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #1
	lsl	x11, x9, #4
	ldr	x11, [x8, x11]
	cbz	x11, LBB0_6
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	ldr	w11, [x11]
	cmp	w11, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x12, x8, x9, lsl #4
	ldr	x12, [x12, #8]
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x13, [x12]
	ldr	x13, [x10, x13, lsl #3]
	str	x13, [x12], #8
	subs	x11, x11, #1
	b.ne	LBB0_5
	b	LBB0_2
LBB0_6:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_samples,8,3                    ; @samples
	.comm	_dsp_audio_alaw_to_ulaw,8,3     ; @dsp_audio_alaw_to_ulaw
.subsections_via_symbols
