	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_input
_process_input:                         ## @process_input
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	testl	%edx, %edx
	je	LBB0_1
## %bb.2:
	xorl	%eax, %eax
	callq	_get_mods
	movq	_MODS_SHIFT_MASK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.3:
	addl	$-128, %ebx
	movl	$-1, %eax
	cmpl	$22, %ebx
	ja	LBB0_29
## %bb.4:
	movl	$8021253, %ecx                  ## imm = 0x7A6505
	btl	%ebx, %ecx
	jae	LBB0_29
## %bb.5:
	movslq	%ebx, %rax
	leaq	l_switch.table.process_input(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	movsbl	(%rax), %eax
	jmp	LBB0_29
LBB0_1:
	addl	$-131, %ebx
	andl	$-5, %ebx
	xorl	%eax, %eax
	negl	%ebx
	sbbl	%eax, %eax
LBB0_29:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_6:
	movl	$48, %eax
	cmpl	$150, %ebx
	je	LBB0_29
## %bb.7:
	movq	_KC_KP_0@GOTPCREL(%rip), %rcx
	cmpl	%ebx, (%rcx)
	je	LBB0_29
## %bb.8:
	movq	_KC_KP_1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%ebx, %eax
	jg	LBB0_11
## %bb.9:
	movq	_KC_KP_9@GOTPCREL(%rip), %rcx
	cmpl	%ebx, (%rcx)
	jge	LBB0_10
LBB0_11:
	cmpl	$147, %ebx
	jg	LBB0_13
## %bb.12:
	movq	_KC_1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%ebx, %eax
	jg	LBB0_13
LBB0_10:
	subl	%eax, %ebx
	addl	$49, %ebx
	movl	%ebx, %eax
	jmp	LBB0_29
LBB0_13:
	addl	$-128, %ebx
	cmpl	$24, %ebx
	ja	LBB0_28
## %bb.14:
	movl	$-2, %eax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rbx,4), %rdx
	addq	%rcx, %rdx
	jmpq	*%rdx
LBB0_16:
	movq	_CALC_CHAR_DIV@GOTPCREL(%rip), %rax
	movsbl	(%rax), %eax
	jmp	LBB0_29
LBB0_15:
	movq	_CALC_CHAR_SUB@GOTPCREL(%rip), %rax
	movsbl	(%rax), %eax
	jmp	LBB0_29
LBB0_25:
	xorl	%eax, %eax
	jmp	LBB0_29
LBB0_22:
	movq	_CALC_CHAR_DEC@GOTPCREL(%rip), %rax
	movsbl	(%rax), %eax
	jmp	LBB0_29
LBB0_19:
	movq	_CALC_CHAR_TAN@GOTPCREL(%rip), %rax
	movsbl	(%rax), %eax
	jmp	LBB0_29
LBB0_17:
	movq	_CALC_CHAR_SIN@GOTPCREL(%rip), %rax
	movsbl	(%rax), %eax
	jmp	LBB0_29
LBB0_20:
	movq	_CALC_CHAR_SQT@GOTPCREL(%rip), %rax
	movsbl	(%rax), %eax
	jmp	LBB0_29
LBB0_23:
	movq	_CALC_CHAR_PI@GOTPCREL(%rip), %rax
	movsbl	(%rax), %eax
	jmp	LBB0_29
LBB0_21:
	movq	_CALC_CHAR_LGE@GOTPCREL(%rip), %rax
	movsbl	(%rax), %eax
	jmp	LBB0_29
LBB0_28:
	movl	$-1, %eax
	jmp	LBB0_29
LBB0_24:
	movq	_CALC_CHAR_EUL@GOTPCREL(%rip), %rax
	movsbl	(%rax), %eax
	jmp	LBB0_29
LBB0_18:
	movq	_CALC_CHAR_COS@GOTPCREL(%rip), %rax
	movsbl	(%rax), %eax
	jmp	LBB0_29
LBB0_27:
	movl	$-4, %eax
	jmp	LBB0_29
