	.file	"extr_mulaw.c_cvt_s16_to_native.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	cvt_s16_to_native, @function
cvt_s16_to_native:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	xor	edx, DWORD PTR 32[rdi]
	cmp	QWORD PTR 24[rdi], 0
	mov	DWORD PTR 12[rsp], edx
	jne	.L6
	mov	r8, QWORD PTR [rbx]
	mov	rdx, QWORD PTR 8[rbx]
	cmp	r8, rdx
	jg	.L7
.L3:
	movsx	rax, DWORD PTR 20[rbx]
	movsx	rdi, DWORD PTR 16[rbx]
	lea	rsi, 12[rsp+rax]
	add	rdi, rbp
	call	memcpy@PLT
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	edi, edx
	call	swab16@PLT
	mov	r8, QWORD PTR [rbx]
	mov	rdx, QWORD PTR 8[rbx]
	mov	DWORD PTR 12[rsp], eax
	cmp	r8, rdx
	jle	.L3
.L7:
	mov	rdx, r8
	xor	esi, esi
	mov	rdi, rbp
	call	memset@PLT
	mov	rdx, QWORD PTR 8[rbx]
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	cvt_s16_to_native, .-cvt_s16_to_native
	.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_mulaw.c_cvt_s16_to_native.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cvt_s16_to_native, %function
cvt_s16_to_native:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	mov	r4, r0
	ldr	r0, [r0, #20]
	ldr	r3, [r4, #16]
	sub	sp, sp, #12
	eor	r0, r0, r2
	cmp	r3, #0
	mov	r5, r1
	str	r0, [sp, #4]
	bne	.L9
	ldr	r3, [r4]
	ldr	r2, [r4, #4]
	cmp	r3, r2
	bgt	.L10
.L3:
	ldr	r0, [r4, #8]
	ldr	r1, [r4, #12]
	add	r3, sp, #4
	add	r0, r5, r0
	add	r1, r3, r1
	bl	memcpy
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L9:
	bl	swab16
	ldr	r3, [r4]
	ldr	r2, [r4, #4]
	str	r0, [sp, #4]
	cmp	r3, r2
	ble	.L3
.L10:
	mov	r2, r3
	mov	r1, #0
	mov	r0, r5
	bl	memset
	ldr	r2, [r4, #4]
	b	.L3
	.size	cvt_s16_to_native, .-cvt_s16_to_native
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
