	.file	"extr_hfi_msgs.c_hfi_process_msg_packet.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"bad packet size (%d should be %d, pkt type:%x)\n"
	.align 8
.LC1:
	.string	"no valid instance(pkt session_id:%x, pkt:%x)\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"got invalid session id:%x\n"
	.text
	.p2align 4
	.globl	hfi_process_msg_packet
	.type	hfi_process_msg_packet, @function
hfi_process_msg_packet:
.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	r13, rdi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	xor	ebp, ebp
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	r14, QWORD PTR [rdi]
	mov	rbx, rsi
	mov	rdi, QWORD PTR handlers[rip]
.L2:
	call	ARRAY_SIZE@PLT
	cmp	eax, ebp
	jbe	.L12
	mov	rdi, QWORD PTR handlers[rip]
	mov	eax, ebp
	mov	r8d, DWORD PTR 8[rbx]
	lea	rax, [rax+rax*4]
	lea	r12, [rdi+rax*8]
	cmp	DWORD PTR 24[r12], r8d
	jne	.L15
	mov	rdx, QWORD PTR [rbx]
	test	rdx, rdx
	je	.L6
	mov	rcx, QWORD PTR [r12]
	cmp	rdx, rcx
	jge	.L6
	cmp	rdx, QWORD PTR 8[r12]
	jl	.L16
.L6:
	cmp	QWORD PTR 32[r12], 0
	je	.L17
.L8:
	xor	esi, esi
.L9:
	mov	rdx, rbx
	mov	rdi, r13
	call	[QWORD PTR 16[r12]]
.L10:
	endbr64
.L12:
	mov	eax, DWORD PTR 8[rbx]
.L1:
	pop	rbx
	.cfi_remember_state
	.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
.L15:
	.cfi_restore_state
	add	ebp, 1
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L17:
	mov	esi, DWORD PTR [rbx]
	mov	rdi, r13
	call	to_instance@PLT
	mov	rsi, rax
	test	rax, rax
	jne	.L9
	mov	ecx, DWORD PTR 24[r12]
	mov	edx, DWORD PTR [rbx]
	lea	rsi, .LC1[rip]
	mov	rdi, r14
	call	dev_warn@PLT
	mov	eax, DWORD PTR HFI_MSG_EVENT_NOTIFY[rip]
	cmp	DWORD PTR 8[rbx], eax
	je	.L8
	movsx	rdx, DWORD PTR [rbx]
	lea	rsi, .LC2[rip]
	mov	rdi, r14
	xor	eax, eax
	call	dev_err@PLT
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L16:
	lea	rsi, .LC0[rip]
	mov	rdi, r14
	xor	eax, eax
	call	dev_err@PLT
	mov	eax, DWORD PTR 8[rbx]
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	hfi_process_msg_packet, .-hfi_process_msg_packet
	.comm	handlers,8,8
	.comm	HFI_MSG_EVENT_NOTIFY,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_hfi_msgs.c_hfi_process_msg_packet.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"bad packet size (%d should be %d, pkt type:%x)\012\000"
	.align	2
.LC1:
	.ascii	"no valid instance(pkt session_id:%x, pkt:%x)\012\000"
	.align	2
.LC2:
	.ascii	"got invalid session id:%x\012\000"
	.text
	.align	2
	.global	hfi_process_msg_packet
	.syntax unified
	.arm
	.fpu softvfp
	.type	hfi_process_msg_packet, %function
hfi_process_msg_packet:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r6, r1
	mov	r4, #0
	ldr	r8, .L17
	mov	r7, r0
	ldr	r9, [r0]
	ldr	r0, [r8]
	sub	sp, sp, #12
.L2:
	bl	ARRAY_SIZE
	cmp	r0, r4
	add	r5, r4, r4, lsl #2
	bls	.L12
	ldr	r0, [r8]
	ldr	r3, [r6, #4]
	add	r5, r0, r5, lsl #2
	ldr	ip, [r5, #12]
	add	r4, r4, #1
	cmp	ip, r3
	bne	.L2
	ldr	r1, [r6]
	cmp	r1, #0
	beq	.L6
	ldr	r3, [r5]
	cmp	r1, r3
	bge	.L6
	ldr	r2, [r5, #4]
	cmp	r1, r2
	blt	.L15
.L6:
	ldr	r3, [r5, #16]
	cmp	r3, #0
	beq	.L16
.L8:
	mov	r1, #0
.L9:
	mov	r0, r7
	mov	r2, r6
	ldr	r3, [r5, #8]
	blx	r3
.L10:
.L12:
	ldr	r0, [r6, #4]
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L16:
	mov	r0, r7
	bl	to_instance
	subs	r1, r0, #0
	bne	.L9
	ldr	r3, [r5, #12]
	ldr	r2, [r6]
	mov	r0, r9
	ldr	r1, .L17+4
	bl	dev_warn
	ldr	r3, .L17+8
	ldr	r2, [r6, #4]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L8
	mov	r0, r9
	ldr	r2, [r6]
	ldr	r1, .L17+12
	bl	dev_err
	b	.L12
.L15:
	mov	r2, r1
	mov	r0, r9
	ldr	r1, .L17+16
	str	ip, [sp]
	bl	dev_err
	ldr	r0, [r6, #4]
	b	.L1
.L18:
	.align	2
.L17:
	.word	handlers
	.word	.LC1
	.word	HFI_MSG_EVENT_NOTIFY
	.word	.LC2
	.word	.LC0
	.size	hfi_process_msg_packet, .-hfi_process_msg_packet
	.comm	handlers,4,4
	.comm	HFI_MSG_EVENT_NOTIFY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