LBB0_26:
	movl	$-3, %eax
	jmp	LBB0_29
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_28, LBB0_28-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_29, LBB0_29-LJTI0_0
.set L0_0_set_27, LBB0_27-LJTI0_0
.set L0_0_set_26, LBB0_26-LJTI0_0
LJTI0_0:
	.long	L0_0_set_19
	.long	L0_0_set_16
	.long	L0_0_set_17
	.long	L0_0_set_25
	.long	L0_0_set_20
	.long	L0_0_set_23
	.long	L0_0_set_15
	.long	L0_0_set_25
	.long	L0_0_set_21
	.long	L0_0_set_16
	.long	L0_0_set_28
	.long	L0_0_set_15
	.long	L0_0_set_22
	.long	L0_0_set_28
	.long	L0_0_set_28
	.long	L0_0_set_24
	.long	L0_0_set_22
	.long	L0_0_set_18
	.long	L0_0_set_29
	.long	L0_0_set_28
	.long	L0_0_set_28
	.long	L0_0_set_28
	.long	L0_0_set_28
	.long	L0_0_set_27
	.long	L0_0_set_26
	.end_data_region
                                        ## -- End function
	.comm	_MODS_SHIFT_MASK,4,2            ## @MODS_SHIFT_MASK
	.comm	_CALC_CHAR_BEG,1,0              ## @CALC_CHAR_BEG
	.comm	_CALC_CHAR_END,1,0              ## @CALC_CHAR_END
	.comm	_CALC_CHAR_ADD,1,0              ## @CALC_CHAR_ADD
	.comm	_CALC_CHAR_EXP,1,0              ## @CALC_CHAR_EXP
	.comm	_CALC_CHAR_MUL,1,0              ## @CALC_CHAR_MUL
	.comm	_CALC_CHAR_ASN,1,0              ## @CALC_CHAR_ASN
	.comm	_CALC_CHAR_ACS,1,0              ## @CALC_CHAR_ACS
	.comm	_CALC_CHAR_ATN,1,0              ## @CALC_CHAR_ATN
	.comm	_CALC_CHAR_LOG,1,0              ## @CALC_CHAR_LOG
	.comm	_KC_KP_0,4,2                    ## @KC_KP_0
	.comm	_KC_KP_1,4,2                    ## @KC_KP_1
	.comm	_KC_KP_9,4,2                    ## @KC_KP_9
	.comm	_KC_1,4,2                       ## @KC_1
	.comm	_CALC_CHAR_SUB,1,0              ## @CALC_CHAR_SUB
	.comm	_CALC_CHAR_DIV,1,0              ## @CALC_CHAR_DIV
	.comm	_CALC_CHAR_SIN,1,0              ## @CALC_CHAR_SIN
	.comm	_CALC_CHAR_COS,1,0              ## @CALC_CHAR_COS
	.comm	_CALC_CHAR_TAN,1,0              ## @CALC_CHAR_TAN
	.comm	_CALC_CHAR_SQT,1,0              ## @CALC_CHAR_SQT
	.comm	_CALC_CHAR_LGE,1,0              ## @CALC_CHAR_LGE
	.comm	_CALC_CHAR_DEC,1,0              ## @CALC_CHAR_DEC
	.comm	_CALC_CHAR_PI,1,0               ## @CALC_CHAR_PI
	.comm	_CALC_CHAR_EUL,1,0              ## @CALC_CHAR_EUL
	.no_dead_strip	_process_input
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.process_input
l_switch.table.process_input:
	.quad	_CALC_CHAR_ATN
	.quad	_CALC_CHAR_BEG
	.quad	_CALC_CHAR_ASN
	.quad	_CALC_CHAR_BEG
	.quad	_CALC_CHAR_BEG
	.quad	_CALC_CHAR_BEG
	.quad	_CALC_CHAR_BEG
	.quad	_CALC_CHAR_BEG
	.quad	_CALC_CHAR_LOG
	.quad	_CALC_CHAR_BEG
	.quad	_CALC_CHAR_ADD
	.quad	_CALC_CHAR_BEG
	.quad	_CALC_CHAR_BEG
	.quad	_CALC_CHAR_MUL
	.quad	_CALC_CHAR_ADD
	.quad	_CALC_CHAR_BEG
	.quad	_CALC_CHAR_BEG
	.quad	_CALC_CHAR_ACS
	.quad	_CALC_CHAR_BEG
	.quad	_CALC_CHAR_BEG
	.quad	_CALC_CHAR_MUL
	.quad	_CALC_CHAR_EXP
	.quad	_CALC_CHAR_END

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_input
_process_input:                         ; @process_input
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	cbz	w2, LBB0_5
; %bb.1:
	bl	_get_mods
Lloh0:
	adrp	x8, _MODS_SHIFT_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MODS_SHIFT_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_6
; %bb.2:
	sub	w8, w19, #128
	cmp	w8, #22
	b.hi	LBB0_4
