	.file	"extr_vhci_hcd.c_rh_port_disconnect.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"rh_port_disconnect %d\n"
	.text
	.p2align 4
	.type	rh_port_disconnect, @function
rh_port_disconnect:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	xor	r13d, r13d
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	vdev_to_vhci_hcd@PLT
	movsx	rbx, DWORD PTR [rbx]
	lea	rdi, .LC0[rip]
	mov	r12, QWORD PTR 8[rax]
	mov	rbp, rax
	mov	esi, ebx
	call	usbip_dbg_vhci_rh@PLT
	mov	rsi, r13
	mov	rdi, r12
	call	spin_lock_irqsave@PLT
	mov	rax, QWORD PTR 0[rbp]
	mov	rsi, r13
	mov	rdi, r12
	mov	ecx, DWORD PTR USB_PORT_FEAT_C_CONNECTION[rip]
	lea	rdx, [rax+rbx*4]
	mov	eax, DWORD PTR USB_PORT_STAT_CONNECTION[rip]
	not	eax
	and	eax, DWORD PTR [rdx]
	bts	eax, ecx
	mov	DWORD PTR [rdx], eax
	call	spin_unlock_irqrestore@PLT
	mov	rdi, rbp
	call	vhci_hcd_to_hcd@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	mov	edi, eax
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	usb_hcd_poll_rh_status@PLT
	.cfi_endproc
.LFE0:
	.size	rh_port_disconnect, .-rh_port_disconnect
	.comm	USB_PORT_STAT_CONNECTION,4,4
	.comm	USB_PORT_FEAT_C_CONNECTION,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_hcd.c_rh_port_disconnect.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"rh_port_disconnect %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rh_port_disconnect, %function
rh_port_disconnect:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	bl	vdev_to_vhci_hcd
	mov	r6, #0
	mov	r4, r0
	ldr	r5, [r5]
	ldr	r7, [r0, #4]
	mov	r1, r5
	ldr	r0, .L4
	bl	usbip_dbg_vhci_rh
	mov	r1, r6
	mov	r0, r7
	bl	spin_lock_irqsave
	mov	r0, #1
	ldr	r2, [r4]
	ldr	ip, .L4+4
	ldr	r1, .L4+8
	ldr	r3, [r2, r5, lsl #2]
	ldr	ip, [ip]
	ldr	r1, [r1]
	bic	r3, r3, ip
	orr	r3, r3, r0, lsl r1
	str	r3, [r2, r5, lsl #2]
	mov	r1, r6
	mov	r0, r7
	bl	spin_unlock_irqrestore
	mov	r0, r4
	bl	vhci_hcd_to_hcd
	pop	{r4, r5, r6, r7, r8, lr}
	b	usb_hcd_poll_rh_status
.L5:
	.align	2
.L4:
	.word	.LC0
	.word	USB_PORT_STAT_CONNECTION
	.word	USB_PORT_FEAT_C_CONNECTION
	.size	rh_port_disconnect, .-rh_port_disconnect
	.comm	USB_PORT_STAT_CONNECTION,4,4
	.comm	USB_PORT_FEAT_C_CONNECTION,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
