	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mp_css_split_cnt
_mp_css_split_cnt:                      ## @mp_css_split_cnt
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	16(%rdi), %r8
	movq	(%rdi), %rax
	movl	(%r8), %r9d
	xorl	%ecx, %ecx
	cmpl	$1, (%rax)
	jne	LBB0_1
LBB0_8:
	subl	%ecx, %r9d
	movl	%r9d, (%rdx)
	movl	%ecx, 4(%rdx)
	popq	%rbp
	retq
LBB0_1:
	movl	$1, %ecx
	cmpl	$6, %esi
	jl	LBB0_8
## %bb.2:
	movq	8(%rdi), %rdi
	movq	_ATTACK_EXEC_INSIDE_KERNEL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, (%rdi)
	jne	LBB0_8
## %bb.3:
	movl	$2, %ecx
	cmpl	$6, %esi
	je	LBB0_8
## %bb.4:
	movl	8(%rdi), %ecx
	movq	_OPTS_TYPE_PT_UTF16LE@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	jne	LBB0_6
## %bb.5:
	movq	_OPTS_TYPE_PT_UTF16BE@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_7
LBB0_6:
	andl	$-3, %esi
	xorl	%eax, %eax
	cmpl	$8, %esi
	setne	%al
	leal	(%rax,%rax), %ecx
	addl	$2, %ecx
	jmp	LBB0_8
LBB0_7:
	movq	8(%r8), %rax
	movl	4(%rax), %ecx
	imull	(%rax), %ecx
	imull	8(%rax), %ecx
	xorl	%eax, %eax
	cmpl	$257, %ecx                      ## imm = 0x101
	setge	%al
	movl	$4, %ecx
	subl	%eax, %ecx
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_ATTACK_EXEC_INSIDE_KERNEL,8,3  ## @ATTACK_EXEC_INSIDE_KERNEL
	.comm	_OPTS_TYPE_PT_UTF16LE,4,2       ## @OPTS_TYPE_PT_UTF16LE
	.comm	_OPTS_TYPE_PT_UTF16BE,4,2       ## @OPTS_TYPE_PT_UTF16BE
	.no_dead_strip	_mp_css_split_cnt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mp_css_split_cnt
_mp_css_split_cnt:                      ; @mp_css_split_cnt
	.cfi_startproc
; %bb.0:
	ldr	x9, [x0, #16]
	ldr	x10, [x0]
	ldr	w8, [x9]
	ldr	w10, [x10]
	cmp	w10, #1
	b.ne	LBB0_3
; %bb.1:
	mov	w10, #0
LBB0_2:
	sub	w8, w8, w10
	stp	w8, w10, [x2]
	ret
LBB0_3:
	mov	w10, #1
	cmp	w1, #6
	b.lt	LBB0_2
; %bb.4:
	ldr	x11, [x0, #8]
	ldr	x12, [x11]
Lloh0:
	adrp	x13, _ATTACK_EXEC_INSIDE_KERNEL@GOTPAGE
Lloh1:
	ldr	x13, [x13, _ATTACK_EXEC_INSIDE_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	x13, [x13]
	cmp	x12, x13
	b.ne	LBB0_2
; %bb.5:
	cmp	w1, #6
	b.ne	LBB0_7
; %bb.6:
	mov	w10, #2
	b	LBB0_2
LBB0_7:
	ldr	w10, [x11, #8]
Lloh3:
	adrp	x11, _OPTS_TYPE_PT_UTF16LE@GOTPAGE
Lloh4:
	ldr	x11, [x11, _OPTS_TYPE_PT_UTF16LE@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
	tst	w11, w10
	b.ne	LBB0_9
; %bb.8:
Lloh6:
	adrp	x11, _OPTS_TYPE_PT_UTF16BE@GOTPAGE
Lloh7:
	ldr	x11, [x11, _OPTS_TYPE_PT_UTF16BE@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	tst	w11, w10
	b.eq	LBB0_10
LBB0_9:
	and	w9, w1, #0xfffffffd
	mov	w10, #4
	mov	w11, #2
	cmp	w9, #8
	csel	w10, w11, w10, eq
	b	LBB0_2
LBB0_10:
	ldr	x9, [x9, #8]
	ldp	w10, w11, [x9]
	mul	w10, w11, w10
	ldr	w9, [x9, #8]
	mul	w9, w10, w9
	cmp	w9, #256
	mov	w9, #3
	cinc	w10, w9, le
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ATTACK_EXEC_INSIDE_KERNEL,8,3  ; @ATTACK_EXEC_INSIDE_KERNEL
	.comm	_OPTS_TYPE_PT_UTF16LE,4,2       ; @OPTS_TYPE_PT_UTF16LE
	.comm	_OPTS_TYPE_PT_UTF16BE,4,2       ; @OPTS_TYPE_PT_UTF16BE
	.no_dead_strip	_mp_css_split_cnt
.subsections_via_symbols
