	.file	"extr_usbip_common.c_usbip_recv_iso.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"recv iso_frame_descriptor, %d\n"
	.align 8
.LC1:
	.string	"total length of iso packets %d not equal to actual length of buffer %d\n"
	.text
	.p2align 4
	.globl	usbip_recv_iso
	.type	usbip_recv_iso, @function
usbip_recv_iso:
.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, 24
	.cfi_def_cfa_offset 80
	mov	r12d, DWORD PTR [rsi]
	mov	edi, DWORD PTR 24[rsi]
	call	usb_pipeisoc@PLT
	test	r12d, r12d
	je	.L14
	test	eax, eax
	jne	.L20
.L14:
	xor	r15d, r15d
.L1:
	add	rsp, 24
	.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
.L20:
	.cfi_restore_state
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	lea	ebp, 0[0+r12*4]
	mov	edi, ebp
	call	kzalloc@PLT
	mov	r15d, DWORD PTR ENOMEM[rip]
	mov	QWORD PTR 8[rsp], rax
	neg	r15d
	test	rax, rax
	je	.L1
	mov	edi, DWORD PTR 8[r13]
	mov	rsi, QWORD PTR 8[rsp]
	mov	edx, ebp
	call	usbip_recv@PLT
	mov	r15d, eax
	cmp	ebp, eax
	jne	.L4
	xor	r14d, r14d
	test	r12d, r12d
	jle	.L6
	mov	rcx, QWORD PTR 8[rsp]
	lea	eax, -1[r12]
	xor	r14d, r14d
	xor	r12d, r12d
	lea	rax, 4[rcx+rax*4]
	mov	rbp, rcx
	mov	QWORD PTR [rsp], rax
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rdi, rbp
	xor	esi, esi
	call	usbip_iso_packet_correct_endian@PLT
	mov	rsi, QWORD PTR 16[rbx]
	mov	rdi, rbp
	xor	edx, edx
	add	rbp, 4
	add	rsi, r12
	call	usbip_pack_iso@PLT
	mov	rax, QWORD PTR 16[rbx]
	add	r14d, DWORD PTR [rax+r12]
	add	r12, 8
	cmp	rbp, QWORD PTR [rsp]
	jne	.L10
.L6:
	mov	rdi, QWORD PTR 8[rsp]
	call	kfree@PLT
	mov	ecx, DWORD PTR 4[rbx]
	cmp	ecx, r14d
	je	.L1
	mov	rdi, QWORD PTR 8[rbx]
	xor	eax, eax
	mov	edx, r14d
	lea	rsi, .LC1[rip]
	call	dev_err@PLT
	mov	rax, QWORD PTR 0[r13]
	cmp	rax, QWORD PTR USBIP_STUB[rip]
	jne	.L18
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rdi, QWORD PTR 8[rbx]
	mov	edx, eax
	lea	rsi, .LC0[rip]
	xor	eax, eax
	call	dev_err@PLT
	mov	rdi, QWORD PTR 8[rsp]
	call	kfree@PLT
	mov	rax, QWORD PTR 0[r13]
	cmp	rax, QWORD PTR USBIP_STUB[rip]
	je	.L11
.L18:
	cmp	rax, QWORD PTR USBIP_VUDC[rip]
	jne	.L12
.L11:
	mov	esi, DWORD PTR SDEV_EVENT_ERROR_TCP[rip]
	mov	rdi, r13
	call	usbip_event_add@PLT
.L13:
	mov	r15d, DWORD PTR EPIPE[rip]
	neg	r15d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	mov	esi, DWORD PTR VDEV_EVENT_ERROR_TCP[rip]
	mov	rdi, r13
	call	usbip_event_add@PLT
	jmp	.L13
	.cfi_endproc
