	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cnt_srt                        ## -- Begin function cnt_srt
	.p2align	4, 0x90
_cnt_srt:                               ## @cnt_srt
	.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	%rdx, %rbx
	movl	%esi, %r15d
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	_engine_n@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	decl	%eax
	xorl	%edi, %edi
	cmpl	$10000, %eax                    ## imm = 0x2710
	setb	%dil
	callq	_assert
	incl	_cnt_srt.id(%rip)
	jne	LBB0_2
## %bb.1:
	leaq	_cnt_srt.was(%rip), %rdi
	xorl	%esi, %esi
	movl	$40004, %edx                    ## imm = 0x9C44
	callq	_memset
	movl	$1, _cnt_srt.id(%rip)
LBB0_2:
	movl	$0, _cnt_srt.vn(%rip)
	movl	$0, _cnt_srt.st(%rip)
	testl	%r15d, %r15d
	movq	-48(%rbp), %r9                  ## 8-byte Reload
	jle	LBB0_18
## %bb.3:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	%r15d, %ecx
	xorl	%r12d, %r12d
	leaq	_cnt_srt.was(%rip), %rbx
	leaq	_cnt_srt.num(%rip), %rsi
	leaq	_cnt_srt.st(%rip), %r14
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movslq	_cnt_srt.vn(%rip), %rdx
	movq	%r15, %rsi
	movl	%edx, (%r15,%rax,4)
	movl	%ecx, (%rbx,%rax,4)
	leaq	1(%rdx), %rax
	movl	%eax, _cnt_srt.vn(%rip)
	movl	$0, 4(%r14,%rdx,4)
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rcx
	movq	-48(%rbp), %r9                  ## 8-byte Reload
	incl	(%r14,%rax,4)
	incq	%r12
	cmpq	%r12, %r13
	je	LBB0_6
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rcx, %r13
	movq	%rsi, %r15
	movl	(%r9,%r12,4), %edi
	callq	_dl_abs
	cltd
	movq	_engine_n@GOTPCREL(%rip), %rcx
	idivl	(%rcx)
	movslq	%edx, %rax
	movl	_cnt_srt.id(%rip), %ecx
	cmpl	%ecx, (%rbx,%rax,4)
	jne	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rsi
	movslq	(%r15,%rax,4), %rax
	incq	%rax
	jmp	LBB0_10
LBB0_6:
	movl	_cnt_srt.vn(%rip), %edx
	testl	%edx, %edx
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jle	LBB0_16
## %bb.7:
	movl	_cnt_srt.st(%rip), %eax
	leaq	-1(%rdx), %rsi
	movl	%edx, %ecx
	andl	$3, %ecx
	cmpq	$3, %rsi
	jae	LBB0_11
## %bb.8:
	xorl	%ebx, %ebx
	jmp	LBB0_13
LBB0_11:
	andl	$-4, %edx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	addl	4(%r14,%rsi,4), %eax
	movl	%eax, 4(%r14,%rsi,4)
	addl	8(%r14,%rsi,4), %eax
	movl	%eax, 8(%r14,%rsi,4)
	addl	12(%r14,%rsi,4), %eax
	movl	%eax, 12(%r14,%rsi,4)
	leaq	4(%rsi), %rbx
	addl	16(%r14,%rsi,4), %eax
	movl	%eax, 16(%r14,%rsi,4)
	movq	%rbx, %rsi
	cmpq	%rbx, %rdx
	jne	LBB0_12
LBB0_13:
	testq	%rcx, %rcx
	je	LBB0_16
## %bb.14:
	leaq	(%r14,%rbx,4), %rdx
	addq	$4, %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	addl	(%rdx,%rsi,4), %eax
	movl	%eax, (%rdx,%rsi,4)
	incq	%rsi
	cmpq	%rsi, %rcx
	jne	LBB0_15
LBB0_16:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r9,%rbx,4), %edi
	callq	_dl_abs
	movq	-48(%rbp), %r9                  ## 8-byte Reload
	movq	%r13, %rsi
	movq	%r15, %rcx
	cltd
	movq	_engine_n@GOTPCREL(%rip), %rdi
	idivl	(%rdi)
	movslq	%edx, %rax
	movslq	(%r15,%rax,4), %rax
	movslq	(%r14,%rax,4), %rcx
	leal	1(%rcx), %edx
	movl	%edx, (%r14,%rax,4)
	movl	(%r9,%rbx,4), %eax
	movl	%eax, (%r12,%rcx,4)
	incq	%rbx
	cmpq	%rbx, %r13
	jne	LBB0_17
LBB0_18:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_cnt_srt.was,40004,4 ## @cnt_srt.was
.zerofill __DATA,__bss,_cnt_srt.num,40004,4 ## @cnt_srt.num
.zerofill __DATA,__bss,_cnt_srt.st,40004,4 ## @cnt_srt.st
.zerofill __DATA,__bss,_cnt_srt.vn,4,2  ## @cnt_srt.vn
.zerofill __DATA,__bss,_cnt_srt.id,4,2  ## @cnt_srt.id
	.comm	_engine_n,4,2                   ## @engine_n
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cnt_srt                        ; -- Begin function cnt_srt
	.p2align	2
