	.file	"extr_card.c_usb_audio_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"USB device is in the shutdown state, cannot create a card instance\n"
	.align 8
.LC1:
	.string	"no available usb audio device\n"
	.align 8
.LC2:
	.string	"device (%04x:%04x) is disabled\n"
	.text
	.p2align 4
	.type	usb_audio_probe, @function
usb_audio_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 72
	.cfi_def_cfa_offset 128
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	call	interface_to_usbdev@PLT
	mov	r15, QWORD PTR 0[r13]
	mov	r12, QWORD PTR [rbx]
	mov	rbp, rax
	mov	rdi, r15
	call	get_iface_desc@PLT
	mov	edi, DWORD PTR 4[rbp]
	mov	r14d, DWORD PTR [rax]
	call	le16_to_cpu@PLT
	mov	edi, DWORD PTR 8[rbp]
	mov	ebx, eax
	call	le16_to_cpu@PLT
	mov	esi, ebx
	mov	edi, eax
	call	USB_ID@PLT
	lea	rsi, 44[rsp]
	mov	rdi, rbp
	mov	DWORD PTR 44[rsp], eax
	call	get_alias_id@PLT
	test	rax, rax
	jne	.L69
.L3:
	test	r12, r12
	je	.L4
	mov	eax, DWORD PTR [r12]
	cmp	eax, r14d
	je	.L4
	test	eax, eax
	jns	.L70
.L4:
	mov	ecx, DWORD PTR 44[rsp]
	mov	rdx, r12
	mov	rsi, r13
	mov	rdi, rbp
	call	snd_usb_apply_boot_quirk@PLT
	mov	ebx, eax
	test	eax, eax
	js	.L1
	mov	QWORD PTR 48[rsp], 0
	lea	rdi, register_mutex[rip]
	call	mutex_lock@PLT
	mov	edx, DWORD PTR SNDRV_CARDS[rip]
	test	edx, edx
	jle	.L6
	sub	edx, 1
	mov	rax, QWORD PTR usb_chip[rip]
	xor	ebx, ebx
	lea	rdx, 8[0+rdx*8]
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rdi, QWORD PTR [rax+rbx]
	test	rdi, rdi
	je	.L7
	cmp	QWORD PTR 56[rdi], rbp
	je	.L71
.L7:
	add	rbx, 8
	cmp	rdx, rbx
	jne	.L12
	mov	rsi, QWORD PTR 48[rsp]
	test	rsi, rsi
	je	.L34
.L11:
	mov	rdi, rbp
	call	dev_set_drvdata@PLT
	mov	rdi, QWORD PTR 48[rsp]
	cmp	QWORD PTR 32[rdi], 0
	je	.L72
.L26:
	mov	QWORD PTR 24[rdi], 0
	test	r12, r12
	je	.L27
	mov	eax, DWORD PTR QUIRK_NO_INTERFACE[rip]
	cmp	DWORD PTR [r12], eax
	jne	.L73
.L27:
	mov	esi, r14d
	call	snd_usb_create_streams@PLT
	mov	ebx, eax
	test	eax, eax
	js	.L9
	mov	edx, DWORD PTR ignore_ctl_error[rip]
	mov	rdi, QWORD PTR 48[rsp]
	mov	esi, r14d
	call	snd_usb_create_mixer@PLT
	mov	ebx, eax
	test	eax, eax
	js	.L9
	mov	rax, QWORD PTR 48[rsp]
	mov	edi, DWORD PTR 8[rax]
	call	snd_card_register@PLT
	mov	ebx, eax
	test	eax, eax
	js	.L9
	mov	r8, QWORD PTR 48[rsp]
	test	r12, r12
	je	.L29
.L33:
	cmp	QWORD PTR 8[r12], 0
	jne	.L74
.L29:
	mov	rdx, QWORD PTR [r8]
	mov	rax, QWORD PTR usb_chip[rip]
	mov	rsi, r8
	mov	rdi, r13
	xor	ebx, ebx
	mov	QWORD PTR [rax+rdx*8], r8
	add	DWORD PTR 12[r8], 1
	call	usb_set_intfdata@PLT
	mov	rax, QWORD PTR 48[rsp]
	lea	rdi, 16[rax]
	call	atomic_dec@PLT
	lea	rdi, register_mutex[rip]
	call	mutex_unlock@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L75
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, ebx
	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
