	.file	"extr_mxuport.c_mxuport_process_read_urb_data.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mxuport_process_read_urb_data, @function
mxuport_process_read_urb_data:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	ecx, DWORD PTR [rdi]
	test	ecx, ecx
	je	.L2
	mov	eax, DWORD PTR 4[rdi]
	test	eax, eax
	je	.L2
	lea	eax, -1[rdx]
	lea	rbx, 1[rsi+rax]
	test	edx, edx
	jg	.L6
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	add	rbp, 1
	cmp	rbp, rbx
	je	.L4
.L6:
	movsx	esi, BYTE PTR 0[rbp]
	mov	rdi, r12
	call	usb_serial_handle_sysrq_char@PLT
	test	eax, eax
	jne	.L5
	movsx	esi, BYTE PTR 0[rbp]
	mov	edx, DWORD PTR TTY_NORMAL[rip]
	mov	rdi, r12
	call	tty_insert_flip_char@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rsi, rbp
	mov	rdi, r12
	call	tty_insert_flip_string@PLT
.L4:
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	rdi, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	tty_flip_buffer_push@PLT
	.cfi_endproc
.LFE0:
	.size	mxuport_process_read_urb_data, .-mxuport_process_read_urb_data
	.comm	TTY_NORMAL,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_mxuport.c_mxuport_process_read_urb_data.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mxuport_process_read_urb_data, %function
mxuport_process_read_urb_data:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0]
	push	{r4, r5, r6, r7, r8, lr}
	cmp	r3, #0
	mov	r5, r0
	beq	.L2
	ldr	r3, [r0, #4]
	cmp	r3, #0
	beq	.L2
	cmp	r2, #0
	ble	.L4
	sub	r2, r2, #1
	ldr	r7, .L17
	add	r6, r1, r2
	sub	r4, r1, #1
	b	.L6
.L5:
	cmp	r4, r6
	beq	.L4
.L6:
	mov	r0, r5
	ldrb	r1, [r4, #1]!	@ zero_extendqisi2
	bl	usb_serial_handle_sysrq_char
	cmp	r0, #0
	bne	.L5
	mov	r0, r5
	ldr	r2, [r7]
	ldrb	r1, [r4]	@ zero_extendqisi2
	bl	tty_insert_flip_char
	b	.L5
.L2:
	mov	r0, r5
	bl	tty_insert_flip_string
.L4:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, lr}
	b	tty_flip_buffer_push
.L18:
	.align	2
.L17:
	.word	TTY_NORMAL
	.size	mxuport_process_read_urb_data, .-mxuport_process_read_urb_data
	.comm	TTY_NORMAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
