	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dsp_audio_generate_law_tables  ## -- Begin function dsp_audio_generate_law_tables
	.p2align	4, 0x90
_dsp_audio_generate_law_tables:         ## @dsp_audio_generate_law_tables
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%ebx, %ebx
	movq	_dsp_audio_alaw_to_s32@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_bitrev8
	movl	%eax, %edi
	callq	_alaw2linear
	movq	(%r14), %rcx
	movl	%eax, (%rcx,%rbx,4)
	incq	%rbx
	cmpq	$256, %rbx                      ## imm = 0x100
	jne	LBB0_1
## %bb.2:
	xorl	%ebx, %ebx
	movq	_dsp_audio_ulaw_to_s32@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_bitrev8
	movl	%eax, %edi
	callq	_ulaw2linear
	movq	(%r15), %rcx
	movl	%eax, (%rcx,%rbx,4)
	incq	%rbx
	cmpq	$256, %rbx                      ## imm = 0x100
	jne	LBB0_3
## %bb.4:
	xorl	%ebx, %ebx
	movq	_dsp_audio_alaw_to_ulaw@GOTPCREL(%rip), %r12
	movq	_dsp_audio_ulaw_to_alaw@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_linear2ulaw
	movq	(%r12), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movq	(%r15), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_linear2alaw
	movq	(%r13), %rcx
	movl	%eax, (%rcx,%rbx,4)
	incq	%rbx
	cmpq	$256, %rbx                      ## imm = 0x100
	jne	LBB0_5
## %bb.6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dsp_audio_alaw_to_s32,8,3      ## @dsp_audio_alaw_to_s32
	.comm	_dsp_audio_ulaw_to_s32,8,3      ## @dsp_audio_ulaw_to_s32
	.comm	_dsp_audio_alaw_to_ulaw,8,3     ## @dsp_audio_alaw_to_ulaw
	.comm	_dsp_audio_ulaw_to_alaw,8,3     ## @dsp_audio_ulaw_to_alaw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dsp_audio_generate_law_tables  ; -- Begin function dsp_audio_generate_law_tables
	.p2align	2
_dsp_audio_generate_law_tables:         ; @dsp_audio_generate_law_tables
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, #0
Lloh0:
	adrp	x20, _dsp_audio_alaw_to_s32@GOTPAGE
Lloh1:
	ldr	x20, [x20, _dsp_audio_alaw_to_s32@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_bitrev8
	bl	_alaw2linear
	ldr	x8, [x20]
	str	w0, [x8, x19, lsl #2]
	add	x19, x19, #1
	cmp	x19, #256
	b.ne	LBB0_1
; %bb.2:
	mov	x19, #0
Lloh2:
	adrp	x21, _dsp_audio_ulaw_to_s32@GOTPAGE
Lloh3:
	ldr	x21, [x21, _dsp_audio_ulaw_to_s32@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_bitrev8
	bl	_ulaw2linear
	ldr	x8, [x21]
	str	w0, [x8, x19, lsl #2]
	add	x19, x19, #1
	cmp	x19, #256
	b.ne	LBB0_3
; %bb.4:
	mov	x19, #0
Lloh4:
	adrp	x22, _dsp_audio_alaw_to_ulaw@GOTPAGE
Lloh5:
	ldr	x22, [x22, _dsp_audio_alaw_to_ulaw@GOTPAGEOFF]
Lloh6:
	adrp	x23, _dsp_audio_ulaw_to_alaw@GOTPAGE
Lloh7:
	ldr	x23, [x23, _dsp_audio_ulaw_to_alaw@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	ldr	w0, [x8, x19]
	bl	_linear2ulaw
	ldr	x8, [x22]
	str	w0, [x8, x19]
	ldr	x8, [x21]
	ldr	w0, [x8, x19]
	bl	_linear2alaw
	ldr	x8, [x23]
	str	w0, [x8, x19]
	add	x19, x19, #4
	cmp	x19, #1024
	b.ne	LBB0_5
; %bb.6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_dsp_audio_alaw_to_s32,8,3      ; @dsp_audio_alaw_to_s32
	.comm	_dsp_audio_ulaw_to_s32,8,3      ; @dsp_audio_ulaw_to_s32
	.comm	_dsp_audio_alaw_to_ulaw,8,3     ; @dsp_audio_alaw_to_ulaw
	.comm	_dsp_audio_ulaw_to_alaw,8,3     ; @dsp_audio_ulaw_to_alaw
.subsections_via_symbols
