	.file	"extr_quirks.c_snd_usb_accessmusic_boot_quirk.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	snd_usb_accessmusic_boot_quirk, @function
snd_usb_accessmusic_boot_quirk:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	esi, 5
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	usb_sndintpipe@PLT
	mov	rdi, rbp
	mov	esi, eax
	call	snd_usb_pipe_sanity_check@PLT
	test	rax, rax
	je	.L2
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L8
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	r12d, DWORD PTR GFP_KERNEL[rip]
	lea	rdi, seq.1947[rip]
	call	ARRAY_SIZE@PLT
	lea	rdi, seq.1947[rip]
	mov	edx, r12d
	mov	esi, eax
	call	kmemdup@PLT
	mov	r12, rax
	mov	eax, DWORD PTR ENOMEM[rip]
	neg	eax
	test	r12, r12
	je	.L1
	lea	rdi, seq.1947[rip]
	call	ARRAY_SIZE@PLT
	mov	rdi, rbp
	mov	esi, 5
	mov	r13d, eax
	call	usb_sndintpipe@PLT
	mov	rdi, rbp
	lea	r8, 4[rsp]
	mov	ecx, r13d
	mov	esi, eax
	mov	r9d, 1000
	mov	rdx, r12
	call	usb_interrupt_msg@PLT
	mov	rdi, r12
	mov	ebp, eax
	call	kfree@PLT
	test	ebp, ebp
	mov	eax, 0
	cmovle	eax, ebp
	jmp	.L1
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	snd_usb_accessmusic_boot_quirk, .-snd_usb_accessmusic_boot_quirk
	.section	.rodata
	.align 16
	.type	seq.1947, @object
	.size	seq.1947, 16
seq.1947:
	.long	78
	.long	115
	.long	82
	.long	1
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.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_quirks.c_snd_usb_accessmusic_boot_quirk.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	snd_usb_accessmusic_boot_quirk, %function
snd_usb_accessmusic_boot_quirk:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L10
	sub	sp, sp, #16
	mov	r1, #5
	mov	r4, r0
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	usb_sndintpipe
	mov	r1, r0
	mov	r0, r4
	bl	snd_usb_pipe_sanity_check
	cmp	r0, #0
	beq	.L2
	ldr	r3, .L10+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
.L1:
	ldr	r3, .L10
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r0, .L10+8
	bl	ARRAY_SIZE
	ldr	r3, .L10+12
	mov	r1, r0
	ldr	r2, [r3]
	ldr	r0, .L10+8
	bl	kmemdup
	subs	r5, r0, #0
	beq	.L9
	mov	r1, #5
	mov	r0, r4
	bl	usb_sndintpipe
	mov	r6, r0
	ldr	r0, .L10+8
	bl	ARRAY_SIZE
	mov	ip, #1000
	add	r2, sp, #8
	mov	r3, r0
	stm	sp, {r2, ip}
	mov	r1, r6
	mov	r0, r4
	mov	r2, r5
	bl	usb_interrupt_msg
	mov	r4, r0
	mov	r0, r5
	bl	kfree
	and	r0, r4, r4, asr #31
	b	.L1
.L9:
	ldr	r3, .L10+16
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L8:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	.LC0
	.word	EINVAL
	.word	.LANCHOR0
	.word	GFP_KERNEL
	.word	ENOMEM
	.size	snd_usb_accessmusic_boot_quirk, .-snd_usb_accessmusic_boot_quirk
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.section	.rodata
	.align	2
	.set	.LANCHOR0,. + 0
	.type	seq.4231, %object
	.size	seq.4231, 16
seq.4231:
	.word	78
	.word	115
	.word	82
	.word	1
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
