	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function looks_ucs16
_looks_ucs16:                           ## @looks_ucs16
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	cmpq	$2, %rsi
	jb	LBB0_15
## %bb.1:
	movl	(%rdi), %ebx
	cmpl	$254, %ebx
	je	LBB0_5
## %bb.2:
	cmpl	$255, %ebx
	jne	LBB0_15
## %bb.3:
	cmpl	$254, 4(%rdi)
	jne	LBB0_15
## %bb.4:
	movl	$1, %r9d
	movb	$1, %r8b
	jmp	LBB0_8
LBB0_5:
	xorl	%r8d, %r8d
	cmpl	$255, 4(%rdi)
	jne	LBB0_6
## %bb.7:
	movl	$2, %r9d
LBB0_8:
	movq	$0, (%rcx)
	cmpq	$4, %rsi
	jb	LBB0_14
## %bb.9:
	movq	_text_chars@GOTPCREL(%rip), %rbx
	movq	(%rbx), %r10
	movl	$1, %r11d
	movl	$3, %r15d
	movq	_T@GOTPCREL(%rip), %r14
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_10 Depth=1
	incq	%r11
	addq	$2, %r15
	cmpq	%rsi, %r15
	jae	LBB0_14
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	leaq	-1(%r15), %rbx
	testb	%r8b, %r8b
	movq	%r15, %r12
	cmovneq	%rbx, %r12
	cmovneq	%r15, %rbx
	movslq	(%rdi,%r12,4), %r12
	movslq	(%rdi,%rbx,4), %rbx
	shlq	$8, %rbx
	addq	%r12, %rbx
	movq	%r11, (%rcx)
	movl	%ebx, -4(%rdx,%r11,4)
	cmpl	$65534, %ebx                    ## imm = 0xFFFE
	je	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	cmpl	$127, %ebx
	jg	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	(%r10,%rbx,8), %rbx
	cmpq	(%r14), %rbx
	je	LBB0_13
	jmp	LBB0_15
LBB0_14:
	movl	%r9d, %eax
	jmp	LBB0_15
LBB0_6:
	xorl	%eax, %eax
LBB0_15:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_text_chars,8,3                 ## @text_chars
	.comm	_T,8,3                          ## @T
	.no_dead_strip	_looks_ucs16
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function looks_ucs16
_looks_ucs16:                           ; @looks_ucs16
	.cfi_startproc
; %bb.0:
	cmp	x1, #2
	b.lo	LBB0_13
; %bb.1:
	ldr	w8, [x0]
	cmp	w8, #254
	b.eq	LBB0_5
; %bb.2:
	cmp	w8, #255
	b.ne	LBB0_13
; %bb.3:
	ldr	w8, [x0, #4]
	cmp	w8, #254
	b.ne	LBB0_13
; %bb.4:
	mov	w9, #1
	mov	w8, #1
	b	LBB0_7
LBB0_5:
	mov	w8, #0
	ldr	w9, [x0, #4]
	cmp	w9, #255
	b.ne	LBB0_14
; %bb.6:
	mov	w9, #0
	mov	w8, #2
LBB0_7:
	str	xzr, [x3]
	cmp	x1, #4
	b.lo	LBB0_14
; %bb.8:
	mov	x14, #0
Lloh0:
	adrp	x10, _text_chars@GOTPAGE
Lloh1:
	ldr	x10, [x10, _text_chars@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	mov	w11, #3
	mov	w12, #65534
Lloh3:
	adrp	x13, _T@GOTPAGE
Lloh4:
	ldr	x13, [x13, _T@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x11, x11, #2
	mov	x14, x15
	cmp	x11, x1
	b.hs	LBB0_14
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	sub	x15, x11, #1
	cmp	w9, #0
	csel	x16, x15, x11, ne
	csel	x15, x11, x15, ne
	ldr	w16, [x0, x16, lsl #2]
	ldr	w15, [x0, x15, lsl #2]
	add	w16, w16, w15, lsl #8
	add	x15, x14, #1
	str	x15, [x3]
	str	w16, [x2, x14, lsl #2]
	cmp	w16, w12
	b.eq	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	cmp	w16, #127
	b.gt	LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x14, [x10, w16, sxtw #3]
	ldr	x16, [x13]
	cmp	x14, x16
	b.eq	LBB0_9
LBB0_13:
	mov	w0, #0
	ret
LBB0_14:
	mov	x0, x8
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_text_chars,8,3                 ; @text_chars
	.comm	_T,8,3                          ; @T
	.no_dead_strip	_looks_ucs16
.subsections_via_symbols
