	.file	"extr_dsp_audio.c_dsp_audio_generate_law_tables.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	dsp_audio_generate_law_tables
	.type	dsp_audio_generate_law_tables, @function
dsp_audio_generate_law_tables:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	xor	ebx, ebx
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	.p2align 4,,10
	.p2align 3
.L2:
	mov	edi, ebx
	call	bitrev8@PLT
	mov	edi, eax
	mov	rax, QWORD PTR dsp_audio_alaw_to_s32[rip]
	lea	rbp, [rax+rbx*4]
	add	rbx, 1
	call	alaw2linear@PLT
	mov	DWORD PTR 0[rbp], eax
	cmp	rbx, 256
	jne	.L2
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L3:
	mov	edi, ebx
	call	bitrev8@PLT
	mov	edi, eax
	mov	rax, QWORD PTR dsp_audio_ulaw_to_s32[rip]
	lea	rbp, [rax+rbx*4]
	add	rbx, 1
	call	ulaw2linear@PLT
	mov	DWORD PTR 0[rbp], eax
	cmp	rbx, 256
	jne	.L3
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rax, QWORD PTR dsp_audio_alaw_to_s32[rip]
	mov	rbp, QWORD PTR dsp_audio_alaw_to_ulaw[rip]
	mov	edi, DWORD PTR [rax+rbx]
	add	rbp, rbx
	call	linear2ulaw@PLT
	mov	DWORD PTR 0[rbp], eax
	mov	rax, QWORD PTR dsp_audio_ulaw_to_s32[rip]
	mov	rbp, QWORD PTR dsp_audio_ulaw_to_alaw[rip]
	mov	edi, DWORD PTR [rax+rbx]
	add	rbp, rbx
	add	rbx, 4
	call	linear2alaw@PLT
	mov	DWORD PTR 0[rbp], eax
	cmp	rbx, 1024
	jne	.L4
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	dsp_audio_generate_law_tables, .-dsp_audio_generate_law_tables
	.comm	dsp_audio_ulaw_to_s32,8,8
	.comm	dsp_audio_ulaw_to_alaw,8,8
	.comm	dsp_audio_alaw_to_ulaw,8,8
	.comm	dsp_audio_alaw_to_s32,8,8
	.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_dsp_audio.c_dsp_audio_generate_law_tables.c"
	.text
	.align	2
	.global	dsp_audio_generate_law_tables
	.syntax unified
	.arm
	.fpu softvfp
	.type	dsp_audio_generate_law_tables, %function
dsp_audio_generate_law_tables:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, #0
	ldr	r5, .L11
.L2:
	mov	r0, r4
	bl	bitrev8
	ldr	r6, [r5]
	bl	alaw2linear
	str	r0, [r6, r4, lsl #2]
	add	r4, r4, #1
	cmp	r4, #256
	bne	.L2
	mov	r4, #0
	ldr	r6, .L11+4
.L3:
	mov	r0, r4
	bl	bitrev8
	ldr	r7, [r6]
	bl	ulaw2linear
	str	r0, [r7, r4, lsl #2]
	add	r4, r4, #1
	cmp	r4, #256
	bne	.L3
	mov	r4, #0
	ldr	r9, .L11+8
	ldr	r8, .L11+12
.L4:
	ldr	r3, [r5]
	ldr	r7, [r9]
	ldr	r0, [r3, r4]
	bl	linear2ulaw
	ldr	r3, [r6]
	str	r0, [r7, r4]
	ldr	r0, [r3, r4]
	ldr	r7, [r8]
	bl	linear2alaw
	str	r0, [r7, r4]
	add	r4, r4, #4
	cmp	r4, #1024
	bne	.L4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L12:
	.align	2
.L11:
	.word	dsp_audio_alaw_to_s32
	.word	dsp_audio_ulaw_to_s32
	.word	dsp_audio_alaw_to_ulaw
	.word	dsp_audio_ulaw_to_alaw
	.size	dsp_audio_generate_law_tables, .-dsp_audio_generate_law_tables
	.comm	dsp_audio_ulaw_to_s32,4,4
	.comm	dsp_audio_ulaw_to_alaw,4,4
	.comm	dsp_audio_alaw_to_ulaw,4,4
	.comm	dsp_audio_alaw_to_s32,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
