	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function BrotliIsMostlyUTF8
LCPI0_0:
	.long	1127219200                      ## 0x43300000
	.long	1160773632                      ## 0x45300000
	.long	0                               ## 0x0
	.long	0                               ## 0x0
LCPI0_1:
	.quad	0x4330000000000000              ## double 4503599627370496
	.quad	0x4530000000000000              ## double 1.9342813113834067E+25
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_BrotliIsMostlyUTF8
	.p2align	4, 0x90
_BrotliIsMostlyUTF8:                    ## @BrotliIsMostlyUTF8
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	testq	%rcx, %rcx
	je	LBB0_1
## %bb.2:
	movq	%rdx, %r15
	movsd	%xmm0, -56(%rbp)                ## 8-byte Spill
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%r14,%rsi), %rax
	andq	%r15, %rax
	leaq	(%rdi,%rax,4), %rsi
	movq	%r12, %rdx
	subq	%r14, %rdx
	movq	%rdi, %rbx
	leaq	-44(%rbp), %rdi
	callq	_BrotliParseAsUTF8
	movq	%rbx, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	addq	%rax, %r14
	cmpl	$1114112, -44(%rbp)             ## imm = 0x110000
	movl	$0, %ebx
	cmovgeq	%rbx, %rax
	addq	%rax, %r13
	cmpq	%r12, %r14
	jb	LBB0_3
## %bb.4:
	movq	%r13, %xmm1
	punpckldq	LCPI0_0(%rip), %xmm1    ## xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
	subpd	LCPI0_1(%rip), %xmm1
	movapd	%xmm1, %xmm3
	unpckhpd	%xmm1, %xmm3                    ## xmm3 = xmm3[1],xmm1[1]
	addsd	%xmm1, %xmm3
	movsd	-56(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	jmp	LBB0_5
LBB0_1:
	xorpd	%xmm3, %xmm3
LBB0_5:
	movq	%r12, %xmm1
	punpckldq	LCPI0_0(%rip), %xmm1    ## xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
	subpd	LCPI0_1(%rip), %xmm1
	movapd	%xmm1, %xmm2
	unpckhpd	%xmm1, %xmm2                    ## xmm2 = xmm2[1],xmm1[1]
	addsd	%xmm1, %xmm2
	mulsd	%xmm0, %xmm2
	xorl	%edi, %edi
	ucomisd	%xmm2, %xmm3
	seta	%dil
	callq	_TO_BROTLI_BOOL
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BrotliIsMostlyUTF8             ; -- Begin function BrotliIsMostlyUTF8
	.p2align	2
_BrotliIsMostlyUTF8:                    ; @BrotliIsMostlyUTF8
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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 b8, -72
	.cfi_offset b9, -80
	fmov	d8, d0
	mov	x19, x3
	cbz	x3, LBB0_4
; %bb.1:
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	mov	x23, #0
	mov	x24, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x24, x21
	and	x8, x8, x20
	add	x1, x22, x8, lsl #2
	sub	x2, x19, x24
	add	x0, sp, #12
	bl	_BrotliParseAsUTF8
	ldr	w8, [sp, #12]
	cmp	w8, #272, lsl #12               ; =1114112
	csel	x8, x0, xzr, lt
	add	x23, x8, x23
	add	x24, x0, x24
	cmp	x24, x19
	b.lo	LBB0_2
; %bb.3:
	ucvtf	d0, x23
	b	LBB0_5
LBB0_4:
	movi	d0, #0000000000000000
LBB0_5:
	ucvtf	d1, x19
	fmul	d1, d1, d8
	fcmp	d1, d0
	cset	w0, mi
	bl	_TO_BROTLI_BOOL
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
