	.file	"extr_kgdb.c_bin2mem.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	bin2mem, @function
bin2mem:
.LFB0:
	.cfi_startproc
	endbr64
	test	edx, edx
	jle	.L6
	lea	eax, -1[rdx]
	lea	r8, 1[rdi+rax]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L8:
	add	rdi, 1
	mov	rsi, rdx
	mov	BYTE PTR -1[rdi], al
	cmp	rdi, r8
	je	.L1
.L5:
	movzx	eax, BYTE PTR [rsi]
	lea	rdx, 1[rsi]
	cmp	al, 125
	jne	.L8
	movzx	ecx, BYTE PTR 1[rsi]
	lea	r9d, -3[rcx]
	cmp	r9b, 1
	jbe	.L9
	cmp	cl, 93
	jne	.L8
.L9:
	lea	eax, 32[rcx]
	add	rdi, 1
	add	rsi, 2
	mov	BYTE PTR -1[rsi], al
	mov	BYTE PTR -1[rdi], al
	cmp	rdi, r8
	jne	.L5
.L1:
	mov	rax, r8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	mov	r8, rdi
	mov	rax, r8
	ret
	.cfi_endproc
.LFE0:
	.size	bin2mem, .-bin2mem
	.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_kgdb.c_bin2mem.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bin2mem, %function
bin2mem:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r2, #0
	mov	ip, r0
	bxle	lr
	mov	r3, r1
	add	r0, r0, r2
	ldrb	r2, [r3], #1	@ zero_extendqisi2
	cmp	r2, #125
	beq	.L15
.L18:
	strb	r2, [ip], #1
	cmp	r0, ip
	mov	r1, r3
	bxeq	lr
	mov	r3, r1
	ldrb	r2, [r3], #1	@ zero_extendqisi2
	cmp	r2, #125
	bne	.L18
.L15:
	push	{r4, lr}
.L11:
	ldrb	lr, [r1, #1]	@ zero_extendqisi2
	sub	r4, lr, #3
	cmp	lr, #93
	cmpne	r4, #1
	add	lr, lr, #32
	bhi	.L7
	and	r2, lr, #255
	strb	r2, [r1, #1]
	add	r1, r1, #2
.L3:
	strb	r2, [ip], #1
	cmp	r0, ip
	popeq	{r4, pc}
	mov	r3, r1
	ldrb	r2, [r3], #1	@ zero_extendqisi2
	cmp	r2, #125
	beq	.L11
.L7:
	mov	r1, r3
	b	.L3
	.size	bin2mem, .-bin2mem
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
