	.file	"extr_mixer_oss.c_snd_mixer_oss_build_test.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	snd_mixer_oss_build_test, @function
snd_mixer_oss_build_test:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, r8d
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, ecx
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	r14, QWORD PTR [rdi]
	mov	rdi, r14
	call	down_read@PLT
	mov	edx, ebx
	mov	rsi, r15
	mov	rdi, r12
	call	snd_mixer_oss_test_id@PLT
	test	rax, rax
	je	.L9
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	edi, 8
	mov	rbx, rax
	call	kmalloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L10
	mov	rsi, rax
	mov	rdi, rbx
	call	[QWORD PTR [rbx]]
	mov	r15d, eax
	test	eax, eax
	js	.L11
	mov	ecx, DWORD PTR 8[rbx]
	mov	rdx, QWORD PTR 16[rbp]
	movsx	rax, r13d
	mov	rdi, r14
	mov	DWORD PTR [rdx+rax*4], ecx
	call	up_read@PLT
	mov	rax, QWORD PTR [r12]
	cmp	rax, QWORD PTR 0[rbp]
	jg	.L12
.L6:
	mov	ecx, r13d
	mov	eax, 1
	mov	rdi, r12
	xor	r15d, r15d
	sal	eax, cl
	or	DWORD PTR 8[rbp], eax
	call	kfree@PLT
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r15d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	QWORD PTR 0[rbp], rax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L11:
	mov	rdi, r14
	call	up_read@PLT
	mov	rdi, r12
	call	kfree@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rdi, r14
	xor	r15d, r15d
	call	up_read@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rdi, r14
	call	up_read@PLT
	mov	r15d, DWORD PTR ENOMEM[rip]
	neg	r15d
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	snd_mixer_oss_build_test, .-snd_mixer_oss_build_test
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.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_mixer_oss.c_snd_mixer_oss_build_test.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	snd_mixer_oss_build_test, %function
snd_mixer_oss_build_test:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r2
	mov	r6, r3
	mov	r7, r0
	ldr	r8, [r0]
	mov	r5, r1
	mov	r0, r8
	ldr	r9, [sp, #32]
	bl	down_read
	mov	r1, r4
	mov	r2, r6
	mov	r0, r7
	bl	snd_mixer_oss_test_id
	subs	r4, r0, #0
	beq	.L9
	ldr	r3, .L12
	mov	r0, #4
	ldr	r1, [r3]
	bl	kmalloc
	subs	r6, r0, #0
	beq	.L10
	mov	r1, r6
	mov	r0, r4
	ldr	r3, [r4]
	blx	r3
	subs	r7, r0, #0
	blt	.L11
	ldr	r2, [r4, #4]
	ldr	r3, [r5, #8]
	mov	r0, r8
	str	r2, [r3, r9, lsl #2]
	bl	up_read
	ldr	r3, [r6]
	ldr	r2, [r5]
	mov	r0, r6
	cmp	r3, r2
	mov	r2, #1
	strgt	r3, [r5]
	ldr	r3, [r5, #4]
	mov	r7, #0
	orr	r9, r3, r2, lsl r9
	str	r9, [r5, #4]
	bl	kfree
.L1:
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L11:
	mov	r0, r8
	bl	up_read
	mov	r0, r6
	bl	kfree
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L9:
	mov	r7, r4
	mov	r0, r8
	bl	up_read
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L10:
	mov	r0, r8
	bl	up_read
	ldr	r3, .L12+4
	ldr	r7, [r3]
	rsb	r7, r7, #0
	b	.L1
.L13:
	.align	2
.L12:
	.word	GFP_KERNEL
	.word	ENOMEM
	.size	snd_mixer_oss_build_test, .-snd_mixer_oss_build_test
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
