	.file	"extr_usx2yhwdeppcm.c_i_usX2Y_usbpcm_urb_complete.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"in"
.LC1:
	.string	"out"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"hcd_frame=%i ep=%i%s status=%i start_frame=%i\n"
	.section	.rodata.str1.1
.LC3:
	.string	"\n"
	.text
	.p2align 4
	.type	i_usX2Y_usbpcm_urb_complete, @function
i_usX2Y_usbpcm_urb_complete:
.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
	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
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	rbp, QWORD PTR 16[rdi]
	mov	rdi, rbp
	mov	r13, QWORD PTR 24[rbp]
	call	atomic_read@PLT
	xor	edi, edi
	cmp	rax, QWORD PTR state_PREPARED[rip]
	setl	dil
	call	unlikely@PLT
	test	rax, rax
	jne	.L20
	mov	edi, DWORD PTR [r12]
	call	unlikely@PLT
	test	rax, rax
	jne	.L21
	mov	rdx, QWORD PTR SNDRV_PCM_STREAM_CAPTURE[rip]
	mov	rax, QWORD PTR 8[r13]
	mov	QWORD PTR 8[rbp], r12
	mov	rbp, QWORD PTR [rax+rdx*8]
	lea	rcx, 0[0+rdx*8]
	cmp	QWORD PTR 8[rbp], 0
	je	.L1
	mov	rdx, QWORD PTR SNDRV_PCM_STREAM_PLAYBACK[rip]
	mov	rdi, rbp
	mov	r14, QWORD PTR 16[rax+rcx]
	mov	r15, QWORD PTR [rax+rdx*8]
	call	atomic_read@PLT
	cmp	rax, QWORD PTR state_PREPARED[rip]
	jl	.L1
	test	r14, r14
	je	.L8
	cmp	QWORD PTR 8[r14], 0
	je	.L1
.L8:
	cmp	QWORD PTR 8[r15], 0
	je	.L9
.L12:
	mov	ecx, DWORD PTR 4[r12]
	mov	rdx, r15
	mov	rsi, r14
	mov	rdi, rbp
	call	usX2Y_usbpcm_usbframe_complete@PLT
	test	eax, eax
	jne	.L22
	xor	eax, eax
	call	nr_of_packs@PLT
	add	DWORD PTR 0[r13], eax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L20:
	.cfi_restore_state
	mov	edi, DWORD PTR 8[r12]
	mov	r15d, DWORD PTR 4[r12]
	mov	ebx, DWORD PTR [r12]
	lea	r12, .LC0[rip]
	call	usb_pipein@PLT
	mov	edi, DWORD PTR 16[r13]
	lea	rcx, .LC1[rip]
	mov	r14d, DWORD PTR 16[rbp]
	test	rax, rax
	cmove	r12, rcx
	call	usb_get_current_frame_number@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	r9d, r15d
	mov	r8d, ebx
	mov	esi, eax
	pop	rbx
	.cfi_def_cfa_offset 48
	mov	rcx, r12
	pop	rbp
	.cfi_def_cfa_offset 40
	mov	edx, r14d
	pop	r12
	.cfi_def_cfa_offset 32
	lea	rdi, .LC2[rip]
	pop	r13
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	snd_printdd@PLT
	.p2align 4,,10
	.p2align 3
.L21:
	.cfi_restore_state
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rdx, r12
	mov	rsi, rbp
	mov	rdi, r13
	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
	jmp	usX2Y_error_urb_status@PLT
	.p2align 4,,10
	.p2align 3
.L22:
	.cfi_restore_state
	lea	rdi, .LC3[rip]
	xor	eax, eax
	call	snd_printdd@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rdi, r13
	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
	jmp	usX2Y_clients_stop@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	rdi, r15
	call	atomic_read@PLT
	cmp	rax, QWORD PTR state_PREPARED[rip]
	jl	.L12
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	i_usX2Y_usbpcm_urb_complete, .-i_usX2Y_usbpcm_urb_complete
	.comm	state_PREPARED,8,8
	.comm	SNDRV_PCM_STREAM_PLAYBACK,8,8
	.comm	SNDRV_PCM_STREAM_CAPTURE,8,8
	.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_usx2yhwdeppcm.c_i_usX2Y_usbpcm_urb_complete.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"in\000"
	.align	2
