	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kiss_esc_crc
_kiss_esc_crc:                          ## @kiss_esc_crc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $ecx killed $ecx def $rcx
	leaq	1(%rsi), %rax
	movb	$-127, (%rsi)
	testl	%ecx, %ecx
	jle	LBB0_12
## %bb.1:
	movzwl	%dx, %r8d
	movl	%r8d, %r11d
	shrl	$8, %r11d
	movq	_ESC_ESC@GOTPCREL(%rip), %r9
	movq	_ESC_END@GOTPCREL(%rip), %r10
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movb	%dl, (%rax)
	incq	%rax
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	leal	1(%rcx), %edx
	cmpl	$1, %edx
	jbe	LBB0_12
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$3, %ecx
	jb	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movzbl	(%rdi), %edx
	incq	%rdi
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$2, %ecx
	movl	%r8d, %edx
	cmovel	%r11d, %edx
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	decl	%ecx
	cmpb	$-128, %dl
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$-127, %dl
	jne	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movb	$-128, (%rax)
	movzbl	(%r10), %edx
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movb	$-128, (%rax)
	movzbl	(%r9), %edx
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movb	%dl, 1(%rax)
	addq	$2, %rax
	jmp	LBB0_11
LBB0_12:
	movb	$-127, (%rax)
	subl	%esi, %eax
	incl	%eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ESC_END,4,2                    ## @ESC_END
	.comm	_ESC_ESC,4,2                    ## @ESC_ESC
	.no_dead_strip	_kiss_esc_crc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kiss_esc_crc
_kiss_esc_crc:                          ; @kiss_esc_crc
	.cfi_startproc
; %bb.0:
	mov	w9, #129
	mov	x8, x1
	strb	w9, [x8], #1
	cmp	w3, #1
	b.lt	LBB0_12
; %bb.1:
	lsr	w10, w2, #8
	mov	w11, #128
Lloh0:
	adrp	x12, _ESC_ESC@GOTPAGE
Lloh1:
	ldr	x12, [x12, _ESC_ESC@GOTPAGEOFF]
Lloh2:
	adrp	x13, _ESC_END@GOTPAGE
Lloh3:
	ldr	x13, [x13, _ESC_END@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	strb	w14, [x8], #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w14, w3, #1
	cmp	w14, #1
	b.ls	LBB0_12
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w3, #3
	b.lo	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w14, [x0], #1
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	w3, #2
	csel	w14, w10, w2, eq
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	sub	w3, w3, #1
	and	w15, w14, #0xff
	cmp	w15, #128
	b.eq	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w15, #129
	b.ne	LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	strb	w11, [x8]
	ldr	w14, [x13]
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	strb	w11, [x8]
	ldr	w14, [x12]
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	strb	w14, [x8, #1]
	add	x8, x8, #2
	b	LBB0_3
LBB0_12:
	strb	w9, [x8]
	sub	w8, w8, w1
	add	w0, w8, #1
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ESC_END,4,2                    ; @ESC_END
	.comm	_ESC_ESC,4,2                    ; @ESC_ESC
	.no_dead_strip	_kiss_esc_crc
.subsections_via_symbols
