	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stbtt__CompareUTF8toUTF16_bigendian_prefix
_stbtt__CompareUTF8toUTF16_bigendian_prefix: ## @stbtt__CompareUTF8toUTF16_bigendian_prefix
	.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
	.cfi_offset %rbx, -24
	testq	%rcx, %rcx
	je	LBB0_1
## %bb.2:
	xorl	%r8d, %r8d
	jmp	LBB0_3
LBB0_18:                                ##   in Loop: Header=BB0_3 Depth=1
	addq	$8, %rdx
	addq	$4, %r8
	addq	$-2, %rcx
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_3 Depth=1
	addq	$8, %rdx
	movq	%r8, %rax
	addq	$-2, %rcx
	je	LBB0_26
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rdx), %r9d
	shll	$8, %r9d
	addl	4(%rdx), %r9d
	cmpl	$127, %r9d
	jg	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	$-1, %rax
	cmpq	%rsi, %r8
	jge	LBB0_26
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%r9d, (%rdi,%r8,4)
	jne	LBB0_26
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%r8
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$2047, %r9d                     ## imm = 0x7FF
	ja	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	1(%r8), %r10
	movq	$-1, %rax
	cmpq	%rsi, %r10
	jge	LBB0_26
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%r9d, %r10d
	shrl	$6, %r10d
	addl	$192, %r10d
	cmpl	%r10d, (%rdi,%r8,4)
	jne	LBB0_26
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	andl	$63, %r9d
	orl	$128, %r9d
	cmpl	%r9d, 4(%rdi,%r8,4)
	jne	LBB0_26
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	addq	$2, %r8
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%r9d, %r10d
	andl	$-1024, %r10d                   ## imm = 0xFC00
	cmpl	$55296, %r10d                   ## imm = 0xD800
	jne	LBB0_19
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	leaq	3(%r8), %r10
	movq	$-1, %rax
	cmpq	%rsi, %r10
	jge	LBB0_26
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	8(%rdx), %r10d
	shll	$8, %r10d
	shll	$10, %r9d
	addl	12(%rdx), %r9d
	leal	(%r10,%r9), %r11d
	addl	$-56613888, %r11d               ## imm = 0xFCA02400
	movl	%r11d, %ebx
	sarl	$18, %ebx
	addl	$240, %ebx
	cmpl	%ebx, (%rdi,%r8,4)
	jne	LBB0_26
## %bb.15:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	%r11d, %ebx
	shrl	$12, %ebx
	andl	$63, %ebx
	orl	$128, %ebx
	cmpl	%ebx, 4(%rdi,%r8,4)
	jne	LBB0_26
## %bb.16:                              ##   in Loop: Header=BB0_3 Depth=1
	shrl	$6, %r11d
	andl	$63, %r11d
	orl	$128, %r11d
	cmpl	%r11d, 8(%rdi,%r8,4)
	jne	LBB0_26
## %bb.17:                              ##   in Loop: Header=BB0_3 Depth=1
	addl	%r10d, %r9d
	andl	$63, %r9d
	orl	$128, %r9d
	cmpl	%r9d, 12(%rdi,%r8,4)
	je	LBB0_18
	jmp	LBB0_26
LBB0_19:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	$-1, %rax
	cmpl	$56320, %r10d                   ## imm = 0xDC00
	je	LBB0_26
## %bb.20:                              ##   in Loop: Header=BB0_3 Depth=1
	leaq	2(%r8), %rbx
	cmpq	%rsi, %rbx
	jge	LBB0_26
## %bb.21:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	%r9d, %ebx
	shrl	$12, %ebx
	addl	$224, %ebx
	cmpl	%ebx, (%rdi,%r8,4)
	jne	LBB0_26
## %bb.22:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	%r9d, %ebx
	shrl	$6, %ebx
	andl	$63, %ebx
	orl	$128, %ebx
	cmpl	%ebx, 4(%rdi,%r8,4)
	jne	LBB0_26
## %bb.23:                              ##   in Loop: Header=BB0_3 Depth=1
	andl	$63, %r9d
	orl	$128, %r9d
	cmpl	%r9d, 8(%rdi,%r8,4)
	jne	LBB0_26
