	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function checkline
_checkline:                             ## @checkline
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $r8d killed $r8d def $r8
                                        ## kill: def $ecx killed $ecx def $rcx
	leal	-3(%r8), %eax
	cmpl	$2, %eax
	jb	LBB0_27
## %bb.1:
	cmpl	$2, %r8d
	je	LBB0_15
## %bb.2:
	xorl	%eax, %eax
	cmpl	$1, %r8d
	jne	LBB0_37
## %bb.3:
	xorl	%eax, %eax
	movslq	%edx, %r12
	cmpl	$8, %ecx
	jl	LBB0_4
## %bb.13:
	leaq	(%r12,%r12,2), %r8
	leaq	(%r12,%r12,4), %r9
	leaq	(%r12,%r12), %rax
	leaq	(%rax,%rax,2), %r10
	leaq	(,%r12,8), %r11
	subq	%r12, %r11
	shll	$3, %edx
	movslq	%edx, %r14
	xorl	%eax, %eax
	movl	%ecx, %edx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rsi), %ebx
	addl	%eax, %ebx
	movzbl	(%rsi,%r12), %eax
	addl	%ebx, %eax
	movzbl	(%rsi,%r12,2), %ebx
	addl	%eax, %ebx
	movzbl	(%rsi,%r8), %eax
	addl	%ebx, %eax
	movzbl	(%rsi,%r12,4), %ebx
	addl	%eax, %ebx
	movzbl	(%rsi,%r9), %eax
	addl	%ebx, %eax
	movzbl	(%rsi,%r10), %ebx
	addl	%eax, %ebx
	movzbl	(%rsi,%r11), %eax
	addl	%ebx, %eax
	addq	%r14, %rsi
	leal	-8(%rdx), %r15d
	cmpl	$15, %edx
	movl	%r15d, %edx
	ja	LBB0_14
## %bb.5:
	testl	%r15d, %r15d
	jg	LBB0_6
	jmp	LBB0_37
LBB0_27:
	xorl	%eax, %eax
	cmpl	$4, %ecx
	jl	LBB0_28
## %bb.38:
	movslq	%edx, %r10
	leaq	(%r10,%r10), %r8
	movslq	%r8d, %r9
	orq	$1, %r9
	leaq	(%r10,%r10,2), %r14
	leal	(,%r10,4), %eax
	movslq	%eax, %r11
	xorl	%eax, %eax
	movl	%ecx, %r12d
	.p2align	4, 0x90
LBB0_39:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rsi), %ebx
	addl	%eax, %ebx
	movzbl	1(%rsi), %eax
	addl	%ebx, %eax
	movzbl	2(%rsi), %ebx
	addl	%eax, %ebx
	movzbl	(%rsi,%r10), %eax
	addl	%ebx, %eax
	movzbl	1(%rsi,%r10), %ebx
	addl	%eax, %ebx
	movzbl	2(%rsi,%r10), %eax
	addl	%ebx, %eax
	movzbl	-1(%rsi,%r9), %ebx
	addl	%eax, %ebx
	movzbl	(%rsi,%r9), %eax
	addl	%ebx, %eax
	movzbl	2(%rsi,%r8), %ebx
	addl	%eax, %ebx
	movzbl	(%rsi,%r14), %eax
	addl	%ebx, %eax
	movzbl	1(%rsi,%r14), %ebx
	addl	%eax, %ebx
	movzbl	2(%rsi,%r14), %eax
	addl	%ebx, %eax
	addq	%r11, %rsi
	leal	-4(%r12), %r15d
	cmpl	$7, %r12d
	movl	%r15d, %r12d
	ja	LBB0_39
## %bb.29:
	testl	%r15d, %r15d
	jg	LBB0_30
	jmp	LBB0_36
LBB0_15:
	movl	%edx, %eax
	sarl	%eax
	movslq	%eax, %r13
	cmpl	$8, %ecx
	jl	LBB0_16
