	.file	"extr_sisusb.c_sisusb_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"USB2VGA dongle found at address %d\n"
	.align 8
.LC1:
	.string	"Failed to get a minor for device %d\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"Allocated %d output buffers\n"
	.section	.rodata.str1.8
	.align 8
.LC3:
	.string	"Failed to early initialize device\n"
	.align 8
.LC4:
	.string	"Not attached to USB 2.0 hub, deferring init\n"
	.text
	.p2align 4
	.type	sisusb_probe, @function
sisusb_probe:
.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
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	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
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	call	interface_to_usbdev@PLT
	lea	rsi, .LC0[rip]
	mov	edx, DWORD PTR 12[rax]
	lea	rdi, 8[rax]
	mov	r13, rax
	xor	eax, eax
	call	dev_info@PLT
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	edi, 128
	call	kzalloc@PLT
	mov	r12d, DWORD PTR ENOMEM[rip]
	neg	r12d
	test	rax, rax
	je	.L1
	mov	rbp, rax
	lea	rdi, 120[rax]
	call	kref_init@PLT
	lea	rdi, 116[rbp]
	call	mutex_init@PLT
	mov	eax, DWORD PTR SISUSB_PCI_MEMBASE[rip]
	mov	QWORD PTR 24[rbp], r13
	mov	rdi, r14
	lea	rsi, usb_sisusb_class[rip]
	mov	DWORD PTR 112[rbp], eax
	mov	eax, DWORD PTR SISUSB_PCI_MMIOBASE[rip]
	mov	DWORD PTR 108[rbp], eax
	mov	eax, DWORD PTR SISUSB_PCI_MMIOSIZE[rip]
	mov	DWORD PTR 104[rbp], eax
	mov	eax, DWORD PTR SISUSB_PCI_IOPORTBASE[rip]
	mov	DWORD PTR 100[rbp], eax
	call	usb_register_dev@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L26
	mov	eax, DWORD PTR [r14]
	mov	edi, DWORD PTR SISUSB_IBUF_SIZE[rip]
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	DWORD PTR 96[rbp], eax
	mov	DWORD PTR 0[rbp], edi
	call	kmalloc@PLT
	mov	QWORD PTR 88[rbp], rax
	test	rax, rax
	je	.L27
	mov	edi, DWORD PTR SISUSB_OBUF_SIZE[rip]
	mov	edx, DWORD PTR NUMOBUFS[rip]
	mov	DWORD PTR 4[rbp], 0
	mov	DWORD PTR 8[rbp], edi
	test	edx, edx
	jle	.L8
	mov	rax, QWORD PTR 80[rbp]
	xor	ebx, ebx
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L9:
	add	DWORD PTR 4[rbp], 1
	add	rbx, 1
	cmp	DWORD PTR NUMOBUFS[rip], ebx
	jle	.L8
	mov	edi, DWORD PTR SISUSB_OBUF_SIZE[rip]
.L11:
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	lea	r15, [rax+rbx*8]
	mov	DWORD PTR 12[rsp], ebx
	call	kmalloc@PLT
	mov	QWORD PTR [r15], rax
	mov	rax, QWORD PTR 80[rbp]
	cmp	QWORD PTR [rax+rbx*8], 0
	jne	.L9
	mov	eax, DWORD PTR 12[rsp]
	test	eax, eax
	jne	.L8
.L24:
	mov	r12d, DWORD PTR ENOMEM[rip]
	neg	r12d
.L10:
	mov	rdi, rbp
	call	sisusb_free_buffers@PLT
.L7:
	mov	rdi, r14
	lea	rsi, usb_sisusb_class[rip]
	call	usb_deregister_dev@PLT
	mov	rdi, rbp
	call	kfree@PLT
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
.L26:
	.cfi_restore_state
