	.file	"extr_pcm_oss.c_snd_pcm_oss_set_rate.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	snd_pcm_oss_set_rate, @function
snd_pcm_oss_set_rate:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	ebx, esi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR [rdi]
	mov	rdx, QWORD PTR 8[rax]
	test	rdx, rdx
	je	.L2
	mov	edi, DWORD PTR [rdx]
	call	oss_runtime@PLT
	cmp	ebx, 192000
	mov	esi, 192000
	cmovg	ebx, esi
	mov	esi, 1000
	cmp	ebx, 1000
	cmovl	ebx, esi
	cmp	ebx, DWORD PTR [rax]
	je	.L13
	mov	DWORD PTR 4[rax], 1
	mov	DWORD PTR [rax], ebx
.L13:
	mov	rax, QWORD PTR 0[rbp]
.L2:
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L3
	mov	edi, DWORD PTR [rax]
	call	oss_runtime@PLT
	cmp	ebx, 192000
	mov	esi, 192000
	mov	edx, 1000
	cmovg	ebx, esi
	cmp	ebx, 1000
	cmovl	ebx, edx
	cmp	DWORD PTR [rax], ebx
	je	.L3
	mov	DWORD PTR 4[rax], 1
	mov	DWORD PTR [rax], ebx
.L3:
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	snd_pcm_oss_get_rate@PLT
	.cfi_endproc
.LFE0:
	.size	snd_pcm_oss_set_rate, .-snd_pcm_oss_set_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_pcm_oss.c_snd_pcm_oss_set_rate.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	snd_pcm_oss_set_rate, %function
snd_pcm_oss_set_rate:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0]
	push	{r4, r5, r6, lr}
	ldr	r2, [r3, #4]
	mov	r5, r0
	cmp	r2, #0
	mov	r4, r1
	beq	.L2
	ldr	r0, [r2]
	bl	oss_runtime
	ldr	r1, .L14
	ldr	r3, [r0]
	cmp	r4, r1
	movge	r4, r1
	cmp	r4, #1000
	movlt	r4, #1000
	cmp	r4, r3
	movne	r2, #1
	ldreq	r3, [r5]
	ldrne	r3, [r5]
	strne	r4, [r0]
	strne	r2, [r0, #4]
.L2:
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L3
	ldr	r0, [r3]
	bl	oss_runtime
	ldr	r1, .L14
	ldr	r3, [r0]
	cmp	r4, r1
	movge	r4, r1
	cmp	r4, #1000
	movlt	r4, #1000
	cmp	r3, r4
	movne	r3, #1
	strne	r4, [r0]
	strne	r3, [r0, #4]
.L3:
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	b	snd_pcm_oss_get_rate
.L15:
	.align	2
.L14:
	.word	192000
	.size	snd_pcm_oss_set_rate, .-snd_pcm_oss_set_rate
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
