	.file	"extr_mon_text.c_mon_text_event.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mon_text_event, @function
mon_text_event:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	xor	eax, eax
	mov	r15d, edx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	DWORD PTR 12[rsp], ecx
	call	mon_get_timestamp@PLT
	mov	r14d, eax
	mov	rax, QWORD PTR EVENT_MAX[rip]
	cmp	QWORD PTR 0[rbp], rax
	jl	.L2
.L4:
	mov	rax, QWORD PTR 16[rbp]
	add	DWORD PTR [rax], 1
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L2:
	.cfi_restore_state
	mov	edi, DWORD PTR 24[rbp]
	mov	esi, DWORD PTR GFP_ATOMIC[rip]
	call	kmem_cache_alloc@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L4
	mov	BYTE PTR [rax], r12b
	mov	rdi, QWORD PTR 40[r13]
	mov	QWORD PTR 8[rax], r13
	mov	rax, QWORD PTR 48[r13]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR [rax]
	mov	edx, DWORD PTR [rdx]
	mov	DWORD PTR 84[rbx], eax
	mov	DWORD PTR 88[rbx], edx
	call	usb_endpoint_num@PLT
	mov	rdi, QWORD PTR 40[r13]
	mov	DWORD PTR 80[rbx], eax
	call	usb_endpoint_type@PLT
	mov	rdi, r13
	mov	QWORD PTR 16[rbx], rax
	call	usb_urb_dir_in@PLT
	cmp	r12b, 83
	mov	rdx, QWORD PTR 16[rbx]
	mov	DWORD PTR 24[rbx], r14d
	mov	DWORD PTR 76[rbx], eax
	mov	eax, DWORD PTR 32[r13]
	cmovne	eax, DWORD PTR 28[r13]
	cmp	rdx, QWORD PTR USB_ENDPOINT_XFER_INT[rip]
	mov	rcx, QWORD PTR USB_ENDPOINT_XFER_ISOC[rip]
	mov	DWORD PTR 40[rbx], eax
	mov	eax, DWORD PTR 12[rsp]
	mov	DWORD PTR 28[rbx], eax
	mov	eax, DWORD PTR 0[r13]
	je	.L25
	cmp	rdx, rcx
	je	.L26
	mov	DWORD PTR 32[rbx], eax
.L11:
	mov	rcx, QWORD PTR 16[rbp]
	movsx	r12d, r12b
	mov	rsi, r13
	mov	rdi, rbx
	mov	edx, r12d
	call	mon_text_get_setup@PLT
	mov	edx, DWORD PTR 40[rbx]
	mov	r8, QWORD PTR 16[rbp]
	mov	ecx, r12d
	mov	DWORD PTR 48[rbx], eax
	mov	rsi, r13
	mov	rdi, rbx
	call	mon_text_get_data@PLT
	lea	rdi, 36[rbx]
	lea	rsi, 12[rbp]
	mov	DWORD PTR 44[rbx], eax
	add	QWORD PTR 0[rbp], 1
	call	list_add_tail@PLT
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	lea	rdi, 8[rbp]
	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
	jmp	wake_up@PLT
	.p2align 4,,10
	.p2align 3
.L26:
	.cfi_restore_state
	mov	esi, DWORD PTR 24[r13]
	mov	DWORD PTR 72[rbx], esi
	mov	esi, DWORD PTR 20[r13]
	mov	DWORD PTR 68[rbx], esi
	mov	esi, DWORD PTR 16[r13]
	mov	DWORD PTR 64[rbx], esi
.L7:
	mov	DWORD PTR 32[rbx], eax
	test	eax, eax
	jle	.L11
	cmp	rdx, rcx
	jne	.L11
	cmp	DWORD PTR ISODESC_MAX[rip], eax
	cmovle	eax, DWORD PTR ISODESC_MAX[rip]
	mov	rdx, QWORD PTR 56[rbx]
	mov	ecx, eax
	mov	rax, QWORD PTR 8[r13]
	test	ecx, ecx
	jle	.L11
	lea	esi, -1[rcx]
	add	rsi, 1
	sal	rsi, 4
	add	rsi, rax
	.p2align 4,,10
	.p2align 3
.L14:
	mov	ecx, DWORD PTR 12[rax]
	cmp	r15b, 83
	mov	DWORD PTR 8[rdx], ecx
	mov	ecx, DWORD PTR 8[rax]
	mov	DWORD PTR 4[rdx], ecx
	mov	ecx, DWORD PTR 4[rax]
	cmovne	ecx, DWORD PTR [rax]
	add	rax, 16
	add	rdx, 12
	mov	DWORD PTR -12[rdx], ecx
	cmp	rax, rsi
	jne	.L14
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L25:
	mov	esi, DWORD PTR 24[r13]
	mov	DWORD PTR 72[rbx], esi
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	mon_text_event, .-mon_text_event
	.comm	USB_ENDPOINT_XFER_ISOC,8,8
	.comm	USB_ENDPOINT_XFER_INT,8,8
	.comm	ISODESC_MAX,4,4
	.comm	GFP_ATOMIC,4,4
	.comm	EVENT_MAX,8,8
	.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_mon_text.c_mon_text_event.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mon_text_event, %function
