	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CHIN
_CHIN:                                  ## @CHIN
	.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
	movl	%esi, %ebx
	movq	%rdi, %r14
	movl	%esi, %edi
	notl	%edi
	shrl	$31, %edi
	callq	_assert
	movq	_NC@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jle	LBB0_2
## %bb.1:
	movq	(%r14), %rax
	movl	%ebx, %ecx
	sarl	$3, %ecx
	movslq	%ecx, %rcx
	movl	(%rax,%rcx,4), %eax
	andb	$7, %bl
	movzbl	%bl, %ecx
	xorl	%r15d, %r15d
	btl	%ecx, %eax
	setb	%r15b
	xorl	8(%r14), %r15d
	jmp	LBB0_7
LBB0_2:
	movq	16(%r14), %r15
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_CHIN1
	testq	%r15, %r15
	je	LBB0_3
## %bb.4:
	movl	$1, %r15d
	testl	%eax, %eax
	jne	LBB0_7
## %bb.5:
	movl	%ebx, %edi
	callq	_towlower
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_CHIN1
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	movl	%ebx, %edi
	callq	_towupper
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_CHIN1
	xorl	%r15d, %r15d
	testl	%eax, %eax
	setne	%r15b
	jmp	LBB0_7
LBB0_3:
	movl	%eax, %r15d
LBB0_7:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NC,4,2                         ## @NC
	.no_dead_strip	_CHIN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CHIN
_CHIN:                                  ; @CHIN
	.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
	mov	x20, x1
	mov	x19, x0
	mvn	w8, w1
	lsr	w0, w8, #31
	bl	_assert
Lloh0:
	adrp	x8, _NC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w20
	b.le	LBB0_2
; %bb.1:
	ldr	x8, [x19]
	asr	w9, w20, #3
	ldr	w8, [x8, w9, sxtw #2]
	and	w9, w20, #0x7
	lsr	w8, w8, w9
	and	w8, w8, #0x1
	ldr	w9, [x19, #8]
	eor	w0, w8, w9
	b	LBB0_6
LBB0_2:
	ldr	x21, [x19, #16]
	mov	x0, x19
	mov	x1, x20
	bl	_CHIN1
	cbz	x21, LBB0_6
; %bb.3:
	cbnz	w0, LBB0_5
; %bb.4:
	mov	x0, x20
	bl	_towlower
	mov	x1, x0
	mov	x0, x19
	bl	_CHIN1
	cbz	w0, LBB0_7
LBB0_5:
	mov	w0, #1
LBB0_6:
	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_7:
	mov	x0, x20
	bl	_towupper
	mov	x1, x0
	mov	x0, x19
	bl	_CHIN1
	cmp	w0, #0
	cset	w0, ne
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NC,4,2                         ; @NC
	.no_dead_strip	_CHIN
.subsections_via_symbols