.L5:
	endbr64
	mov	rax, QWORD PTR 24[rbp]
	mov	edx, DWORD PTR 12[r13]
	lea	rsi, .LC1[rip]
	lea	rdi, 8[rax]
	xor	eax, eax
	call	dev_err@PLT
	mov	r12d, DWORD PTR ENODEV[rip]
	mov	rdi, rbp
	neg	r12d
	call	kfree@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L8:
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	xor	edi, edi
	call	usb_alloc_urb@PLT
	mov	QWORD PTR 72[rbp], rax
	test	rax, rax
	je	.L24
	mov	r8d, DWORD PTR 4[rbp]
	mov	DWORD PTR 12[rbp], 1
	test	r8d, r8d
	jle	.L13
	mov	rdx, QWORD PTR 64[rbp]
	xor	ebx, ebx
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rax, rbx
	mov	r8d, DWORD PTR 4[rbp]
	sal	rax, 4
	add	rax, QWORD PTR 56[rbp]
	mov	DWORD PTR [rax], ebx
	mov	QWORD PTR 8[rax], rbp
	mov	rax, QWORD PTR 48[rbp]
	mov	QWORD PTR [rax+rbx*8], 0
	add	rbx, 1
	cmp	r8d, ebx
	jle	.L13
.L15:
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	xor	edi, edi
	lea	r15, [rdx+rbx*8]
	call	usb_alloc_urb@PLT
	mov	QWORD PTR [r15], rax
	mov	rdx, QWORD PTR 64[rbp]
	cmp	QWORD PTR [rdx+rbx*8], 0
	jne	.L14
	mov	r12d, DWORD PTR ENOMEM[rip]
	mov	rdi, rbp
	neg	r12d
	call	sisusb_free_urbs@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rax, QWORD PTR 24[rbp]
	mov	edx, r8d
	lea	rsi, .LC2[rip]
	lea	rdi, 8[rax]
	xor	eax, eax
	call	dev_info@PLT
	lea	rdi, 32[rbp]
	call	init_waitqueue_head@PLT
	mov	rsi, rbp
	mov	rdi, r14
	call	usb_set_intfdata@PLT
	mov	rdi, QWORD PTR 24[rbp]
	call	usb_get_dev@PLT
	mov	rax, QWORD PTR 0[r13]
	cmp	rax, QWORD PTR USB_SPEED_HIGH[rip]
	mov	DWORD PTR 16[rbp], 1
	je	.L16
	cmp	rax, QWORD PTR USB_SPEED_SUPER[rip]
	jl	.L17
.L16:
	mov	esi, 1
	mov	rdi, rbp
	call	sisusb_init_gfxdevice@PLT
	test	rax, rax
	jne	.L28
.L18:
	mov	DWORD PTR 20[rbp], 1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L27:
	mov	r12d, DWORD PTR ENOMEM[rip]
	neg	r12d
	jmp	.L7
.L17:
	mov	rax, QWORD PTR 24[rbp]
	lea	rsi, .LC4[rip]
	lea	rdi, 8[rax]
	xor	eax, eax
	call	dev_info@PLT
	jmp	.L18
.L28:
	mov	rax, QWORD PTR 24[rbp]
	lea	rsi, .LC3[rip]
	lea	rdi, 8[rax]
	xor	eax, eax
	call	dev_err@PLT
	jmp	.L18
	.cfi_endproc
.LFE0:
	.size	sisusb_probe, .-sisusb_probe
	.comm	usb_sisusb_class,4,4
	.comm	sisusb_last_vc,8,8
	.comm	sisusb_first_vc,8,8
	.comm	USB_SPEED_SUPER,8,8
	.comm	USB_SPEED_HIGH,8,8
	.comm	SISUSB_PCI_MMIOSIZE,4,4
	.comm	SISUSB_PCI_MMIOBASE,4,4
	.comm	SISUSB_PCI_MEMBASE,4,4
	.comm	SISUSB_PCI_IOPORTBASE,4,4
	.comm	SISUSB_OBUF_SIZE,4,4
	.comm	SISUSB_IBUF_SIZE,4,4
	.comm	NUMOBUFS,4,4
	.comm	MAX_NR_CONSOLES,8,8
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	ENODEV,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_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"USB2VGA dongle found at address %d\012\000"
	.align	2