## %bb.25:
	andl	$-2, %edx
	movslq	%edx, %r8
	leal	(%rax,%rax,2), %edx
	movslq	%edx, %r9
	leal	(,%rax,4), %edx
	movslq	%edx, %r10
	leal	(%rax,%rax,4), %edx
	movslq	%edx, %r11
	leal	(%rax,%rax), %edx
	leal	(%rdx,%rdx,2), %edx
	movslq	%edx, %r14
	leal	(,%rax,8), %edx
	movslq	%edx, %r15
	subl	%eax, %edx
	movslq	%edx, %r12
	shlq	$2, %r15
	xorl	%eax, %eax
	movl	%ecx, %edx
	.p2align	4, 0x90
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	addl	(%rsi), %eax
	addl	(%rsi,%r13,4), %eax
	addl	(%rsi,%r8,4), %eax
	addl	(%rsi,%r9,4), %eax
	addl	(%rsi,%r10,4), %eax
	addl	(%rsi,%r11,4), %eax
	addl	(%rsi,%r14,4), %eax
	addl	(%rsi,%r12,4), %eax
	leal	-8(%rdx), %ebx
	addq	%r15, %rsi
	cmpl	$15, %edx
	movl	%ebx, %edx
	ja	LBB0_26
## %bb.17:
	testl	%ebx, %ebx
	jg	LBB0_18
	jmp	LBB0_37
LBB0_28:
	movl	%ecx, %r15d
	testl	%r15d, %r15d
	jle	LBB0_36
LBB0_30:
	movslq	%edx, %r8
	testb	$1, %r15b
	jne	LBB0_32
## %bb.31:
	movl	%r15d, %r11d
	cmpl	$1, %r15d
	jne	LBB0_34
	jmp	LBB0_36
LBB0_32:
	leal	-1(%r15), %r11d
	movzbl	(%rsi), %ebx
	movzbl	1(%rsi), %r9d
	movzbl	2(%rsi), %r10d
	addl	%ebx, %eax
	addl	%r9d, %eax
	addl	%r10d, %eax
	addq	%r8, %rsi
	cmpl	$1, %r15d
	je	LBB0_36
LBB0_34:
	decl	%r11d
	.p2align	4, 0x90
LBB0_35:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rsi), %ebx
	addl	%eax, %ebx
	movzbl	1(%rsi), %eax
	addl	%ebx, %eax
	movzbl	2(%rsi), %ebx
	addl	%eax, %ebx
	movzbl	(%rsi,%r8), %edx
	addl	%ebx, %edx
	movzbl	1(%rsi,%r8), %ebx
	movzbl	2(%rsi,%r8), %eax
	addq	%r8, %rsi
	addl	%edx, %ebx
	addl	%ebx, %eax
	addq	%r8, %rsi
	addl	$-2, %r11d
	jb	LBB0_35
LBB0_36:
	leal	(%rcx,%rcx,2), %ecx
LBB0_37:
	cltd
	idivl	%ecx
	movl	%eax, %ebx
	movq	_AV_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movl	%ebx, %ecx
	callq	_av_log
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	%ecx, %r15d
	testl	%r15d, %r15d
	jle	LBB0_37
LBB0_6:
	leal	-1(%r15), %r8d
	movl	%r15d, %r9d
	andl	$7, %r9d
	je	LBB0_10
## %bb.7:
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rsi), %ebx
	addl	%ebx, %eax
	addq	%r12, %rsi
	incl	%edx
	cmpl	%edx, %r9d
	jne	LBB0_8
## %bb.9:
	subl	%edx, %r15d
LBB0_10:
	cmpl	$7, %r8d
	jb	LBB0_37
## %bb.11:
	decl	%r15d
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rsi), %edx
	addl	%eax, %edx
	movzbl	(%rsi,%r12), %eax
	addq	%r12, %rsi
	addl	%edx, %eax
	movzbl	(%r12,%rsi), %edx
	addq	%r12, %rsi
	addl	%eax, %edx
	movzbl	(%r12,%rsi), %eax
	addq	%r12, %rsi
	addl	%edx, %eax
	movzbl	(%r12,%rsi), %edx
	addq	%r12, %rsi
	addl	%eax, %edx
	movzbl	(%r12,%rsi), %eax
	addq	%r12, %rsi
	addl	%edx, %eax
	movzbl	(%r12,%rsi), %edx
	addq	%r12, %rsi
	addl	%eax, %edx
	movzbl	(%r12,%rsi), %eax
	addq	%r12, %rsi
	addl	%edx, %eax
	addl	$-8, %r15d
	addq	%r12, %rsi
	cmpl	$-2, %r15d
	jb	LBB0_12
	jmp	LBB0_37
LBB0_16:
	xorl	%eax, %eax
	movl	%ecx, %ebx
	testl	%ebx, %ebx
	jle	LBB0_37
