	.file	"extr_zd_usb.c_init_usb_rx.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	init_usb_rx, @function
init_usb_rx:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	lea	rdi, 48[rdi]
	call	spin_lock_init@PLT
	lea	rdi, 44[rbx]
	call	mutex_init@PLT
	mov	edi, DWORD PTR [rbx]
	call	interface_to_usbdev@PLT
	mov	rcx, QWORD PTR USB_SPEED_HIGH[rip]
	mov	edx, 64
	cmp	QWORD PTR [rax], rcx
	mov	eax, 512
	cmovne	eax, edx
	xor	edi, edi
	cmp	QWORD PTR 16[rbx], 0
	sete	dil
	mov	DWORD PTR 8[rbx], eax
	call	ZD_ASSERT@PLT
	mov	esi, DWORD PTR zd_rx_idle_timer_handler[rip]
	lea	rdi, 40[rbx]
	call	INIT_DELAYED_WORK@PLT
	mov	eax, DWORD PTR zd_usb_reset_rx_idle_timer_tasklet[rip]
	mov	QWORD PTR 24[rbx], rbx
	mov	DWORD PTR 32[rbx], eax
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	init_usb_rx, .-init_usb_rx
	.comm	zd_usb_reset_rx_idle_timer_tasklet,4,4
	.comm	zd_rx_idle_timer_handler,4,4
	.comm	USB_SPEED_HIGH,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_zd_usb.c_init_usb_rx.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	init_usb_rx, %function
init_usb_rx:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	add	r0, r0, #28
	bl	spin_lock_init
	add	r0, r4, #24
	bl	mutex_init
	ldr	r0, [r4]
	bl	interface_to_usbdev
	ldr	r2, .L6
	ldr	r3, [r0]
	ldr	r2, [r2]
	ldr	r0, [r4, #8]
	cmp	r3, r2
	moveq	r3, #512
	movne	r3, #64
	clz	r0, r0
	str	r3, [r4, #4]
	lsr	r0, r0, #5
	bl	ZD_ASSERT
	ldr	r3, .L6+4
	add	r0, r4, #20
	ldr	r1, [r3]
	bl	INIT_DELAYED_WORK
	ldr	r3, .L6+8
	str	r4, [r4, #12]
	ldr	r3, [r3]
	str	r3, [r4, #16]
	pop	{r4, pc}
.L7:
	.align	2
.L6:
	.word	USB_SPEED_HIGH
	.word	zd_rx_idle_timer_handler
	.word	zd_usb_reset_rx_idle_timer_tasklet
	.size	init_usb_rx, .-init_usb_rx
	.comm	zd_usb_reset_rx_idle_timer_tasklet,4,4
	.comm	zd_rx_idle_timer_handler,4,4
	.comm	USB_SPEED_HIGH,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
