	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_chartorune                     ## -- Begin function chartorune
	.p2align	4, 0x90
_chartorune:                            ## @chartorune
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rsi), %r8d
	movq	_Tx@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, %eax
	cmpl	%edx, %r8d
	jl	LBB0_9
## %bb.1:
	movl	1(%rsi), %eax
	xorl	%edx, %eax
	movq	_Testx@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	testl	%r9d, %eax
	je	LBB0_2
LBB0_8:
	movq	_Bad@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	$1, %eax
LBB0_9:
	movl	%r8d, (%rdi)
	popq	%rbp
	retq
LBB0_2:
	movq	_T3@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r8d
	jge	LBB0_5
## %bb.3:
	movq	_T2@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r8d
	jl	LBB0_8
## %bb.4:
	movq	_Bitx@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %r8d
	orl	%eax, %r8d
	movq	_Rune2@GOTPCREL(%rip), %rax
	andl	(%rax), %r8d
	movslq	%r8d, %rcx
	movq	_Rune1@GOTPCREL(%rip), %rdx
	movl	$2, %eax
	cmpq	%rcx, (%rdx)
	jge	LBB0_8
	jmp	LBB0_9
LBB0_5:
	xorl	2(%rsi), %edx
	testl	%r9d, %edx
	jne	LBB0_8
## %bb.6:
	movq	_T4@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r8d
	jge	LBB0_8
## %bb.7:
	movq	_Bitx@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %r8d
	orl	%eax, %r8d
	shll	%cl, %r8d
	orl	%edx, %r8d
	movq	_Rune3@GOTPCREL(%rip), %rax
	andl	(%rax), %r8d
	movq	_Rune2@GOTPCREL(%rip), %rcx
	movl	$3, %eax
	cmpl	(%rcx), %r8d
	jle	LBB0_8
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_Tx,4,2                         ## @Tx
	.comm	_Testx,4,2                      ## @Testx
	.comm	_T3,4,2                         ## @T3
	.comm	_T2,4,2                         ## @T2
	.comm	_Bitx,4,2                       ## @Bitx
	.comm	_Rune2,4,2                      ## @Rune2
	.comm	_Rune1,8,3                      ## @Rune1
	.comm	_T4,4,2                         ## @T4
	.comm	_Rune3,4,2                      ## @Rune3
	.comm	_Bad,4,2                        ## @Bad
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_chartorune                     ; -- Begin function chartorune
	.p2align	2
_chartorune:                            ; @chartorune
	.cfi_startproc
; %bb.0:
	ldr	w9, [x1]
Lloh0:
	adrp	x8, _Tx@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Tx@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x8]
	cmp	w9, w10
	b.lt	LBB0_3
; %bb.1:
	ldur	w8, [x1, #1]
	eor	w8, w8, w10
Lloh3:
	adrp	x11, _Testx@GOTPAGE
Lloh4:
	ldr	x11, [x11, _Testx@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
	tst	w8, w11
	b.eq	LBB0_5
LBB0_2:
Lloh6:
	adrp	x8, _Bad@GOTPAGE
Lloh7:
	ldr	x8, [x8, _Bad@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x8]
LBB0_3:
	mov	w8, #1
LBB0_4:
	str	w9, [x0]
	mov	x0, x8
	ret
LBB0_5:
Lloh9:
	adrp	x12, _T3@GOTPAGE
Lloh10:
	ldr	x12, [x12, _T3@GOTPAGEOFF]
Lloh11:
	ldr	w12, [x12]
	cmp	w9, w12
	b.ge	LBB0_9
; %bb.6:
Lloh12:
	adrp	x10, _T2@GOTPAGE
Lloh13:
	ldr	x10, [x10, _T2@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	cmp	w9, w10
	b.lt	LBB0_2
; %bb.7:
Lloh15:
	adrp	x10, _Bitx@GOTPAGE
Lloh16:
	ldr	x10, [x10, _Bitx@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w8, w9, w8
Lloh18:
	adrp	x9, _Rune2@GOTPAGE
Lloh19:
	ldr	x9, [x9, _Rune2@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	and	w9, w8, w9
Lloh21:
	adrp	x8, _Rune1@GOTPAGE
Lloh22:
	ldr	x8, [x8, _Rune1@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	cmp	x8, w9, sxtw
	b.ge	LBB0_2
; %bb.8:
	mov	w8, #2
	b	LBB0_4
LBB0_9:
	ldur	w12, [x1, #2]
	eor	w10, w12, w10
	and	w11, w10, w11
Lloh24:
	adrp	x12, _T4@GOTPAGE
Lloh25:
	ldr	x12, [x12, _T4@GOTPAGEOFF]
Lloh26:
	ldr	w12, [x12]
	cmp	w11, #0
	ccmp	w9, w12, #0, eq
	b.ge	LBB0_2
; %bb.10:
Lloh27:
	adrp	x11, _Bitx@GOTPAGE
Lloh28:
	ldr	x11, [x11, _Bitx@GOTPAGEOFF]
Lloh29:
	ldr	w11, [x11]
	lsl	w9, w9, w11
	orr	w8, w9, w8
	lsl	w8, w8, w11
	orr	w8, w8, w10
Lloh30:
	adrp	x9, _Rune3@GOTPAGE
Lloh31:
	ldr	x9, [x9, _Rune3@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	and	w9, w8, w9
Lloh33:
	adrp	x8, _Rune2@GOTPAGE
Lloh34:
	ldr	x8, [x8, _Rune2@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	cmp	w9, w8
	b.le	LBB0_2
; %bb.11:
	mov	w8, #3
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_Tx,4,2                         ; @Tx
	.comm	_Testx,4,2                      ; @Testx
	.comm	_T3,4,2                         ; @T3
	.comm	_T2,4,2                         ; @T2
	.comm	_Bitx,4,2                       ; @Bitx
	.comm	_Rune2,4,2                      ; @Rune2
	.comm	_Rune1,8,3                      ; @Rune1
	.comm	_T4,4,2                         ; @T4
	.comm	_Rune3,4,2                      ; @Rune3
	.comm	_Bad,4,2                        ; @Bad
.subsections_via_symbols
