	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lex_getch
_lex_getch:                             ## @lex_getch
	.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
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	%rdi, %rbx
	cmpq	$0, 48(%rdi)
	je	LBB0_3
LBB0_2:
	movq	_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_26:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_EOF@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	movl	(%rbx), %ecx
	cmpl	%ecx, %eax
	jne	LBB0_4
## %bb.7:
	movq	40(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.8:
	callq	_fgetc
	movl	%eax, %ecx
	movl	(%r14), %eax
	cmpl	%eax, %ecx
	setne	%dl
	je	LBB0_12
## %bb.9:
	movq	_SCHAR_MAX@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	cmpl	(%r15), %ecx
	jle	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	incq	8(%rbx)
	movq	40(%rbx), %rdi
	callq	_fgetc
	movl	%eax, %ecx
	movl	(%r14), %eax
	cmpl	%eax, %ecx
	setne	%dl
	jne	LBB0_10
LBB0_12:
	testb	%dl, %dl
	je	LBB0_21
## %bb.13:
	movq	_conf_file_sum@GOTPCREL(%rip), %rdx
	addl	%ecx, (%rdx)
	incq	8(%rbx)
	cmpl	%ecx, %eax
	je	LBB0_22
	jmp	LBB0_24
LBB0_4:
	movl	%eax, (%rbx)
	cmpq	$0, 40(%rbx)
	je	LBB0_6
## %bb.5:
	movq	_conf_file_sum@GOTPCREL(%rip), %rax
	addl	%ecx, (%rax)
LBB0_6:
	incq	8(%rbx)
	movl	(%r14), %eax
LBB0_21:
	cmpl	%ecx, %eax
	jne	LBB0_24
LBB0_22:
	cmpq	$0, 8(%rbx)
	jne	LBB0_25
## %bb.23:
	cmpl	$10, %eax
	jne	LBB0_26
	jmp	LBB0_25
LBB0_14:
	movq	_remote_config@GOTPCREL(%rip), %r8
	movq	(%r8), %r9
	movq	8(%r8), %rcx
	leaq	(%r9,%rcx), %rdi
	movq	_SCHAR_MAX@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movsbl	(%r9,%rcx), %ecx
	cmpl	%ecx, %edx
	jge	LBB0_17
## %bb.15:
	movq	8(%rbx), %rsi
	incq	%rsi
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	%rsi, 8(%rbx)
	movsbl	1(%rdi), %ecx
	incq	%rdi
	incq	%rsi
	cmpl	%ecx, %edx
	jl	LBB0_16
LBB0_17:
	testb	%cl, %cl
	je	LBB0_18
## %bb.19:
	movsbl	%cl, %ecx
	incq	%rdi
	incq	8(%rbx)
	jmp	LBB0_20
LBB0_18:
	movl	%eax, %ecx
LBB0_20:
	subl	%r9d, %edi
	movslq	%edi, %rdx
	movq	%rdx, 8(%r8)
	cmpl	%ecx, %eax
	je	LBB0_22
LBB0_24:
	movl	%ecx, %eax
	cmpl	$10, %ecx
	jne	LBB0_26
LBB0_25:
	movups	8(%rbx), %xmm0
	movups	%xmm0, 24(%rbx)
	incl	16(%rbx)
	movq	$0, 8(%rbx)
	movl	$10, %eax
	jmp	LBB0_26
	.cfi_endproc
                                        ## -- End function
	.comm	_EOF,4,2                        ## @EOF
	.comm	_conf_file_sum,4,2              ## @conf_file_sum
	.comm	_SCHAR_MAX,4,2                  ## @SCHAR_MAX
	.comm	_remote_config,16,3             ## @remote_config
	.no_dead_strip	_lex_getch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lex_getch
_lex_getch:                             ; @lex_getch
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	cbz	x0, LBB0_2
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #48]
	cbz	x8, LBB0_4
LBB0_2:
Lloh0:
	adrp	x8, _EOF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EOF@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh3:
	adrp	x20, _EOF@GOTPAGE
Lloh4:
	ldr	x20, [x20, _EOF@GOTPAGEOFF]
	ldr	w0, [x20]
	ldr	w8, [x19]
	cmp	w0, w8
	b.ne	LBB0_9
; %bb.5:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_17
; %bb.6:
	mov	x0, x8
	bl	_fgetc
	mov	x8, x0
	ldr	w0, [x20]
	cmp	w8, w0
	cset	w9, ne
Lloh5:
	adrp	x21, _SCHAR_MAX@GOTPAGE
Lloh6:
	ldr	x21, [x21, _SCHAR_MAX@GOTPAGEOFF]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x21]
	ccmp	w8, w10, #4, ne
	b.le	LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x19, #8]
	add	x8, x8, #1
	str	x8, [x19, #8]
	ldr	x0, [x19, #40]
	bl	_fgetc
	mov	x8, x0
	ldr	w0, [x20]
	cmp	w8, w0
	cset	w9, ne
	b	LBB0_7
LBB0_9:
	str	w0, [x19]
	ldr	x9, [x19, #40]
	cbz	x9, LBB0_11
; %bb.10:
Lloh7:
	adrp	x9, _conf_file_sum@GOTPAGE
Lloh8:
	ldr	x9, [x9, _conf_file_sum@GOTPAGEOFF]
	ldr	w10, [x9]
	add	w10, w10, w8
	str	w10, [x9]
LBB0_11:
	ldr	x9, [x19, #8]
	add	x9, x9, #1
	str	x9, [x19, #8]
	ldr	w0, [x20]
	cmp	w0, w8
	b.eq	LBB0_15
	b	LBB0_26
LBB0_12:
	cbz	w9, LBB0_14
; %bb.13:
Lloh9:
	adrp	x9, _conf_file_sum@GOTPAGE
Lloh10:
	ldr	x9, [x9, _conf_file_sum@GOTPAGEOFF]
	ldr	w10, [x9]
	add	w10, w10, w8
	str	w10, [x9]
	ldr	x9, [x19, #8]
	add	x9, x9, #1
	str	x9, [x19, #8]
LBB0_14:
	cmp	w0, w8
	b.ne	LBB0_26
LBB0_15:
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_27
; %bb.16:
	cmp	w0, #10
	b.ne	LBB0_3
	b	LBB0_27
LBB0_17:
Lloh11:
	adrp	x9, _remote_config@GOTPAGE
Lloh12:
	ldr	x9, [x9, _remote_config@GOTPAGEOFF]
	ldp	x10, x8, [x9]
	add	x11, x10, x8
Lloh13:
	adrp	x8, _SCHAR_MAX@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SCHAR_MAX@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	ldrsb	w12, [x11]
	cmp	w8, w12
	b.ge	LBB0_21
; %bb.18:
	ldr	x12, [x19, #8]
	add	x12, x12, #1
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	str	x12, [x19, #8]
	ldrsb	w13, [x11, #1]!
	add	x12, x12, #1
	cmp	w8, w13
	b.lt	LBB0_19
; %bb.20:
	and	w8, w13, #0xff
	b	LBB0_22
LBB0_21:
	and	w8, w12, #0xff
LBB0_22:
	cbz	w8, LBB0_24
; %bb.23:
	sxtb	w8, w8
	add	x11, x11, #1
	ldr	x12, [x19, #8]
	add	x12, x12, #1
	str	x12, [x19, #8]
	b	LBB0_25
LBB0_24:
	mov	x8, x0
LBB0_25:
	sub	w10, w11, w10
	sxtw	x10, w10
	str	x10, [x9, #8]
	cmp	w0, w8
	b.eq	LBB0_15
LBB0_26:
	mov	x0, x8
	cmp	w8, #10
	b.ne	LBB0_3
LBB0_27:
	ldur	q0, [x19, #8]
	stur	q0, [x19, #24]
	ldr	w8, [x19, #16]
	add	w8, w8, #1
	str	w8, [x19, #16]
	str	xzr, [x19, #8]
	mov	w0, #10
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_EOF,4,2                        ; @EOF
	.comm	_conf_file_sum,4,2              ; @conf_file_sum
	.comm	_SCHAR_MAX,4,2                  ; @SCHAR_MAX
	.comm	_remote_config,16,3             ; @remote_config
	.no_dead_strip	_lex_getch
.subsections_via_symbols
