	.file	"extr_slip.c_slip_esc.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	slip_esc, @function
slip_esc:
.LFB0:
	.cfi_startproc
	endbr64
	mov	BYTE PTR [rsi], -127
	lea	rax, 1[rsi]
	test	edx, edx
	jle	.L2
	sub	edx, 1
	lea	rcx, 1[rdi+rdx]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L9:
	mov	BYTE PTR [rax], -128
	mov	edx, DWORD PTR ESC_END[rip]
	add	rax, 2
	mov	BYTE PTR -1[rax], dl
.L5:
	cmp	rcx, rdi
	je	.L2
.L6:
	movzx	edx, BYTE PTR [rdi]
	add	rdi, 1
	cmp	dl, -128
	je	.L3
	cmp	dl, -127
	je	.L9
	mov	BYTE PTR [rax], dl
	add	rax, 1
	cmp	rcx, rdi
	jne	.L6
.L2:
	mov	BYTE PTR [rax], -127
	add	rax, 1
	sub	rax, rsi
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	mov	BYTE PTR [rax], -128
	mov	edx, DWORD PTR ESC_ESC[rip]
	add	rax, 2
	mov	BYTE PTR -1[rax], dl
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	slip_esc, .-slip_esc
	.comm	ESC_ESC,4,4
	.comm	ESC_END,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_slip.c_slip_esc.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	slip_esc, %function
slip_esc:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, r1
	mvn	ip, #126
	cmp	r2, #0
	strb	ip, [r3], #1
	ble	.L9
	push	{r4, r5, r6, lr}
	add	ip, r0, r2
	mvn	lr, #127
	ldr	r6, .L15
	ldr	r5, .L15+4
	b	.L6
.L14:
	cmp	r2, #129
	strbne	r2, [r3], #1
	bne	.L5
	mov	r2, r3
	strb	lr, [r2], #2
	ldr	r4, [r5]
	strb	r4, [r3, #1]
	mov	r3, r2
.L5:
	cmp	ip, r0
	beq	.L13
.L6:
	ldrb	r2, [r0], #1	@ zero_extendqisi2
	cmp	r2, #128
	bne	.L14
	mov	r2, r3
	strb	lr, [r2], #2
	ldr	r4, [r6]
	cmp	ip, r0
	strb	r4, [r3, #1]
	mov	r3, r2
	bne	.L6
.L13:
	mvn	r2, #126
	strb	r2, [r3], #1
	sub	r0, r3, r1
	pop	{r4, r5, r6, pc}
.L9:
	mvn	r2, #126
	strb	r2, [r3], #1
	sub	r0, r3, r1
	bx	lr
.L16:
	.align	2
.L15:
	.word	ESC_ESC
	.word	ESC_END
	.size	slip_esc, .-slip_esc
	.comm	ESC_ESC,4,4
	.comm	ESC_END,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
