	.file	"extr_gtco.c_gtco_urb_callback.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"======>>>>>>REPORT 1: val 0x%X(%d)"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"usb_submit_urb failed rc=0x%x"
	.text
	.p2align 4
	.type	gtco_urb_callback, @function
gtco_urb_callback:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	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
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR [rdi]
	mov	ebx, eax
	add	ebx, DWORD PTR ECONNRESET[rip]
	je	.L1
	mov	ebx, eax
	add	ebx, DWORD PTR ENOENT[rip]
	je	.L1
	mov	esi, eax
	add	esi, DWORD PTR ESHUTDOWN[rip]
	je	.L1
	mov	rbp, rdi
	test	eax, eax
	jne	.L6
	mov	rbx, QWORD PTR 8[rdi]
	mov	r12, QWORD PTR 16[rbx]
	mov	rdi, QWORD PTR [rbx]
	mov	rsi, QWORD PTR [r12]
	cmp	rsi, QWORD PTR PID_1000[rip]
	mov	ecx, DWORD PTR [rdi]
	je	.L7
	cmp	rsi, QWORD PTR PID_1001[rip]
	je	.L7
	cmp	rsi, QWORD PTR PID_1002[rip]
	jne	.L8
.L7:
	cmp	ecx, 7
	ja	.L9
	lea	r8, .L11[rip]
	mov	edx, ecx
	movsx	rax, DWORD PTR [r8+rdx*4]
	add	rax, r8
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L11:
	.long	.L9-.L11
	.long	.L15-.L11
	.long	.L14-.L11
	.long	.L14-.L11
	.long	.L13-.L11
	.long	.L12-.L11
	.long	.L9-.L11
	.long	.L10-.L11
	.text
.L13:
	mov	eax, DWORD PTR 28[rdi]
.L16:
	mov	edx, DWORD PTR 24[rdi]
	test	dl, 64
	je	.L17
	or	dl, -128
	mov	DWORD PTR 24[rdi], edx
.L17:
	test	al, 64
	je	.L18
	or	al, -128
	mov	DWORD PTR 28[rdi], eax
.L18:
	mov	esi, DWORD PTR ABS_TILT_X[rip]
	mov	rdi, r12
	call	input_report_abs@PLT
	mov	rax, QWORD PTR [rbx]
	mov	esi, DWORD PTR ABS_TILT_Y[rip]
	mov	rdi, r12
	mov	edx, DWORD PTR 28[rax]
	call	input_report_abs@PLT
	mov	rdi, QWORD PTR [rbx]
.L14:
	mov	edx, DWORD PTR MSC_SERIAL[rip]
	mov	esi, DWORD PTR EV_MSC[rip]
	mov	ecx, DWORD PTR 20[rdi]
	mov	rdi, r12
	and	ecx, DWORD PTR MASK_BUTTON[rip]
	call	input_event@PLT
	mov	rdi, QWORD PTR [rbx]
.L15:
	add	rdi, 4
	call	get_unaligned_le16@PLT
	mov	esi, DWORD PTR ABS_X[rip]
	mov	rdi, r12
	mov	edx, eax
	call	input_report_abs@PLT
	mov	rax, QWORD PTR [rbx]
	lea	rdi, 12[rax]
	call	get_unaligned_le16@PLT
	mov	esi, DWORD PTR ABS_Y[rip]
	mov	rdi, r12
	mov	edx, eax
	call	input_report_abs@PLT
	mov	rax, QWORD PTR [rbx]
	movsx	edx, BYTE PTR MASK_INRANGE[rip]
	mov	rdi, r12
	mov	esi, DWORD PTR ABS_DISTANCE[rip]
	test	DWORD PTR 20[rax], edx
	setne	dl
	movzx	edx, dl
	call	input_report_abs@PLT
	mov	rdi, QWORD PTR [rbx]
	mov	ecx, DWORD PTR [rdi]
	cmp	ecx, 1
	je	.L19
	mov	rsi, QWORD PTR [r12]
.L8:
	cmp	QWORD PTR PID_400[rip], rsi
	jne	.L27
.L20:
	cmp	ecx, 2
	je	.L41
