	.file	"extr_fifo.c_usbhsf_pkt_handler.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"unknown pkt handler\n"
	.text
	.p2align 4
	.type	usbhsf_pkt_handler, @function
usbhsf_pkt_handler:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	usbhs_pipe_to_priv@PLT
	mov	rbp, rax
	mov	rdi, rax
	call	usbhs_priv_to_dev@PLT
	xor	esi, esi
	mov	rdi, rbp
	mov	DWORD PTR 4[rsp], 0
	mov	r14, rax
	call	usbhs_lock@PLT
	mov	rdi, r12
	call	__usbhsf_pkt_get@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L11
	cmp	r13d, 129
	je	.L3
	cmp	r13d, 130
	je	.L4
	cmp	r13d, 128
	je	.L17
	lea	rsi, .LC0[rip]
	mov	rdi, r14
	xor	r13d, r13d
	call	dev_err@PLT
.L2:
	xor	esi, esi
	mov	rdi, rbp
	call	usbhs_unlock@PLT
	mov	eax, DWORD PTR 4[rsp]
	test	eax, eax
	je	.L1
	mov	rdi, rbp
	mov	rsi, rbx
	call	[QWORD PTR [rbx]]
	mov	rdi, r12
	call	usbhs_pkt_start@PLT
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L18
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	mov	eax, r13d
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	rax, QWORD PTR 8[rax]
	mov	r14, QWORD PTR [rax]
.L7:
	mov	rdi, r14
	xor	r13d, r13d
	call	likely@PLT
	test	rax, rax
	je	.L8
	lea	rsi, 4[rsp]
	mov	rdi, rbx
	call	r14
	mov	r13d, eax
.L8:
	mov	edx, DWORD PTR 4[rsp]
	test	edx, edx
	je	.L2
	mov	rdi, rbx
	call	__usbhsf_pkt_del@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L17:
	mov	rax, QWORD PTR 8[rax]
	mov	r14, QWORD PTR 8[rax]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rax, QWORD PTR 8[rax]
	mov	r14, QWORD PTR 16[rax]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L11:
	xor	r13d, r13d
	jmp	.L2
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	usbhsf_pkt_handler, .-usbhsf_pkt_handler
	.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_fifo.c_usbhsf_pkt_handler.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"unknown pkt handler\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	usbhsf_pkt_handler, %function
usbhsf_pkt_handler:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r3, .L26
	sub	sp, sp, #12
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	mov	r7, r1
	mov	r8, r0
	bl	usbhs_pipe_to_priv
	mov	r4, #0
	mov	r6, r0
	bl	usbhs_priv_to_dev
	mov	r1, r4
	mov	r9, r0
	mov	r0, r6
	str	r4, [sp]
	bl	usbhs_lock
	mov	r0, r8
	bl	__usbhsf_pkt_get
	subs	r5, r0, #0
	moveq	r4, r5
	beq	.L2
	cmp	r7, #129
	beq	.L3
	cmp	r7, #130
	beq	.L4
	cmp	r7, #128
	beq	.L24
	mov	r0, r9
	ldr	r1, .L26+4
	bl	dev_err
.L2:
	mov	r1, #0
	mov	r0, r6
	bl	usbhs_unlock
	ldr	r3, [sp]
	cmp	r3, #0
	beq	.L1
	mov	r0, r6
	mov	r1, r5
	ldr	r3, [r5]
	blx	r3
	mov	r0, r8
	bl	usbhs_pkt_start
.L1:
	ldr	r3, .L26
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L25
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L3:
	ldr	r3, [r5, #4]
	ldr	r7, [r3]
.L7:
	mov	r0, r7
	bl	likely
	subs	r4, r0, #0
	beq	.L8
	mov	r1, sp
	mov	r0, r5
	blx	r7
	mov	r4, r0
.L8:
	ldr	r3, [sp]
	cmp	r3, #0
	beq	.L2
	mov	r0, r5
	bl	__usbhsf_pkt_del
	b	.L2
.L24:
	ldr	r3, [r5, #4]
	ldr	r7, [r3, #4]
	b	.L7
.L4:
	ldr	r3, [r5, #4]
	ldr	r7, [r3, #8]
	b	.L7
.L25:
	bl	__stack_chk_fail
.L27:
	.align	2
.L26:
	.word	.LC1
	.word	.LC0
	.size	usbhsf_pkt_handler, .-usbhsf_pkt_handler
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
