	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_targ_weights_at                ## -- Begin function targ_weights_at
	.p2align	4, 0x90
_targ_weights_at:                       ## @targ_weights_at
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	xorpd	%xmm0, %xmm0
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	testl	%esi, %esi
	js	LBB0_6
## %bb.2:
	movq	_weights_coords@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jle	LBB0_6
## %bb.3:
	movq	_TAT@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.4:
	movq	_log_last_ts@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	8(%rdi), %r8
	movl	%esi, %edx
	movsd	(%r8,%rdx,8), %xmm0             ## xmm0 = mem[0],zero
	subl	(%rdi), %eax
	jle	LBB0_6
## %bb.5:
	movl	(%rcx,%rdx,4), %edi
	movl	%eax, %esi
	movsd	%xmm0, -8(%rbp)                 ## 8-byte Spill
	callq	_time_amortization_table_fast_exp
	movsd	-8(%rbp), %xmm1                 ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	mulsd	%xmm0, %xmm1
	movsd	%xmm1, -8(%rbp)                 ## 8-byte Spill
	movsd	-8(%rbp), %xmm0                 ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
LBB0_6:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_weights_coords,4,2             ## @weights_coords
	.comm	_TAT,8,3                        ## @TAT
	.comm	_log_last_ts,4,2                ## @log_last_ts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_targ_weights_at                ; -- Begin function targ_weights_at
	.p2align	2
_targ_weights_at:                       ; @targ_weights_at
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-32]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset b8, -24
	.cfi_offset b9, -32
	movi	d8, #0000000000000000
	cbz	x0, LBB0_5
; %bb.1:
	tbnz	w1, #31, LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _weights_coords@GOTPAGE
Lloh1:
	ldr	x8, [x8, _weights_coords@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _TAT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TAT@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	w8, w1
	ccmp	x9, #0, #4, gt
	b.eq	LBB0_5
; %bb.3:
Lloh6:
	adrp	x8, _log_last_ts@GOTPAGE
Lloh7:
	ldr	x8, [x8, _log_last_ts@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w10, [x0]
	sub	w8, w8, w10
	ldr	x10, [x0, #8]
	ldr	d8, [x10, w1, uxtw #3]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.4:
	mov	w10, w1
	ldr	w0, [x9, x10, lsl #2]
	mov	x1, x8
	bl	_time_amortization_table_fast_exp
	fmul	d8, d8, d0
LBB0_5:
	fmov	d0, d8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #32               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_weights_coords,4,2             ; @weights_coords
	.comm	_TAT,8,3                        ; @TAT
	.comm	_log_last_ts,4,2                ; @log_last_ts
.subsections_via_symbols