LBB0_18:
	leal	-1(%rbx), %r8d
	movl	%ebx, %r9d
	andl	$7, %r9d
	je	LBB0_22
## %bb.19:
	leaq	(,%r13,4), %r10
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	addl	(%rsi), %eax
	incl	%edx
	addq	%r10, %rsi
	cmpl	%edx, %r9d
	jne	LBB0_20
## %bb.21:
	subl	%edx, %ebx
LBB0_22:
	cmpl	$7, %r8d
	jb	LBB0_37
## %bb.23:
	decl	%ebx
	shlq	$2, %r13
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	addl	(%rsi), %eax
	addl	(%rsi,%r13), %eax
	addq	%r13, %rsi
	addl	(%r13,%rsi), %eax
	addq	%r13, %rsi
	addl	(%r13,%rsi), %eax
	addq	%r13, %rsi
	addl	(%r13,%rsi), %eax
	addq	%r13, %rsi
	addl	(%r13,%rsi), %eax
	addq	%r13, %rsi
	addl	(%r13,%rsi), %eax
	addq	%r13, %rsi
	addl	(%r13,%rsi), %eax
	addq	%r13, %rsi
	addl	$-8, %ebx
	addq	%r13, %rsi
	cmpl	$-2, %ebx
	jb	LBB0_24
	jmp	LBB0_37
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_DEBUG,4,2               ## @AV_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"total:%d\n"

	.no_dead_strip	_checkline
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function checkline
_checkline:                             ; @checkline
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
                                        ; kill: def $w2 killed $w2 def $x2
	sub	w8, w4, #3
	cmp	w8, #2
	b.lo	LBB0_7
; %bb.1:
	cmp	w4, #2
	b.eq	LBB0_11
; %bb.2:
	cmp	w4, #1
	b.ne	LBB0_15
; %bb.3:
	cmp	w3, #8
	b.lt	LBB0_20
; %bb.4:
	mov	w8, #0
	sxtw	x9, w2
	sbfiz	x10, x2, #1, #32
	add	x11, x10, x9
	sbfiz	x12, x2, #2, #32
	add	x13, x12, x9
	lsl	x14, x11, #1
	sbfiz	x15, x2, #3, #32
	sub	x16, x15, x9
	mov	x17, x3
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w4, [x1]
	ldrb	w5, [x1, x9]
	ldrb	w6, [x1, x10]
	ldrb	w7, [x1, x11]
	ldrb	w19, [x1, x12]
	ldrb	w20, [x1, x13]
	ldrb	w21, [x1, x14]
	ldrb	w22, [x1, x16]
	add	w8, w8, w4
	add	w8, w8, w5
	add	w8, w8, w6
	add	w8, w8, w7
	add	w8, w8, w19
	add	w8, w8, w20
	add	w8, w8, w21
	add	w8, w8, w22
	add	x1, x1, x15
	sub	w4, w17, #8
	cmp	w17, #15
	mov	x17, x4
	b.hi	LBB0_5
; %bb.6:
	cmp	w4, #1
	b.ge	LBB0_21
	b	LBB0_26
LBB0_7:
	cmp	w3, #4
	b.lt	LBB0_16