_cnt_srt:                               ; @cnt_srt
	.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	x21, x1
	mov	x25, x0
Lloh0:
	adrp	x22, _engine_n@GOTPAGE
Lloh1:
	ldr	x22, [x22, _engine_n@GOTPAGEOFF]
	ldr	w8, [x22]
	sub	w8, w8, #1
	lsr	w8, w8, #4
	cmp	w8, #625
	cset	w0, lo
	bl	_assert
	adrp	x9, _cnt_srt.id@PAGE
	ldr	w8, [x9, _cnt_srt.id@PAGEOFF]
	adds	w8, w8, #1
	str	w8, [x9, _cnt_srt.id@PAGEOFF]
	b.lo	LBB0_2
; %bb.1:
Lloh2:
	adrp	x0, _cnt_srt.was@PAGE
Lloh3:
	add	x0, x0, _cnt_srt.was@PAGEOFF
	mov	w1, #0
	mov	w2, #40004
	bl	_memset
	mov	w8, #1
	adrp	x9, _cnt_srt.id@PAGE
	str	w8, [x9, _cnt_srt.id@PAGEOFF]
LBB0_2:
	adrp	x26, _cnt_srt.vn@PAGE
	str	wzr, [x26, _cnt_srt.vn@PAGEOFF]
	adrp	x8, _cnt_srt.st@PAGE
	str	wzr, [x8, _cnt_srt.st@PAGEOFF]
	cmp	w21, #1
	b.lt	LBB0_12
; %bb.3:
	mov	w21, w21
Lloh4:
	adrp	x27, _cnt_srt.was@PAGE
Lloh5:
	add	x27, x27, _cnt_srt.was@PAGEOFF
Lloh6:
	adrp	x23, _cnt_srt.num@PAGE
Lloh7:
	add	x23, x23, _cnt_srt.num@PAGEOFF
Lloh8:
	adrp	x24, _cnt_srt.st@PAGE
Lloh9:
	add	x24, x24, _cnt_srt.st@PAGEOFF
	mov	x28, x21
	mov	x20, x25
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldrsw	x10, [x26, _cnt_srt.vn@PAGEOFF]
	lsl	x8, x8, #2
	str	w10, [x23, x8]
	str	w9, [x27, x8]
	add	x8, x10, #1
	str	w8, [x26, _cnt_srt.vn@PAGEOFF]
	str	wzr, [x24, x8, lsl #2]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	lsl	x8, x8, #2
	ldr	w9, [x24, x8]
	add	w9, w9, #1
	str	w9, [x24, x8]
	add	x20, x20, #4
	subs	x28, x28, #1
	b.eq	LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	bl	_dl_abs
	ldr	w8, [x22]
	sdiv	w9, w0, w8
	msub	w9, w9, w8, w0
	sxtw	x8, w9
	ldr	w10, [x27, w9, sxtw #2]
Lloh10:
	adrp	x9, _cnt_srt.id@PAGE
Lloh11:
	ldr	w9, [x9, _cnt_srt.id@PAGEOFF]
	cmp	w10, w9
	b.ne	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldrsw	x8, [x23, x8, lsl #2]
	add	x8, x8, #1
	b	LBB0_5
LBB0_8:
	ldr	w8, [x26, _cnt_srt.vn@PAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.9:
	mov	x9, x24
	ldr	w10, [x9], #4
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x9]
	add	w10, w11, w10
	str	w10, [x9], #4
	subs	x8, x8, #1
	b.ne	LBB0_10
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x25]
	bl	_dl_abs
	ldr	w8, [x22]
	sdiv	w9, w0, w8
	msub	w8, w9, w8, w0
	ldrsw	x8, [x23, w8, sxtw #2]
	lsl	x8, x8, #2
	ldrsw	x9, [x24, x8]
	add	w10, w9, #1
	str	w10, [x24, x8]
	ldr	w8, [x25], #4
	str	w8, [x19, x9, lsl #2]
	subs	x21, x21, #1
	b.ne	LBB0_11
LBB0_12:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdr	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_cnt_srt.was,40004,2 ; @cnt_srt.was
.zerofill __DATA,__bss,_cnt_srt.num,40004,2 ; @cnt_srt.num
.zerofill __DATA,__bss,_cnt_srt.st,40004,2 ; @cnt_srt.st
.zerofill __DATA,__bss,_cnt_srt.vn,4,2  ; @cnt_srt.vn
.zerofill __DATA,__bss,_cnt_srt.id,4,2  ; @cnt_srt.id
	.comm	_engine_n,4,2                   ; @engine_n
.subsections_via_symbols
