	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function putpacket
_putpacket:                             ## @putpacket
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	leaq	1(%rdi), %r15
	leaq	_putpacket.outbuf+1(%rip), %r12
	leaq	_putpacket.outbuf(%rip), %r14
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movb	$35, (%rcx)
	movq	_hexchars@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%eax, %esi
	sarl	$4, %esi
	movslq	%esi, %rsi
	movb	(%rdx,%rsi,8), %bl
	movb	%bl, 1(%rcx)
	andl	$15, %eax
	movb	(%rdx,%rax,8), %al
	movb	%al, 2(%rcx)
	movb	$0, 3(%rcx)
	movq	%r14, %rdi
	callq	_putdbgstr
	xorl	%eax, %eax
	callq	_getdbgchar
	andl	$127, %eax
	cmpl	$43, %eax
	je	LBB0_5
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movb	$36, _putpacket.outbuf(%rip)
	movb	(%r13), %dl
	movl	$0, %eax
	movq	%r12, %rcx
	testb	%dl, %dl
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	movq	%r15, %rsi
	movq	%r12, %rcx
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	%dl, %edx
	movb	%dl, (%rcx)
	incq	%rcx
	addl	%edx, %eax
	movzbl	(%rsi), %edx
	incq	%rsi
	testb	%dl, %dl
	jne	LBB0_3
	jmp	LBB0_4
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_putpacket.outbuf,2048,4 ## @putpacket.outbuf
	.comm	_hexchars,8,3                   ## @hexchars
	.no_dead_strip	_putpacket
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function putpacket
_putpacket:                             ; @putpacket
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	add	x21, x0, #1
Lloh0:
	adrp	x20, _putpacket.outbuf@PAGE
Lloh1:
	add	x20, x20, _putpacket.outbuf@PAGEOFF
	mov	w22, #36
	mov	w23, #35
Lloh2:
	adrp	x24, _hexchars@GOTPAGE
Lloh3:
	ldr	x24, [x24, _hexchars@GOTPAGEOFF]
Lloh4:
	adrp	x25, _putpacket.outbuf@PAGE+1
Lloh5:
	add	x25, x25, _putpacket.outbuf@PAGEOFF+1
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w9, #0
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	strb	w23, [x8]
	ldr	x10, [x24]
	asr	w11, w9, #4
	ldr	x11, [x10, w11, sxtw #3]
	strb	w11, [x8, #1]
	and	w9, w9, #0xf
	ldr	x9, [x10, w9, uxtw #3]
	strb	w9, [x8, #2]
	strb	wzr, [x8, #3]
	mov	x0, x20
	bl	_putdbgstr
	bl	_getdbgchar
	and	w8, w0, #0x7f
	cmp	w8, #43
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	mov	x8, x20
	strb	w22, [x8], #1
	ldrb	w10, [x19]
	cbz	w10, LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w9, #0
	mov	x11, x21
	mov	x8, x25
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	strb	w10, [x8], #1
	add	w9, w9, w10, sxtb
	ldrb	w10, [x11], #1
	cbnz	w10, LBB0_5
	b	LBB0_2
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_putpacket.outbuf,2048,0 ; @putpacket.outbuf
	.comm	_hexchars,8,3                   ; @hexchars
	.no_dead_strip	_putpacket
.subsections_via_symbols
