	.file	"extr_vhci_sysfs.c_vhci_port_disconnect.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"enter\n"
.LC1:
	.string	"not connected %d\n"
	.text
	.p2align 4
	.type	vhci_port_disconnect, @function
vhci_port_disconnect:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	sal	rsi, 4
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	add	rsi, QWORD PTR 8[rdi]
	mov	r12, QWORD PTR [rdi]
	mov	rbp, rsi
	lea	rdi, .LC0[rip]
	lea	r13, 8[rbp]
	call	usbip_dbg_vhci_sysfs@PLT
	xor	esi, esi
	mov	rdi, r12
	call	spin_lock_irqsave@PLT
	mov	rdi, r13
	call	spin_lock@PLT
	mov	rsi, QWORD PTR 0[rbp]
	cmp	rsi, QWORD PTR VDEV_ST_NULL[rip]
	je	.L6
	mov	rdi, r13
	call	spin_unlock@PLT
	mov	rdi, r12
	xor	esi, esi
	call	spin_unlock_irqrestore@PLT
	mov	esi, DWORD PTR VDEV_EVENT_DOWN[rip]
	mov	rdi, rbp
	call	usbip_event_add@PLT
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	lea	rdi, .LC1[rip]
	call	pr_err@PLT
	mov	rdi, r13
	call	spin_unlock@PLT
	mov	rdi, r12
	xor	esi, esi
	call	spin_unlock_irqrestore@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	vhci_port_disconnect, .-vhci_port_disconnect
	.comm	VDEV_ST_NULL,8,8
	.comm	VDEV_EVENT_DOWN,4,4
	.comm	EINVAL,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_vhci_sysfs.c_vhci_port_disconnect.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"enter\012\000"
	.align	2
.LC1:
	.ascii	"not connected %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vhci_port_disconnect, %function
vhci_port_disconnect:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r1
	ldr	r5, [r0, #4]
	ldr	r6, [r0]
	add	r8, r5, r1, lsl #3
	ldr	r0, .L7
	bl	usbip_dbg_vhci_sysfs
	add	r7, r8, #4
	mov	r1, #0
	mov	r0, r6
	bl	spin_lock_irqsave
	mov	r0, r7
	bl	spin_lock
	ldr	r3, .L7+4
	ldr	r1, [r5, r4, lsl #3]
	ldr	r3, [r3]
	cmp	r1, r3
	beq	.L6
	mov	r0, r7
	bl	spin_unlock
	mov	r0, r6
	mov	r1, #0
	bl	spin_unlock_irqrestore
	ldr	r3, .L7+8
	mov	r0, r8
	ldr	r1, [r3]
	bl	usbip_event_add
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	ldr	r0, .L7+12
	bl	pr_err
	mov	r0, r7
	bl	spin_unlock
	mov	r0, r6
	mov	r1, #0
	bl	spin_unlock_irqrestore
	ldr	r3, .L7+16
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	.align	2
.L7:
	.word	.LC0
	.word	VDEV_ST_NULL
	.word	VDEV_EVENT_DOWN
	.word	.LC1
	.word	EINVAL
	.size	vhci_port_disconnect, .-vhci_port_disconnect
	.comm	VDEV_ST_NULL,4,4
	.comm	VDEV_EVENT_DOWN,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
