	.file	"extr_viperboard.c_vprbrd_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"version %x.%02x found at bus %03d address %03d\n"
	.align 8
.LC1:
	.string	"Failed to add mfd devices to core."
	.text
	.p2align 4
	.type	vprbrd_probe, @function
vprbrd_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	mov	edi, 24
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	call	kzalloc@PLT
	mov	r13d, DWORD PTR ENOMEM[rip]
	neg	r13d
	test	rax, rax
	je	.L1
	lea	rdi, 20[rax]
	mov	rbp, rax
	call	mutex_init@PLT
	mov	rdi, r12
	call	interface_to_usbdev@PLT
	mov	edi, eax
	call	usb_get_dev@PLT
	mov	rsi, rbp
	mov	rdi, r12
	mov	QWORD PTR 8[rbp], rax
	call	usb_set_intfdata@PLT
	lea	rdi, 16[rbp]
	mov	rsi, rbp
	call	dev_set_drvdata@PLT
	mov	rdi, QWORD PTR 8[rbp]
	xor	esi, esi
	call	usb_rcvctrlpipe@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 56
	mov	rdi, QWORD PTR 8[rbp]
	xor	r9d, r9d
	mov	r14d, eax
	mov	eax, DWORD PTR VPRBRD_USB_TIMEOUT_MS[rip]
	mov	ecx, DWORD PTR VPRBRD_USB_TYPE_IN[rip]
	xor	r8d, r8d
	mov	edx, DWORD PTR VPRBRD_USB_REQUEST_MAJOR[rip]
	mov	esi, r14d
	push	rax
	.cfi_def_cfa_offset 64
	push	1
	.cfi_def_cfa_offset 72
	push	QWORD PTR 0[rbp]
	.cfi_def_cfa_offset 80
	call	usb_control_msg@PLT
	add	rsp, 32
	.cfi_def_cfa_offset 48
	cmp	eax, 1
	mov	rax, QWORD PTR 0[rbp]
	je	.L4
	xor	r13d, r13d
.L5:
	mov	edx, DWORD PTR VPRBRD_USB_TIMEOUT_MS[rip]
	sub	rsp, 8
	.cfi_def_cfa_offset 56
	xor	r9d, r9d
	xor	r8d, r8d
	mov	rdi, QWORD PTR 8[rbp]
	mov	ecx, DWORD PTR VPRBRD_USB_TYPE_IN[rip]
	mov	esi, r14d
	push	rdx
	.cfi_def_cfa_offset 64
	mov	edx, DWORD PTR VPRBRD_USB_REQUEST_MINOR[rip]
	push	1
	.cfi_def_cfa_offset 72
	push	rax
	.cfi_def_cfa_offset 80
	call	usb_control_msg@PLT
	add	rsp, 32
	.cfi_def_cfa_offset 48
	cmp	eax, 1
	jne	.L6
	mov	rax, QWORD PTR 0[rbp]
	sal	r13d, 8
	or	r13d, DWORD PTR [rax]
.L6:
	mov	rax, QWORD PTR 8[rbp]
	mov	edx, r13d
	movzx	ecx, r13b
	mov	rdi, r12
	sar	edx, 8
	mov	rsi, QWORD PTR 8[rax]
	mov	r9d, DWORD PTR [rax]
	mov	r8d, DWORD PTR [rsi]
	lea	rsi, .LC0[rip]
	call	dev_info@PLT
	mov	edi, DWORD PTR vprbrd_devs[rip]
	call	ARRAY_SIZE@PLT
	mov	esi, DWORD PTR vprbrd_devs[rip]
	mov	rdi, r12
	mov	edx, eax
	call	mfd_add_hotplug_devices@PLT
	mov	r13d, eax
	test	eax, eax
	jne	.L12
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	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
.L4:
	.cfi_restore_state
	mov	r13d, DWORD PTR [rax]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L12:
	lea	rsi, .LC1[rip]
	mov	rdi, r12
	call	dev_err@PLT
	mov	rdi, QWORD PTR 8[rbp]
	call	usb_put_dev@PLT
	mov	rdi, rbp
	call	kfree@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	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
	.cfi_endproc
