	.file	"extr_usb-skeleton.c_skel_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Out of memory"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"Could not allocate bulk_in_buffer"
	.align 8
.LC2:
	.string	"Could not allocate bulk_in_urb"
	.align 8
.LC3:
	.string	"Could not find both bulk-in and bulk-out endpoints"
	.align 8
.LC4:
	.string	"Not able to get a minor for this device."
	.align 8
.LC5:
	.string	"USB Skeleton device now attached to USBSkel-%d"
	.text
	.p2align 4
	.type	skel_probe, @function
skel_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
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	mov	edi, 72
	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
	mov	r13d, DWORD PTR ENOMEM[rip]
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	neg	r13d
	call	kzalloc@PLT
	test	rax, rax
	je	.L24
	mov	r15, rax
	lea	rax, 8[rax]
	mov	rdi, rax
	mov	QWORD PTR 8[rsp], rax
	call	kref_init@PLT
	mov	esi, DWORD PTR WRITES_IN_FLIGHT[rip]
	lea	rdi, 68[r15]
	call	sema_init@PLT
	lea	rdi, 64[r15]
	call	mutex_init@PLT
	lea	rdi, 60[r15]
	call	spin_lock_init@PLT
	lea	rdi, 56[r15]
	call	init_usb_anchor@PLT
	lea	rdi, 52[r15]
	call	init_completion@PLT
	mov	rdi, r12
	call	interface_to_usbdev@PLT
	mov	edi, eax
	call	usb_get_dev@PLT
	mov	r14, QWORD PTR 8[r12]
	mov	QWORD PTR 40[r15], r12
	mov	DWORD PTR 48[r15], eax
	mov	eax, DWORD PTR 8[r14]
	test	eax, eax
	jle	.L4
	xor	ebp, ebp
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L5:
	cmp	QWORD PTR 16[r15], 0
	je	.L25
.L9:
	add	rbp, 1
	cmp	DWORD PTR 8[r14], ebp
	jle	.L4
.L11:
	mov	rbx, rbp
	sal	rbx, 4
	add	rbx, QWORD PTR [r14]
	cmp	QWORD PTR 24[r15], 0
	jne	.L5
	mov	rdi, rbx
	call	usb_endpoint_is_bulk_in@PLT
	test	rax, rax
	je	.L5
	mov	edi, DWORD PTR 8[rbx]
	call	le16_to_cpu@PLT
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	QWORD PTR [r15], rax
	mov	rdi, rax
	mov	rax, QWORD PTR [rbx]
	mov	QWORD PTR 24[r15], rax
	call	kmalloc@PLT
	mov	DWORD PTR 36[r15], eax
	test	eax, eax
	je	.L26
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	xor	edi, edi
	call	usb_alloc_urb@PLT
	mov	DWORD PTR 32[r15], eax
	test	eax, eax
	jne	.L5
	lea	rdi, .LC2[rip]
	call	err@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L25:
	mov	rdi, rbx
	call	usb_endpoint_is_bulk_out@PLT
	test	rax, rax
	je	.L9
	mov	rax, QWORD PTR [rbx]
	add	rbp, 1
	mov	QWORD PTR 16[r15], rax
	cmp	DWORD PTR 8[r14], ebp
	jg	.L11
	.p2align 4,,10
	.p2align 3
.L4:
	cmp	QWORD PTR 24[r15], 0
	je	.L12
	cmp	QWORD PTR 16[r15], 0
	jne	.L13
.L12:
	lea	rdi, .LC3[rip]
	call	err@PLT
.L7:
	mov	esi, DWORD PTR skel_delete[rip]
	mov	rdi, QWORD PTR 8[rsp]
	call	kref_put@PLT
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r13d
	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
.L13:
	.cfi_restore_state
	mov	rsi, r15
	mov	rdi, r12
	call	usb_set_intfdata@PLT
	lea	rsi, skel_class[rip]
	mov	rdi, r12
	call	usb_register_dev@PLT
	mov	r13d, eax
	test	eax, eax
	jne	.L27
	mov	edx, DWORD PTR [r12]
	lea	rdi, 4[r12]
	lea	rsi, .LC5[rip]
	call	dev_info@PLT
	jmp	.L1
.L27:
	lea	rdi, .LC4[rip]
	call	err@PLT
	xor	esi, esi
	mov	rdi, r12
	call	usb_set_intfdata@PLT
	jmp	.L7
.L24:
	lea	rdi, .LC0[rip]
	call	err@PLT
	jmp	.L1
.L26:
	lea	rdi, .LC1[rip]
	call	err@PLT
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	skel_probe, .-skel_probe
	.comm	skel_delete,4,4
	.comm	skel_class,4,4
	.comm	WRITES_IN_FLIGHT,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_usb-skeleton.c_skel_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Out of memory\000"
	.align	2
