	.file	"extr_usbtmc.c_usbtmc_open.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"can not find device for minor %d"
	.text
	.p2align 4
	.type	usbtmc_open, @function
usbtmc_open:
.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
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	iminor@PLT
	lea	rdi, usbtmc_driver[rip]
	mov	esi, eax
	call	usb_find_interface@PLT
	test	rax, rax
	je	.L7
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	edi, 72
	mov	rbp, rax
	call	kzalloc@PLT
	mov	rbx, rax
	mov	eax, DWORD PTR ENOMEM[rip]
	neg	eax
	test	rbx, rbx
	je	.L1
	lea	rdi, 64[rbx]
	lea	r12, 8[rbx]
	call	spin_lock_init@PLT
	mov	esi, DWORD PTR MAX_URBS_IN_FLIGHT[rip]
	lea	rdi, 60[rbx]
	call	sema_init@PLT
	lea	rdi, 56[rbx]
	call	init_usb_anchor@PLT
	lea	rdi, 52[rbx]
	call	init_usb_anchor@PLT
	lea	rdi, 48[rbx]
	call	init_waitqueue_head@PLT
	mov	rdi, rbp
	call	usb_get_intfdata@PLT
	mov	r14, rax
	lea	rdi, 12[rax]
	call	kref_get@PLT
	mov	rdi, r14
	lea	rbp, 4[r14]
	call	mutex_lock@PLT
	mov	QWORD PTR 40[rbx], r14
	xor	esi, esi
	lea	rdi, 36[rbx]
	call	atomic_set@PLT
	mov	eax, DWORD PTR USBTMC_TIMEOUT[rip]
	mov	BYTE PTR [rbx], 10
	mov	rdi, r12
	mov	QWORD PTR 24[rbx], 0
	mov	DWORD PTR 32[rbx], eax
	mov	QWORD PTR 16[rbx], 0
	mov	DWORD PTR 4[rbx], 1
	call	INIT_LIST_HEAD@PLT
	mov	rdi, rbp
	call	spin_lock_irq@PLT
	lea	rsi, 8[r14]
	mov	rdi, r12
	call	list_add_tail@PLT
	mov	rdi, rbp
	call	spin_unlock_irq@PLT
	mov	rdi, r14
	call	mutex_unlock@PLT
	mov	QWORD PTR 0[r13], rbx
	xor	eax, eax
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
.L7:
	.cfi_restore_state
	mov	rdi, r12
	call	iminor@PLT
	lea	rdi, .LC0[rip]
	mov	esi, eax
	call	pr_err@PLT
	mov	eax, DWORD PTR ENODEV[rip]
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	neg	eax
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	usbtmc_open, .-usbtmc_open
	.comm	usbtmc_driver,4,4
	.comm	USBTMC_TIMEOUT,4,4
	.comm	MAX_URBS_IN_FLIGHT,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
	.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_usbtmc.c_usbtmc_open.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"can not find device for minor %d\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	usbtmc_open, %function
usbtmc_open:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r6, r1
	mov	r4, r0
	bl	iminor
	mov	r1, r0
	ldr	r0, .L9
	bl	usb_find_interface
	subs	r5, r0, #0
	beq	.L7
	ldr	r3, .L9+4
	mov	r0, #52
	ldr	r1, [r3]
	bl	kzalloc
	subs	r4, r0, #0
	beq	.L8
	add	r0, r4, #48
	bl	spin_lock_init
	ldr	r3, .L9+8
	add	r0, r4, #44
	ldr	r1, [r3]
	bl	sema_init
	add	r0, r4, #40
	bl	init_usb_anchor
	add	r0, r4, #36
	bl	init_usb_anchor
	add	r0, r4, #32
	bl	init_waitqueue_head
	mov	r0, r5
	bl	usb_get_intfdata
	mov	r7, r0
	add	r0, r0, #12
	bl	kref_get
	mov	r0, r7
	bl	mutex_lock
	mov	r1, #0
	str	r7, [r4, #28]
	add	r0, r4, #24
	bl	atomic_set
	mov	r5, #0
	mov	r2, #10
	mov	r3, #1
	ldr	r1, .L9+12
	add	r9, r4, #8
	ldr	r1, [r1]
	str	r3, [r4, #4]
	strb	r2, [r4]
	str	r1, [r4, #20]
	add	r8, r7, #4
	mov	r0, r9
	str	r5, [r4, #16]
	str	r5, [r4, #12]
	bl	INIT_LIST_HEAD
	mov	r0, r8
	bl	spin_lock_irq
	add	r1, r7, #8
	mov	r0, r9
	bl	list_add_tail
	mov	r0, r8
	bl	spin_unlock_irq
	mov	r0, r7
	bl	mutex_unlock
	mov	r0, r5
	str	r4, [r6]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L8:
	ldr	r3, .L9+16
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L7:
	mov	r0, r4
	bl	iminor
	mov	r1, r0
	ldr	r0, .L9+20
	bl	pr_err
	ldr	r3, .L9+24
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L10:
	.align	2
.L9:
	.word	usbtmc_driver
	.word	GFP_KERNEL
	.word	MAX_URBS_IN_FLIGHT
	.word	USBTMC_TIMEOUT
	.word	ENOMEM
	.word	.LC0
	.word	ENODEV
	.size	usbtmc_open, .-usbtmc_open
	.comm	usbtmc_driver,4,4
	.comm	USBTMC_TIMEOUT,4,4
	.comm	MAX_URBS_IN_FLIGHT,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
