	.file	"extr_ali5451.c_snd_ali_convert_rate.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	snd_ali_convert_rate, @function
snd_ali_convert_rate:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	edi, 48000
	mov	eax, 48000
	mov	ecx, 4000
	cmovbe	eax, edi
	cmp	eax, 4000
	cmovnb	ecx, eax
	test	esi, esi
	je	.L2
	mov	eax, 4458
	cmp	edi, 44100
	je	.L1
	mov	eax, 24576
	cmp	edi, 8000
	je	.L1
	mov	eax, 4096
	cmp	edi, 47999
	ja	.L1
	xor	edx, edx
	mov	eax, 196608000
	div	ecx
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	mov	eax, 3763
	cmp	edi, 44100
	je	.L1
	mov	eax, 683
	cmp	edi, 8000
	je	.L1
	mov	eax, 4096
	cmp	edi, 47999
	ja	.L1
	mov	eax, ecx
	sal	eax, 12
	add	eax, ecx
	imul	rax, rax, 91625969
	shr	rax, 42
.L1:
	ret
	.cfi_endproc
.LFE0:
	.size	snd_ali_convert_rate, .-snd_ali_convert_rate
	.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_ali5451.c_snd_ali_convert_rate.c"
	.text
	.global	__aeabi_uidiv
	.global	__aeabi_idiv
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	snd_ali_convert_rate, %function
snd_ali_convert_rate:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L15
	ldr	r2, .L15+4
	cmp	r0, r3
	movcc	r3, r0
	cmp	r3, #4000
	movcc	r3, #4000
	cmp	r1, #0
	beq	.L2
	cmp	r0, r2
	beq	.L4
	cmp	r0, #8000
	beq	.L5
	ldr	r2, .L15+8
	cmp	r0, r2
	bhi	.L9
	mov	r1, r3
	push	{r4, lr}
	ldr	r0, .L15+12
	bl	__aeabi_uidiv
	pop	{r4, pc}
.L2:
	cmp	r0, r2
	beq	.L7
	cmp	r0, #8000
	beq	.L8
	ldr	r2, .L15+8
	cmp	r0, r2
	bhi	.L9
	ldr	r0, .L15+16
	add	r3, r3, r3, lsl #12
	umull	r2, r0, r3, r0
	lsr	r0, r0, #10
	bx	lr
.L7:
	ldr	r0, .L15+20
	bx	lr
.L4:
	ldr	r0, .L15+24
	bx	lr
.L9:
	mov	r0, #4096
	bx	lr
.L8:
	ldr	r0, .L15+28
	bx	lr
.L5:
	mov	r0, #24576
	bx	lr
.L16:
	.align	2
.L15:
	.word	48000
	.word	44100
	.word	47999
	.word	196608000
	.word	91625969
	.word	3763
	.word	4458
	.word	683
	.size	snd_ali_convert_rate, .-snd_ali_convert_rate
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