.LC1:
	.ascii	"out\000"
	.align	2
.LC2:
	.ascii	"hcd_frame=%i ep=%i%s status=%i start_frame=%i\012\000"
	.align	2
.LC3:
	.ascii	"\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	i_usX2Y_usbpcm_urb_complete, %function
i_usX2Y_usbpcm_urb_complete:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r5, [r0, #12]
	sub	sp, sp, #12
	mov	r4, r0
	mov	r0, r5
	ldr	r7, [r5, #12]
	bl	atomic_read
	ldr	r6, .L26
	ldr	r3, [r6]
	cmp	r0, r3
	movge	r0, #0
	movlt	r0, #1
	bl	unlikely
	cmp	r0, #0
	bne	.L23
	ldr	r0, [r4]
	bl	unlikely
	cmp	r0, #0
	bne	.L24
	ldr	r3, .L26+4
	ldr	r2, [r7, #4]
	ldr	r3, [r3]
	str	r4, [r5, #4]
	ldr	r5, [r2, r3, lsl #2]
	lsl	r3, r3, #2
	ldr	r1, [r5, #4]
	cmp	r1, #0
	beq	.L1
	ldr	r1, .L26+8
	add	r3, r2, r3
	ldr	r1, [r1]
	mov	r0, r5
	ldr	r8, [r3, #8]
	ldr	r9, [r2, r1, lsl #2]
	bl	atomic_read
	ldr	r3, [r6]
	cmp	r0, r3
	blt	.L1
	cmp	r8, #0
	beq	.L8
	ldr	r3, [r8, #4]
	cmp	r3, #0
	beq	.L1
.L8:
	ldr	r3, [r9, #4]
	cmp	r3, #0
	beq	.L9
.L12:
	mov	r2, r9
	mov	r1, r8
	mov	r0, r5
	ldr	r3, [r4, #4]
	bl	usX2Y_usbpcm_usbframe_complete
	cmp	r0, #0
	bne	.L25
	bl	nr_of_packs
	ldr	r3, [r7]
	add	r3, r3, r0
	str	r3, [r7]
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L23:
	ldr	r0, [r7, #8]
	bl	usb_get_current_frame_number
	mov	r6, r0
	ldr	r0, [r4, #8]
	ldr	r7, [r5, #8]
	bl	usb_pipein
	ldm	r4, {ip, lr}
	ldr	r5, .L26+12
	cmp	r0, #0
	ldr	r3, .L26+16
	mov	r1, r6
	mov	r2, r7
	moveq	r3, r5
	stm	sp, {ip, lr}
	ldr	r0, .L26+20
	bl	snd_printdd
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L24:
	mov	r2, r4
	mov	r1, r5
	mov	r0, r7
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, lr}
	b	usX2Y_error_urb_status
.L25:
	ldr	r0, .L26+24
	bl	snd_printdd
	mov	r0, r7
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, lr}
	b	usX2Y_clients_stop
.L9:
	mov	r0, r9
	bl	atomic_read
	ldr	r3, [r6]
	cmp	r0, r3
	blt	.L12
	b	.L1
.L27:
	.align	2
.L26:
	.word	state_PREPARED
	.word	SNDRV_PCM_STREAM_CAPTURE
	.word	SNDRV_PCM_STREAM_PLAYBACK
	.word	.LC1
	.word	.LC0
	.word	.LC2
	.word	.LC3
	.size	i_usX2Y_usbpcm_urb_complete, .-i_usX2Y_usbpcm_urb_complete
	.comm	state_PREPARED,4,4
	.comm	SNDRV_PCM_STREAM_PLAYBACK,4,4
	.comm	SNDRV_PCM_STREAM_CAPTURE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
