	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function weights_vector_relax
_weights_vector_relax:                  ## @weights_vector_relax
	.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	_log_last_ts@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	subl	(%rdi), %r13d
	js	LBB0_8
## %bb.1:
	movq	%rdi, %r14
	je	LBB0_7
## %bb.2:
	leaq	16(%r14), %rbx
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movl	8(%r14), %eax
	movq	_TAT@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	bsfl	%eax, %ecx
	movl	$-1, %eax
	cmovel	%eax, %ecx
	movl	$1, %eax
	shll	%cl, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	shll	$5, %ecx
	movslq	%ecx, %r15
	shlq	$2, %r15
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r14), %rax
	addq	%r15, %rax
	movl	(%rax,%r12,4), %edi
	movl	%r13d, %esi
	callq	_time_amortization_table_fast_exp
	movq	8(%rbx), %rcx
	imull	(%rcx,%r12,4), %eax
	movl	%eax, (%rcx,%r12,4)
	incq	%r12
	cmpq	$32, %r12
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	xorl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_3
## %bb.6:
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
	movq	_log_last_ts@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%rax, (%r14)
LBB0_7:
	movq	%r14, %rdi
	callq	_del_use
	movq	%r14, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_add_use_back                   ## TAILCALL
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_log_last_ts,8,3                ## @log_last_ts
	.comm	_TAT,8,3                        ## @TAT
	.no_dead_strip	_weights_vector_relax
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function weights_vector_relax
_weights_vector_relax:                  ; @weights_vector_relax
	.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
Lloh0:
	adrp	x21, _log_last_ts@GOTPAGE
Lloh1:
	ldr	x21, [x21, _log_last_ts@GOTPAGEOFF]
	ldr	w8, [x21]
	ldr	w9, [x0]
	subs	w20, w8, w9
	b.mi	LBB0_8
; %bb.1:
	mov	x19, x0
	cbz	w20, LBB0_7
; %bb.2:
	add	x22, x19, #16
	ldr	w23, [x19, #8]
	mov	w24, #1
Lloh2:
	adrp	x25, _TAT@GOTPAGE
Lloh3:
	ldr	x25, [x25, _TAT@GOTPAGEOFF]
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	mov	x26, #0
	rbit	w8, w23
	clz	w8, w8
	cmp	w23, #0
	csinv	w8, w8, wzr, ne
	lsl	w27, w24, w8
	lsl	w8, w8, #5
	sbfiz	x28, x8, #2, #32
LBB0_4:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x25]
	add	x8, x8, x28
	ldr	w0, [x8, x26]
	mov	x1, x20
	bl	_time_amortization_table_fast_exp
	ldr	x8, [x22, #8]
	ldr	w9, [x8, x26]
	mul	w9, w9, w0
	str	w9, [x8, x26]
	add	x26, x26, #4
	cmp	x26, #128
	b.ne	LBB0_4
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	eor	w23, w27, w23
	ldr	x22, [x22]
	cbnz	x22, LBB0_3
; %bb.6:
	cmp	w23, #0
	cset	w0, eq
	bl	_assert
	ldr	x8, [x21]
	str	x8, [x19]
LBB0_7:
	mov	x0, x19
	bl	_del_use
	mov	x0, x19
	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	_add_use_back
LBB0_8:
	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 AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_log_last_ts,8,3                ; @log_last_ts
	.comm	_TAT,8,3                        ; @TAT
	.no_dead_strip	_weights_vector_relax
.subsections_via_symbols