.LC1:
	.ascii	"Failed to get a minor for device %d\012\000"
	.align	2
.LC2:
	.ascii	"Allocated %d output buffers\012\000"
	.align	2
.LC3:
	.ascii	"Failed to early initialize device\012\000"
	.align	2
.LC4:
	.ascii	"Not attached to USB 2.0 hub, deferring init\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sisusb_probe, %function
sisusb_probe:
	@ 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	r9, r0
	bl	interface_to_usbdev
	ldr	r6, .L30
	ldr	r2, [r0, #8]
	ldr	r1, .L30+4
	mov	r8, r0
	add	r0, r0, #4
	bl	dev_info
	mov	r0, #88
	ldr	r1, [r6]
	bl	kzalloc
	subs	r4, r0, #0
	beq	.L26
	add	r0, r4, #84
	bl	kref_init
	add	r0, r4, #80
	bl	mutex_init
	ldr	r0, .L30+8
	ldr	r1, .L30+12
	ldr	r2, .L30+16
	ldr	r3, .L30+20
	ldr	r0, [r0]
	ldr	r1, [r1]
	ldr	r2, [r2]
	ldr	r3, [r3]
	str	r0, [r4, #76]
	str	r1, [r4, #72]
	mov	r0, r9
	ldr	r1, .L30+24
	str	r8, [r4, #24]
	str	r2, [r4, #68]
	str	r3, [r4, #64]
	bl	usb_register_dev
	subs	r7, r0, #0
	bne	.L27
	ldr	r2, .L30+28
	ldr	r3, [r9]
	ldr	r0, [r2]
	ldr	r1, [r6]
	str	r3, [r4, #60]
	str	r0, [r4]
	bl	kmalloc
	cmp	r0, #0
	str	r0, [r4, #56]
	beq	.L28
	ldr	r10, .L30+32
	ldr	r2, .L30+36
	ldr	r3, [r10]
	ldr	r0, [r2]
	cmp	r3, #0
	str	r7, [r4, #4]
	str	r0, [r4, #8]
	ble	.L8
	mov	r5, r7
	ldr	fp, [r4, #52]
	b	.L11
.L9:
	ldr	r3, [r4, #4]
	ldr	r1, [r10]
	add	r5, r5, #1
	add	r3, r3, #1
	cmp	r1, r5
	str	r3, [r4, #4]
	ble	.L8
	ldr	r3, .L30+36
	ldr	r0, [r3]
.L11:
	ldr	r1, [r6]
	bl	kmalloc
	str	r0, [fp, r5, lsl #2]
	ldr	fp, [r4, #52]
	ldr	r3, [fp, r5, lsl #2]
	cmp	r3, #0
	bne	.L9
	cmp	r5, #0
	bne	.L8
.L24:
	ldr	r3, .L30+40
	ldr	r7, [r3]
	rsb	r7, r7, #0
.L10:
	mov	r0, r4
	bl	sisusb_free_buffers
.L7:
	mov	r0, r9
	ldr	r1, .L30+24
	bl	usb_deregister_dev
	b	.L5
.L27:
	ldr	r0, [r4, #24]
	ldr	r2, [r8, #8]
	ldr	r1, .L30+44
	add	r0, r0, #4
	bl	dev_err
	ldr	r3, .L30+48
	ldr	r7, [r3]
	rsb	r7, r7, #0
.L5:
	mov	r0, r4
	bl	kfree
	mov	r0, r7
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L8:
	mov	r0, #0
	ldr	r1, [r6]
	bl	usb_alloc_urb
	cmp	r0, #0
	str	r0, [r4, #48]
	beq	.L24
	mov	r3, #1
	ldr	r2, [r4, #4]
	str	r3, [r4, #12]
	cmp	r2, #0
	ble	.L13
	mov	r5, #0
	ldr	r10, [r4, #44]
	mov	fp, r5
	b	.L15
.L14:
	ldr	r3, [r4, #40]
	ldr	r1, [r4, #36]
	add	r2, r3, r5, lsl #3
	str	r4, [r2, #4]
	ldr	r2, [r4, #4]
	str	r5, [r3, r5, lsl #3]
	str	fp, [r1, r5, lsl #2]
	add	r5, r5, #1
	cmp	r2, r5
	ble	.L13
.L15:
	mov	r0, #0
	ldr	r1, [r6]
	bl	usb_alloc_urb
	str	r0, [r10, r5, lsl #2]
	ldr	r10, [r4, #44]
	ldr	r3, [r10, r5, lsl #2]
	cmp	r3, #0
	bne	.L14
	ldr	r3, .L30+40
	mov	r0, r4
	ldr	r7, [r3]
	rsb	r7, r7, #0
	bl	sisusb_free_urbs
	b	.L10
.L26:
	ldr	r3, .L30+40
	ldr	r7, [r3]
	rsb	r7, r7, #0
	mov	r0, r7
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L13:
	ldr	r0, [r4, #24]
	ldr	r1, .L30+52
	add	r0, r0, #4
	bl	dev_info
	add	r0, r4, #28
	bl	init_waitqueue_head
	mov	r1, r4
	mov	r0, r9
	bl	usb_set_intfdata
	ldr	r0, [r4, #24]
	bl	usb_get_dev
	mov	r1, #1
	ldr	r2, .L30+56
	ldr	r3, [r8]
	ldr	r2, [r2]
	str	r1, [r4, #16]
	cmp	r3, r2
	beq	.L16
	ldr	r2, .L30+60
	ldr	r2, [r2]
	cmp	r3, r2
	blt	.L17
.L16:
	mov	r1, #1
	mov	r0, r4
	bl	sisusb_init_gfxdevice
	cmp	r0, #0
	bne	.L29
.L18:
	mov	r3, #1
	mov	r0, r7
	str	r3, [r4, #20]
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L28:
	ldr	r3, .L30+40
	ldr	r7, [r3]
	rsb	r7, r7, #0
	b	.L7
.L17:
	ldr	r0, [r4, #24]
	ldr	r1, .L30+64
	add	r0, r0, #4
	bl	dev_info
	b	.L18
.L29:
	ldr	r0, [r4, #24]
	ldr	r1, .L30+68
	add	r0, r0, #4
	bl	dev_err
	b	.L18
.L31:
	.align	2
.L30:
	.word	GFP_KERNEL
	.word	.LC0
	.word	SISUSB_PCI_MEMBASE
	.word	SISUSB_PCI_MMIOBASE
	.word	SISUSB_PCI_MMIOSIZE
	.word	SISUSB_PCI_IOPORTBASE
	.word	usb_sisusb_class
	.word	SISUSB_IBUF_SIZE
	.word	NUMOBUFS
	.word	SISUSB_OBUF_SIZE
	.word	ENOMEM
	.word	.LC1
	.word	ENODEV
	.word	.LC2
	.word	USB_SPEED_HIGH
	.word	USB_SPEED_SUPER
	.word	.LC4
	.word	.LC3
	.size	sisusb_probe, .-sisusb_probe
	.comm	usb_sisusb_class,4,4
	.comm	sisusb_last_vc,4,4
	.comm	sisusb_first_vc,4,4
	.comm	USB_SPEED_SUPER,4,4
	.comm	USB_SPEED_HIGH,4,4
	.comm	SISUSB_PCI_MMIOSIZE,4,4
	.comm	SISUSB_PCI_MMIOBASE,4,4
	.comm	SISUSB_PCI_MEMBASE,4,4
	.comm	SISUSB_PCI_IOPORTBASE,4,4
	.comm	SISUSB_OBUF_SIZE,4,4
	.comm	SISUSB_IBUF_SIZE,4,4
	.comm	NUMOBUFS,4,4
	.comm	MAX_NR_CONSOLES,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	ENODEV,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
