	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function buf_sparse_seek
_buf_sparse_seek:                       ## @buf_sparse_seek
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movl	%esi, %r15d
	callq	_get_priv_sparse
	movq	%rax, %r14
	testl	%r15d, %r15d
	jns	LBB0_2
## %bb.1:
	movl	%r15d, %ecx
	negl	%ecx
	movl	$-1, %eax
	cmpl	%ecx, (%r14)
	jl	LBB0_11
LBB0_2:
	cmpl	$128, %ebx
	je	LBB0_6
## %bb.3:
	cmpl	$129, %ebx
	je	LBB0_7
## %bb.4:
	cmpl	$130, %ebx
	jne	LBB0_10
## %bb.5:
	addl	(%r14), %r15d
LBB0_6:
	movl	%r15d, (%r14)
	movl	%r15d, %eax
	jmp	LBB0_11
LBB0_7:
	movl	4(%r14), %edi
	leaq	-28(%rbp), %rsi
	callq	_sparse_limits
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	movl	-28(%rbp), %eax
LBB0_9:
	addl	%r15d, %eax
	movl	%eax, (%r14)
	jmp	LBB0_11
LBB0_10:
	xorl	%eax, %eax
	callq	_r_warn_if_reached
	movl	$-1, %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_buf_sparse_seek
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function buf_sparse_seek
_buf_sparse_seek:                       ; @buf_sparse_seek
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x2
	mov	x19, x1
	bl	_get_priv_sparse
	mov	x20, x0
	tbz	w19, #31, LBB0_2
; %bb.1:
	ldr	w8, [x20]
	neg	w9, w19
	cmp	w8, w9
	b.lt	LBB0_10
LBB0_2:
	cmp	w21, #128
	b.eq	LBB0_8
; %bb.3:
	cmp	w21, #129
	b.eq	LBB0_6
; %bb.4:
	cmp	w21, #130
	b.ne	LBB0_9
; %bb.5:
	ldr	w8, [x20]
	b	LBB0_7
LBB0_6:
	ldr	w0, [x20, #4]
	add	x1, sp, #12
	bl	_sparse_limits
	ldr	w8, [sp, #12]
	cmp	w0, #0
	csel	w8, wzr, w8, eq
LBB0_7:
	add	w19, w8, w19
LBB0_8:
	str	w19, [x20]
	b	LBB0_11
LBB0_9:
	bl	_r_warn_if_reached
LBB0_10:
	mov	w19, #-1
LBB0_11:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_buf_sparse_seek
.subsections_via_symbols