; %bb.8:
	mov	w8, #0
	mov	x15, x2
	sxtw	x9, w15
	add	x10, x9, #2
	sbfiz	x11, x15, #1, #32
	add	w12, w11, #2
	sxtw	x12, w12
	add	x13, x11, x9
	sxtw	x14, w13
	add	x14, x14, #2
	sbfiz	x16, x15, #2, #32
	add	x15, x1, #1
	mov	x17, x3
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x1, x17
	ldurb	w17, [x15, #-1]
	ldrb	w4, [x15]
	ldrb	w5, [x15, #1]
	add	x6, x15, x9
	ldurb	w7, [x6, #-1]
	ldrb	w6, [x6]
	add	x19, x15, x10
	ldurb	w19, [x19, #-1]
	add	x20, x15, x11
	ldurb	w21, [x20, #-1]
	ldrb	w20, [x20]
	add	x22, x15, x12
	ldurb	w22, [x22, #-1]
	add	x23, x15, x13
	ldurb	w24, [x23, #-1]
	ldrb	w23, [x23]
	add	x25, x15, x14
	add	w8, w8, w17
	add	w8, w8, w4
	add	w8, w8, w5
	add	w8, w8, w7
	add	w8, w8, w6
	add	w8, w8, w19
	add	w8, w8, w21
	add	w8, w8, w20
	add	w8, w8, w22
	add	w8, w8, w24
	ldurb	w17, [x25, #-1]
	add	w8, w8, w23
	add	w8, w8, w17
	sub	w17, w1, #4
	add	x15, x15, x16
	cmp	w1, #7
	b.hi	LBB0_9
; %bb.10:
	sub	x1, x15, #1
	cmp	w17, #1
	b.ge	LBB0_17
	b	LBB0_19
LBB0_11:
	asr	w9, w2, #1
	cmp	w3, #8
	b.lt	LBB0_23
; %bb.12:
	mov	w8, #0
	sxtw	x10, w9
	and	w11, w2, #0xfffffffe
	sxtw	x11, w11
	add	w15, w9, w9, lsl #1
	sxtw	x12, w15
	lsl	w14, w9, #2
	sxtw	x13, w14
	add	w14, w14, w9
	sxtw	x14, w14
	lsl	w15, w15, #1
	sxtw	x15, w15
	lsl	w17, w9, #3
	sub	w16, w17, w9
	sxtw	x16, w16
	mov	x2, x3
	sbfiz	x17, x17, #2, #32
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	mov	x4, x2
	ldr	w2, [x1, x10, lsl #2]
	ldr	w5, [x1, x11, lsl #2]
	ldr	w6, [x1, x12, lsl #2]
	ldr	w7, [x1, x13, lsl #2]
	ldr	w19, [x1, x14, lsl #2]
	ldr	w20, [x1, x15, lsl #2]
	ldr	w21, [x1, x16, lsl #2]
	ldr	w22, [x1]
	add	w8, w22, w8
	add	w8, w8, w2
	add	w8, w8, w5
	add	w8, w8, w6
	add	w8, w8, w7
	add	w8, w8, w19
	add	w8, w8, w20
	add	w8, w8, w21
	sub	w2, w4, #8
	add	x1, x1, x17
	cmp	w4, #15
	b.hi	LBB0_13
; %bb.14:
	cmp	w2, #1
	b.ge	LBB0_24
	b	LBB0_26
LBB0_15:
	mov	w8, #0
	b	LBB0_26
LBB0_16:
	mov	w8, #0
	mov	x17, x3
	cmp	w17, #1
	b.lt	LBB0_19
LBB0_17:
                                        ; kill: def $w2 killed $w2 killed $x2 def $x2
	sxtw	x9, w2
	add	x10, x1, #1
	add	w11, w17, #1
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldurb	w12, [x10, #-1]
	ldrb	w13, [x10]
	ldrb	w14, [x10, #1]
	add	w8, w8, w12
	add	w8, w8, w13
	add	w8, w8, w14
	add	x10, x10, x9
	sub	w11, w11, #1
	cmp	w11, #1
	b.hi	LBB0_18
LBB0_19:
	add	w3, w3, w3, lsl #1
	b	LBB0_26
LBB0_20:
	mov	w8, #0
	mov	x4, x3
	cmp	w4, #1
	b.lt	LBB0_26
LBB0_21:
                                        ; kill: def $w2 killed $w2 killed $x2 def $x2
	sxtw	x9, w2
	add	w10, w4, #1
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x1]
	add	w8, w8, w11
	add	x1, x1, x9
	sub	w10, w10, #1
	cmp	w10, #1
	b.hi	LBB0_22
	b	LBB0_26
LBB0_23:
	mov	w8, #0
	mov	x2, x3
	cmp	w2, #1
	b.lt	LBB0_26
LBB0_24:
                                        ; kill: def $w9 killed $w9 killed $x9 def $x9
	sbfiz	x9, x9, #2, #32
	add	w10, w2, #1
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x1]
	add	w8, w11, w8
	add	x1, x1, x9
	sub	w10, w10, #1
	cmp	w10, #1
	b.hi	LBB0_25
LBB0_26:
Lloh0:
	adrp	x9, _AV_LOG_DEBUG@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AV_LOG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	sdiv	w19, w8, w3
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x3, x19
	bl	_av_log
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_DEBUG,4,2               ; @AV_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"total:%d\n"

	.no_dead_strip	_checkline
.subsections_via_symbols
