	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function proc_seek
_proc_seek:                             ## @proc_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, %r15d
	movl	%esi, %ebx
	movq	%rdi, %r14
	callq	_proc_refresh_data
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movl	(%r14), %eax
	movq	_LSEEK_SET@GOTPCREL(%rip), %rcx
	cmpl	%r15d, (%rcx)
	je	LBB0_7
## %bb.3:
	movq	_LSEEK_CUR@GOTPCREL(%rip), %rcx
	cmpl	%r15d, (%rcx)
	jne	LBB0_5
## %bb.4:
	addl	%eax, %ebx
	jmp	LBB0_7
LBB0_1:
	movl	%eax, %ebx
	jmp	LBB0_10
LBB0_5:
	movq	_LSEEK_END@GOTPCREL(%rip), %rcx
	cmpl	%r15d, (%rcx)
	jne	LBB0_9
## %bb.6:
	addl	4(%r14), %ebx
LBB0_7:
	movl	%ebx, (%r14)
	testl	%ebx, %ebx
	jns	LBB0_10
## %bb.8:
	movl	%eax, (%r14)
LBB0_9:
	movq	__EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_10:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LSEEK_SET,4,2                  ## @LSEEK_SET
	.comm	_LSEEK_CUR,4,2                  ## @LSEEK_CUR
	.comm	_LSEEK_END,4,2                  ## @LSEEK_END
	.comm	__EINVAL,4,2                    ## @_EINVAL
	.no_dead_strip	_proc_seek
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function proc_seek
_proc_seek:                             ; @proc_seek
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x0
	bl	_proc_refresh_data
	tbnz	w0, #31, LBB0_6
; %bb.1:
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _LSEEK_SET@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LSEEK_SET@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w9, w21
	b.eq	LBB0_4
; %bb.2:
Lloh3:
	adrp	x9, _LSEEK_CUR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _LSEEK_CUR@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w9, w21
	b.ne	LBB0_7
; %bb.3:
	add	w19, w8, w19
LBB0_4:
	str	w19, [x20]
	tbz	w19, #31, LBB0_10
LBB0_5:
	str	w8, [x20]
	b	LBB0_9
LBB0_6:
	mov	x19, x0
	b	LBB0_10
LBB0_7:
Lloh6:
	adrp	x9, _LSEEK_END@GOTPAGE
Lloh7:
	ldr	x9, [x9, _LSEEK_END@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w9, w21
	b.ne	LBB0_9
; %bb.8:
	ldr	w9, [x20, #4]
	add	w19, w9, w19
	str	w19, [x20]
	tbz	w19, #31, LBB0_10
	b	LBB0_5
LBB0_9:
Lloh9:
	adrp	x8, __EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, __EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w19, [x8]
LBB0_10:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_LSEEK_SET,4,2                  ; @LSEEK_SET
	.comm	_LSEEK_CUR,4,2                  ; @LSEEK_CUR
	.comm	_LSEEK_END,4,2                  ; @LSEEK_END
	.comm	__EINVAL,4,2                    ; @_EINVAL
	.no_dead_strip	_proc_seek
.subsections_via_symbols
