	.file	"extr_cvmx-debug.c_cvmx_debug_process_next_packet.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Request: %s\n"
	.text
	.p2align 4
	.type	cvmx_debug_process_next_packet, @function
cvmx_debug_process_next_packet:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR CVMX_DEBUG_MAX_REQUEST_SIZE[rip]
	mov	rcx, rsp
	mov	rsi, rax
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L3
.L14:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L14
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L15
.L4:
	mov	rax, QWORD PTR cvmx_debug_globals[rip]
	mov	rdi, rsp
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR cvmx_debug_comms[rip]
	mov	rax, QWORD PTR [rax+rdx*8]
	call	[QWORD PTR [rax]]
	mov	r8, rax
	mov	eax, DWORD PTR COMMAND_NOP[rip]
	test	r8, r8
	je	.L1
	lea	rdi, .LC0[rip]
	mov	rsi, rsp
	call	cvmx_debug_printf@PLT
	mov	rdi, rsp
	call	cvmx_debug_process_packet@PLT
.L1:
	mov	rdi, QWORD PTR -8[rbp]
	xor	rdi, QWORD PTR fs:40
	jne	.L16
	leave
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	cvmx_debug_process_next_packet, .-cvmx_debug_process_next_packet
	.comm	cvmx_debug_globals,8,8
	.comm	cvmx_debug_comms,8,8
	.comm	CVMX_DEBUG_MAX_REQUEST_SIZE,4,4
	.comm	COMMAND_NOP,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_cvmx-debug.c_cvmx_debug_process_next_packet.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Request: %s\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cvmx_debug_process_next_packet, %function
cvmx_debug_process_next_packet:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L9
	ldr	r1, .L9+4
	ldr	r2, [r3]
	ldr	r3, .L9+8
	ldr	r0, [r2]
	ldr	r1, [r1]
	ldr	r2, [r3]
	add	r3, r1, #7
	ldr	r2, [r2, r0, lsl #2]
	bic	r3, r3, #7
	sub	sp, sp, r3
	ldr	r3, [r2]
	ldr	r2, .L9+12
	mov	r0, sp
	ldr	r2, [r2]
	str	r2, [fp, #-8]
	mov	r2,#0
	blx	r3
	cmp	r0, #0
	bne	.L7
	ldr	r3, .L9+16
	ldr	r0, [r3]
.L1:
	ldr	r3, .L9+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	mov	r1, sp
	ldr	r0, .L9+20
	bl	cvmx_debug_printf
	mov	r0, sp
	bl	cvmx_debug_process_packet
	b	.L1
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	cvmx_debug_globals
	.word	CVMX_DEBUG_MAX_REQUEST_SIZE
	.word	cvmx_debug_comms
	.word	.LC1
	.word	COMMAND_NOP
	.word	.LC0
	.size	cvmx_debug_process_next_packet, .-cvmx_debug_process_next_packet
	.comm	cvmx_debug_globals,4,4
	.comm	cvmx_debug_comms,4,4
	.comm	CVMX_DEBUG_MAX_REQUEST_SIZE,4,4
	.comm	COMMAND_NOP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
