	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function shift_history
_shift_history:                         ## @shift_history
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %ecx
	xorl	%r10d, %r10d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	incq	%r10
	cmpq	$512, %r10                      ## imm = 0x200
	je	LBB0_5
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	testl	%ecx, %ecx
	jle	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%rdi), %r8
	movq	16(%rdi), %r9
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	(%r8,%rdx,4), %rax
	imull	%r10d, %ecx
	movslq	%ecx, %rcx
	addq	%rax, %rcx
	movl	(%rsi,%rcx,4), %eax
	movq	(%r9,%rdx,8), %rcx
	movl	%eax, (%rcx,%r10,4)
	incq	%rdx
	movslq	(%rdi), %rcx
	cmpq	%rcx, %rdx
	jl	LBB0_3
	jmp	LBB0_4
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_shift_history
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function shift_history
_shift_history:                         ; @shift_history
	.cfi_startproc
; %bb.0:
	mov	x8, #0
	ldr	w9, [x0]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x8, #1
	cmp	x8, #512
	b.eq	LBB0_5
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	cmp	w9, #1
	b.lt	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x10, #0
	ldp	x11, x12, [x0, #8]
LBB0_4:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w13, [x11, x10, lsl #2]
	madd	w9, w9, w8, w13
	ldr	w9, [x1, w9, sxtw #2]
	ldr	x13, [x12, x10, lsl #3]
	str	w9, [x13, x8, lsl #2]
	add	x10, x10, #1
	ldrsw	x9, [x0]
	cmp	x10, x9
	b.lt	LBB0_4
	b	LBB0_1
LBB0_5:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_shift_history
.subsections_via_symbols
