	.file	"extr_kgdb.c_putpacket.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	putpacket, @function
putpacket:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	.p2align 4,,10
	.p2align 3
.L9:
	mov	edi, 36
	call	putDebugChar@PLT
	movsx	edi, BYTE PTR [r12]
	test	dil, dil
	je	.L10
	mov	r14, r12
	xor	ebp, ebp
	.p2align 4,,10
	.p2align 3
.L7:
	call	putDebugChar@PLT
	movsx	eax, BYTE PTR [r14]
	lea	rsi, 1[r14]
	xor	ebx, ebx
	mov	edx, DWORD PTR RUNLENMAX[rip]
	mov	ecx, eax
	add	ebp, eax
	mov	rax, rsi
	test	edx, edx
	jle	.L3
	.p2align 4,,10
	.p2align 3
.L5:
	mov	r13d, ebx
	add	ebx, 1
	cmp	ebx, edx
	je	.L4
	add	rax, 1
	cmp	cl, BYTE PTR -1[rax]
	je	.L5
.L4:
	cmp	ebx, 3
	jg	.L19
.L3:
	mov	r14, rsi
.L6:
	movsx	edi, BYTE PTR [r14]
	test	dil, dil
	jne	.L7
.L2:
	mov	edi, 35
	call	putDebugChar@PLT
	mov	edi, ebp
	call	hex_asc_hi@PLT
	movsx	edi, al
	call	putDebugChar@PLT
	mov	edi, ebp
	call	hex_asc_lo@PLT
	movsx	edi, al
	call	putDebugChar@PLT
	cmp	QWORD PTR kgdb_started[rip], 0
	je	.L1
	xor	eax, eax
	call	getDebugChar@PLT
	cmp	al, 43
	jne	.L9
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L19:
	.cfi_restore_state
	mov	edi, 42
	add	r13d, 29
	add	ebp, 42
	movsx	rbx, ebx
	call	putDebugChar@PLT
	movsx	edi, r13b
	add	ebp, r13d
	add	r14, rbx
	call	putDebugChar@PLT
	jmp	.L6
.L10:
	xor	ebp, ebp
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	putpacket, .-putpacket
	.comm	kgdb_started,8,8
	.comm	RUNLENMAX,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_kgdb.c_putpacket.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	putpacket, %function
putpacket:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r6, r0
	ldr	r7, .L22
	ldr	r5, .L22+4
.L9:
	mov	r0, #36
	bl	putDebugChar
	ldrb	r0, [r6]	@ zero_extendqisi2
	cmp	r0, #0
	beq	.L10
	mov	r8, r6
	mov	r9, #0
.L7:
	bl	putDebugChar
	ldr	r1, [r5]
	ldrb	r0, [r8]	@ zero_extendqisi2
	cmp	r1, #0
	add	r9, r9, r0
	ble	.L3
	mov	r3, r8
	mov	r4, #0
.L5:
	mov	ip, r4
	add	r4, r4, #1
	cmp	r4, r1
	beq	.L4
	ldrb	r2, [r3, #1]!	@ zero_extendqisi2
	cmp	r2, r0
	beq	.L5
.L4:
	cmp	r4, #3
	bgt	.L21
.L3:
	add	r8, r8, #1
.L6:
	ldrb	r0, [r8]	@ zero_extendqisi2
	cmp	r0, #0
	bne	.L7
.L2:
	mov	r0, #35
	bl	putDebugChar
	mov	r0, r9
	bl	hex_asc_hi
	bl	putDebugChar
	mov	r0, r9
	bl	hex_asc_lo
	bl	putDebugChar
	ldr	r3, [r7]
	cmp	r3, #0
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
	bl	getDebugChar
	cmp	r0, #43
	bne	.L9
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L21:
	mov	r0, #42
	add	r10, ip, #29
	add	r9, r9, r0
	bl	putDebugChar
	and	r0, r10, #255
	add	r9, r9, r10
	add	r8, r8, r4
	bl	putDebugChar
	b	.L6
.L10:
	mov	r9, r0
	b	.L2
.L23:
	.align	2
.L22:
	.word	kgdb_started
	.word	RUNLENMAX
	.size	putpacket, .-putpacket
	.comm	kgdb_started,4,4
	.comm	RUNLENMAX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