.L70:
	.cfi_restore_state
	mov	ebx, DWORD PTR ENXIO[rip]
	neg	ebx
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rsi, QWORD PTR 48[rsp]
	test	rsi, rsi
	jne	.L11
.L25:
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	call	dev_err@PLT
	mov	ebx, DWORD PTR ENODEV[rip]
	neg	ebx
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rdi, QWORD PTR 48[rsp]
	test	rdi, rdi
	je	.L31
	add	rdi, 16
	call	atomic_dec@PLT
	mov	rax, QWORD PTR 48[rsp]
	mov	edx, DWORD PTR 12[rax]
	test	edx, edx
	jne	.L31
	mov	edi, DWORD PTR 8[rax]
	call	snd_card_free@PLT
	.p2align 4,,10
	.p2align 3
.L31:
	lea	rdi, register_mutex[rip]
	call	mutex_unlock@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L69:
	mov	esi, DWORD PTR 44[rsp]
	mov	rdi, rbp
	call	get_alias_quirk@PLT
	mov	r12, rax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L73:
	mov	rcx, r12
	lea	rdx, usb_audio_driver[rip]
	mov	rsi, r13
	call	snd_usb_create_quirk@PLT
	mov	ebx, eax
	test	eax, eax
	js	.L9
	mov	rdi, QWORD PTR 48[rsp]
	jne	.L27
	mov	edi, DWORD PTR 8[rdi]
	call	snd_card_register@PLT
	mov	ebx, eax
	test	eax, eax
	js	.L9
	mov	r8, QWORD PTR 48[rsp]
	jmp	.L33
	.p2align 4,,10
	.p2align 3
.L71:
	add	rdi, 48
	call	atomic_read@PLT
	test	rax, rax
	jne	.L76
	mov	rax, QWORD PTR usb_chip[rip]
	mov	rdi, QWORD PTR [rax+rbx]
	mov	QWORD PTR 48[rsp], rdi
	add	rdi, 16
	call	atomic_inc@PLT
	mov	rsi, QWORD PTR 48[rsp]
	test	rsi, rsi
	jne	.L11
	mov	ecx, DWORD PTR SNDRV_CARDS[rip]
	test	ecx, ecx
	jle	.L25
	mov	rax, QWORD PTR usb_chip[rip]
.L34:
	xor	ebx, ebx
	jmp	.L24
	.p2align 4,,10
	.p2align 3
.L15:
	add	rbx, 1
	cmp	DWORD PTR SNDRV_CARDS[rip], ebx
	jle	.L6
	mov	rax, QWORD PTR usb_chip[rip]
.L24:
	cmp	QWORD PTR [rax+rbx*8], 0
	mov	r10d, ebx
	lea	rdx, 0[0+rbx*8]
	jne	.L15
	mov	rax, QWORD PTR vid[rip]
	lea	rcx, 0[0+rbx*4]
	mov	esi, DWORD PTR [rax+rbx*4]
	cmp	esi, -1
	je	.L19
	mov	edi, DWORD PTR 44[rsp]
	mov	QWORD PTR 24[rsp], rdx
	mov	QWORD PTR 16[rsp], rcx
	mov	DWORD PTR 8[rsp], esi
	mov	DWORD PTR 12[rsp], ebx
	call	USB_ID_VENDOR@PLT
	mov	esi, DWORD PTR 8[rsp]
	mov	r10d, DWORD PTR 12[rsp]
	mov	rcx, QWORD PTR 16[rsp]
	mov	rdx, QWORD PTR 24[rsp]
	cmp	esi, eax
	jne	.L15
.L19:
	mov	rax, QWORD PTR pid[rip]
	mov	esi, DWORD PTR [rax+rcx]
	cmp	esi, -1
	je	.L17
	mov	edi, DWORD PTR 44[rsp]
	mov	QWORD PTR 24[rsp], rdx
	mov	QWORD PTR 16[rsp], rcx
	mov	DWORD PTR 12[rsp], r10d
	mov	DWORD PTR 8[rsp], esi
	call	USB_ID_PRODUCT@PLT
	mov	esi, DWORD PTR 8[rsp]
	mov	r10d, DWORD PTR 12[rsp]
	mov	rcx, QWORD PTR 16[rsp]
	mov	rdx, QWORD PTR 24[rsp]
	cmp	esi, eax
	jne	.L15