.LFE0:
	.size	usbip_recv_iso, .-usbip_recv_iso
	.comm	VDEV_EVENT_ERROR_TCP,4,4
	.comm	USBIP_VUDC,8,8
	.comm	USBIP_STUB,8,8
	.comm	SDEV_EVENT_ERROR_TCP,4,4
	.comm	GFP_KERNEL,4,4
	.comm	EPIPE,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_usbip_common.c_usbip_recv_iso.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"recv iso_frame_descriptor, %d\012\000"
	.align	2
.LC1:
	.ascii	"total length of iso packets %d not equal to actual "
	.ascii	"length of buffer %d\012\000"
	.text
	.align	2
	.global	usbip_recv_iso
	.syntax unified
	.arm
	.fpu softvfp
	.type	usbip_recv_iso, %function
usbip_recv_iso:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r7, r0
	ldr	r0, [r1, #16]
	ldr	r6, [r1]
	mov	r5, r1
	bl	usb_pipeisoc
	clz	r4, r0
	cmp	r6, #0
	lsr	r4, r4, #5
	moveq	r4, #1
	cmp	r4, #0
	movne	r10, #0
	beq	.L21
.L1:
	mov	r0, r10
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L21:
	ldr	r3, .L23
	lsl	r9, r6, #2
	mov	r0, r9
	ldr	r1, [r3]
	bl	kzalloc
	subs	r8, r0, #0
	beq	.L22
	mov	r2, r9
	mov	r1, r8
	ldr	r0, [r7, #4]
	bl	usbip_recv
	cmp	r9, r0
	mov	r10, r0
	bne	.L4
	cmp	r6, #0
	mov	fp, r4
	ble	.L6
.L5:
	add	r6, r8, r4
	mov	r1, #0
	mov	r0, r6
	bl	usbip_iso_packet_correct_endian
	ldr	r1, [r5, #12]
	mov	r0, r6
	add	r1, r1, r4
	mov	r2, #0
	bl	usbip_pack_iso
	ldr	r3, [r5, #12]
	ldr	r3, [r3, r4]
	add	r4, r4, #4
	cmp	r9, r4
	add	fp, fp, r3
	bne	.L5
.L6:
	mov	r0, r8
	bl	kfree
	ldr	r3, [r5, #4]
	cmp	r3, fp
	beq	.L1
	mov	r2, fp
	ldr	r0, [r5, #8]
	ldr	r1, .L23+4
	bl	dev_err
	b	.L19
.L4:
	mov	r2, r0
	ldr	r1, .L23+8
	ldr	r0, [r5, #8]
	bl	dev_err
	mov	r0, r8
	bl	kfree
.L19:
	ldr	r2, .L23+12
	ldr	r3, [r7]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L10
	ldr	r2, .L23+16
	ldr	r2, [r2]
	cmp	r3, r2
	bne	.L11
.L10:
	ldr	r3, .L23+20
	mov	r0, r7
	ldr	r1, [r3]
	bl	usbip_event_add
.L12:
	ldr	r3, .L23+24
	ldr	r10, [r3]
	rsb	r10, r10, #0
	mov	r0, r10
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L22:
	ldr	r3, .L23+28
	ldr	r10, [r3]
	rsb	r10, r10, #0
	b	.L1
.L11:
	ldr	r3, .L23+32
	mov	r0, r7
	ldr	r1, [r3]
	bl	usbip_event_add
	b	.L12
.L24:
	.align	2
.L23:
	.word	GFP_KERNEL
	.word	.LC1
	.word	.LC0
	.word	USBIP_STUB
	.word	USBIP_VUDC
	.word	SDEV_EVENT_ERROR_TCP
	.word	EPIPE
	.word	ENOMEM
	.word	VDEV_EVENT_ERROR_TCP
	.size	usbip_recv_iso, .-usbip_recv_iso
	.comm	VDEV_EVENT_ERROR_TCP,4,4
	.comm	USBIP_VUDC,4,4
	.comm	USBIP_STUB,4,4
	.comm	SDEV_EVENT_ERROR_TCP,4,4
	.comm	GFP_KERNEL,4,4
	.comm	EPIPE,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
