	.file	"extr_nosy-dump.c_handle_packet.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"bus reset\r\n"
	.text
	.p2align 4
	.type	handle_packet, @function
handle_packet:
.LFB0:
	.cfi_startproc
	endbr64
	test	rsi, rsi
	je	.L13
	cmp	rsi, 4
	jbe	.L7
	mov	rdx, QWORD PTR [rdi]
	mov	rax, QWORD PTR packet_info[rip]
	mov	eax, DWORD PTR [rax+rdx*4]
	cmp	eax, 130
	je	.L4
	jg	.L5
	cmp	eax, 128
	je	.L6
	cmp	eax, 129
	setne	al
	movzx	eax, al
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	mov	eax, 1
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	cmp	eax, 131
	setne	al
	movzx	eax, al
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	lea	rdi, .LC0[rip]
	call	printf@PLT
	xor	eax, eax
	call	clear_pending_transaction_list@PLT
	mov	eax, 1
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	jmp	handle_response_packet@PLT
	.p2align 4,,10
	.p2align 3
.L4:
	jmp	handle_request_packet@PLT
	.cfi_endproc
.LFE0:
	.size	handle_packet, .-handle_packet
	.comm	packet_info,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_nosy-dump.c_handle_packet.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"bus reset\015\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	handle_packet, %function
handle_packet:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r1, #0
	beq	.L15
	cmp	r1, #4
	bls	.L9
	ldr	r3, .L16
	ldr	r2, [r0]
	ldr	r3, [r3]
	ldr	r3, [r3, r2, lsl #2]
	sub	r3, r3, #128
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L9
.L5:
	.word	.L7
	.word	.L4
	.word	.L6
	.word	.L4
.L9:
	mov	r0, #1
	bx	lr
.L15:
	push	{r4, lr}
	ldr	r0, .L16+4
	bl	printf
	bl	clear_pending_transaction_list
	mov	r0, #1
	pop	{r4, pc}
.L4:
	mov	r0, #0
	bx	lr
.L7:
	b	handle_response_packet
.L6:
	b	handle_request_packet
.L17:
	.align	2
.L16:
	.word	packet_info
	.word	.LC0
	.size	handle_packet, .-handle_packet
	.comm	packet_info,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