.L23:
	cmp	ecx, 1
	jne	.L21
	cmp	DWORD PTR 8[rbx], 65536
	jg	.L42
	add	rdi, 4
	call	get_unaligned_le16@PLT
	mov	esi, DWORD PTR ABS_X[rip]
	mov	rdi, r12
	mov	edx, eax
	call	input_report_abs@PLT
	mov	rax, QWORD PTR [rbx]
	lea	rdi, 12[rax]
	call	get_unaligned_le16@PLT
	mov	esi, DWORD PTR ABS_Y[rip]
	mov	rdi, r12
	mov	edx, eax
	call	input_report_abs@PLT
	mov	rax, QWORD PTR [rbx]
	movzx	r13d, BYTE PTR 20[rax]
.L25:
	mov	esi, DWORD PTR ABS_DISTANCE[rip]
	xor	edx, edx
	test	BYTE PTR MASK_INRANGE[rip], r13b
	mov	rdi, r12
	setne	dl
	call	input_report_abs@PLT
	mov	edx, DWORD PTR MSC_SERIAL[rip]
	mov	ecx, r13d
	mov	rdi, r12
	mov	esi, DWORD PTR EV_MSC[rip]
	and	ecx, 15
	call	input_event@PLT
	mov	rax, QWORD PTR [rbx]
	mov	esi, DWORD PTR ABS_MISC[rip]
	mov	rdi, r12
	mov	edx, DWORD PTR 24[rax]
	call	input_report_abs@PLT
	mov	rax, QWORD PTR [rbx]
	mov	ecx, DWORD PTR [rax]
	.p2align 4,,10
	.p2align 3
.L21:
	mov	edx, DWORD PTR MSC_RAW[rip]
	mov	esi, DWORD PTR EV_MSC[rip]
	mov	rdi, r12
	call	input_event@PLT
	mov	rdi, r12
	call	input_sync@PLT
.L6:
	mov	esi, DWORD PTR GFP_ATOMIC[rip]
	mov	rdi, rbp
	call	usb_submit_urb@PLT
	test	eax, eax
	je	.L1
	mov	esi, eax
	lea	rdi, .LC1[rip]
	call	err@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L43
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
.L9:
	.cfi_restore_state
	cmp	rsi, QWORD PTR PID_400[rip]
	je	.L23
.L27:
	cmp	QWORD PTR PID_401[rip], rsi
	jne	.L21
	jmp	.L20
.L12:
	mov	edx, DWORD PTR 32[rdi]
	mov	esi, DWORD PTR ABS_PRESSURE[rip]
	mov	rdi, r12
	call	input_report_abs@PLT
	mov	rdi, QWORD PTR [rbx]
	mov	eax, DWORD PTR 28[rdi]
	and	eax, 127
	mov	DWORD PTR 28[rdi], eax
	jmp	.L16
.L10:
	mov	ecx, DWORD PTR 4[rdi]
	mov	edx, DWORD PTR MSC_SCAN[rip]
.L39:
	mov	esi, DWORD PTR EV_MSC[rip]
	mov	rdi, r12
	call	input_event@PLT
	mov	rdi, QWORD PTR [rbx]
	mov	rsi, QWORD PTR [r12]
	mov	ecx, DWORD PTR [rdi]
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L42:
	mov	edx, DWORD PTR 8[rdi]
	mov	eax, DWORD PTR 4[rdi]
	mov	esi, DWORD PTR ABS_X[rip]
	sal	edx, 8
	or	eax, edx
	mov	edx, DWORD PTR 12[rdi]
	mov	rdi, r12
	sal	edx, 16
	and	edx, 65536
	or	edx, eax
	call	input_report_abs@PLT
	mov	rdx, QWORD PTR [rbx]
	lea	rdi, 6[rsp]
	mov	eax, DWORD PTR 12[rdx]
	mov	ecx, eax
	sal	eax, 7
	sar	ecx
	or	eax, ecx
	mov	BYTE PTR 6[rsp], al
	mov	eax, DWORD PTR 16[rdx]
	mov	edx, DWORD PTR 20[rdx]
	sar	eax
	sal	edx, 7
	or	eax, edx
	mov	BYTE PTR 7[rsp], al
	call	get_unaligned_le16@PLT
	mov	esi, DWORD PTR ABS_Y[rip]
	mov	rdi, r12
	mov	edx, eax
	call	input_report_abs@PLT
	mov	rax, QWORD PTR [rbx]
	mov	r13d, DWORD PTR 20[rax]
	sar	r13d
	jmp	.L25
