	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cnt_sml                        ## -- Begin function cnt_sml
	.p2align	4, 0x90
_cnt_sml:                               ## @cnt_sml
	.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
	movl	%edx, -56(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %r12
	callq	_GETARR
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_GETARR
	movq	%rax, %r13
	movq	%r12, %rdi
	callq	_ARRNELEM
	movl	%eax, %r14d
	movq	%r15, %rdi
	callq	_ARRNELEM
	movl	%r14d, -52(%rbp)                ## 4-byte Spill
	testl	%r14d, %r14d
	jle	LBB0_12
## %bb.1:
	testl	%eax, %eax
	jle	LBB0_12
## %bb.2:
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	callq	_GETARR
	movq	%rbx, %rcx
	subq	%rax, %rcx
	sarq	$2, %rcx
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	cmpq	%r14, %rcx
	jge	LBB0_11
## %bb.3:
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	addq	$4, %rbx
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	callq	_GETARR
	movq	%rbx, %rcx
	subq	%rax, %rcx
	sarq	$2, %rcx
	cmpq	%r14, %rcx
	jge	LBB0_11
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_GETARR
	movq	%r13, %rcx
	subq	%rax, %rcx
	sarq	$2, %rcx
	cmpq	-64(%rbp), %rcx                 ## 8-byte Folded Reload
	jge	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_CMPTRGM
	testl	%eax, %eax
	js	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	addq	$4, %r13
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	addq	$4, %rbx
	addq	$4, %r13
	incl	-44(%rbp)                       ## 4-byte Folded Spill
	jmp	LBB0_10
LBB0_12:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	cmovnel	%edi, %edx
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_CALCSML                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cnt_sml                        ; -- Begin function cnt_sml
	.p2align	2
_cnt_sml:                               ; @cnt_sml
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [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 w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	bl	_GETARR
	mov	x24, x0
	mov	x0, x20
	bl	_GETARR
	mov	x25, x0
	mov	x0, x21
	bl	_ARRNELEM
	mov	x22, x0
	mov	x0, x20
	bl	_ARRNELEM
	cmp	w22, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x23, x0
	cmp	w0, #1
	b.lt	LBB0_6
; %bb.2:
	mov	x0, x21
	bl	_GETARR
	sub	x8, x24, x0
	mov	w27, w22
	cmp	x27, x8, asr #2
	b.le	LBB0_7
; %bb.3:
	mov	w26, #0
	mov	w28, w23
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_GETARR
	sub	x8, x25, x0
	cmp	x28, x8, asr #2
	b.le	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x24
	mov	x1, x25
	bl	_CMPTRGM
	add	x8, x24, #4
	add	x9, x25, #4
	cmp	w0, #0
	cinc	w10, w26, eq
	csel	x9, x9, x9, eq
	csel	x11, x8, x24, eq
	tst	w0, #0x80000000
	csel	w26, w10, w26, eq
	csel	x25, x9, x25, eq
	csel	x24, x11, x8, eq
	mov	x0, x21
	bl	_GETARR
	sub	x8, x24, x0
	cmp	x27, x8, asr #2
	b.gt	LBB0_4
	b	LBB0_8
LBB0_6:
	mov	w0, #0
	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	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_7:
	mov	w26, #0
LBB0_8:
	cmp	w19, #0
	csel	w2, w23, w26, eq
	mov	x0, x26
	mov	x1, x22
	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	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_CALCSML
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
