	.file	"extr_remote-mips.c_pmon_command.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"0x0 %s"
.LC1:
	.string	"Send packet: %s\n"
.LC2:
	.string	"Received packet: %s\n"
	.text
	.p2align 4
	.type	pmon_command, @function
pmon_command:
.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
	mov	eax, DWORD PTR DATA_MAXLEN[rip]
	mov	rcx, rsp
	add	eax, 1
	cdqe
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L3
.L11:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L11
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L12
.L4:
	mov	rdx, rdi
	lea	rsi, .LC0[rip]
	mov	rdi, rsp
	call	sprintf@PLT
	mov	esi, 1
	mov	rdi, rsp
	call	mips_send_packet@PLT
	mov	rsi, rsp
	lea	rdi, .LC1[rip]
	call	printf_filtered@PLT
	mov	edx, DWORD PTR mips_receive_wait[rip]
	mov	esi, 1
	mov	rdi, rsp
	call	mips_receive_packet@PLT
	mov	rsi, rsp
	lea	rdi, .LC2[rip]
	cdqe
	mov	BYTE PTR [rsp+rax], 0
	call	printf_filtered@PLT
	mov	rax, QWORD PTR -8[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L13
	leave
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	pmon_command, .-pmon_command
	.comm	mips_receive_wait,4,4
	.comm	DATA_MAXLEN,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_remote-mips.c_pmon_command.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"0x0 %s\000"
	.align	2
.LC1:
	.ascii	"Send packet: %s\012\000"
	.align	2
.LC2:
	.ascii	"Received packet: %s\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pmon_command, %function
pmon_command:
	@ 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, .L6
	mov	r2, r0
	ldr	r3, [r3]
	ldr	r1, .L6+4
	add	r3, r3, #8
	bic	r3, r3, #7
	sub	sp, sp, r3
	ldr	r3, .L6+8
	mov	r0, sp
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	sprintf
	mov	r1, #1
	mov	r0, sp
	bl	mips_send_packet
	mov	r1, sp
	ldr	r0, .L6+12
	bl	printf_filtered
	ldr	r3, .L6+16
	mov	r1, #1
	ldr	r2, [r3]
	mov	r0, sp
	bl	mips_receive_packet
	mov	r2, #0
	mov	r3, r0
	mov	r1, sp
	ldr	r0, .L6+20
	strb	r2, [sp, r3]
	bl	printf_filtered
	ldr	r3, .L6+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	DATA_MAXLEN
	.word	.LC0
	.word	.LC3
	.word	.LC1
	.word	mips_receive_wait
	.word	.LC2
	.size	pmon_command, .-pmon_command
	.comm	mips_receive_wait,4,4
	.comm	DATA_MAXLEN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