.L17:
	mov	rax, QWORD PTR enable[rip]
	cmp	QWORD PTR [rax+rdx], 0
	jne	.L77
	mov	rax, QWORD PTR vid[rip]
	cmp	DWORD PTR [rax+rcx], -1
	jne	.L22
	mov	rax, QWORD PTR pid[rip]
	cmp	DWORD PTR [rax+rcx], -1
	je	.L15
.L22:
	mov	edi, DWORD PTR 44[rsp]
	call	USB_ID_PRODUCT@PLT
	mov	edi, DWORD PTR 44[rsp]
	mov	r12d, eax
	call	USB_ID_VENDOR@PLT
	mov	ecx, r12d
	lea	rsi, .LC2[rip]
	mov	rdi, rbp
	mov	edx, eax
	call	dev_info@PLT
	mov	ebx, DWORD PTR ENOENT[rip]
	neg	ebx
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L72:
	mov	QWORD PTR 32[rdi], r15
	jmp	.L26
	.p2align 4,,10
	.p2align 3
.L76:
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	call	dev_err@PLT
	mov	ebx, DWORD PTR EIO[rip]
	neg	ebx
	jmp	.L9
.L74:
	mov	rdi, r8
	mov	rsi, r13
	call	snd_media_device_create@PLT
	mov	r8, QWORD PTR 48[rsp]
	jmp	.L29
.L77:
	mov	r8d, DWORD PTR 44[rsp]
	lea	r9, 48[rsp]
	mov	rcx, r12
	mov	edx, r10d
	mov	rsi, rbp
	mov	rdi, r13
	call	snd_usb_audio_create@PLT
	mov	ebx, eax
	test	eax, eax
	js	.L9
	mov	rsi, QWORD PTR 48[rsp]
	mov	QWORD PTR 40[rsi], r13
	jmp	.L11
.L75:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	usb_audio_probe, .-usb_audio_probe
	.comm	vid,8,8
	.comm	usb_chip,8,8
	.comm	usb_audio_driver,4,4
	.comm	register_mutex,4,4
	.comm	pid,8,8
	.comm	ignore_ctl_error,4,4
	.comm	enable,8,8
	.comm	SNDRV_CARDS,4,4
	.comm	QUIRK_NO_INTERFACE,4,4
	.comm	ENXIO,4,4
	.comm	ENOENT,4,4
	.comm	ENODEV,4,4
	.comm	EIO,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_card.c_usb_audio_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"USB device is in the shutdown state, cannot create "
	.ascii	"a card instance\012\000"
	.align	2
.LC1:
	.ascii	"no available usb audio device\012\000"
	.align	2
.LC2:
	.ascii	"device (%04x:%04x) is disabled\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	usb_audio_probe, %function
