	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function packed_stream_seek
_packed_stream_seek:                    ## @packed_stream_seek
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	addq	%rsi, %rax
	movq	8(%rdi), %rcx
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.1:
	movq	16(%rdi), %rdx
	cmpq	%rsi, %rdx
	jg	LBB0_9
## %bb.2:
	cmpq	%rsi, 24(%rdi)
	jle	LBB0_9
## %bb.3:
	movq	40(%rdi), %rsi
	subq	%rdx, %rax
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rax, (%rsi,%rdx,8)
	jg	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rdx
	cmpq	%rdx, %rcx
	jne	LBB0_4
## %bb.6:
	movq	%rcx, %rdx
LBB0_7:
	movq	%rdx, 32(%rdi)
	popq	%rbp
	retq
LBB0_9:
	movq	%rax, 16(%rdi)
	movq	%rax, 24(%rdi)
	movq	$0, 32(%rdi)
	movq	$0, 8(%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_packed_stream_seek
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function packed_stream_seek
_packed_stream_seek:                    ; @packed_stream_seek
	.cfi_startproc
; %bb.0:
	ldp	x9, x8, [x0]
	add	x10, x9, x1
	cbz	x8, LBB0_8
; %bb.1:
	ldr	x12, [x0, #16]
	cmp	x12, x1
	b.gt	LBB0_8
; %bb.2:
	ldr	x9, [x0, #24]
	cmp	x9, x1
	b.le	LBB0_8
; %bb.3:
	mov	x9, #0
	ldr	x11, [x0, #40]
	sub	x10, x10, x12
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x11, x9, lsl #3]
	cmp	x12, x10
	b.gt	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x9, #1
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.6:
	mov	x9, x8
LBB0_7:
	str	x9, [x0, #32]
	ret
LBB0_8:
	stp	x10, xzr, [x0, #24]
	stp	xzr, x10, [x0, #8]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_packed_stream_seek
.subsections_via_symbols
