	.file	"extr_debug.c_putpacket.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	putpacket, @function
putpacket:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	lea	rbp, 1[rdi]
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	.p2align 4,,10
	.p2align 3
.L4:
	mov	BYTE PTR outbuf.1928[rip], 36
	movsx	ecx, BYTE PTR [rbx]
	mov	edx, ecx
	test	ecx, ecx
	je	.L5
	mov	rsi, rbp
	lea	rax, outbuf.1928[rip+1]
	xor	edi, edi
	.p2align 4,,10
	.p2align 3
.L3:
	add	rsi, 1
	mov	BYTE PTR [rax], dl
	add	edi, ecx
	add	rax, 1
	movsx	ecx, BYTE PTR -1[rsi]
	mov	edx, ecx
	test	ecx, ecx
	jne	.L3
	mov	edx, edi
	and	edi, 15
	sar	edx, 4
	sal	rdi, 3
	movsx	rdx, edx
	sal	rdx, 3
.L2:
	mov	rcx, QWORD PTR hexchars[rip]
	mov	BYTE PTR [rax], 35
	mov	rdx, QWORD PTR [rcx+rdx]
	mov	BYTE PTR 1[rax], dl
	mov	rdx, QWORD PTR [rcx+rdi]
	lea	rdi, outbuf.1928[rip]
	mov	BYTE PTR 3[rax], 0
	mov	BYTE PTR 2[rax], dl
	call	putdbgstr@PLT
	xor	eax, eax
	call	getdbgchar@PLT
	and	eax, 127
	cmp	eax, 43
	jne	.L4
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	xor	edi, edi
	xor	edx, edx
	lea	rax, outbuf.1928[rip+1]
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	putpacket, .-putpacket
	.local	outbuf.1928
	.comm	outbuf.1928,2048,32
	.comm	hexchars,8,8
	.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_debug.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}
	ldr	r5, .L11
	mov	r4, r0
	mov	r7, r5
	mov	r6, #0
	ldr	r9, .L11+4
	add	r8, r0, #1
.L4:
	mov	r3, #36
	strb	r3, [r5]
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L5
	mov	r0, r8
	mov	r1, #0
	ldr	r2, .L11+8
.L3:
	strb	r3, [r2], #1
	add	r1, r1, r3
	ldrb	r3, [r0], #1	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L3
	and	r3, r1, #15
	asr	r0, r1, #4
	lsl	r1, r0, #2
	lsl	r3, r3, #2
.L2:
	mov	r0, #35
	ldr	ip, [r9]
	strb	r0, [r2]
	ldr	r1, [ip, r1]
	mov	r0, r7
	strb	r1, [r2, #1]
	ldr	r3, [ip, r3]
	strb	r6, [r2, #3]
	strb	r3, [r2, #2]
	bl	putdbgstr
	bl	getdbgchar
	and	r0, r0, #127
	cmp	r0, #43
	bne	.L4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L5:
	mov	r1, r3
	ldr	r2, .L11+8
	b	.L2
.L12:
	.align	2
.L11:
	.word	.LANCHOR0
	.word	hexchars
	.word	.LANCHOR0+1
	.size	putpacket, .-putpacket
	.comm	hexchars,4,4
	.bss
	.align	2
	.set	.LANCHOR0,. + 0
	.type	outbuf.4212, %object
	.size	outbuf.4212, 2048
outbuf.4212:
	.space	2048
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