.LFE0:
	.size	vprbrd_probe, .-vprbrd_probe
	.comm	vprbrd_devs,4,4
	.comm	VPRBRD_USB_TYPE_IN,4,4
	.comm	VPRBRD_USB_TIMEOUT_MS,4,4
	.comm	VPRBRD_USB_REQUEST_MINOR,4,4
	.comm	VPRBRD_USB_REQUEST_MAJOR,4,4
	.comm	GFP_KERNEL,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_viperboard.c_vprbrd_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"version %x.%02x found at bus %03d address %03d\012\000"
	.align	2
.LC1:
	.ascii	"Failed to add mfd devices to core.\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vprbrd_probe, %function
vprbrd_probe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r3, .L14
	mov	r7, r0
	ldr	r1, [r3]
	mov	r0, #16
	sub	sp, sp, #28
	bl	kzalloc
	subs	r4, r0, #0
	beq	.L12
	add	r0, r4, #12
	bl	mutex_init
	mov	r0, r7
	bl	interface_to_usbdev
	bl	usb_get_dev
	mov	r1, r4
	str	r0, [r4, #4]
	mov	r0, r7
	bl	usb_set_intfdata
	mov	r1, r4
	add	r0, r4, #8
	bl	dev_set_drvdata
	mov	r1, #0
	ldr	r0, [r4, #4]
	bl	usb_rcvctrlpipe
	mov	r2, #1
	mov	r5, #0
	mov	r6, r0
	ldr	r9, .L14+4
	ldr	r0, [r4, #4]
	ldr	r3, [r9]
	str	r2, [sp, #12]
	str	r3, [sp, #16]
	ldr	r3, [r4]
	ldr	r8, .L14+8
	ldr	r2, .L14+12
	str	r5, [sp, #4]
	str	r5, [sp]
	str	r3, [sp, #8]
	mov	r1, r6
	ldr	r3, [r8]
	ldr	r2, [r2]
	bl	usb_control_msg
	mov	lr, #1
	mov	r2, #0
	ldr	ip, [r4]
	ldr	r9, [r9]
	cmp	r0, #1
	ldreq	r5, [ip]
	ldr	r0, [r4, #4]
	str	ip, [sp, #8]
	ldr	ip, .L14+16
	str	lr, [sp, #12]
	str	r9, [sp, #16]
	str	r2, [sp, #4]
	str	r2, [sp]
	ldr	r3, [r8]
	ldr	r2, [ip]
	mov	r1, r6
	bl	usb_control_msg
	ldr	r1, [r4, #4]
	cmp	r0, #1
	ldreq	r3, [r4]
	ldr	r0, [r1]
	ldreq	r3, [r3]
	str	r0, [sp, #4]
	ldr	r0, [r1, #4]
	orreq	r5, r3, r5, lsl #8
	ldr	ip, [r0]
	asr	r2, r5, #8
	ldr	r1, .L14+20
	and	r3, r5, #255
	str	ip, [sp]
	mov	r0, r7
	bl	dev_info
	ldr	r3, .L14+24
	ldr	r5, [r3]
	mov	r0, r5
	bl	ARRAY_SIZE
	mov	r1, r5
	mov	r2, r0
	mov	r0, r7
	bl	mfd_add_hotplug_devices
	subs	r5, r0, #0
	bne	.L13
	mov	r0, r5
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L12:
	ldr	r3, .L14+28
	ldr	r0, [r3]
	rsb	r5, r0, #0
	mov	r0, r5
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L13:
	ldr	r1, .L14+32
	mov	r0, r7
	bl	dev_err
	ldr	r0, [r4, #4]
	bl	usb_put_dev
	mov	r0, r4
	bl	kfree
	mov	r0, r5
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L15:
	.align	2
.L14:
	.word	GFP_KERNEL
	.word	VPRBRD_USB_TIMEOUT_MS
	.word	VPRBRD_USB_TYPE_IN
	.word	VPRBRD_USB_REQUEST_MAJOR
	.word	VPRBRD_USB_REQUEST_MINOR
	.word	.LC0
	.word	vprbrd_devs
	.word	ENOMEM
	.word	.LC1
	.size	vprbrd_probe, .-vprbrd_probe
	.comm	vprbrd_devs,4,4
	.comm	VPRBRD_USB_TYPE_IN,4,4
	.comm	VPRBRD_USB_TIMEOUT_MS,4,4
	.comm	VPRBRD_USB_REQUEST_MINOR,4,4
	.comm	VPRBRD_USB_REQUEST_MAJOR,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
