	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function generate_sliding_window_mmcos
_generate_sliding_window_mmcos:         ## @generate_sliding_window_mmcos
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movslq	(%rdi), %rax
	xorl	%r15d, %r15d
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	addq	8(%rbx), %rax
	movq	48(%rbx), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_8
## %bb.2:
	movq	56(%rbx), %r14
	movq	%rbx, %rdi
	callq	_FIELD_PICTURE
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	cmpl	$0, 40(%rbx)
	jne	LBB0_5
## %bb.4:
	movq	32(%rbx), %rax
	cmpq	$0, (%rax)
	jne	LBB0_8
LBB0_5:
	movq	_MMCO_SHORT2UNUSED@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	%rax, 8(%r14)
	movq	24(%rbx), %rax
	movslq	(%rbx), %rcx
	movq	-8(%rax,%rcx,8), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movq	%rbx, %rdi
	callq	_FIELD_PICTURE
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movl	(%r14), %eax
	leal	(%rax,%rax), %ecx
	movl	%ecx, (%r14)
	movq	(%r15), %rcx
	movq	%rcx, 24(%r14)
	addl	%eax, %eax
	incl	%eax
	movl	%eax, 16(%r14)
	movl	$2, %r15d
	jmp	LBB0_8
LBB0_6:
	movl	$1, %r15d
LBB0_8:
	movl	%r15d, 16(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MMCO_SHORT2UNUSED,8,3          ## @MMCO_SHORT2UNUSED
	.no_dead_strip	_generate_sliding_window_mmcos
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function generate_sliding_window_mmcos
_generate_sliding_window_mmcos:         ; @generate_sliding_window_mmcos
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldrsw	x8, [x0]
	cbz	w8, LBB0_7
; %bb.1:
	ldr	x9, [x19, #8]
	ldr	x10, [x19, #48]
	ldr	x10, [x10]
	add	x8, x9, x8
	cmp	x8, x10
	b.ge	LBB0_3
LBB0_2:
	mov	w8, #0
	b	LBB0_7
LBB0_3:
	ldr	x20, [x19, #56]
	mov	x0, x19
	bl	_FIELD_PICTURE
	cbz	x0, LBB0_5
; %bb.4:
	ldr	w8, [x19, #40]
	cbz	w8, LBB0_8
LBB0_5:
Lloh0:
	adrp	x21, _MMCO_SHORT2UNUSED@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MMCO_SHORT2UNUSED@GOTPAGEOFF]
	ldr	x8, [x21]
	str	x8, [x20, #8]
	ldr	x8, [x19, #24]
	ldrsw	x9, [x19]
	add	x8, x8, x9, lsl #3
	ldur	x8, [x8, #-8]
	ldr	w8, [x8]
	str	w8, [x20]
	mov	x0, x19
	bl	_FIELD_PICTURE
	mov	w8, #1
	cbz	x0, LBB0_7
; %bb.6:
	ldr	w9, [x20]
	lsl	w10, w9, #1
	str	w10, [x20]
	ldr	x10, [x21]
	str	x10, [x20, #24]
	bfi	w8, w9, #1, #31
	str	w8, [x20, #16]
	mov	w8, #2
LBB0_7:
	str	w8, [x19, #16]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_8:
	ldr	x8, [x19, #32]
	ldr	x8, [x8]
	cbnz	x8, LBB0_2
	b	LBB0_5
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MMCO_SHORT2UNUSED,8,3          ; @MMCO_SHORT2UNUSED
	.no_dead_strip	_generate_sliding_window_mmcos
.subsections_via_symbols
