	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_entry
_get_entry:                             ## @get_entry
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	leaq	L_.str(%rip), %r14
	xorl	%r15d, %r15d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%r15d, %eax
	incl	%r15d
	movb	%bl, -28(%rbp,%rax)
	movsbl	%bl, %edi
	callq	_putchar
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$13, %ebx
	je	LBB0_11
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_getchar
	movl	%eax, %ebx
	cmpl	$8, %eax
	jne	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	testl	%r15d, %r15d
	jle	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	callq	_puts
	decl	%r15d
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	leal	-48(%rbx), %eax
	cmpl	$10, %eax
	jb	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	leal	-65(%rbx), %eax
	cmpl	$26, %eax
	jb	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	leal	-97(%rbx), %eax
	cmpl	$25, %eax
	ja	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$4, %r15d
	jb	LBB0_9
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$3, %r15d
	jbe	LBB0_9
	jmp	LBB0_10
LBB0_11:
	movl	$10, %edi
	callq	_putchar
	testl	%r15d, %r15d
	je	LBB0_16
## %bb.12:
	jle	LBB0_13
## %bb.14:
	movl	%r15d, %ecx
	cmpl	$1, %r15d
	jne	LBB0_17
## %bb.15:
	xorl	%edx, %edx
                                        ## implicit-def: $eax
	xorl	%esi, %esi
	testb	$1, %cl
	jne	LBB0_21
	jmp	LBB0_22
LBB0_16:
	movq	_VIDEO_CURRENT_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_22
LBB0_13:
	xorl	%eax, %eax
	jmp	LBB0_22
LBB0_17:
	movl	%ecx, %esi
	andl	$-2, %esi
	xorl	%edx, %edx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	shll	$4, %eax
	movsbl	-28(%rbp,%rdx), %edi
	orl	$32, %edi
	cmpb	$58, %dil
	leal	268435369(%rax,%rdi), %ebx
	leal	268435408(%rax,%rdi), %eax
	cmovgel	%ebx, %eax
	shll	$4, %eax
	movsbl	-27(%rbp,%rdx), %edi
	orl	$32, %edi
	cmpb	$58, %dil
	leal	-87(%rax,%rdi), %ebx
	leal	-48(%rax,%rdi), %eax
	cmovgel	%ebx, %eax
	addq	$2, %rdx
	cmpq	%rdx, %rsi
	jne	LBB0_18
## %bb.19:
	movl	%eax, %esi
	shll	$4, %esi
	testb	$1, %cl
	je	LBB0_22
LBB0_21:
	movsbl	-28(%rbp,%rdx), %eax
	orl	$32, %eax
	cmpb	$58, %al
	leal	-87(%rsi,%rax), %ecx
	leal	-48(%rsi,%rax), %eax
	cmovgel	%ecx, %eax
LBB0_22:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\b \b"

	.comm	_VIDEO_CURRENT_MODE,4,2         ## @VIDEO_CURRENT_MODE
	.no_dead_strip	_get_entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_entry
_get_entry:                             ; @get_entry
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	w21, #0
Lloh0:
	adrp	x19, l_.str@PAGE
Lloh1:
	add	x19, x19, l_.str@PAGEOFF
	add	x22, sp, #12
	b	LBB0_4
LBB0_1:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w23, w21, #1
	strb	w20, [x22, w21, uxtw]
	sxtb	w0, w20
	bl	_putchar
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x21, x23
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	w20, #13
	b.eq	LBB0_12
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	bl	_getchar
	mov	x20, x0
	cmp	w0, #8
	b.ne	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	subs	w23, w21, #1
	b.lt	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_puts
	b	LBB0_2
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	sub	w8, w20, #48
	cmp	w8, #10
	b.lo	LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	w8, w20, #65
	cmp	w8, #26
	b.lo	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	w8, w20, #97
	cmp	w8, #25
	b.hi	LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	w21, #4
	b.lo	LBB0_1
	b	LBB0_3
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w21, #3
	b.ls	LBB0_1
	b	LBB0_3
LBB0_12:
	mov	w0, #10
	bl	_putchar
	cbz	w21, LBB0_16
; %bb.13:
	cmp	w21, #1
	b.lt	LBB0_17
; %bb.14:
	mov	w0, #0
	add	x8, sp, #12
	mov	w9, #-48
	mov	w10, #-87
	mov	w11, w21
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldrsb	w12, [x8], #1
	orr	w12, w12, #0x20
	cmp	w12, #57
	csel	w13, w10, w9, gt
	add	w12, w12, w0, lsl #4
	add	w0, w12, w13
	subs	x11, x11, #1
	b.ne	LBB0_15
	b	LBB0_18
LBB0_16:
Lloh2:
	adrp	x8, _VIDEO_CURRENT_MODE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VIDEO_CURRENT_MODE@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	b	LBB0_18
LBB0_17:
	mov	w0, #0
LBB0_18:
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\b \b"

	.comm	_VIDEO_CURRENT_MODE,4,2         ; @VIDEO_CURRENT_MODE
	.no_dead_strip	_get_entry
.subsections_via_symbols
