	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LiStrToKeyBit                  ## -- Begin function LiStrToKeyBit
	.p2align	4, 0x90
_LiStrToKeyBit:                         ## @LiStrToKeyBit
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$184, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%r14d, %r14d
	testq	%rdi, %rdi
	je	LBB0_19
## %bb.1:
	testq	%rsi, %rsi
	je	LBB0_19
## %bb.2:
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_CopyStr
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_Trim
	movq	%r12, %rdi
	callq	_StrLen
	cmpl	$41, %eax
	jne	LBB0_4
## %bb.3:
	movq	%rbx, -208(%rbp)                ## 8-byte Spill
	xorl	%ebx, %ebx
	movq	_INFINITE@GOTPCREL(%rip), %rsi
	movq	_li_keybit_chars@GOTPCREL(%rip), %r13
	xorl	%eax, %eax
	movq	%r12, -200(%rbp)                ## 8-byte Spill
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
	movslq	%eax, %rdi
	movb	(%r12,%rdi), %r15b
	incq	%rdi
	cmpq	$35, %rbx
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movzbl	%bl, %ecx
	imull	$171, %ecx, %ecx
	shrl	$9, %ecx
	andl	$-2, %ecx
	leal	(%rcx,%rcx,2), %ecx
	movl	%ebx, %edx
	subb	%cl, %dl
	cmpb	$5, %dl
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpb	$45, (%r12,%rdi)
	jne	LBB0_16
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	addl	$2, %eax
	movl	%eax, %edi
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%rdi, -216(%rbp)                ## 8-byte Spill
	movl	(%rsi), %r12d
	movl	%r12d, -192(%rbp,%rbx,4)
	xorl	%r14d, %r14d
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=2
	incq	%r14
	cmpq	$32, %r14
	je	LBB0_14
LBB0_11:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	%r15b, %edi
	callq	_ToUpper
	movq	(%r13), %rcx
	cmpq	(%rcx,%r14,8), %rax
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=2
	movl	%r14d, -192(%rbp,%rbx,4)
	movl	%r14d, %r12d
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_INFINITE@GOTPCREL(%rip), %rsi
	cmpl	(%rsi), %r12d
	je	LBB0_15
## %bb.5:                               ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	movq	-216(%rbp), %rax                ## 8-byte Reload
                                        ## kill: def $eax killed $eax killed $rax
	cmpq	$36, %rbx
	movq	-200(%rbp), %r12                ## 8-byte Reload
	jne	LBB0_6