.L41:
	mov	ecx, DWORD PTR 4[rdi]
	mov	edx, DWORD PTR MSC_SCAN[rip]
	mov	rdi, r12
	mov	esi, DWORD PTR EV_MSC[rip]
	call	input_event@PLT
	mov	rdi, QWORD PTR [rbx]
	mov	ecx, DWORD PTR [rdi]
	jmp	.L23
	.p2align 4,,10
	.p2align 3
.L19:
	mov	r13d, DWORD PTR 20[rdi]
	and	r13d, DWORD PTR MASK_BUTTON[rip]
	lea	rdi, .LC0[rip]
	mov	edx, r13d
	mov	esi, r13d
	call	dbg@PLT
	mov	edx, DWORD PTR MSC_SERIAL[rip]
	mov	ecx, r13d
	jmp	.L39
.L43:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	gtco_urb_callback, .-gtco_urb_callback
	.comm	i,4,4
	.comm	PID_401,8,8
	.comm	PID_400,8,8
	.comm	PID_1002,8,8
	.comm	PID_1001,8,8
	.comm	PID_1000,8,8
	.comm	MSC_SERIAL,4,4
	.comm	MSC_SCAN,4,4
	.comm	MSC_RAW,4,4
	.comm	MASK_INRANGE,1,1
	.comm	MASK_BUTTON,4,4
	.comm	GFP_ATOMIC,4,4
	.comm	EV_MSC,4,4
	.comm	ESHUTDOWN,4,4
	.comm	ENOENT,4,4
	.comm	ECONNRESET,4,4
	.comm	BTN_DIGI,8,8
	.comm	ABS_Y,4,4
	.comm	ABS_X,4,4
	.comm	ABS_TILT_Y,4,4
	.comm	ABS_TILT_X,4,4
	.comm	ABS_PRESSURE,4,4
	.comm	ABS_MISC,4,4
	.comm	ABS_DISTANCE,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_gtco.c_gtco_urb_callback.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"======>>>>>>REPORT 1: val 0x%X(%d)\000"
	.align	2
.LC1:
	.ascii	"usb_submit_urb failed rc=0x%x\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	gtco_urb_callback, %function