; %bb.3:
	mov	w9, #25861
	movk	w9, #122, lsl #16
	lsr	w9, w9, w8
	tbnz	w9, #0, LBB0_12
LBB0_4:
	mov	w0, #-1
	b	LBB0_14
LBB0_5:
	sub	w8, w19, #131
	tst	w8, #0xfffffffb
	csetm	w0, ne
	b	LBB0_14
LBB0_6:
	mov	w0, #48
	cmp	w19, #150
	b.eq	LBB0_14
; %bb.7:
Lloh3:
	adrp	x8, _KC_KP_0@GOTPAGE
Lloh4:
	ldr	x8, [x8, _KC_KP_0@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w19
	b.eq	LBB0_14
; %bb.8:
Lloh6:
	adrp	x8, _KC_KP_1@GOTPAGE
Lloh7:
	ldr	x8, [x8, _KC_KP_1@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _KC_KP_9@GOTPAGE
Lloh10:
	ldr	x9, [x9, _KC_KP_9@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	w8, w19
	ccmp	w9, w19, #8, le
	b.ge	LBB0_11
; %bb.9:
	cmp	w19, #147
	b.gt	LBB0_15
; %bb.10:
Lloh12:
	adrp	x8, _KC_1@GOTPAGE
Lloh13:
	ldr	x8, [x8, _KC_1@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmp	w8, w19
	b.gt	LBB0_15
LBB0_11:
	sub	w8, w19, w8
	add	w0, w8, #49
	b	LBB0_14
LBB0_12:
Lloh15:
	adrp	x9, l_switch.table.process_input@PAGE
Lloh16:
	add	x9, x9, l_switch.table.process_input@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
LBB0_13:
	ldrsb	w0, [x8]
LBB0_14:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_15:
	sub	w8, w19, #128
	cmp	w8, #24
	b.hi	LBB0_4
; %bb.16:
	mov	w0, #-2
Lloh17:
	adrp	x9, lJTI0_0@PAGE
Lloh18:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_17:
Lloh19:
	adrp	x8, _CALC_CHAR_DIV@GOTPAGE
Lloh20:
	ldr	x8, [x8, _CALC_CHAR_DIV@GOTPAGEOFF]
	b	LBB0_13
LBB0_18:
Lloh21:
	adrp	x8, _CALC_CHAR_SUB@GOTPAGE
Lloh22:
	ldr	x8, [x8, _CALC_CHAR_SUB@GOTPAGEOFF]
	b	LBB0_13
LBB0_19:
	mov	w0, #0
	b	LBB0_14
LBB0_20:
Lloh23:
	adrp	x8, _CALC_CHAR_DEC@GOTPAGE
Lloh24:
	ldr	x8, [x8, _CALC_CHAR_DEC@GOTPAGEOFF]
	b	LBB0_13
LBB0_21:
Lloh25:
	adrp	x8, _CALC_CHAR_TAN@GOTPAGE
Lloh26:
	ldr	x8, [x8, _CALC_CHAR_TAN@GOTPAGEOFF]
	b	LBB0_13
LBB0_22:
Lloh27:
	adrp	x8, _CALC_CHAR_SIN@GOTPAGE
Lloh28:
	ldr	x8, [x8, _CALC_CHAR_SIN@GOTPAGEOFF]
	b	LBB0_13
LBB0_23:
Lloh29:
	adrp	x8, _CALC_CHAR_SQT@GOTPAGE
Lloh30:
	ldr	x8, [x8, _CALC_CHAR_SQT@GOTPAGEOFF]
	b	LBB0_13
LBB0_24:
Lloh31:
	adrp	x8, _CALC_CHAR_PI@GOTPAGE
Lloh32:
	ldr	x8, [x8, _CALC_CHAR_PI@GOTPAGEOFF]
	b	LBB0_13
LBB0_25:
Lloh33:
	adrp	x8, _CALC_CHAR_LGE@GOTPAGE
Lloh34:
	ldr	x8, [x8, _CALC_CHAR_LGE@GOTPAGEOFF]
	b	LBB0_13
LBB0_26:
Lloh35:
	adrp	x8, _CALC_CHAR_EUL@GOTPAGE
Lloh36:
	ldr	x8, [x8, _CALC_CHAR_EUL@GOTPAGEOFF]
	b	LBB0_13
LBB0_27:
Lloh37:
	adrp	x8, _CALC_CHAR_COS@GOTPAGE
Lloh38:
	ldr	x8, [x8, _CALC_CHAR_COS@GOTPAGEOFF]
	b	LBB0_13
LBB0_28:
	mov	w0, #-4
	b	LBB0_14
LBB0_29:
	mov	w0, #-3
	b	LBB0_14
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_21-LBB0_4)>>2
	.byte	(LBB0_17-LBB0_4)>>2
	.byte	(LBB0_22-LBB0_4)>>2
	.byte	(LBB0_19-LBB0_4)>>2
	.byte	(LBB0_23-LBB0_4)>>2
	.byte	(LBB0_24-LBB0_4)>>2
	.byte	(LBB0_18-LBB0_4)>>2
	.byte	(LBB0_19-LBB0_4)>>2
	.byte	(LBB0_25-LBB0_4)>>2
	.byte	(LBB0_17-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_18-LBB0_4)>>2
	.byte	(LBB0_20-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_26-LBB0_4)>>2
	.byte	(LBB0_20-LBB0_4)>>2
	.byte	(LBB0_27-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_28-LBB0_4)>>2
	.byte	(LBB0_29-LBB0_4)>>2
                                        ; -- End function
	.comm	_MODS_SHIFT_MASK,4,2            ; @MODS_SHIFT_MASK
	.comm	_CALC_CHAR_BEG,1,0              ; @CALC_CHAR_BEG
	.comm	_CALC_CHAR_END,1,0              ; @CALC_CHAR_END
	.comm	_CALC_CHAR_ADD,1,0              ; @CALC_CHAR_ADD
	.comm	_CALC_CHAR_EXP,1,0              ; @CALC_CHAR_EXP
	.comm	_CALC_CHAR_MUL,1,0              ; @CALC_CHAR_MUL
	.comm	_CALC_CHAR_ASN,1,0              ; @CALC_CHAR_ASN
	.comm	_CALC_CHAR_ACS,1,0              ; @CALC_CHAR_ACS
	.comm	_CALC_CHAR_ATN,1,0              ; @CALC_CHAR_ATN
	.comm	_CALC_CHAR_LOG,1,0              ; @CALC_CHAR_LOG
	.comm	_KC_KP_0,4,2                    ; @KC_KP_0
	.comm	_KC_KP_1,4,2                    ; @KC_KP_1
	.comm	_KC_KP_9,4,2                    ; @KC_KP_9
	.comm	_KC_1,4,2                       ; @KC_1
	.comm	_CALC_CHAR_SUB,1,0              ; @CALC_CHAR_SUB
	.comm	_CALC_CHAR_DIV,1,0              ; @CALC_CHAR_DIV
	.comm	_CALC_CHAR_SIN,1,0              ; @CALC_CHAR_SIN
	.comm	_CALC_CHAR_COS,1,0              ; @CALC_CHAR_COS
	.comm	_CALC_CHAR_TAN,1,0              ; @CALC_CHAR_TAN
	.comm	_CALC_CHAR_SQT,1,0              ; @CALC_CHAR_SQT
	.comm	_CALC_CHAR_LGE,1,0              ; @CALC_CHAR_LGE
	.comm	_CALC_CHAR_DEC,1,0              ; @CALC_CHAR_DEC
	.comm	_CALC_CHAR_PI,1,0               ; @CALC_CHAR_PI
	.comm	_CALC_CHAR_EUL,1,0              ; @CALC_CHAR_EUL
	.no_dead_strip	_process_input
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.process_input
l_switch.table.process_input:
	.quad	_CALC_CHAR_ATN
	.quad	_CALC_CHAR_BEG
	.quad	_CALC_CHAR_ASN
	.quad	_CALC_CHAR_BEG
	.quad	_CALC_CHAR_BEG
	.quad	_CALC_CHAR_BEG
	.quad	_CALC_CHAR_BEG
	.quad	_CALC_CHAR_BEG
	.quad	_CALC_CHAR_LOG
	.quad	_CALC_CHAR_BEG
	.quad	_CALC_CHAR_ADD
	.quad	_CALC_CHAR_BEG
	.quad	_CALC_CHAR_BEG
	.quad	_CALC_CHAR_MUL
	.quad	_CALC_CHAR_ADD
	.quad	_CALC_CHAR_BEG
	.quad	_CALC_CHAR_BEG
	.quad	_CALC_CHAR_ACS
	.quad	_CALC_CHAR_BEG
	.quad	_CALC_CHAR_BEG
	.quad	_CALC_CHAR_MUL
	.quad	_CALC_CHAR_EXP
	.quad	_CALC_CHAR_END

.subsections_via_symbols