usb_audio_probe:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L85
	mov	r10, r0
	sub	sp, sp, #36
	mov	r4, r1
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	bl	interface_to_usbdev
	ldr	fp, [r10]
	mov	r5, r0
	mov	r0, fp
	ldr	r7, [r4]
	bl	get_iface_desc
	mov	r3, r0
	ldr	r3, [r3]
	ldr	r0, [r5, #8]
	str	r3, [sp, #8]
	bl	le16_to_cpu
	mov	r4, r0
	ldr	r0, [r5, #4]
	bl	le16_to_cpu
	mov	r1, r0
	mov	r0, r4
	bl	USB_ID
	mov	r3, r0
	add	r1, sp, #24
	mov	r0, r5
	str	r3, [sp, #24]
	bl	get_alias_id
	cmp	r0, #0
	bne	.L77
.L3:
	cmp	r7, #0
	beq	.L4
	ldr	r3, [r7]
	ldr	r2, [sp, #8]
	subs	r2, r3, r2
	movne	r2, #1
	cmp	r3, #0
	movlt	r2, #0
	cmp	r2, #0
	bne	.L78
.L4:
	mov	r2, r7
	mov	r1, r10
	mov	r0, r5
	ldr	r3, [sp, #24]
	bl	snd_usb_apply_boot_quirk
	subs	r4, r0, #0
	blt	.L1
	mov	r4, #0
	ldr	r8, .L85+4
	ldr	r0, .L85+8
	str	r4, [sp, #20]
	bl	mutex_lock
	ldr	r1, [r8]
	cmp	r1, r4
	ble	.L75
	mov	r3, r4
	ldr	r9, .L85+12
	ldr	ip, [r9]
	sub	r2, ip, #4
.L12:
	ldr	r0, [r2, #4]!
	lsl	r4, r3, #2
	cmp	r0, #0
	beq	.L7
	ldr	lr, [r0, #32]
	cmp	lr, r5
	beq	.L79
.L7:
	add	r3, r3, #1
	cmp	r3, r1
	bne	.L12
	ldr	r1, [sp, #20]
	cmp	r1, #0
	beq	.L34
.L11:
	mov	r0, r5
	bl	dev_set_drvdata
	ldr	r0, [sp, #20]
	ldr	r3, [r0, #20]
	cmp	r3, #0
	mov	r3, #0
	streq	fp, [r0, #20]
	cmp	r7, r3
	str	r3, [r0, #16]
	beq	.L27
	ldr	r3, .L85+16
	ldr	r2, [r7]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L80
.L27:
	ldr	r5, [sp, #8]
	mov	r1, r5
	bl	snd_usb_create_streams
	subs	r4, r0, #0
	blt	.L9
	ldr	r3, .L85+20
	mov	r1, r5
	ldr	r2, [r3]
	ldr	r0, [sp, #20]
	bl	snd_usb_create_mixer
	subs	r4, r0, #0
	blt	.L9
	ldr	r3, [sp, #20]
	ldr	r0, [r3, #4]
	bl	snd_card_register
	subs	r4, r0, #0
	blt	.L9
	cmp	r7, #0
	ldr	r1, [sp, #20]
	beq	.L29
.L33:
	ldr	r3, [r7, #4]
	cmp	r3, #0
	bne	.L81
.L29:
	ldr	r2, .L85+12
	ldr	r3, [r1, #8]
	ldr	r2, [r2]
	ldr	ip, [r1]
	add	r3, r3, #1
	str	r1, [r2, ip, lsl #2]
	mov	r0, r10
	str	r3, [r1, #8]
	bl	usb_set_intfdata
	ldr	r0, [sp, #20]
	mov	r4, #0
	add	r0, r0, #12
	bl	atomic_dec
	ldr	r0, .L85+8
	bl	mutex_unlock
.L1:
	ldr	r3, .L85
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L82
	mov	r0, r4
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L23:
	ldr	r7, [sp, #12]
.L75:
	ldr	r1, [sp, #20]
	cmp	r1, #0
	bne	.L11
.L25:
	mov	r0, r5
	ldr	r1, .L85+24
	bl	dev_err
	ldr	r3, .L85+28
	ldr	r4, [r3]
	rsb	r4, r4, #0
.L9:
	ldr	r0, [sp, #20]
	cmp	r0, #0
	beq	.L31
	add	r0, r0, #12
	bl	atomic_dec
	ldr	r3, [sp, #20]
	ldr	r2, [r3, #8]
	cmp	r2, #0
	bne	.L31
	ldr	r0, [r3, #4]
	bl	snd_card_free
.L31:
	ldr	r0, .L85+8
	bl	mutex_unlock
	b	.L1
.L77:
	mov	r0, r5
	ldr	r1, [sp, #24]
	bl	get_alias_quirk
	mov	r7, r0
	b	.L3
.L78:
	ldr	r3, .L85+32
	ldr	r0, [r3]
	rsb	r4, r0, #0
	b	.L1
.L80:
	mov	r3, r7
	mov	r1, r10
	ldr	r2, .L85+36
	bl	snd_usb_create_quirk
	subs	r4, r0, #0
	blt	.L9
	ldr	r0, [sp, #20]
	bne	.L27
	ldr	r0, [r0, #4]
	bl	snd_card_register
	subs	r4, r0, #0
	blt	.L9
	ldr	r1, [sp, #20]
	b	.L33
.L79:
	add	r0, r0, #28
	bl	atomic_read
	cmp	r0, #0
	bne	.L83
	ldr	r3, [r9]
	ldr	r3, [r3, r4]
	add	r0, r3, #12
	str	r3, [sp, #20]
	bl	atomic_inc
	ldr	r1, [sp, #20]
	cmp	r1, #0
	bne	.L11
	ldr	r3, [r8]
	cmp	r3, #0
	ldrgt	ip, [r9]
	ble	.L25
.L34:
	mov	r4, #0
	ldr	r2, .L85+40
	ldr	r1, .L85+44
	str	r7, [sp, #12]
	b	.L24
.L15:
	ldr	r3, [r8]
	add	r4, r4, #1
	cmp	r3, r4
	ble	.L23
	ldr	ip, [r9]
.L24:
	ldr	r3, [ip, r4, lsl #2]
	lsl	r6, r4, #2
	cmp	r3, #0
	bne	.L15
	ldr	r3, [r2]
	ldr	r7, [r3, r4, lsl #2]
	cmn	r7, #1
	beq	.L19
	ldr	r0, [sp, #24]
	bl	USB_ID_VENDOR
	cmp	r7, r0
	ldr	r2, .L85+40
	ldr	r1, .L85+44
	bne	.L15
.L19:
	ldr	r3, [r1]
	ldr	r7, [r3, r6]
	cmn	r7, #1
	beq	.L17
	ldr	r0, [sp, #24]
	bl	USB_ID_PRODUCT
	cmp	r7, r0
	ldr	r2, .L85+40
	ldr	r1, .L85+44
	bne	.L15
.L17:
	ldr	r3, .L85+48
	ldr	r3, [r3]
	ldr	r3, [r3, r6]
	cmp	r3, #0
	bne	.L84
	ldr	r3, [r2]
	ldr	r3, [r3, r6]
	cmn	r3, #1
	bne	.L22
	ldr	r3, [r1]
	ldr	r3, [r3, r6]
	cmn	r3, #1
	beq	.L15
.L22:
	ldr	r0, [sp, #24]
	bl	USB_ID_VENDOR
	mov	r4, r0
	ldr	r0, [sp, #24]
	bl	USB_ID_PRODUCT
	mov	r2, r4
	mov	r3, r0
	ldr	r1, .L85+52
	mov	r0, r5
	bl	dev_info
	ldr	r3, .L85+56
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L9
.L83:
	mov	r0, r5
	ldr	r1, .L85+60
	bl	dev_err
	ldr	r3, .L85+64
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L9
.L81:
	mov	r0, r1
	mov	r1, r10
	bl	snd_media_device_create
	ldr	r1, [sp, #20]
	b	.L29
.L84:
	ldr	r1, [sp, #24]
	ldr	r7, [sp, #12]
	add	r3, sp, #20
	stm	sp, {r1, r3}
	mov	r2, r4
	mov	r3, r7
	mov	r1, r5
	mov	r0, r10
	bl	snd_usb_audio_create
	subs	r4, r0, #0
	blt	.L9
	ldr	r1, [sp, #20]
	str	r10, [r1, #24]
	b	.L11
.L82:
	bl	__stack_chk_fail
.L86:
	.align	2
.L85:
	.word	.LC3
	.word	SNDRV_CARDS
	.word	register_mutex
	.word	usb_chip
	.word	QUIRK_NO_INTERFACE
	.word	ignore_ctl_error
	.word	.LC1
	.word	ENODEV
	.word	ENXIO
	.word	usb_audio_driver
	.word	vid
	.word	pid
	.word	enable
	.word	.LC2
	.word	ENOENT
	.word	.LC0
	.word	EIO
	.size	usb_audio_probe, .-usb_audio_probe
	.comm	vid,4,4
	.comm	usb_chip,4,4
	.comm	usb_audio_driver,4,4
	.comm	register_mutex,4,4
	.comm	pid,4,4
	.comm	ignore_ctl_error,4,4
	.comm	enable,4,4
	.comm	SNDRV_CARDS,4,4
	.comm	QUIRK_NO_INTERFACE,4,4
	.comm	ENXIO,4,4
	.comm	ENOENT,4,4
	.comm	ENODEV,4,4
	.comm	EIO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