gtco_urb_callback:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r2, .L49
	ldr	r3, [r0]
	ldr	r2, [r2]
	ldr	r1, .L49+4
	sub	sp, sp, #8
	cmn	r3, r2
	ldr	r1, [r1]
	str	r1, [sp, #4]
	mov	r1,#0
	beq	.L1
	ldr	r2, .L49+8
	ldr	r2, [r2]
	cmn	r3, r2
	beq	.L1
	ldr	r2, .L49+12
	ldr	r2, [r2]
	cmn	r3, r2
	beq	.L1
	cmp	r3, #0
	mov	r4, r0
	bne	.L6
	ldr	r7, [r0, #4]
	ldr	r3, .L49+16
	ldr	r6, [r7, #8]
	ldr	r3, [r3]
	ldr	r2, [r6]
	ldr	r0, [r7]
	cmp	r2, r3
	ldr	r3, [r0]
	beq	.L7
	ldr	r1, .L49+20
	ldr	r1, [r1]
	cmp	r2, r1
	beq	.L7
	ldr	r1, .L49+24
	ldr	r1, [r1]
	cmp	r2, r1
	beq	.L7
	ldr	r5, .L49+28
.L8:
	ldr	r1, .L49+32
	ldr	r1, [r1]
	cmp	r1, r2
	bne	.L27
.L20:
	cmp	r3, #2
	beq	.L44
.L23:
	cmp	r3, #1
	beq	.L45
.L21:
	ldr	r2, .L49+36
	mov	r0, r6
	ldr	r1, [r5]
	ldr	r2, [r2]
	bl	input_event
	mov	r0, r6
	bl	input_sync
.L6:
	ldr	r3, .L49+40
	mov	r0, r4
	ldr	r1, [r3]
	bl	usb_submit_urb
	subs	r1, r0, #0
	bne	.L46
.L1:
	ldr	r3, .L49+4
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L47
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	sub	r1, r3, #1
	cmp	r1, #6
	ldrls	pc, [pc, r1, asl #2]
	b	.L9
.L11:
	.word	.L33
	.word	.L14
	.word	.L14
	.word	.L13
	.word	.L12
	.word	.L9
	.word	.L10
.L33:
	ldr	r5, .L49+28
.L15:
	add	r0, r0, #4
	bl	get_unaligned_le16
	ldr	r3, .L49+44
	mov	r2, r0
	ldr	r1, [r3]
	mov	r0, r6
	bl	input_report_abs
	ldr	r0, [r7]
	add	r0, r0, #12
	bl	get_unaligned_le16
	ldr	r3, .L49+48
	mov	r2, r0
	ldr	r1, [r3]
	mov	r0, r6
	bl	input_report_abs
	ldr	r2, [r7]
	ldr	r3, .L49+52
	ldr	r2, [r2, #20]
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldr	r3, .L49+56
	tst	r1, r2
	movne	r2, #1
	moveq	r2, #0
	ldr	r1, [r3]
	mov	r0, r6
	bl	input_report_abs
	ldr	r0, [r7]
	ldr	r3, [r0]
	cmp	r3, #1
	beq	.L19
	ldr	r2, [r6]
	b	.L8
.L9:
	ldr	r1, .L49+32
	ldr	r5, .L49+28
	ldr	r1, [r1]
	cmp	r2, r1
	beq	.L23
.L27:
	ldr	r1, .L49+60
	ldr	r1, [r1]
	cmp	r1, r2
	bne	.L21
	b	.L20
.L13:
	ldr	r3, [r0, #28]
.L16:
	ldr	r2, [r0, #24]
	tst	r2, #64
	orrne	r2, r2, #128
	strne	r2, [r0, #24]
	tst	r3, #64
	orrne	r3, r3, #128
	strne	r3, [r0, #28]
	ldr	r3, .L49+64
	mov	r0, r6
	ldr	r1, [r3]
	bl	input_report_abs
	ldr	r2, [r7]
	ldr	r3, .L49+68
	mov	r0, r6
	ldr	r2, [r2, #28]
	ldr	r1, [r3]
	bl	input_report_abs
	ldr	r0, [r7]
.L14:
	ldr	r3, .L49+72
	ldr	r1, [r0, #20]
	ldr	r3, [r3]
	ldr	r2, .L49+76
	ldr	r5, .L49+28
	and	r3, r3, r1
	mov	r0, r6
	ldr	r2, [r2]
	ldr	r1, [r5]
	bl	input_event
	ldr	r0, [r7]
	b	.L15
.L46:
	ldr	r0, .L49+80
	bl	err
	b	.L1
.L45:
	ldr	r3, [r7, #4]
	cmp	r3, #65536
	bgt	.L48
	add	r0, r0, #4
	bl	get_unaligned_le16
	ldr	r3, .L49+44
	mov	r2, r0
	ldr	r1, [r3]
	mov	r0, r6
	bl	input_report_abs
	ldr	r0, [r7]
	add	r0, r0, #12
	bl	get_unaligned_le16
	ldr	r3, .L49+48
	mov	r2, r0
	ldr	r1, [r3]
	mov	r0, r6
	bl	input_report_abs
	ldr	r3, [r7]
	ldrb	r8, [r3, #20]	@ zero_extendqisi2
.L25:
	ldr	r3, .L49+52
	ldr	r2, .L49+56
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldr	r1, [r2]
	tst	r8, r3
	movne	r2, #1
	moveq	r2, #0
	mov	r0, r6
	bl	input_report_abs
	ldr	r2, .L49+76
	ldr	r1, [r5]
	ldr	r2, [r2]
	and	r3, r8, #15
	mov	r0, r6
	bl	input_event
	ldr	r3, .L49+84
	ldr	r2, [r7]
	ldr	r1, [r3]
	mov	r0, r6
	ldr	r2, [r2, #24]
	bl	input_report_abs
	ldr	r3, [r7]
	ldr	r3, [r3]
	b	.L21
.L10:
	ldr	r2, .L49+88
	ldr	r5, .L49+28
	ldr	r3, [r0, #4]
.L42:
	ldr	r2, [r2]
	mov	r0, r6
	ldr	r1, [r5]
	bl	input_event
	ldr	r0, [r7]
	ldr	r2, [r6]
	ldr	r3, [r0]
	b	.L8
.L12:
	ldr	r3, .L49+92
	ldr	r2, [r0, #32]
	ldr	r1, [r3]
	mov	r0, r6
	bl	input_report_abs
	ldr	r0, [r7]
	ldr	r3, [r0, #28]
	and	r3, r3, #127
	str	r3, [r0, #28]
	b	.L16
.L19:
	ldr	r3, .L49+72
	ldr	r8, [r0, #20]
	ldr	r3, [r3]
	ldr	r0, .L49+96
	and	r8, r8, r3
	mov	r2, r8
	mov	r1, r8
	bl	dbg
	mov	r3, r8
	ldr	r2, .L49+76
	b	.L42
.L48:
	ldr	r3, [r0, #12]
	ldr	r1, .L49+44
	lsl	r3, r3, #16
	ldmib	r0, {r2, ip}
	and	r3, r3, #65536
	orr	r2, r2, ip, lsl #8
	orr	r2, r3, r2
	ldr	r1, [r1]
	mov	r0, r6
	bl	input_report_abs
	ldr	r1, [r7]
	mov	r0, sp
	ldr	ip, [r1, #12]
	ldr	r3, [r1, #20]
	ldr	r1, [r1, #16]
	lsl	r2, ip, #7
	lsl	r3, r3, #7
	orr	r2, r2, ip, asr #1
	orr	r3, r3, r1, asr #1
	strb	r2, [sp]
	strb	r3, [sp, #1]
	bl	get_unaligned_le16
	ldr	r3, .L49+48
	mov	r2, r0
	ldr	r1, [r3]
	mov	r0, r6
	bl	input_report_abs
	ldr	r3, [r7]
	ldr	r8, [r3, #20]
	asr	r8, r8, #1
	and	r8, r8, #255
	b	.L25
.L44:
	ldr	r2, .L49+88
	ldr	r3, [r0, #4]
	ldr	r2, [r2]
	mov	r0, r6
	ldr	r1, [r5]
	bl	input_event
	ldr	r0, [r7]
	ldr	r3, [r0]
	b	.L23
.L47:
	bl	__stack_chk_fail
.L50:
	.align	2
.L49:
	.word	ECONNRESET
	.word	.LC2
	.word	ENOENT
	.word	ESHUTDOWN
	.word	PID_1000
	.word	PID_1001
	.word	PID_1002
	.word	EV_MSC
	.word	PID_400
	.word	MSC_RAW
	.word	GFP_ATOMIC
	.word	ABS_X
	.word	ABS_Y
	.word	MASK_INRANGE
	.word	ABS_DISTANCE
	.word	PID_401
	.word	ABS_TILT_X
	.word	ABS_TILT_Y
	.word	MASK_BUTTON
	.word	MSC_SERIAL
	.word	.LC1
	.word	ABS_MISC
	.word	MSC_SCAN
	.word	ABS_PRESSURE
	.word	.LC0
	.size	gtco_urb_callback, .-gtco_urb_callback
	.comm	i,4,4
	.comm	PID_401,4,4
	.comm	PID_400,4,4
	.comm	PID_1002,4,4
	.comm	PID_1001,4,4
	.comm	PID_1000,4,4
	.comm	MSC_SERIAL,4,4
	.comm	MSC_SCAN,4,4
	.comm	MSC_RAW,4,4
	.comm	MASK_INRANGE,1,1
	.comm	MASK_BUTTON,4,4
	.comm	GFP_ATOMIC,4,4
	.comm	EV_MSC,4,4
	.comm	ESHUTDOWN,4,4
	.comm	ENOENT,4,4
	.comm	ECONNRESET,4,4
	.comm	BTN_DIGI,4,4
	.comm	ABS_Y,4,4
	.comm	ABS_X,4,4
	.comm	ABS_TILT_Y,4,4
	.comm	ABS_TILT_X,4,4
	.comm	ABS_PRESSURE,4,4
	.comm	ABS_MISC,4,4
	.comm	ABS_DISTANCE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