## %bb.24:                              ##   in Loop: Header=BB0_3 Depth=1
	addq	$3, %r8
	jmp	LBB0_25
LBB0_1:
	xorl	%eax, %eax
LBB0_26:
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_stbtt__CompareUTF8toUTF16_bigendian_prefix
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stbtt__CompareUTF8toUTF16_bigendian_prefix
_stbtt__CompareUTF8toUTF16_bigendian_prefix: ; @stbtt__CompareUTF8toUTF16_bigendian_prefix
	.cfi_startproc
; %bb.0:
	cbz	x3, LBB0_25
; %bb.1:
	mov	x8, x0
	mov	x0, #0
	mov	w9, #55296
	mov	w10, #9216
	movk	w10, #64672, lsl #16
	mov	w11, #56320
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x0, x0, #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x2, x2, #8
	subs	x3, x3, #2
	b.eq	LBB0_26
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w12, w13, [x2]
	add	w12, w13, w12, lsl #8
	cmp	w12, #127
	b.gt	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x0, x1
	b.ge	LBB0_24
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w13, [x8, x0, lsl #2]
	cmp	w13, w12
	b.eq	LBB0_2
	b	LBB0_24
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	w12, #2047
	b.hi	LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x13, x0, #1
	cmp	x13, x1
	b.ge	LBB0_24
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w14, [x8, x0, lsl #2]
	lsr	w15, w12, #6
	add	w15, w15, #192
	cmp	w14, w15
	b.ne	LBB0_24
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w13, [x8, x13, lsl #2]
	mov	w14, #128
	bfxil	w14, w12, #0, #6
	cmp	w13, w14
	b.ne	LBB0_24
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x0, x0, #2
	b	LBB0_3
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	and	w14, w12, #0xfffffc00
	cmp	w14, w9
	b.ne	LBB0_19
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x13, x0, #3
	cmp	x13, x1
	b.ge	LBB0_24
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	ldp	w14, w15, [x2, #8]
	add	w12, w15, w12, lsl #10
	add	w12, w12, w14, lsl #8
	add	w14, w12, w10
	ldr	w15, [x8, x0, lsl #2]
	asr	w16, w14, #18
	add	w16, w16, #240
	cmp	w15, w16
	b.ne	LBB0_24
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x15, x8, x0, lsl #2
	ldr	w16, [x15, #4]
	mov	w17, #128
	bfxil	w17, w14, #12, #6
	cmp	w16, w17
	b.ne	LBB0_24
; %bb.16:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w15, [x15, #8]
	mov	w16, #128
	bfxil	w16, w14, #6, #6
	cmp	w15, w16
	b.ne	LBB0_24
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w13, [x8, x13, lsl #2]
	mov	w14, #128
	bfxil	w14, w12, #0, #6
	cmp	w13, w14
	b.ne	LBB0_24
; %bb.18:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x2, x2, #8
	add	x0, x0, #4
	sub	x3, x3, #2
	b	LBB0_3
LBB0_19:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x13, x0, #2
	cmp	w14, w11
	ccmp	x13, x1, #0, ne
	b.ge	LBB0_24
; %bb.20:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w14, [x8, x0, lsl #2]
	lsr	w15, w12, #12
	add	w15, w15, #224
	cmp	w14, w15
	b.ne	LBB0_24
; %bb.21:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x14, x8, x0, lsl #2
	ldr	w14, [x14, #4]
	mov	w15, #128
	bfxil	w15, w12, #6, #6
	cmp	w14, w15
	b.ne	LBB0_24
; %bb.22:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w13, [x8, x13, lsl #2]
	mov	w14, #128
	bfxil	w14, w12, #0, #6
	cmp	w13, w14
	b.ne	LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x0, x0, #3
	b	LBB0_3
LBB0_24:
	mov	x0, #-1
	ret
LBB0_25:
	mov	x0, #0
LBB0_26:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_stbtt__CompareUTF8toUTF16_bigendian_prefix
.subsections_via_symbols