## %bb.18:
	movq	-208(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	movl	$23, %esi
	callq	_Zero
	movl	-192(%rbp), %eax
	movl	-188(%rbp), %ecx
	addl	%eax, %eax
	movl	%ecx, %edx
	sarl	$4, %edx
	orl	%eax, %edx
	movl	%edx, (%rbx)
	shll	$4, %ecx
	movl	-184(%rbp), %eax
	movl	%eax, %edx
	sarl	%edx
	orl	%ecx, %edx
	movl	%edx, 4(%rbx)
	shll	$7, %eax
	movl	-180(%rbp), %ecx
	movl	-176(%rbp), %edx
	shll	$2, %ecx
	orl	%eax, %ecx
	movl	%edx, %eax
	sarl	$3, %eax
	orl	%ecx, %eax
	movl	%eax, 8(%rbx)
	shll	$5, %edx
	orl	-172(%rbp), %edx
	movl	%edx, 12(%rbx)
	movl	-168(%rbp), %eax
	movl	-164(%rbp), %ecx
	shll	$3, %eax
	movl	%ecx, %edx
	sarl	$2, %edx
	orl	%eax, %edx
	movl	%edx, 16(%rbx)
	shll	$6, %ecx
	movl	-160(%rbp), %eax
	movl	-156(%rbp), %edx
	addl	%eax, %eax
	orl	%ecx, %eax
	movl	%edx, %ecx
	sarl	$4, %ecx
	orl	%eax, %ecx
	movl	%ecx, 20(%rbx)
	shll	$4, %edx
	movl	-152(%rbp), %eax
	movl	%eax, %ecx
	sarl	%ecx
	orl	%edx, %ecx
	movl	%ecx, 24(%rbx)
	shll	$7, %eax
	movl	-148(%rbp), %ecx
	movl	-144(%rbp), %edx
	shll	$2, %ecx
	orl	%eax, %ecx
	movl	%edx, %eax
	sarl	$3, %eax
	orl	%ecx, %eax
	movl	%eax, 28(%rbx)
	shll	$5, %edx
	orl	-140(%rbp), %edx
	movl	%edx, 32(%rbx)
	movl	-136(%rbp), %eax
	movl	-132(%rbp), %ecx
	shll	$3, %eax
	movl	%ecx, %edx
	sarl	$2, %edx
	orl	%eax, %edx
	movl	%edx, 36(%rbx)
	shll	$6, %ecx
	movl	-128(%rbp), %eax
	movl	-124(%rbp), %edx
	addl	%eax, %eax
	orl	%ecx, %eax
	movl	%edx, %ecx
	sarl	$4, %ecx
	orl	%eax, %ecx
	movl	%ecx, 40(%rbx)
	shll	$4, %edx
	movl	-120(%rbp), %eax
	movl	%eax, %ecx
	sarl	%ecx
	orl	%edx, %ecx
	movl	%ecx, 44(%rbx)
	shll	$7, %eax
	movl	-116(%rbp), %ecx
	movl	-112(%rbp), %edx
	shll	$2, %ecx
	orl	%eax, %ecx
	movl	%edx, %eax
	sarl	$3, %eax
	orl	%ecx, %eax
	movl	%eax, 48(%rbx)
	shll	$5, %edx
	orl	-108(%rbp), %edx
	movl	%edx, 52(%rbx)
	movl	-104(%rbp), %eax
	movl	-100(%rbp), %ecx
	shll	$3, %eax
	movl	%ecx, %edx
	sarl	$2, %edx
	orl	%eax, %edx
	movl	%edx, 56(%rbx)
	shll	$6, %ecx
	movl	-96(%rbp), %eax
	movl	-92(%rbp), %edx
	addl	%eax, %eax
	orl	%ecx, %eax
	movl	%edx, %ecx
	sarl	$4, %ecx
	orl	%eax, %ecx
	movl	%ecx, 60(%rbx)
	shll	$4, %edx
	movl	-88(%rbp), %eax
	movl	%eax, %ecx
	sarl	%ecx
	orl	%edx, %ecx
	movl	%ecx, 64(%rbx)
	shll	$7, %eax
	movl	-84(%rbp), %ecx
	movl	-80(%rbp), %edx
	shll	$2, %ecx
	orl	%eax, %ecx
	movl	%edx, %eax
	sarl	$3, %eax
	orl	%ecx, %eax
	movl	%eax, 68(%rbx)
	shll	$5, %edx
	orl	-76(%rbp), %edx
	movl	%edx, 72(%rbx)
	movl	-72(%rbp), %eax
	movl	-68(%rbp), %ecx
	shll	$3, %eax
	movl	%ecx, %edx
	sarl	$2, %edx
	orl	%eax, %edx
	movl	%edx, 76(%rbx)
	shll	$6, %ecx
	movl	-64(%rbp), %eax
	movl	-60(%rbp), %edx
	addl	%eax, %eax
	orl	%ecx, %eax
	movl	%edx, %ecx
	sarl	$4, %ecx
	orl	%eax, %ecx
	movl	%ecx, 80(%rbx)
	shll	$4, %edx
	movl	-56(%rbp), %eax
	movl	%eax, %ecx
	sarl	%ecx
	orl	%edx, %ecx
	movl	%ecx, 84(%rbx)
	shll	$7, %eax
	movl	-52(%rbp), %ecx
	shll	$2, %ecx
	orl	%eax, %ecx
	movl	%ecx, 88(%rbx)
	movq	%r12, %rdi
	callq	_Free
	movl	$1, %r14d
	jmp	LBB0_19
LBB0_4:
	movq	%r12, %rdi
	callq	_Free
	jmp	LBB0_19
LBB0_15:
	movq	-200(%rbp), %rdi                ## 8-byte Reload
	jmp	LBB0_17
LBB0_16:
	movq	%r12, %rdi
LBB0_17:
	callq	_Free
	xorl	%r14d, %r14d
LBB0_19:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_21
## %bb.20:
	movl	%r14d, %eax
	addq	$184, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_INFINITE,4,2                   ## @INFINITE
	.comm	_li_keybit_chars,8,3            ## @li_keybit_chars
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LiStrToKeyBit                  ; -- Begin function LiStrToKeyBit
	.p2align	2
_LiStrToKeyBit:                         ; @LiStrToKeyBit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #256
	.cfi_def_cfa_offset 256
	stp	x28, x27, [sp, #160]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #176]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #192]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #208]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #224]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #240]            ; 16-byte Folded Spill
	add	x29, sp, #240
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	mov	w0, #0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	cbz	x19, LBB0_16
; %bb.1:
	cbz	x1, LBB0_16
; %bb.2:
	mov	x0, x1
	bl	_CopyStr
	mov	x20, x0
	bl	_Trim
	mov	x0, x20
	bl	_StrLen
	cmp	w0, #41
	b.ne	LBB0_15
; %bb.3:
	mov	x21, #0
	mov	w8, #0
Lloh3:
	adrp	x24, _INFINITE@GOTPAGE
Lloh4:
	ldr	x24, [x24, _INFINITE@GOTPAGEOFF]
	mov	x25, sp
Lloh5:
	adrp	x26, _li_keybit_chars@GOTPAGE
Lloh6:
	ldr	x26, [x26, _li_keybit_chars@GOTPAGEOFF]
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	sxtw	x9, w8
	add	x27, x9, #1
	ldrb	w28, [x20, x9]
	cmp	x21, #35
	b.eq	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	and	w9, w21, #0xff
	and	x10, x21, #0xff
	mov	w11, #43691
	movk	w11, #43690, lsl #16
	mul	x10, x10, x11
	lsr	x10, x10, #34
	mov	w11, #6
	msub	w9, w10, w11, w9
	cmp	w9, #5
	b.ne	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w9, [x20, x27]
	cmp	w9, #45
	b.ne	LBB0_15
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w27, w8, #2
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x22, #0
	ldr	w23, [x24]
	str	w23, [x25, x21, lsl #2]
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=2
	add	x22, x22, #1
	cmp	x22, #32
	b.eq	LBB0_12
LBB0_10:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sxtb	w0, w28
	bl	_ToUpper
	ldr	x8, [x26]
	ldr	x8, [x8, x22, lsl #3]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	str	w22, [x25, x21, lsl #2]
	mov	x23, x22
	b	LBB0_9
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x24]
	cmp	w23, w8
	b.eq	LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #1
	mov	x8, x27
	cmp	x21, #36
	b.ne	LBB0_4
; %bb.14:
	mov	x0, x19
	mov	w1, #23
	bl	_Zero
	ldp	w8, w9, [sp]
	asr	w10, w9, #4
	orr	w8, w10, w8, lsl #1
	ldp	w10, w11, [sp, #8]
	asr	w12, w10, #1
	orr	w9, w12, w9, lsl #4
	stp	w8, w9, [x19]
	lsl	w8, w11, #2
	orr	w8, w8, w10, lsl #7
	ldp	w9, w10, [sp, #16]
	orr	w8, w8, w9, asr #3
	orr	w9, w10, w9, lsl #5
	stp	w8, w9, [x19, #8]
	ldp	w8, w9, [sp, #24]
	asr	w10, w9, #2
	orr	w8, w10, w8, lsl #3
	ldp	w10, w11, [sp, #32]
	lsl	w10, w10, #1
	orr	w9, w10, w9, lsl #6
	orr	w9, w9, w11, asr #4
	stp	w8, w9, [x19, #16]
	ldp	w8, w9, [sp, #40]
	asr	w10, w8, #1
	orr	w10, w10, w11, lsl #4
	lsl	w9, w9, #2
	orr	w8, w9, w8, lsl #7
	ldp	w9, w11, [sp, #48]
	orr	w8, w8, w9, asr #3
	stp	w10, w8, [x19, #24]
	orr	w8, w11, w9, lsl #5
	ldp	w9, w10, [sp, #56]
	asr	w11, w10, #2
	orr	w9, w11, w9, lsl #3
	stp	w8, w9, [x19, #32]
	ldp	w8, w9, [sp, #64]
	lsl	w8, w8, #1
	orr	w8, w8, w10, lsl #6
	orr	w8, w8, w9, asr #4
	ldp	w10, w11, [sp, #72]
	asr	w12, w10, #1
	orr	w9, w12, w9, lsl #4
	stp	w8, w9, [x19, #40]
	lsl	w8, w11, #2
	orr	w8, w8, w10, lsl #7
	ldp	w9, w10, [sp, #80]
	orr	w8, w8, w9, asr #3
	orr	w9, w10, w9, lsl #5
	stp	w8, w9, [x19, #48]
	ldp	w8, w9, [sp, #88]
	asr	w10, w9, #2
	orr	w8, w10, w8, lsl #3
	ldp	w10, w11, [sp, #96]
	lsl	w10, w10, #1
	orr	w9, w10, w9, lsl #6
	orr	w9, w9, w11, asr #4
	stp	w8, w9, [x19, #56]
	ldp	w8, w9, [sp, #104]
	asr	w10, w8, #1
	orr	w10, w10, w11, lsl #4
	lsl	w9, w9, #2
	orr	w8, w9, w8, lsl #7
	ldp	w9, w11, [sp, #112]
	orr	w8, w8, w9, asr #3
	stp	w10, w8, [x19, #64]
	orr	w8, w11, w9, lsl #5
	ldp	w9, w10, [sp, #120]
	asr	w11, w10, #2
	orr	w9, w11, w9, lsl #3
	stp	w8, w9, [x19, #72]
	ldp	w8, w9, [sp, #128]
	lsl	w8, w8, #1
	orr	w8, w8, w10, lsl #6
	orr	w8, w8, w9, asr #4
	ldp	w10, w11, [sp, #136]
	asr	w12, w10, #1
	orr	w9, w12, w9, lsl #4
	stp	w8, w9, [x19, #80]
	lsl	w8, w11, #2
	orr	w8, w8, w10, lsl #7
	str	w8, [x19, #88]
	mov	x0, x20
	bl	_Free
	mov	w0, #1
	b	LBB0_16
LBB0_15:
	mov	x0, x20
	bl	_Free
	mov	w0, #0
LBB0_16:
	ldur	x8, [x29, #-96]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_18
; %bb.17:
	ldp	x29, x30, [sp, #240]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #224]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #208]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #192]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #176]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #160]            ; 16-byte Folded Reload
	add	sp, sp, #256
	ret
LBB0_18:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_INFINITE,4,2                   ; @INFINITE
	.comm	_li_keybit_chars,8,3            ; @li_keybit_chars
.subsections_via_symbols
