	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cdfs_seek                      ## -- Begin function cdfs_seek
	.p2align	4, 0x90
_cdfs_seek:                             ## @cdfs_seek
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$-1, %eax
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.1:
	cmpq	$0, (%rdi)
	js	LBB0_11
## %bb.2:
	cmpl	$128, %edx
	je	LBB0_7
## %bb.3:
	cmpl	$129, %edx
	je	LBB0_6
## %bb.4:
	cmpl	$130, %edx
	jne	LBB0_11
## %bb.5:
	addl	8(%rdi), %esi
LBB0_7:
	testl	%esi, %esi
	jns	LBB0_8
LBB0_11:
	popq	%rbp
	retq
LBB0_6:
	movl	12(%rdi), %ecx
	subl	%esi, %ecx
	movl	%ecx, %esi
	testl	%esi, %esi
	js	LBB0_11
LBB0_8:
	cmpl	12(%rdi), %esi
	jg	LBB0_11
## %bb.9:
	movl	%esi, 8(%rdi)
	movl	%esi, %eax
	andl	$2047, %eax                     ## imm = 0x7FF
	movl	%eax, 16(%rdi)
	shrl	$11, %esi
	xorl	%eax, %eax
	cmpl	20(%rdi), %esi
	je	LBB0_11
## %bb.10:
	movl	%esi, 20(%rdi)
	movl	$0, 24(%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cdfs_seek                      ; -- Begin function cdfs_seek
	.p2align	2
_cdfs_seek:                             ; @cdfs_seek
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_8
; %bb.1:
	ldr	x8, [x0]
	tbnz	x8, #63, LBB0_8
; %bb.2:
	cmp	w2, #128
	b.eq	LBB0_6
; %bb.3:
	cmp	w2, #129
	b.eq	LBB0_9
; %bb.4:
	cmp	w2, #130
	b.ne	LBB0_8
; %bb.5:
	ldr	w8, [x0, #8]
	add	w1, w8, w1
LBB0_6:
	tbnz	w1, #31, LBB0_10
LBB0_7:
	ldr	w8, [x0, #12]
	cmp	w1, w8
	b.le	LBB0_11
LBB0_8:
	mov	w0, #-1
	ret
LBB0_9:
	ldr	w8, [x0, #12]
	sub	w1, w8, w1
	tbz	w1, #31, LBB0_7
LBB0_10:
	mov	w0, #-1
	ret
LBB0_11:
	str	w1, [x0, #8]
	and	w8, w1, #0x7ff
	str	w8, [x0, #16]
	lsr	w9, w1, #11
	ldr	w8, [x0, #20]
	cmp	w9, w8
	b.ne	LBB0_13
; %bb.12:
	mov	w0, #0
	ret
LBB0_13:
	stp	w9, wzr, [x0, #20]
	mov	w0, #0
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
