	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function IntAsciiFromInput
_IntAsciiFromInput:                     ## @IntAsciiFromInput
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_ENHANCED_KEY@GOTPCREL(%rip), %rax
	xorl	%r8d, %r8d
	testl	%esi, (%rax)
	setne	%al
	movq	_ScanToAscii@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rdx
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.2:
	movb	%al, %r8b
	movq	(%rdi), %rdi
	addq	$24, %rcx
	xorl	%eax, %eax
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	24(%rcx), %rdx
	addq	$48, %rcx
	testq	%rdx, %rdx
	je	LBB0_15
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rdi, %rdx
	jne	LBB0_14
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%r8d, -16(%rcx)
	jne	LBB0_14
## %bb.5:
	movq	16(%rcx), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:
	movq	_NUMLOCK_ON@GOTPCREL(%rip), %rdx
	testl	%esi, (%rdx)
	je	LBB0_8
## %bb.7:
	movq	_SHIFT_PRESSED@GOTPCREL(%rip), %rdx
	testl	%esi, (%rdx)
	jne	LBB0_8
LBB0_15:
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_10:
	movq	_CAPSLOCK_ON@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_13
## %bb.11:
	cmpq	$0, 8(%rcx)
	je	LBB0_13
## %bb.12:
	movq	_SHIFT_PRESSED@GOTPCREL(%rip), %rax
	xorl	(%rax), %esi
LBB0_13:
	movq	_SHIFT_PRESSED@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	jne	LBB0_9
LBB0_8:
	addq	$-8, %rcx
LBB0_9:
	movq	(%rcx), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENHANCED_KEY,4,2               ## @ENHANCED_KEY
	.comm	_ScanToAscii,8,3                ## @ScanToAscii
	.comm	_NUMLOCK_ON,4,2                 ## @NUMLOCK_ON
	.comm	_SHIFT_PRESSED,4,2              ## @SHIFT_PRESSED
	.comm	_CAPSLOCK_ON,4,2                ## @CAPSLOCK_ON
	.no_dead_strip	_IntAsciiFromInput
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function IntAsciiFromInput
_IntAsciiFromInput:                     ; @IntAsciiFromInput
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _ENHANCED_KEY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENHANCED_KEY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w1
	cset	w9, ne
Lloh3:
	adrp	x8, _ScanToAscii@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ScanToAscii@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x11, [x8]
	cbz	x11, LBB0_9
; %bb.1:
	ldr	x10, [x0]
	add	x8, x8, #24
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x11, [x8, #24]
	add	x8, x8, #48
	cbz	x11, LBB0_9
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x11, x10
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldur	w11, [x8, #-16]
	cmp	w11, w9
	b.ne	LBB0_2
; %bb.5:
	ldr	x0, [x8, #16]
	cbz	x0, LBB0_10
; %bb.6:
Lloh6:
	adrp	x9, _NUMLOCK_ON@GOTPAGE
Lloh7:
	ldr	x9, [x9, _NUMLOCK_ON@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w1
	b.eq	LBB0_14
; %bb.7:
Lloh9:
	adrp	x9, _SHIFT_PRESSED@GOTPAGE
Lloh10:
	ldr	x9, [x9, _SHIFT_PRESSED@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w1
	b.ne	LBB0_14
; %bb.8:
	ret
LBB0_9:
	mov	x0, #0
	ret
LBB0_10:
Lloh12:
	adrp	x9, _CAPSLOCK_ON@GOTPAGE
Lloh13:
	ldr	x9, [x9, _CAPSLOCK_ON@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w1
	b.eq	LBB0_13
; %bb.11:
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_13
; %bb.12:
Lloh15:
	adrp	x9, _SHIFT_PRESSED@GOTPAGE
Lloh16:
	ldr	x9, [x9, _SHIFT_PRESSED@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	eor	w1, w9, w1
LBB0_13:
Lloh18:
	adrp	x9, _SHIFT_PRESSED@GOTPAGE
Lloh19:
	ldr	x9, [x9, _SHIFT_PRESSED@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	tst	w9, w1
	b.ne	LBB0_15
LBB0_14:
	sub	x8, x8, #8
LBB0_15:
	ldr	x0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_ENHANCED_KEY,4,2               ; @ENHANCED_KEY
	.comm	_ScanToAscii,8,3                ; @ScanToAscii
	.comm	_NUMLOCK_ON,4,2                 ; @NUMLOCK_ON
	.comm	_SHIFT_PRESSED,4,2              ; @SHIFT_PRESSED
	.comm	_CAPSLOCK_ON,4,2                ; @CAPSLOCK_ON
	.no_dead_strip	_IntAsciiFromInput
.subsections_via_symbols
