	.file	"extr_rme96.c_snd_rme96_info_inputtype_control.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Optical"
.LC1:
	.string	"Coaxial"
.LC2:
	.string	"Internal"
.LC3:
	.string	"XLR"
.LC4:
	.string	"Analog"
	.text
	.p2align 4
	.type	snd_rme96_info_inputtype_control, @function
snd_rme96_info_inputtype_control:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsi
	sub	rsp, 48
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	call	snd_kcontrol_chip@PLT
	lea	rcx, .LC1[rip]
	lea	rsi, .LC0[rip]
	mov	rdx, QWORD PTR 8[rax]
	mov	QWORD PTR 8[rsp], rcx
	lea	rcx, .LC3[rip]
	mov	QWORD PTR [rsp], rsi
	lea	rsi, .LC2[rip]
	mov	edx, DWORD PTR [rdx]
	mov	QWORD PTR 24[rsp], rcx
	lea	rcx, .LC4[rip]
	mov	QWORD PTR 16[rsp], rsi
	mov	QWORD PTR 32[rsp], rcx
	cmp	edx, 129
	je	.L2
	jg	.L3
	mov	r8d, 4
	cmp	edx, 128
	jne	.L5
.L4:
	mov	rcx, rsp
	mov	edx, r8d
	mov	esi, 1
	mov	rdi, rbp
	call	snd_ctl_enum_info@PLT
.L1:
	mov	rdi, QWORD PTR 40[rsp]
	xor	rdi, QWORD PTR fs:40
	jne	.L13
	add	rsp, 48
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	sub	edx, 130
	mov	r8d, 3
	cmp	edx, 1
	jbe	.L4
.L5:
	xor	eax, eax
	call	snd_BUG@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L2:
	cmp	DWORD PTR [rax], 4
	mov	r8d, 5
	jle	.L4
	mov	QWORD PTR 24[rsp], rcx
	mov	r8d, 4
	jmp	.L4
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	snd_rme96_info_inputtype_control, .-snd_rme96_info_inputtype_control
	.comm	EINVAL,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_rme96.c_snd_rme96_info_inputtype_control.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Optical\000"
	.align	2
.LC1:
	.ascii	"Coaxial\000"
	.align	2
.LC2:
	.ascii	"Internal\000"
	.align	2
.LC3:
	.ascii	"XLR\000"
	.align	2
.LC4:
	.ascii	"Analog\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	snd_rme96_info_inputtype_control, %function
snd_rme96_info_inputtype_control:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r3, .L13
	sub	sp, sp, #24
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	mov	r4, r1
	bl	snd_kcontrol_chip
	ldr	r3, [r0, #4]
	ldr	r1, .L13+4
	ldr	r2, .L13+8
	ldr	r3, [r3]
	ldr	ip, .L13+12
	str	r1, [sp]
	str	r2, [sp, #4]
	ldr	r1, .L13+16
	ldr	r2, .L13+20
	cmp	r3, #129
	str	ip, [sp, #8]
	str	r1, [sp, #12]
	str	r2, [sp, #16]
	beq	.L2
	bgt	.L3
	cmp	r3, #128
	moveq	r2, #4
	bne	.L5
.L4:
	mov	r0, r4
	mov	r3, sp
	mov	r1, #1
	bl	snd_ctl_enum_info
.L1:
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	add	sp, sp, #24
	@ sp needed
	pop	{r4, pc}
.L3:
	sub	r3, r3, #130
	cmp	r3, #1
	movls	r2, #3
	bls	.L4
.L5:
	bl	snd_BUG
	ldr	r3, .L13+24
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L2:
	ldr	r3, [r0]
	cmp	r3, #4
	strgt	r2, [sp, #12]
	movgt	r2, #4
	movle	r2, #5
	b	.L4
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	.LC5
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	EINVAL
	.size	snd_rme96_info_inputtype_control, .-snd_rme96_info_inputtype_control
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
