	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_seek
_update_seek:                           ## @update_seek
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rsi, %rsi
	je	LBB0_13
## %bb.1:
	movl	(%rsi), %ecx
	movl	4(%rsi), %r9d
	movl	8(%rdi), %r10d
	movl	12(%rdi), %r8d
	movl	8(%rsi), %r11d
	testl	%edx, %edx
	jne	LBB0_6
## %bb.2:
	movl	4(%rdi), %edx
	movl	%edx, %eax
	addl	%r9d, %eax
	js	LBB0_6
## %bb.3:
	leal	(%rdx,%r9), %eax
	addl	$5, %eax
	cmpl	%r8d, %eax
	jg	LBB0_6
## %bb.4:
	movl	(%rdi), %edx
	leal	(%rdx,%rcx), %eax
	addl	$5, %eax
	cmpl	%r10d, %eax
	jg	LBB0_6
## %bb.5:
	addl	%ecx, %edx
	addl	%r11d, %edx
	cmpl	$-6, %edx
	jle	LBB0_6
LBB0_13:
	popq	%rbp
	retq
LBB0_6:
	cmpl	%r10d, %r11d
	jle	LBB0_8
## %bb.7:
	negl	%ecx
	jmp	LBB0_9
LBB0_8:
	movl	%r11d, %eax
	shrl	$31, %eax
	addl	%r11d, %eax
	sarl	%eax
	movl	%r10d, %edx
	shrl	$31, %edx
	addl	%r10d, %edx
	sarl	%edx
	subl	%ecx, %edx
	subl	%eax, %edx
	movl	%edx, %ecx
LBB0_9:
	movl	%ecx, (%rdi)
	movl	12(%rsi), %eax
	cmpl	%r8d, %eax
	jle	LBB0_11
## %bb.10:
	negl	%r9d
	jmp	LBB0_12
LBB0_11:
	leal	7(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$3, %ecx
	leal	3(%r8), %eax
	testl	%r8d, %r8d
	cmovnsl	%r8d, %eax
	sarl	$2, %eax
	subl	%r9d, %eax
	subl	%ecx, %eax
	movl	%eax, %r9d
LBB0_12:
	movl	%r9d, 4(%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_update_seek
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_seek
_update_seek:                           ; @update_seek
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_4
; %bb.1:
	ldp	w10, w8, [x1]
	ldp	w11, w9, [x0, #8]
	ldr	w12, [x1, #8]
	cbnz	w2, LBB0_5
; %bb.2:
	ldr	w13, [x0, #4]
	add	w13, w13, w8
	tbnz	w13, #31, LBB0_5
; %bb.3:
	ldr	w14, [x0]
	add	w13, w13, #5
	add	w14, w14, w10
	add	w15, w12, w14
	add	w14, w14, #5
	cmp	w13, w9
	ccmp	w14, w11, #0, le
	ccmn	w15, #6, #4, le
	b.le	LBB0_5
LBB0_4:
	ret
LBB0_5:
	cmp	w12, #0
	cinc	w13, w12, lt
	cmp	w11, #0
	cinc	w14, w11, lt
	asr	w14, w14, #1
	sub	w14, w14, w10
	sub	w13, w14, w13, asr #1
	cmp	w12, w11
	csneg	w10, w13, w10, le
	ldr	w11, [x1, #12]
	add	w12, w11, #7
	cmp	w11, #0
	csel	w12, w12, w11, lt
	add	w13, w9, #3
	cmp	w9, #0
	csel	w13, w13, w9, lt
	asr	w13, w13, #2
	sub	w13, w13, w8
	sub	w12, w13, w12, asr #3
	cmp	w11, w9
	csneg	w8, w12, w8, le
	stp	w10, w8, [x0]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_update_seek
.subsections_via_symbols
