	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dyn_buf_seek
_dyn_buf_seek:                          ## @dyn_buf_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	_SEEK_CUR@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jne	LBB0_2
## %bb.1:
	addl	(%rdi), %esi
	jmp	LBB0_4
LBB0_2:
	movq	_SEEK_END@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jne	LBB0_4
## %bb.3:
	addl	8(%rdi), %esi
LBB0_4:
	testl	%esi, %esi
	js	LBB0_5
## %bb.6:
	movl	%esi, (%rdi)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_5:
	movl	$-1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SEEK_CUR,4,2                   ## @SEEK_CUR
	.comm	_SEEK_END,4,2                   ## @SEEK_END
	.no_dead_strip	_dyn_buf_seek
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dyn_buf_seek
_dyn_buf_seek:                          ; @dyn_buf_seek
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _SEEK_CUR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SEEK_CUR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [x0]
	b	LBB0_4
LBB0_2:
Lloh3:
	adrp	x8, _SEEK_END@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SEEK_END@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w2
	b.ne	LBB0_5
; %bb.3:
	ldr	w8, [x0, #8]
LBB0_4:
	add	w1, w8, w1
LBB0_5:
	tbnz	w1, #31, LBB0_7
; %bb.6:
	str	w1, [x0]
	mov	w0, #0
	ret
LBB0_7:
	mov	w0, #-1
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SEEK_CUR,4,2                   ; @SEEK_CUR
	.comm	_SEEK_END,4,2                   ; @SEEK_END
	.no_dead_strip	_dyn_buf_seek
.subsections_via_symbols