mon_text_event:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r5, r0
	sub	sp, sp, #12
	mov	r7, r2
	mov	r8, r3
	mov	r6, r1
	bl	mon_get_timestamp
	ldr	r3, .L23
	ldr	r2, [r5]
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L2
.L4:
	ldr	r2, [r5, #12]
	ldr	r3, [r2]
	add	r3, r3, #1
	str	r3, [r2]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L2:
	ldr	r3, .L23+4
	mov	r9, r0
	ldr	r1, [r3]
	ldr	r0, [r5, #16]
	bl	kmem_cache_alloc
	subs	r4, r0, #0
	beq	.L4
	strb	r7, [r4]
	ldr	r3, [r6, #32]
	ldr	r0, [r6, #28]
	ldr	r1, [r3, #4]
	ldr	r2, [r3]
	ldr	r3, [r1]
	str	r6, [r4, #4]
	str	r2, [r4, #64]
	str	r3, [r4, #68]
	bl	usb_endpoint_num
	mov	r3, r0
	ldr	r0, [r6, #28]
	str	r3, [r4, #60]
	bl	usb_endpoint_type
	mov	r3, r0
	mov	r0, r6
	str	r3, [r4, #8]
	bl	usb_urb_dir_in
	ldr	r2, [r6, #24]
	cmp	r7, #83
	ldr	r3, [r6, #20]
	moveq	r3, r2
	ldr	r1, .L23+8
	ldr	r2, [r4, #8]
	str	r0, [r4, #56]
	ldr	r0, [r1]
	ldr	r1, .L23+12
	cmp	r2, r0
	str	r3, [r4, #28]
	str	r9, [r4, #12]
	ldr	r3, [r1]
	str	r8, [r4, #16]
	ldr	r1, [r6]
	beq	.L21
	cmp	r2, r3
	strne	r1, [r4, #20]
	beq	.L22
.L10:
	mov	r2, r7
	mov	r1, r6
	ldr	r3, [r5, #12]
	mov	r0, r4
	bl	mon_text_get_setup
	ldr	ip, [r5, #12]
	ldr	r2, [r4, #28]
	str	r0, [r4, #36]
	mov	r3, r7
	mov	r1, r6
	str	ip, [sp]
	mov	r0, r4
	bl	mon_text_get_data
	mov	r1, r5
	ldr	r3, [r5]
	str	r0, [r4, #32]
	add	r3, r3, #1
	str	r3, [r1], #8
	add	r0, r4, #24
	bl	list_add_tail
	add	r0, r5, #4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, lr}
	b	wake_up
.L22:
	ldr	r0, [r6, #16]
	ldr	ip, [r6, #12]
	str	r0, [r4, #52]
	ldr	r0, [r6, #8]
	str	ip, [r4, #48]
	str	r0, [r4, #44]
.L7:
	cmp	r1, #0
	movle	r0, #0
	movgt	r0, #1
	cmp	r2, r3
	movne	r0, #0
	cmp	r0, #0
	str	r1, [r4, #20]
	beq	.L10
	ldr	r2, .L23+16
	ldr	r3, [r6, #4]
	ldr	lr, [r2]
	ldr	r2, [r4, #40]
	cmp	r1, lr
	movlt	lr, r1
	cmp	lr, #0
	ble	.L10
	mov	r0, #0
	add	r3, r3, #16
	add	r2, r2, #12
.L13:
	ldr	r1, [r3, #-4]
	cmp	r7, #83
	str	r1, [r2, #-4]
	ldr	r1, [r3, #-8]
	add	r0, r0, #1
	str	r1, [r2, #-8]
	ldr	ip, [r3, #-12]
	ldr	r1, [r3, #-16]
	moveq	r1, ip
	cmp	lr, r0
	str	r1, [r2, #-12]
	add	r3, r3, #16
	add	r2, r2, #12
	bne	.L13
	b	.L10
.L21:
	ldr	r0, [r6, #16]
	str	r0, [r4, #52]
	b	.L7
.L24:
	.align	2
.L23:
	.word	EVENT_MAX
	.word	GFP_ATOMIC
	.word	USB_ENDPOINT_XFER_INT
	.word	USB_ENDPOINT_XFER_ISOC
	.word	ISODESC_MAX
	.size	mon_text_event, .-mon_text_event
	.comm	USB_ENDPOINT_XFER_ISOC,4,4
	.comm	USB_ENDPOINT_XFER_INT,4,4
	.comm	ISODESC_MAX,4,4
	.comm	GFP_ATOMIC,4,4
	.comm	EVENT_MAX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
