	.file	"extr_xhci-ring.c_handle_device_notification.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Device Notification event for unused slot %u\n"
	.align 8
.LC1:
	.string	"Device Wake Notification event for slot ID %u\n"
	.text
	.p2align 4
	.type	handle_device_notification, @function
handle_device_notification:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR [rsi]
	mov	edi, DWORD PTR 12[rax]
	call	le32_to_cpu@PLT
	mov	edi, eax
	call	TRB_TO_SLOT_ID@PLT
	mov	r12, rax
	mov	rax, QWORD PTR 0[rbp]
	mov	rdx, r12
	cmp	QWORD PTR [rax+r12*8], 0
	je	.L12
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	call	xhci_dbg@PLT
	mov	rax, QWORD PTR 0[rbp]
	mov	rax, QWORD PTR [rax+r12*8]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L1
	mov	rdi, QWORD PTR 8[rax]
	test	rdi, rdi
	jne	.L13
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	esi, DWORD PTR [rax]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	usb_wakeup_notification@PLT
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	lea	rsi, .LC0[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	xhci_warn@PLT
	.cfi_endproc
.LFE0:
	.size	handle_device_notification, .-handle_device_notification
	.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_xhci-ring.c_handle_device_notification.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Device Notification event for unused slot %u\012\000"
	.align	2
.LC1:
	.ascii	"Device Wake Notification event for slot ID %u\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	handle_device_notification, %function
handle_device_notification:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r1]
	push	{r4, r5, r6, lr}
	mov	r5, r0
	ldr	r0, [r3, #12]
	bl	le32_to_cpu
	bl	TRB_TO_SLOT_ID
	ldr	r3, [r5]
	mov	r4, r0
	ldr	r3, [r3, r0, lsl #2]
	mov	r2, r0
	cmp	r3, #0
	beq	.L12
	mov	r0, r5
	ldr	r1, .L13
	bl	xhci_dbg
	ldr	r3, [r5]
	ldr	r3, [r3, r4, lsl #2]
	ldr	r3, [r3]
	cmp	r3, #0
	popeq	{r4, r5, r6, pc}
	ldr	r0, [r3, #4]
	cmp	r0, #0
	popeq	{r4, r5, r6, pc}
	ldr	r1, [r3]
	pop	{r4, r5, r6, lr}
	b	usb_wakeup_notification
.L12:
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	ldr	r1, .L13+4
	b	xhci_warn
.L14:
	.align	2
.L13:
	.word	.LC1
	.word	.LC0
	.size	handle_device_notification, .-handle_device_notification
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
