	.file	"extr_sisusb.c_sisusb_bulkin_msg.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	sisusb_bulkin_msg, @function
sisusb_bulkin_msg:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r10d, esi
	mov	r14d, r9d
	mov	r9d, DWORD PTR sisusb_bulk_completein[rip]
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, r8
	mov	r8d, ecx
	mov	rcx, rdx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	edx, r10d
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbp, QWORD PTR 16[rdi]
	mov	rbx, rdi
	mov	esi, DWORD PTR 12[rdi]
	mov	DWORD PTR 0[rbp], 0
	sub	rsp, 8
	.cfi_def_cfa_offset 56
	push	rdi
	.cfi_def_cfa_offset 64
	mov	rdi, rbp
	call	usb_fill_bulk_urb@PLT
	mov	eax, DWORD PTR 64[rsp]
	or	DWORD PTR 0[rbp], eax
	mov	rdi, rbp
	mov	DWORD PTR 4[rbp], 0
	mov	esi, DWORD PTR GFP_ATOMIC[rip]
	mov	QWORD PTR [rbx], 0
	call	usb_submit_urb@PLT
	mov	r12d, eax
	pop	rax
	.cfi_def_cfa_offset 56
	xor	eax, eax
	pop	rdx
	.cfi_def_cfa_offset 48
	test	r12d, r12d
	je	.L11
.L2:
	test	r13, r13
	je	.L1
	mov	DWORD PTR 0[r13], eax
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	edi, DWORD PTR 8[rbx]
	mov	rsi, QWORD PTR [rbx]
	mov	edx, r14d
	call	wait_event_timeout@PLT
	cmp	QWORD PTR [rbx], 0
	je	.L12
	mov	r12d, DWORD PTR 8[rbp]
	mov	eax, DWORD PTR 4[rbp]
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rdi, rbp
	call	usb_kill_urb@PLT
	mov	eax, r12d
	mov	r12d, DWORD PTR ETIMEDOUT[rip]
	neg	r12d
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	sisusb_bulkin_msg, .-sisusb_bulkin_msg
	.comm	sisusb_bulk_completein,4,4
	.comm	GFP_ATOMIC,4,4
	.comm	ETIMEDOUT,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_sisusb.c_sisusb_bulkin_msg.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sisusb_bulkin_msg, %function
sisusb_bulkin_msg:
	@ args = 12, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	mov	lr, r3
	mov	r6, #0
	mov	r0, r2
	ldr	r3, .L13
	ldr	r5, [r4, #12]
	ldr	ip, [r3]
	sub	sp, sp, #16
	str	r6, [r5]
	str	lr, [sp]
	str	r4, [sp, #8]
	mov	r2, r1
	mov	r3, r0
	ldr	r1, [r4, #8]
	mov	r0, r5
	str	ip, [sp, #4]
	ldr	r8, [sp, #48]
	ldr	r7, [sp, #40]
	bl	usb_fill_bulk_urb
	ldr	r3, [r5]
	ldr	r2, .L13+4
	orr	r3, r3, r8
	stm	r5, {r3, r6}
	mov	r0, r5
	ldr	r1, [r2]
	str	r6, [r4]
	bl	usb_submit_urb
	cmp	r0, #0
	beq	.L11
	cmp	r7, #0
	strne	r6, [r7]
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	ldr	r2, [sp, #44]
	ldr	r1, [r4]
	ldr	r0, [r4, #4]
	bl	wait_event_timeout
	ldr	r6, [r4]
	cmp	r6, #0
	beq	.L12
	ldr	r0, [r5, #8]
	ldr	r6, [r5, #4]
	cmp	r7, #0
	strne	r6, [r7]
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L12:
	mov	r0, r5
	bl	usb_kill_urb
	ldr	r3, .L13+8
	cmp	r7, #0
	ldr	r0, [r3]
	strne	r6, [r7]
	rsb	r0, r0, #0
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L14:
	.align	2
.L13:
	.word	sisusb_bulk_completein
	.word	GFP_ATOMIC
	.word	ETIMEDOUT
	.size	sisusb_bulkin_msg, .-sisusb_bulkin_msg
	.comm	sisusb_bulk_completein,4,4
	.comm	GFP_ATOMIC,4,4
	.comm	ETIMEDOUT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
