	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HUlib_keyInIText               ## -- Begin function HUlib_keyInIText
	.p2align	4, 0x90
_HUlib_keyInIText:                      ## @HUlib_keyInIText
	.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 $esi killed $esi def $rsi
	leal	-32(%rsi), %eax
	cmpb	$63, %al
	ja	LBB0_2
## %bb.1:
	movsbl	%sil, %esi
	callq	_HUlib_addCharToTextLine
	jmp	LBB0_5
LBB0_2:
	movq	_KEY_BACKSPACE@GOTPCREL(%rip), %rax
	cmpb	%sil, (%rax)
	jne	LBB0_4
## %bb.3:
	callq	_HUlib_delCharFromIText
	jmp	LBB0_5
LBB0_4:
	movq	_KEY_ENTER@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpb	%sil, (%rcx)
	jne	LBB0_6
LBB0_5:
	movl	$1, %eax
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KEY_BACKSPACE,1,0              ## @KEY_BACKSPACE
	.comm	_KEY_ENTER,1,0                  ## @KEY_ENTER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HUlib_keyInIText               ; -- Begin function HUlib_keyInIText
	.p2align	2
_HUlib_keyInIText:                      ; @HUlib_keyInIText
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	sub	w8, w1, #32
	cmp	w8, #63
	b.hi	LBB0_2
; %bb.1:
	sxtb	w1, w1
	bl	_HUlib_addCharToTextLine
	b	LBB0_5
LBB0_2:
Lloh0:
	adrp	x8, _KEY_BACKSPACE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KEY_BACKSPACE@GOTPAGEOFF]
	ldrb	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_4
; %bb.3:
	bl	_HUlib_delCharFromIText
	b	LBB0_5
LBB0_4:
Lloh2:
	adrp	x8, _KEY_ENTER@GOTPAGE
Lloh3:
	ldr	x8, [x8, _KEY_ENTER@GOTPAGEOFF]
	ldrb	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_6
LBB0_5:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_KEY_BACKSPACE,1,0              ; @KEY_BACKSPACE
	.comm	_KEY_ENTER,1,0                  ; @KEY_ENTER
.subsections_via_symbols