.LC1:
	.ascii	"Could not allocate bulk_in_buffer\000"
	.align	2
.LC2:
	.ascii	"Could not allocate bulk_in_urb\000"
	.align	2
.LC3:
	.ascii	"Could not find both bulk-in and bulk-out endpoints\000"
	.align	2
.LC4:
	.ascii	"Not able to get a minor for this device.\000"
	.align	2
.LC5:
	.ascii	"USB Skeleton device now attached to USBSkel-%d\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	skel_probe, %function
skel_probe:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r9, r0
	ldr	r3, .L31
	ldr	r10, .L31+4
	ldr	fp, [r3]
	sub	sp, sp, #20
	rsb	r3, fp, #0
	mov	r0, #52
	ldr	r1, [r10]
	str	r9, [sp, #4]
	str	r3, [sp, #8]
	bl	kzalloc
	subs	r5, r0, #0
	beq	.L27
	add	r3, r5, #4
	mov	r0, r3
	str	r3, [sp, #12]
	bl	kref_init
	ldr	r3, .L31+8
	add	r0, r5, #48
	ldr	r1, [r3]
	bl	sema_init
	add	r0, r5, #44
	bl	mutex_init
	add	r0, r5, #40
	bl	spin_lock_init
	add	r0, r5, #36
	bl	init_usb_anchor
	add	r0, r5, #32
	bl	init_completion
	ldr	r4, [sp, #4]
	mov	r0, r4
	bl	interface_to_usbdev
	bl	usb_get_dev
	ldr	fp, [r4, #8]
	str	r0, [r5, #28]
	ldr	r2, [fp, #4]
	str	r4, [r5, #24]
	cmp	r2, #0
	ble	.L4
	mov	r4, #0
	b	.L11
.L5:
	ldr	r3, [r5, #8]
	cmp	r3, #0
	beq	.L28
	ldr	r3, [fp, #4]
	cmp	r3, r4
	ble	.L4
.L11:
	ldr	r7, [r5, #12]
	ldr	r6, [fp]
	cmp	r7, #0
	add	r9, r6, r4, lsl #3
	lsl	r8, r4, #3
	add	r4, r4, #1
	bne	.L5
	mov	r0, r9
	bl	usb_endpoint_is_bulk_in
	cmp	r0, #0
	beq	.L5
	ldr	r0, [r9, #4]
	bl	le16_to_cpu
	ldr	r3, [r6, r8]
	ldr	r1, [r10]
	str	r0, [r5]
	str	r3, [r5, #12]
	bl	kmalloc
	cmp	r0, #0
	str	r0, [r5, #20]
	beq	.L29
	mov	r0, r7
	ldr	r1, [r10]
	bl	usb_alloc_urb
	cmp	r0, #0
	str	r0, [r5, #16]
	bne	.L5
	ldr	r0, .L31+12
	bl	err
	b	.L7
.L28:
	mov	r0, r9
	bl	usb_endpoint_is_bulk_out
	cmp	r0, #0
	ldrne	r3, [r6, r8]
	strne	r3, [r5, #8]
	ldr	r3, [fp, #4]
	cmp	r3, r4
	bgt	.L11
.L4:
	ldr	r3, [r5, #12]
	cmp	r3, #0
	beq	.L12
	ldr	r3, [r5, #8]
	cmp	r3, #0
	bne	.L13
.L12:
	ldr	r0, .L31+16
	bl	err
.L7:
	ldr	r3, .L31+20
	ldr	r0, [sp, #12]
	ldr	r1, [r3]
	bl	kref_put
	ldr	r0, [sp, #8]
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L13:
	ldr	r4, [sp, #4]
	mov	r1, r5
	mov	r0, r4
	bl	usb_set_intfdata
	mov	r0, r4
	ldr	r1, .L31+24
	bl	usb_register_dev
	subs	r3, r0, #0
	str	r3, [sp, #8]
	bne	.L30
	ldr	r0, [sp, #4]
	ldr	r1, .L31+28
	ldr	r2, [r0], #4
	bl	dev_info
	ldr	r0, [sp, #8]
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L30:
	ldr	r0, .L31+32
	bl	err
	mov	r1, #0
	ldr	r0, [sp, #4]
	bl	usb_set_intfdata
	b	.L7
.L27:
	ldr	r0, .L31+36
	bl	err
	ldr	r0, [sp, #8]
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L29:
	ldr	r0, .L31+40
	bl	err
	b	.L7
.L32:
	.align	2
.L31:
	.word	ENOMEM
	.word	GFP_KERNEL
	.word	WRITES_IN_FLIGHT
	.word	.LC2
	.word	.LC3
	.word	skel_delete
	.word	skel_class
	.word	.LC5
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.size	skel_probe, .-skel_probe
	.comm	skel_delete,4,4
	.comm	skel_class,4,4
	.comm	WRITES_IN_FLIGHT,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
